Chapter 7
7-
45
ADAM 4000 Series User’s Manual
$AA5NS
Name Start/Stop Counter command
Description Request the counter/frequency module to start or stop the
counting for either counter 0 or counter 1.
Syntax $AA5NS(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
5 is the Start/Stop Counter command.
N determines the counter that should be either 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
even if the specified address does not exist.
! is a delimiter character which indicates a valid command.
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 0 of counter/frequency
module at address 06 to start. The addressed module replies
with its address indicating that the command has been
executed. Counter 0 has started.
4080, 4080D