C.4.9 Commands for external I/O control – IN, IO, OM, AI
The DAS 72.1 has 3 independent logic inputs and 3 independent logic outputs. These inputs and outputs
can be configured and controlled completely. The logic inputs can be read directly by the host application
and the logic outputs can be fully controlled via the setpoint commands.
The use of the setpoint commands (Sn, Hn, Pn, An) are explained in the following chapter 4.10.
IN
Read the status of the logic inputs
This command reads the status of the logic inputs.
Master ( PC / PLC ) sends
DAS 72.1 responds
Result
IN
¿
IN:0001
Input 1 active
IN
¿
IN:0010
Input 2 active
IN
¿
IN:0011
Input 1 and 2 active
IN
¿
IN:0100
Input 3 active
The status response is in the form of a four digit code where 0 = false and 1 = true (inputs are active
“high”), the least significant bit corresponding to Input 1 etc.
IO
Read/Modify the status of the output channels
This command reads and can modify the status of the logic outputs (if enabled by the OM command). The
status response is in the form of a four digit code where 0 = false and 1 = true (outputs are normally open,
open drain MOSFETs), the least significant bit corresponding to Output 1 etc.
Request
Master ( PC / PLC ) sends
DAS 72.1 responds
Result
IO
¿
IO:0001
Output 1 active
IO
¿
IO:0010
Output 2 active
IO
¿
IO:0011
Output 1 and 2 active
IO
¿
IO:0100
Output 3 active
The status of the outputs can be changed by issuing the IO command with the appropriate 4 digit code e.g.
IO 0001 where in this example output 1 will be activated (FET conducting). Please note that the status of the
logic outputs is normally determined by the internal setpoints (see section 4.10) and therefore setting the
logic output status using the IO commands is not allowed.
Setting
Master ( PC / PLC ) sends
DAS 72.1 responds
Result
IO_0001
¿
OK
Output 1 active
IO_0010
¿
OK
Output 2 active
IO_0011
¿
OK
Output 1 and 2 active
IO_0100
¿
OK
Output 3 active
However, the OM command can be used to allow the status of the logic outputs to be set via the IO
command or set their status directly by the host application.
Factory default: IO=0 000
Page 46
Manual DAS 72.1