manuals.online logo
Brands
  1. Home
  2. •
  3. Brands
  4. •
  5. gefran
  6. •
  7. Control Unit
  8. •
  9. gefran GFX4-ETHERNET User manual

gefran GFX4-ETHERNET User manual

1
80403B_MSW_GFX4-ETHERNET_01-2021_ENG
GFX4-ETHERNET
INDEX
1Introduction 2
2Features 2
3Dip-switch function 2
4 SetupPC Connection 4
5 TestBoardConnectionUsingPING Command 8
6 ConnecttheBoardtoYourLAN 8
7 GFX4-ETH’sModbusTCP/IP implementedcommand 9
INSTALLATION AND
OPERATION MANUAL
Software Version: 1.0x
Code: 80403B /Edition 02 - 01-2021 ENG
280403B_MSW_GFX4-ETHERNET_01-2021_ENG
1 • Introduction
TheGFX4-ETHmodule isIEEE802.3compliantsupportingEthernetoperationforMODBUS TCP/IP communication
architecture.
2 • Features
• IEEE802.3compliant
• Full-duplexandhalf-duplexmodes
• Capableofsupportingboth10Mbpsand100Mbpsdatarates
• SingleRJ45connectionwithledsindicator(yellow=link,green=activity)
• Onesocketavailable
• AllMODBUS/TCPADUaresentviaTCPonregisteredport502
• Defaultaddress:192.168.1.100
• Subnetmask:255.255.255.0
• Defaultgateway:192.168.1.1
MODBUS
TCP/IP
CLIENT
MODBUS
TCP/IP
CLIENT
MODBUS
TCP/IP
SERVER
MODBUS
TCP/IP
SERVER
MODBUS
SERIAL
CLIENT
Client
TCP/IP
MODBUS
GEFLEX
SLAVE n
GEFLEX
SLAVE n + 1
GFX4-ETH
MODBUS Serial
GEFLEX NETWORK
3 • Dip-switch Function
OntheGFX4-ETHcardtherearetwoDip-switchesforthefollowingfunctions
Dip-switch1:resetofthedefaultparameters
Dip-switch2:baud-rateselection
3
80403B_MSW_GFX4-ETHERNET_01-2021_ENG
3.1 Resetting Parameters to Factory Defaults
Atanymoment,alloftheGFX4-ETHboardparameterscanberestoredtothefactorydefaultsettings.
To do so:
1. SetDipSwitchS1dip1=ON(locatednearRJ45connector)
2. RestartGFX4-ETHboard
3. SetDipSwitchS1dip1=OFF
3.2 Selecting the Baud rate
Selectthebaudrate(10Mbit/sor100Mbit/s)withDip-switch2.
1.Setting Dip-switch2=ONfor10Mbit/s
   Dip-switch2=OFFfor100Mbit/s(default)
2.Reboottheboard
Note:ifusedonPC-compatiblesystems,itisadvisabletosupplythetableofARPaddresses
Ex.:ARP-Dcontrol
Inothersystems(PLC)notequippedwiththiscontrol,itisadvisabletoswitchoffandthenon.
480403B_MSW_GFX4-ETHERNET_01-2021_ENG
4 • Setup PC Connection
AlltheinformationinthisquickguiderequirethattheGFX4-ETHcommunicateswiththehostPCthroughaLANcon-
nection.
Inthispagesyou’lllearnhowtoconfigurethePCtocommunicatewiththeGFX4-ETHusinganEthernetcrosscable
orhub/switch.ThefollowingstepsarebasedonaWindowsXPsystem.
1. OpentheWindowsControlPanelandopentheNetwork.Connectionsitem:
2. IfaLocalAreaConnectionisalreadyavailable,gotostep8.
 Otherwise,runthe“NewConnection”wizard.
