Advantech ADAM 4100 User Manual page 77

Industrial grade data acquisition modules
Hide thumbs Also See for ADAM 4100:
Table of Contents

Advertisement

4.6.2
$AA2
Configuration Status command
Name
Returns the configuration parameters of the digital I/O
Description
module.
$AA2(cr)
Syntax
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be accessed.
2 is Configuration Status command.
(cr) is the terminating character, carriage return (0Dh).
This command requests the return of the configuration data
from the digital I/O module at address AA.
!AATTCCFF(cr) if the command is valid.
Response
?AA(cr) if an invalid command has been issued.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
! 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.
TT represents the type of code, which is always 40.
CC represents the baud rate code.
FF
is
an
8-bit parameter that represents the checksum status and
protocol.
Bits 3 through 5 and bit 0, 1, 7 are not used and are being
set to 0. (See Figure 4-3)
Bit 6 is the selection of checksum and bit 2 is the selection
of protocol: (0: advantech, 1: modbus).
(cr) is the terminating character, carriage return (ODh)
a
hexadecimal
number
Chapter 4
4
Chapter
that
equals
to
Command Set 4-37

Advertisement

Table of Contents
loading

Table of Contents