
Programmable Serial-to-Ethernet Device Server
PDS Series User Manual, Version 2.5, Mar. 2019
-
151 -
8.5
$AAGCN
This function reads the digital input/output channel count
Syntax:
$AAGCN[CHK](cr)
$
A delimiter character
AA
The address of the module (01 only for PDS)
GCN
A command for reading the digital input/output channel count
Response:
Valid Command:
>DINxxDONxx[CHK](cr)
Valid Command:
>DONxx[CHK](cr)
(DO only)
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 invalid command
AA
The address of the module (01 only for PDS)
DINxx
DIN: The digital input channel
xx : The total channel count
DONxx
DON: The digital output channel
xx : The total channel count
Example:
Command
Response
$01GCN
>DIN01DON02
Reads the total I/O channel count for the module. Returns that the module is equipped with 1
digital input channel and 2 digital output channels.