4. Functions
58
AD12-64(PCI), AD12-16(PCI)
Digital Input Function
Input bit
Individual digital input points are called input bits.
When the number of input points of a device is 4, the bits are determined as bit 0 to bit 3.
Input in Bits
The state 1 (ON) or 0 (OFF) of each input bit can be obtained by specifying the bit.
Input in Bytes
Individual input bits can be input in byte units.
When the number of input points of the device is 4, the individual input bits are arranged as shown
below and the byte data to be input is a value between 0 and 15 depending on the states of the bits.
EX. Input of bit 3 (OFF), bit 2 (ON), bit 1 (OFF) and bit 0 (ON)
Byte data = 5(5H)
bit3
bit2
bit1
bit0
1(ON)
1(ON) 0(OFF)
0(OFF)
Bit 0
Bit 3
Bit 2
Bit 1