![]() |
![]() |
![]() |
Digital input modules are used to monitor the state of discrete field devices. Typical digital inputs are connected to switches, buttons, digital outputs from other equipment, discrete level sensors, thermostats and other On/Off sensing devices.Digital status is sensed by a controller such as an OptiLogic system, by passing current through an input sensor. When the current is on, the input state is active. When there is no current, the state is inactive.
|
|
Syntax
|
Data Type
|
Range
|
Access
|
|---|---|---|---|
|
S<slot>:DI<point>
|
Boolean
|
0-7
|
Read Only
|
|
S<slot>:DI<offset>*
|
Byte
|
0
|
Read Only
|
|
S<slot>:DI<offset>*
|
Word, Short
|
0
|
Read Only
|
|
S<slot>:DI<offset>*
|
DWord, Long
|
0
|
Read Only
|
|
Address
|
Value
|
Description
|
|
S1:DI0
|
1
|
Slot 1, point 0 is on.
|
|
S1:DI0 (as Byte)
|
255
|
Slot 1, byte 0 (points 0-7 are on).
|
|
S1:DI0 (as Word)
|
0
|
Slot 1, word 0 (points 0-7 are off).
|
|
S1:DI0 (as DWORD)
|
255
|
Slot 1, DWord 0 (points 0-7 are on).
|