ReadDiscrete
Reads a range of bits from a discrete input channel.
ReadDiscrete Inputs
| Parameter | Description |
| Event |
Specifies the update event on which to read. |
| Start Bit |
Specifies the first bit of the set.
|
| Number of Bits |
Specifies the number of bits in the set.
|
Note: You can configure Discrete I/O lines to be either an input or output, which affects the maximum values for Start Bit and Number of Bits.
ReadDiscrete Outputs
| Returns | The positive integer value read, or #ERR. |