From 6cd6231ef68ab7473e7d0629edd4acdb7169c156 Mon Sep 17 00:00:00 2001 From: wenjy Date: Fri, 13 Dec 2024 10:33:33 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E6=B7=BB=E5=8A=A0=E6=B6=82?= =?UTF-8?q?=E5=B8=83=E6=94=BE=E5=8D=B7PLC=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Library/PlcAddress/APP.INI | 222 ++++++++++++++++++ .../Library/PlcAddress/MqAddress.InI | 73 ------ .../MaterialTraceabilityUI.csproj | 2 +- 3 files changed, 223 insertions(+), 74 deletions(-) create mode 100644 MaterialTraceabilityUI/Library/PlcAddress/APP.INI delete mode 100644 MaterialTraceabilityUI/Library/PlcAddress/MqAddress.InI diff --git a/MaterialTraceabilityUI/Library/PlcAddress/APP.INI b/MaterialTraceabilityUI/Library/PlcAddress/APP.INI new file mode 100644 index 0000000..1b08606 --- /dev/null +++ b/MaterialTraceabilityUI/Library/PlcAddress/APP.INI @@ -0,0 +1,222 @@ +#凹版PLC地址 +[ABPLcAddress] +放卷涨紧=D6005 +放卷结束=D6000 +1A收卷涨紧=D6006 +1B收卷涨紧=D6007 +2A收卷涨紧=D6008 +2B收卷涨紧=D6009 +1A收卷结束=D6001 +1B收卷结束=D6002 +2A收卷结束=D6003 +2B收卷结束=D6004 +1A异常下料=D6116 +1B异常下料=D6117 +2A异常下料=D6118 +2B异常下料=D6119 +放卷SFC=D6034 +1A轴SFC=D6050 +1B轴SFC=D6066 +2A轴SFC=D6082 +2B轴SFC=D6098 +放卷OK=D6014 +1A轴OK=D6015 +1B轴OK=D6016 +2A轴OK=D6017 +2B轴OK=D6018 +放卷控制下料=D6019 +1A轴控制下料=D6020 +1B轴控制下料=D6021 +2A轴控制下料=D6022 +2B轴控制下料=D6023 +1A轴EA=D6030 +1B轴EA=D6031 +2A轴EA=D6032 +2B轴EA=D6033 +1A轴状态=D6026 +1B轴状态=D6027 +2A轴状态=D6028 +2B轴状态=D6029 +RFID异常=D6024 +MES异常=D6025 +合卷报警=D6114 +手动上料=D6115 +放卷方向=D6120 +1A轴方向=D6121 +1B轴方向=D6122 +2A轴方向=D6123 +2B轴方向=D6124 + +#涂布PLC地址 +[TBPLcAddress] +心跳=D9628 +A收卷轴涨紧=D9600 +B收卷轴涨紧=D9620 +涨紧信号清除=D9604 +收卷轴开始=D9720 +A收卷轴完工=D9606 +B收卷轴完工=D9626 +强制下料=D9618 +控制下料=D9614 +气涨泄气=D9608 +RFID异常=D9610 +MES异常=D9612 +是否转塔=D9602 +A轴膜卷号=D9630 +A轴标签号=D9650 +B轴膜卷号=D9670 +B轴标签号=D9690 +收卷轴米数=D9616 + +A放卷涨紧=D9661 +B放卷涨紧=D9662 +A放卷开始=D9663 +B放卷开始=D9664 +A放卷结束=D9665 +B放卷结束=D9666 +A放卷RFID=D9667 +B放卷RFID=D9668 +A放卷SFC=D9669 +B放卷SFC=D9670 +A放卷OK=D9671 +B放卷OK=D9672 +放卷RFID异常=D9673 +放卷MES异常=D9674 +放卷气胀泄气=D9675 +放卷控制下料=D9676 + + + + +#冷压PLC地址 +[LYPLcAddress] +放卷涨紧=D6005 +放卷结束=D6000 +1A收卷涨紧=D6006 +1B收卷涨紧=D6007 +2A收卷涨紧=D6008 +2B收卷涨紧=D6009 +1A收卷结束=D6001 +1B收卷结束=D6002 +2A收卷结束=D6003 +2B收卷结束=D6004 +1A异常下料=D6116 +1B异常下料=D6117 +2A异常下料=D6118 +2B异常下料=D6119 +放卷SFC=D6034 +1A轴SFC=D6050 +1B轴SFC=D6066 +2A轴SFC=D6082 +2B轴SFC=D6098 +放卷OK=D6014 +1A轴OK=D6015 +1B轴OK=D6016 +2A轴OK=D6017 +2B轴OK=D6018 +放卷控制下料=D6019 +1A轴控制下料=D6020 +1B轴控制下料=D6021 +2A轴控制下料=D6022 +2B轴控制下料=D6023 +1A轴EA=D6030 +1B轴EA=D6031 +2A轴EA=D6032 +2B轴EA=D6033 +1A轴状态=D6026 +1B轴状态=D6027 +2A轴状态=D6028 +2B轴状态=D6029 +RFID异常=D6024 +MES异常=D6025 +合卷报警=D6114 +手动上料=D6115 +放卷方向=D6120 +1A轴方向=D6121 +1B轴方向=D6122 +2A轴方向=D6123 +2B轴方向=D6124 + +#模切PLC地址 +[MQPLcAddress] +#涨紧信号 +上左收卷涨紧=MW24804 +下左收卷涨紧=MW24808 +上右收卷涨紧=MW24806 +下右收卷涨紧=MW24810 +左放卷涨紧=MW24800 +右放卷涨紧=MW24802 +#开始信号 +上左收卷开始=MW1022.2 +下左收卷开始=MW1023.2 +上右收卷开始=MW1022.6 +下右收卷开始=MW1023.6 +左放卷开始=MW1021.2 +右放卷开始=MW1021.6 +#结束信号 +上左收卷结束=MW24848 +下左收卷结束=MW24852 +上右收卷结束=MW24850 +下右收卷结束=MW24854 +左放卷结束=MW24844 +右放卷结束=MW24846 +#设备EA +上左收卷EA=MW25928 +下左收卷EA=MW25932 +上右收卷EA=MW25930 +下右收卷EA=MW25934 +#读取结果 +上左收卷读取结果=MW24644 +下左收卷读取结果=MW24660 +上右收卷读取结果=MW24652 +下右收卷读取结果=MW24668 +左放卷读取结果=MW24628 +右放卷读取结果=MW24636 +#卷轴报警 +上左收卷报警=MW24648 +下左收卷报警=MW24664 +上右收卷报警=MW24656 +下右收卷报警=MW24672 +左放卷报警=MW24632 +右放卷报警=MW24640 +#手动写入 +上左收卷写入=MW24836 +下左收卷写入=MW24840 +上右收卷写入=MW24838 +下右收卷写入=MW24842 +左放卷写入=MW24832 +右放卷写入=MW24834 +#下发SFC +上左收卷SFC=MW25400 +下左收卷SFC=MW25500 +上右收卷SFC=MW25450 +下右收卷SFC=MW25550 +左放卷SFC=MW25300 +右放卷SFC=MW25350 +#控制下料 +上左收卷下料=MW24824 +下左收卷下料=MW24828 +上右收卷下料=MW24826 +下右收卷下料=MW24830 +左放卷下料=MW24820 +右放卷下料=MW24822 +#生产状态 +上左收卷状态=MW24676 +下左收卷状态=MW24680 +上右收卷状态=MW24678 +下右收卷状态=MW24682 +左放卷状态=MW24816 +右放卷状态=MW24818 +#全局信号 +开机启动=MW25678 +全局报警=MW24624 +#CCD打标 +上左打标数=MW44000 +下左打标数=MW44800 +上右打标数=MW44400 +下右打标数=MW45200 +#运行方向 +放卷方向=MW20000.0 +上轴方向=MW20001.0 +下轴方向=MW20001.1 + diff --git a/MaterialTraceabilityUI/Library/PlcAddress/MqAddress.InI b/MaterialTraceabilityUI/Library/PlcAddress/MqAddress.InI deleted file mode 100644 index 2c4abdf..0000000 --- a/MaterialTraceabilityUI/Library/PlcAddress/MqAddress.InI +++ /dev/null @@ -1,73 +0,0 @@ -#PLC地址 -[MQPLcAddress] -#涨紧信号 -上左收卷涨紧=MW24804 -下左收卷涨紧=MW24808 -上右收卷涨紧=MW24806 -下右收卷涨紧=MW24810 -左放卷涨紧=MW24800 -右放卷涨紧=MW24802 -#开始信号 -上左收卷开始=MW1022.2 -下左收卷开始=MW1023.2 -上右收卷开始=MW1022.6 -下右收卷开始=MW1023.6 -左放卷开始=MW1021.2 -右放卷开始=MW1021.6 -#结束信号 -上左收卷结束=MW24848 -下左收卷结束=MW24852 -上右收卷结束=MW24850 -下右收卷结束=MW24854 -左放卷结束=MW24844 -右放卷结束=MW24846 -#设备EA -上左收卷EA=MW25928 -下左收卷EA=MW25932 -上右收卷EA=MW25930 -下右收卷EA=MW25934 -#读取结果 -上左收卷读取结果=MW24644 -下左收卷读取结果=MW24660 -上右收卷读取结果=MW24652 -下右收卷读取结果=MW24668 -左放卷读取结果=MW24628 -右放卷读取结果=MW24636 -#卷轴报警 -上左收卷报警=MW24648 -下左收卷报警=MW24664 -上右收卷报警=MW24656 -下右收卷报警=MW24672 -左放卷报警=MW24632 -右放卷报警=MW24640 -#手动写入 -上左收卷写入=MW24836 -下左收卷写入=MW24840 -上右收卷写入=MW24838 -下右收卷写入=MW24842 -左放卷写入=MW24832 -右放卷写入=MW24834 -#下发SFC -上左收卷SFC=MW25400 -下左收卷SFC=MW25500 -上右收卷SFC=MW25450 -下右收卷SFC=MW25550 -左放卷SFC=MW25300 -右放卷SFC=MW25350 -#控制下料 -上左收卷下料=MW24824 -下左收卷下料=MW24828 -上右收卷下料=MW24826 -下右收卷下料=MW24830 -左放卷下料=MW24820 -右放卷下料=MW24822 -#生产状态 -上左收卷状态=MW24676 -下左收卷状态=MW24680 -上右收卷状态=MW24678 -下右收卷状态=MW24682 -左放卷状态=MW24816 -右放卷状态=MW24818 -#全局信号 -开机启动=MW25678 -全局报警=MW24624 diff --git a/MaterialTraceabilityUI/MaterialTraceabilityUI.csproj b/MaterialTraceabilityUI/MaterialTraceabilityUI.csproj index cf70b37..2a8685d 100644 --- a/MaterialTraceabilityUI/MaterialTraceabilityUI.csproj +++ b/MaterialTraceabilityUI/MaterialTraceabilityUI.csproj @@ -279,7 +279,7 @@ - + SettingsSingleFileGenerator Settings.Designer.cs