From 3a8e1cdc1effdd27aabdc2f42bbd728f448ceca0 Mon Sep 17 00:00:00 2001 From: liuwf Date: Thu, 16 May 2024 09:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aucma.Scada.UI/Aucma.Scada.UI.csproj | 6 ++++ Aucma.Scada.UI/config/App.Ini | 49 ++++++++++++++++++++++++++++ Aucma.Scada.UI/config/Plc.Ini | 34 +++++++++++++++++++ Aucma.Scada.UI/config/Plc1233.Ini | 30 +++++++++++++++++ Aucma.Scada.UI/config/PlcSpace.Ini | 48 +++++++++++++++++++++++++++ 5 files changed, 167 insertions(+) create mode 100644 Aucma.Scada.UI/config/App.Ini create mode 100644 Aucma.Scada.UI/config/Plc.Ini create mode 100644 Aucma.Scada.UI/config/Plc1233.Ini create mode 100644 Aucma.Scada.UI/config/PlcSpace.Ini diff --git a/Aucma.Scada.UI/Aucma.Scada.UI.csproj b/Aucma.Scada.UI/Aucma.Scada.UI.csproj index ace3f278..9254fc5c 100644 --- a/Aucma.Scada.UI/Aucma.Scada.UI.csproj +++ b/Aucma.Scada.UI/Aucma.Scada.UI.csproj @@ -337,6 +337,12 @@ PreserveNewest + + PreserveNewest + + + + diff --git a/Aucma.Scada.UI/config/App.Ini b/Aucma.Scada.UI/config/App.Ini new file mode 100644 index 00000000..cad4ec01 --- /dev/null +++ b/Aucma.Scada.UI/config/App.Ini @@ -0,0 +1,49 @@ +[system] +#数据库连接 +mesConnStr=Data Source=10.100.72.20/ORCLCDB;User ID=c##aucma_mes;Password=aucma +scadaConnStr=Data Source=10.100.72.20/ORCLCDB;User ID=c##aucma_scada;Password=aucma + +#串口 +Port=COM6;COM1;COM7 + +#扫码枪波特率 +BaudRate=19200 + +#工位编号 +stationCode=1002 +#工位名称 +stationName=箱壳内胆组装 + +#箱壳库编号 +shellStoreCode=XKK-001 +#内胆库编号 +linerStoreCode=NDK-001 + +#箱壳物料类型编号 +shellMaterialType =400 +#内胆物料类型编号 +linerMaterialType=500 + +#入库任务类型编号 +instoreTaskType=1 +#出库任务类型编号 +outstoreTaskType=2 + +#箱壳扫码器IP shellHikRobotIp=10.10.92.122 +shellHikRobotIp=10.10.92.122 +#内胆扫码器IP linerHikRobotIp=10.10.92.121 +linerHikRobotIp=10.10.92.121 +searchItems=100%150%145%203%Option 5%Option 6%Option 7%Option 8%Option 9%Option 10%%%%%%%%% +foamBeforeStoreCode=PBSCK-001 + + +#工位编号 +ProductlineCode=CX_02 +#班组代码 +TeamCode= +#班组名称 +TeamName= +#用户名 +Account= +#用于配置登录界面可见班组信息,查询展示当前产线并且班组编号包含该配置的班组 +TeamConfig=XTYZ diff --git a/Aucma.Scada.UI/config/Plc.Ini b/Aucma.Scada.UI/config/Plc.Ini new file mode 100644 index 00000000..9419e0e2 --- /dev/null +++ b/Aucma.Scada.UI/config/Plc.Ini @@ -0,0 +1,34 @@ +[plcSystem] +箱壳PLCIP=10.10.92.22 +箱壳PLC端口=2015 +内胆PLCIP=10.10.92.29 +内胆PLC端口=2015 +#箱壳空板处理按钮 +[shell_null_address] +空板开关=L90 +空板数量=D7005 + +#箱壳入库地址 +[shell_inStore_address] +入库货道号=D7000 +入库应答字=D7010 +空板到位=D7007 + +#内胆入库地址 +[liner_inStore_address] +入库货道号=D7000 +入库应答字=D7010 +空板到位=D7007 + +#箱壳出库地址 +[shell_outStore_address] +出库货道号=D7100 +出库完成=D7120 +出库应答字=D7130 + +#内胆出库地址 +[liner_outStore_address] +出库货道号=D7100 +出库完成=D7120 +出库应答字=D7130 + diff --git a/Aucma.Scada.UI/config/Plc1233.Ini b/Aucma.Scada.UI/config/Plc1233.Ini new file mode 100644 index 00000000..1ac45d6e --- /dev/null +++ b/Aucma.Scada.UI/config/Plc1233.Ini @@ -0,0 +1,30 @@ +[plcSystem] +箱壳PLCIP=127.0.0.1 +箱壳PLC端口=6000 +内胆PLCIP=127.0.0.1 +内胆PLC端口=6001 + +#箱壳入库地址 +[shell_inStore_address] +入库货道号=D7000 +入库应答字=D7010 +空板到位=D7007 + +#内胆入库地址 +[liner_inStore_address] +入库货道号=D7000 +入库应答字=D7010 +空板到位=D7007 + +#箱壳出库地址 +[shell_outStore_address] +出库货道号=D7100 +出库完成=D7120 +出库应答字=D7130 + +#内胆出库地址 +[liner_outStore_address] +出库货道号=D7100 +出库完成=D7120 +出库应答字=D7130 + diff --git a/Aucma.Scada.UI/config/PlcSpace.Ini b/Aucma.Scada.UI/config/PlcSpace.Ini new file mode 100644 index 00000000..1ac78512 --- /dev/null +++ b/Aucma.Scada.UI/config/PlcSpace.Ini @@ -0,0 +1,48 @@ +#箱壳库货道信息 是否已满=D7221 货道状态=D7231 仓库状态=D7300 #设备状态字,0未启动状态,1已自动运行,2维修调试状态,禁止启动 +[XKK-001_XK_001] +在库数量=D7201 +在途数量=D7211 +出库完成=D7120 +[XKK-001_XK_002] +在库数量=D7202 +在途数量=D7212 +出库完成=D7120 +[XKK-001_XK_003] +在库数量=D7203 +在途数量=D7213 +出库完成=D7120 +[XKK-001_XK_004] +在库数量=D7204 +在途数量=D7214 +出库完成=D7120 +[XKK-001_XK_005] +在库数量=D7205 +在途数量=D7215 +出库完成=D7120 + + +#内胆库货道信息 +[NDK-001_ND_001] +在库数量=D7201 +在途数量=D7211 +出库完成=D7120 +[NDK-001_ND_002] +在库数量=D7202 +在途数量=D7212 +出库完成=D7120 +[NDK-001_ND_003] +在库数量=D7203 +在途数量=D7213 +出库完成=D7120 +[NDK-001_ND_004] +在库数量=D7204 +在途数量=D7214 +出库完成=D7120 +[NDK-001_ND_005] +在库数量=D7205 +在途数量=D7215 +出库完成=D7120 +[NDK-001_ND_006] +在库数量=D7206 +在途数量=D7216 +出库完成=D7120 \ No newline at end of file