10
Model 7706 module
Figure 10
Sample digital output for Channel 21
Bit Position
Binary Value
Decimal weight
Weights
B7 B6
B4
B3
B5
B2 B1 B0
0/1 0/1
0/1
0/1
0/1
0/1 0/1 0/1
Multiply the binary values
by the decimal weight
Binary Value
Equivalent decimal
weight
Channel 21
= 138 (this is the NRf
value in the
command)
2
3
7
8
9
10
4
GND
1
Digital output
CH21
GND
Screw terminal number
(27) (26) (25) (24)
(23) (22) (21) (20)
1
0
0
0
1
0
1
0
128 64 32 16
8
4
2
1
128
64 32 16
8
4
2
1
1
0
0
0
1
0
1
0
2
3
7
8
9
10
4
1
128 + 0 + 0 + 0
+
8 + 0 + 2 + 0
Add the products together
Therefore, the command to send is:
OUTP:DIG:BYTE 138,(@121)
Output
Digital
8 bit
NRf value of 138 (specifies which terminals are 1 / 0)
Channel 21 of the Model 7706 in slot 1
J3
TE4
TE5
TE6
TE7
J2
TE2
TE3
TE1
Example: