25
2.14 @AA
Description:
Read Digital I/O Status
Syntax:
@AA[CHK](cr)
@ delimiter
character
AA address
of
reading/response module (00 to FF)
Response:
Valid Command:
>(Data)
Invalid Command:
?AA
(Data)
(First Data)(Second Data)
Note: Both the First Data and the Second Data are in two
hexadecimal digitals format.
Module
The First data
The Second data
EX9060 DO1~DO4
00~0F
DI0~DI3
00~0F
Example:
Command: @01
Receive: >0F00
Assume module is EX9060M, read address 01 DIO status, return
0F00, digital output channel 1~4 are on, digital input channel 0~3
are off.