Download Print this page

Advertisement

Quick Links

1
Introduction
2
Features
3
Dip-switch function
4
Setup PC Connection
5
Test Board Connection Using PING Command
6
Connect the Board to your LAN
7
Serial line information
8
Getting process variables map information
9
GEFLEX-ETH's Modbus TCP/IP implemented command
10
Memory map
80367_MSW_GEFLEX-ETHERNET_0708_ENG
GEFLEX-ETHERNET
INSTALLATION AND
OPERATION MANUAL
Software Version: 1.x
Code: 80367 / Edition 01 - 0708 ENGLISH
INDEX
2
2
2
3
7
7
8
8
9
13
1

Advertisement

loading

Summary of Contents for gefran GEFLEX-ETHERNET

  • Page 1 GEFLEX-ETHERNET INSTALLATION AND OPERATION MANUAL Software Version: 1.x Code: 80367 / Edition 01 - 0708 ENGLISH INDEX Introduction Features Dip-switch function Setup PC Connection Test Board Connection Using PING Command Connect the Board to your LAN Serial line information Getting process variables map information GEFLEX-ETH’s Modbus TCP/IP implemented command...
  • Page 2 1 • Introduction The Geflex GEFLEX-ETH is IEEE 802.3 compliant supporting Ethernet operation for MODBUS TCP/IP communica- tion architecture MODBUS SERIAL CLIENT MODBUS MODBUS TCP/IP TCP/IP CLIENT CLIENT Client TCP/IP MODBUS MODBUS MODBUS GEFLEX GEFLEX TCP/IP TCP/IP SLAVE n SLAVE n + 1 SERVER SERVER GEFLEX-ETH...
  • Page 3 4 • Setup PC Connection All the information in this quick guide require that the GEFLEX-ETH communicates with the host PC through a LAN connection. In this pages you’ll learn how to configure the PC to communicate with the GEFLEX-ETH using an Ethernet cross cable or hub/switch.
  • Page 4 The following dialog box will appear. Click Next. On the next dialog box, select the “Connect to the Internet” option and click the “Next” button. On the next dialog box, select the “Set up my connection manually option and click the “Next” button. 80367_MSW_GEFLEX-ETHERNET_0708_ENG...
  • Page 5 On the next dialog box, select the “Connect using a broadband connection that is always on” option and click the “Next” button. When the last dialog box appears, click the “Finish” button. Open the newly created connection (or the existing connection if you are coming from step 2) and click the “Properties”...
  • Page 6 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.
  • Page 7 5 • Test Board Connection Using PING Command Power up the board and verify the POWER led turn on. Connect the GEFLEX-ETH to the PC through an Ethernet cross cable or hub / switch. Open a Command Prompt window (on Windows XP, from the Windows Start menu, select Run, enter CMD and click the “OK”...
  • Page 8 7 • Getting Serial baud Information Using this option to get serial baud information from serial network. Send Baud has no effect 8 • Getting Process Variables Map Information Using this option to get / set Process Variables map 80367_MSW_GEFLEX-ETHERNET_0708_ENG...
  • Page 9 9 • GEFLEX-ETH’s Modbus TCP/IP implemented command • 01 (0x01) Read Coils • 02 (0x02) Read Discrete Inputs PDU Example: Read bit 0 from zone 10 Request Starting Address Quantity of Inputs Rotary Function switch code Resp. Rotary Function Byte Inputs switch code...
  • Page 10 • 06 (0x06) Write Single Register PDU Example: Writing to zone 10 single word address = 400 data value = 1 Request Word Address Word Value Rotary Function switch code Resp. Word Address Output Value Rotary Function switch code • 15 (0x0F) Write Multiple Coils PDU Example: Writing to zone 10 Multiple Bits address = 10, quantity of bits =2, bits value=3 Request...
  • Page 11 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). Additional address Function code Data Error check General Modbus Frame...
  • Page 12 The MBAP Header contains the following fields: 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...
  • Page 13: Memory Map

    Mac Id , bytes 0-1 0002 hex Gefran OUI Byte 0-1 Single word 8003 Mac Id , bytes 2-3 0A-- hex Gefran OUI Byte 2 , xx byte 3 Single word 8004 Mac Id , bytes 4-5 ---- Gefran internal...
  • Page 14 Address Description Default Value Note Access 801c Quick Buffer Zone 3 Multiple for var process 1 word access 801d Quick Buffer Zone 3 Multiple for var process 2 word access 801e Quick Buffer Zone 3 Multiple for var process 3 word access 801f Quick Buffer...
  • Page 15 Address Description Default Value Note Access 8035 Quick Buffer Zone 8 Multiple for var process 1 word access 8036 Quick Buffer Zone8 Multiple for var process 2 word access 8037 Quick Buffer Zone 8 Multiple for var process 3 word access 8038 Quick Buffer Zone 8...
  • Page 16 Bit 8 Offset Slave 8 Slave 7 Slave 6 Slave 5 Slave 4 Slave 3 Slave 2 Slave 1 GEFRAN spa via Sebina, 74 - 25050 Provaglio d'Iseo (BS) - ITALY Tel. +39 0309888.1 - Fax +39 0309839063 - www.gefran.com...