Step – Comtrol Modbus TCP Quick Start User Manual

Page 23

Advertising
background image

DeviceMaster UP Modbus/TCP Quick Start: 2000477 Rev. G

Configuring Read-Only Raw/ASCII Devices - 23

Configuring Read-Only Raw/ASCII Devices

10. Master Receive Transfer Mode Only

Use the following procedure to configure Master Receive Transfer mode.

Under Serial Modbus Master and Modbus/TCP Settings (Raw-Data Only):

a.

Set Rx (To PLC) Transfer Mode to Master (Write to PLC).

b.

Set Tx (From PLC) Transfer Mode to either Slave (PLC Writes) or Off.

c.

Set the Maximum Rx Data Packet Size to that of the largest expected receive data packet. For writing to
a Modbus/TCP slave or Modbus serial slave, this can be a maximum of 1,518 bytes.

d.

Set the Oversized Rx Packet Handling to either Truncate or Drop, depending how you want to handle
oversized received packets.

e.

Set Rx MS Byte First if you want to receive data most significant byte first.

f.

Set the Disable Non-Filtered To PLC Rx Queue option if you only want to receive the last received data
packet. (If two or more packets are received during the Maximum PLC Update Rate time period, only
the last received data packet will be sent to the PLC.)

Under Modbus/TCP Master Rx/Tx Settings (Raw-Data Only):

g.

Enter the PLC IP Address:

For Modbus/TCP slaves, set the PLC IP Address to that of your PLC in xxx.xxx.xxx.xxx format.

For Modbus/RTU or Modbus/ASCII serial slaves, set the PLC IP Address to that of this
DeviceMaster UP in xxx.xxx.xxx.xxx format.

Note: The Modbus serial slave must be attached to one of the serial ports on this DeviceMaster UP

chassis.

h. Enter the PLC Device ID:

For Modbus/TCP slaves, set the PLC Device ID to that of your PLC. This is typically 1.

For Modbus/RTU or Modbus/ASCII serial slaves, set the PLC Device ID to that of the serial slave
device.

Note: This must be a unique device id attached to this DeviceMaster UP chassis.

i.

Set the PLC Rx Data Address to the PLC memory address where you want to place the received data
message. This address is Base 1, which means the address starts at 1 (or 400001 for some PLCs). If
your address range is Base 0, or starts at zero, you will need to add one to your address.

j.

Set the Maximum PLC Update Rate to the fastest rate your PLC can reliably receive and process data.
This is typically longer than the scan rate. The default of 40 milliseconds is usually sufficient, but
your system may require a longer time period.

Advertising