Emerson Process Management 3-9000-745 Wok User Manual


 
User Manual MON20/20 Software for Gas Chromatographs
3-9000-745 SEPTEMBER 2010
7-10
7.1.5 Transmitting using a template
Templates are best used when decoding mixed data types because the
template contains data that the Modbus program can use to determine
which data type should be assigned to which register.
To create a new template or to use an existing template, do the following:
Note
Before retrieving data, print a GC Config Report (see Section 5.12) and review the
Communication section to learn the variable names that are assigned to the Modbus
registers.
1. In the Slave Addr field, type the COM ID of the GC. The Modbus
program will accept a slave address value of 1 to 247.
To use Broadcast Mode, which directs the Modbus program to poll all
known devices, enter 0 in the Slave Addr field. Each device interprets
this poll attempt as an instruction to read and take action; however, a
response message may not be received by the Modbus program.
Note
Changes are applied to the corresponding register value at each device.
2. Select the desired read or write option from the Function pull down
menu.
Function Code Description Broadcast
1 (Read Coil) Reads one or more coil values.
2 (Read Input Status) Reads one or more input status values.
3 (Read Multiple Regs) Reads one or more register values.
4 (Read Input Regs) Reads one or more input register values.
5 (Set Single Coil) set (write) one coil value
6 (Set Single Reg) set (write) one register value
15 (Set Multiple Coils) set (write) multiple coil values
16 (Set Multiple Regs) set (write) multiple register values