Advantech ADAM 4000 Series User Manual page 179

Data acquisition modules
Hide thumbs Also See for ADAM 4000 Series:
Table of Contents

Advertisement

4080
7.2.2.5
$AA5NS
Name
Description Request the counter/frequency module to start or stop the
Syntax
Response
Example
Start/Stop Counter command
counting for either counter 0 or counter 1.
$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).
!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).
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.
167
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents