Skip to main content
Skip table of contents

DigitalInputCounter

The DigitalInputCounter component is designed to read high-speed counters of digital inputs.

The DigitalInputCounter component

The component must be placed under the LocalIODevice component.

The DigitalInputCounter in the Property Sheet

The DigitalInputCounter component has the following slots:

  • Facets: determines how an input value will be displayed;
  • Proxy Ext: the component’s extension that handles the point's configuration and has the following slots:
    • Status: indicates a current status of the component;
      • Ok: the component is working properly;
      • Disabled: the component or its parent (device or network) is disabled (the Enabled slot is set to false);
      • Fault: indicates an incorrect configuration of the component;
      • Down: no response from the point;
    • Fault Cause: describes a cause of an error if there is a fault or down status;
      • None: no fault;
      • Bad Parent: component has been inserted in an incorrect place in the structure (the only correct place is the Device component or a subfolder of the Device component);
      • Duplicated Component: appears if a component with the given address already exists (prevents double representation of the input/output within an application);
      • Invalid Type: a type of component is not supported by the device;
      • Parent disabled: a parent (device or network) is disabled;
      • Point down: the point is unavailable.
    • Enabled: enables/disables the component;
    • Poll Frequency: allows to select a poll frequency of the points, the available options are: fast, normal, slow;
    • Input Number: allows to select an input number; if a point is added to the device, the component selects the first unused input number automatically;
    • Max Input Number: shows the number of available inputs in the device;
  • Out: provides a real-time information about the current value of the input data, together with the units selected in the Facets slot and the current state of the point. If the value of the Out slot is forced by one of the available component actions, the value is followed by an information about the executed action, e.g., {overridden}. If the component is working correctly, the status is considered normal and the value appears with the default status {ok}.

The DigitalInputCounter component has the following actions:

  • Set: sets the value of the counter; the action overwrites the Out and In slots;
  • Reset: resets the value of the counter to 0; the action overwrites the Out and In slots;

Additionally, the ProxyExt component’s extension has the following actions:

  • Force Write Config: instantly saves point configurations to the device;
  • Force Read: sends a query immediately, despite the settings in the Poll Frequency slot.

Any change to the Input Number configuration slot results in sending this configuration to the device automatically.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.