Download Print this page

Advertisement

Quick Links

1 Introduction
2 Configuration
System Overview
Mapping Function EthernetIP to ModbusRTU
Setting the IP ADDRESS
Setting the DEFAULT IP ADDRESS
Meaning of LEDs
Sending CIP messages
Message configuration for CIPMsgSRV4D_FC04
Message configuration for CIPMsgSRV50_FC16
1
GFX4-ETH1
INSTALLATION AND
OPERATION MANUAL
Software Version: 1.1
Code: 80409D / Edition 05 - 04-2013 ENG
INDEX
80409D_MSW_GFX4-ETH1_04-2013_ENG
2
2
3
4
6
7
8
9
13
14

Advertisement

loading

Summary of Contents for gefran GFX4-ETH1

  • Page 1 GFX4-ETH1 INSTALLATION AND OPERATION MANUAL Software Version: 1.1 Code: 80409D / Edition 05 - 04-2013 ENG INDEX 1 Introduction 2 Configuration System Overview Mapping Function EthernetIP to ModbusRTU Setting the IP ADDRESS Setting the DEFAULT IP ADDRESS Meaning of LEDs...
  • Page 2: Modbus Rtu

    2 • Configuration The Firmware for the GFX4-ETH1 (EthernetIP-RTUMaster) does not need any configuration to operate. All necessary settings are fix and predefined. After power up the GFX4-ETH1 sends DHCP requests to obtain an IP address. Therfore a running DHCP server is required. .
  • Page 3 The “GFX4 EthernetIP ” (GFX4-ETH1) is a Gateway between the EthernetIP Protocoll and the serial protocol Modbus RTU. On one side the GFX4-ETH1 is a EthernetIP Slave on the other side it is a Modbus RTU Master with the aim to con- nect Modbus RTU Slaves to the EthernetIP protocol.
  • Page 4 The Gateway functionality follows the specification for “Integration of Modbus Devices into the CIPArchitecture” which can be found in the “THE CIP NETWORKS LIBRARY Volume 7”. Follwing this specification the GFX4-ETH1 Firmware contains the “CIP Modbus Object” (Class Code 44hex). This object is responsible for receiving acyclic Class services from the EthernetIP protocol and convert them into ModbusRTU requests and returning the correspong confirmation.
  • Page 5 According the Modbus Object Services following functions are supported. Each Modbus command is represented by a CIP service code of the Modbus Object (0x44). The list of predefined functions from the specification and the supported services by the GFX4-ETH1 are defined in the tables below.
  • Page 6: Setting The Ip Address

    SETTING THE IP ADDRESS You can change the device’s IP address by using the Gefran SetIPTools utility. To install the tool, launch the executable and follow the instructions. You can set: IP address NetMask Gateway address DHCP or BOOTP functionalities Note: it is essential that the utility NOT be blocked by the Firewall and that UDP broadcast traffic be allowed in the network. When installation is done, you can launch the program by clicking the desktop icon. The following screen is shown: Step 1: click the Refresh list button Step 2: the List of devices found (MAC) : ) window shows the Mac addresses of the devices connected to...
  • Page 7: Setting The Default Ip Address

    SETTING THE DEFAULT IP ADDRESS You can set the default IP address whenever necessary. This is done as follows: - Switch off the device - Unscrew screw 1, gently pry at points 2 and remove cover 3 - Set the rotary switches addr x100 = 9, addr x10 = 1, addr x1 = 9 - Switch the device on and wait about 30 seconds - Switch the device off again - Change the rotary switches by setting a value other than 919 - Put the cover back on - Switch the device on with the new values: Ip = 192.168.1.100...
  • Page 8: Meaning Of The Leds

    MEANING OF THE LEDS The device has LEDs that indicate the state of the module and of the network connections. MS = Module State Indicator NS = Network State Indicator BEHAVIOR OF LEDS AT POWER-ON Time MS Green MS Red NS Green NS Red t = 0 ms t = 250 ms t = 500 ms t = 750 ms t = 1000 ms t = 1250 ms The following table shows the behavior of the green and red MS (module state) LEDs:...
  • Page 9 Finaly it depends on the used EthernetIP scanner (PLC etc.) how to formulate and send CIP requests. Example: write multiple register Example CIP to function code 16 Parameter Value Description Send to 192.168.30.30 GFX4-ETH1 address Service 0x50 CIP service for Modbus FC 16 Class 0x44 The Modbus Object number Request Data...
  • Page 10 Example FC4/FC3 Read Input/Holding Register Example CIP to function code 3/4 Parameter Value Description Send to 192.168.30.30 GFX4-ETH1 address Service 0x4d CIP Service for modbus FC 4 Class 0x44 The Modbus Object number Request Data 00 00 Register Address 00 04...
  • Page 11 Ex: GFX4-ETH1 TEST The Gfx4Test is an read/write data example with RSLogix 5000 enviroment. Module I/O configuration 80409D_MSW_GFX4-ETH1_04-2013_ENG...
  • Page 12 This is an example of main program 80409D_MSW_GFX4-ETH1_04-2013_ENG...
  • Page 13 MESSAGE CONFIGURATION FOR CIPMsgSRV4D_FC04 In this example we want to read one register at adrress 402 Register read value is stored in FC04CnfData Controller tag name Value Remark FC04_ReqData[0] Address of GFX4 Controller parameter HI.S FC04_ReqData[1] Quantity FC04_ReqData[2] Value Data 80409D_MSW_GFX4-ETH1_04-2013_ENG...
  • Page 14 MESSAGE CONFIGURATION FOR CIPMsgSRV50_FC16 In this example we want to write one register at adrress 402 with value in Fc16_ReqData Controller tag name Value Remark FC16_ReqData[0] Address of GFX4 Controller parameter HI.S FC16_ReqData[1] Quantity FC16_ReqData[2] Value Data 80409D_MSW_GFX4-ETH1_04-2013_ENG...