| Line 1: |
Line 1: |
| − | ==ModBus TCP Plugin installation & configuration== | + | <languages/> |
| | + | <translate> |
| | + | ==ModBus TCP Plugin installation & configuration== <!--T:1--> |
| | <ol> | | <ol> |
| | <li>Make sure you have ModBus TCP licenses | | <li>Make sure you have ModBus TCP licenses |
| Line 5: |
Line 7: |
| | </li> | | </li> |
| | | | |
| | + | <!--T:2--> |
| | <li>Make sure you have the latest versions of LT Setup, LT Server, ModBus TCP plugin installed | | <li>Make sure you have the latest versions of LT Setup, LT Server, ModBus TCP plugin installed |
| | <br>[[file:newmodbus2.png|700px|link=]]<br> | | <br>[[file:newmodbus2.png|700px|link=]]<br> |
| | </li> | | </li> |
| | | | |
| | + | <!--T:3--> |
| | <li>Configure plugin before enabling. | | <li>Configure plugin before enabling. |
| | <br>[[file:newmodbus3.png|700px|link=]]<br> | | <br>[[file:newmodbus3.png|700px|link=]]<br> |
| | <br>[[file:newmodbus4.png|700px|link=]]<br> | | <br>[[file:newmodbus4.png|700px|link=]]<br> |
| | <br>[[file:newmodbus5.png|700px|link=]]<br> | | <br>[[file:newmodbus5.png|700px|link=]]<br> |
| − | '''IP''' - IP address of a ModBus TCP device, make sure that you can ping this device | + | '''IP''' - IP address of a ModBus TCP device, make sure that you can ping this device<br> |
| − | '''Port''' - 502 it is default port in most cases, but check documentation of your ModBus TCP device | + | '''Port''' - 502 it is default port in most cases, but check documentation of your ModBus TCP device<br> |
| − | '''Master/Slave''' - this option means that you add a Master device or Slave device | + | '''Master/Slave''' - this option means that you add a Master device or Slave device<br> |
| | </li> | | </li> |
| | | | |
| | + | <!--T:4--> |
| | <li>Enable plugin. | | <li>Enable plugin. |
| | <br>[[file:newmodbus6.png|700px|link=]]<br> | | <br>[[file:newmodbus6.png|700px|link=]]<br> |
| Line 23: |
Line 28: |
| | </ol> | | </ol> |
| | | | |
| − | | + | ==Examples== <!--T:5--> |
| − | ==Examples== | |
| | <ol> | | <ol> |
| | <li> | | <li> |
| Line 31: |
Line 35: |
| | </li> | | </li> |
| | | | |
| | + | <!--T:6--> |
| | <li>Add ModBus block from Other tab | | <li>Add ModBus block from Other tab |
| | <br>[[file:newmodbus8.png|700px|link=]]<br> | | <br>[[file:newmodbus8.png|700px|link=]]<br> |
| | </li> | | </li> |
| | | | |
| | + | <!--T:7--> |
| | <li>Choose ModBus TCP com-port from dropdown list and fill other fields. Save script and try it. | | <li>Choose ModBus TCP com-port from dropdown list and fill other fields. Save script and try it. |
| | <br>[[file:newmodbus9.png|700px|link=]]<br> | | <br>[[file:newmodbus9.png|700px|link=]]<br> |
| Line 40: |
Line 46: |
| | </ol> | | </ol> |
| | | | |
| − | ==Logs== | + | ==Logs== <!--T:8--> |
| | Starting Service of MODBUS TCP plugin for Larnitech system... | | Starting Service of MODBUS TCP plugin for Larnitech system... |
| | Started Service of MODBUS TCP plugin for Larnitech system. | | Started Service of MODBUS TCP plugin for Larnitech system. |
| Line 49: |
Line 55: |
| | INF: Modbus 192.168.1.110:502:0 thread created | | INF: Modbus 192.168.1.110:502:0 thread created |
| | INF: Modbus 192.168.1.110:502:0 thread started | | INF: Modbus 192.168.1.110:502:0 thread started |
| − | DEBUG: Modbus client: connected to 192.168.1.110:502:0''' - Plugin connected to device''' | + | DEBUG: Modbus client: connected to 192.168.1.110:502:0''' - Plugin connected to the device''' |
| | DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0 | | DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0 |
| | DEBUG: Add message 01050011FF00 to 192.168.1.110:502:0 queue | | DEBUG: Add message 01050011FF00 to 192.168.1.110:502:0 queue |
| | DEBUG: Modbus thread unlocked for 192.168.1.110:502:0 | | DEBUG: Modbus thread unlocked for 192.168.1.110:502:0 |
| | DEBUG: Modbus client: send packet to 192.168.1.110:502:0 0x01050011FF00''' - Send ‘ON’ to first coil''' | | DEBUG: Modbus client: send packet to 192.168.1.110:502:0 0x01050011FF00''' - Send ‘ON’ to first coil''' |
| − | DEBUG: Modbus client: confirmation from 192.168.1.110:502:0 0x01050011FF00 '''- Right feedback from device''' | + | DEBUG: Modbus client: confirmation from 192.168.1.110:502:0 0x01050011FF00 '''- Right feedback from the device''' |
| | DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0 | | DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0 |
| | DEBUG: Add message 010500110000 to 192.168.1.110:502:0 queue | | DEBUG: Add message 010500110000 to 192.168.1.110:502:0 queue |
| | DEBUG: Modbus thread unlocked for 192.168.1.110:502:0 | | DEBUG: Modbus thread unlocked for 192.168.1.110:502:0 |
| | DEBUG: Modbus client: send packet to 192.168.1.110:502:0 0x010500110000''' - Send ‘OFF’ to first coil''' | | DEBUG: Modbus client: send packet to 192.168.1.110:502:0 0x010500110000''' - Send ‘OFF’ to first coil''' |
| − | DEBUG: Modbus client: confirmation from 192.168.1.110:502:0 0x010500110000''' - Right feedback from device''' | + | DEBUG: Modbus client: confirmation from 192.168.1.110:502:0 0x010500110000''' - Right feedback from the device''' |
| | DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0 | | DEBUG: Modbus client: waiting for messages for 192.168.1.110:502:0 |
| | + | </translate> |