Advertisement
Botura

Untitled

Aug 16th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. ############################### Modbus Binding ########################################
  2. #
  3. # sets refresh interval to Modbus polling service.
  4. # Value in milliseconds (optional, defaults to 200)
  5. #modbus:poll=
  6. modbus:poll=500
  7.  
  8. # host:port (mandatory)
  9. #host_ip[:port[:interTransactionDelayMillis[:reconnectAfterMillis[:interConnectDelayMillis[:connectMaxTries]]]]]
  10. #modbus:tcp.slave1.connection=
  11. #modbus:tcp.IOR11.connection=192.168.0.11
  12. modbus:tcp.IOR11.connection=localhost:502:60:0:0:1
  13. modbus:tcp.IOR12.connection=192.168.0.12:502:60:0:0:1
  14. #modbus:tcp.IOR13.connection=192.168.0.13
  15. #modbus:tcp.IOR21.connection=192.168.0.21
  16. #modbus:tcp.IOR22.connection=192.168.0.22
  17.  
  18. # The data type, can be "coil" "discrete" "holding" "input"
  19. #modbus:tcp.slave1.type=
  20. modbus:tcp.IOR11.type=coil
  21. modbus:tcp.IOR12.type=coil
  22. #modbus:tcp.IOR13.type=coil
  23. #modbus:tcp.IOR21.type=coil
  24. #modbus:tcp.IOR22.type=coil
  25.  
  26. # The slave id (optional, defaults to '1')
  27. #modbus:tcp.slave1.id=
  28.  
  29. # The slave start address (optional, defaults to '0')
  30. #modbus:tcp.slave1.start=
  31. modbus:tcp.IOR11.start=15
  32. modbus:tcp.IOR12.start=15
  33. #modbus:tcp.IOR13.start=15
  34. #modbus:tcp.IOR21.start=15
  35. #modbus:tcp.IOR22.start=15
  36.  
  37. # The number of data item to read
  38. # (optional, defaults to '0' - but set it to something meaningful)
  39. #modbus:tcp.slave1.length=
  40. modbus:tcp.IOR11.length=16
  41. modbus:tcp.IOR12.length=16
  42. #modbus:tcp.IOR13.length=16
  43. #modbus:tcp.IOR21.length=16
  44. #modbus:tcp.IOR22.length=16
  45.  
  46. # Value type, required for combined registers (details: http://www.simplymodbus.ca/FAQ.htm#Types)
  47. # Can be "bit", "int8", "uint8", "int16", "uint16", "int32", "uint32", "float32"
  48. # (optional, defaults to 'uint16')
  49. #modbus:tcp.slave1.valuetype=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement