
Programmable Serial-to-Ethernet Device Server
PDS Series User Manual, Version 2.5, Mar. 2019
-
157 -
8.11
#AAn
This function reads digital input counter from channel n
Syntax:
#AAn[CHK](cr)
#
A delimiter character
AA
The address of the module (01 only for PDS)
n
The digital channel number (from 0)
Response:
Valid Command:
!AA(Data)[CHK](cr)
Invalid Command:
?AA[CHK](cr)
*A syntax error or a communication error will result in no response.
!
A delimiter for a valid command
?
A delimiter for an invalid command
AA
The address of the module (01 only for PDS)
(Data)
The digital input counter value in decimal format from 00000 to 65535
Example:
Command
Response
#012
!0100103
Read the digital input counter of channel 2. Returns the value 103
#013
?01
Read the digital input counter of channel 3. Returns an error including that the channel is not
available
Related Topics: