Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:sw:02-apis:02-modbus-tcp [2018/12/04 13:23]
tomas_knot ↷ Page name changed from en:sw:02-sdks:02-modbus-tcp to en:sw:02-sdks:03-modbus-tcp
en:sw:02-apis:02-modbus-tcp [2020/03/10 08:49]
jan_kozak
Line 1: Line 1:
 +======%hide Modbus TCP ======
 ====== Modbus TCP Server ====== ====== Modbus TCP Server ======
-Modbus TCP is standard interface to interact with the IOs of UniPi PLCs. Each PLC has its own mapping of I/O to a Modbus Register or Coil which can be downloaded from the [[files:​products:​00-start|Products section.]]+Modbus TCP is standard interface to interact with the IOs of Unipi PLCs. Each PLC has its own mapping of I/O to a Modbus Register or Coil which can be downloaded from the [[files:​products:​00-start|Products section.]]
  
 <WRAP center round info 60%> <WRAP center round info 60%>
-1Wire devices are not mapped to Modbus TCP and have to be implemented ​in a different way, eg. using OWFS.+1Wire devices are not mapped to Modbus TCP and have to be implemented ​differently, eg. using OWFS.
 </​WRAP>​ </​WRAP>​
 ==== Systemd service ==== ==== Systemd service ====
-The Modbus TCP server interface is provided by a unipitcp service. By default, the server only listening to request on the local loopback and requests from other hosts are forbidden due to security reasons. To change this, the unipitcp has to be run with parameter "-l 0.0.0.0"​. If you wish, you can also change the listening port in parameter -p to a different one.+The Modbus TCP server interface is provided by a unipitcp service. By default, the server only listening to request on the local loopback and requests from other hosts are forbidden due to security reasons. To change this, the unipitcp has to be run with the parameter "-l 0.0.0.0"​. If you wish, you can also change the listening port in parameter -p to a different one.
  
 <​code>​ <​code>​
Line 13: Line 14:
  
 To make the change permanent, modify the service script in /​lib/​systemd/​system/​unipitcp.service and reload and restart the service by <​code>​systemctl daemon-reload</​code>​ and <​code>​systemctl restart unipitcp</​code>​ To make the change permanent, modify the service script in /​lib/​systemd/​system/​unipitcp.service and reload and restart the service by <​code>​systemctl daemon-reload</​code>​ and <​code>​systemctl restart unipitcp</​code>​
-