Read Counter Start/Stop Status - Advantech ADAM 4100 User Manual

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

Advertisement

4.6.23
$AA5N

Read Counter Start/Stop Status

Name
Requests the counter/frequency module to indicate whether
Description
counter 0 or counter 1 is active.
$AA5N(cr)
Syntax
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be accessed.
N determines which counter is active.
N = 0 represents counter 0
N = 1 represents counter 1
(cr) is the terminating character, carriage return (0Dh)
!AAS(cr) if the command is valid.
Response
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 indicating that the command was
valid.
AA (range 00-FF) represents the 2-character hexadecimal
address of a counter input module.
S represents the counter status.
S = 0 indicates counting
S = 1 indicates not counting
(cr) is the terminating character, carriage return (0Dh).
command:
Example
response:
The command requests the counter/frequency module at
address 06 to return the status of counter 0. The addressed
module replies that counter 0 is counting
$0650(cr)
!061(cr)
Chapter 4
4
Chapter
Command Set 4-63

Advertisement

Table of Contents
loading

Table of Contents