background image

 

2.1 Connecting Power 

The KGW3101 Modbus gateway can be powered by connecting the power source to the terminal block, and 

the instruction is as follows. 

1. Loosen or remove the screws on the terminal block.  

2. Connect the 12~48 VDC power cable to the terminal block.  

3. Tighten the connections using the screws on the terminal block.  

Note

:

 KGW3101 Modbus gateway does not have the On/Off switch. It automatically runs when it is powered 

on. The PWR LED on the top panel will glow to indicate that the device is powered on. The device supports 

two redundant DC power supply. 

2.2 Connecting Serial Devices  

The  serial  port  is  on  the  front  panel.  If  you  connect  to  the  network  with  multiple  devices,  please  note  the 

following: 

 

1. All devices that are connected to a single serial port must use the same protocol (i.e., either Modbus RTU 

or Modbus ASCII).  

2. Each master device must get its own port on the device.  

Please refer to the 2.5 section for the guide of serial ports 

Pin Assignments. 

2.2.1 Setting RS-485 Terminal Resistors 

When build up the RS485 network in bad conditions, you may need to add terminal resistors to prevent the 

reflection of serial signals. There is a built-in 120K

Ω

 terminal resistor in KGW3101. For the serial port, the DIP 

switch on the top panel is used to enable/disable the terminal resistor.  

Setting the 120 

Ω termination resistor: the switch 1 corresponds to the serial port S1. When switch 1 is set to 

“ON”, it enables the terminal resister, and when switch 1 is set to “OFF”, it disables the terminal resistor.

 

The 

gateway device disable terminal resistors by default. 

2.2.2 Connecting to a Host or the Network 

The 10/100M ethernet port on the front panel is used to connect a host or Ethernet network. The gateway can 

be  connected  to  other  hosts  or  networks  by  using  this  ethernet  port.  In  normal  operation,  you  can  use  the 

standard  ethernet  cable  to  connect  the  device  to  Modbus  TCP  network.  For  initial  configuration  or 

troubleshooting purposes, you may connect the device directly to a PC. When the Modbus gateway runs, the 

LED light in the port will light up for checking whether it is connected to the network. 

One ethernet port and one corresponded MAC address are provided by KGW3101. The IP address is editable 

but the MAC address can not be changed. 

Содержание KGW3101

Страница 1: ...KGW3101 Modbus Gateway User Manual 1st Edition August 2017 www kyland com...

Страница 2: ...to be 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 descript...

Страница 3: ...7 2 6 Specifications 7 3 Typical Applications 10 3 1 Ethernet Masters with Multiple Serial Slaves 11 3 2 Serial Masters with Multiple Ethernet Slaves 12 4 Web Console Configuration 14 4 1 Log In 15 4...

Страница 4: ...5 1 Transparent A 27 5 2 Transparent B 29 5 3 Agent A 32 5 4 Agent B 35...

Страница 5: ...ls between Modbus TCP and Modbus RTU ASCII The KGW3101 Modbus Gateway supports redundant power supply and 2KV electromagnetic isolation protection in serial ports The following topics are covered in t...

Страница 6: ...ely poll the Modbus slave devices and store data s in the Modbus s memory The Modbus master can retrieve Modbus slave devices data via the gateway s memory 1 2 Package Checklist The KGW3101 Modbus gat...

Страница 7: ...ontents as follows Connecting Power Connecting Serial Devices RS 485 Termination Resistors Connecting to a Host or the Network LED Indicators Dimension Figures Pin Assignments Ethernet Ports RJ45 Seri...

Страница 8: ...he RS485 network in bad conditions you may need to add terminal resistors to prevent the reflection of serial signals There is a built in 120K terminal resistor in KGW3101 For the serial port the DIP...

Страница 9: ...booting up E1 Link ACT Green Steady on Ethernet connection Blinking Ethernet port is receiving transmitting data Off Ethernet cable has disconnected E1 10 100M Yellow Steady on 100Mbps connection 100...

Страница 10: ...Modbus gateway uses DB9 male serial ports to connect Modbus RTU or ASCII devices The port supports three serial interfaces RS 232 RS 422 and RS 485 and all interface types can be configured by the so...

Страница 11: ...built in Serial Interface Number of Ports 1 Serial Standards RS 232 RS 422 RS 485 software option supported Connector DB9 Male ESD Protection 15KV ESD Magnetic Isolation Protection 2KV built in DIP S...

Страница 12: ...1 T R LAN SPEED ACT LINK RJ45 Buttons Reset Support Reset to Factory Default Settings Physical Characteristics Housing Aluminum Weight 165g Dimension 30 115 68 mm 1 8 5 3 7 3 in Protection Level IP40...

