理包工位电控与IT交互说明文档
1 触摸屏按钮操作
1.1 操作模式选择
旅检系统在人机交互界面上为每台设备独立设置了“自动/关闭/手动”三种设备操作模式。当需要对设备进行单独的操作模式切换时,在人机交互屏上点击对应按钮即可。
如下图:
#mermaid-svg-n3VEDZvpXjdfkjYR {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-n3VEDZvpXjdfkjYR .error-icon{fill:#552222;}#mermaid-svg-n3VEDZvpXjdfkjYR .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-n3VEDZvpXjdfkjYR .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-n3VEDZvpXjdfkjYR .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-n3VEDZvpXjdfkjYR .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-n3VEDZvpXjdfkjYR .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-n3VEDZvpXjdfkjYR .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-n3VEDZvpXjdfkjYR .marker{fill:#333333;stroke:#333333;}#mermaid-svg-n3VEDZvpXjdfkjYR .marker.cross{stroke:#333333;}#mermaid-svg-n3VEDZvpXjdfkjYR svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-n3VEDZvpXjdfkjYR .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-n3VEDZvpXjdfkjYR .cluster-label text{fill:#333;}#mermaid-svg-n3VEDZvpXjdfkjYR .cluster-label span{color:#333;}#mermaid-svg-n3VEDZvpXjdfkjYR .label text,#mermaid-svg-n3VEDZvpXjdfkjYR span{fill:#333;color:#333;}#mermaid-svg-n3VEDZvpXjdfkjYR .node rect,#mermaid-svg-n3VEDZvpXjdfkjYR .node circle,#mermaid-svg-n3VEDZvpXjdfkjYR .node ellipse,#mermaid-svg-n3VEDZvpXjdfkjYR .node polygon,#mermaid-svg-n3VEDZvpXjdfkjYR .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-n3VEDZvpXjdfkjYR .node .label{text-align:center;}#mermaid-svg-n3VEDZvpXjdfkjYR .node.clickable{cursor:pointer;}#mermaid-svg-n3VEDZvpXjdfkjYR .arrowheadPath{fill:#333333;}#mermaid-svg-n3VEDZvpXjdfkjYR .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-n3VEDZvpXjdfkjYR .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-n3VEDZvpXjdfkjYR .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-n3VEDZvpXjdfkjYR .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-n3VEDZvpXjdfkjYR .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-n3VEDZvpXjdfkjYR .cluster text{fill:#333;}#mermaid-svg-n3VEDZvpXjdfkjYR .cluster span{color:#333;}#mermaid-svg-n3VEDZvpXjdfkjYR div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-n3VEDZvpXjdfkjYR :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
设备XXX.01
自动
关闭
手动
因每台设备的操作模式唯一性,需要上位机在点击按钮事件触发时做如下操作:
假设对应关系如下:
自动按钮<–>btnAuto
关闭按钮<–>btnOff
手动按钮<–>btnManual
按下自动按钮时,时序图如下:
#mermaid-svg-bzfhJpm1PlJFvYra {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-bzfhJpm1PlJFvYra .error-icon{fill:#552222;}#mermaid-svg-bzfhJpm1PlJFvYra .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-bzfhJpm1PlJFvYra .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-bzfhJpm1PlJFvYra .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-bzfhJpm1PlJFvYra .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-bzfhJpm1PlJFvYra .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-bzfhJpm1PlJFvYra .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-bzfhJpm1PlJFvYra .marker{fill:#333333;stroke:#333333;}#mermaid-svg-bzfhJpm1PlJFvYra .marker.cross{stroke:#333333;}#mermaid-svg-bzfhJpm1PlJFvYra svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-bzfhJpm1PlJFvYra .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-bzfhJpm1PlJFvYra text.actor>tspan{fill:black;stroke:none;}#mermaid-svg-bzfhJpm1PlJFvYra .actor-line{stroke:grey;}#mermaid-svg-bzfhJpm1PlJFvYra .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-bzfhJpm1PlJFvYra .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-bzfhJpm1PlJFvYra #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-bzfhJpm1PlJFvYra .sequenceNumber{fill:white;}#mermaid-svg-bzfhJpm1PlJFvYra #sequencenumber{fill:#333;}#mermaid-svg-bzfhJpm1PlJFvYra #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-bzfhJpm1PlJFvYra .messageText{fill:#333;stroke:#333;}#mermaid-svg-bzfhJpm1PlJFvYra .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-bzfhJpm1PlJFvYra .labelText,#mermaid-svg-bzfhJpm1PlJFvYra .labelText>tspan{fill:black;stroke:none;}#mermaid-svg-bzfhJpm1PlJFvYra .loopText,#mermaid-svg-bzfhJpm1PlJFvYra .loopText>tspan{fill:black;stroke:none;}#mermaid-svg-bzfhJpm1PlJFvYra .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-bzfhJpm1PlJFvYra .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-bzfhJpm1PlJFvYra .noteText,#mermaid-svg-bzfhJpm1PlJFvYra .noteText>tspan{fill:black;stroke:none;}#mermaid-svg-bzfhJpm1PlJFvYra .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-bzfhJpm1PlJFvYra .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-bzfhJpm1PlJFvYra .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-bzfhJpm1PlJFvYra .actorPopupMenu{position:absolute;}#mermaid-svg-bzfhJpm1PlJFvYra .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#mermaid-svg-bzfhJpm1PlJFvYra .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-bzfhJpm1PlJFvYra .actor-man circle,#mermaid-svg-bzfhJpm1PlJFvYra line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-bzfhJpm1PlJFvYra :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
人机交互触摸屏
上位机
PBS.PLC
按下自动按钮
1
执行btnOff=0,btnManual=0,btnAuto=1
2
写入
3
PLC需做上电保持
4
人机交互触摸屏
上位机
PBS.PLC
按下关闭按钮时,时序图如下:
#mermaid-svg-u4ZgTcjysZs3XxEt {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-u4ZgTcjysZs3XxEt .error-icon{fill:#552222;}#mermaid-svg-u4ZgTcjysZs3XxEt .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-u4ZgTcjysZs3XxEt .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-u4ZgTcjysZs3XxEt .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-u4ZgTcjysZs3XxEt .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-u4ZgTcjysZs3XxEt .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-u4ZgTcjysZs3XxEt .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-u4ZgTcjysZs3XxEt .marker{fill:#333333;stroke:#333333;}#mermaid-svg-u4ZgTcjysZs3XxEt .marker.cross{stroke:#333333;}#mermaid-svg-u4ZgTcjysZs3XxEt svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-u4ZgTcjysZs3XxEt .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-u4ZgTcjysZs3XxEt text.actor>tspan{fill:black;stroke:none;}#mermaid-svg-u4ZgTcjysZs3XxEt .actor-line{stroke:grey;}#mermaid-svg-u4ZgTcjysZs3XxEt .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-u4ZgTcjysZs3XxEt .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-u4ZgTcjysZs3XxEt #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-u4ZgTcjysZs3XxEt .sequenceNumber{fill:white;}#mermaid-svg-u4ZgTcjysZs3XxEt #sequencenumber{fill:#333;}#mermaid-svg-u4ZgTcjysZs3XxEt #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-u4ZgTcjysZs3XxEt .messageText{fill:#333;stroke:#333;}#mermaid-svg-u4ZgTcjysZs3XxEt .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-u4ZgTcjysZs3XxEt .labelText,#mermaid-svg-u4ZgTcjysZs3XxEt .labelText>tspan{fill:black;stroke:none;}#mermaid-svg-u4ZgTcjysZs3XxEt .loopText,#mermaid-svg-u4ZgTcjysZs3XxEt .loopText>tspan{fill:black;stroke:none;}#mermaid-svg-u4ZgTcjysZs3XxEt .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-u4ZgTcjysZs3XxEt .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-u4ZgTcjysZs3XxEt .noteText,#mermaid-svg-u4ZgTcjysZs3XxEt .noteText>tspan{fill:black;stroke:none;}#mermaid-svg-u4ZgTcjysZs3XxEt .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-u4ZgTcjysZs3XxEt .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-u4ZgTcjysZs3XxEt .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-u4ZgTcjysZs3XxEt .actorPopupMenu{position:absolute;}#mermaid-svg-u4ZgTcjysZs3XxEt .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#mermaid-svg-u4ZgTcjysZs3XxEt .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-u4ZgTcjysZs3XxEt .actor-man circle,#mermaid-svg-u4ZgTcjysZs3XxEt line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-u4ZgTcjysZs3XxEt :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
人机交互触摸屏
上位机
PBS.PLC
按下关闭按钮
1
执行btnAuto=0,btnManual=0,btnOff=1
2
写入
3
PLC需做上电保持
4
人机交互触摸屏
上位机
PBS.PLC
按下手动按钮时,时序图如下:
#mermaid-svg-9u52Cbv7jUnTVude {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-9u52Cbv7jUnTVude .error-icon{fill:#552222;}#mermaid-svg-9u52Cbv7jUnTVude .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-9u52Cbv7jUnTVude .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-9u52Cbv7jUnTVude .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-9u52Cbv7jUnTVude .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-9u52Cbv7jUnTVude .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-9u52Cbv7jUnTVude .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-9u52Cbv7jUnTVude .marker{fill:#333333;stroke:#333333;}#mermaid-svg-9u52Cbv7jUnTVude .marker.cross{stroke:#333333;}#mermaid-svg-9u52Cbv7jUnTVude svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-9u52Cbv7jUnTVude .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-9u52Cbv7jUnTVude text.actor>tspan{fill:black;stroke:none;}#mermaid-svg-9u52Cbv7jUnTVude .actor-line{stroke:grey;}#mermaid-svg-9u52Cbv7jUnTVude .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-9u52Cbv7jUnTVude .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-9u52Cbv7jUnTVude #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-9u52Cbv7jUnTVude .sequenceNumber{fill:white;}#mermaid-svg-9u52Cbv7jUnTVude #sequencenumber{fill:#333;}#mermaid-svg-9u52Cbv7jUnTVude #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-9u52Cbv7jUnTVude .messageText{fill:#333;stroke:#333;}#mermaid-svg-9u52Cbv7jUnTVude .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-9u52Cbv7jUnTVude .labelText,#mermaid-svg-9u52Cbv7jUnTVude .labelText>tspan{fill:black;stroke:none;}#mermaid-svg-9u52Cbv7jUnTVude .loopText,#mermaid-svg-9u52Cbv7jUnTVude .loopText>tspan{fill:black;stroke:none;}#mermaid-svg-9u52Cbv7jUnTVude .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-9u52Cbv7jUnTVude .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-9u52Cbv7jUnTVude .noteText,#mermaid-svg-9u52Cbv7jUnTVude .noteText>tspan{fill:black;stroke:none;}#mermaid-svg-9u52Cbv7jUnTVude .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-9u52Cbv7jUnTVude .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-9u52Cbv7jUnTVude .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-9u52Cbv7jUnTVude .actorPopupMenu{position:absolute;}#mermaid-svg-9u52Cbv7jUnTVude .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#mermaid-svg-9u52Cbv7jUnTVude .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-9u52Cbv7jUnTVude .actor-man circle,#mermaid-svg-9u52Cbv7jUnTVude line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-9u52Cbv7jUnTVude :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
人机交互触摸屏
上位机
PBS.PLC
按下手动按钮
1
执行btnAuto=0,btnOff=0,btnManual=1
2
写入
3
PLC需做上电保持
4
人机交互触摸屏
上位机
PBS.PLC
1.2手动操作按钮
旅检系统在人机交互界面上为每台设备独立配置了手动模式的操作按钮,以实现可单独手动操作每台设备功能。每类型设备的按钮数量与操作内容根据设备手动操作需求确定,具体可见DDST(详细设计规划表)。
以理包工位提升机为例,配置有4个手动操作按钮分别为:
#mermaid-svg-kmXkm9yhgsX1Jobb {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-kmXkm9yhgsX1Jobb .error-icon{fill:#552222;}#mermaid-svg-kmXkm9yhgsX1Jobb .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-kmXkm9yhgsX1Jobb .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-kmXkm9yhgsX1Jobb .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-kmXkm9yhgsX1Jobb .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-kmXkm9yhgsX1Jobb .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-kmXkm9yhgsX1Jobb .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-kmXkm9yhgsX1Jobb .marker{fill:#333333;stroke:#333333;}#mermaid-svg-kmXkm9yhgsX1Jobb .marker.cross{stroke:#333333;}#mermaid-svg-kmXkm9yhgsX1Jobb svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-kmXkm9yhgsX1Jobb .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-kmXkm9yhgsX1Jobb .cluster-label text{fill:#333;}#mermaid-svg-kmXkm9yhgsX1Jobb .cluster-label span{color:#333;}#mermaid-svg-kmXkm9yhgsX1Jobb .label text,#mermaid-svg-kmXkm9yhgsX1Jobb span{fill:#333;color:#333;}#mermaid-svg-kmXkm9yhgsX1Jobb .node rect,#mermaid-svg-kmXkm9yhgsX1Jobb .node circle,#mermaid-svg-kmXkm9yhgsX1Jobb .node ellipse,#mermaid-svg-kmXkm9yhgsX1Jobb .node polygon,#mermaid-svg-kmXkm9yhgsX1Jobb .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-kmXkm9yhgsX1Jobb .node .label{text-align:center;}#mermaid-svg-kmXkm9yhgsX1Jobb .node.clickable{cursor:pointer;}#mermaid-svg-kmXkm9yhgsX1Jobb .arrowheadPath{fill:#333333;}#mermaid-svg-kmXkm9yhgsX1Jobb .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-kmXkm9yhgsX1Jobb .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-kmXkm9yhgsX1Jobb .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-kmXkm9yhgsX1Jobb .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-kmXkm9yhgsX1Jobb .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-kmXkm9yhgsX1Jobb .cluster text{fill:#333;}#mermaid-svg-kmXkm9yhgsX1Jobb .cluster span{color:#333;}#mermaid-svg-kmXkm9yhgsX1Jobb div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-kmXkm9yhgsX1Jobb :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
设备XXX.01
手动至中位
手动至高位
手动至低位
手动回零位
假设对应关系如下:
手动至中位<–>btnGoMPos
手动至高位<–>btnGoHPos
手动至低位<–>btnGoLPos
手动回零位<–>btnGoZPos
按下手动至中位按钮时,时序图如下:
#mermaid-svg-hqgOjlWZm3OVEXc6 {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-hqgOjlWZm3OVEXc6 .error-icon{fill:#552222;}#mermaid-svg-hqgOjlWZm3OVEXc6 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-hqgOjlWZm3OVEXc6 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-hqgOjlWZm3OVEXc6 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-hqgOjlWZm3OVEXc6 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-hqgOjlWZm3OVEXc6 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-hqgOjlWZm3OVEXc6 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-hqgOjlWZm3OVEXc6 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-hqgOjlWZm3OVEXc6 .marker.cross{stroke:#333333;}#mermaid-svg-hqgOjlWZm3OVEXc6 svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-hqgOjlWZm3OVEXc6 .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-hqgOjlWZm3OVEXc6 text.actor>tspan{fill:black;stroke:none;}#mermaid-svg-hqgOjlWZm3OVEXc6 .actor-line{stroke:grey;}#mermaid-svg-hqgOjlWZm3OVEXc6 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-hqgOjlWZm3OVEXc6 .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-hqgOjlWZm3OVEXc6 #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-hqgOjlWZm3OVEXc6 .sequenceNumber{fill:white;}#mermaid-svg-hqgOjlWZm3OVEXc6 #sequencenumber{fill:#333;}#mermaid-svg-hqgOjlWZm3OVEXc6 #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-hqgOjlWZm3OVEXc6 .messageText{fill:#333;stroke:#333;}#mermaid-svg-hqgOjlWZm3OVEXc6 .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-hqgOjlWZm3OVEXc6 .labelText,#mermaid-svg-hqgOjlWZm3OVEXc6 .labelText>tspan{fill:black;stroke:none;}#mermaid-svg-hqgOjlWZm3OVEXc6 .loopText,#mermaid-svg-hqgOjlWZm3OVEXc6 .loopText>tspan{fill:black;stroke:none;}#mermaid-svg-hqgOjlWZm3OVEXc6 .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-hqgOjlWZm3OVEXc6 .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-hqgOjlWZm3OVEXc6 .noteText,#mermaid-svg-hqgOjlWZm3OVEXc6 .noteText>tspan{fill:black;stroke:none;}#mermaid-svg-hqgOjlWZm3OVEXc6 .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-hqgOjlWZm3OVEXc6 .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-hqgOjlWZm3OVEXc6 .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-hqgOjlWZm3OVEXc6 .actorPopupMenu{position:absolute;}#mermaid-svg-hqgOjlWZm3OVEXc6 .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#mermaid-svg-hqgOjlWZm3OVEXc6 .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-hqgOjlWZm3OVEXc6 .actor-man circle,#mermaid-svg-hqgOjlWZm3OVEXc6 line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-hqgOjlWZm3OVEXc6 :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
人机交互触摸屏
上位机
PBS.PLC
按下至中位按钮
1
执行btnGoMPos=1
2
写入
3
判断是否可以动作,执行控制流程
4
写入btnGoMPos=0
5
人机交互触摸屏
上位机
PBS.PLC
其他手动操作按钮时序与流程与上图一致。
2 触摸屏设备状态显示
2.1 设备状态显示
为方便操作人员监控设备触摸在设备操作页面上配置有设备状态指示,具体内容见DDST。
当PLC中对应状态为1时:
#mermaid-svg-ib5ay4qMV2Mo1PfS {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .error-icon{fill:#552222;}#mermaid-svg-ib5ay4qMV2Mo1PfS .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-ib5ay4qMV2Mo1PfS .marker{fill:#333333;stroke:#333333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .marker.cross{stroke:#333333;}#mermaid-svg-ib5ay4qMV2Mo1PfS svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-ib5ay4qMV2Mo1PfS .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .cluster-label text{fill:#333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .cluster-label span{color:#333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .label text,#mermaid-svg-ib5ay4qMV2Mo1PfS span{fill:#333;color:#333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .node rect,#mermaid-svg-ib5ay4qMV2Mo1PfS .node circle,#mermaid-svg-ib5ay4qMV2Mo1PfS .node ellipse,#mermaid-svg-ib5ay4qMV2Mo1PfS .node polygon,#mermaid-svg-ib5ay4qMV2Mo1PfS .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-ib5ay4qMV2Mo1PfS .node .label{text-align:center;}#mermaid-svg-ib5ay4qMV2Mo1PfS .node.clickable{cursor:pointer;}#mermaid-svg-ib5ay4qMV2Mo1PfS .arrowheadPath{fill:#333333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-ib5ay4qMV2Mo1PfS .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-ib5ay4qMV2Mo1PfS .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-ib5ay4qMV2Mo1PfS .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-ib5ay4qMV2Mo1PfS .cluster text{fill:#333;}#mermaid-svg-ib5ay4qMV2Mo1PfS .cluster span{color:#333;}#mermaid-svg-ib5ay4qMV2Mo1PfS div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-ib5ay4qMV2Mo1PfS :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
设备XXX.01
自动运行中
当PLC中对应状态为0时:
#mermaid-svg-p06qId2o3OnQW0e3 {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-p06qId2o3OnQW0e3 .error-icon{fill:#552222;}#mermaid-svg-p06qId2o3OnQW0e3 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-p06qId2o3OnQW0e3 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-p06qId2o3OnQW0e3 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-p06qId2o3OnQW0e3 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-p06qId2o3OnQW0e3 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-p06qId2o3OnQW0e3 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-p06qId2o3OnQW0e3 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-p06qId2o3OnQW0e3 .marker.cross{stroke:#333333;}#mermaid-svg-p06qId2o3OnQW0e3 svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-p06qId2o3OnQW0e3 .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-p06qId2o3OnQW0e3 .cluster-label text{fill:#333;}#mermaid-svg-p06qId2o3OnQW0e3 .cluster-label span{color:#333;}#mermaid-svg-p06qId2o3OnQW0e3 .label text,#mermaid-svg-p06qId2o3OnQW0e3 span{fill:#333;color:#333;}#mermaid-svg-p06qId2o3OnQW0e3 .node rect,#mermaid-svg-p06qId2o3OnQW0e3 .node circle,#mermaid-svg-p06qId2o3OnQW0e3 .node ellipse,#mermaid-svg-p06qId2o3OnQW0e3 .node polygon,#mermaid-svg-p06qId2o3OnQW0e3 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-p06qId2o3OnQW0e3 .node .label{text-align:center;}#mermaid-svg-p06qId2o3OnQW0e3 .node.clickable{cursor:pointer;}#mermaid-svg-p06qId2o3OnQW0e3 .arrowheadPath{fill:#333333;}#mermaid-svg-p06qId2o3OnQW0e3 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-p06qId2o3OnQW0e3 .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-p06qId2o3OnQW0e3 .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-p06qId2o3OnQW0e3 .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-p06qId2o3OnQW0e3 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-p06qId2o3OnQW0e3 .cluster text{fill:#333;}#mermaid-svg-p06qId2o3OnQW0e3 .cluster span{color:#333;}#mermaid-svg-p06qId2o3OnQW0e3 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-p06qId2o3OnQW0e3 :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
设备XXX.01
自动运行中
2.1 设备报警
设备报警属于异常的设备状态,为方便操作人员监控设备应在触摸屏上配置有设备报警页,整个旅检系统的报警信息在该页面显示。
假设系统有2条未处理的报警信息:报警信息1、报警信息2
#mermaid-svg-6YGQyhyMmRg6gB3s {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-6YGQyhyMmRg6gB3s .error-icon{fill:#552222;}#mermaid-svg-6YGQyhyMmRg6gB3s .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-6YGQyhyMmRg6gB3s .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-6YGQyhyMmRg6gB3s .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-6YGQyhyMmRg6gB3s .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-6YGQyhyMmRg6gB3s .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-6YGQyhyMmRg6gB3s .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-6YGQyhyMmRg6gB3s .marker{fill:#333333;stroke:#333333;}#mermaid-svg-6YGQyhyMmRg6gB3s .marker.cross{stroke:#333333;}#mermaid-svg-6YGQyhyMmRg6gB3s svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-6YGQyhyMmRg6gB3s .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-6YGQyhyMmRg6gB3s .cluster-label text{fill:#333;}#mermaid-svg-6YGQyhyMmRg6gB3s .cluster-label span{color:#333;}#mermaid-svg-6YGQyhyMmRg6gB3s .label text,#mermaid-svg-6YGQyhyMmRg6gB3s span{fill:#333;color:#333;}#mermaid-svg-6YGQyhyMmRg6gB3s .node rect,#mermaid-svg-6YGQyhyMmRg6gB3s .node circle,#mermaid-svg-6YGQyhyMmRg6gB3s .node ellipse,#mermaid-svg-6YGQyhyMmRg6gB3s .node polygon,#mermaid-svg-6YGQyhyMmRg6gB3s .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-6YGQyhyMmRg6gB3s .node .label{text-align:center;}#mermaid-svg-6YGQyhyMmRg6gB3s .node.clickable{cursor:pointer;}#mermaid-svg-6YGQyhyMmRg6gB3s .arrowheadPath{fill:#333333;}#mermaid-svg-6YGQyhyMmRg6gB3s .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-6YGQyhyMmRg6gB3s .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-6YGQyhyMmRg6gB3s .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-6YGQyhyMmRg6gB3s .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-6YGQyhyMmRg6gB3s .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-6YGQyhyMmRg6gB3s .cluster text{fill:#333;}#mermaid-svg-6YGQyhyMmRg6gB3s .cluster span{color:#333;}#mermaid-svg-6YGQyhyMmRg6gB3s div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-6YGQyhyMmRg6gB3s :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
报警信息页
xxxx 年 xx 月 xx 日 xx 时 xx 分 xx 秒 xxx 毫秒 报警信息 1
xxxx 年 xx 月 xx 日 xx 时 xx 分 xx 秒 xxx 毫秒 报警信息 2
PLC产生第3个报警信息时
#mermaid-svg-zURtmRWjRx1NTkG8 {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-zURtmRWjRx1NTkG8 .error-icon{fill:#552222;}#mermaid-svg-zURtmRWjRx1NTkG8 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-zURtmRWjRx1NTkG8 .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-zURtmRWjRx1NTkG8 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-zURtmRWjRx1NTkG8 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-zURtmRWjRx1NTkG8 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-zURtmRWjRx1NTkG8 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-zURtmRWjRx1NTkG8 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-zURtmRWjRx1NTkG8 .marker.cross{stroke:#333333;}#mermaid-svg-zURtmRWjRx1NTkG8 svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-zURtmRWjRx1NTkG8 .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-zURtmRWjRx1NTkG8 .cluster-label text{fill:#333;}#mermaid-svg-zURtmRWjRx1NTkG8 .cluster-label span{color:#333;}#mermaid-svg-zURtmRWjRx1NTkG8 .label text,#mermaid-svg-zURtmRWjRx1NTkG8 span{fill:#333;color:#333;}#mermaid-svg-zURtmRWjRx1NTkG8 .node rect,#mermaid-svg-zURtmRWjRx1NTkG8 .node circle,#mermaid-svg-zURtmRWjRx1NTkG8 .node ellipse,#mermaid-svg-zURtmRWjRx1NTkG8 .node polygon,#mermaid-svg-zURtmRWjRx1NTkG8 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-zURtmRWjRx1NTkG8 .node .label{text-align:center;}#mermaid-svg-zURtmRWjRx1NTkG8 .node.clickable{cursor:pointer;}#mermaid-svg-zURtmRWjRx1NTkG8 .arrowheadPath{fill:#333333;}#mermaid-svg-zURtmRWjRx1NTkG8 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-zURtmRWjRx1NTkG8 .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-zURtmRWjRx1NTkG8 .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-zURtmRWjRx1NTkG8 .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-zURtmRWjRx1NTkG8 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-zURtmRWjRx1NTkG8 .cluster text{fill:#333;}#mermaid-svg-zURtmRWjRx1NTkG8 .cluster span{color:#333;}#mermaid-svg-zURtmRWjRx1NTkG8 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-zURtmRWjRx1NTkG8 :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
报警信息页
xxxx 年 xx 月 xx 日 xx 时 xx 分 xx 秒 xxx 毫秒 报警信息 1
xxxx 年 xx 月 xx 日 xx 时 xx 分 xx 秒 xxx 毫秒 报警信息 2
xxxx 年 xx 月 xx 日 xx 时 xx 分 xx 秒 xxx 毫秒 报警信息 3
第3个报警信息被工作人员处理后,但前2条报警信息未被处理
#mermaid-svg-f7gEJONx2lJNtajN {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-f7gEJONx2lJNtajN .error-icon{fill:#552222;}#mermaid-svg-f7gEJONx2lJNtajN .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-f7gEJONx2lJNtajN .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-f7gEJONx2lJNtajN .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-f7gEJONx2lJNtajN .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-f7gEJONx2lJNtajN .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-f7gEJONx2lJNtajN .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-f7gEJONx2lJNtajN .marker{fill:#333333;stroke:#333333;}#mermaid-svg-f7gEJONx2lJNtajN .marker.cross{stroke:#333333;}#mermaid-svg-f7gEJONx2lJNtajN svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-f7gEJONx2lJNtajN .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#mermaid-svg-f7gEJONx2lJNtajN .cluster-label text{fill:#333;}#mermaid-svg-f7gEJONx2lJNtajN .cluster-label span{color:#333;}#mermaid-svg-f7gEJONx2lJNtajN .label text,#mermaid-svg-f7gEJONx2lJNtajN span{fill:#333;color:#333;}#mermaid-svg-f7gEJONx2lJNtajN .node rect,#mermaid-svg-f7gEJONx2lJNtajN .node circle,#mermaid-svg-f7gEJONx2lJNtajN .node ellipse,#mermaid-svg-f7gEJONx2lJNtajN .node polygon,#mermaid-svg-f7gEJONx2lJNtajN .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-f7gEJONx2lJNtajN .node .label{text-align:center;}#mermaid-svg-f7gEJONx2lJNtajN .node.clickable{cursor:pointer;}#mermaid-svg-f7gEJONx2lJNtajN .arrowheadPath{fill:#333333;}#mermaid-svg-f7gEJONx2lJNtajN .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-f7gEJONx2lJNtajN .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-f7gEJONx2lJNtajN .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-f7gEJONx2lJNtajN .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-f7gEJONx2lJNtajN .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-f7gEJONx2lJNtajN .cluster text{fill:#333;}#mermaid-svg-f7gEJONx2lJNtajN .cluster span{color:#333;}#mermaid-svg-f7gEJONx2lJNtajN div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-f7gEJONx2lJNtajN :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
报警信息页
xxxx 年 xx 月 xx 日 xx 时 xx 分 xx 秒 xxx 毫秒 报警信息 1
xxxx 年 xx 月 xx 日 xx 时 xx 分 xx 秒 xxx 毫秒 报警信息 2
上位机程序需考虑报警事件产生与离去的日志存储。
3 数据交互
3.1 IT读取PLC
IT通过读取PLC中特殊的设备状态触发特定事件。
例如:
提升机上升光幕遮挡状态,触发理包工位人脸识别屏幕显示“旅客不要遮挡光幕”的动画提示。
理包工位筺到位状态并且理包工位准备时,触发上位机读取RFID
具体内容见DDST。
3.1 IT写入PLC
PLC开辟数据区供IT写入需要交互的数据内容。该数据区以表格形式呈现如下:
名称地址数据长度/类型描述IT.HsNoDB1.DBB1301byteit握手NumPLC.HsNoDB1.DBB1311bytePLC握手NumStationIDDB1.DBB1321byte理包工位号MSGIDDB1.DBB1331byte事件类型MSGBY1DB1.DBB1341byte事件内容MSGSpareDB1.DBB135—DBB15420byte预留
IT与PLC按此时序图交互:
#mermaid-svg-hPmHKjZLVW07274I {font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-hPmHKjZLVW07274I .error-icon{fill:#552222;}#mermaid-svg-hPmHKjZLVW07274I .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-hPmHKjZLVW07274I .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-hPmHKjZLVW07274I .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-hPmHKjZLVW07274I .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-hPmHKjZLVW07274I .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-hPmHKjZLVW07274I .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-hPmHKjZLVW07274I .marker{fill:#333333;stroke:#333333;}#mermaid-svg-hPmHKjZLVW07274I .marker.cross{stroke:#333333;}#mermaid-svg-hPmHKjZLVW07274I svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-hPmHKjZLVW07274I .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-hPmHKjZLVW07274I text.actor>tspan{fill:black;stroke:none;}#mermaid-svg-hPmHKjZLVW07274I .actor-line{stroke:grey;}#mermaid-svg-hPmHKjZLVW07274I .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-hPmHKjZLVW07274I .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-hPmHKjZLVW07274I #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-hPmHKjZLVW07274I .sequenceNumber{fill:white;}#mermaid-svg-hPmHKjZLVW07274I #sequencenumber{fill:#333;}#mermaid-svg-hPmHKjZLVW07274I #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-hPmHKjZLVW07274I .messageText{fill:#333;stroke:#333;}#mermaid-svg-hPmHKjZLVW07274I .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-hPmHKjZLVW07274I .labelText,#mermaid-svg-hPmHKjZLVW07274I .labelText>tspan{fill:black;stroke:none;}#mermaid-svg-hPmHKjZLVW07274I .loopText,#mermaid-svg-hPmHKjZLVW07274I .loopText>tspan{fill:black;stroke:none;}#mermaid-svg-hPmHKjZLVW07274I .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-hPmHKjZLVW07274I .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-hPmHKjZLVW07274I .noteText,#mermaid-svg-hPmHKjZLVW07274I .noteText>tspan{fill:black;stroke:none;}#mermaid-svg-hPmHKjZLVW07274I .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-hPmHKjZLVW07274I .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-hPmHKjZLVW07274I .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-hPmHKjZLVW07274I .actorPopupMenu{position:absolute;}#mermaid-svg-hPmHKjZLVW07274I .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));}#mermaid-svg-hPmHKjZLVW07274I .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-hPmHKjZLVW07274I .actor-man circle,#mermaid-svg-hPmHKjZLVW07274I line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-hPmHKjZLVW07274I :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}
上位机
PBS.PLC
事件发生获得数据
1
写入 StationID=X,MSGID=(2-6),MSGBY1=(0-3)
2
写入IT.HsNo=+1
3
处理数据
4
PLC.HsNo=IT.HsNo
5
PLC.HsNo==IT.HsNo 可以写入新事件数据
6
上位机
PBS.PLC
StationID为固定值,MSGID数据含义如下表:
名称数值含义MSGID2RFIDMSGID3人脸识别MSGID4证件阅读MSGID5等机牌阅读MSGID6人包绑定
MSGBY1数据含义如下表:
名称数值含义MSGBY10正在读取MSGBY11读取成功MSGBY12读取失败MSGBY13读取异常
根据实际的控制流程整理了所需的事件消息表如下:
序号事件MSGID(DBB133)MSGBY1(DBB134)后续流程1RFID读取成功21等待旅客绑定结果,慢速提示至高位2RFID读取失败22慢速提示至高位,人脸识别屏提示异常3RFID读取异常23慢速提示至高位,人脸识别屏提示异常4请旅客使用证件阅读器40PLC点亮证件阅读器指示灯5证件阅读器读取正常41PLC熄灭证件阅读器指示灯6证件阅读器读取失败42PLC熄灭证件阅读器指示灯7证件阅读器读取异常43PLC熄灭证件阅读器指示灯8人包绑定成功61PLC理包工位向主线申请推筺,亮灯9人包绑定失败62PLC亮灯,it人脸识别屏提示异常,工作人员处理10人包绑定异常63PLC亮灯,it人脸识别屏提示异常,工作人员处理
版权归原作者 Lomo� 所有, 如有侵权,请联系我们删除。