5
80403B_MSW_GFX4-ETHERNET_01-2021_ENG
3. Thefollowingdialogboxwillappear. ClickNext.
4. Onthenextdialogbox,selectthe“ConnecttotheInternet”optionandclickthe“Next”button.
5. Onthenextdialogbox,selectthe“Setupmyconnectionmanuallyoptionandclickthe“Next”button.
680403B_MSW_GFX4-ETHERNET_01-2021_ENG
7. Whenthelastdialogboxappears,clickthe“Finish”button.
8. Openthenewlycreatedconnection(ortheexistingconnectionifyouarecomingfromstep2)andclickthe
 “Properties”button.
6. Onthenextdialogbox,selectthe“Connectusingabroadbandconnectionthatisalwayson”optionandclickthe
 “Next”button.
7
80403B_MSW_GFX4-ETHERNET_01-2021_ENG
Clickthe“OK”buttononallLAN setupdialogboxes.
9. Selectthe“InternetProtocol(TCP/IP)”itemandclickthe“Properties”button.
10. Ifyouhavestartedfromanexistingconnection,writedownalloftheTCP/IPparameters.You’llneedthemlaterto
 restoreyourLANsettingstotheoriginalparameters.
11. Selectthemanualsettingsandtypeinthefollowingvalues:
 IPaddress:192.168.1.101
 Subnetmask:255.255.255.0
880403B_MSW_GFX4-ETHERNET_01-2021_ENG
5 • Test Board Connection Using PING Command
1. PoweruptheboardandverifythePOWERledturnon.
2. ConnecttheGFX4-ETHtothePCthroughanEthernetcrosscableorhub/switch.
3. OpenaCommandPromptwindow(onWindowsXP,fromtheWindowsStartmenu,selectRun,enterCMDand
 clickthe“OK”button).
4. Atthecommandprompt,type:PING192.168.1.100
5. Iftheconnectionhasbeenproperlysetup,thePINGcommandwillreturnapositivefeedback.
6 • Connect the Board to Your LAN
BeforeconnectingtheGFX4-ETHboardtoyourLAN,theIPaddressmustbechangedtomatchtheLANsettings.
TochangetheGFX4-ETH’sIPaddress,dothefollowing.
1. WiththeGFX4-ETHstillconnectedtothePCviatheEthernetcrosscableorhub/switch,launchthe
SetIp_for_Geflex/GFX4(seeGF_eXpressdocumentation) utilitythatislocatedintheCD-ROM.
2. TosetuptheNodefieldnumbersothatorincompliancewiththerealvalueoftherotaryofcardGFX4-ETH.
3. Press the Get current IPbutton.YoucanseeactualIPaddress,subnetmask,defaultgatewayandMAC
 adress.
