Pepperl+Fuchs ICDM-RX/MOD Manual
Pepperl+Fuchs ICDM-RX/MOD Manual

Pepperl+Fuchs ICDM-RX/MOD Manual

Modbus router user
Table of Contents

Advertisement

Quick Links

FACTORY AUTOMATION
MANUAL
ICDM-RX/MOD
Modbus Router User

Advertisement

Table of Contents
loading

Summary of Contents for Pepperl+Fuchs ICDM-RX/MOD

  • Page 1 FACTORY AUTOMATION MANUAL ICDM-RX/MOD Modbus Router User...
  • Page 2 ICDM-RX/MOD User Manual With regard to the supply of products, the current issue of the following document is applicable: The General Terms of Delivery for Products and Services of the Electrical Industry, published by the Central Association of the Electrical Industry (Zentralverband Elektrotechnik und Elektroindustrie (ZVEI) e.V.) in its most recent version as well as the supplementary...
  • Page 3: Table Of Contents

    ICDM-RX/MOD User Manual Table of Contents Table of Contents 1. Overview ......................... 5 1.1. Introduction ............................5 1.2. Terms and Definitions ........................5 1.3. What is Modbus? ..........................7 1.3.1. Modbus/RTU ..........................7 1.3.2. Modbus/ASCII ..........................7 1.3.3. Modbus/TCP ..........................8 1.4.
  • Page 4 7.4. Restore Defaults Page ........................59 7.5. Reboot Page ............................ 59 8. Troubleshooting and Technical Support..............60 8.1. Troubleshooting Checklist ......................60 8.2. General Troubleshooting ....................... 61 8.3. Daisy-Chaining ICDM-RX/MOD Units With Dual Ethernet Ports..........61 8.4. Technical Support........................... 62...
  • Page 5: Overview

    Connectivity can be easily achieved between any master(s) and any public slave(s) anywhere on an Ethernet network. Combined with a ICDM-RX/MOD running the Modbus/TCP application, both serial and Ethernet TCP/ IP Raw/ ASCII devices can be accessed anywhere on a network from any Modbus master.
  • Page 6 ICDM-RX/MOD User Manual Overview Term Definition A form of Ethernet connectivity that provides a level of guaranteed delivery and data Ethernet TCP/IP verification. This is used for many upper layer protocols such Modbus/TCP and can be also used for transferring Modbus/RTU and Modbus/ASCII messages.
  • Page 7: What Is Modbus

    ICDM-RX/MOD User Manual Overview 1.3. What is Modbus? This subsection discusses: • Modbus/RTU • Modbus/ASCII on Page 7 • Modbus/TCP on Page 8 1.3.1. Modbus/RTU Modbus/RTU is native Modbus in hexadecimal format. These are the base Modbus messages that contain simple read and write requests.
  • Page 8: Modbus/Tcp

    Remote serial Modbus/RTU and/or Modbus/ASCII devices through gateways (such as the ICDM-RX/MOD running the Modbus Router or Modbus/TCP applications). • Remote serial or Ethernet TCP/IP ASCII devices (barcode scanners, printers, RFID readers, visions systems, etc) through a gateway (such as the ICDM-RX/MOD running the Modbus/TCP application).
  • Page 9: Modbus Router Functionality

    All messages received from any Ethernet TCP/IP Master connection enter the routing functionality and can be routed to any local or remote device. Combined with a serial port redirector, such as the Pepperl+Fuchs Comtrol Secure Port Redirector, can provide COM port functionality from a computer to the Modbus network.
  • Page 10 ICDM-RX/MOD User Manual Overview Block-specific configurable write-access control. For each block, writes can be enabled for all master(s) or restricted to a specific serial, Modbus/TCP, or Ethernet TCP/IP master. Web pages provide configuration, diagnostics, display of block contents and shared memory clearing capabilities.
  • Page 11 ICDM-RX/MOD User Manual Overview Supported Connectivity includes: Masters Modbus Router Modbus/ Modbus/ Modbus/RTU Modbus/ASCII Connectivity Grid Modbus/ RTU Serial ASCII Serial Master over Master over TCP Master Master Master Ethernet TCP/IP Ethernet TCP/IP Modbus/TCP Slave (remote gateway or slave Modbus/...
  • Page 12 ICDM-RX/MOD User Manual Overview...
  • Page 13: Multiple Gateway Modbus Networks

    ASCII devices such as barcode scanners, RFID readers, printers, vision systems, and weigh scales. • All Modbus masters connected to a ICDM-RX/MOD running Modbus Router can communicate to all public slaves. The following connectivity can be provided in a Modbus network when using multiple ICDM-RX/MOD chassis...
  • Page 14 ICDM-RX/MOD User Manual Overview The following diagram demonstrates a multiple gateway Modbus network utilizing Modbus Router firmware.
  • Page 15 ICDM-RX/MOD User Manual Overview The following diagram demonstrates a multiple gateway Modbus network utilizing both Modbus Router and Modbus/TCP firmware.
  • Page 16: Modbus/Rtu And Modbus/Ascii To-Slaves Interface

    The ICDM-RX/MOD translates various Modbus formats and forwards them to public slave devices attached to the Modbus To-Slaves configured serial ports. Each Modbus message is transmitted and a response is expected. The ICDM-RX/MOD times out the Modbus messages if there is no response returned within the configured timeout period.
  • Page 17 However, if more than one port is configured for Modbus To-Slaves on a ICDM-RX/MOD 2- or 4-port, the device must be found. The following is an explanation of how the search algorithm works on a ICDM-RX/MOD 2- or 4-port.
  • Page 18: Local Public Modbus Slave Device Search Methodology

    ICDM-RX/MOD User Manual Overview Allows the ICDM-RX/MOD to search for lost devices on all Modbus To-Slaves ports with the Lost Device Search Enable option turned on. This will cause timeout delays on all Modbus To-Slaves ports with the Device Search Enable option turned on until the device is found.
  • Page 19 ICDM-RX/MOD User Manual Overview This functionality is described in the following diagram: Alias Device ID and Device ID Functionality Note 1:Originally received Modbus messages. All responses will be returned with the original device ID. Note 2:Modbus messages sent to and responses received from Modbus Message Routing Handler.
  • Page 20: Alias Modbus Device Id Functionality

    ICDM-RX/MOD User Manual Overview 1.7.1. Alias Modbus Device ID Functionality The Alias Modbus Device ID functionality allows modification of device IDs only when messages are received from Modbus masters. When configured, a Modbus message from a master with the specified device ID is converted to the alias device ID, the message is then routed internally using the alias device ID.
  • Page 21: Modus Master/Slaves Serial Port Mode (Private Serial Bus)

    The only wiring change is to attach the ICDM-RX/MOD to the bus anywhere there is access. 4. The system can be more fault-tolerant. a. In the event the ICDM-RX/MOD is powered off, the master and slaves on the serial bus can still communicate.
  • Page 22: Master/Slaves Message Routing

    ICDM-RX/MOD User Manual Overview The following diagram demonstrates the To-Master/Slaves mode compared to the To-Master and To-Slaves modes. 1.8.1. Master/Slaves Message Routing On a serial port configured to Master/Slaves, only the master on the private serial bus has access to the serial slaves on that serial bus.
  • Page 23: Private Device Id Range Setting

    ID range. If a response from such a device is received on the serial bus, the ICDM-RX/MOD will add that device ID to the private device list and will no longer route those messages to the Modbus network.
  • Page 24 ICDM-RX/MOD User Manual Overview This table shows the supported Coil Block Function Codes. Function Code Description Read Coils Write Single Coil Write Multiple Coils...
  • Page 25 ICDM-RX/MOD User Manual Overview Modbus Router Shared Memory Functionality...
  • Page 26: Remote Modbus Routing Capabilities

    1.10. Remote Modbus Routing Capabilities The Modbus Router firmware provides a wide variety of routing options. Combining those options for a specific installation requires proper configuration of the ICDM-RX/MOD and a thorough understanding of the Modbus master(s) and slave(s) communication capabilities and requirements.
  • Page 27: Modbus/Tcp Master(S) To Modbus/Tcp Slave(S)

    ICDM-RX/MOD User Manual Overview 1.10.3. Modbus/TCP Master(s) to Modbus/TCP Slave(s) This involves providing Modbus/TCP master(s) connectivity to Modbus/TCP slave(s). This is especially useful when: • Modbus/TCP master(s), that can open only one or a very limited number of Modbus/TCP connections, requires connectivity to multiple Modbus/TCP slaves.
  • Page 28: Device Id Mapping To Ip Address/Port/Slave Device Ids

    ICDM-RX/MOD User Manual Overview 1.10.4. Device ID Mapping to IP Address/Port/Slave Device IDs Combining the Alias and Remote Modbus/TCP configurations can provide connectivity between Modbus master(s) that address slave(s) based on device ID(s) to Modbus/TCP slave(s) which require specific IP addresses, port numbers and/or alternate device ID(s).
  • Page 29 ICDM-RX/MOD User Manual Overview To implement this Device ID Mapping example, the following web page configuration entries are required on the Modbus Alias Device ID Configuration page, which is accessed by clicking Modbus | Alias Configuration. Where: Parameter Type Description...
  • Page 30 ICDM-RX/MOD User Manual Overview Access the Remote Modbus/TCP Device Configuration page, by clicking Modbus | Remote Modbus Configuation and the following configuration entries are required. Slave Device 1 Slave Device 2 Slave Device 3 Slave Device 4 Slave Device 5...
  • Page 31 ICDM-RX/MOD User Manual Overview The routing decision making process is depicted in the following diagram:...
  • Page 32 ICDM-RX/MOD User Manual Overview...
  • Page 33: Configuration Overview

    ICDM-RX/MOD User Manual Configuration Overview 2. Configuration Overview This section provides an overview of how to configure the ICDM-RX/MOD and discusses the Home page. 2.1. Prerequisites Before you can configure Modbus Router on the ICDM-RX/MOD, you must have previously performed the following steps: •...
  • Page 34: Modbus Router Home

    PortVision DX help system for information or the appropriate installation document. 2.3. Modbus Router Home Access the ICDM-RX/MOD Modbus Router Home page from PortVision DX or enter the IP address of the ICDM-RX/MOD in the Address box of your web browser.
  • Page 35: Serial Menus

    ICDM-RX/MOD User Manual Serial Menus 3. Serial Menus This section discusses the Serial Port Overview Page and Serial Port Configuration Page on Page 35, which are located under the Serial menu. 3.1. Serial Port Overview Page The Serial Port Overview page displays information about the configured serial settings for each port.
  • Page 36 Modbus serial 200) message is expected to be complete. On or Off: If selected, the ICDM-RX/MOD drops all packets received with parity, framing, or overrun errors. Discard Rx Packets With Note: Modbus/RTU messages with invalid CRCs and Modbus/ASCII messages...
  • Page 37 Not supported: 1-port (Default = Off) Inactivity Wait Time The minimum time (0 to 65535 msec.) that the ICDM-RX/MOD waits after Before Tx (ms) (Default receiving a response or transmitting a Modbus request before transmitting the next = 0 ms) request.
  • Page 38: Modbus Menus

    Enable (Default = Off) If selected, this TCP/IP socket interface will be enabled. If selected, the TCP/IP socket interface will listen for a connection at the specified Listen (Default = Off) Listen Port. Modbus Menus ICDM-RX/MOD User Manual: DOCT-6444 Rev. A - 38...
  • Page 39: Modbus/Tcp Configuration Page

    IP Address of application to create a connection. Used in conjunction with Connect to Mode and Connect Port. Connect IP Address (Default = 0) Note: The IP Address of this ICDM-RX/MOD will not be accepted as valid configuration data. Mode on which to disconnect from the application. Disconnect Mode (Default •...
  • Page 40: Remote Modbus/Tcp Device Configuration Page

    The Device ID range is 1-255. 0 means that it is not configured. IP address of the Modbus/TCP device. All 0s means that it is not configured. Remote IP Address Note: The IP address of the ICDM-RX/MOD will not be accepted as valid configuration data. Remote Modbus/TCP The TCP/IP port (1-65535) to connect to on the remote device.
  • Page 41: Modbus Alias Device Id Configuration Page

    ICDM-RX/MOD User Manual Modbus Menus Remote Modbus/TCP Device Configuration Page (Continued) This setting only applies to a Modbus message if the following two statements are true: • The Modbus message device ID has been aliased, or changed, as a result of a corresponding Alias Device ID configuration via the Modbus Alias Id Configuration page.
  • Page 42 ICDM-RX/MOD User Manual Modbus Menus This shows the supported Coil Block function codes. Coil Block Function Codes Read Coils Write Single Coil Write Multiple Coils The following table provides details about the configuration options. Click the Display button to view detailed information about a specific block or coil.
  • Page 43 ICDM-RX/MOD User Manual Modbus Menus Shared Memory Configuration Page (Continued) Accept Broadcast If selected, the Shared Memory block(s) will accept broadcast messages Messages (Default = No) addressed to their memory block(s). Indicates which master(s) have write access to the Shared Memory block.
  • Page 44: Network Menu

    Default = 60 If the ICDM-RX/MOD was the originator of the first connection, it will then try to re- connect the TCP/IP connection. This allows the ICDM-RX/MOD to be connected and ready to send/receive data even after a network disturbance.
  • Page 45: Password Page

    Network Configuration Page Configures the ICDM-RX/MOD with the static IPv4 address information that you provide in the IPv4 Address, IPv4 Netmask, and IPv4 Gateway fields below. The ICDM-RX/MOD is shipped from the factory with the following default IPv4 Use static network settings:...
  • Page 46: Keys/Certs Page

    5.4. Keys/Certs Page For secure operation, the ICDM-RX/MOD uses a set of three keys and certificates. These keys and certificates are user configurable. Note: All ICDM-RX/MOD units are shipped from the factory with identical configurations. They all have the identical self-signed, Pepperl+Fuchs Comtrol Server RSA Certificates, Server RSA Keys, and Server DH Keys.
  • Page 47 3. Click Upload when you return to the Key and Certificate Management page. The key or certificate notation changes from factory or none to User when the ICDM-RX/MOD is secure. Note: You do not need to click Save, but changes will not take effect until the ICDM-RX/MOD is rebooted.
  • Page 48: Diagnostics Menu

    ICDM-RX/MOD User Manual Diagnostics Menu 6. Diagnostics Menu The following pages are located under the Diagnostics menu: • Serial Communication Statistics Page on Page 48 • Modbus RTU/ASCII over Ethernet TCP Statistics Page on Page 49 • Serial Interface Logs Page on Page 50 •...
  • Page 49: Modbus Rtu/Ascii Over Ethernet Tcp Statistics Page

    ICDM-RX/MOD User Manual Diagnostics Menu Serial Communication Statistics Page (Continued) Displays the number of messages or responses dropped to any of the following: Dropped Message/Response • Incomplete message or response. Count • Did not receive valid start and/or end characters (Modbus/ASCII only).
  • Page 50: Serial Interface Logs Page

    ICDM-RX/MOD User Manual Diagnostics Menu 6.3. Serial Interface Logs Page This page displays the serial messages transmitted and received during normal operation. Click Diagnostics | Communication | Serial Logs to access this page. The format is as follows: Pkt(N): ddd:hh:mm:ss.mss Rx/Tx>(data packet) Where: ddd –...
  • Page 51 ICDM-RX/MOD User Manual Diagnostics Menu Known Modbus Slave Device List Page - Public Devices (Continued) Min Rsp Time Displays the minimum response time from the Modbus device. Max Rsp Time Displays the maximum response time from the Modbus device. Error Rsp Displays the number of responses with Modbus error indications.
  • Page 52: Modbus/Tcp And Serial Modbus Master Statistics Page

    Lengths Displays the number of messages received with invalid message data errors. Invalid Message Data These errors occur when the ICDM-RX/MOD receives a message that cannot be Errors processed due to improper message data. Displays the number of messages received with invalid protocol errors. This...
  • Page 53 ICDM-RX/MOD User Manual Diagnostics Menu Modbus/TCP and Serial Modbus Master Statistics Page (Continued) Remote Modbus/TCP Displays the number of messages to remote devices that were determined to have Device Timeouts timed out by this gateway. Unexpected Responses From Modbus/TCP Displays the number of responses received when no response was expected.
  • Page 54: Modbus/Tcp Connections Page

    The Modbus/TCP master connection in IP Address:Port Number format Connection (xxx.xxx.xxx.xxx:pppp). The local TCP/IP port on the ICDM-RX/MOD. The standard Modbus/TCP port of 502 is Local IP Port always enabled. Optionally, up to seven additional Modbus/TCP ports may also be enabled.
  • Page 55: Modbus Alias Device Id Statistics Page

    ICDM-RX/MOD User Manual Diagnostics Menu Modbus/TCP Connections Page (Continued) Time Since The time that has elapsed since the connection was opened. Open 6.7. Modbus Alias Device ID Statistics Page Access the Modbus Alias Device ID Statistics page by clicking Diagnostics | Modbus Diagnostics | Alias Diagnostics.
  • Page 56: Shared Memory Contents Page - Shared Coil Blocks

    ICDM-RX/MOD User Manual Diagnostics Menu Shared Memory Contents Page (Continued) Shared Holding Use this drop list to select the Shared Holding Register Block or Shared Coil Block that Register Block drop you want to display. list Rx Rsp Displays the number of Modbus responses received from this device.
  • Page 57: System Log Page

    ICDM-RX/MOD User Manual Diagnostics Menu Shared Memory Contents Page - Shared Coil Blocks (Continued) Drop Lists and Fields Shared Coil Block Use this drop list to display data for a specific Shared Holding Register Block or Shared Drop List Coil Block.
  • Page 58: System Menu

    7.2. Configuration File Page You can use the Save Configuration option to save a ICDM-RX/MOD configuration file for recovery purposes or to quickly configure other ICDM-RX/MODs that require the same configuration using the Load Configuration option.
  • Page 59: Saving A Configuration File

    You can use the Device Snapshot page to download a snapshot of the device status, log, and configuration. You may find the information can help you diagnose a problem with the ICDM-RX/MOD. In addition, this information may be requested by technical support if you have called for assistance.
  • Page 60: Troubleshooting And Technical Support

    Note: Most customer problems reported to Technical Support are eventually traced to cabling or network problems. • Isolate the ICDM-RX/MOD from the network by connecting the device directly to a NIC in a host system. Ethernet Model Connected to...
  • Page 61: General Troubleshooting

    ICDM-RX/MOD User Manual Troubleshooting and Technical Support • Verify that the IP address programmed into the ICDM-RX/MOD matches the unique reserved IP configured address assigned by the system administrator. • If using DHCP, the host system needs to provide the subnet mask and gateway.
  • Page 62: Technical Support

    If you need technical support, use one of the following methods. Worldwide Headquarters Pepperl+Fuchs GmbH 68307 Mannheim, Germany +49 621 766-0 info@de.pepperl-fuchs.com USA Headquarters Pepperl+Fuchs, Inc. Twinsburg, Ohio 44087 - USA +1 330 425 35555 sales@us.pepperl-fuchs.com Asia Pacific Headquarters Pepperl+Fuchs Pte Ltd. Company Registration No. Singapore 139942 +65 67799091 sales@sg.pepperl-fuchs.com...
  • Page 63 Twinsburg, Ohio 44087 · USA Tel. +1 330 4253555 E-mail: sales@us.pepperl-fuchs.com Asia Pacific Headquarters Pepperl+Fuchs Pte Ltd. Company Registration No. 199003130E Singapore 139942 Tel. +65 67799091 E-mail: sales@sg.pepperl-fuchs.com www.pepperl-fuchs.com Subject to modifications DOCT-6444 Copyright PEPPERL+FUCHS • Printed in Germany 2019-06...

Table of Contents