gefran GFX4-ETH1 User manual

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

280409D_MSW_GFX4-ETH1_04-2013_ENG
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. .
TCP/IP:
• DHCPdisable
• Baudrates10and100MBit/s
• DatatransportlayerEthernetII,IEEE802.3
• defaultIP192.168.1.100,NM255.255.255.0,gw0.0.0.0
• CH0andCH1conswitchintegrato
MODBUS RTU
• Baudrate=19200
• Parity=NONE
• StopBits=1
• DataBits=8
System Requirements
• EthernetIPMaster/Scanner
• GFX4-ETH1withEthernetIpboard
• DHCPserver(optional)
1 • Introduction
This Manual describes the mapping functionality of the GFX4-ETH1 EthernetIP Adapter to ModbusRTU Master via
acyclic CIP messages.
This functionality is realized in a separate Firmware/Hardware connected to the standard Gefran GFX4 controller.
For all general GFX4 functionalality refer to manuals availables for download at Gefran web site www.gefran.com
Referenced Documentations
Thefollowingdocumentationoverviewgivesinformation,forwhichitemsyoucanfindfurtherinformationinwhich
manual.
Manual Contents Document name
Vol7_1.0.pdf IntegrationofModbusDevicesinto THECIPNETWORKSLIBRARY
the CIP Architecture Vol. 7 Edition 1.0

3
80409D_MSW_GFX4-ETH1_04-2013_ENG
System Overview
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.
Figure 1: GFX4-ETH1 network overview
PLC
EthernetIP Master/Scanner
GFX4
ModbusRTU Slave
GFX4
ModbusRTU Slave
GFX4 - EIP
ModbusRTU Master
Ethernet IP
. . . . . . . . .
Ethernet TCP/IP

480409D_MSW_GFX4-ETH1_04-2013_ENG
Mapping Function EthernetIP to ModbusRTU
The Gateway functionality follows the specification for “Integration of Modbus Devices into the CIPArchitecture” which
canbefoundinthe“THECIPNETWORKSLIBRARYVolume7”.
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.
PLC
EthernetIP Master/Scanner
GFX4
ModbusRTU Slave
CIP Object 44hex
Modbus: FC3, 16 etc. Req./Cnf
EthernetIP: Object Service 4B, 4C
Figure 2: GFX4-ETH1 overview
Ethernet TCP/IP
GFX4 - EIP
RS485

5
80409D_MSW_GFX4-ETH1_04-2013_ENG
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.
List of Modbus Object Services
List of supported Modbus Object Services
CIP Corresponding Modbus Supported Remark
Service Function code
0x4B FC2 Yes FC1and2aresynonymous
0x4C FC1 Yes
0x4D FC4 Yes FC3and4aresynonymous
0x4E FC3 Yes
0x4F FC15 Yes
0x50 FC16 Yes
0x51 FCXX No
Service Need in Implem Service Name Description
code Class Instance of service
0x4B N/A Required ReadDiscreteInputs Readsoneormorecontiguous
discrete input(s)
0x4C N/A Required ReadCoils Readsoneormorecontiguouscoil(s)
0x4D N/A Required ReadInputRegisters Readsoneormorecontiguousinput
register(s)
0x4E N/A Required ReadHoldingRegisters Readsoneormorecontiguous
holding register(s)
0x4F N/A Required WriteCoils Writeoneormorecontiguouscoil(s)
0x50 N/A Required WriteHoldingRegisters Writeoneormorecontiguousholding
register(s)
0x51 N/A Required ModbusPassthrough Providesencapsulationofanypublic
or private Modbus function

680409D_MSW_GFX4-ETH1_04-2013_ENG
Youcanchangethedevice’sIPaddressbyusingtheGefranSetIPToolsutility.
Toinstallthetool,launchtheexecutableandfollowtheinstructions.
Youcanset:
- IP address
- NetMask
- Gateway address
- DHCPorBOOTPfunctionalities
Note:itisessentialthattheutilityNOTbeblockedbytheFirewallandthatUDPbroadcasttrafficbeallowedinthe
network.
Wheninstallationisdone,youcanlaunchtheprogrambyclickingthedesktopicon.
The following screen is shown:
Note:ifyoudonotknowordonotwanttosettheGatewayaddress,settheIPandGatewaythesame.
SETTING THE IP ADDRESS
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
the network
Step 3: click on the Mac address found to display the
values currently set on the device
Step 4:set the appropriate values for your network and
click the Apply changes button

