
EDAM-4200 Series User’s manual Version 1.03
8.4.28
@AA6
Read the status of all DIO channels
Description: Read the status of all 16 DO and 16 DI channels
Command:
@AA6 [CHK](cr)
Syntax:
@
Command leading code
AA
Module address ID(01 to FF , Always 01)
6
command for read DIO status
CHK
Check sum
(cr)
Carriage return
Response:
>TTTTNNNN [CHK](cr)
Valid command
?AA[CHK](cr)
Invalid command
>
Delimiter for valid command
?
Delimiter for invalid command
AA
Module address ID
TTTT
Represents the 4-character hexadecimal DO status (0000~FFFF)
NNNN
Represents the 4-character hexadecimal DI status (0000~FFFF)
CHK
Check sum
(cr)
Carriage return
Example:
For E-9050A,
command:
@016(cr)
response:
>
0003
0004
(cr) ;
0003
represents DO0, DO1 are ON and DO2~DO15 are OFF
; 0004
represents DI2 is ON and DI0, DI1, and DI3~DI15 are OFF
Related command:
@AA, $AA6, @AA6, @AA6DDD , #AA00DD, #AA1NDD, @AA6DDDD, @AA6ONSS
Printed Date: 27 February 2018
113