4. SetyourparameterandafterclickonSet new IPbutton.
5. RestarttheGFX4-ETHboard.
6. Gototostep2ifyouwanttoseenewparameter.
9
80403B_MSW_GFX4-ETHERNET_01-2021_ENG
7 • GFX4-ETH’s Modbus TCP/IP implemented command
• 01(0x01)ReadCoils
• 02(0x02)ReadDiscreteInputs
• 03(0x03)ReadHoldingRegisters
• 04(0x04)ReadInputRegisters
• 05(0x05)WriteSingleCoil
• 06(0x06)WriteSingleRegister
• 15(0x0F)WriteMultipleCoils
• 16(0x10)WriteMultipleregisters
The MODBUS protocol defines a simple Protocol Data Unit (PDU) independent of the underlying communication
layers.ThemappingofMODBUSprotocolonspecificbusesornetworkscanintroducesomeadditionalfieldsonthe
ApplicationDataUnit(ADU).
General Modbus Frame
Additional address Function code Data Error check
ADU
PDU
TheclientthatinitiatesaMODBUStransactionbuildstheMODBUSApplicationDataUnit.
Thefunctioncodeindicatestotheserverwhichkindofactiontoperform.
MODBUS request/response over TCP/IP
MBAP Header Function code Data
MODBUS TCP/IP ADU
PDU
10 80403B_MSW_GFX4-ETHERNET_01-2021_ENG
AdedicatedheaderisusedonTCP/IPtoidentifytheMODBUSApplicationDataUnit.ItiscalledtheMBAPheader
(MODBUSApplicationProtocolheader).
ThisheaderprovidessomedifferencescomparedtotheMODBUSRTUapplicationdataunitusedonserialline:the
MODBUS‘slaveaddress’fieldusuallyusedonMODBUSSerialLineisreplacedbyasinglebyte‘UnitIdentifier’within
theMBAPHeader.
The‘UnitIdentifier’isusedtocommunicateviadevicessuchasbridges,routersandgatewaysthatuseasingleIP
addresstosupportmultipleindependentMODBUSendunits.
AllMODBUSrequestsandresponsesaredesignedinsuchawaythattherecipientcanverifythatamessageisfini-
shed.
ForfunctioncodeswheretheMODBUSPDUhasafixedlength,thefunctioncodealoneissufficient.
Forfunctioncodescarryingavariableamountofdataintherequestorresponse,thedatafieldincludesabytecount.
WhenMODBUSiscarriedoverTCP,additionallengthinformationiscarriedintheMBAPheadertoallowtherecipient
torecognizemessageboundariesevenifthemessagehasbeensplitintomultiplepacketsfortransmission.
Theexistenceofexplicitandimplicitlengthrules,anduseofaCRC-32errorcheckcode(onEthernet)resultsinan
infinitesimalchanceofundetectedcorruptiontoarequestorresponsemessage.
TheMBAPHeadercontainsthefollowingfields:
Theheaderis7byteslong:
1. Transaction Identifier-ItisusedfortransactionpairingtheMODBUSservercopiesintheresponsethe
 transactionidentifieroftherequest.
2. Protocol Identifier-Itisusedforintra-systemmultiplexing.TheMODBUSprotocolisidentifiedbythevalue0.
3. Length-Thelengthfieldisabytecountofthefollowingfields,includingtheUnitIdentifieranddatafields.
4. Unit Identifier (Rotary switch value see Geflex Software Manual)-Thisfieldisusedforintra-systemrouting
 purpose.ItistypicallyusedtocommunicatetoaMODBUSseriallineslavethroughagatewaybetweenan
 EthernetTCP-IPnetworkandaMODBUSserialline.ThisfieldissetbytheMODBUSClientintherequestand
 mustbereturnedwiththesamevalueintheresponsebytheserver.
Fields Length Description Client Server
Transaction 2Bytes Identificationofa Initializedbytheclient Recopiedbytheserver
Identifier  MODBUSRequest/  fromthereceivedrequest
   Responsetransaction
Protocol 2Bytes 0=MODBUS protocol Initializedbytheclient Recopiedbytheserver
Identifier    fromthereceivedrequest
Length 2Bytes Numberoffollowingbytes Initializedbytheclient Initializedbytheserver
    (request) (Response)
Unit Identifier 1Byte Identificationofaremote Initializedbytheclient Recopiedbytheserver
   slaveconnectedonaserial  fromthereceivedrequest
   lineoronotherbuses
11
80403B_MSW_GFX4-ETHERNET_01-2021_ENG
GEFRAN spa
viaSebina7425050Provagliod’Iseo(BS)Italy
Tel.+390309888.1Fax+390309839063-[email protected]-http://www.gefran.com
Serial communication time constraints in Modbus RTU
Thefollowingtimeconstraintsmustbecompliedwithinordertoallowcorrectserialdataexchangewiththedevice:
ReadingWord/Registerparameters:ReadingNconsecutiveparameters,withNfrom1to16,requiresatimeofalmost50
ms.InthiscasethefollowingreadandwriteModbuscommand,tothesamenode,mustbesentafterthisintervaltime.
WritingWord/Registerparameters:WritingNconsecutiveparameters,withNrangingfrom1to16,ifallvalues(maximum
16)onthedeviceareupdated,willtakeatimeof:50ms+Nx80ms(*)withNfrom1to16.
ThetimesreportedrefertothecaseinwhichtheBaudrateoftheserialline(parameterbAuModbusaddress45)is19200.
(*)IfSTATUS_Wparameters(Modbusaddress305)areincludedinthewriterequestandtheirvalueisdifferentfromtheonecurrentlypresentintheslave,thetimerequired
towriteeachonewillbe240ms(insteadof80ms).

