
EDAM-4200 Series User’s manual Version 1.03
8.4.21
$AA6
Read DI /DO Channel Status
Description: This command requests that the specific EDAM-4200 module return the status of its
digital input and digital output channels. (same as “@AA”)
Command:
$AA6 [CHK](cr)
Syntax:
$
Command leading code
AA
Module address ID (01 to FF , Always 01)
6
Command for read DIO channel status
CHK
Check sum
(cr)
Carriage return
Response:
>DDDDFFFF[CHK](cr)
Valid command
?AA[CHK](cr)
Invalid command
>
Delimiter for valid command
?
Delimiter for invalid command
AA
Module address ID
DDDD
Hexadecimal DO status (0000~FFFF).
FFFF
Hexadecimal DI status (0000~FFFF).
CHK
Check sum
(cr)
Carriage return
Example 2: Read EDAM-4250 DIO status
command:
$016(cr)
;
read EDAM-4250 DIO status
response : !010
0003
0004
(cr) ; represents DO0, DO1 are ON and DI2 is ON
Related command:
@AA, @AA6
Printed Date: 27 February 2018
106