
NIM Primitives
4-13
TIWAY 1 Ti505 NIM User Manual
TT
= 3, 4, 5 = Discrete (1 byte)
X value Bit Definition
0 Of
f
1 On
0000000X
MSB LSB
1 2 3 4 5 6 7 8
Figure 4
Discrete Data Element Format
TT
= 6, 7, 8 = Packed discrete (1 byte)
1 2 3 4 5 6 7 8
MSB LSB
Next sequential discrete bit accessed.
First discrete bit number accessed.
V
alue Bit Definition
0
1
Off
On
If
the number of packed discrete bits requested is not an even multiple of eight,
the unused positions are set to zero. For example, if you request 10 packed discrete
input values, the 6 least significant bits of the second byte of information will be set to
zero.
Figure 5
Packed Discrete Data Element Format
Comentarios a estos manuales