Advantech Adam 4000 Series User Manual page 261

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

Advertisement

4080
7.2.4.1
@AAPN(data)
Name
Description Set the initial count value for counter 0 or 1 of the specified
Syntax
Response
Example
Set Initial Count Value of Counter 0 or 1 command
counter module at address AA.
@AAPN(data)(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
PN is the Set Initial Count Value of Counter 0 or 1
command.
N = 0 represents counter 0
N = 1 represents counter 1
(data) is the initial count value which must consist of eight
hexadecimal digits.
(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 the module.
(cr) is the terminating character, carriage return (0Dh).
command: @12P0000000FF(cr)
response: !12(cr)
The command sets the initial count value 000000FF for
counter 0 of the counter module at address 12. The
module replies that the command has been received.
247
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents