4-184 ADAM 4000 Series User's Manual
4080, 4080D
Command Set
$AA5NS
Name Start/Stop Counter
Description Request the addressed counter/frequency module to start or
stop the counting for a counter 0 or counter 1.
Syntax $AA5NS(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.
5 identifies the Start/Stop Counter command
N determines the counter that should be enabled or disabled.
N = 0 represents counter 0
N = 1 represents counter 1
S represents the counter status.
S = 0 stops counting
S = 1 starts counting
(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 or communication error, or if the
specified address does not exist.
! 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: $06501(cr)
response: !06(cr)
The command requests the counter/frequency module at
address 06 to start counter 0. The addressed module replies
with its address to indicate the command has been executed
and counter 0 has started.