background image

 
 
 
 
 
 
 
 
 
 
 

KGW3204 Modbus Gateway  

User Manual 

 

 

 

 
 

 

1

st

 Edition, August 2017 

 

 
 

 

www.kyland.com

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

 

Summary of Contents for KGW3204

Page 1: ...KGW3204 Modbus Gateway User Manual 1st Edition August 2017 www kyland com...

Page 2: ...accurate and reliable However Kyland can not guarantee that there is not any error including the technical error or the typographical error Kyland reserves the only right to modify the describitondes...

Page 3: ...Typical Applications 11 3 1 Ethernet Masters with Multiple Serial Slaves 12 3 2 Serial Masters with Multiple Ethernet Slaves 13 4 Web Console Configuration 15 4 1 Log In 17 4 2 Device Information 17 4...

Page 4: ...5 2 Transparent B 31 5 3 Agent A 33 5 4 Agent B 37...

Page 5: ...TCP and Modbus RTU ASCII protocols The KGW3204 Modbus Gateway with dual power supply and dual IP address support 2KV electromagnetic isolation protection in serial ports The following topics are cove...

Page 6: ...datasdata in the Modbus s memory The Modbus master can retrieve Modbus slave devices datasdata via the gateway s memory 1 2 Package Checklist The KGW3204 Modbus gateway is shipped with the following i...

Page 7: ...3 Certificates CE FCC UL61010 ULC1D2 and RoHS Ongoing...

Page 8: ...ts as follows Connecting Power Connecting Serial Devices RS 485 Termination Resistors Connecting to a Host or the Network LED IndicatersIndicators Dimension Figures Pin Assignments Ethernet Ports RJ45...

Page 9: ...may need to add terminal resistors to prevent the reflection of serial signals There is a default built in 120K terminal resistor in KGW3204 For serial ports the DIP switch on the top panel is used t...

Page 10: ...E1 E2 Link ACT YellowGreen Steady on Ethernet connection Blinking Ethernet port is receiving transmitting data Off Ethernet cable has disconnected E1 E2 10 100M GreenYellow Steady on 100Mbps connectio...

Page 11: ...ports to connect Modbus RTU or ASCII devices Each port supports three serial interfaces RS 232 RS 422 and RS 485 and all interface types can be configured by the software Pin MDI X Signal MDI Signal 1...

Page 12: ...S 232 RS 422 RS 485 software option supported Connector DB9 Male ESD Protection 15KV ESD Magnetic Isolation Protection 2KV built in DIP Switch Enable Disable RS 485 terminal resistance Protocols Modbu...

Page 13: ...3 in Protection level IP40 Installation DIN rail mounting Environmental Limits Operating Temperature 40 to 75 Storage Temperature 40 to 85 Operating Humidity 5 to 95 RH Power Requirements Input Volta...

Page 14: ...air IEC61000 4 3 RS 10V m 80MHz 2GHz IEC61000 4 4 EFT Power Port 2kV Data Port 1kV IEC61000 4 5 Surge PowerPortPower Port 1kV DM 2kV CM Data Port 1kV IEC 61000 4 6 CS 10V 150KHz 80MHz Machinery Vibra...

Page 15: ...11 3 Typical Applications Some typical applications of KGW3204 are covered in this chapter as following topics Ethernet Masters with Multiple Serial Slaves Serial Masters with Multiple Ethernet Slaves...

Page 16: ...age up to 128 Slave nodes A Transparent A What we define Transparent A as the process from Modbus TCP Master to Modbus RTU ASCII Slave in Transparent mode In this mode the ethernetEthernet ports shoul...

Page 17: ...ware settings A Transparent B What we define Transparent B as the process from Modbus TCP Slave to Modbus RTU ASCII Master in Transparent mode In this mode the ethernetEthernet port should be in Modbu...

Page 18: ...14 should be in Modbus RTU ASCII Slave mode...

Page 19: ...rowser Microsoft IE browser The following topics are covered in this chapter Log In Device Information Network Settings Serial Port Settings Operating Settings Operation Mode Settings Transparent Mode...

Page 20: ...16...

Page 21: ...rsion MAC address and change to mode Change to Mode allows you to switch the device s work mode between Transparent mode and Agent mode by clicking The mode will effect without restarting the device N...

