MATRIX N FAMILY HOST MODE PROGRAMMING
18
3
3.2.13 Read Input
The Matrix read input command must have the following format:
READ_INPUT<space><Input1|Input2> <LF>
If the sequence is correct, the device confirms with the following message:
ACK Input n state <LF>
Input n state
depends on the configured active state.
if Active Closed (default): 0 (open - no current flow); 1 (closed - current flow); -1 (error)
if Active Open: 0 (closed - current flow); 1 (open - no current flow); -1 (error)
If programming contents are wrong (i.e. a typing error) or due to a transmission error, the
device replies with the following message:
NACK <LF>
After transmitting the reply message, the device then waits for another programming string or
the exit from host mode programming command.
3.2.14 Read Output
The Matrix read output command must have the following format:
READ_OUTPUT<space><Output1|Output2|Output3> <LF>
If the sequence is correct, the device confirms with the following message:
ACK Output n state <LF>
Output n state
depends on the configured active state.
if Active Closed (default): 0 (open - no current flow); 1 (closed - current flow); -1 (error)
if Active Open: 0 (closed - current flow); 1 (open - no current flow); -1 (error)
If programming contents are wrong (i.e. a typing error) or due to a transmission error, the
device replies with the following message:
NACK <LF>
After transmitting the reply message, the device then waits for another programming string or
the exit from host mode programming command.