7
80409D_MSW_GFX4-ETH1_04-2013_ENG
YoucansetthedefaultIPaddresswhenevernecessary.
This is done as follows:
- Switch off the device
-Unscrewscrew1,gentlypryatpoints2andremovecover3
-Settherotaryswitchesaddrx100=9,addrx10=1,addrx1=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
Nm=255.255.255.0
Gw=0.0.0.0
SETTING THE DEFAULT IP ADDRESS

880409D_MSW_GFX4-ETH1_04-2013_ENG
The device has LEDs that indicate the state of the module and of the network connections.
BEHAVIOR OF LEDS AT POWER-ON
Time MS Green MS Red NS Green NS Red
t=0ms Off Off Off Off
t=250ms On Off Off Off
t=500ms Off On Off Off
t=750ms Off Off On Off
t=1000ms Off Off Off On
t=1250ms Off Off Off Off
The following table shows the behavior of the green and red MS (module state) LEDs:
MEANING OF MS (MODULE STATE) LEDS
Stato MS Green MS Red Notes
No-power Off Off
Device Standby On/Off Off GreenLEDashes500msOn/Off
Device Operational On Off GreenLEDsteadyON
Minor Fault Off On/Off RedLEDashes500msOn/Off
Major Fault Off On RedLEDsteadyON
Duplicate IP address Off On/Off RedLEDashes500msOn/Off
ThefollowingtableshowsthebehaviorofthegreenandredNS(networkstate)LEDs:
SIGNIFICATO LED NS (NETWORK STATE)
Stato NS Green NS Red Notes
No-poweroNessunIP Off Off
NoConnection On/Off Off GreenLEDashes500msOn/Off
Device Connesso On Off GreenLEDsteadyON
Connection time-out Off On/Off RedLEDashes500msOn/Off
Duplicate IP Off On RedLEDsteadyON
MEANING OF THE LEDS
MS=ModuleStateIndicator NS=NetworkStateIndicator

9
80409D_MSW_GFX4-ETH1_04-2013_ENG
The following pictures demonstrate how to send ModbusRTU requests via EthernetIP using CIP messages.
The screenshot only demonstrate how to setup the CIP message parameter correctly.
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 00 00
02 00
aa bb cc dd ee
Register Address
Quantity of registers
Data to write
Instance 1-n Modbus RTU Slave address
Attribute,Member 0
SENDIG CIP MESSAGES

10 80409D_MSW_GFX4-ETH1_04-2013_ENG
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
00 04
Register Address
Quantity of registers to read
Instance 1-n Modbus RTU Slave address
Attribute,Member 0Unused,mustbe0
Response data AABBCCDD00000000 Register values
Example FC4/FC3 Read Input/Holding Register

11
80409D_MSW_GFX4-ETH1_04-2013_ENG
The Gfx4Test is an read/write data example with RSLogix 5000 enviroment.
Module I/O configuration
Ex: GFX4-ETH1 TEST

12 80409D_MSW_GFX4-ETH1_04-2013_ENG
This is an example of main program

13
80409D_MSW_GFX4-ETH1_04-2013_ENG
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] 402 Address of GFX4
Controller parameter HI.S
FC04_ReqData[1] 1 Quantity
FC04_ReqData[2] Value Data
MESSAGE CONFIGURATION FOR CIPMsgSRV4D_FC04

14 80409D_MSW_GFX4-ETH1_04-2013_ENG
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] 402 Address of GFX4
Controller parameter HI.S
FC16_ReqData[1] 1 Quantity
FC16_ReqData[2] Value Data
MESSAGE CONFIGURATION FOR CIPMsgSRV50_FC16
Table of contents
Popular Adapter manuals by other brands

Sun Microsystems
Sun Microsystems 805-1797-10 Installation and user guide

HMI HOYME
HMI HOYME ADP-0244-05A installation instructions

Belkin
Belkin F5D9050 Quick installation guide

Siemens
Siemens 8US1650-5AK02 operating instructions

oticon
oticon FittingLINK 3.0 Instructions for use

Axis
Axis PEN-01 user manual