Advantech Data Acquisition Modules ADAM 4000 User Manual page 239

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4050, 4051, 4052, 4053, 4055,
4056S, 4056SO, 4060, 4068, 4069
%AANNTTCCFF
Name
Configuration command
Description
Configure address, baud rate and/or checksum status of the
digital I/O module.
Syntax
%AANNTTCCFF(cr)
%
AA
address which is to be configured.
NN
00h to FFh of the digital I/O module.
TT
digital I/O module.
CC
(Refer to Table 7-1 on next page)
FF
parameter that represents the checksum and protocol status.
Bits 3 through 5 and bit 0, 1, 7 are not used and are being
set to 0. (Refer to Figure 7-1 below)
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-4052, 4055, 4056S, 4056SO, 4068
only)
(cr)
Figure 7-1 Data format for FF (8-bit parameter)
7-4 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
represents the new hexadecimal address ranging from
represents the type of code that is always set to 40 for a
represents the baud rate code.
is a hexadecimal number that equals to a 8-bit
is the terminating character, carriage return (0Dh).
Digital I/O and Relay Output
Counter/Frequency Command Set

Advertisement

Table of Contents
loading

Table of Contents