User`s manual
133
Chapter 5 Remote Interface Reference
3488 Mode Commands
4
5
VIEW <channel_address>
Shows the state, either open or closed of a particular channel or a DIO
bit. The 3499A/B/C responds with the string “OPEN 1” if the specified
channel/bit is open. If the specified channel/bit is closed, the 3499A/B/C
responds with the string “CLOSED 0”.
The channel_address has the form @snn, where s is the slot number and
nn is the channel number. For all mainframes, slot 0 refers to the 3499A/
B/C control board. Valid slot numbers are:
The channel number, nn, is plug-in module dependent. Channel
numbers for plug-in modules are listed on page 70.
Only one channel/bit can be “viewed” each time with this command.
VIEW can only be used to look at input bits on a digital I/O module. If an
attempt is made to VIEW an output bit, the 8-bit port where the bit is
located will revert to an input port.
OUTPUT 709; “VIEW 105”
! View channel 5 on slot 1.
ENTER 709; A$
! Input the response from the
3499A/B/C.
DISP A$
! A$ will either be “OPEN 1”
or “CLOSED 0”.
- or -
OUTPUT 709; “VIEW 105” ! View channel 5 on slot1.
ENTER 709; A
! “A” will be either 1 or 0 (open
or closed, respectively)
DISP A
3499A slots 0 through 5
3499B slots 0 through 2
3499C slots 0 through 9