Teledyne M300EM operation manual Modbus Setup, Minimum Requirements, Actions

Models: M300E M300EM

1 398
Download 398 pages 30.02 Kb
Page 173
Image 173
8.5.MODBUS SETUP

Teledyne API – Technical Manual - Model 300E Family CO Analyzers

Remote Operation

8.5.MODBUS SETUP

The following set of instructions assumes that the user is familiar with MODBUS communications, and provides minimal information to get started. For additional instruction, please refer to the Teledyne API MODBUS manual, PN 06276. Also refer to www.modbus.org for MODBUS communication protocols.

Minimum Requirements

Instrument firmware with MODBUS capabilities installed.

MODBUS-compatible software (TAPI uses MODBUS Poll for testing; see www.modbustools.com)

Personal computer

Communications cable (Ethernet or USB or RS232)

Possibly a null modem adapter or cable

Actions

Set Com Mode parameters Comm

Slave ID

Reboot analyzer

Make appropriate cable connections

Specify MODBUS software settings

(examples used here are for MODBUS Poll software)

Read the Modbus Poll Register

Ethernet: Using the front panel menu, go to SETUP – MORE – COMM – INET; scroll through the INET submenu until you reach TCP PORT 2 (the standard setting is 502), then continue to TCP PORT 2 MODBUS TCP/IP; press EDIT and toggle the menu button to change the setting to ON, then press ENTR. (Change Machine ID if needed: see “Slave ID”).

RS232: Using the front panel menu, go to SETUP – MORE – COMM – COM2 – EDIT; scroll through the COM2 EDIT submenu until the display shows COM2 MODBUS RTU: OFF (press OFF to change the setting to ON. Scroll NEXT to COM2 MODBUS ASCII and ensure it is set to OFF. Press ENTR to keep the new settings. (If RTU is not available with your communications equipment, set the COM2 MODBUS ASCII setting to ON and ensure that COM2 MODBUS RTU is set to OFF. Press ENTR to keep the new settings).

A MODBUS slave ID must be set for each instrument. Valid slave ID’s are in the range of 1 to 247. If your analyzer is connected to a serial network (ie. RS-485), a unique Slave ID must be assigned to each instrument. To set the slave ID for the instrument, go to SETUP – MORE – COMM – ID. The default MACHINE ID is the same as the model number. Toggle the menu buttons to change the ID.

For the settings to take effect, power down the analyzer, wait 5 seconds, and power up the analyzer. Connect your analyzer either:

via its Ethernet or USB port to a PC (this may require a USB-to-RS232 adapter for your PC; if so, also install the sofware driver from the CD supplied with the adapter, and reboot the computer if required), or

via its COM2 port to a null modem (this may require a null modem adapter or cable).

1.Click Setup / [Read / Write Definition] /.

a.In the Read/Write Definition window (see example that follows) select a Function (what you wish to read from the analyzer).

b.Input Quantity (based on your firware’s register map).

c.In the View section of the Read/Write Definition window select a Display (typically Float Inverse).

d.Click OK.

2.Next, click Connection/Connect.

a.In the Connection Setup window (see example that follows), select the options based on your computer.

b.Press OK.

Use the Register Map to find the test parameter names for the values displayed (see example that follows If desired, assign an alias for each.

04288D DCN5752

171

Page 173
Image 173
Teledyne M300EM operation manual Modbus Setup, Minimum Requirements, Actions