Command 2114: Acquires the status of the specified output bit

Acquires the status of selected output port.

Command Syntax

bit Name Description
Parameter 1 15 bitNumber Specifies the word port of the I/O.
14
1
0

Response Syntax

bit Name Description
Response 1 15 status

Returns the status of the selected output.

0 = OFF

1 = ON

14
1
0

Description

The command checks the status of I/O output. Output status are “1” or “0”. They indicate ON (1) or OFF (0) of output.

Example

When acquiring the status of bit number 15.
Bit number 15 is ON.

Command Response
0842H 000FH 0842H 0001H