Advantech Data Acquisition Modules ADAM 4000 User Manual page 297

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4080
@AAPN(data)
Name
Set Initial Count Value of Counter 0 or 1 command
Description
Set the initial count value for counter 0 or 1 of the specified
counter module at address AA.
Syntax
@AAPN(data)(cr)
@
AA
address of the module.
PN
command.
N = 0 represents counter 0
N = 1 represents counter 1
(data)
hexadecimal digits.
(cr)
Response
!AA(cr)
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
AA
address of the module.
(cr)
Example
command: @12P0000000FF(cr)
response:
The command sets the initial count value 000000FF for
counter 0 of the counter module at address 12.
module replies that the command has been received.
7-62 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Set Initial Count Value of Counter 0 or 1
is the initial count value which must consist of eight
is the terminating character, carriage return (0Dh).
if the command is valid.
is a delimiter character which indicates a valid command.
(range 00-FF) represents the 2-character hexadecimal
is the terminating character, carriage return (0Dh).
!12(cr)
Digital I/O and Relay Output
Counter/Frequency Command Set
The

Advertisement

Table of Contents
loading

Table of Contents