
EDAM-4200 Series User’s manual Version 1.03
8.4.26
@AA6ONSS
Set a single digital output channel
Description: Write a single digital output channel
Command:
@AA6ONSS [CHK](cr)
Syntax:
@
Command leading code
AA
Module address ID(01 to FF , Always 01)
6O
represents writing to a single DO channel command
N
Channel number (0-F).
SS
represents the status you want to set to the specific channel.
= 00 – output Deactivate.
= 01 – output Activate.
CHK
Check sum
(cr)
Carriage return
Response:
!AA [CHK](cr)
Valid command
?AA[CHK](cr)
Invalid command
!
Delimiter for valid command
?
Delimiter for invalid command
AA
Module address ID
CHK
Check sum
(cr)
Carriage return
Example:
Set DO(1) to active state
command:
@016O1(cr)
; Read channel(1) DO status
response:
>
00(cr)
;
00
represents DO channel(1) is deactivated
command:
@016O101(cr)
; set DO(1) to activate state
response:
!
01(cr)
command:
@016O1(cr)
; Read DO channel(1) value
response:
>
01(cr)
;
01
represents DO channel(1) is activated
Related command:
@AA, $AA6, @AA6, @AA6DDD , #AA00DD, #AA1NDD, @AA6DDDD
Printed Date: 27 February 2018
111