4 Digital Input Module
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.
 
Subtypes
OL2205
 
4 Digital Input Addressing Specifications
Syntax
Data Type
Range
Access
S<slot>:DI<point>
Boolean
0-3
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
 
*Multiple points can be referenced through the use of this optional syntax. For more information, refer to Digital I/O Bit Mapping.
 
Examples
Address
Value
Description
S1:DI0
1
Slot 1, point 0 is on.
S1:DI0 (as Byte)
15
Slot 1, byte 0 (points 0-3 are on).
S1:DI0 (as Word)
0
Slot 1, word 0 (points 0-3 are off).
S1:DI0 (as DWORD)
15
Slot 1, DWord 0 (points 0-3 are on).
 
Was this helpful?