
EDAM-4200 Series User’s manual Version 1.03
8.4.39
#AA2NPPPPPPPP
Write DO pulse counts
Description: Write DO pulse counts to the specific DO channel (For
DO Pulse Output mode
)
Command:
#AA2NPPPPPPPP [CHK](cr)
Syntax:
#
Command leading code
AA
Module address ID (01 to FF , Always 01)
2
Represent generates DO pulse output command.
N
Channel number(0~F)
PPPPPPPP
Represents pulse counts (8 digits, decimal 0~5242879)
if pppppppp = 00000000, continue DO pulse
if pppppppp = 00000001, stop DO pulse
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:
($AACONNDD ) Set DO channel(3) to Pluse output mode.
command: $01CO0301(cr)
response: !01(cr)
($AA9PNNLLLLHHHH) Set DO pulse Low/high output width of channel 3.
command: $019P0301230456(cr)
response: !01(cr)
(#AA2NPPPPPPPP) The command force the DO channel 3 to output 9 pulses.
command: #012300000009 (cr)
response: !01(cr)
Related command:
$AA9PNNLLLLHHHH,
$AA9NN , $AA9DNNHHHHLLLL
Printed Date: 27 February 2018
124