车间物联网三色灯运行逻辑-wifiRJ45网口远程控制MES系统对接

2025-03-03ASPCMS社区 - fjmyhfvclm

作为物联网数据采集解决方案专业提供商,数采物联网小编daq-iot在这里做以下内容介绍,并诚挚的欢迎大家讨论和交流。

As a professional provider of IoT data collection solutions, daq-iot, the data acquisition and IoT editor, will introduce the following content here and sincerely welcome everyone to discuss and communicate.

三色灯运行逻辑:

1、在点击开工后灯亮绿色;

2、点击暂停键灯亮黄色;

3、点击异常键灯亮红色;

4、首单任务制作过程中因各种异常造成工位暂停时又进行下一生产任务时,灯的颜色取决于最后一次任务的产线状态

{"buzzer1":0,"green1":0,"red1":0,"yellow1":0,"buzzer2":,"green2":0,"red2":0,"yellow2":0,"buzzer3":0,"green3":0,"red3":0,"yellow3":0}

三色报警灯API地址:http://IP:8001/ctrl

json接口说明:

绿灯灭{"green":0}绿灯亮{"green":1}黄灯灭{"yellow":0}黄灯亮{"yellow":1}红灯灭{"red":0}红灯亮{"red":1}蜂鸣器关{"buzzer":0}蜂鸣器开{"buzzer":1}

示例:控制蜂鸣器关

联网三色灯控制示例

全部评论