Page 22: ...server s LAN Device Name The default model is KGW3204 4 4 Operating Settings 4 4 1 Operation Mode Switch The KGW3204 Modbus gateway supports two operation mode Transparent mode and Agent mode You can...

Page 23: ...f port 1 is 502 port 2 is 7002 and the range of the local port is 1 65535 B Transparent B Modbus TCP Slave Modbus RTU ASCII Master In this mode the ethernetEthernet ports should be in Modbus TCP Maste...

Page 24: ...the remote device and the relative Modbus command For Slave mode the Modbus works as a server and waits for incoming connection from the Modbus TCP client In this mode the Modbus will waits for incom...

Page 25: ...t to RTU Slave or ASCII Slave Agent B Parameters Operating mode RTU Slave ASCII Slave Slave ID the ID of Modbus TCP Slave ranging from 1 to 247 Ethernet Binding the E1 2 to communication to correspond...

Page 26: ...nt changes to the device Serial Parameters Alias the modifiable name of the serial ports Baud Rate support 300bps 460800bps Date Bits 7 8 ASCII 7 RTU 8 Stop Bits 1 2 Parity Odd Even Mark Space and Non...

Page 27: ...ending the first request with the initial delay setting Inter packet TX Delay ms the time delay to transmit the packet received from the slave device to the upstream 4 6 2 Slave List The slave lists i...

Page 28: ...because of the Modbus function ID The read data with same function ID can not be stored in the overlapped device on the other side the read data with different function ID can stored in overlapped de...

Page 29: ...ry function to read the data in the gateway device s current registers The data query function is queried according to the function code Data Query Parameters Function ID the number of the queried dat...

Page 30: ...pgrade is successful reboot the gateway device and the system will start with the new firmware 4 9 Change Password You can modify the user s password in this page now the default username is admin and...

Page 31: ...by clicking the Save without restarting the gateway If you need to restart the device click reboot to restart the device 4 12 Help When you have questions you can click Help icon located in the top ri...

Page 32: ...28 5 Case Studies The following topics are covered in this chapter Transparent A Transparent B Agent A Agent B...

Page 33: ...evice to Transparent mode in Overview page Then click Operating Settings in navigation bar to set Port S1 to RTU Master mode and click Save to save the change Click Serial Settings in navigation bar t...

Page 34: ...parameters as shown in the following figure Configure PC which was connected to E1 to 192 168 0 249 And then click OK to enter the application page Finally input number in address 1 and address 2 resp...

Page 35: ...on mode of device to Transparent Mode in Overview page Then click Operating Settings in navigation bar to set S1 to RTU Slave mode click Save to save the change Click Serial Settings in navigation bar...

Page 36: ...Mode And then click OK into the application page Then run the Modbus Slave software on PC and set the parameters as it is shown in the following figure click OK to into the application page In Setup...

Page 37: ...a PC in Agent A mode the port type is RS 232 The ethernetEthernet side works as a Modbus TCP Slave Connect S1 which works as a Modbus RTU ASCII Master to PC by DB9 female cable A Web Configuration Pow...

Page 38: ...bar and select Gateway Settings to set the parameters of the device and click Save to save the change Enter into the Device List in navigation bar and click Add New Slave to add a new slave device B P...

Page 39: ...lick OK into the application page add a Modbus RTU slave that be same as Modbus Slave terminal device Then run Modbus Poll on PC and set the parameters as shown in the following figure Connection TCP...

Page 40: ...with the Modbus ID in Gateway Settings then add a Modbus TCP device in corresponded to the Modbus Slave terminal device Finally input number in address 1 and address 2 respectively in Modbus Slave sof...

Page 41: ...eb server of the device set the operation mode of device to Agent Mode in Overview page Then click Operating Settings in navigation bar to set S1 to RTU Slave mode and click Save to save the change Th...

Page 42: ...uld be configured as shown in the following figure And then click OK to enter into the application page In the application page make the Slave ID in Setup Read Write Definition be same with the Modbus...

Page 43: ...n page In the application page add a Modbus TCP slave in corresspondedcorresponded to the Modbus Slave terminal device Finally input number in address 1 and address 2 respectively in Modbus Slave soft...

Page 44: ...40...

Reviews: