
EDAM-4200 Series User’s manual Version 1.03
8.4.42
$AA9DNNHHHHLLLL
Set DO low/high delay time
Description: Set DO Low/high delay output width for channel N ( unit: 0.5ms).
(For
High/Low delay mode
and
DO Auto-Off Time Mode
)
Command:
$AA9DNNHHHHLLLL [CHK](cr)
Syntax:
$
Command leading code
AA
Module address ID (01 to FF , Always 01)
9D
Command to set DO low/high delay time of DO channel N
NN
DO channel number.
= 00~0F (hex) - DO channel number.
= FF (hex) - Copy the setting to all DO channels
HHHH
4 char, DO low to high delay width (hex 0001~hex 3332, uint: 0.5ms)
(For "High->Low->High Auto-Off Time mode" HHHH always "0001")
LLLL
4 char, DO high to low delay width (hex 0001~hex 3332, uint: 0.5ms)
(For "Low->High->Low Auto-Off Time mode" LLLL always "0001")
CHK
Check sum
(cr)
Carriage return
Response:
!AA (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(1):
For DO
Low to High delay mode
($AACONNDD ) Set DO channel(1) to
Low to High delay mode
.
command: $01CO0102(cr)
response: !01(cr)
($AA9DNNHHHHLLLL) Set DO Low to high delay time(2000ms) for channel 1.
command: $019D010FA00001(cr) ; HHHH=0FA0, LLLL=0001
response: !01(cr)
(#AA1NDD) Set DO(1) to High(1).
command: #011101 (cr) ; after 2000ms the DO(1) to high(1)
response: !01(cr)
Example(2):
For DO
High to Low delay mode
($AACONNDD ) Set DO channel(1) to
High to Low delay mode
.
command: $01CO0203(cr)
response: !01(cr)
($AA9DNNHHHHLLLL) Set DO Low to high delay time(2000ms) for channel 2.
command: $019D0200010FA0 (cr) ; HHHH=0001, LLLL=0FA0
response: !01(cr)
(#AA1NDD) Set DO(2) to High(1).
command: #011200 (cr) ; after 2000ms the DO(2) to high(0)
response: !01(cr)
Printed Date: 27 February 2018
127