Start/Stop Counter - Advantech ADAM 4100 User Manual

Industrial grade data acquisition modules
Hide thumbs Also See for ADAM 4100:
Table of Contents

Advertisement

Command Set
4.6.22
$AA5NS

Start/Stop Counter

Name
Request the counter/frequency module to start or stop the
Description
counting for counter 0 or 1.
$AA5NS(cr)
Syntax
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be accessed.
5 identifies the Start/Stop Counter command
N determines whether the counter 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)
!AA(cr) if the command is valid. There is no response if the
Response
module detects a syntax or communication error, or even if
the specified address does not exist.
! is a delimiter character indicating that 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).
command:
Example
response:
The command requests the counter/frequency module at
address 06 to start counter 0. The module replies with its
address indicating that the command has been executed and
counter 0 has started.
4-62 ADAM 4100 Series User's Manual
$06501(cr)
!06(cr)

Advertisement

Table of Contents
loading

Table of Contents