Other gefran Control Unit manuals

gefran R-MIX User manual

gefran

gefran R-MIX User manual

gefran R-E16 User manual

gefran

gefran R-E16 User manual

gefran EXP-DN-BDI-VDI User manual

gefran

gefran EXP-DN-BDI-VDI User manual

gefran R-MIXR User manual

gefran

gefran R-MIXR User manual

gefran GFW adv Series Quick guide

gefran

gefran GFW adv Series Quick guide

gefran GEFLEX Product manual

gefran

gefran GEFLEX Product manual

gefran R-U16 User manual

gefran

gefran R-U16 User manual

gefran EXP-TCPIP-BDI/VDI How to use

gefran

gefran EXP-TCPIP-BDI/VDI How to use

gefran R-MA6 User manual

gefran

gefran R-MA6 User manual

gefran R-TC8 User manual

gefran

gefran R-TC8 User manual

gefran R-C3 User manual

gefran

gefran R-C3 User manual

gefran GTS-T 10 Series Instruction manual

gefran

gefran GTS-T 10 Series Instruction manual

gefran R-A/D8 User manual

gefran

gefran R-A/D8 User manual

gefran R-D/A4 User manual

gefran

gefran R-D/A4 User manual

gefran SW5-SA User manual

gefran

gefran SW5-SA User manual

gefran R-CPU300 User manual

gefran

gefran R-CPU300 User manual

gefran R-SW5 User manual

gefran

gefran R-SW5 User manual

gefran SIEIDrive E-ABS User manual

gefran

gefran SIEIDrive E-ABS User manual

gefran R-GCANs User manual

gefran

gefran R-GCANs User manual

Popular Control Unit manuals by other brands

IBM 8271 Nways Ethernet LAN Switch manual

IBM

IBM 8271 Nways Ethernet LAN Switch manual

Vimar ELVOX RS12 Installation and operation manual

Vimar

Vimar ELVOX RS12 Installation and operation manual

Acromag AcroPack AP445 Series user manual

Acromag

Acromag AcroPack AP445 Series user manual

DSC PC5720 installation manual

DSC

DSC PC5720 installation manual

Energeeks EG-MODPERS001 Quick installation guide

Energeeks

Energeeks EG-MODPERS001 Quick installation guide

Ascor 3000-53 Technical manual

Ascor

Ascor 3000-53 Technical manual

weintek iR-PU01-P user manual

weintek

weintek iR-PU01-P user manual

Graco Cleanshot 244162 instructions

Graco

Graco Cleanshot 244162 instructions

CST Crydom HDC Series Installation sheet

CST

CST Crydom HDC Series Installation sheet

Extron electronics AC 102 installation guide

Extron electronics

Extron electronics AC 102 installation guide

Timotion TDH12P user manual

Timotion

Timotion TDH12P user manual

Kunbus PR100023R03 user manual

Kunbus

Kunbus PR100023R03 user manual

Digital Equipment DECrepeater 900GM Installation and configuration

Digital Equipment

Digital Equipment DECrepeater 900GM Installation and configuration

SMAR ENET-710 user manual

SMAR

SMAR ENET-710 user manual

GC5 SFAR-1M-2DI2DO user manual

GC5

GC5 SFAR-1M-2DI2DO user manual

Monacor PA-1200IRD Installation and operating instructions

Monacor

Monacor PA-1200IRD Installation and operating instructions

M-system R3-GC1 instruction manual

M-system

M-system R3-GC1 instruction manual

NCR 7606-K132 Kit instructions

NCR

NCR 7606-K132 Kit instructions

manuals.online logo
manuals.online logoBrands
  • About & Mission
  • Contact us
  • Privacy Policy
  • Terms and Conditions

Copyright 2025 Manuals.Online. All Rights Reserved.