21
Advanced operation — setting words (16-bits) or double-words (32-bits)
16-bit output patterns (words)
For remote programming, there is a single command to set two output ports to form a 16-bit output pattern (word):
OUTP:WORD <NRf|NDN>,<clist>
Valid channels for the word <clist> parameter include channels 11 and 13.
This command is used to write to channel 11 or channel 13. Channel 11 is combined with channel 12 to form a 16-bit output
pattern, and channel 13 is combined with channel 14 to form a second 16-bit output pattern.
When channel 11 is set as a word, Bit 0 (B0) of channel 11 will be the LSB, and Bit 7 (B15) of channel 12 will be the MSB.
When channel 13 is set as a word, Bit 0 (B0) of channel 13 will be the LSB, and Bit 7 (B15) of channel 14 will be the MSB.
The decimal equivalent of the 16-bit output pattern can be used to set the ports.
lists the decimal weights of the 16
bits. The bit pattern can also be set using the binary, octal, or hexadecimal equivalent. For details, see “
—
Figure 17
Decimal weighting for 16-bit output pattern (word)
32-bit output pattern (double-word)
For remote operation, there is a single command to set the four output ports to form a 32-bit output pattern (double word):
OUTP:DWOR <NRf|NDN>,<clist>
The only valid channel for the double-word <clist> parameter is channel 11.
This command is used to write to channel 11. Channel 11 is combined with channels 12, 13, and 14 to form the 32-bit output
pattern. When channel 11 is set as a double-word, Bit 0 of channel 11 (B0) will be the LSB, and Bit 7 of channel 14 (B31) will
be the MSB.
The decimal equivalent of the 32-bit output pattern can be used to set the ports.
lists the decimal weights of the 32
bits. The bit pattern can also be set using the binary, octal, or hexadecimal equivalent. For details, see “
—
Channel 11 or 13 (B0 - B7)
Digital I/O line:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit position:
B7
B6
B5
B4
B3
B2
B1
B0
Binary bit pattern:
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Decimal weight:
128
(2
7
)
64
(2
6
)
32
(2
5
)
16
(2
4
)
8
(2
3
)
4
(2
2
)
2
(2
1
)
1
(2
0
)
Channel 12 or 14 (B8 - B15)
Digital I/O line:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit position:
B15
B14
B13
B12
B11
B10
B9
B8
Binary bit pattern:
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Decimal weight:
32768
(2
15
)
16384
(2
14
)
8192
(2
13
)
4096
(2
12
)
2048
(2
11
)
1024
(2
10)
512
(2
9
)
256
(2
8
)
Содержание 7707
Страница 55: ...52 Specifications 7707 Multiplexer Digital I O Module...
Страница 58: ......