Command Group: DigitalIO
IO - Read/Modify the status of the output channels
read 18,6 write 31,6
IO Read/Modify the status of the two output channels – returns the status in the form of a bitmapped four-digit value where 0 corresponds to “false” and 1 corresponds to “true” (outputs are open drain MOSFET’s, normally open) and modifies the status if enabled by the IM command. Issuing the IO command without any parameters returns the output status in the form IO:0011, where Output 0 status is given by the Least Significant Digit and so on. Change the status of the outputs by issuing the IO command with the appropriate four-digit value in the form IO 0001, where in this example, output 0 will be activated (FET in conducting mode). Note that in normal operation, the status of the output channels is determined by the status of the internal setpoints (Sn, Hn, An), therefore setting the output channel status by means of the IO command is inhibited. However, if the IM command is used, the status of the output channels can be set by the host application, through the use of the IM or IO commands.
See also IN, IM. An, Hn, Sn.