Страница 13: ...MI EN 55022 Class A FCC Part 15 Subpart B Class A EN 55024 EMS IEC61000 4 2 ESD 6kV contact 8kV air IEC61000 4 3 RS 10V m 80MHz 2GHz IEC61000 4 4 EFT Power Port 2kV Data Port 1kV IEC61000 4 5 Surge Po...

Страница 14: ...10 3 Typical Applications Some typical applications of KGW3101 are covered in this chapter as following topics Ethernet Masters with Multiple Serial Slaves Serial Masters with Multiple Ethernet Slaves...

Страница 15: ...e 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 ethernet ports should be in Modbus T...

Страница 16: ...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 ethernet port should be in Modbus TCP Master mode and t...

Страница 17: ...13...

Страница 18: ...ox browser 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...

Страница 19: ...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 Note t...

Страница 20: ...r s LAN Device Name The default model is KGW3101 4 4 Operating Settings 4 4 1 Operation Mode Switch The KGW3101 Modbus gateway supports two operation mode Transparent mode and Agent mode You can see c...

Страница 21: ...l port is 1 65535 B Transparent B Modbus TCP Slave Modbus RTU ASCII Master In this mode the ethernet port should be in Modbus TCP Master mode and the serial port should be in Modbus RTU ASCII Slave mo...

Страница 22: ...or 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 incoming Modbus TCP requests and use the internal memory...

Страница 23: ...I Slave Agent B Parameters Operating mode RTU Slave or ASCII Slave Slave ID the range of the ID of the Modbus TCP Slave is 1 247 Remote IP the IP address of the Modbus TCP Remote port the network comm...

Страница 24: ...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 support None Even Odd Space and Mark Flow Control support...

Страница 25: ...up before sending 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 It is the time waiting...

Страница 26: ...a read from serial terminal device The mapping address heads are different because of the Modbus function ID The read data with same function ID can not be stored in the overlapped device on the other...

Страница 27: ...ve page 4 6 3 Data Query You can use the data query 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 Par...

Страница 28: ...the upgrade successes 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 a...

Страница 29: ...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 r...

Страница 30: ...26 5 Case Studies The following topics are covered in this chapter Transparent A Transparent B Agent A Agent B...

Страница 31: ...by DB9 cable A Web Configuration Power on KGW3101 and log in web server of the device set the operation mode of device to Transparent mode in Overview page Then click Operating Settings in navigation...

Страница 32: ...n in the following figure Connection Serial Port Mode RTU And then click OK into the application page Now run Modbus Poll on PC and set the parameters as shown in the following figure Configure PC whi...

Страница 33: ...a Modbus RTU ASCII Slave to PC by DB9 female cable A Web Configuration Power on KGW3101 and log in web server of the device set the operation mode of device to Transparent Mode in Overview page Then...

Страница 34: ...onfigure for PC Run Modbus Poll software on PC The Modbus Poll parameters must be configured as shown in the following figure Connection Serial Port Mode RTU Port 8001 Please note that the Slave ID sh...

Страница 35: ...igure click OK to into the application page In Setup Slave Definition the Slave ID should be same as the ID in Operating Mode After configuration input number in address 1 and address 2 respectively i...

Страница 36: ...Power on KGW3101 and log in web server of the device set the operation mode of device to Agent Mode in Overview page Next click Operating Settings in navigation bar to set S1 to RTU Master mode and cl...

Страница 37: ...Configuration Run Modbus Slave software on PC The Modbus Slave parameters must be configured as shown in the following figure And then click OK to enter into the application page After configuration...

Страница 38: ...TCP IP Mode RTU IP 192 168 0 249 Port 502 And then click OK to enter into the application page In the application page set the Slave ID in Setup Read Write Definition be same with the Modbus ID in Ga...

Страница 39: ...PC in Agent B mode the port type is RS 232 The ethernet side works as a Modbus TCP Master Connect S1 which works as a Modbus RTU ASCII Slave to PC by DB9 female cable A Web Configuration Power on KGW...

Страница 40: ...Settings to set the parameters of the device At last click the Save to save the change Finally click Device List in navigation bar and click Add New Slave to add a new slave device B PC Configuration...

Страница 41: ...me with the Modbus ID in Gateway Settings and then add Modbus RTU device in corresponded to the terminal device Then run Modbus Slave on PC and set the parameters as shown in the following figure Conn...

Страница 42: ...bus TCP slave device in corressponded to the Modbus Slave terminal device Finally input number in address 1 and address 2 respectively in Modbus Slave software and you can see the numbers in correspon...

Отзывы: