config.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <config>
  3. <sysConfig>
  4. <serialSetting>
  5. <host>192.168.1.254</host>
  6. <weighbridge>
  7. <enable>false</enable>
  8. <port>4005</port>
  9. <brand></brand>
  10. <minKg>5000</minKg>
  11. </weighbridge>
  12. <car>
  13. <enable>false</enable>
  14. <port>4002</port>
  15. <brand>1000</brand>
  16. </car>
  17. <led>
  18. <enable>true</enable>
  19. <port>4003</port>
  20. <brand>2000</brand>
  21. </led>
  22. <plc>
  23. <enable>true</enable>
  24. <port>4001</port>
  25. <!--输出-->
  26. <out>
  27. <signalRedPoint>02</signalRedPoint>
  28. <signalGreenPoint>03</signalGreenPoint>
  29. <gatePoint>00</gatePoint>
  30. </out>
  31. <!--状态信号-->
  32. <status>
  33. <!--上到位-->
  34. <upPoint>0</upPoint>
  35. <!--下到位-->
  36. <downPoint>1</downPoint>
  37. <!--雷达-->
  38. <radarPoint>2</radarPoint>
  39. <!--前红外-->
  40. <fRedPoint>3</fRedPoint>
  41. <!--后红外-->
  42. <bRedPoint>4</bRedPoint>
  43. </status>
  44. </plc>
  45. </serialSetting>
  46. </sysConfig>
  47. <eventList>
  48. <event>
  49. <name>WEIGHBRIDGE.READ</name>
  50. <!--动作格式 模块.命令-->
  51. <actionList>
  52. <action>LED.LED_SHOW_CONTENT(地磅初始化)</action>
  53. <action>CENTER.TIMER_SLEEP(1500)</action>
  54. <action>LED.LED_SHOW_CONTENT(即将称重,请停稳车辆)</action>
  55. <action>CENTER.TIMER_SLEEP(3000)</action>
  56. <action>LED.LED_SHOW_CONTENT(地磅称重中)</action>
  57. <action>WEIGHBRIDGE.START_READ</action>
  58. <action>LED.LED_SHOW_CONTENT(${weight})</action>
  59. <action>CENTER.SUBMIT</action>
  60. </actionList>
  61. </event>
  62. <event>
  63. <name>LED.READ</name>
  64. <actionList>
  65. <action>LED.LED_SHOW_CONTENT(红外初始化=======)</action>
  66. <action>CENTER.TIMER_SLEEP(10000)</action>
  67. <action>LED.LED_SHOW_CONTENT(欢迎使用红外)</action>
  68. </actionList>
  69. </event>
  70. <event>
  71. <!--识别到车牌-->
  72. <name>CAPTURE.CAPTURE_CAR_NO</name>
  73. <actionList>
  74. <action>LED.LED_SHOW_CONTENT(${platNo})</action>
  75. <action>PLC.RED_LIGHT_ON</action>
  76. <action>CENTER.TIMER_SLEEP(5000)</action>
  77. <action>PLC.RED_LIGHT_OFF</action>
  78. </actionList>
  79. </event>
  80. <event>
  81. <!--通过校验,抬杆-->
  82. <name>PLC.RAILING_RISE</name>
  83. <actionList>
  84. <action>LED.LED_SHOW_CONTENT(校验已通过)</action>
  85. <action>PLC.RAILING_RISE_ON</action>
  86. <action>CENTER.TIMER_SLEEP(5000)</action>
  87. <action>PLC.RAILING_RISE_OFF</action>
  88. </actionList>
  89. </event>
  90. <event>
  91. <!--校验失败-->
  92. <name>PLC.CHECK_FAILED</name>
  93. <actionList>
  94. <action>LED.LED_SHOW_CONTENT(校验失败,请退出通道)</action>
  95. </actionList>
  96. </event>
  97. <event>
  98. <!--通道重置-->
  99. <name>PLC.IDLE</name>
  100. <actionList>
  101. <action>PLC.GREEN_LIGHT_ON</action>
  102. <action>LED.LED_SHOW_CONTENT(通道就绪,请通行)</action>
  103. <action>CENTER.TIMER_SLEEP(5000)</action>
  104. <action>PLC.GREEN_LIGHT_OFF</action>
  105. </actionList>
  106. </event>
  107. <event>
  108. <name>WEIGHBRIDGE.TIMEOUT</name>
  109. <actionList>
  110. <action>LED.LED_SHOW_CONTENT(地磅称重数据异常,请联系管理人员)</action>
  111. </actionList>
  112. </event>
  113. </eventList>
  114. </config>