123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <?xml version="1.0" encoding="UTF-8"?>
- <config>
- <sysConfig>
- <serialSetting>
- <host>192.168.1.254</host>
- <weighbridge>
- <enable>true</enable>
- <port>4005</port>
- <brand>3000</brand>
- <minKg>5000</minKg>
- </weighbridge>
- <led>
- <enable>true</enable>
- <port>4003</port>
- <brand>2000</brand>
- </led>
- <electron>
- <enable>true</enable>
- <port>4002</port>
- <brand>2000</brand>
- </electron>
- <plc>
- <enable>true</enable>
- <port>4001</port>
- <!--输出-->
- <out>
- <signalRedPoint>02</signalRedPoint>
- <signalGreenPoint>03</signalGreenPoint>
- <gatePoint>00</gatePoint>
- </out>
- <!--状态信号-->
- <status>
- <!--上到位-->
- <upPoint>0</upPoint>
- <!--下到位-->
- <downPoint>1</downPoint>
- <!--雷达-->
- <radarPoint>2</radarPoint>
- <!--前红外-->
- <fRedPoint>3</fRedPoint>
- <!--后红外-->
- <bRedPoint>4</bRedPoint>
- </status>
- </plc>
- </serialSetting>
- </sysConfig>
- <eventList>
- <event>
- <name>WEIGHBRIDGE.READ</name>
- <!--动作格式 模块.命令-->
- <actionList>
- <action>LED.LED_SHOW_CONTENT(03|地磅初始化)</action>
- <action>CENTER.TIMER_SLEEP(1500)</action>
- <action>LED.LED_SHOW_CONTENT(04|即将称重,请停稳车辆)</action>
- <action>CENTER.TIMER_SLEEP(2000)</action>
- <action>LED.LED_SHOW_CONTENT(03|地磅称重中)</action>
- <action>WEIGHBRIDGE.START_READ</action>
- <action>CENTER.TIMER_SLEEP(4000)</action>
- <action>LED.LED_SHOW_CONTENT(${weight})</action>
- <action>CENTER.TIMER_SLEEP(500)</action>
- <action>LED.LED_SHOW_CONTENT(04|称重成功,后台验放通讯中)</action>
- <action>CENTER.SUBMIT</action>
- </actionList>
- </event>
- <event>
- <name>LED.READ</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(红外初始化=======)</action>
- <action>CENTER.TIMER_SLEEP(10000)</action>
- <action>LED.LED_SHOW_CONTENT(欢迎使用红外)</action>
- </actionList>
- </event>
- <event>
- <!--识别到车牌-->
- <name>CAPTURE.CAPTURE_CAR_NO</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(${platNo})</action>
- <action>LED.LED_SHOW_CONTENT(04|请继续行驶)</action>
- <action>PLC.RED_LIGHT_ON</action>
- <action>CENTER.TIMER_SLEEP(5000)</action>
- <action>PLC.RED_LIGHT_OFF</action>
- </actionList>
- </event>
- <event>
- <!--通过校验,抬杆-->
- <name>PLC.RAILING_RISE</name>
- <actionList>
- <action>PLC.RAILING_RISE_ON</action>
- <action>CENTER.TIMER_SLEEP(5000)</action>
- <action>PLC.RAILING_RISE_OFF</action>
- </actionList>
- </event>
- <event>
- <!--校验失败-->
- <name>PLC.SUBMIT_TIMEOUT</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(04|提交数据请求失败,请联系管理人员)</action>
- </actionList>
- </event>
- <event>
- <!--通道重置-->
- <name>PLC.IDLE</name>
- <actionList>
- <action>CENTER.TIMER_SLEEP(5000)</action>
- <action>PLC.GREEN_LIGHT_ON</action>
- <action>LED.LED_SHOW_CONTENT(${channel})</action>
- <action>LED.LED_SHOW_CONTENT(${platNo})</action>
- <action>LED.LED_SHOW_CONTENT(${weight})</action>
- <action>LED.LED_SHOW_CONTENT(04|通道就绪,请通行)</action>
- <action>CENTER.TIMER_SLEEP(5000)</action>
- <action>PLC.GREEN_LIGHT_OFF</action>
- </actionList>
- </event>
- <event>
- <name>WEIGHBRIDGE.TIMEOUT</name>
- <actionList>
- <action>CENTER.TIMER_SLEEP(1000)</action>
- <action>LED.LED_SHOW_CONTENT(03|称重异常)</action>
- <action>LED.LED_SHOW_CONTENT(04|请退车并请联系管理人员)</action>
- </actionList>
- </event>
- <event>
- <name>WEIGHBRIDGE.POSITION_ERROR</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(03|车辆位置异常或异常跟车)</action>
- <action>LED.LED_SHOW_CONTENT(04|请完全退出通道后再次进入通道)</action>
- </actionList>
- </event>
- <event>
- <name>CAPTURE.CAPTURE_FAILED</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(02|车牌获取异常)</action>
- <action>LED.LED_SHOW_CONTENT(04|请退车并申请人工处理)</action>
- </actionList>
- </event>
- <event>
- <!--行政通道 识别到车牌-->
- <name>CAPTURE.CAPTURE_ADMIN</name>
- <actionList>
- <action>LED.LED_SHOW_CONTENT(${platNo})</action>
- <action>CENTER.TIMER_SLEEP(500)</action>
- <action>LED.LED_SHOW_CONTENT(04|后台验放通讯中)</action>
- <action>CENTER.SUBMIT</action>
- </actionList>
- </event>
- </eventList>
- </config>
|