DigitalInput
Applicable to OS V1.2-1.4
The DigitalInput component is an I/O point (network point class) component that retrieves data from a physical digital input of a device. The component allows to configure the digital input in order to communicate properly with the linked Data Point. The component can pass data to the Data Point class component by linking Reference slots; the DigitalInput component may be linked to a Binary Data Point. In order to operate properly, the DigitaInput component must be located under the LocalIO component in the Networks container and it have a unique number assigned in the Address slot.
Note: Before using the component, make sure that its individual address is assigned and its Status is OK.
The DigitaIInput component has the following slots:
- Status: indicates the current status of the component; if the component works properly, its status is OK. The component becomes Disabled, once the Enabled slot is in false. The component's status is Fault, once the Address slot is null, 0, or exceeding an available range;
- Available information: Disabled, Fault, OK;
- Reference: a special slot allowing to connect network point class components with Data Point class components. It allows to transfer the Out slot value along with the component's status.
By default, once the Reference link is created from the network point to the Data Point it sets the input priority to 16, which later can be changed manually.
- Description: an additional detailed information about a service that may be freely described by the user; the description may contain individual coding, defined in the user's system documentation, or any other information the user finds applicable.
- InputPriority: allows to select the input number in the Data Point, which the value from the network point class component's output is sent to; by default, the priority is None and sets to 16 after linking with a Data Point (can be changed manually).
- Available settings: none, 1-16.
Note: The Reference link from the network point to the Data Point cannot be changed to a 17th, default, priority.
- Polling Mode: allows to set the frequency of sending polling requests for the point's value—by default, the polling mode is set to normal;
- Available settings: fast, normal, slow;
- Enabled: change of the slot's value enables or disables the component—if the component becomes disabled, it stops to read values from the physical input; by default, the component is enabled.
- Available settings: true (enabled), false (disabled).
Note: If the Enabled slot is in false (meaning the component is disabled), the Status slot becomes Disabled.
- Out: a real value read from the physical input of the address set in the Address slot.
Note: If the component's Status is fault (e.g., an invalid value in the Address slot), the Out value is null.
- Address: allows setting an address of a physical input of the device; once the component has been added, the slot's default value is null—for the component to operate properly, the unique address value must be set in this slot.
- Available settings: 1-n, where "n" stands for the number of actual inputs in the device.