configBack2 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # debug 调试模式
  2. # serverIp 服务ip
  3. # deviceId 华为云配置deviceId
  4. # secret 华为云配置secret
  5. # connectConfigList 设备配置 {[
  6. # equipmentNo 设备编号
  7. # ipAddress 设备ip地址
  8. # port 设备ip端口号
  9. # type 设备类型
  10. # -> 1 注塑机
  11. # -> 2 滚印机
  12. # -> 3 注射器组装机
  13. # -> 4 螺纹头组装机
  14. # other { 其他配置:每种协议特有配置统一放这
  15. # 如:
  16. # type为 2、3、4、5 时,走modBusTcp协议:可配置以下信息,不配置则为默认值
  17. # slavedId 从机地址 默认 1
  18. # coilsOffSet 0x开始读取地址 默认:0
  19. # coilsQuantity 0x读取位数 默认:100
  20. # discreteInputsOffSet 1x开始读取地址 默认:0
  21. # discreteInputsQuantity 1x读取位数 默认:100
  22. # inputRegistersOffSet 3x开始读取地址 默认:0
  23. # inputRegistersQuantity 3x读取位数 默认:100
  24. # holdingRegistersOffSet 4x开始读取地址 默认:0
  25. # holdingRegistersQuantity 4x读取位数 默认:100
  26. # }
  27. # ]}
  28. #
  29. # configurationUrl 组态软件url
  30. # configurationUsername 组态软件账号
  31. # configurationPassword 组态软件密码
  32. # configurationProjectInstanceName 组态软件工程名称
  33. # configurationDeviceNameList 组态软件设备名称列表
  34. {
  35. "debug": true,
  36. "serverIp": "a1625d5cc8.iot-mqtts.cn-north-4.myhuaweicloud.com",
  37. "deviceId": "62d4ff516b9813541d51f893_test_node_01",
  38. "secret": "fjhx2012",
  39. "connectConfigList": [
  40. {
  41. "equipmentNo": "zsj01",
  42. "ipAddress": "192.168.157.20",
  43. "port": 16664,
  44. "type": 1
  45. },
  46. {
  47. "equipmentNo": "zsj02",
  48. "ipAddress": "192.168.157.21",
  49. "port": 16664,
  50. "type": 1
  51. },
  52. {
  53. "equipmentNo": "zsj03",
  54. "ipAddress": "192.168.157.22",
  55. "port": 16664,
  56. "type": 1
  57. },
  58. {
  59. "equipmentNo": "zsj04",
  60. "ipAddress": "192.168.157.23",
  61. "port": 16664,
  62. "type": 1
  63. },
  64. {
  65. "equipmentNo": "zsj05",
  66. "ipAddress": "192.168.157.24",
  67. "port": 16664,
  68. "type": 1
  69. },
  70. {
  71. "equipmentNo": "zsj06",
  72. "ipAddress": "192.168.157.25",
  73. "port": 16664,
  74. "type": 1
  75. },
  76. {
  77. "equipmentNo": "zsj07",
  78. "ipAddress": "192.168.157.26",
  79. "port": 16664,
  80. "type": 1
  81. },
  82. {
  83. "equipmentNo": "zsj08",
  84. "ipAddress": "192.168.157.27",
  85. "port": 16664,
  86. "type": 1
  87. },
  88. {
  89. "equipmentNo": "zsj09",
  90. "ipAddress": "192.168.157.28",
  91. "port": 16664,
  92. "type": 1
  93. },
  94. {
  95. "equipmentNo": "zsj10",
  96. "ipAddress": "192.168.157.29",
  97. "port": 16664,
  98. "type": 1
  99. },
  100. {
  101. "equipmentNo": "zsj11",
  102. "ipAddress": "192.168.157.30",
  103. "port": 16664,
  104. "type": 1
  105. },
  106. {
  107. "equipmentNo": "gyj01",
  108. "ipAddress": "192.168.157.40",
  109. "port": 502,
  110. "type": 2
  111. },
  112. {
  113. "equipmentNo": "gyj02",
  114. "ipAddress": "192.168.157.41",
  115. "port": 502,
  116. "type": 2
  117. },
  118. {
  119. "equipmentNo": "zzj01",
  120. "ipAddress": "192.168.157.60",
  121. "port": 502,
  122. "type": 3
  123. },
  124. {
  125. "equipmentNo": "zzj02",
  126. "ipAddress": "192.168.157.61",
  127. "port": 502,
  128. "type": 3
  129. },
  130. {
  131. "equipmentNo": "lwt01",
  132. "ipAddress": "192.168.157.110",
  133. "port": 502,
  134. "type": 4
  135. },
  136. {
  137. "equipmentNo": "lwt02",
  138. "ipAddress": "192.168.157.111",
  139. "port": 502,
  140. "type": 4
  141. }
  142. ],
  143. "configurationUrl": "http://192.168.1.43:9433/",
  144. "configurationUsername": "fjhx",
  145. "configurationPassword": "DD0130A524D456DD",
  146. "configurationProjectInstanceName": "KV_n60",
  147. "configurationDeviceNameList": [
  148. "kv"
  149. ]
  150. }