beautypg.com

6 $aa4 – B&B Electronics I-7060 - Manual User Manual

Page 35

background image

35

I-7000 DIO Manual

Rev:B1.2

2.6 $AA4

Description : Read Synchronized Data
Command : $AA4[CHK](cr)
$

delimiter character

AA

address of reading module (00 to FF)

4

command for read synchronized data

Response : Valid Command :

!S(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)

S

status of synchronized data, 1 = first read, 0 = been readed

(Data) synchronized DIO value (Ref Sec.1.9)
Example :
Command : $014

Receive : ?01

Read address 01 synchronized data, return no data available.

Command : #**

Receive : no response

Send synchronized sampling to all modules.

Command : $014

Receive : !1000F00

Read address 01 synchronized data, return S=1, first read, and
synchronized data 0F00

Related Command :
Sec2.2 #**
Related Topics :
Sec.1.9 Configuration Tables