Advantech Data Acquisition Modules ADAM 4000 User Manual page 249

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4050, 4051, 4052, 4053, 4055,
4056S, 4056SO, 4060, 4068, 4069
$AA2
Name
Configuration Status command
Description
Returns the configuration parameters of the digital I/O
module.
Syntax
$AA2(cr)
$
AA
address that you will access to.
2
(cr)
This command requests the return of the configuration data
from the digital I/O module at address AA.
Response
!AATTCCFF(cr)
?AA(cr)
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
?
command.
AA
address of the module.
TT
CC
(Refer to Table 7-2 on next page).
The hexadecimal number
parameter represents the checksum and protocol status .
Bits 3 through 5 and bit 0, 1, 7 are not used, so they are
set to 0. (Refer to Figure 7-2 on next page)
Bit 6 is the selection of checksum and bit 2 is the selection
of protocol (0: advantech, 1: modbus).
(Modbus protocol is supported by ADAM-4051, 4055,
4056S, 4056SO, 4068 only)
(cr)
7-14 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is Configuration Status command.
is the terminating character, carriage return (0Dh).
if the command is valid.
if an invalid command has been issued.
is a delimiter character which indicates a valid command.
is a delimiter character which indicates an invalid
(range 00-FF) represents the 2-character hexadecimal
represents the type of code, which is always 40.
represents the baud rate codes.
is the terminating character, carriage return (ODh).
Digital I/O and Relay Output
Counter/Frequency Command Set
FF
which is converted to a 8-bit

Advertisement

Table of Contents
loading

Table of Contents