Quick Start Example

0F = set input range to type K thermocouple

00 = set data format to engineering units, 50ms (60Hz)

(See Chapter 6, Command Set for a full description of the syntax of the configuration command for an analog input module)

When the module received the configuration command it will respond with its new address:

!01(cr)

Wait 7 seconds to let the new configuration settings take effect before issuing a new command to the module.

Note: All reconfiguration except changing of baud rate and checksum values can be done dynamically, i.e. the modules need not be reset. When changing baud rate or checksum, these changes should be made for all connected devices. After reconfiguration, all modules should be powered down and then powered up to force a reboot and let the changes take effect. See the next section for a strategy for changing baud rate and or checksum for an entire network.

A.3 Baud Rate and Checksum

ADAM-5000 systems contain an EEPROM to store configuration information and calibration constants. The ROM replaces the usual array of switches and pots required to specify baud rate, input/output range, etc. The ADAM-5000 system can be configured remotely through their communication ports, without having to physically alter pot or switch settings.

Since there is no visual indication of a system's configuration status, it is not possible to visually determine baud rate and other system settings. It might not be possible to establish communications with a system whose baud rate and address are unknown. To overcome this problem, every system has an input terminal labeled INIT*. By booting the system while connecting the INIT* terminal with the system's GND terminal, the system configuration is forced into a

A-8

ADAM-5000

Page 298
Image 298
Advantech RS-485 user manual Baud Rate and Checksum