Advertisement
Guest User

Modbus config

a guest
Sep 11th, 2017
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.16 KB | None | 0 0
  1. Bridge modbus:tcp:endpointTCP [ host="192.168.50.113", port=502, id=11, reconnectAfterMillis=300000 ] {
  2. Bridge poller ReadSection1 [ start=4000, length=12, refresh=10000, type="holding" ] {
  3. Bridge readwrite VE_DeviceType {
  4. Thing read ve_dt [ start=1, type="holding", trigger="*", valueType="uint16" ]
  5. }
  6. Bridge readwrite VE_DeviceVersion {
  7. Thing read ve_dv [ start=3, type="holding", trigger="*", valueType="uint16" ]
  8. }
  9. Bridge readwrite VE_OutsideTemperature {
  10. Thing read ve_ot [ start=8, type="holding", trigger="*", valueType="uint16" ]
  11. }
  12. Bridge readwrite VE_InsideTemperature {
  13. Thing read ve_it [ start=9, type="holding", trigger="*", valueType="uint16" ]
  14. }
  15. Bridge readwrite VE_InletPressure {
  16. Thing read ve_ip [ start=10, type="holding", trigger="*", valueType="uint16" ]
  17. }
  18. Bridge readwrite VE_OutletPressure {
  19. Thing read ve_op [ start=11, type="holding", trigger="*", valueType="uint16" ]
  20. }
  21. // Bridge readwrite VE_Airflow {
  22. // Thing read ve_af [ start=12, type="holding", trigger="*", valueType="uint16" ]
  23. // }
  24. }
  25. Bridge poller ReadSection2 [ start=4015, length=5, refresh=10000, type="holding" ] {
  26. Bridge readwrite VE_ImbalanceAllowed {
  27. Thing read ve_ia [ start=0, type="holding", trigger="*", valueType="uint16" ]
  28. }
  29. }
  30.  
  31. Bridge poller ReadSection3 [ start=4021, length=5, refresh=10000, type="holding" ] {
  32. Bridge readwrite VE_ImbalanceAmount {
  33. Thing read ve_ia1 [ start=0, type="holding", trigger="*", valueType="uint16" ]
  34. }
  35. }
  36.  
  37. Bridge poller ReadSection4 [ start=4027, length=8, refresh=10000, type="holding" ] {
  38. Bridge readwrite VE_CurrentAirflowInlet {
  39. Thing read ve_cai [ start=0, type="holding", trigger="*", valueType="uint16" ]
  40. }
  41. Bridge readwrite VE_CurrentAirflowOutlet {
  42. Thing read ve_cao [ start=1, type="holding", trigger="*", valueType="uint16" ]
  43. }
  44. Bridge readwrite VE_PositionBypass {
  45. Thing read ve_pb [ start=2, type="holding", trigger="*", valueType="uint16" ]
  46. }
  47. Bridge readwrite VE_OperatingModeBypass {
  48. Thing read ve_omb [ start=3, type="holding", trigger="*", valueType="uint16" ]
  49. }
  50. }
  51.  
  52. Bridge poller ReadSection5 [ start=4036, length=9, refresh=10000, type="holding" ] {
  53. Bridge readwrite VE_PreheaterState {
  54. Thing read ve_ps [ start=0, type="holding", trigger="*", valueType="uint16" ]
  55. }
  56. Bridge readwrite VE_PreheaterPower {
  57. Thing read ve_pp [ start=1, type="holding", trigger="*", valueType="uint16" ]
  58. }
  59. Bridge readwrite VE_CurrentErrorCode {
  60. Thing read ve_cec [ start=2, type="holding", trigger="*", valueType="uint16" ]
  61. }
  62. Bridge readwrite VE_FilterState {
  63. Thing read ve_fs [ start=3, type="holding", trigger="*", valueType="uint16" ]
  64. }
  65. Bridge readwrite VE_GeothermalHeatExchangerMode {
  66. Thing read ve_ghem [ start=4, type="holding", trigger="*", valueType="uint16" ]
  67. }
  68. }
  69.  
  70. Bridge poller ReadSection6 [ start=4046, length=5, refresh=10000, type="holding" ] {
  71. Bridge readwrite VE_GeothermalHeatExchangerMinTemp {
  72. Thing read ve_ghemt [ start=0, type="holding", trigger="*", valueType="uint16" ]
  73. }
  74. }
  75.  
  76. Bridge poller ReadSection7 [ start=4052, length=5, refresh=10000, type="holding" ] {
  77. Bridge readwrite VE_GeothermalHeatExchangerMaxTemp {
  78. Thing read ve_ghemt1 [ start=0, type="holding", trigger="*", valueType="uint16" ]
  79. }
  80. }
  81.  
  82. //Bridge poller ReadSection8 [ start=4060, length=1, refresh=10000, type="holding" ] {
  83. // Bridge readwrite VE_ImbalanceAllowed {
  84. // Thing read ve_ia [ start=0, type="holding", trigger="*", valueType="uint16" ]
  85. // }
  86. //}
  87.  
  88. Bridge poller WriteSection1 [ start=6000, length=12, refresh=0, type="holding" ] {
  89. Bridge readwrite VE_SetAirflow {
  90. Thing write ve_saf [ start=0, type="holding", trigger="*", valueType="uint16" ]
  91. }
  92. Bridge readwrite VE_SetImbalanceAllowed {
  93. Thing write ve_sia [ start=3, type="holding", trigger="*", valueType="uint16" ]
  94. }
  95. Bridge readwrite VE_SetImbalanceAmount {
  96. Thing write ve_sia1 [ start=4, type="holding", trigger="*", valueType="uint16" ]
  97. }
  98. Bridge readwrite VE_SetOperatingModeBypass {
  99. Thing write ve_somb [ start=5, type="holding", trigger="*", valueType="uint16" ]
  100. }
  101. Bridge readwrite VE_SetFilterState {
  102. Thing write ve_sfs [ start=6, type="holding", trigger="*", valueType="uint16" ]
  103. }
  104. Bridge readwrite VE_SetGeothermalHeatExchangerMode {
  105. Thing write ve_sghem [ start=7, type="holding", trigger="*", valueType="uint16" ]
  106. }
  107. Bridge readwrite VE_SetGeothermalHeatExchangerMinTemp {
  108. Thing write ve_sghemt [ start=8, type="holding", trigger="*", valueType="uint16" ]
  109. }
  110. Bridge readwrite VE_SetGeothermalHeatExchangerMaxTemp {
  111. Thing write ve_sghemt1 [ start=9, type="holding", trigger="*", valueType="uint16" ]
  112. }
  113. Bridge readwrite VE_SetCO2SensorToRead {
  114. Thing write ve_scstr [ start=10, type="holding", trigger="*", valueType="uint16" ]
  115. }
  116. Bridge readwrite VE_SetResetSystem {
  117. Thing write ve_srs [ start=11, type="holding", trigger="*", valueType="uint16" ]
  118. }
  119. Bridge readwrite VE_SetControlMode {
  120. Thing write ve_scm [ start=12, type="holding", trigger="*", valueType="uint16" ]
  121. }
  122. }
  123. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement