Chapter 4
Chapter 4 Command Set
4-35
(Continue %AANNTTCCFF)
Response !AA (cr) if the command is valid.
?AA(cr) if an invalid parameter was entered or if the INIT*
terminal was not grounded when changing baud rate or
checksum settings are attempted.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exists.
! is a
delimiter character indicating that a valid command
was received
? is a delimiter character indicating that the command was
invalid
AA (range 00-FF) represents the 2-character hexadecimal
address of a digital I/O module.
(cr) is the terminating character, carriage return (0Dh)
Example command:
%2324400600(cr)
response:
!24(cr)
The command tries to configure module with address 23h
to address 24h, baud rate of 9600 and no checksum
checking. It also supports Advantech protocol. The
response indicates that the configuration was successful.
Table 4-3 Baudrate Codes
Baud Rate Code (Hex) Baud Rate
03 1200 bps
04 2400 bps
05 4800 bps
06 9600 bps
07 19.2 kbps
08 38.4 kbps
09 57.6 kbps
0A 115.2 kbps
NOTICE:
All configuration parameters can be changed dynamically,
except checksum and baud rate parameters. They can only be altered
when the module is under initial mode.