beautypg.com

8 $aa6 – B&B Electronics I-7060 - Manual User Manual

Page 37

background image

37

I-7000 DIO Manual

Rev:B1.2

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 error 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 I-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 :
Sec1.9 Configuration Tables