Digital I/O and Relay Output
Counter/Frequency Command Set
7-
62
ADAM 4000 Series User’s Manual
@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)
@ 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 valu e which must consist of eight
hexadecimal digits.
(cr) is the terminating character, carriage return (0Dh).
Response !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).
Example 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.
4080