
37
CB-7000 DIO Manual
2.8 $AA6
Description: Read Digital I/O Status
Command: $AA6[CHK](cr)
$ Delimiter character
AA Address of reading module (00 to FF)
6 Command for read digital input/output status
Response: Valid Command: !(Data)[CHK](cr)
Invalid Command: ?AA[CHK](cr)
Syntax or communication error may get no response.
! Delimiter for valid Command
? Delimiter for invalid Command
AA Address of response module(00 to FF)
(Data) Digital input/output value (Ref. Sec. 1.9)
Example:
Command: $016 Receive: !0F0000
Assume module is CB-7060. Read Address 01 DIO status,
return 0F00; digital input IN1 to IN4 are open, digital output
RL1 to RL4 are off.
Related Command:
Sec. 2.14, @AA
Related Topics:
Sec. 1.9, Configuration Tables
Komentarze do niniejszej Instrukcji