Skip to main content
Skip table of contents

DigitalInput

The DigitalInput component is designed to support local physical digital inputs.

The DigitalInput component

The component must be placed under the LocalIODevice component.

The DigitalInput in the Property Sheet

The DigitalInput 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;
    • Polarity Conversion: allows for the input to operate in a reversed polarity. The following options are available from a drop-down list:
      • Direct: real-time value from a physical input is directly transferred to the Out slot (default);

      • Reverse: real-time value from a physical input is reversed (true to false, false to true), and then transferred to the Out slot.

Note: Please be cautious when using a reversed polarity, as this can lead to later confusion when solving logic issues.

  • Out: provides a real-time information about the current value of the input data, according to parameters set in the Facets slot, Polarity Conversion slot, and 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 ProxyExt component has the following actions:

  • Force Write Config: instantly saves point configurations to the device;
  • Force Read: sends a 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.