B&B Electronics GW-7472 User Manual

Ethernet/ip to modbus rtu gateway

Advertisement

Quick Links

GW-7472
EtherNet/IP to Modbus RTU Gateway

User Manual

Warranty
All products manufactured by ICP DAS are under warranty regarding defective
materials for a period of one year, starting from the date of delivery to the original
purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of this product.
ICP DAS reserves the right to change this manual at any time without notice. The
information published by ICP DAS is believed to be accurate and reliable.
However, no responsibility is assumed by ICP DAS for its use, not for any
infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright © 2010 by ICP DAS Co., Ltd. All rights are reserved.
Trademark
The names used for identification only may be registered trademarks of their
respective companies.
GW-7472 User Manual, Version 1.0, Dec 2010
--- 1

Advertisement

Table of Contents
loading

Summary of Contents for B&B Electronics GW-7472

  • Page 1: User Manual

    Copyright Copyright © 2010 by ICP DAS Co., Ltd. All rights are reserved. Trademark The names used for identification only may be registered trademarks of their respective companies. GW-7472 User Manual, Version 1.0, Dec 2010 --- 1...
  • Page 2: Table Of Contents

    Serial Port Settings ..........................29 4.2.3 Modbus Request Settings ......................... 30 4.2.4 Electric Data Sheet ..........................31 4.3.1 UCMM/Forward Open Class 3 Behavior ................... 33 4.3.2 Forward Open Class 1 Behavior ....................34 GW-7472 User Manual, Version 1.0, Dec 2010 --- 2...
  • Page 3: I I I

    GW-7472 User Manual, Version 1.0, Dec 2010 --- 3...
  • Page 4 If any of these items is missed or damaged, contact the local distributor for more information. Save the shipping materials and cartons in case you want to ship in the future. More Information Documentations Fieldbus_CD:\EtherNetIP\Gateway\GW-7472\Document Firmware Fieldbus_CD:\EtherNetIP\Gateway\GW-7472\Firmware Utility Fieldbus_CD:\EtherNetIP\Gateway\GW-7472\Utility GW-7472 User Manual, Version 1.0, Dec 2010 --- 4...
  • Page 5 Ethernet (PoE) with a standard category 5 Ethernet cable. Through the NS-205PSE, Poe switch, the GW-7472 can be powered via the Ethernet cable. When there is no PoE switch on site, the GW-7472 provide another way to be powered from DC adapters. These two power interfaces are redundant.
  • Page 6 Modbus RTU network. In this system, there are three Modbus RTU slaves connected to the Modbus RTU master provided by the GW-7472. The EtherNet/IP adapter interface of the GW-7472 is connected to an EtherNet/IP scanner through an Ethernet switch. Register data of the three Modbus RTU slaves is presented to the EtherNet/IP scanner as the I/O data.
  • Page 7 Modbus slave No.1, and No.3 is WORD, and that in the Modbus slave No.2 is BYTE. All of these input registers are mapping to the corresponding input registers of the EtherNet/IP adapter of the GW-7472 sequentially by using the BYTE format. GW-7472 User Manual, Version 1.0, Dec 2010...
  • Page 8 The Modbus slave output registers are mapping as the output registers of the EtherNet/IP adapter of the GW-7472. Users can set the maximum 500 bytes for input data and 500 bytes for output data which are mapping to the EtherNet/IP adapter of the GW-7472. All of these configurations are defined by using the GW-7472 Utility tool.
  • Page 9: Specifications

    Connector 10-Pin Removable Terminal Block x 1 Mounting DIN-Rail Flammability Fire Retardant Materials (UL94-V0 Level) Operating Temperature -25° ~ 75°C Storage Temperature -30° ~ 80°C Humidity 10 ~ 90% RH, non-condensing GW-7472 User Manual, Version 1.0, Dec 2010 --- 9...
  • Page 10: Features

    EtherNet/IP adapter of the GW-7472: maximum 500 bytes The numbers of the Modbus RTU slave output registers mapping to the output registers of the EtherNet/IP adapter of the GW-7472: maximum 500 bytes GW-7472 User Manual, Version 1.0, Dec 2010...
  • Page 11 : Read Multiple Data Registers  : Read Input Registers  : Write Multiple Bits  : Write Multiple Data Register Maximum data size of one Modbus RTU command: 240 bytes GW-7472 User Manual, Version 1.0, Dec 2010 --- 11...
  • Page 12: Operating Mode

    Jack PoE and Ethernet RJ-45 Jack: The GW-7472 is equipped with a RJ-45 jack for the 10/100 Base-TX Ethernet port and features networking capability. When the Ethernet link is detected and Ethernet packet is received, the Link/Act LED (Orange) indicator will be turned on. When the power is supplied via PoE (Power-over-Ethernet), the PoE LED (Green) indicator will be turned on.
  • Page 13 Generally, the switch is always in the Run position while the GW-7472 works. Only when updating or setting the GW-7472, the switch needs to be set to the Init position. Move the switch to the Run position and then re-power on the GW-7472 after the update is completed.
  • Page 14: Dimensions

    Dimensions GW-7472 dimensions: Unit: mm Front View Back View Top View Left Side View Right Side View Bottom View GW-7472 User Manual, Version 1.0, Dec 2010 --- 14...
  • Page 15: Pin Assignment

    Pin Assignment 1-Port 2-Wire RS-485/ 4-Wire RS-422 Module GW-7472 User Manual, Version 1.0, Dec 2010 --- 15...
  • Page 16: Wiring Note

    Wiring Note 2.6.1 RS-422 Wire Connections 2.6.2 RS-485 Wire Connections Note!! For non-isolated RS-422/485 ports, you should connect all signal grounds of RS-422/485 devices together. This reduces common-mode voltage between devices. GW-7472 User Manual, Version 1.0, Dec 2010 --- 16...
  • Page 17 Fieldbus_CD:\EtherNetIP\Gateway\GW-7472\Utility http://ftp.icpdas.com/pub/cd/fieldbus_cd/ethernetip/gateway/gw-7472/utility/ Step 2: Install .NET Framework 4 component The GW-7472 Utility tool requires the Windows Installer 3.1 and the .NET Framework 4 components. These components can be obtained from the web site. GW-7472 User Manual, Version 1.0, Dec 2010...
  • Page 18 Step 3: Install Utility tool After installing the .Net Framework components, please run the GW-7472 Utility setup file. Click the “Next” button to continue. Select the installation path of the GW-7472 Utility and click the “Next” button. GW-7472 User Manual, Version 1.0, Dec 2010...
  • Page 19 Confirm the installation. Click the “Next” button to start the installation Installation complete. Click the “Close” button to exit GW-7472 User Manual, Version 1.0, Dec 2010 --- 19...
  • Page 20 In Init mode, the GW-7472 is forced to the network configuration as following table. Connect the GW-7472 with your computer at the same sub network or by using the same Ethernet switch. Then power the GW-7472 on. Afterwards, you can use the command “ping 192.168.255.1”...
  • Page 21 Make sure the System LED indicator is flashing. GW-7472 User Manual, Version 1.0, Dec 2010 --- 21...
  • Page 22 Double click the GW-7472 Utility shortcut on the desktop. Click the “Network Scan” button to search your GW-7472. Select the item of the GW-7472 and click the “Configure” button to open the configuration dialog. After setting all the parameter of the GW-7472, click the “Update Settings” and “Exit”...
  • Page 23: T E S T I N G T H E G W

    (Contact your system administrator for more details about how to do this.) Check Init/Run switch is on Run position. Connect the GW-7472 with your computer at the same sub network or by using the same Ethernet switch. Then power the GW-7472 on. Afterwards, you can use the command “ping”...
  • Page 24 Double click the GW-7472 Utility shortcut on the desktop. Click the “Network Scan” button to search your GW-7472. Select the item of the GW-7472 and click the “Diagnostic” button to open the diagnostic dialog. Please refer to the section “4.3 Module Diagnostic” for details GW-7472 User Manual, Version 1.0, Dec 2010...
  • Page 25: Network Scan

    4.1 Network Scan Double click the GW-7472 Utility shortcut on the desktop. Click the “Network Scan” button to search your GW-7472. Afterwards, you can see all of the GW-7472 on the same network of your PC. GW-7472 User Manual, Version 1.0, Dec 2010...
  • Page 26: Module Configuration

    4.2 Module Configuration Double click the GW-7472 Utility shortcut on the desktop. Click the “Network Scan” button to search your GW-7472. Select the item of the GW-7472 and click the “Configure” button to open the Configuration dialog. Item Descriptions: Item...
  • Page 27: Network Settings

    LAN definition of your PC. Or, the connection between the GW-7472 and your PC may have problem. Contact your network administrator to obtain a proper network configuration for the GW-7472.
  • Page 28 The procedure of the dynamic configuration is very easy. If you have a DHCP server, network address can be configured dynamically by the following steps: Step1: Select the “DHCP”. Step2: Click the “Update Settings” button to finish the configuration. GW-7472 User Manual, Version 1.0, Dec 2010 --- 28...
  • Page 29: Serial Port Settings

    Set parity of the RS-485/422 ports. None Stop Bits (bits) Set stop bits of the RS-485/422 ports. Step1: Enter the port settings. Step2: Click the “Update Settings” button to finish the configuration GW-7472 User Manual, Version 1.0, Dec 2010 --- 29...
  • Page 30: Modbus Request Settings

    Command Interval command is replied by the Modbus slave immediately, the (milliseconds) GW-7472 still waits until the time interval passes. Set range value: 10 ~ 30000 (milliseconds); Default: 200 ms Step1: Enter the Modbus Request commands. Step2: Click the “Add”, “Delete” buttons to add and remove the Modbus commands.
  • Page 31: Electric Data Sheet

    EtherNet/IP scanner. Through the EDS file, the configuration tool from 3rd parity is able to easily know that which parameters can be accessed or altered. After setting the parameters of the GW-7472, an EDS file (“EDS_GW-7472.eds”) will be created in the same folder of the Utility tool. GW-7472 User Manual, Version 1.0, Dec 2010...
  • Page 32: Module Diagnostic

    Item Descriptions: Item Description Send UCMM packets or use the Forward_Open service to build UCMM/Forward Open Class the CIP class 3 connection to communicate with the GW-7472. 3 Behavior Please refer to section “4.3.1 UCMM/Forward Open Class 3 Behavior” Use the Forward_Open service to build the CIP class 1 Forward Open Class1 connection to communicate with the GW-7472.
  • Page 33: Ucmm/Forward Open Class 3 Behavior

    Step1: Enter the Service Code, Class Code, Instance ID, Attribute ID, Requested Data size, Request Data, and Request packet interval parameters. Step2: Click the “UCMM” or “Class3” buttons to communicate with the GW-7472. Step3: Click the “DisConnect” button to stop to communicate with the GW-7472.
  • Page 34: Forward Open Class 1 Behavior

    Step1: Enter the Class Code, Instance ID, O->T Point, O->T Point, O->T Size, T->O Size, and RPI parameters. Step2: Click the “Class1” button to communicate with the GW-7472. Step3: Click the “DisConnect” button to stop to communicate with the GW-7472. GW-7472 User Manual, Version 1.0, Dec 2010 --- 34...
  • Page 35: Firmware Update

    BOOTP/TFTP protocol. Generally, the firmware is not necessary to update when it works well. If there are some bugs in the firmware of your GW-7472 or you need new functions which don’t support in your GW-7472, the firmware update is necessary. If the firmware update procedure is broken unfortunately, please try it again.
  • Page 36 This parameter is an available IP address on the Ethernet network. During the update procedure, the GW-7472 will use this IP address. You can also assign the IP address which is used in the run mode of the GW-7472. Contact your network administrator for more information about an available IP address.
  • Page 37: Object Model

    EtherNet/IP objects and the Modbus RTU registers. This section describes the EtherNet/IP Object Model of the GW-7472 and how to read/write the GW-7472 EtherNet/IP object data mapping to the registers of Modbus slaves by using the EtherNet/IP Explicit and Implicit Message.
  • Page 38 GW-7472 User Manual, Version 1.0, Dec 2010 --- 38...
  • Page 39: Explicit Message

    Assembly Object. Each of these instances is mapping to the register data of the Modbus slaves. After you use the Utility to configure the GW-7472, the mapping information between the registers of the Modbus slaves and the instances of the Assembly Object is created by following the configuration order of the Modbus commands defined by the Utility.
  • Page 40 GW-7472 allows setting maximum 30 Modbus commands to get the register data of the Modbus slaves. The unit of the input instance and output instance is BYTE. Therefore, no matter the data format is Coil (1 bit) or WORD, all of the register data of the Modbus slaves will be assigned to the instances of the Assembly Object by using BYTE format.
  • Page 41 6. Supported Modbus Communication Function Code Explanation (in hex) Read output status Read input status Read multiple data registers Read input registers Write multiple bits Write multiple data register GW-7472 User Manual, Version 1.0, Dec 2010 --- 41...
  • Page 42: Device Object Model

    AC Drive profile. Vendor Specific Objects are classes that add attributes and services that don’t fit into the Required or Application Objects. The required objects of the GW-7472 are list as below:  Identity Object (0x01) ...
  • Page 43 Unique 32 bit value Product Name Structure of: SHORT Product Name Size “GW-7472” STRING Product Name String Common Services Implemented for Service Code Service Name Class Instance Get_Attribute_Single Get_Attributes_All (1,2,6,7) (1,2,3,4,5,6,7) Reset GW-7472 User Manual, Version 1.0, Dec 2010 --- 43...
  • Page 44 The Message Router Object is used for routing the Explicit Message or UCMM to access the instance of the object with specific Class ID, Instance ID and Attribute ID. It provides two kinds of services for accessing any objects in the GW-7472. Class Attributes (Instance ID = 0...
  • Page 45 Attribute ID when using the configuration tool of the EtherNet/IP scanner. If the configuration tool of the EtherNet/IP scanner supports the EDS loader, you can get the EDS file of the GW-7472 by using Utility. Please refer to the section 4.2.4 for more details. INPUT/OUPUT ASSEMBLY...
  • Page 46 Most EtherNet/IP scanner contains a configuration path when opening an Implicit Message connection to the GW-7472. Through the configuration path, the EtherNet/IP scanner can exchange the input and output data of the GW-7472. Therefore, there is no data needed in the Configuration Instance.
  • Page 47 Illegal device ID Illegal function code Illegal data address Receiving an Invalid command CRC checking error Timeout error occurred Common Services Implemented for Service Code Service Name Class Instance Get_Attribute_Single Set_Attribute_Single GW-7472 User Manual, Version 1.0, Dec 2010 --- 47...
  • Page 48 UINT Number of Instances UINT Max Class Attributes ID UINT Number Max Instance Attributes UINT ID Number Common Services Implemented for Service Code Service Name Class Instance Get_Attribute_Single Get_Attributes_All Forward_Close Forward_Open GW-7472 User Manual, Version 1.0, Dec 2010 --- 48...
  • Page 49 The TCP/IP Interface Object contains read-only data that describes the TCP/IP connection parameters between the Gateway and the EtherNet/IP scanner. The configurable items include the GW-7472’s IP address, network mask and gateway address. You can’t directly control any attributes of this object.
  • Page 50 Section 5-3.2.2.5 of “Volume 2: EtherNet/IP Adaptation of CIP” from ODVA for more details on this attribute. Section 5-3.2.2.6 of “Volume 2: EtherNet/IP Adaptation of CIP” from ODVA for more details on this attribute. GW-7472 User Manual, Version 1.0, Dec 2010 --- 50...
  • Page 51 Section 5-4.2.2.2 of “Volume 2: EtherNet/IP Adaptation of CIP” from ODVA for more details on this attribute. Section 5-4.2.2.3 of “Volume 2: EtherNet/IP Adaptation of CIP” from ODVA for more details on this attribute. GW-7472 User Manual, Version 1.0, Dec 2010 --- 51...
  • Page 52: Cip General Status Code

    The size of the path which was sent with the Service Request is Path Size Invalid either not large enough to allow the Request to be routed to an object or too much routing data was included. GW-7472 User Manual, Version 1.0, Dec 2010 --- 52...
  • Page 53 (i.e. listen only) connection to a connection which has no controlling connection (i.e. owner). TARGET APPLICATION CANNOT SUPPORT ANY MORE CONNECTIONS The maximum number of connections supported by this instance of the Target GW-7472 User Manual, Version 1.0, Dec 2010 --- 53...
  • Page 54 This could be caused by an unrecognized path type, a segment type occurring unexpectedly, or a myriad of other problems in the connection path. GW-7472 User Manual, Version 1.0, Dec 2010 --- 54...
  • Page 55: Arp (Address Resolution Protocol)

    By comparison, a server is any program that waits for incoming requests from a client program. The server receives a request from a client, performs the necessary computation and returns the result to the client. GW-7472 User Manual, Version 1.0, Dec 2010 --- 55...
  • Page 56: Ethernet

    Every interface on an Internet must have a unique IP address (also called an Internet address). These addresses are 32-bit numbers. They are normally written as four decimal numbers, one for each byte of the address such as “192.168.41.1”. This is called dotted- decimal notation. GW-7472 User Manual, Version 1.0, Dec 2010 --- 56...
  • Page 57 These two values, along with the source and destination IP address in the IP header, uniquely identify each connection. The combination of an IP address and a port number is called a socket. GW-7472 User Manual, Version 1.0, Dec 2010 --- 57...
  • Page 58: Subnet Mask

    14. Subnet Mask Subnet mask is often simply called the mask. Given its own IP address and its subnet mask, a host can determine if a TCP/IP packet is destined for a host that is (1) on its own subnet, or (2) on a different network.
  • Page 59 1. Why does the GW-7472 series module fail on a (public) Internet connection? The default IP address of the GW-7472 is 192.168.255.1, which can be only used on a private Internet connection. A private network packet will not be routed via a (public) Internet connection, which is the reason why the GW-7472 failed on the Internet.
  • Page 60 A private internet client may communicate with a public Internet server (GW-7472s) only if the NAT service for the client is available. Note!! IANA Internet Assigned Numbers Authority Request for Comments Internet Service Providers Network Address Translator ICP DAS Web Site: http://www.icpdas.com Contact Us (E-Mail): Service@icpdas.com Copyright @ 2010 by ICP DAS Co., Ltd.

Table of Contents