
Programmable Serial-to-Ethernet Device Server
PDS Series User Manual, Version 2.5, Mar. 2019
-
150 -
8.4
$AACn
This function clears the digital input counter
Syntax:
$AACn[CHK](cr)
$
A delimiter character
AA
The address of the module (01 only for PDS)
C
A command for clearing the digital input count
n
The digital input channel number
Response:
Valid Command:
!AA[CHK](cr)
Invalid Command:
?AA[CHK](cr)
*A syntax error or a communication error will result in no response.
!
A delimiter for valid command
?
A delimiter for an invalid command
AA
The address of the module (01 only for PDS)
Example:
Command
Response
#010
!0100123
Reads the counter value on digital input channel 0. Returns 123.
$01C0
!01
Clears the counter value on digital input channel 0. Returns success.
#010
!0100000
Reads the counter value on digital input channel 0. Returns 0.
Related Topics: