24
Remote programming
Commands are available to set byte, word, and double-word output patterns. These commands are listed in
. Details on
these commands follow the table.
NOTE
Attempting to set or query an output pattern for an input port will generate error -221 (settings
conflict). Make sure to set the appropriate I/O channels as output ports using the
OUTPut:DIGital:STATe command.
Both digital output and digital input commands are summarized together in
Digital I/O command summary on page 45
). A photo copy of that table serves as a handy reference
to program the digital I/O.
Table 5
Commands to set digital outputs
Command
Description
Default
Set port(s) as input or output:
OUTPut:DIGital
Path to set channels of digital I/O port:
:STATe <b>, <clist>
Set listed channels as output or input ports; 1 (on) sets channels as output
ports, 0 (off) sets channels as input ports.
Note 1
:STATe? <clist>
Query port type of listed channels (1 = output port, 0 = input port).
Setting bytes (basic operation):
OUTPut:DIGital
Path to set digital output bytes:
:BYTE <NDN or NRf>, <clist>
Set a byte output pattern
2
(valid channels are 11, 12, 13, and 14):
<NDN>
= #Bxx...x
Binary format; each x = 1 or 0
= #Hx
Hexadecimal format; x = 0 to FF
= #Qx
Octal format; x = 0 to 377
<NRf>
= 0 to 255
Decimal format
Note 3
:BYTE? <clist>
Query the byte bit pattern for the specified output channels.
Setting words or double-words (advanced
operation):
OUTPut:DIGital
Path to set digital output words and double-word:
:WORD <NDN or NRf>, <clist>
Set a word output pattern
2
(valid channels are 11 and 13):
<NDN>
= #Bxx...x
Binary format; each x = 1 or 0
= #Hx
Hexadecimal format; x = 0 to FFFF
= #Qx
Octal format; x = 0 to 177777
<NRf>
= 0 to 65535
Decimal format
Note 4
:WORD? <clist>
Query digital word output pattern for channels 11 and/or 13.
:DWORd <NDN or NRf>, <clist>
Set a double-word output pattern
2
(valid channel is 11):
<NDN>
= #Bxx...x
Binary format; each x = 1 or 0
= #Hx
Hexadecimal format; x = 0 to
FFFFFFFF
= #Qx
Octal format; x = 0 to 37777777777
<NRf>
= 0 to 4294967295
Decimal format
Note 5
:DWORd? <clist>
Query digital double-word output pattern for channel 11.
Summary of Contents for 7707
Page 55: ...52 Specifications 7707 Multiplexer Digital I O Module...
Page 58: ......