Baud Rate And Checksum - Advantech Adam 4000 Series User Manual

Data acquisition modules
Hide thumbs Also See for Adam 4000 Series:
Table of Contents

Advertisement

set data format to engineering units
(Please refer to Chapter 4, a full description of Command set syntax for an analog
input module)
When the module received the configuration command, it will respond with its new
address as shown below:
!07(cr)
Before giving more commands to the module, please wait for 7 seconds to let the
new configuration settings to take effect.
Note!
All reconfiguration except for changing baud rate and checksum values
can be done dynamically, and the modules are not required to reset.
However, all the connected devices are required to reset by turning
power off and on after the baud rate or checksum values are changed.
The baud rate or checksum values should be the same for all the con-
nected devices after the reconfiguration. See the next page for a strat-
egy in changing baud rate and checksum of the network.
2.3

Baud Rate and Checksum

ADAM modules contain EEPROMs to store configuration information and calibration
constants. The EEPROM replaces the conventional array of switches and pots that
are originally used for specifying baud rate, input and output range... etc.
Since there is no visual indication of a module's configuration status, it is impossible
to know the baud rate, address and other settings just by looking at it. It might not be
possible to establish communications with a module whose baud rate and address
are unknown. To overcome this problem, most modules have an input terminal
labeled INIT*. Booting the module while connecting the INIT* terminal with the mod-
ule's GND terminal forces the configuration into a known state called the INIT* state.
Besides, some newer modules have INIT switch which you can set "Init" or "Normal"
(See Figure 2.4). If you set the switch to "Init", then it becomes INIT* state.
INIT* state defaults:
Baud rate: 9600
Address: 00h
Checksum: disabled
Forcing the module in INIT* state does not change any parameters in the module's
EEPROM. When the module is in the INIT* state with its INIT* and GND terminals
shorted, all configuration settings can be changed, and the module will respond to all
other commands normally.
Changing Baud rate and Checksum
Baud rate and checksum settings have several things in common:
They should be the same for all modules and host computer.
Their settings can only be changed by putting a module in the INIT* state.
Changed settings can only take effect after a module is rebooted
11
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents