Digital I/O Module Command Set - Advantech ADAM 4100 User Manual

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

Advertisement

4.6 Digital I/O Module Command Set

4.6.1
%AANNTTCCFF
Configuration
Name
Configure address, baud rate and/or checksum status of the
Description
addressed digital I/O module.
%AANNTTCCFF(cr)
Syntax
% is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be configured.
NN represents the new hexadecimal address of the digital I/O
module which range from 00h to FFh.
TT represents the type of code, which is always set to 40 for
digital I/O modules.
CC represents the baud rate code. (Please see next page,
Table 4-3)
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. (Please see Figure 4-2)
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 (0Dh).
Figure 4-2 Checksum and protocol
a
hexadecimal
number
Chapter 4
4
Chapter
that
equals
to
Command Set 4-35

Advertisement

Table of Contents
loading

Table of Contents