6 $aa4 – Measurement Computing CB-7000 DIO User Manual
Page 35
35
CB-7000 DIO Manual
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 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 read
(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:
Sec. 2.2, #**
Related Topics:
Sec. 1.9, Configuration Tables