Quantum 890 USE 155 Option 5 Unit ID to IP Address Mapping Table, How the Address Mapping Works

Page 42

Configuring the Bridge

3.10Option 5: Unit ID to IP Address Mapping Table

If you have specified the Bridge's serial port Attached Device parameter as a Modbus Master (see Section 3.7), you will need to map the Slave addresses received in messages from that Master to their intended IP address destinations. The Bridge maps the one±byte Modbus Slave address to an IP address for delivery on Ethernet.

3.10.1How the Address Mapping Works

The Bridge contains an address mapping table with eight entries. Each entry maps a Modbus Slave address (range 1 ... 247 decimal) to a standard IP address (XXX.XXX.XXX.XXX).

When the Bridge receives a message from the Master at its serial port, the Bridge searches the table for a match between the message's Slave address and a Slave address entry in the mapping table. If a match is found, the Bridge forwards the message to the IP address specified in that location in the table. If a match is not found, a message timeout will occur. If a match is found, but there is not an active TCP connection at the IP address, a message timeout will occur. The Master application must provide its own method of handling the message timeout.

The Bridge begins its search at table location 1, and continues in the sequence

1, 2 ... 8. It stops at the first location which matches the Slave address, and sends the message to the corresponding IP address. Thus any duplicate entry, if one exists in the table, will be ignored.

If you have configured the serial port for a Modbus Master, you must use the mapping table to associate the ranges of Slave addresses in your Master application to the IP destination addresses for those Slaves.

3.10.2Example: Address Mapping

If you have configured the serial port for a Modbus Master, and have entered your mapping, it will appear on the Bridge's initial Configuration Menu. Here is an example.

5) Unit ID ±> IP Address Table:

001±001:

192.168.001.020

002±002: 192.168.001.021

003±003:

192.168.001.022

010±010: 192.168.001.024

011±247:

192.168.001.025

 

In this example, the Bridge maps Modbus Slave address 1 to IP address 192.168.1.20. It maps Slave addresses 2, 3, 10 as shown in the table. It maps any Slave address in the range 11 ... 247 to IP address 192.168.1.25.

42

Image 42
Contents Modicon Page Breite 185 mm Höhe 230 mm Breite 178 mm Höhe 216 mm Page Preface Data, Illustrations, AlterationsPage Contents Using Panel Software GlossaryModbus to Ethernet Bridge CEV 300 Introducing the Modbus to Ethernet Bridge Bridge ApplicationsOverview Installation and Configuration Bridging Between Multiple Modbus Networks EthernetMapping Modbus and IP Addresses Mapping for a Modbus MasterMapping for a Modbus Slave Modbus to Ethernet Bridge Front Panel Layout Modbus EthernetComponent Name Purpose Specifications Power Parameter SpecificationAgency Approval Parameter Specification Page Installing the Bridge Hardware Before You Install the Bridge Mounting the Bridge on the DIN RailMounting the Bridge Connecting the Power Wiring Connecting the Power WiringConnecting the Serial Cable RJ45 Port Connecting the Serial Cable RJ45 PortCompatible Modbus Devices and Cables TSX NoteModbus Cable Pinouts References in this figure are to the devices listed in onDB to RJ45 Adapter Kits DB9M 110 XCA 203 Connecting the Serial Cable Wiring Terminals ±WireRS±485 RS±485 / RS±422 Setting the Serial Port Switch Setting the Serial Port SwitchConnecting the Ethernet Cable Connecting the Ethernet CableConfiguring the Bridge Configuration Overview SafetyBefore You Start Connecting by the RS±232 Port Example RS±232 Serial Terminal Emulator PropertiesConnecting by Telnet IP Address Not Assigned Telnet Host RequirementConnecting by Telnet IP Address Assigned Example Telnet ConnectionUsing the Configuration Menu Configuration MenuModbus Master Device Additional Menu Items Commands Default settings, Save, Quit without save Configuration Options 1Viewing and Changing Configuration Parameters Retaining the Current ValueSet Gateway IP Address Option 1 Network/IP SettingsIP Address Set NetmaskConfiguring the Bridge Serial Protocol Option 2 Serial and Mode SettingsAttached Device Interface TypeOption 3 Modem Control Settings RTS/CTS ModeExample Option 4 Advanced Modbus Protocol Settings Slave AddressCharacter Timeout Message TimeoutAllow Modbus Broadcasts Option 5 Unit ID to IP Address Mapping Table How the Address Mapping WorksExample Address Mapping Adding a New Map Entry Entering New Address MappingExiting the Mapping Menu Deleting a Map EntryPage Using Panel Software Using Concept or Modsoft Software VersionsModbus Slave Address WinTech Modscan Using Other SoftwareIntellution FIX MMI Worderware MMIPage Glossary Frame Default gatewayField Framing typesMAC Address InternetLayer NetworkRouter SwitchRepeater ServerUTP WinsockPage United States France Germany