4-186 ADAM 4000 Series User's Manual
4080, 4080D
Command Set
$AA6N
Name Clear Counter
Description Clears the counter 0 or counter 1 of the specified counter/
frequency module.
Syntax $AA6N(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of counter/frequency module that you want to interro-
gate.
6 the Clear Counter command.
N determines the counter which should be cleared.
N = 0 represents counter 0
N = 1 represents counter 1
(cr) is the terminating character, carriage return (0Dh)
Response !AA(cr) if the command is valid.
There is no response if the module detects a syntax error or
communication error or if the specified address does not exists.
! is a delimiter character indicating the command was valid.
AA (range 00-FF) represents the 2-character hexadecimal
address of a counter input module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $1361(cr)
response: !13(cr)
The command requests the counter/frequency module at
address 13 to clear counter 1. The addressed module replies
with its address to indicate the counter has been cleared.