Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit b5264ed2
由
LN
编写于
2020-10-27 15:52:04 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
界面调整
1 个父辈
fd0b3169
隐藏空白字符变更
内嵌
并排
正在显示
65 个修改的文件
包含
2064 行增加
和
1116 行删除
source/AssemblyLineClient/App.config
source/AssemblyLineClient/AssemblyLineClient.csproj
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
source/AssemblyLineClient/FrmFeedingEquip.cs
source/AssemblyLineClient/FrmProvidingEquip.Designer.cs → source/AssemblyLineClient/FrmHYEquip.Designer.cs
source/AssemblyLineClient/FrmProvidingEquip.cs → source/AssemblyLineClient/FrmHYEquip.cs
source/AssemblyLineClient/FrmProvidingEquip.resx → source/AssemblyLineClient/FrmHYEquip.resx
source/AssemblyLineClient/FrmIOTest.Designer.cs
source/AssemblyLineClient/FrmIOTest.cs
source/AssemblyLineClient/FrmLineStore.Designer.cs
source/AssemblyLineClient/FrmLineStore.cs
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
source/AssemblyLineClient/FrmMoveEquip.cs
source/AssemblyLineClient/FrmRFIPEdit.cs
source/AssemblyLineClient/useControl/EquipControl.Designer.cs
source/AssemblyLineClient/useControl/EquipControl.cs
source/AssemblyLineClient/useControl/EquipControl.resx
source/Common/Setting_Init.cs
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/LineConfig/Config_Line.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_1.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_2.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_3.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_4.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_01.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_02.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_03.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_04.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_05.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_06.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_07.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_08.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_09.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_10.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_11.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_12.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_13.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_14.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_15.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_16.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_17.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_18.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_19.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_20.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_21.csv
source/DeviceLibrary/assemblyLine/EquipBase.cs
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
source/DeviceLibrary/assemblyLine/HY/HYEquipBase.cs
source/DeviceLibrary/assemblyLine/HY/HY_C1Line.cs
source/DeviceLibrary/assemblyLine/HY/HY_Coveryor.cs
source/DeviceLibrary/assemblyLine/HY/HY_OutLine.cs
source/DeviceLibrary/assemblyLine/LineBean.cs
source/DeviceLibrary/assemblyLine/LineBean_Partial.cs
source/DeviceLibrary/assemblyLine/MoveEquip.cs
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
source/DeviceLibrary/assemblyLine/ProvidingEquip.cs
source/DeviceLibrary/assemblyLine/ProvidingEquip_Partial.cs
source/DeviceLibrary/assemblymanager/ALineManager.cs
source/DeviceLibrary/assemblymanager/TrayManager.cs
source/DeviceLibrary/model/KTK_Store.cs
source/LoadCVSLibrary/LoadCSVLibrary.csproj
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
source/LoadCVSLibrary/storeConfig/config/DeviceConfig.cs
source/LoadCVSLibrary/storeConfig/config/ProvidingEquip_Config.cs → source/LoadCVSLibrary/storeConfig/config/HYEquip_Config.cs
source/LoadCVSLibrary/storeConfig/config/IO_Type.cs
source/AssemblyLineClient/App.config
查看文件 @
b5264ed
...
@@ -13,13 +13,13 @@
...
@@ -13,13 +13,13 @@
<!--
storeType
-->
<!--
storeType
-->
<
add
key
=
"Line_moveEquip_count"
value
=
"24"
/>
<
add
key
=
"Line_moveEquip_count"
value
=
"24"
/>
<
add
key
=
"Line_feedingEquip_count"
value
=
"5"
/>
<
add
key
=
"Line_feedingEquip_count"
value
=
"5"
/>
<
add
key
=
"Line_
providingEquip_count"
value
=
"4
"
/>
<
add
key
=
"Line_
HYEquip_count"
value
=
"21
"
/>
<
add
key
=
"Line_dischargeLine_count"
value
=
"2"
/
>
<
!--<
add
key
=
"Line_dischargeLine_count"
value
=
"2"
/>--
>
<!--
start
one
store
config
-->
<!--
start
one
store
config
-->
<
add
key
=
"ConfigPath_Line"
value
=
"\LineConfig\Config_Line.csv"
/>
<
add
key
=
"ConfigPath_Line"
value
=
"\LineConfig\Config_Line.csv"
/>
<
add
key
=
"ConfigPath_MoveEquip"
value
=
"\LineConfig\MoveEquip\Config_MoveEquip.csv"
/>
<
add
key
=
"ConfigPath_MoveEquip"
value
=
"\LineConfig\MoveEquip\Config_MoveEquip.csv"
/>
<
add
key
=
"ConfigPath_FeedingEquip"
value
=
"\LineConfig\Config_FeedingEquip.csv"
/>
<
add
key
=
"ConfigPath_FeedingEquip"
value
=
"\LineConfig\Config_FeedingEquip.csv"
/>
<
add
key
=
"ConfigPath_
ProvidingEquip"
value
=
"\LineConfig\Config_Providing
Equip.csv"
/>
<
add
key
=
"ConfigPath_
HYEquip"
value
=
"\LineConfig\HY\Config_HY
Equip.csv"
/>
<
add
key
=
"ConfigPath_DischargeLine"
value
=
"\LineConfig\Config_DischargeLine.csv"
/>
<
add
key
=
"ConfigPath_DischargeLine"
value
=
"\LineConfig\Config_DischargeLine.csv"
/>
<
add
key
=
"Line_Type"
value
=
"Line"
/>
<
add
key
=
"Line_Type"
value
=
"Line"
/>
<
add
key
=
"Line_CID"
value
=
"rc1250"
/>
<
add
key
=
"Line_CID"
value
=
"rc1250"
/>
...
...
source/AssemblyLineClient/AssemblyLineClient.csproj
查看文件 @
b5264ed
...
@@ -104,6 +104,12 @@
...
@@ -104,6 +104,12 @@
<Compile Include="FrmIOStatus.Designer.cs">
<Compile Include="FrmIOStatus.Designer.cs">
<DependentUpon>FrmIOStatus.cs</DependentUpon>
<DependentUpon>FrmIOStatus.cs</DependentUpon>
</Compile>
</Compile>
<Compile Include="FrmHYEquip.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmHYEquip.Designer.cs">
<DependentUpon>FrmHYEquip.cs</DependentUpon>
</Compile>
<Compile Include="FrmRFIPEdit.cs">
<Compile Include="FrmRFIPEdit.cs">
<SubType>Form</SubType>
<SubType>Form</SubType>
</Compile>
</Compile>
...
@@ -122,24 +128,12 @@
...
@@ -122,24 +128,12 @@
<Compile Include="FrmBase.Designer.cs">
<Compile Include="FrmBase.Designer.cs">
<DependentUpon>FrmBase.cs</DependentUpon>
<DependentUpon>FrmBase.cs</DependentUpon>
</Compile>
</Compile>
<Compile Include="FrmDischargeLine.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmDischargeLine.Designer.cs">
<DependentUpon>FrmDischargeLine.cs</DependentUpon>
</Compile>
<Compile Include="FrmEquipBase.cs">
<Compile Include="FrmEquipBase.cs">
<SubType>Form</SubType>
<SubType>Form</SubType>
</Compile>
</Compile>
<Compile Include="FrmEquipBase.Designer.cs">
<Compile Include="FrmEquipBase.Designer.cs">
<DependentUpon>FrmEquipBase.cs</DependentUpon>
<DependentUpon>FrmEquipBase.cs</DependentUpon>
</Compile>
</Compile>
<Compile Include="FrmProvidingEquip.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmProvidingEquip.Designer.cs">
<DependentUpon>FrmProvidingEquip.cs</DependentUpon>
</Compile>
<Compile Include="FrmFeedingEquip.cs">
<Compile Include="FrmFeedingEquip.cs">
<SubType>Form</SubType>
<SubType>Form</SubType>
</Compile>
</Compile>
...
@@ -179,6 +173,12 @@
...
@@ -179,6 +173,12 @@
<Compile Include="ManagerUtil.cs" />
<Compile Include="ManagerUtil.cs" />
<Compile Include="Program.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="useControl\EquipControl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="useControl\EquipControl.Designer.cs">
<DependentUpon>EquipControl.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="agvtest\FrmAgvTest.resx">
<EmbeddedResource Include="agvtest\FrmAgvTest.resx">
<DependentUpon>FrmAgvTest.cs</DependentUpon>
<DependentUpon>FrmAgvTest.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
...
@@ -188,6 +188,9 @@
...
@@ -188,6 +188,9 @@
<EmbeddedResource Include="FrmIOStatus.resx">
<EmbeddedResource Include="FrmIOStatus.resx">
<DependentUpon>FrmIOStatus.cs</DependentUpon>
<DependentUpon>FrmIOStatus.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
<EmbeddedResource Include="FrmHYEquip.resx">
<DependentUpon>FrmHYEquip.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmRFIPEdit.resx">
<EmbeddedResource Include="FrmRFIPEdit.resx">
<DependentUpon>FrmRFIPEdit.cs</DependentUpon>
<DependentUpon>FrmRFIPEdit.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
...
@@ -197,15 +200,9 @@
...
@@ -197,15 +200,9 @@
<EmbeddedResource Include="FrmBase.resx">
<EmbeddedResource Include="FrmBase.resx">
<DependentUpon>FrmBase.cs</DependentUpon>
<DependentUpon>FrmBase.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
<EmbeddedResource Include="FrmDischargeLine.resx">
<DependentUpon>FrmDischargeLine.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmEquipBase.resx">
<EmbeddedResource Include="FrmEquipBase.resx">
<DependentUpon>FrmEquipBase.cs</DependentUpon>
<DependentUpon>FrmEquipBase.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
<EmbeddedResource Include="FrmProvidingEquip.resx">
<DependentUpon>FrmProvidingEquip.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmFeedingEquip.resx">
<EmbeddedResource Include="FrmFeedingEquip.resx">
<DependentUpon>FrmFeedingEquip.cs</DependentUpon>
<DependentUpon>FrmFeedingEquip.cs</DependentUpon>
</EmbeddedResource>
</EmbeddedResource>
...
@@ -234,6 +231,9 @@
...
@@ -234,6 +231,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
<DesignTime>True</DesignTime>
</Compile>
</Compile>
<EmbeddedResource Include="useControl\EquipControl.resx">
<DependentUpon>EquipControl.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
...
...
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
查看文件 @
b5264ed
...
@@ -105,6 +105,7 @@
...
@@ -105,6 +105,7 @@
this
.
btnMoveto
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnMoveto
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtSizePosition
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtSizePosition
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
btnClose
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chbBoxSendShelf
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbBoxSendShelf
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbMoveStop
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbMoveStop
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
lblName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblName
=
new
System
.
Windows
.
Forms
.
Label
();
...
@@ -146,7 +147,7 @@
...
@@ -146,7 +147,7 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtWriteTime
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label5
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label5
);
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
685
,
390
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
685
,
447
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
99
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
604
,
99
);
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabIndex
=
105
;
...
@@ -295,7 +296,7 @@
...
@@ -295,7 +296,7 @@
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
457
,
1
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
457
,
1
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
220
,
491
);
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
220
,
548
);
this
.
groupBox4
.
TabIndex
=
104
;
this
.
groupBox4
.
TabIndex
=
104
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"DO列表"
;
this
.
groupBox4
.
Text
=
"DO列表"
;
...
@@ -312,7 +313,7 @@
...
@@ -312,7 +313,7 @@
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
471
);
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
528
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
//
// groupBox3
// groupBox3
...
@@ -322,7 +323,7 @@
...
@@ -322,7 +323,7 @@
this
.
groupBox3
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
1
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
1
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
220
,
491
);
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
220
,
548
);
this
.
groupBox3
.
TabIndex
=
103
;
this
.
groupBox3
.
TabIndex
=
103
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"DI列表"
;
this
.
groupBox3
.
Text
=
"DI列表"
;
...
@@ -339,7 +340,7 @@
...
@@ -339,7 +340,7 @@
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
471
);
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
528
);
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
//
//
// groupBox5
// groupBox5
...
@@ -369,7 +370,7 @@
...
@@ -369,7 +370,7 @@
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnFeedSideWay
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnFeedSideWay
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
931
,
1
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
931
,
1
);
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
3
62
,
389
);
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
3
25
,
446
);
this
.
groupBox5
.
TabIndex
=
255
;
this
.
groupBox5
.
TabIndex
=
255
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
Text
=
"IO操作测试"
;
this
.
groupBox5
.
Text
=
"IO操作测试"
;
...
@@ -654,9 +655,9 @@
...
@@ -654,9 +655,9 @@
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblThisSta
.
ForeColor
=
System
.
Drawing
.
Color
.
Red
;
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
21
);
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
14
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
8
81
,
330
);
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
8
44
,
330
);
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
...
@@ -725,7 +726,7 @@
...
@@ -725,7 +726,7 @@
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
52
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
52
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
307
,
526
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
270
,
583
);
this
.
tabControl1
.
TabIndex
=
257
;
this
.
tabControl1
.
TabIndex
=
257
;
//
//
// tabPage3
// tabPage3
...
@@ -733,7 +734,7 @@
...
@@ -733,7 +734,7 @@
this
.
tabPage3
.
Controls
.
Add
(
this
.
groupBox6
);
this
.
tabPage3
.
Controls
.
Add
(
this
.
groupBox6
);
this
.
tabPage3
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage3
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage3
.
Name
=
"tabPage3"
;
this
.
tabPage3
.
Name
=
"tabPage3"
;
this
.
tabPage3
.
Size
=
new
System
.
Drawing
.
Size
(
12
99
,
496
);
this
.
tabPage3
.
Size
=
new
System
.
Drawing
.
Size
(
12
62
,
553
);
this
.
tabPage3
.
TabIndex
=
2
;
this
.
tabPage3
.
TabIndex
=
2
;
this
.
tabPage3
.
Text
=
"状态信息"
;
this
.
tabPage3
.
Text
=
"状态信息"
;
this
.
tabPage3
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage3
.
UseVisualStyleBackColor
=
true
;
...
@@ -752,7 +753,7 @@
...
@@ -752,7 +753,7 @@
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
12
93
,
497
);
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
12
56
,
554
);
this
.
groupBox6
.
TabIndex
=
278
;
this
.
groupBox6
.
TabIndex
=
278
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"消息"
;
this
.
groupBox6
.
Text
=
"消息"
;
...
@@ -821,7 +822,7 @@
...
@@ -821,7 +822,7 @@
this
.
lblInstoreList
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblInstoreList
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
258
);
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
406
,
258
);
this
.
lblInstoreList
.
Name
=
"lblInstoreList"
;
this
.
lblInstoreList
.
Name
=
"lblInstoreList"
;
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
720
,
109
);
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
683
,
109
);
this
.
lblInstoreList
.
TabIndex
=
277
;
this
.
lblInstoreList
.
TabIndex
=
277
;
//
//
// tabPage1
// tabPage1
...
@@ -835,7 +836,7 @@
...
@@ -835,7 +836,7 @@
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
12
99
,
496
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
12
62
,
553
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
" IO列表 "
;
this
.
tabPage1
.
Text
=
" IO列表 "
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
...
@@ -847,7 +848,7 @@
...
@@ -847,7 +848,7 @@
this
.
groupBox7
.
Controls
.
Add
(
this
.
tableLayoutPanel3
);
this
.
groupBox7
.
Controls
.
Add
(
this
.
tableLayoutPanel3
);
this
.
groupBox7
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
1
);
this
.
groupBox7
.
Location
=
new
System
.
Drawing
.
Point
(
232
,
1
);
this
.
groupBox7
.
Name
=
"groupBox7"
;
this
.
groupBox7
.
Name
=
"groupBox7"
;
this
.
groupBox7
.
Size
=
new
System
.
Drawing
.
Size
(
220
,
491
);
this
.
groupBox7
.
Size
=
new
System
.
Drawing
.
Size
(
220
,
548
);
this
.
groupBox7
.
TabIndex
=
279
;
this
.
groupBox7
.
TabIndex
=
279
;
this
.
groupBox7
.
TabStop
=
false
;
this
.
groupBox7
.
TabStop
=
false
;
this
.
groupBox7
.
Text
=
"DI列表"
;
this
.
groupBox7
.
Text
=
"DI列表"
;
...
@@ -864,7 +865,7 @@
...
@@ -864,7 +865,7 @@
this
.
tableLayoutPanel3
.
RowCount
=
2
;
this
.
tableLayoutPanel3
.
RowCount
=
2
;
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel3
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel3
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
471
);
this
.
tableLayoutPanel3
.
Size
=
new
System
.
Drawing
.
Size
(
209
,
528
);
this
.
tableLayoutPanel3
.
TabIndex
=
102
;
this
.
tableLayoutPanel3
.
TabIndex
=
102
;
//
//
// groupBox8
// groupBox8
...
@@ -874,7 +875,7 @@
...
@@ -874,7 +875,7 @@
this
.
groupBox8
.
Controls
.
Add
(
this
.
tableLayoutPanel4
);
this
.
groupBox8
.
Controls
.
Add
(
this
.
tableLayoutPanel4
);
this
.
groupBox8
.
Location
=
new
System
.
Drawing
.
Point
(
685
,
1
);
this
.
groupBox8
.
Location
=
new
System
.
Drawing
.
Point
(
685
,
1
);
this
.
groupBox8
.
Name
=
"groupBox8"
;
this
.
groupBox8
.
Name
=
"groupBox8"
;
this
.
groupBox8
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
389
);
this
.
groupBox8
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
446
);
this
.
groupBox8
.
TabIndex
=
280
;
this
.
groupBox8
.
TabIndex
=
280
;
this
.
groupBox8
.
TabStop
=
false
;
this
.
groupBox8
.
TabStop
=
false
;
this
.
groupBox8
.
Text
=
"DO列表"
;
this
.
groupBox8
.
Text
=
"DO列表"
;
...
@@ -891,7 +892,7 @@
...
@@ -891,7 +892,7 @@
this
.
tableLayoutPanel4
.
RowCount
=
2
;
this
.
tableLayoutPanel4
.
RowCount
=
2
;
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel4
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel4
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
369
);
this
.
tableLayoutPanel4
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
426
);
this
.
tableLayoutPanel4
.
TabIndex
=
103
;
this
.
tableLayoutPanel4
.
TabIndex
=
103
;
//
//
// tabPage2
// tabPage2
...
@@ -903,7 +904,7 @@
...
@@ -903,7 +904,7 @@
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage2
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
12
99
,
496
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
12
62
,
553
);
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
Text
=
" 伺服信息 "
;
this
.
tabPage2
.
Text
=
" 伺服信息 "
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
...
@@ -1294,6 +1295,7 @@
...
@@ -1294,6 +1295,7 @@
//
//
this
.
panel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
panel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
panel1
.
Controls
.
Add
(
this
.
btnClose
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbBoxSendShelf
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbBoxSendShelf
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbMoveStop
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbMoveStop
);
this
.
panel1
.
Controls
.
Add
(
this
.
lblName
);
this
.
panel1
.
Controls
.
Add
(
this
.
lblName
);
...
@@ -1305,9 +1307,22 @@
...
@@ -1305,9 +1307,22 @@
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
306
,
47
);
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
269
,
47
);
this
.
panel1
.
TabIndex
=
258
;
this
.
panel1
.
TabIndex
=
258
;
//
//
// btnClose
//
this
.
btnClose
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClose
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClose
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnClose
.
Location
=
new
System
.
Drawing
.
Point
(
1150
,
3
);
this
.
btnClose
.
Name
=
"btnClose"
;
this
.
btnClose
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnClose
.
TabIndex
=
259
;
this
.
btnClose
.
Text
=
"返回"
;
this
.
btnClose
.
UseVisualStyleBackColor
=
false
;
this
.
btnClose
.
Click
+=
new
System
.
EventHandler
(
this
.
btnClose_Click
);
//
// chbBoxSendShelf
// chbBoxSendShelf
//
//
this
.
chbBoxSendShelf
.
AutoSize
=
true
;
this
.
chbBoxSendShelf
.
AutoSize
=
true
;
...
@@ -1361,7 +1376,7 @@
...
@@ -1361,7 +1376,7 @@
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
318
,
582
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
281
,
639
);
this
.
Controls
.
Add
(
this
.
panel1
);
this
.
Controls
.
Add
(
this
.
panel1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
...
@@ -1491,6 +1506,7 @@
...
@@ -1491,6 +1506,7 @@
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbDSize
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbDSize
;
private
System
.
Windows
.
Forms
.
Label
label1
;
private
System
.
Windows
.
Forms
.
Label
label1
;
private
System
.
Windows
.
Forms
.
Button
btnClose
;
}
}
}
}
source/AssemblyLineClient/FrmFeedingEquip.cs
查看文件 @
b5264ed
...
@@ -35,7 +35,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -35,7 +35,7 @@ namespace OnlineStore.AssemblyLine
private
void
LoadIOList
()
private
void
LoadIOList
()
{
{
int
maxCount
=
16
;
int
maxCount
=
20
;
int
roleindex
=
0
;
int
roleindex
=
0
;
this
.
tableLayoutPanel1
.
RowStyles
.
Clear
();
this
.
tableLayoutPanel1
.
RowStyles
.
Clear
();
this
.
tableLayoutPanel1
.
RowCount
=
maxCount
;
this
.
tableLayoutPanel1
.
RowCount
=
maxCount
;
...
@@ -288,7 +288,8 @@ namespace OnlineStore.AssemblyLine
...
@@ -288,7 +288,8 @@ namespace OnlineStore.AssemblyLine
txtBp1
.
Text
=
equipBean
.
Config
.
BatchAxisP1
.
ToString
();
txtBp1
.
Text
=
equipBean
.
Config
.
BatchAxisP1
.
ToString
();
txtBP2
.
Text
=
equipBean
.
Config
.
BatchAxisP2
.
ToString
();
txtBP2
.
Text
=
equipBean
.
Config
.
BatchAxisP2
.
ToString
();
txtBP3
.
Text
=
equipBean
.
Config
.
BatchAxisP3
.
ToString
();
txtBP3
.
Text
=
equipBean
.
Config
.
BatchAxisP3
.
ToString
();
lblName
.
Text
=
equipBean
.
Name
;
lblName
.
Text
=
equipBean
.
Name
;
this
.
Text
=
equipBean
.
Name
;
chbBoxSendShelf
.
Visible
=
equipBean
.
Config
.
IsCanOut
.
Equals
(
1
);
chbBoxSendShelf
.
Visible
=
equipBean
.
Config
.
IsCanOut
.
Equals
(
1
);
chbBoxSendShelf
.
Checked
=
equipBean
.
OutEndSendShelfOut
;
chbBoxSendShelf
.
Checked
=
equipBean
.
OutEndSendShelfOut
;
IsLoad
=
true
;
IsLoad
=
true
;
...
@@ -749,6 +750,11 @@ namespace OnlineStore.AssemblyLine
...
@@ -749,6 +750,11 @@ namespace OnlineStore.AssemblyLine
}
}
}
}
private
void
btnClose_Click
(
object
sender
,
EventArgs
e
)
{
this
.
Close
();
}
}
}
}
}
...
...
source/AssemblyLineClient/Frm
Providing
Equip.Designer.cs
→
source/AssemblyLineClient/Frm
HY
Equip.Designer.cs
查看文件 @
b5264ed
namespace
OnlineStore.AssemblyLine
namespace
OnlineStore.AssemblyLine
{
{
partial
class
Frm
Providing
Equip
partial
class
Frm
HY
Equip
{
{
/// <summary>
/// <summary>
/// 必需的设计器变量。
/// 必需的设计器变量。
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
this
.
components
=
new
System
.
ComponentModel
.
Container
();
this
.
components
=
new
System
.
ComponentModel
.
Container
();
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
Frm
Providing
Equip
));
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
Frm
HY
Equip
));
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
txtDOIndex
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtDOIndex
=
new
System
.
Windows
.
Forms
.
TextBox
();
...
@@ -502,7 +502,7 @@
...
@@ -502,7 +502,7 @@
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
62
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
62
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
307
,
466
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
173
,
545
);
this
.
tabControl1
.
TabIndex
=
257
;
this
.
tabControl1
.
TabIndex
=
257
;
//
//
// tabPage1
// tabPage1
...
@@ -577,7 +577,7 @@
...
@@ -577,7 +577,7 @@
this
.
tabPage2
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
axisMoveControl1
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1
299
,
436
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1
165
,
515
);
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
Text
=
"伺服调试"
;
this
.
tabPage2
.
Text
=
"伺服调试"
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
...
@@ -592,7 +592,7 @@
...
@@ -592,7 +592,7 @@
this
.
groupDetial
.
Controls
.
Add
(
this
.
label2
);
this
.
groupDetial
.
Controls
.
Add
(
this
.
label2
);
this
.
groupDetial
.
Controls
.
Add
(
this
.
cmbDSize
);
this
.
groupDetial
.
Controls
.
Add
(
this
.
cmbDSize
);
this
.
groupDetial
.
Controls
.
Add
(
this
.
label1
);
this
.
groupDetial
.
Controls
.
Add
(
this
.
label1
);
this
.
groupDetial
.
Location
=
new
System
.
Drawing
.
Point
(
753
,
179
);
this
.
groupDetial
.
Location
=
new
System
.
Drawing
.
Point
(
577
,
180
);
this
.
groupDetial
.
Name
=
"groupDetial"
;
this
.
groupDetial
.
Name
=
"groupDetial"
;
this
.
groupDetial
.
Size
=
new
System
.
Drawing
.
Size
(
537
,
205
);
this
.
groupDetial
.
Size
=
new
System
.
Drawing
.
Size
(
537
,
205
);
this
.
groupDetial
.
TabIndex
=
318
;
this
.
groupDetial
.
TabIndex
=
318
;
...
@@ -705,7 +705,7 @@
...
@@ -705,7 +705,7 @@
this
.
groupBox2
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnP2
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnP2
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
txtP2
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
txtP2
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
753
,
5
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
577
,
6
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
538
,
168
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
538
,
168
);
this
.
groupBox2
.
TabIndex
=
219
;
this
.
groupBox2
.
TabIndex
=
219
;
...
@@ -840,10 +840,10 @@
...
@@ -840,10 +840,10 @@
//
//
// axisMoveControl1
// axisMoveControl1
//
//
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
5
);
this
.
axisMoveControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
3
);
this
.
axisMoveControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
axisMoveControl1
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
3
,
4
,
3
,
4
);
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Name
=
"axisMoveControl1"
;
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
744
,
349
);
this
.
axisMoveControl1
.
Size
=
new
System
.
Drawing
.
Size
(
566
,
427
);
this
.
axisMoveControl1
.
TabIndex
=
0
;
this
.
axisMoveControl1
.
TabIndex
=
0
;
//
//
// panel1
// panel1
...
@@ -859,7 +859,7 @@
...
@@ -859,7 +859,7 @@
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
306
,
58
);
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
172
,
58
);
this
.
panel1
.
TabIndex
=
258
;
this
.
panel1
.
TabIndex
=
258
;
//
//
// lblName
// lblName
...
@@ -871,20 +871,20 @@
...
@@ -871,20 +871,20 @@
this
.
lblName
.
Name
=
"lblName"
;
this
.
lblName
.
Name
=
"lblName"
;
this
.
lblName
.
Size
=
new
System
.
Drawing
.
Size
(
180
,
40
);
this
.
lblName
.
Size
=
new
System
.
Drawing
.
Size
(
180
,
40
);
this
.
lblName
.
TabIndex
=
259
;
this
.
lblName
.
TabIndex
=
259
;
this
.
lblName
.
Text
=
"
出料流水线
"
;
this
.
lblName
.
Text
=
"
HY
"
;
this
.
lblName
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
lblName
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
//
//
// Frm
Providing
Equip
// Frm
HY
Equip
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
318
,
532
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
184
,
611
);
this
.
Controls
.
Add
(
this
.
panel1
);
this
.
Controls
.
Add
(
this
.
panel1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
MaximizeBox
=
false
;
this
.
MaximizeBox
=
false
;
this
.
MinimizeBox
=
false
;
this
.
MinimizeBox
=
false
;
this
.
Name
=
"Frm
Providing
Equip"
;
this
.
Name
=
"Frm
HY
Equip"
;
this
.
Text
=
"出料移栽——"
;
this
.
Text
=
"出料移栽——"
;
this
.
FormClosing
+=
new
System
.
Windows
.
Forms
.
FormClosingEventHandler
(
this
.
FrmTest_FormClosing
);
this
.
FormClosing
+=
new
System
.
Windows
.
Forms
.
FormClosingEventHandler
(
this
.
FrmTest_FormClosing
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmStoreIOStatus_Load
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmStoreIOStatus_Load
);
...
...
source/AssemblyLineClient/Frm
Providing
Equip.cs
→
source/AssemblyLineClient/Frm
HY
Equip.cs
查看文件 @
b5264ed
...
@@ -20,11 +20,11 @@ using OnlineStore.Common;
...
@@ -20,11 +20,11 @@ using OnlineStore.Common;
namespace
OnlineStore.AssemblyLine
namespace
OnlineStore.AssemblyLine
{
{
internal
partial
class
Frm
Providing
Equip
:
FrmEquipBase
internal
partial
class
Frm
HY
Equip
:
FrmEquipBase
{
{
private
bool
IsLoad
=
false
;
private
bool
IsLoad
=
false
;
private
ProvidingEquip
equipBean
;
private
HYEquipBase
equipBean
;
internal
Frm
ProvidingEquip
(
ProvidingEquip
moveEquip
)
internal
Frm
HYEquip
(
HYEquipBase
moveEquip
)
{
{
equipBase
=
moveEquip
;
equipBase
=
moveEquip
;
this
.
equipBean
=
moveEquip
;
this
.
equipBean
=
moveEquip
;
...
@@ -61,6 +61,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -61,6 +61,7 @@ namespace OnlineStore.AssemblyLine
lblStoreStatus
.
Text
=
KTK_Store
.
GetRunStr
(
equipBean
.
lineStatus
,
equipBean
.
runStatus
);
lblStoreStatus
.
Text
=
KTK_Store
.
GetRunStr
(
equipBean
.
lineStatus
,
equipBean
.
runStatus
);
lblThisSta
.
Text
=
equipBean
.
WarnMsg
;
lblThisSta
.
Text
=
equipBean
.
WarnMsg
;
lblName
.
Text
=
equipBean
.
Name
;
lblName
.
Text
=
equipBean
.
Name
;
this
.
Text
=
equipBean
.
Name
;
txtP1
.
Text
=
equipBean
.
Config
.
UpDownAxisP1
.
ToString
();
txtP1
.
Text
=
equipBean
.
Config
.
UpDownAxisP1
.
ToString
();
IsLoad
=
true
;
IsLoad
=
true
;
}
}
...
@@ -299,7 +300,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -299,7 +300,7 @@ namespace OnlineStore.AssemblyLine
{
{
equipBean
.
IsDebug
=
true
;
equipBean
.
IsDebug
=
true
;
equipBean
.
Config
.
IsDebug
=
1
;
equipBean
.
Config
.
IsDebug
=
1
;
LineManager
.
Save
Providing
EquipConfig
(
equipBean
.
Config
);
LineManager
.
Save
HY
EquipConfig
(
equipBean
.
Config
);
equipBean
.
ChangeDebug
(
true
);
equipBean
.
ChangeDebug
(
true
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换到调试状态 "
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换到调试状态 "
);
}
}
...
@@ -314,7 +315,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -314,7 +315,7 @@ namespace OnlineStore.AssemblyLine
{
{
equipBean
.
IsDebug
=
false
;
equipBean
.
IsDebug
=
false
;
equipBean
.
Config
.
IsDebug
=
0
;
equipBean
.
Config
.
IsDebug
=
0
;
LineManager
.
Save
Providing
EquipConfig
(
equipBean
.
Config
);
LineManager
.
Save
HY
EquipConfig
(
equipBean
.
Config
);
equipBean
.
ChangeDebug
(
false
);
equipBean
.
ChangeDebug
(
false
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换到正常工作状态 "
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户切换到正常工作状态 "
);
}
}
...
@@ -337,11 +338,11 @@ namespace OnlineStore.AssemblyLine
...
@@ -337,11 +338,11 @@ namespace OnlineStore.AssemblyLine
private
void
btnStop1Up_Click
(
object
sender
,
EventArgs
e
)
private
void
btnStop1Up_Click
(
object
sender
,
EventArgs
e
)
{
{
BtnMove
(
btnStop1Up
,
"阻挡1下降"
,
"阻挡1上升"
,
IO_Type
.
Stop
Cylinder_
Down1
);
BtnMove
(
btnStop1Up
,
"阻挡1下降"
,
"阻挡1上升"
,
IO_Type
.
StopDown1
);
}
}
private
void
btnStop2Up_Click
(
object
sender
,
EventArgs
e
)
private
void
btnStop2Up_Click
(
object
sender
,
EventArgs
e
)
{
{
BtnMove
(
btnStop2Up
,
"阻挡2下降"
,
"阻挡2上升"
,
IO_Type
.
Stop
Cylinder_
Down2
);
BtnMove
(
btnStop2Up
,
"阻挡2下降"
,
"阻挡2上升"
,
IO_Type
.
StopDown2
);
}
}
private
void
btnTopUp_Click
(
object
sender
,
EventArgs
e
)
private
void
btnTopUp_Click
(
object
sender
,
EventArgs
e
)
...
@@ -351,14 +352,14 @@ namespace OnlineStore.AssemblyLine
...
@@ -351,14 +352,14 @@ namespace OnlineStore.AssemblyLine
private
void
btnBeforeAfterBefore_Click
(
object
sender
,
EventArgs
e
)
private
void
btnBeforeAfterBefore_Click
(
object
sender
,
EventArgs
e
)
{
{
if
(
equipBean
.
CanBeforeAfter
())
//
if (equipBean.CanBeforeAfter())
{
//
{
BtnMove
(
btnBeforeAfterBefore
,
"横移前进"
,
"横移后退"
,
IO_Type
.
BeforeAfterCylinder_After
,
IO_Type
.
BeforeAfterCylinder_Before
);
//
BtnMove(btnBeforeAfterBefore, "横移前进", "横移后退", IO_Type.BeforeAfterCylinder_After, IO_Type.BeforeAfterCylinder_Before);
}
//
}
else
//
else
{
//
{
MessageBox
.
Show
(
"升降气缸不在上升端 或 升降轴不在待机点P1"
,
"错误"
,
MessageBoxButtons
.
OK
,
MessageBoxIcon
.
Error
);
//
MessageBox.Show("升降气缸不在上升端 或 升降轴不在待机点P1", "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
//
}
}
}
private
void
btnUpDownUp_Click
(
object
sender
,
EventArgs
e
)
private
void
btnUpDownUp_Click
(
object
sender
,
EventArgs
e
)
...
@@ -367,7 +368,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -367,7 +368,7 @@ namespace OnlineStore.AssemblyLine
}
}
private
void
btnClampSlack_Click
(
object
sender
,
EventArgs
e
)
private
void
btnClampSlack_Click
(
object
sender
,
EventArgs
e
)
{
{
BtnMove
(
btnClampSlack
,
"夹料夹紧"
,
"夹料放松"
,
IO_Type
.
ClampCylinder_
Tighten
,
IO_Type
.
ClampCylinder_Slac
k
);
BtnMove
(
btnClampSlack
,
"夹料夹紧"
,
"夹料放松"
,
IO_Type
.
ClampCylinder_
Relax
,
IO_Type
.
ClampCylinder_Wor
k
);
}
}
private
void
btnCloseAll_Click
(
object
sender
,
EventArgs
e
)
private
void
btnCloseAll_Click
(
object
sender
,
EventArgs
e
)
{
{
...
@@ -440,7 +441,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -440,7 +441,7 @@ namespace OnlineStore.AssemblyLine
int
sizeBoxP
=
FormUtil
.
GetIntValue
(
txtP3
);
int
sizeBoxP
=
FormUtil
.
GetIntValue
(
txtP3
);
equipBean
.
Config
.
UpdateUpdownP2
(
size
,
sizePosition
);
equipBean
.
Config
.
UpdateUpdownP2
(
size
,
sizePosition
);
equipBean
.
Config
.
UpdateUpdownP3
(
size
,
sizeBoxP
);
equipBean
.
Config
.
UpdateUpdownP3
(
size
,
sizeBoxP
);
LineManager
.
Save
Providing
EquipConfig
(
equipBean
.
Config
);
LineManager
.
Save
HY
EquipConfig
(
equipBean
.
Config
);
MessageBox
.
Show
(
"保存成功!"
);
MessageBox
.
Show
(
"保存成功!"
);
}
}
...
@@ -478,7 +479,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -478,7 +479,7 @@ namespace OnlineStore.AssemblyLine
if
(
result
.
Equals
(
DialogResult
.
OK
))
if
(
result
.
Equals
(
DialogResult
.
OK
))
{
{
equipBean
.
Config
.
UpdateUpdownP2Detial
(
size
,
height
,
position
);
equipBean
.
Config
.
UpdateUpdownP2Detial
(
size
,
height
,
position
);
LineManager
.
Save
Providing
EquipConfig
(
equipBean
.
Config
);
LineManager
.
Save
HY
EquipConfig
(
equipBean
.
Config
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户操作:尺寸:"
+
size
+
",高度:"
+
height
+
",P2值:"
+
position
+
",保存成功"
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户操作:尺寸:"
+
size
+
",高度:"
+
height
+
",P2值:"
+
position
+
",保存成功"
);
MessageBox
.
Show
(
"保存成功!"
);
MessageBox
.
Show
(
"保存成功!"
);
...
...
source/AssemblyLineClient/Frm
Providing
Equip.resx
→
source/AssemblyLineClient/Frm
HY
Equip.resx
查看文件 @
b5264ed
文件被删除
source/AssemblyLineClient/FrmIOTest.Designer.cs
查看文件 @
b5264ed
...
@@ -52,9 +52,9 @@
...
@@ -52,9 +52,9 @@
this
.
groupBox2
.
Controls
.
Add
(
this
.
label3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
label3
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
label4
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
comboBox2
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
comboBox2
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
589
,
4
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
617
,
4
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
6
57
,
564
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
6
84
,
564
);
this
.
groupBox2
.
TabIndex
=
291
;
this
.
groupBox2
.
TabIndex
=
291
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Text
=
"设备IO列表对比"
;
this
.
groupBox2
.
Text
=
"设备IO列表对比"
;
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
//
//
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label3
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
282
,
48
);
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
313
,
47
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
31
,
17
);
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
31
,
17
);
this
.
label3
.
TabIndex
=
293
;
this
.
label3
.
TabIndex
=
293
;
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
//
//
this
.
label4
.
AutoSize
=
true
;
this
.
label4
.
AutoSize
=
true
;
this
.
label4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label4
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label4
.
Location
=
new
System
.
Drawing
.
Point
(
23
,
4
8
);
this
.
label4
.
Location
=
new
System
.
Drawing
.
Point
(
23
,
4
7
);
this
.
label4
.
Name
=
"label4"
;
this
.
label4
.
Name
=
"label4"
;
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
31
,
17
);
this
.
label4
.
Size
=
new
System
.
Drawing
.
Size
(
31
,
17
);
this
.
label4
.
TabIndex
=
292
;
this
.
label4
.
TabIndex
=
292
;
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
comboBox1
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
comboBox1
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
4
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
579
,
564
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
606
,
564
);
this
.
groupBox1
.
TabIndex
=
290
;
this
.
groupBox1
.
TabIndex
=
290
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"设备IO列表"
;
this
.
groupBox1
.
Text
=
"设备IO列表"
;
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
//
//
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
AutoSize
=
true
;
this
.
label2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
282
,
47
);
this
.
label2
.
Location
=
new
System
.
Drawing
.
Point
(
313
,
47
);
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Name
=
"label2"
;
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
31
,
17
);
this
.
label2
.
Size
=
new
System
.
Drawing
.
Size
(
31
,
17
);
this
.
label2
.
TabIndex
=
291
;
this
.
label2
.
TabIndex
=
291
;
...
...
source/AssemblyLineClient/FrmIOTest.cs
查看文件 @
b5264ed
...
@@ -40,13 +40,13 @@ namespace OnlineStore.AssemblyLine
...
@@ -40,13 +40,13 @@ namespace OnlineStore.AssemblyLine
label2
.
Text
=
""
;
label2
.
Text
=
""
;
foreach
(
ConfigIO
ioValue
in
DIList
)
foreach
(
ConfigIO
ioValue
in
DIList
)
{
{
label1
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"\r\n"
;
label1
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"
_"
+
ioValue
.
ProName
+
"
\r\n"
;
}
}
foreach
(
ConfigIO
ioValue
in
DOList
)
foreach
(
ConfigIO
ioValue
in
DOList
)
{
{
label2
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"\r\n"
;
label2
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"_"
+
ioValue
.
ProName
+
"\r\n"
;
}
}
this
.
SuspendLayout
();
//此处为不闪屏,一定要有的!
this
.
SuspendLayout
();
//此处为不闪屏,一定要有的!
}
}
...
@@ -62,13 +62,13 @@ namespace OnlineStore.AssemblyLine
...
@@ -62,13 +62,13 @@ namespace OnlineStore.AssemblyLine
label4
.
Text
=
""
;
label4
.
Text
=
""
;
foreach
(
ConfigIO
ioValue
in
DIList
)
foreach
(
ConfigIO
ioValue
in
DIList
)
{
{
label4
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"\r\n"
;
label4
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"_"
+
ioValue
.
ProName
+
"\r\n"
;
}
}
foreach
(
ConfigIO
ioValue
in
DOList
)
foreach
(
ConfigIO
ioValue
in
DOList
)
{
{
label3
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"\r\n"
;
label3
.
Text
+=
ioValue
.
ElectricalDefinition
+
"_"
+
ioValue
.
Explain
+
"_"
+
ioValue
.
ProName
+
"\r\n"
;
}
}
this
.
SuspendLayout
();
//此处为不闪屏,一定要有的!
this
.
SuspendLayout
();
//此处为不闪屏,一定要有的!
}
}
...
...
source/AssemblyLineClient/FrmLineStore.Designer.cs
查看文件 @
b5264ed
...
@@ -29,10 +29,6 @@
...
@@ -29,10 +29,6 @@
private
void
InitializeComponent
()
private
void
InitializeComponent
()
{
{
this
.
components
=
new
System
.
ComponentModel
.
Container
();
this
.
components
=
new
System
.
ComponentModel
.
Container
();
System
.
Windows
.
Forms
.
TreeNode
treeNode1
=
new
System
.
Windows
.
Forms
.
TreeNode
(
"D移栽机构"
);
System
.
Windows
.
Forms
.
TreeNode
treeNode2
=
new
System
.
Windows
.
Forms
.
TreeNode
(
"T上料机构"
);
System
.
Windows
.
Forms
.
TreeNode
treeNode3
=
new
System
.
Windows
.
Forms
.
TreeNode
(
"J接驳台横移"
);
System
.
Windows
.
Forms
.
TreeNode
treeNode4
=
new
System
.
Windows
.
Forms
.
TreeNode
(
"HY横移模块"
);
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
FrmLineStore
));
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
FrmLineStore
));
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
...
@@ -43,10 +39,7 @@
...
@@ -43,10 +39,7 @@
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
groupBox2
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
chbShunt
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbShunt
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbTrayCheck
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbTrayCheck
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbBuzzer
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
btnClearLog
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnClearLog
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
chbAGV
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
chbAutoRun
=
new
System
.
Windows
.
Forms
.
CheckBox
();
this
.
listView1
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
listView1
=
new
System
.
Windows
.
Forms
.
ListView
();
this
.
logBox
=
new
System
.
Windows
.
Forms
.
RichTextBox
();
this
.
logBox
=
new
System
.
Windows
.
Forms
.
RichTextBox
();
this
.
lblCID
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblCID
=
new
System
.
Windows
.
Forms
.
Label
();
...
@@ -71,7 +64,11 @@
...
@@ -71,7 +64,11 @@
this
.
button2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
button1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tabPage2
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
tabPage2
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
treeView1
=
new
System
.
Windows
.
Forms
.
TreeView
();
this
.
panel2
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
tableLayoutPanel1
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
tabPage3
=
new
System
.
Windows
.
Forms
.
TabPage
();
this
.
panel3
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
tableLayoutPanel2
=
new
System
.
Windows
.
Forms
.
TableLayoutPanel
();
this
.
lblStatus
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblStatus
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblWarnMsg
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
notifyIcon1
=
new
System
.
Windows
.
Forms
.
NotifyIcon
(
this
.
components
);
this
.
notifyIcon1
=
new
System
.
Windows
.
Forms
.
NotifyIcon
(
this
.
components
);
...
@@ -125,6 +122,9 @@
...
@@ -125,6 +122,9 @@
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox3
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
tabPage2
.
SuspendLayout
();
this
.
tabPage2
.
SuspendLayout
();
this
.
panel2
.
SuspendLayout
();
this
.
tabPage3
.
SuspendLayout
();
this
.
panel3
.
SuspendLayout
();
this
.
contextMenuStrip1
.
SuspendLayout
();
this
.
contextMenuStrip1
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
menuStrip1
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
...
@@ -136,6 +136,7 @@
...
@@ -136,6 +136,7 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage1
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage2
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage2
);
this
.
tabControl1
.
Controls
.
Add
(
this
.
tabPage3
);
this
.
tabControl1
.
DrawMode
=
System
.
Windows
.
Forms
.
TabDrawMode
.
OwnerDrawFixed
;
this
.
tabControl1
.
DrawMode
=
System
.
Windows
.
Forms
.
TabDrawMode
.
OwnerDrawFixed
;
this
.
tabControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabControl1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
81
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
81
);
...
@@ -168,7 +169,7 @@
...
@@ -168,7 +169,7 @@
this
.
panel1
.
Controls
.
Add
(
this
.
chbShunt2
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbShunt2
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnShunt2Reset
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnShunt2Reset
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnShuntReset
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnShuntReset
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
7
20
,
4
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
7
57
,
7
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
157
);
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
179
,
157
);
this
.
panel1
.
TabIndex
=
199
;
this
.
panel1
.
TabIndex
=
199
;
...
@@ -213,14 +214,11 @@
...
@@ -213,14 +214,11 @@
//
//
this
.
groupBox2
.
Controls
.
Add
(
this
.
chbShunt
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
chbShunt
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
chbTrayCheck
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
chbTrayCheck
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
chbBuzzer
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnClearLog
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
btnClearLog
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
chbAGV
);
this
.
groupBox2
.
Controls
.
Add
(
this
.
chbAutoRun
);
this
.
groupBox2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox2
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
395
,
32
);
this
.
groupBox2
.
Location
=
new
System
.
Drawing
.
Point
(
555
,
26
);
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Name
=
"groupBox2"
;
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
298
,
117
);
this
.
groupBox2
.
Size
=
new
System
.
Drawing
.
Size
(
131
,
117
);
this
.
groupBox2
.
TabIndex
=
196
;
this
.
groupBox2
.
TabIndex
=
196
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
TabStop
=
false
;
this
.
groupBox2
.
Visible
=
false
;
this
.
groupBox2
.
Visible
=
false
;
...
@@ -229,7 +227,7 @@
...
@@ -229,7 +227,7 @@
//
//
this
.
chbShunt
.
AutoSize
=
true
;
this
.
chbShunt
.
AutoSize
=
true
;
this
.
chbShunt
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbShunt
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbShunt
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
77
);
this
.
chbShunt
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
44
);
this
.
chbShunt
.
Name
=
"chbShunt"
;
this
.
chbShunt
.
Name
=
"chbShunt"
;
this
.
chbShunt
.
Size
=
new
System
.
Drawing
.
Size
(
130
,
21
);
this
.
chbShunt
.
Size
=
new
System
.
Drawing
.
Size
(
130
,
21
);
this
.
chbShunt
.
TabIndex
=
200
;
this
.
chbShunt
.
TabIndex
=
200
;
...
@@ -241,7 +239,7 @@
...
@@ -241,7 +239,7 @@
//
//
this
.
chbTrayCheck
.
AutoSize
=
true
;
this
.
chbTrayCheck
.
AutoSize
=
true
;
this
.
chbTrayCheck
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbTrayCheck
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbTrayCheck
.
Location
=
new
System
.
Drawing
.
Point
(
154
,
17
);
this
.
chbTrayCheck
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
17
);
this
.
chbTrayCheck
.
Name
=
"chbTrayCheck"
;
this
.
chbTrayCheck
.
Name
=
"chbTrayCheck"
;
this
.
chbTrayCheck
.
Size
=
new
System
.
Drawing
.
Size
(
123
,
21
);
this
.
chbTrayCheck
.
Size
=
new
System
.
Drawing
.
Size
(
123
,
21
);
this
.
chbTrayCheck
.
TabIndex
=
197
;
this
.
chbTrayCheck
.
TabIndex
=
197
;
...
@@ -250,23 +248,11 @@
...
@@ -250,23 +248,11 @@
this
.
chbTrayCheck
.
Visible
=
false
;
this
.
chbTrayCheck
.
Visible
=
false
;
this
.
chbTrayCheck
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbTrayCheck_CheckedChanged
);
this
.
chbTrayCheck
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbTrayCheck_CheckedChanged
);
//
//
// chbBuzzer
//
this
.
chbBuzzer
.
AutoSize
=
true
;
this
.
chbBuzzer
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbBuzzer
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
47
);
this
.
chbBuzzer
.
Name
=
"chbBuzzer"
;
this
.
chbBuzzer
.
Size
=
new
System
.
Drawing
.
Size
(
87
,
21
);
this
.
chbBuzzer
.
TabIndex
=
196
;
this
.
chbBuzzer
.
Text
=
"启用蜂鸣器"
;
this
.
chbBuzzer
.
UseVisualStyleBackColor
=
true
;
this
.
chbBuzzer
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbBuzzer_CheckedChanged
);
//
// btnClearLog
// btnClearLog
//
//
this
.
btnClearLog
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClearLog
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClearLog
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClearLog
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClearLog
.
Location
=
new
System
.
Drawing
.
Point
(
154
,
77
);
this
.
btnClearLog
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
77
);
this
.
btnClearLog
.
Name
=
"btnClearLog"
;
this
.
btnClearLog
.
Name
=
"btnClearLog"
;
this
.
btnClearLog
.
Size
=
new
System
.
Drawing
.
Size
(
85
,
35
);
this
.
btnClearLog
.
Size
=
new
System
.
Drawing
.
Size
(
85
,
35
);
this
.
btnClearLog
.
TabIndex
=
190
;
this
.
btnClearLog
.
TabIndex
=
190
;
...
@@ -274,31 +260,6 @@
...
@@ -274,31 +260,6 @@
this
.
btnClearLog
.
UseVisualStyleBackColor
=
false
;
this
.
btnClearLog
.
UseVisualStyleBackColor
=
false
;
this
.
btnClearLog
.
Click
+=
new
System
.
EventHandler
(
this
.
btnClearLog_Click
);
this
.
btnClearLog
.
Click
+=
new
System
.
EventHandler
(
this
.
btnClearLog_Click
);
//
//
// chbAGV
//
this
.
chbAGV
.
AutoSize
=
true
;
this
.
chbAGV
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAGV
.
Location
=
new
System
.
Drawing
.
Point
(
154
,
47
);
this
.
chbAGV
.
Name
=
"chbAGV"
;
this
.
chbAGV
.
Size
=
new
System
.
Drawing
.
Size
(
121
,
21
);
this
.
chbAGV
.
TabIndex
=
198
;
this
.
chbAGV
.
Text
=
"AGV cancelState"
;
this
.
chbAGV
.
UseVisualStyleBackColor
=
true
;
this
.
chbAGV
.
Visible
=
false
;
this
.
chbAGV
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
checkBox1_CheckedChanged
);
//
// chbAutoRun
//
this
.
chbAutoRun
.
AutoSize
=
true
;
this
.
chbAutoRun
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
chbAutoRun
.
Location
=
new
System
.
Drawing
.
Point
(
8
,
17
);
this
.
chbAutoRun
.
Name
=
"chbAutoRun"
;
this
.
chbAutoRun
.
Size
=
new
System
.
Drawing
.
Size
(
99
,
21
);
this
.
chbAutoRun
.
TabIndex
=
94
;
this
.
chbAutoRun
.
Text
=
"开机自动启动"
;
this
.
chbAutoRun
.
UseVisualStyleBackColor
=
true
;
this
.
chbAutoRun
.
CheckedChanged
+=
new
System
.
EventHandler
(
this
.
chbAutoRun_CheckedChanged
);
//
// listView1
// listView1
//
//
this
.
listView1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
this
.
listView1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
...
@@ -311,7 +272,7 @@
...
@@ -311,7 +272,7 @@
this
.
listView1
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
7
);
this
.
listView1
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
7
);
this
.
listView1
.
MultiSelect
=
false
;
this
.
listView1
.
MultiSelect
=
false
;
this
.
listView1
.
Name
=
"listView1"
;
this
.
listView1
.
Name
=
"listView1"
;
this
.
listView1
.
Size
=
new
System
.
Drawing
.
Size
(
7
0
5
,
599
);
this
.
listView1
.
Size
=
new
System
.
Drawing
.
Size
(
7
2
5
,
599
);
this
.
listView1
.
TabIndex
=
191
;
this
.
listView1
.
TabIndex
=
191
;
this
.
listView1
.
UseCompatibleStateImageBehavior
=
false
;
this
.
listView1
.
UseCompatibleStateImageBehavior
=
false
;
this
.
listView1
.
View
=
System
.
Windows
.
Forms
.
View
.
Details
;
this
.
listView1
.
View
=
System
.
Windows
.
Forms
.
View
.
Details
;
...
@@ -323,9 +284,9 @@
...
@@ -323,9 +284,9 @@
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
logBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
logBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
7
2
0
,
167
);
this
.
logBox
.
Location
=
new
System
.
Drawing
.
Point
(
7
4
0
,
167
);
this
.
logBox
.
Name
=
"logBox"
;
this
.
logBox
.
Name
=
"logBox"
;
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
60
0
,
439
);
this
.
logBox
.
Size
=
new
System
.
Drawing
.
Size
(
58
0
,
439
);
this
.
logBox
.
TabIndex
=
106
;
this
.
logBox
.
TabIndex
=
106
;
this
.
logBox
.
Text
=
""
;
this
.
logBox
.
Text
=
""
;
this
.
logBox
.
VisibleChanged
+=
new
System
.
EventHandler
(
this
.
logBox_VisibleChanged
);
this
.
logBox
.
VisibleChanged
+=
new
System
.
EventHandler
(
this
.
logBox_VisibleChanged
);
...
@@ -564,35 +525,82 @@
...
@@ -564,35 +525,82 @@
//
//
// tabPage2
// tabPage2
//
//
this
.
tabPage2
.
Controls
.
Add
(
this
.
treeView1
);
this
.
tabPage2
.
Controls
.
Add
(
this
.
panel2
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1328
,
609
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1328
,
609
);
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
Text
=
"
tabPage2
"
;
this
.
tabPage2
.
Text
=
"
料仓移栽设备
"
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
//
//
// treeView1
// panel2
//
//
this
.
treeView1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
panel2
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
treeView1
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
this
.
panel2
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
treeView1
.
Name
=
"treeView1"
;
this
.
panel2
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
treeNode1
.
Name
=
"D移栽机构"
;
this
.
panel2
.
Name
=
"panel2"
;
treeNode1
.
Text
=
"D移栽机构"
;
this
.
panel2
.
Size
=
new
System
.
Drawing
.
Size
(
1328
,
609
);
treeNode2
.
Name
=
"T上料机构"
;
this
.
panel2
.
TabIndex
=
98
;
treeNode2
.
Text
=
"T上料机构"
;
//
treeNode3
.
Name
=
"J接驳台横移"
;
// tableLayoutPanel1
treeNode3
.
Text
=
"J接驳台横移"
;
//
treeNode4
.
Name
=
"HY横移模块"
;
this
.
tableLayoutPanel1
.
ColumnCount
=
5
;
treeNode4
.
Text
=
"HY横移模块"
;
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
treeView1
.
Nodes
.
AddRange
(
new
System
.
Windows
.
Forms
.
TreeNode
[]
{
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
treeNode1
,
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
treeNode2
,
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
treeNode3
,
this
.
tableLayoutPanel1
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
treeNode4
});
this
.
tableLayoutPanel1
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
treeView1
.
Size
=
new
System
.
Drawing
.
Size
(
254
,
603
);
this
.
tableLayoutPanel1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
treeView1
.
TabIndex
=
97
;
this
.
tableLayoutPanel1
.
Name
=
"tableLayoutPanel1"
;
this
.
treeView1
.
AfterSelect
+=
new
System
.
Windows
.
Forms
.
TreeViewEventHandler
(
this
.
treeView1_AfterSelect
);
this
.
tableLayoutPanel1
.
RowCount
=
5
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
1328
,
609
);
this
.
tableLayoutPanel1
.
TabIndex
=
10
;
//
// tabPage3
//
this
.
tabPage3
.
Controls
.
Add
(
this
.
panel3
);
this
.
tabPage3
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
29
);
this
.
tabPage3
.
Name
=
"tabPage3"
;
this
.
tabPage3
.
Size
=
new
System
.
Drawing
.
Size
(
1328
,
609
);
this
.
tabPage3
.
TabIndex
=
2
;
this
.
tabPage3
.
Text
=
" 入料/横移设备 "
;
this
.
tabPage3
.
UseVisualStyleBackColor
=
true
;
//
// panel3
//
this
.
panel3
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
panel3
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
panel3
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
panel3
.
Name
=
"panel3"
;
this
.
panel3
.
Size
=
new
System
.
Drawing
.
Size
(
1328
,
609
);
this
.
panel3
.
TabIndex
=
0
;
//
// tableLayoutPanel2
//
this
.
tableLayoutPanel2
.
ColumnCount
=
5
;
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel2
.
ColumnStyles
.
Add
(
new
System
.
Windows
.
Forms
.
ColumnStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
20F
));
this
.
tableLayoutPanel2
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
tableLayoutPanel2
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
tableLayoutPanel2
.
Name
=
"tableLayoutPanel2"
;
this
.
tableLayoutPanel2
.
RowCount
=
6
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
16.66667F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
16.66667F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
16.66667F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
16.66667F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
16.66667F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Percent
,
16.66667F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
1328
,
609
);
this
.
tableLayoutPanel2
.
TabIndex
=
11
;
//
//
// lblStatus
// lblStatus
//
//
...
@@ -880,8 +888,8 @@
...
@@ -880,8 +888,8 @@
this
.
menuStrip1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
menuStrip1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
menuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
menuStrip1
.
Items
.
AddRange
(
new
System
.
Windows
.
Forms
.
ToolStripItem
[]
{
this
.
操作
ToolStripMenuItem
,
this
.
操作
ToolStripMenuItem
,
this
.
运行参数
ToolStripMenuItem
,
this
.
设置
TToolStripMenuItem
,
this
.
设置
TToolStripMenuItem
,
this
.
运行参数
ToolStripMenuItem
,
this
.
帮助
ToolStripMenuItem
});
this
.
帮助
ToolStripMenuItem
});
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
0
);
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
this
.
menuStrip1
.
Name
=
"menuStrip1"
;
...
@@ -971,6 +979,9 @@
...
@@ -971,6 +979,9 @@
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
ResumeLayout
(
false
);
this
.
groupBox1
.
PerformLayout
();
this
.
groupBox1
.
PerformLayout
();
this
.
tabPage2
.
ResumeLayout
(
false
);
this
.
tabPage2
.
ResumeLayout
(
false
);
this
.
panel2
.
ResumeLayout
(
false
);
this
.
tabPage3
.
ResumeLayout
(
false
);
this
.
panel3
.
ResumeLayout
(
false
);
this
.
contextMenuStrip1
.
ResumeLayout
(
false
);
this
.
contextMenuStrip1
.
ResumeLayout
(
false
);
this
.
menuStrip1
.
ResumeLayout
(
false
);
this
.
menuStrip1
.
ResumeLayout
(
false
);
this
.
menuStrip1
.
PerformLayout
();
this
.
menuStrip1
.
PerformLayout
();
...
@@ -990,7 +1001,6 @@
...
@@ -990,7 +1001,6 @@
private
System
.
Windows
.
Forms
.
Timer
timer1
;
private
System
.
Windows
.
Forms
.
Timer
timer1
;
private
System
.
Windows
.
Forms
.
Button
btnClearLog
;
private
System
.
Windows
.
Forms
.
Button
btnClearLog
;
private
System
.
Windows
.
Forms
.
Label
lblStatus
;
private
System
.
Windows
.
Forms
.
Label
lblStatus
;
private
System
.
Windows
.
Forms
.
CheckBox
chbAutoRun
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage1
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage1
;
private
System
.
Windows
.
Forms
.
Label
lblCID
;
private
System
.
Windows
.
Forms
.
Label
lblCID
;
private
System
.
Windows
.
Forms
.
ListView
listView1
;
private
System
.
Windows
.
Forms
.
ListView
listView1
;
...
@@ -1017,8 +1027,6 @@
...
@@ -1017,8 +1027,6 @@
private
System
.
Windows
.
Forms
.
TextBox
txtTrayPosid
;
private
System
.
Windows
.
Forms
.
TextBox
txtTrayPosid
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbTray
;
private
System
.
Windows
.
Forms
.
ComboBox
cmbTray
;
private
System
.
Windows
.
Forms
.
Button
btnUpdateTray
;
private
System
.
Windows
.
Forms
.
Button
btnUpdateTray
;
private
System
.
Windows
.
Forms
.
CheckBox
chbAGV
;
private
System
.
Windows
.
Forms
.
CheckBox
chbBuzzer
;
private
System
.
Windows
.
Forms
.
CheckBox
chbTrayCheck
;
private
System
.
Windows
.
Forms
.
CheckBox
chbTrayCheck
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
操作
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
操作
ToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator1
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator1
;
...
@@ -1064,7 +1072,11 @@
...
@@ -1064,7 +1072,11 @@
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
aGVCancelStateToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripMenuItem
aGVCancelStateToolStripMenuItem
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator17
;
private
System
.
Windows
.
Forms
.
ToolStripSeparator
toolStripSeparator17
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage2
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage2
;
private
System
.
Windows
.
Forms
.
TreeView
treeView1
;
private
System
.
Windows
.
Forms
.
Panel
panel2
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel1
;
private
System
.
Windows
.
Forms
.
TabPage
tabPage3
;
private
System
.
Windows
.
Forms
.
Panel
panel3
;
private
System
.
Windows
.
Forms
.
TableLayoutPanel
tableLayoutPanel2
;
}
}
}
}
source/AssemblyLineClient/FrmLineStore.cs
查看文件 @
b5264ed
...
@@ -44,7 +44,6 @@ namespace OnlineStore.AssemblyLine
...
@@ -44,7 +44,6 @@ namespace OnlineStore.AssemblyLine
this
.
Text
=
title
;
this
.
Text
=
title
;
this
.
notifyIcon1
.
Text
=
title
;
this
.
notifyIcon1
.
Text
=
title
;
int
autoValue
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
App_AutoRun
);
int
autoValue
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
App_AutoRun
);
chbAutoRun
.
Checked
=
autoValue
.
Equals
(
1
);
chbTrayCheck
.
Checked
=
TrayManager
.
NeedCheckTray
;
chbTrayCheck
.
Checked
=
TrayManager
.
NeedCheckTray
;
lineBean
=
LineManager
.
Line
;
lineBean
=
LineManager
.
Line
;
if
(
lineBean
==
null
)
if
(
lineBean
==
null
)
...
@@ -58,35 +57,8 @@ namespace OnlineStore.AssemblyLine
...
@@ -58,35 +57,8 @@ namespace OnlineStore.AssemblyLine
FrmIOStatus
frmIOStatus
=
new
FrmIOStatus
();
FrmIOStatus
frmIOStatus
=
new
FrmIOStatus
();
AddForm
(
" 流水线IO "
,
frmIOStatus
);
AddForm
(
" 流水线IO "
,
frmIOStatus
);
List
<
MoveEquip
>
moveEquipList
=
new
List
<
MoveEquip
>(
lineBean
.
MoveEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
moveEquipList
.
Count
;
i
++)
{
MoveEquip
equip
=
moveEquipList
[
i
];
FrmMoveEquip
test
=
new
FrmMoveEquip
(
equip
);
AddForm
(
" "
+
equip
.
Name
,
test
);
}
List
<
FeedingEquip
>
feeds
=
new
List
<
FeedingEquip
>(
lineBean
.
FeedingEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
feeds
.
Count
;
i
++)
{
FeedingEquip
feed
=
feeds
[
i
];
FrmFeedingEquip
test
=
new
FrmFeedingEquip
(
feed
);
AddForm
(
" "
+
feed
.
Name
+
" "
,
test
);
}
List
<
ProvidingEquip
>
provids
=
new
List
<
ProvidingEquip
>(
lineBean
.
ProvidingEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
provids
.
Count
;
i
++)
{
ProvidingEquip
provid
=
provids
[
i
];
FrmProvidingEquip
test
=
new
FrmProvidingEquip
(
provid
);
AddForm
(
" "
+
provid
.
Name
+
" "
,
test
);
}
List
<
DischargeLine
>
diss
=
new
List
<
DischargeLine
>(
lineBean
.
DisLineMap
.
Values
);
LoadMoveList
();
for
(
int
i
=
0
;
i
<
diss
.
Count
;
i
++)
{
DischargeLine
line
=
diss
[
i
];
FrmDischargeLine
frm
=
new
FrmDischargeLine
(
line
);
AddForm
(
" "
+
line
.
Name
+
" "
,
frm
);
}
lblCID
.
Text
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Line_CID
);
lblCID
.
Text
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Line_CID
);
LoadListView
();
LoadListView
();
...
@@ -151,49 +123,14 @@ namespace OnlineStore.AssemblyLine
...
@@ -151,49 +123,14 @@ namespace OnlineStore.AssemblyLine
}
}
LoadStoreData
();
LoadStoreData
();
LoadTree
();
timer1
.
Start
();
timer1
.
Start
();
}
}
private
void
LoadTree
()
{
List
<
MoveEquip
>
moveEquipList
=
new
List
<
MoveEquip
>(
lineBean
.
MoveEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
moveEquipList
.
Count
;
i
++)
{
MoveEquip
equip
=
moveEquipList
[
i
];
FrmMoveEquip
test
=
new
FrmMoveEquip
(
equip
);
treeView1
.
Nodes
[
0
].
Nodes
.
Add
(
equip
.
Name
);
}
List
<
FeedingEquip
>
feeds
=
new
List
<
FeedingEquip
>(
lineBean
.
FeedingEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
feeds
.
Count
;
i
++)
{
FeedingEquip
feed
=
feeds
[
i
];
FrmFeedingEquip
test
=
new
FrmFeedingEquip
(
feed
);
//AddForm(" " + feed.Name + " ", test);
treeView1
.
Nodes
[
1
].
Nodes
.
Add
(
feed
.
Name
);
}
List
<
ProvidingEquip
>
provids
=
new
List
<
ProvidingEquip
>(
lineBean
.
ProvidingEquipMap
.
Values
);
for
(
int
i
=
0
;
i
<
provids
.
Count
;
i
++)
{
ProvidingEquip
provid
=
provids
[
i
];
FrmProvidingEquip
test
=
new
FrmProvidingEquip
(
provid
);
//AddForm(" " + provid.Name + " ", test);
treeView1
.
Nodes
[
2
].
Nodes
.
Add
(
provid
.
Name
);
}
List
<
DischargeLine
>
diss
=
new
List
<
DischargeLine
>(
lineBean
.
DisLineMap
.
Values
);
for
(
int
i
=
0
;
i
<
diss
.
Count
;
i
++)
{
DischargeLine
line
=
diss
[
i
];
FrmDischargeLine
frm
=
new
FrmDischargeLine
(
line
);
//AddForm(" " + line.Name + " ", frm);
treeView1
.
Nodes
[
3
].
Nodes
.
Add
(
line
.
Name
);
}
}
private
void
LoadListView
()
private
void
LoadListView
()
{
{
this
.
listView1
.
Columns
.
Clear
();
this
.
listView1
.
Columns
.
Clear
();
AddHealder
(
"设备名称"
,
9
0
);
AddHealder
(
"设备名称"
,
11
0
);
AddHealder
(
"启用"
,
40
);
AddHealder
(
"启用"
,
40
);
AddHealder
(
"报警"
,
110
);
AddHealder
(
"报警"
,
110
);
AddHealder
(
"状态"
,
110
);
AddHealder
(
"状态"
,
110
);
...
@@ -215,7 +152,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -215,7 +152,7 @@ namespace OnlineStore.AssemblyLine
{
{
string
online
=
"✘"
;
string
online
=
"✘"
;
lvi
.
SubItems
.
Add
(
box
.
CId
.
ToString
());
lvi
.
SubItems
.
Add
(
box
.
CId
.
ToString
());
if
((
DateTime
.
Now
-
box
.
LastMsgTime
).
TotalSeconds
<
LineServer
.
ClientKeepSecond
)
if
((
DateTime
.
Now
-
box
.
LastMsgTime
).
TotalSeconds
<
LineServer
.
ClientKeepSecond
)
{
{
online
=
"✔"
;
online
=
"✔"
;
...
@@ -246,25 +183,25 @@ namespace OnlineStore.AssemblyLine
...
@@ -246,25 +183,25 @@ namespace OnlineStore.AssemblyLine
}
}
this
.
listView1
.
Items
.
Add
((
ListViewItem
)
emptyView
.
Clone
());
this
.
listView1
.
Items
.
Add
((
ListViewItem
)
emptyView
.
Clone
());
foreach
(
ProvidingEquip
equip
in
lineBean
.
Providing
EquipMap
.
Values
)
foreach
(
HYEquipBase
equip
in
lineBean
.
HY
EquipMap
.
Values
)
{
{
ListViewItem
lvi
=
new
ListViewItem
();
ListViewItem
lvi
=
new
ListViewItem
();
lvi
.
Text
=
equip
.
Name
;
lvi
.
Text
=
equip
.
Name
;
lvi
.
SubItems
.
Add
(
equip
.
Config
.
IsDebug
.
Equals
(
1
)
?
"✘"
:
"✔"
);
lvi
.
SubItems
.
Add
(
equip
.
IsDebug
.
Equals
(
1
)
?
"✘"
:
"✔"
);
lvi
.
SubItems
.
Add
(
equip
.
alarmType
.
ToString
());
lvi
.
SubItems
.
Add
(
equip
.
alarmType
.
ToString
());
lvi
.
SubItems
.
Add
(
equip
.
GetRunStr
());
lvi
.
SubItems
.
Add
(
equip
.
GetRunStr
());
this
.
listView1
.
Items
.
Add
(
lvi
);
this
.
listView1
.
Items
.
Add
(
lvi
);
}
}
this
.
listView1
.
Items
.
Add
((
ListViewItem
)
emptyView
.
Clone
());
this
.
listView1
.
Items
.
Add
((
ListViewItem
)
emptyView
.
Clone
());
foreach
(
DischargeLine
equip
in
lineBean
.
DisLineMap
.
Values
)
//
foreach (DischargeLine equip in lineBean.DisLineMap.Values)
{
//
{
ListViewItem
lvi
=
new
ListViewItem
();
//
ListViewItem lvi = new ListViewItem();
lvi
.
Text
=
equip
.
Name
;
//
lvi.Text = equip.Name;
lvi
.
SubItems
.
Add
(
equip
.
Config
.
IsDebug
.
Equals
(
1
)
?
"✘"
:
"✔"
);
//
lvi.SubItems.Add(equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
lvi
.
SubItems
.
Add
(
equip
.
alarmType
.
ToString
());
//
lvi.SubItems.Add(equip.alarmType.ToString());
lvi
.
SubItems
.
Add
(
equip
.
GetRunStr
());
//
lvi.SubItems.Add(equip.GetRunStr());
this
.
listView1
.
Items
.
Add
(
lvi
);
//
this.listView1.Items.Add(lvi);
}
//
}
cmbBoxIndex
.
Items
.
Clear
();
cmbBoxIndex
.
Items
.
Clear
();
foreach
(
int
key
in
lineBean
.
MoveEquipMap
.
Keys
)
foreach
(
int
key
in
lineBean
.
MoveEquipMap
.
Keys
)
{
{
...
@@ -329,14 +266,14 @@ namespace OnlineStore.AssemblyLine
...
@@ -329,14 +266,14 @@ namespace OnlineStore.AssemblyLine
//如果料仓还在运行状态,先关闭料仓
//如果料仓还在运行状态,先关闭料仓
if
(!
lineBean
.
runStatus
.
Equals
(
LineRunStatus
.
Wait
))
if
(!
lineBean
.
runStatus
.
Equals
(
LineRunStatus
.
Wait
))
{
{
LogUtil
.
info
(
"即将退出程序,停止"
+
lineBean
.
Name
+
"运行 "
);
LogUtil
.
info
(
"即将退出程序,停止"
+
lineBean
.
Name
+
"运行 "
);
lineBean
.
StopRun
();
lineBean
.
StopRun
();
}
}
foreach
(
EquipBase
equip
in
lineBean
.
AllEquipMap
.
Values
)
foreach
(
EquipBase
equip
in
lineBean
.
AllEquipMap
.
Values
)
{
{
if
(
equip
.
runStatus
>
LineRunStatus
.
Wait
)
if
(
equip
.
runStatus
>
LineRunStatus
.
Wait
)
{
{
LogUtil
.
info
(
"即将退出程序,停止"
+
equip
.
Name
+
"运行 "
);
LogUtil
.
info
(
"即将退出程序,停止"
+
equip
.
Name
+
"运行 "
);
equip
.
StopRun
();
equip
.
StopRun
();
}
}
}
}
...
@@ -390,7 +327,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -390,7 +327,7 @@ namespace OnlineStore.AssemblyLine
MessageBox
.
Show
(
lineBean
.
Name
+
"当前状态:"
+
lineBean
.
runStatus
+
",不能启动!"
);
MessageBox
.
Show
(
lineBean
.
Name
+
"当前状态:"
+
lineBean
.
runStatus
+
",不能启动!"
);
return
;
return
;
}
}
LogUtil
.
info
(
"点击 开始启动"
);
LogUtil
.
info
(
"点击 开始启动"
);
startTimer
.
Interval
=
300
;
startTimer
.
Interval
=
300
;
startTimer
.
Elapsed
+=
timer_Elapsed
;
startTimer
.
Elapsed
+=
timer_Elapsed
;
startTimer
.
AutoReset
=
false
;
startTimer
.
AutoReset
=
false
;
...
@@ -492,14 +429,14 @@ namespace OnlineStore.AssemblyLine
...
@@ -492,14 +429,14 @@ namespace OnlineStore.AssemblyLine
private
void
btnClearLog_Click
(
object
sender
,
EventArgs
e
)
private
void
btnClearLog_Click
(
object
sender
,
EventArgs
e
)
{
{
LogUtil
.
ClearLog
();
LogUtil
.
ClearLog
();
}
}
private
void
btnCopyLog_Click
(
object
sender
,
EventArgs
e
)
private
void
btnCopyLog_Click
(
object
sender
,
EventArgs
e
)
{
{
Clipboard
.
SetDataObject
(
logBox
.
Text
);
Clipboard
.
SetDataObject
(
logBox
.
Text
);
MessageBox
.
Show
(
"已复制日志到粘贴板!"
);
MessageBox
.
Show
(
"已复制日志到粘贴板!"
);
}
}
#
region
内存回收
#
region
内存回收
[
DllImport
(
"kernel32.dll"
,
EntryPoint
=
"SetProcessWorkingSetSize"
)]
[
DllImport
(
"kernel32.dll"
,
EntryPoint
=
"SetProcessWorkingSetSize"
)]
public
static
extern
int
SetProcessWorkingSetSize
(
IntPtr
process
,
int
minSize
,
int
maxSize
);
public
static
extern
int
SetProcessWorkingSetSize
(
IntPtr
process
,
int
minSize
,
int
maxSize
);
...
@@ -522,7 +459,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -522,7 +459,7 @@ namespace OnlineStore.AssemblyLine
LogUtil
.
error
(
"ClearMemory 出错:"
+
ex
.
ToString
());
LogUtil
.
error
(
"ClearMemory 出错:"
+
ex
.
ToString
());
}
}
}
}
#
endregion
#
endregion
private
DateTime
lastLogTime
=
DateTime
.
Now
;
private
DateTime
lastLogTime
=
DateTime
.
Now
;
PerformanceCounter
curtime
=
null
;
PerformanceCounter
curtime
=
null
;
...
@@ -559,6 +496,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -559,6 +496,7 @@ namespace OnlineStore.AssemblyLine
private
void
timer1_Tick
(
object
sender
,
EventArgs
e
)
private
void
timer1_Tick
(
object
sender
,
EventArgs
e
)
{
{
LogM
();
LogM
();
UpdateControl
();
if
(!
listView1
.
Visible
)
if
(!
listView1
.
Visible
)
{
{
return
;
return
;
...
@@ -578,7 +516,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -578,7 +516,7 @@ namespace OnlineStore.AssemblyLine
}
}
lblStatus
.
Text
=
lineBean
.
GetRunStr
()
+
canScanCode
;
lblStatus
.
Text
=
lineBean
.
GetRunStr
()
+
canScanCode
;
string
time
=
LineManager
.
Line
.
alarmType
.
Equals
(
LineAlarmType
.
None
)
?
""
:
LineManager
.
Line
.
LastAlarmTime
.
ToLongTimeString
();
string
time
=
LineManager
.
Line
.
alarmType
.
Equals
(
LineAlarmType
.
None
)
?
""
:
LineManager
.
Line
.
LastAlarmTime
.
ToLongTimeString
();
string
warnMsg
=
LineManager
.
Line
.
WarnMsg
.
Equals
(
""
)
?
""
:
time
+
LineManager
.
Line
.
WarnMsg
+
"\r\n"
;
string
warnMsg
=
LineManager
.
Line
.
WarnMsg
.
Equals
(
""
)
?
""
:
time
+
LineManager
.
Line
.
WarnMsg
+
"\r\n"
;
lblMoveInfo
.
Text
=
LineManager
.
Line
.
GetMoveStr
();
lblMoveInfo
.
Text
=
LineManager
.
Line
.
GetMoveStr
();
if
(
TrayManager
.
TrayErrorMsg
.
Equals
(
""
).
Equals
(
false
))
if
(
TrayManager
.
TrayErrorMsg
.
Equals
(
""
).
Equals
(
false
))
...
@@ -593,7 +531,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -593,7 +531,7 @@ namespace OnlineStore.AssemblyLine
if
(
move
.
alarmType
.
Equals
(
LineAlarmType
.
None
).
Equals
(
false
))
if
(
move
.
alarmType
.
Equals
(
LineAlarmType
.
None
).
Equals
(
false
))
{
{
warnMsg
+=
move
.
LastAlarmTime
.
ToLongTimeString
()+
" "
+
move
.
WarnMsg
+
"\r\n"
;
warnMsg
+=
move
.
LastAlarmTime
.
ToLongTimeString
()
+
" "
+
move
.
WarnMsg
+
"\r\n"
;
}
}
else
else
{
{
...
@@ -634,12 +572,12 @@ namespace OnlineStore.AssemblyLine
...
@@ -634,12 +572,12 @@ namespace OnlineStore.AssemblyLine
}
}
else
else
{
{
SetItemText
(
i
,
item_cid_index
,
""
);
SetItemText
(
i
,
item_cid_index
,
""
);
SetItemText
(
i
,
item_LastMsgTime_index
,
""
);
SetItemText
(
i
,
item_LastMsgTime_index
,
""
);
SetItemText
(
i
,
item_SAlarmType_index
,
""
);
SetItemText
(
i
,
item_SAlarmType_index
,
""
);
SetItemText
(
i
,
item_BoxStr_index
,
""
);
SetItemText
(
i
,
item_BoxStr_index
,
""
);
}
}
SetItemColor
(
i
,
move
.
runStatus
,
move
.
alarmType
);
SetItemColor
(
i
,
move
.
runStatus
,
move
.
alarmType
);
i
++;
i
++;
}
}
i
++;
i
++;
...
@@ -652,23 +590,23 @@ namespace OnlineStore.AssemblyLine
...
@@ -652,23 +590,23 @@ namespace OnlineStore.AssemblyLine
i
++;
i
++;
}
}
i
++;
i
++;
foreach
(
ProvidingEquip
equip
in
lineBean
.
Providing
EquipMap
.
Values
)
foreach
(
HYEquipBase
equip
in
lineBean
.
HY
EquipMap
.
Values
)
{
{
SetItemText
(
i
,
item_debug_index
,
equip
.
Config
.
IsDebug
.
Equals
(
1
)
?
"✘"
:
"✔"
);
SetItemText
(
i
,
item_debug_index
,
equip
.
IsDebug
.
Equals
(
1
)
?
"✘"
:
"✔"
);
SetItemText
(
i
,
item_alarm_index
,
equip
.
alarmType
.
ToString
());
SetItemText
(
i
,
item_alarm_index
,
equip
.
alarmType
.
ToString
());
SetItemText
(
i
,
item_runStr_index
,
equip
.
GetRunStr
());
SetItemText
(
i
,
item_runStr_index
,
equip
.
GetRunStr
());
SetItemColor
(
i
,
equip
.
runStatus
,
equip
.
alarmType
);
SetItemColor
(
i
,
equip
.
runStatus
,
equip
.
alarmType
);
i
++;
i
++;
}
}
i
++;
i
++;
foreach
(
DischargeLine
equip
in
lineBean
.
DisLineMap
.
Values
)
//
foreach (DischargeLine equip in lineBean.DisLineMap.Values)
{
//
{
SetItemText
(
i
,
item_debug_index
,
equip
.
Config
.
IsDebug
.
Equals
(
1
)
?
"✘"
:
"✔"
);
//
SetItemText(i, item_debug_index, equip.Config.IsDebug.Equals(1) ? "✘" : "✔");
SetItemText
(
i
,
item_alarm_index
,
equip
.
alarmType
.
ToString
());
//
SetItemText(i, item_alarm_index, equip.alarmType.ToString());
SetItemText
(
i
,
item_runStr_index
,
equip
.
GetRunStr
());
//
SetItemText(i, item_runStr_index, equip.GetRunStr());
SetItemColor
(
i
,
equip
.
runStatus
,
equip
.
alarmType
);
//
SetItemColor(i, equip.runStatus, equip.alarmType);
i
++;
//
i++;
}
//
}
if
(
lineBean
.
runStatus
>
LineRunStatus
.
Wait
)
if
(
lineBean
.
runStatus
>
LineRunStatus
.
Wait
)
{
{
if
(
启动
AToolStripMenuItem
.
Enabled
.
Equals
(
true
))
if
(
启动
AToolStripMenuItem
.
Enabled
.
Equals
(
true
))
...
@@ -692,10 +630,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -692,10 +630,7 @@ namespace OnlineStore.AssemblyLine
SetMenuS
(
复位
RToolStripMenuItem
,
false
);
SetMenuS
(
复位
RToolStripMenuItem
,
false
);
SetMenuS
(
停止
TToolStripMenuItem
,
false
);
SetMenuS
(
停止
TToolStripMenuItem
,
false
);
}
}
if
(!
chbAGV
.
Checked
.
Equals
(
AgvClient
.
CurrCancelState
))
{
chbAGV
.
Checked
=
AgvClient
.
CurrCancelState
;
}
}
}
private
void
SetItemColor
(
int
i
,
LineRunStatus
runStatus
,
LineAlarmType
alarmType
)
private
void
SetItemColor
(
int
i
,
LineRunStatus
runStatus
,
LineAlarmType
alarmType
)
...
@@ -751,23 +686,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -751,23 +686,7 @@ namespace OnlineStore.AssemblyLine
}
}
}
}
}
}
private
void
chbAutoRun_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
if
(!
LoadOk
)
{
return
;
}
if
(
chbAutoRun
.
Checked
)
{
ConfigAppSettings
.
SaveValue
(
Setting_Init
.
App_AutoRun
,
1
);
ManagerUtil
.
AutoRun
(
Application
.
ExecutablePath
,
true
);
}
else
{
ConfigAppSettings
.
SaveValue
(
Setting_Init
.
App_AutoRun
,
0
);
ManagerUtil
.
AutoRun
(
Application
.
ExecutablePath
,
false
);
}
}
private
void
tabControl1_DrawItem
(
object
sender
,
DrawItemEventArgs
e
)
private
void
tabControl1_DrawItem
(
object
sender
,
DrawItemEventArgs
e
)
{
{
...
@@ -933,11 +852,11 @@ namespace OnlineStore.AssemblyLine
...
@@ -933,11 +852,11 @@ namespace OnlineStore.AssemblyLine
foreach
(
TrayInfo
t
in
tray
)
foreach
(
TrayInfo
t
in
tray
)
{
{
LogUtil
.
info
(
t
.
ToStr
());
LogUtil
.
info
(
t
.
ToStr
());
msg
+=
t
.
ToStr
()+
"\r\n"
;
msg
+=
t
.
ToStr
()
+
"\r\n"
;
}
}
LogUtil
.
info
(
"-------------------结束打印托盘信息"
);
LogUtil
.
info
(
"-------------------结束打印托盘信息"
);
msg
+=
"-------------------结束打印托盘信息"
;
msg
+=
"-------------------结束打印托盘信息"
;
MessageBox
.
Show
(
msg
,
"托盘信息列表"
);
MessageBox
.
Show
(
msg
,
"托盘信息列表"
);
}
}
private
void
btnClearTray_Click
(
object
sender
,
EventArgs
e
)
private
void
btnClearTray_Click
(
object
sender
,
EventArgs
e
)
...
@@ -1035,35 +954,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -1035,35 +954,7 @@ namespace OnlineStore.AssemblyLine
frm
.
ShowDialog
();
frm
.
ShowDialog
();
}
}
private
void
checkBox1_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
if
(!
LoadOk
)
{
return
;
}
if
(
chbAGV
.
Checked
.
Equals
(
AgvClient
.
CurrCancelState
))
{
return
;
}
bool
result
=
chbAGV
.
Checked
;
AgvClient
.
SetCancelState
(
result
);
LogUtil
.
info
(
"勾选:AgvClient.SetCancelState ="
+
result
);
}
private
void
chbBuzzer_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
if
(!
LoadOk
)
{
return
;
}
if
(
chbBuzzer
.
Checked
.
Equals
(
LineManager
.
UseBuzzer
))
{
return
;
}
LineManager
.
UseBuzzer
=
chbBuzzer
.
Checked
;
LogUtil
.
info
(
"勾选:UseBuzzer ="
+
LineManager
.
UseBuzzer
);
ConfigAppSettings
.
SaveValue
(
Setting_Init
.
UseBuzzer
,
(
LineManager
.
UseBuzzer
?
1
:
0
));
}
private
void
chbTrayCheck_CheckedChanged
(
object
sender
,
EventArgs
e
)
private
void
chbTrayCheck_CheckedChanged
(
object
sender
,
EventArgs
e
)
{
{
...
@@ -1101,7 +992,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -1101,7 +992,7 @@ namespace OnlineStore.AssemblyLine
{
{
return
;
return
;
}
}
lineBean
.
DisableShunt
=
(
chbShunt
.
Checked
);
lineBean
.
DisableShunt
=
(
chbShunt
.
Checked
);
LogUtil
.
info
(
"勾选 禁用分流横移1功能:lineBean.DisableShunt ="
+
lineBean
.
DisableShunt
);
LogUtil
.
info
(
"勾选 禁用分流横移1功能:lineBean.DisableShunt ="
+
lineBean
.
DisableShunt
);
}
}
...
@@ -1202,9 +1093,125 @@ namespace OnlineStore.AssemblyLine
...
@@ -1202,9 +1093,125 @@ namespace OnlineStore.AssemblyLine
LogUtil
.
info
(
Name
+
" 点击:"
+
aGVCancelStateToolStripMenuItem
.
Text
);
LogUtil
.
info
(
Name
+
" 点击:"
+
aGVCancelStateToolStripMenuItem
.
Text
);
}
}
private
void
treeView1_AfterSelect
(
object
sender
,
TreeViewEventArgs
e
)
#
region
按钮界面
private
void
UpdateControl
()
{
if
(
tableLayoutPanel1
.
Visible
)
{
foreach
(
int
key
in
equipControls1
.
Keys
)
{
EquipControl
con
=
equipControls1
[
key
];
con
.
ShowData
(
lineBean
.
MoveEquipMap
[
key
]);
}
}
if
(
tableLayoutPanel2
.
Visible
)
{
foreach
(
int
key
in
equipControls2
.
Keys
)
{
EquipControl
con
=
equipControls2
[
key
];
if
(
key
<
200
)
{
con
.
ShowData
(
lineBean
.
FeedingEquipMap
[
key
]);
}
else
{
con
.
ShowData
(
lineBean
.
HYEquipMap
[
key
]);
}
}
}
}
private
Dictionary
<
int
,
EquipControl
>
equipControls1
=
new
Dictionary
<
int
,
EquipControl
>();
private
Dictionary
<
int
,
EquipControl
>
equipControls2
=
new
Dictionary
<
int
,
EquipControl
>();
private
void
LoadMoveList
()
{
equipControls1
=
new
Dictionary
<
int
,
EquipControl
>();
equipControls2
=
new
Dictionary
<
int
,
EquipControl
>();
List
<
MoveEquip
>
moveEquipList
=
new
List
<
MoveEquip
>(
lineBean
.
MoveEquipMap
.
Values
);
List
<
FeedingEquip
>
FeedList
=
new
List
<
FeedingEquip
>(
lineBean
.
FeedingEquipMap
.
Values
);
List
<
HYEquipBase
>
hyList
=
new
List
<
HYEquipBase
>(
lineBean
.
HYEquipMap
.
Values
);
int
num
=
0
;
for
(
int
i
=
0
;
i
<
moveEquipList
.
Count
;
i
++)
{
MoveEquip
equip
=
moveEquipList
[
i
];
EquipControl
control
=
EquipControl
.
NewControl
(
equip
);
control
.
DoubleClick
+=
Control_DoubleClick
;
control
.
Click
+=
Control_DoubleClick
;
int
row
=
num
/
5
;
int
col
=
num
%
5
;
this
.
tableLayoutPanel1
.
Controls
.
Add
(
control
,
col
,
row
);
equipControls1
.
Add
(
equip
.
DeviceID
,
control
);
num
++;
}
num
=
0
;
for
(
int
i
=
0
;
i
<
FeedList
.
Count
;
i
++)
{
FeedingEquip
equip
=
FeedList
[
i
];
EquipControl
control
=
EquipControl
.
NewControl
(
equip
);
control
.
DoubleClick
+=
Control_DoubleClick
;
control
.
Click
+=
Control_DoubleClick
;
int
row
=
num
/
5
;
int
col
=
num
%
5
;
this
.
tableLayoutPanel2
.
Controls
.
Add
(
control
,
col
,
row
);
equipControls2
.
Add
(
equip
.
DeviceID
,
control
);
num
++;
}
for
(
int
i
=
0
;
i
<
hyList
.
Count
;
i
++)
{
HYEquipBase
equip
=
hyList
[
i
];
EquipControl
control
=
EquipControl
.
NewControl
(
equip
);
control
.
DoubleClick
+=
Control_DoubleClick
;
control
.
Click
+=
Control_DoubleClick
;
int
row
=
num
/
5
;
int
col
=
num
%
5
;
this
.
tableLayoutPanel2
.
Controls
.
Add
(
control
,
col
,
row
);
equipControls2
.
Add
(
equip
.
DeviceID
,
control
);
num
++;
}
}
private
void
Control_DoubleClick
(
object
sender
,
EventArgs
e
)
{
{
if
(
sender
is
EquipControl
)
{
EquipControl
control
=
(
EquipControl
)
sender
;
int
deviceId
=
control
.
DeviceId
;
if
(
lineBean
.
MoveEquipMap
.
ContainsKey
(
deviceId
))
{
FrmMoveEquip
frm
=
new
FrmMoveEquip
(
lineBean
.
MoveEquipMap
[
deviceId
]);
frm
.
ShowDialog
();
}
else
if
(
lineBean
.
FeedingEquipMap
.
ContainsKey
(
deviceId
))
{
FrmFeedingEquip
frm
=
new
FrmFeedingEquip
(
lineBean
.
FeedingEquipMap
[
deviceId
]);
frm
.
ShowDialog
();
}
else
if
(
lineBean
.
HYEquipMap
.
ContainsKey
(
deviceId
))
{
FrmHYEquip
frm
=
new
FrmHYEquip
(
lineBean
.
HYEquipMap
[
deviceId
]);
frm
.
ShowDialog
();
}
}
}
}
#
endregion
}
}
}
}
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
查看文件 @
b5264ed
...
@@ -77,6 +77,7 @@
...
@@ -77,6 +77,7 @@
this
.
btnP2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnP2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
txtP2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
panel1
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
btnClose
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
lblName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox1
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
this
.
groupBox4
.
SuspendLayout
();
...
@@ -98,6 +99,7 @@
...
@@ -98,6 +99,7 @@
//
//
// groupBox1
// groupBox1
//
//
this
.
groupBox1
.
Controls
.
Add
(
this
.
btnCloseAll
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDOIndex
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDOIndex
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtDoName
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label17
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
label17
);
...
@@ -109,9 +111,9 @@
...
@@ -109,9 +111,9 @@
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtSlaveId
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
txtSlaveId
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
cmbWriteIO
);
this
.
groupBox1
.
Controls
.
Add
(
this
.
cmbWriteIO
);
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
49
7
,
6
);
this
.
groupBox1
.
Location
=
new
System
.
Drawing
.
Point
(
49
8
,
6
);
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Name
=
"groupBox1"
;
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
375
,
1
60
);
this
.
groupBox1
.
Size
=
new
System
.
Drawing
.
Size
(
375
,
1
49
);
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabIndex
=
105
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
TabStop
=
false
;
this
.
groupBox1
.
Text
=
"DO写入"
;
this
.
groupBox1
.
Text
=
"DO写入"
;
...
@@ -120,10 +122,10 @@
...
@@ -120,10 +122,10 @@
//
//
this
.
txtDOIndex
.
Enabled
=
false
;
this
.
txtDOIndex
.
Enabled
=
false
;
this
.
txtDOIndex
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDOIndex
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
321
,
57
);
this
.
txtDOIndex
.
Location
=
new
System
.
Drawing
.
Point
(
198
,
60
);
this
.
txtDOIndex
.
MaxLength
=
10
;
this
.
txtDOIndex
.
MaxLength
=
10
;
this
.
txtDOIndex
.
Name
=
"txtDOIndex"
;
this
.
txtDOIndex
.
Name
=
"txtDOIndex"
;
this
.
txtDOIndex
.
Size
=
new
System
.
Drawing
.
Size
(
4
7
,
23
);
this
.
txtDOIndex
.
Size
=
new
System
.
Drawing
.
Size
(
4
0
,
23
);
this
.
txtDOIndex
.
TabIndex
=
276
;
this
.
txtDOIndex
.
TabIndex
=
276
;
this
.
txtDOIndex
.
Text
=
"0"
;
this
.
txtDOIndex
.
Text
=
"0"
;
//
//
...
@@ -131,10 +133,10 @@
...
@@ -131,10 +133,10 @@
//
//
this
.
txtDoName
.
Enabled
=
false
;
this
.
txtDoName
.
Enabled
=
false
;
this
.
txtDoName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDoName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
64
,
57
);
this
.
txtDoName
.
Location
=
new
System
.
Drawing
.
Point
(
55
,
60
);
this
.
txtDoName
.
MaxLength
=
10
;
this
.
txtDoName
.
MaxLength
=
10
;
this
.
txtDoName
.
Name
=
"txtDoName"
;
this
.
txtDoName
.
Name
=
"txtDoName"
;
this
.
txtDoName
.
Size
=
new
System
.
Drawing
.
Size
(
116
,
23
);
this
.
txtDoName
.
Size
=
new
System
.
Drawing
.
Size
(
92
,
23
);
this
.
txtDoName
.
TabIndex
=
275
;
this
.
txtDoName
.
TabIndex
=
275
;
this
.
txtDoName
.
Text
=
"0"
;
this
.
txtDoName
.
Text
=
"0"
;
//
//
...
@@ -143,11 +145,11 @@
...
@@ -143,11 +145,11 @@
this
.
label17
.
AutoSize
=
true
;
this
.
label17
.
AutoSize
=
true
;
this
.
label17
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label17
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label17
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label17
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
6
6
);
this
.
label17
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
6
3
);
this
.
label17
.
Name
=
"label17"
;
this
.
label17
.
Name
=
"label17"
;
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
46
,
17
);
this
.
label17
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label17
.
TabIndex
=
274
;
this
.
label17
.
TabIndex
=
274
;
this
.
label17
.
Text
=
"设备
IP
:"
;
this
.
label17
.
Text
=
"设备:"
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label17
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// label14
// label14
...
@@ -155,7 +157,7 @@
...
@@ -155,7 +157,7 @@
this
.
label14
.
AutoSize
=
true
;
this
.
label14
.
AutoSize
=
true
;
this
.
label14
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label14
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label14
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label14
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
265
,
60
);
this
.
label14
.
Location
=
new
System
.
Drawing
.
Point
(
155
,
63
);
this
.
label14
.
Name
=
"label14"
;
this
.
label14
.
Name
=
"label14"
;
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label14
.
Size
=
new
System
.
Drawing
.
Size
(
35
,
17
);
this
.
label14
.
TabIndex
=
273
;
this
.
label14
.
TabIndex
=
273
;
...
@@ -167,9 +169,9 @@
...
@@ -167,9 +169,9 @@
this
.
btnOpenDo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOpenDo
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnOpenDo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenDo
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnOpenDo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenDo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
1
62
,
94
);
this
.
btnOpenDo
.
Location
=
new
System
.
Drawing
.
Point
(
1
35
,
94
);
this
.
btnOpenDo
.
Name
=
"btnOpenDo"
;
this
.
btnOpenDo
.
Name
=
"btnOpenDo"
;
this
.
btnOpenDo
.
Size
=
new
System
.
Drawing
.
Size
(
1
0
0
,
34
);
this
.
btnOpenDo
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnOpenDo
.
TabIndex
=
272
;
this
.
btnOpenDo
.
TabIndex
=
272
;
this
.
btnOpenDo
.
Text
=
"打开"
;
this
.
btnOpenDo
.
Text
=
"打开"
;
this
.
btnOpenDo
.
UseVisualStyleBackColor
=
false
;
this
.
btnOpenDo
.
UseVisualStyleBackColor
=
false
;
...
@@ -180,9 +182,9 @@
...
@@ -180,9 +182,9 @@
this
.
btnWriteSingleDO
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnWriteSingleDO
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnWriteSingleDO
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnWriteSingleDO
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnWriteSingleDO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnWriteSingleDO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnWriteSingleDO
.
Location
=
new
System
.
Drawing
.
Point
(
2
68
,
94
);
this
.
btnWriteSingleDO
.
Location
=
new
System
.
Drawing
.
Point
(
2
51
,
94
);
this
.
btnWriteSingleDO
.
Name
=
"btnWriteSingleDO"
;
this
.
btnWriteSingleDO
.
Name
=
"btnWriteSingleDO"
;
this
.
btnWriteSingleDO
.
Size
=
new
System
.
Drawing
.
Size
(
1
0
0
,
34
);
this
.
btnWriteSingleDO
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnWriteSingleDO
.
TabIndex
=
269
;
this
.
btnWriteSingleDO
.
TabIndex
=
269
;
this
.
btnWriteSingleDO
.
Text
=
"关闭"
;
this
.
btnWriteSingleDO
.
Text
=
"关闭"
;
this
.
btnWriteSingleDO
.
UseVisualStyleBackColor
=
false
;
this
.
btnWriteSingleDO
.
UseVisualStyleBackColor
=
false
;
...
@@ -191,10 +193,10 @@
...
@@ -191,10 +193,10 @@
// txtWriteTime
// txtWriteTime
//
//
this
.
txtWriteTime
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtWriteTime
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
75
,
10
0
);
this
.
txtWriteTime
.
Location
=
new
System
.
Drawing
.
Point
(
321
,
6
0
);
this
.
txtWriteTime
.
MaxLength
=
10
;
this
.
txtWriteTime
.
MaxLength
=
10
;
this
.
txtWriteTime
.
Name
=
"txtWriteTime"
;
this
.
txtWriteTime
.
Name
=
"txtWriteTime"
;
this
.
txtWriteTime
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
23
);
this
.
txtWriteTime
.
Size
=
new
System
.
Drawing
.
Size
(
40
,
23
);
this
.
txtWriteTime
.
TabIndex
=
271
;
this
.
txtWriteTime
.
TabIndex
=
271
;
this
.
txtWriteTime
.
Text
=
"0"
;
this
.
txtWriteTime
.
Text
=
"0"
;
//
//
...
@@ -203,7 +205,7 @@
...
@@ -203,7 +205,7 @@
this
.
label5
.
AutoSize
=
true
;
this
.
label5
.
AutoSize
=
true
;
this
.
label5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label5
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
label5
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label5
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
12
,
10
3
);
this
.
label5
.
Location
=
new
System
.
Drawing
.
Point
(
253
,
6
3
);
this
.
label5
.
Name
=
"label5"
;
this
.
label5
.
Name
=
"label5"
;
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
label5
.
Size
=
new
System
.
Drawing
.
Size
(
60
,
17
);
this
.
label5
.
TabIndex
=
270
;
this
.
label5
.
TabIndex
=
270
;
...
@@ -229,9 +231,9 @@
...
@@ -229,9 +231,9 @@
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
cmbWriteIO
.
ItemHeight
=
22
;
this
.
cmbWriteIO
.
ItemHeight
=
22
;
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
1
0
,
19
);
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
1
7
,
19
);
this
.
cmbWriteIO
.
Name
=
"cmbWriteIO"
;
this
.
cmbWriteIO
.
Name
=
"cmbWriteIO"
;
this
.
cmbWriteIO
.
Size
=
new
System
.
Drawing
.
Size
(
3
58
,
28
);
this
.
cmbWriteIO
.
Size
=
new
System
.
Drawing
.
Size
(
3
44
,
28
);
this
.
cmbWriteIO
.
TabIndex
=
234
;
this
.
cmbWriteIO
.
TabIndex
=
234
;
this
.
cmbWriteIO
.
ValueMember
=
"ProName"
;
this
.
cmbWriteIO
.
ValueMember
=
"ProName"
;
this
.
cmbWriteIO
.
DrawItem
+=
new
System
.
Windows
.
Forms
.
DrawItemEventHandler
(
this
.
cmbWriteIO_DrawItem
);
this
.
cmbWriteIO
.
DrawItem
+=
new
System
.
Windows
.
Forms
.
DrawItemEventHandler
(
this
.
cmbWriteIO_DrawItem
);
...
@@ -244,7 +246,7 @@
...
@@ -244,7 +246,7 @@
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Controls
.
Add
(
this
.
tableLayoutPanel2
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
251
,
6
);
this
.
groupBox4
.
Location
=
new
System
.
Drawing
.
Point
(
251
,
6
);
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Name
=
"groupBox4"
;
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
46
7
);
this
.
groupBox4
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
50
7
);
this
.
groupBox4
.
TabIndex
=
104
;
this
.
groupBox4
.
TabIndex
=
104
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
TabStop
=
false
;
this
.
groupBox4
.
Text
=
"DO列表"
;
this
.
groupBox4
.
Text
=
"DO列表"
;
...
@@ -262,7 +264,7 @@
...
@@ -262,7 +264,7 @@
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowCount
=
2
;
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
4
4
7
);
this
.
tableLayoutPanel2
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
4
8
7
);
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
this
.
tableLayoutPanel2
.
TabIndex
=
103
;
//
//
// groupBox3
// groupBox3
...
@@ -272,7 +274,7 @@
...
@@ -272,7 +274,7 @@
this
.
groupBox3
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
groupBox3
.
Controls
.
Add
(
this
.
tableLayoutPanel1
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
6
);
this
.
groupBox3
.
Location
=
new
System
.
Drawing
.
Point
(
6
,
6
);
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Name
=
"groupBox3"
;
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
46
7
);
this
.
groupBox3
.
Size
=
new
System
.
Drawing
.
Size
(
240
,
50
7
);
this
.
groupBox3
.
TabIndex
=
103
;
this
.
groupBox3
.
TabIndex
=
103
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
TabStop
=
false
;
this
.
groupBox3
.
Text
=
"DI列表"
;
this
.
groupBox3
.
Text
=
"DI列表"
;
...
@@ -290,23 +292,22 @@
...
@@ -290,23 +292,22 @@
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowCount
=
2
;
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
RowStyles
.
Add
(
new
System
.
Windows
.
Forms
.
RowStyle
(
System
.
Windows
.
Forms
.
SizeType
.
Absolute
,
17F
));
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
4
4
7
);
this
.
tableLayoutPanel1
.
Size
=
new
System
.
Drawing
.
Size
(
229
,
4
8
7
);
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
this
.
tableLayoutPanel1
.
TabIndex
=
102
;
//
//
// groupBox5
// groupBox5
//
//
this
.
groupBox5
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
groupBox5
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnCloseAll
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnStop2Up
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnStop2Up
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnStop1Up
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnStop1Up
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnClampSlack
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnClampSlack
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnUpDownUp
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnUpDownUp
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnBeforeAfterBefore
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnBeforeAfterBefore
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnTopUp
);
this
.
groupBox5
.
Controls
.
Add
(
this
.
btnTopUp
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
87
8
,
6
);
this
.
groupBox5
.
Location
=
new
System
.
Drawing
.
Point
(
87
9
,
6
);
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Name
=
"groupBox5"
;
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
428
,
160
);
this
.
groupBox5
.
Size
=
new
System
.
Drawing
.
Size
(
271
,
149
);
this
.
groupBox5
.
TabIndex
=
255
;
this
.
groupBox5
.
TabIndex
=
255
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
TabStop
=
false
;
this
.
groupBox5
.
Text
=
"IO操作测试"
;
this
.
groupBox5
.
Text
=
"IO操作测试"
;
...
@@ -316,9 +317,9 @@
...
@@ -316,9 +317,9 @@
this
.
btnCloseAll
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCloseAll
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnCloseAll
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseAll
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnCloseAll
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseAll
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnCloseAll
.
Location
=
new
System
.
Drawing
.
Point
(
308
,
66
);
this
.
btnCloseAll
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
94
);
this
.
btnCloseAll
.
Name
=
"btnCloseAll"
;
this
.
btnCloseAll
.
Name
=
"btnCloseAll"
;
this
.
btnCloseAll
.
Size
=
new
System
.
Drawing
.
Size
(
11
4
,
73
);
this
.
btnCloseAll
.
Size
=
new
System
.
Drawing
.
Size
(
11
0
,
34
);
this
.
btnCloseAll
.
TabIndex
=
259
;
this
.
btnCloseAll
.
TabIndex
=
259
;
this
.
btnCloseAll
.
Text
=
"关闭所有DO"
;
this
.
btnCloseAll
.
Text
=
"关闭所有DO"
;
this
.
btnCloseAll
.
UseVisualStyleBackColor
=
false
;
this
.
btnCloseAll
.
UseVisualStyleBackColor
=
false
;
...
@@ -329,9 +330,9 @@
...
@@ -329,9 +330,9 @@
this
.
btnStop2Up
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStop2Up
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStop2Up
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStop2Up
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStop2Up
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStop2Up
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStop2Up
.
Location
=
new
System
.
Drawing
.
Point
(
1
62
,
27
);
this
.
btnStop2Up
.
Location
=
new
System
.
Drawing
.
Point
(
1
34
,
21
);
this
.
btnStop2Up
.
Name
=
"btnStop2Up"
;
this
.
btnStop2Up
.
Name
=
"btnStop2Up"
;
this
.
btnStop2Up
.
Size
=
new
System
.
Drawing
.
Size
(
1
4
0
,
34
);
this
.
btnStop2Up
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnStop2Up
.
TabIndex
=
258
;
this
.
btnStop2Up
.
TabIndex
=
258
;
this
.
btnStop2Up
.
Text
=
"阻挡2下降"
;
this
.
btnStop2Up
.
Text
=
"阻挡2下降"
;
this
.
btnStop2Up
.
UseVisualStyleBackColor
=
false
;
this
.
btnStop2Up
.
UseVisualStyleBackColor
=
false
;
...
@@ -342,9 +343,9 @@
...
@@ -342,9 +343,9 @@
this
.
btnStop1Up
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStop1Up
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnStop1Up
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStop1Up
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnStop1Up
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStop1Up
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnStop1Up
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
27
);
this
.
btnStop1Up
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
21
);
this
.
btnStop1Up
.
Name
=
"btnStop1Up"
;
this
.
btnStop1Up
.
Name
=
"btnStop1Up"
;
this
.
btnStop1Up
.
Size
=
new
System
.
Drawing
.
Size
(
1
4
0
,
34
);
this
.
btnStop1Up
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnStop1Up
.
TabIndex
=
256
;
this
.
btnStop1Up
.
TabIndex
=
256
;
this
.
btnStop1Up
.
Text
=
"阻挡1下降"
;
this
.
btnStop1Up
.
Text
=
"阻挡1下降"
;
this
.
btnStop1Up
.
UseVisualStyleBackColor
=
false
;
this
.
btnStop1Up
.
UseVisualStyleBackColor
=
false
;
...
@@ -355,9 +356,9 @@
...
@@ -355,9 +356,9 @@
this
.
btnClampSlack
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClampSlack
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClampSlack
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClampSlack
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClampSlack
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnClampSlack
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnClampSlack
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
105
);
this
.
btnClampSlack
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
99
);
this
.
btnClampSlack
.
Name
=
"btnClampSlack"
;
this
.
btnClampSlack
.
Name
=
"btnClampSlack"
;
this
.
btnClampSlack
.
Size
=
new
System
.
Drawing
.
Size
(
1
4
0
,
34
);
this
.
btnClampSlack
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnClampSlack
.
TabIndex
=
255
;
this
.
btnClampSlack
.
TabIndex
=
255
;
this
.
btnClampSlack
.
Text
=
"夹料夹紧"
;
this
.
btnClampSlack
.
Text
=
"夹料夹紧"
;
this
.
btnClampSlack
.
UseVisualStyleBackColor
=
false
;
this
.
btnClampSlack
.
UseVisualStyleBackColor
=
false
;
...
@@ -368,9 +369,9 @@
...
@@ -368,9 +369,9 @@
this
.
btnUpDownUp
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownUp
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnUpDownUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnUpDownUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnUpDownUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
62
,
105
);
this
.
btnUpDownUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
34
,
99
);
this
.
btnUpDownUp
.
Name
=
"btnUpDownUp"
;
this
.
btnUpDownUp
.
Name
=
"btnUpDownUp"
;
this
.
btnUpDownUp
.
Size
=
new
System
.
Drawing
.
Size
(
1
4
0
,
34
);
this
.
btnUpDownUp
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnUpDownUp
.
TabIndex
=
252
;
this
.
btnUpDownUp
.
TabIndex
=
252
;
this
.
btnUpDownUp
.
Text
=
"升降上升"
;
this
.
btnUpDownUp
.
Text
=
"升降上升"
;
this
.
btnUpDownUp
.
UseVisualStyleBackColor
=
false
;
this
.
btnUpDownUp
.
UseVisualStyleBackColor
=
false
;
...
@@ -381,9 +382,9 @@
...
@@ -381,9 +382,9 @@
this
.
btnBeforeAfterBefore
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnBeforeAfterBefore
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnBeforeAfterBefore
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBeforeAfterBefore
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBeforeAfterBefore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnBeforeAfterBefore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnBeforeAfterBefore
.
Location
=
new
System
.
Drawing
.
Point
(
1
62
,
66
);
this
.
btnBeforeAfterBefore
.
Location
=
new
System
.
Drawing
.
Point
(
1
34
,
60
);
this
.
btnBeforeAfterBefore
.
Name
=
"btnBeforeAfterBefore"
;
this
.
btnBeforeAfterBefore
.
Name
=
"btnBeforeAfterBefore"
;
this
.
btnBeforeAfterBefore
.
Size
=
new
System
.
Drawing
.
Size
(
1
4
0
,
34
);
this
.
btnBeforeAfterBefore
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnBeforeAfterBefore
.
TabIndex
=
249
;
this
.
btnBeforeAfterBefore
.
TabIndex
=
249
;
this
.
btnBeforeAfterBefore
.
Text
=
"横移前进"
;
this
.
btnBeforeAfterBefore
.
Text
=
"横移前进"
;
this
.
btnBeforeAfterBefore
.
UseVisualStyleBackColor
=
false
;
this
.
btnBeforeAfterBefore
.
UseVisualStyleBackColor
=
false
;
...
@@ -394,9 +395,9 @@
...
@@ -394,9 +395,9 @@
this
.
btnTopUp
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnTopUp
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnTopUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnTopUp
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnTopUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnTopUp
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnTopUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
2
,
66
);
this
.
btnTopUp
.
Location
=
new
System
.
Drawing
.
Point
(
1
8
,
60
);
this
.
btnTopUp
.
Name
=
"btnTopUp"
;
this
.
btnTopUp
.
Name
=
"btnTopUp"
;
this
.
btnTopUp
.
Size
=
new
System
.
Drawing
.
Size
(
1
4
0
,
34
);
this
.
btnTopUp
.
Size
=
new
System
.
Drawing
.
Size
(
1
1
0
,
34
);
this
.
btnTopUp
.
TabIndex
=
246
;
this
.
btnTopUp
.
TabIndex
=
246
;
this
.
btnTopUp
.
Text
=
"顶升上升"
;
this
.
btnTopUp
.
Text
=
"顶升上升"
;
this
.
btnTopUp
.
UseVisualStyleBackColor
=
false
;
this
.
btnTopUp
.
UseVisualStyleBackColor
=
false
;
...
@@ -423,7 +424,7 @@
...
@@ -423,7 +424,7 @@
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblThisSta
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
64
);
this
.
lblThisSta
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
64
);
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Name
=
"lblThisSta"
;
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
52
8
,
132
);
this
.
lblThisSta
.
Size
=
new
System
.
Drawing
.
Size
(
37
8
,
132
);
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
lblThisSta
.
TabIndex
=
246
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
Text
=
"等待启动"
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
this
.
lblThisSta
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleCenter
;
...
@@ -517,7 +518,7 @@
...
@@ -517,7 +518,7 @@
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
58
);
this
.
tabControl1
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
58
);
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
Name
=
"tabControl1"
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
SelectedIndex
=
0
;
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
323
,
50
9
);
this
.
tabControl1
.
Size
=
new
System
.
Drawing
.
Size
(
1
173
,
54
9
);
this
.
tabControl1
.
TabIndex
=
257
;
this
.
tabControl1
.
TabIndex
=
257
;
//
//
// tabPage1
// tabPage1
...
@@ -530,7 +531,7 @@
...
@@ -530,7 +531,7 @@
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage1
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Name
=
"tabPage1"
;
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1
315
,
47
9
);
this
.
tabPage1
.
Size
=
new
System
.
Drawing
.
Size
(
1
165
,
51
9
);
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
TabIndex
=
0
;
this
.
tabPage1
.
Text
=
" IO列表 "
;
this
.
tabPage1
.
Text
=
" IO列表 "
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
this
.
tabPage1
.
UseVisualStyleBackColor
=
true
;
...
@@ -544,19 +545,21 @@
...
@@ -544,19 +545,21 @@
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblInstoreList
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblInstoreList
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox6
.
Controls
.
Add
(
this
.
lblThisSta
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
498
,
1
72
);
this
.
groupBox6
.
Location
=
new
System
.
Drawing
.
Point
(
498
,
1
61
);
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Name
=
"groupBox6"
;
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
808
,
301
);
this
.
groupBox6
.
Size
=
new
System
.
Drawing
.
Size
(
658
,
352
);
this
.
groupBox6
.
TabIndex
=
278
;
this
.
groupBox6
.
TabIndex
=
278
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
TabStop
=
false
;
this
.
groupBox6
.
Text
=
"消息"
;
this
.
groupBox6
.
Text
=
"消息"
;
//
//
// lblInoutInfo
// lblInoutInfo
//
//
this
.
lblInoutInfo
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblInoutInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblInoutInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Green
;
this
.
lblInoutInfo
.
Location
=
new
System
.
Drawing
.
Point
(
13
,
16
);
this
.
lblInoutInfo
.
Location
=
new
System
.
Drawing
.
Point
(
13
,
16
);
this
.
lblInoutInfo
.
Name
=
"lblInoutInfo"
;
this
.
lblInoutInfo
.
Name
=
"lblInoutInfo"
;
this
.
lblInoutInfo
.
Size
=
new
System
.
Drawing
.
Size
(
788
,
42
);
this
.
lblInoutInfo
.
Size
=
new
System
.
Drawing
.
Size
(
639
,
42
);
this
.
lblInoutInfo
.
TabIndex
=
281
;
this
.
lblInoutInfo
.
TabIndex
=
281
;
this
.
lblInoutInfo
.
Text
=
"当前出入库:"
;
this
.
lblInoutInfo
.
Text
=
"当前出入库:"
;
//
//
...
@@ -580,7 +583,7 @@
...
@@ -580,7 +583,7 @@
this
.
lblInstoreList
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblInstoreList
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
180
);
this
.
lblInstoreList
.
Location
=
new
System
.
Drawing
.
Point
(
274
,
180
);
this
.
lblInstoreList
.
Name
=
"lblInstoreList"
;
this
.
lblInstoreList
.
Name
=
"lblInstoreList"
;
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
52
8
,
115
);
this
.
lblInstoreList
.
Size
=
new
System
.
Drawing
.
Size
(
37
8
,
115
);
this
.
lblInstoreList
.
TabIndex
=
277
;
this
.
lblInstoreList
.
TabIndex
=
277
;
//
//
// tabPage2
// tabPage2
...
@@ -862,6 +865,7 @@
...
@@ -862,6 +865,7 @@
//
//
this
.
panel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
this
.
panel1
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
panel1
.
Controls
.
Add
(
this
.
btnClose
);
this
.
panel1
.
Controls
.
Add
(
this
.
lblName
);
this
.
panel1
.
Controls
.
Add
(
this
.
lblName
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbDebug
);
this
.
panel1
.
Controls
.
Add
(
this
.
chbDebug
);
this
.
panel1
.
Controls
.
Add
(
this
.
lblStoreStatus
);
this
.
panel1
.
Controls
.
Add
(
this
.
lblStoreStatus
);
...
@@ -872,9 +876,22 @@
...
@@ -872,9 +876,22 @@
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Name
=
"panel1"
;
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
31
9
,
54
);
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1
16
9
,
54
);
this
.
panel1
.
TabIndex
=
258
;
this
.
panel1
.
TabIndex
=
258
;
//
//
// btnClose
//
this
.
btnClose
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnClose
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnClose
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnClose
.
Location
=
new
System
.
Drawing
.
Point
(
1203
,
13
);
this
.
btnClose
.
Name
=
"btnClose"
;
this
.
btnClose
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
40
);
this
.
btnClose
.
TabIndex
=
251
;
this
.
btnClose
.
Text
=
"返回"
;
this
.
btnClose
.
UseVisualStyleBackColor
=
false
;
this
.
btnClose
.
Click
+=
new
System
.
EventHandler
(
this
.
btnClose_Click
);
//
// lblName
// lblName
//
//
this
.
lblName
.
BackColor
=
System
.
Drawing
.
Color
.
DodgerBlue
;
this
.
lblName
.
BackColor
=
System
.
Drawing
.
Color
.
DodgerBlue
;
...
@@ -891,7 +908,7 @@
...
@@ -891,7 +908,7 @@
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
334
,
57
1
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
1
184
,
61
1
);
this
.
Controls
.
Add
(
this
.
panel1
);
this
.
Controls
.
Add
(
this
.
panel1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Controls
.
Add
(
this
.
tabControl1
);
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
...
@@ -985,6 +1002,7 @@
...
@@ -985,6 +1002,7 @@
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
Label
label2
;
private
System
.
Windows
.
Forms
.
Button
btnDSave
;
private
System
.
Windows
.
Forms
.
Button
btnDSave
;
private
System
.
Windows
.
Forms
.
Label
lblInoutInfo
;
private
System
.
Windows
.
Forms
.
Label
lblInoutInfo
;
private
System
.
Windows
.
Forms
.
Button
btnClose
;
}
}
}
}
source/AssemblyLineClient/FrmMoveEquip.cs
查看文件 @
b5264ed
...
@@ -57,6 +57,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -57,6 +57,7 @@ namespace OnlineStore.AssemblyLine
lblThisSta
.
Text
=
equipBean
.
WarnMsg
;
lblThisSta
.
Text
=
equipBean
.
WarnMsg
;
txtP1
.
Text
=
equipBean
.
Config
.
UpDownAxisP1
.
ToString
();
txtP1
.
Text
=
equipBean
.
Config
.
UpDownAxisP1
.
ToString
();
lblName
.
Text
=
equipBean
.
Name
;
lblName
.
Text
=
equipBean
.
Name
;
this
.
Text
=
equipBean
.
Name
;
LoadDP2
();
LoadDP2
();
IsLoad
=
true
;
IsLoad
=
true
;
}
}
...
@@ -372,11 +373,11 @@ namespace OnlineStore.AssemblyLine
...
@@ -372,11 +373,11 @@ namespace OnlineStore.AssemblyLine
private
void
btnStop1Up_Click
(
object
sender
,
EventArgs
e
)
private
void
btnStop1Up_Click
(
object
sender
,
EventArgs
e
)
{
{
BtnMove
(
btnStop1Up
,
"阻挡1下降"
,
"阻挡1上升"
,
IO_Type
.
Stop
Cylinder_
Down1
);
BtnMove
(
btnStop1Up
,
"阻挡1下降"
,
"阻挡1上升"
,
IO_Type
.
StopDown1
);
}
}
private
void
btnStop2Up_Click
(
object
sender
,
EventArgs
e
)
private
void
btnStop2Up_Click
(
object
sender
,
EventArgs
e
)
{
{
BtnMove
(
btnStop2Up
,
"阻挡2下降"
,
"阻挡2上升"
,
IO_Type
.
Stop
Cylinder_
Down2
);
BtnMove
(
btnStop2Up
,
"阻挡2下降"
,
"阻挡2上升"
,
IO_Type
.
StopDown2
);
}
}
private
void
btnTopUp_Click
(
object
sender
,
EventArgs
e
)
private
void
btnTopUp_Click
(
object
sender
,
EventArgs
e
)
...
@@ -402,7 +403,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -402,7 +403,7 @@ namespace OnlineStore.AssemblyLine
}
}
private
void
btnClampSlack_Click
(
object
sender
,
EventArgs
e
)
private
void
btnClampSlack_Click
(
object
sender
,
EventArgs
e
)
{
{
BtnMove
(
btnClampSlack
,
"夹料夹紧"
,
"夹料放松"
,
IO_Type
.
ClampCylinder_
Tighten
,
IO_Type
.
ClampCylinder_Slac
k
);
BtnMove
(
btnClampSlack
,
"夹料夹紧"
,
"夹料放松"
,
IO_Type
.
ClampCylinder_
Relax
,
IO_Type
.
ClampCylinder_Wor
k
);
}
}
private
void
cmbSizeList_SelectedIndexChanged
(
object
sender
,
EventArgs
e
)
private
void
cmbSizeList_SelectedIndexChanged
(
object
sender
,
EventArgs
e
)
...
@@ -591,6 +592,11 @@ namespace OnlineStore.AssemblyLine
...
@@ -591,6 +592,11 @@ namespace OnlineStore.AssemblyLine
}
}
}
}
private
void
btnClose_Click
(
object
sender
,
EventArgs
e
)
{
this
.
Close
();
}
}
}
}
}
...
...
source/AssemblyLineClient/FrmRFIPEdit.cs
查看文件 @
b5264ed
...
@@ -28,8 +28,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -28,8 +28,7 @@ namespace OnlineStore.AssemblyLine
{
{
comboxType
.
Items
.
Clear
();
comboxType
.
Items
.
Clear
();
foreach
(
EquipBase
b
in
LineManager
.
Line
.
AllEquipMap
.
Values
)
foreach
(
EquipBase
b
in
LineManager
.
Line
.
AllEquipMap
.
Values
)
{
{
if
(
b
.
baseConfig
.
DType
.
Equals
(
DeviceType
.
DischargeLine
))
{
continue
;
}
string
key
=
b
.
Name
+
"-托盘RF"
;
string
key
=
b
.
Name
+
"-托盘RF"
;
string
value
=
RFIDManager
.
GetRFIP
(
b
.
DeviceID
);
string
value
=
RFIDManager
.
GetRFIP
(
b
.
DeviceID
);
rfMap
.
Add
(
key
,
value
);
rfMap
.
Add
(
key
,
value
);
...
...
source/AssemblyLineClient/useControl/EquipControl.Designer.cs
0 → 100644
查看文件 @
b5264ed
namespace
OnlineStore.AssemblyLine
{
partial
class
EquipControl
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private
System
.
ComponentModel
.
IContainer
components
=
null
;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected
override
void
Dispose
(
bool
disposing
)
{
if
(
disposing
&&
(
components
!=
null
))
{
components
.
Dispose
();
}
base
.
Dispose
(
disposing
);
}
#
region
组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private
void
InitializeComponent
()
{
this
.
components
=
new
System
.
ComponentModel
.
Container
();
this
.
lblTrayNum
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblName
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblStatus
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblMoveInfo
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
lblDebug
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
toolTip1
=
new
System
.
Windows
.
Forms
.
ToolTip
(
this
.
components
);
this
.
lblBox
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
panName
=
new
System
.
Windows
.
Forms
.
Panel
();
this
.
panName
.
SuspendLayout
();
this
.
SuspendLayout
();
//
// lblTrayNum
//
this
.
lblTrayNum
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblTrayNum
.
AutoSize
=
true
;
this
.
lblTrayNum
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblTrayNum
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblTrayNum
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lblTrayNum
.
Location
=
new
System
.
Drawing
.
Point
(
185
,
35
);
this
.
lblTrayNum
.
Name
=
"lblTrayNum"
;
this
.
lblTrayNum
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblTrayNum
.
TabIndex
=
0
;
this
.
lblTrayNum
.
Text
=
"托盘号:"
;
this
.
lblTrayNum
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// lblName
//
this
.
lblName
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lblName
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
12F
,
System
.
Drawing
.
FontStyle
.
Bold
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblName
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblName
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lblName
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
2
);
this
.
lblName
.
Name
=
"lblName"
;
this
.
lblName
.
Size
=
new
System
.
Drawing
.
Size
(
182
,
22
);
this
.
lblName
.
TabIndex
=
1
;
this
.
lblName
.
Text
=
"移栽D1-1_1"
;
this
.
lblName
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// lblStatus
//
this
.
lblStatus
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblStatus
.
AutoSize
=
true
;
this
.
lblStatus
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblStatus
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblStatus
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lblStatus
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
29
);
this
.
lblStatus
.
Name
=
"lblStatus"
;
this
.
lblStatus
.
Size
=
new
System
.
Drawing
.
Size
(
56
,
17
);
this
.
lblStatus
.
TabIndex
=
2
;
this
.
lblStatus
.
Text
=
"暂未启动"
;
this
.
lblStatus
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// lblMoveInfo
//
this
.
lblMoveInfo
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblMoveInfo
.
AutoSize
=
true
;
this
.
lblMoveInfo
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblMoveInfo
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblMoveInfo
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lblMoveInfo
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
50
);
this
.
lblMoveInfo
.
Name
=
"lblMoveInfo"
;
this
.
lblMoveInfo
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
lblMoveInfo
.
TabIndex
=
3
;
this
.
lblMoveInfo
.
Text
=
"暂无出入库"
;
this
.
lblMoveInfo
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// lblDebug
//
this
.
lblDebug
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblDebug
.
AutoSize
=
true
;
this
.
lblDebug
.
BackColor
=
System
.
Drawing
.
Color
.
Transparent
;
this
.
lblDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblDebug
.
Location
=
new
System
.
Drawing
.
Point
(
183
,
4
);
this
.
lblDebug
.
Name
=
"lblDebug"
;
this
.
lblDebug
.
Size
=
new
System
.
Drawing
.
Size
(
51
,
20
);
this
.
lblDebug
.
TabIndex
=
5
;
this
.
lblDebug
.
Text
=
"启用:"
;
//
// lblBox
//
this
.
lblBox
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
lblBox
.
BackColor
=
System
.
Drawing
.
Color
.
LightGray
;
this
.
lblBox
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
lblBox
.
ForeColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
lblBox
.
ImageAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
this
.
lblBox
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
75
);
this
.
lblBox
.
Name
=
"lblBox"
;
this
.
lblBox
.
Size
=
new
System
.
Drawing
.
Size
(
247
,
24
);
this
.
lblBox
.
TabIndex
=
6
;
this
.
lblBox
.
Text
=
"BOX状态:"
;
this
.
lblBox
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleLeft
;
//
// panName
//
this
.
panName
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)(((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
this
.
panName
.
BackColor
=
System
.
Drawing
.
Color
.
Lime
;
this
.
panName
.
Controls
.
Add
(
this
.
lblDebug
);
this
.
panName
.
Controls
.
Add
(
this
.
lblName
);
this
.
panName
.
Location
=
new
System
.
Drawing
.
Point
(
1
,
1
);
this
.
panName
.
Name
=
"panName"
;
this
.
panName
.
Size
=
new
System
.
Drawing
.
Size
(
248
,
28
);
this
.
panName
.
TabIndex
=
7
;
//
// EquipControl
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
96F
,
96F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Dpi
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
LightGreen
;
this
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
FixedSingle
;
this
.
Controls
.
Add
(
this
.
panName
);
this
.
Controls
.
Add
(
this
.
lblBox
);
this
.
Controls
.
Add
(
this
.
lblMoveInfo
);
this
.
Controls
.
Add
(
this
.
lblStatus
);
this
.
Controls
.
Add
(
this
.
lblTrayNum
);
this
.
Name
=
"EquipControl"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
250
,
100
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
EquipControl_Load
);
this
.
panName
.
ResumeLayout
(
false
);
this
.
panName
.
PerformLayout
();
this
.
ResumeLayout
(
false
);
this
.
PerformLayout
();
}
#
endregion
private
System
.
Windows
.
Forms
.
Label
lblTrayNum
;
private
System
.
Windows
.
Forms
.
Label
lblName
;
private
System
.
Windows
.
Forms
.
Label
lblStatus
;
private
System
.
Windows
.
Forms
.
Label
lblMoveInfo
;
private
System
.
Windows
.
Forms
.
Label
lblDebug
;
private
System
.
Windows
.
Forms
.
ToolTip
toolTip1
;
private
System
.
Windows
.
Forms
.
Label
lblBox
;
private
System
.
Windows
.
Forms
.
Panel
panName
;
}
}
source/AssemblyLineClient/useControl/EquipControl.cs
0 → 100644
查看文件 @
b5264ed
using
System
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.Drawing
;
using
System.Data
;
using
System.Linq
;
using
System.Text
;
using
System.Windows.Forms
;
using
OnlineStore.DeviceLibrary
;
namespace
OnlineStore.AssemblyLine
{
public
partial
class
EquipControl
:
UserControl
{
public
string
TrayNum
{
get
{
return
lblTrayNum
.
Text
;
}
set
{
lblTrayNum
.
Text
=
value
;
}
}
public
string
EquipName
{
get
{
return
lblName
.
Text
;
}
set
{
lblName
.
Text
=
value
;
}
}
public
string
WorkStatus
{
get
{
return
lblStatus
.
Text
;
}
set
{
lblStatus
.
Text
=
value
;
}
}
public
string
MoveInfo
{
get
{
return
lblMoveInfo
.
Text
;
}
set
{
lblMoveInfo
.
Text
=
value
;
}
}
public
Color
ColorStatus
{
get
{
return
this
.
BackColor
;
}
set
{
this
.
BackColor
=
value
;
}
}
public
void
InitData
(
EquipBase
equip
)
{
if
(
equip
is
MoveEquip
)
{
panName
.
BackColor
=
Color
.
DeepSkyBlue
;
lblBox
.
Visible
=
true
;
lblBox
.
Text
=
""
;
}
else
if
(
equip
is
FeedingEquip
)
{
panName
.
BackColor
=
Color
.
Lime
;
lblBox
.
Visible
=
false
;
lblBox
.
Text
=
""
;
}
else
{
panName
.
BackColor
=
Color
.
Aqua
;
lblBox
.
Visible
=
false
;
lblBox
.
Text
=
""
;
}
DeviceId
=
equip
.
DeviceID
;
lblName
.
Text
=
equip
.
Name
;
}
public
int
DeviceId
=
0
;
public
void
ShowData
(
EquipBase
equip
)
{
lblTrayNum
.
Text
=
"托盘:"
+
equip
.
currTrayNum
;
lblStatus
.
Text
=
equip
.
GetRunStr
();
toolTip1
.
ToolTipTitle
=
""
+
equip
.
Name
+
":双击进入"
;
lblDebug
.
Text
=
"启用:"
+
(
equip
.
IsDebug
?
"✘"
:
"✔"
);
if
(
equip
.
DeviceID
<
200
)
{
if
(
equip
.
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
InStore
))
{
lblMoveInfo
.
Text
=
"入库中:"
+
equip
.
MoveInfo
.
MoveParam
.
PosId
+
"_"
+
equip
.
MoveInfo
.
MoveParam
.
WareCode
;
}
else
if
(
equip
.
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
OutStore
))
{
lblMoveInfo
.
Text
=
"出库中:"
+
equip
.
MoveInfo
.
MoveParam
.
PosId
+
"_"
+
equip
.
MoveInfo
.
MoveParam
.
WareCode
;
}
else
{
lblMoveInfo
.
Text
=
"暂无出入库"
;
}
if
(
equip
.
DeviceID
<
100
)
{
BoxInfo
box
=
LineServer
.
GetBoxInfo
(
equip
.
DeviceID
);
string
online
=
"✘"
;
if
(
box
!=
null
)
{
//lvi.SubItems.Add(box.CId.ToString());
//lvi.SubItems.Add(online);
//lvi.SubItems.Add(box.SAlarmType.ToString());
//lvi.SubItems.Add(box.ToShowStr());
if
((
DateTime
.
Now
-
box
.
LastMsgTime
).
TotalSeconds
<
LineServer
.
ClientKeepSecond
)
{
online
=
"✔"
;
}
if
(
box
.
SAlarmType
.
Equals
(
LineAlarm
.
None
))
{
lblBox
.
Text
=
"BOX["
+
box
.
CId
.
ToString
()
+
"]:"
+
online
+
" "
+
box
.
ToShowStr
();
lblBox
.
BackColor
=
Color
.
Green
;
}
else
{
lblBox
.
Text
=
"BOX["
+
box
.
CId
.
ToString
()
+
"]:"
+
online
+
" "
+
box
.
ToShowStr
();
lblBox
.
BackColor
=
Color
.
Red
;
}
}
else
{
lblBox
.
Text
=
"BOX状态:"
+
online
;
lblBox
.
BackColor
=
Color
.
Gray
;
}
}
}
else
{
lblMoveInfo
.
Text
=
"暂无托盘横移"
;
}
SetItemColor
(
equip
.
runStatus
,
equip
.
alarmType
);
}
public
EquipControl
()
{
InitializeComponent
();
}
private
void
SetItemColor
(
LineRunStatus
runStatus
,
LineAlarmType
alarmType
)
{
if
(
runStatus
.
Equals
(
LineRunStatus
.
Wait
))
{
this
.
BackColor
=
Color
.
White
;
}
else
if
(
alarmType
.
Equals
(
LineAlarmType
.
IoSingleTimeOut
))
{
this
.
BackColor
=
Color
.
LightCoral
;
}
else
if
(
alarmType
.
Equals
(
LineAlarmType
.
None
).
Equals
(
false
))
{
this
.
BackColor
=
Color
.
Red
;
}
else
if
(
runStatus
.
Equals
(
LineRunStatus
.
HomeMoving
)
||
runStatus
.
Equals
(
LineRunStatus
.
Reset
))
{
this
.
BackColor
=
Color
.
Orange
;
}
else
if
(
runStatus
.
Equals
(
LineRunStatus
.
Busy
))
{
this
.
BackColor
=
Color
.
LimeGreen
;
}
else
if
(
runStatus
.
Equals
(
LineRunStatus
.
Runing
))
{
this
.
BackColor
=
Color
.
LightBlue
;
}
}
private
void
EquipControl_Load
(
object
sender
,
EventArgs
e
)
{
//lblName.Text = "";
//lblTrayNum.Text = "";
//lblStatus.Text = "";
//lblMoveInfo.Text = "";
}
public
static
EquipControl
NewControl
(
EquipBase
equip
)
{
EquipControl
control
=
new
EquipControl
();
control
.
Anchor
=
((
System
.
Windows
.
Forms
.
AnchorStyles
)((((
System
.
Windows
.
Forms
.
AnchorStyles
.
Top
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Bottom
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Left
)
|
System
.
Windows
.
Forms
.
AnchorStyles
.
Right
)));
control
.
BackColor
=
System
.
Drawing
.
SystemColors
.
Control
;
control
.
BorderStyle
=
System
.
Windows
.
Forms
.
BorderStyle
.
FixedSingle
;
control
.
ColorStatus
=
System
.
Drawing
.
SystemColors
.
Control
;
control
.
EquipName
=
""
;
control
.
Location
=
new
System
.
Drawing
.
Point
(
3
,
3
);
control
.
MoveInfo
=
""
;
control
.
Name
=
"EquipControl"
+
equip
.
DeviceID
;
control
.
Size
=
new
System
.
Drawing
.
Size
(
270
,
91
);
control
.
TabIndex
=
0
;
control
.
TrayNum
=
""
;
control
.
WorkStatus
=
""
;
control
.
EquipName
=
equip
.
Name
;
control
.
DeviceId
=
equip
.
DeviceID
;
control
.
InitData
(
equip
);
control
.
ShowData
(
equip
);
return
control
;
}
}
}
source/AssemblyLineClient/useControl/EquipControl.resx
0 → 100644
查看文件 @
b5264ed
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>
\ No newline at end of file
\ No newline at end of file
source/Common/Setting_Init.cs
查看文件 @
b5264ed
...
@@ -28,14 +28,14 @@ namespace OnlineStore.Common
...
@@ -28,14 +28,14 @@ namespace OnlineStore.Common
public
static
string
Line_moveEquip_count
=
"Line_moveEquip_count"
;
public
static
string
Line_moveEquip_count
=
"Line_moveEquip_count"
;
public
static
string
Line_feedingEquip_count
=
"Line_feedingEquip_count"
;
public
static
string
Line_feedingEquip_count
=
"Line_feedingEquip_count"
;
public
static
string
Line_
providingEquip_count
=
"Line_providing
Equip_count"
;
public
static
string
Line_
HYEquip_count
=
"Line_HY
Equip_count"
;
public
static
string
Line_Type
=
"Line_Type"
;
public
static
string
Line_Type
=
"Line_Type"
;
public
static
string
ConfigPath_Line
=
"ConfigPath_Line"
;
public
static
string
ConfigPath_Line
=
"ConfigPath_Line"
;
public
static
string
ConfigPath_MoveEquip
=
"ConfigPath_MoveEquip"
;
public
static
string
ConfigPath_MoveEquip
=
"ConfigPath_MoveEquip"
;
public
static
string
ConfigPath_FeedingEquip
=
"ConfigPath_FeedingEquip"
;
public
static
string
ConfigPath_FeedingEquip
=
"ConfigPath_FeedingEquip"
;
public
static
string
ConfigPath_
ProvidingEquip
=
"ConfigPath_Providing
Equip"
;
public
static
string
ConfigPath_
HYEquip
=
"ConfigPath_HY
Equip"
;
/// <summary>
/// <summary>
/// 摄像机名称,多个中间使用#分割
/// 摄像机名称,多个中间使用#分割
/// </summary>
/// </summary>
...
...
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
b5264ed
...
@@ -66,15 +66,13 @@
...
@@ -66,15 +66,13 @@
<ItemGroup>
<ItemGroup>
<Compile Include="agvClient\AgvClient.cs" />
<Compile Include="agvClient\AgvClient.cs" />
<Compile Include="assemblyLine\FeedingEquip_OutStore.cs" />
<Compile Include="assemblyLine\FeedingEquip_OutStore.cs" />
<Compile Include="assemblyLine\HY\HYEquipBase.cs" />
<Compile Include="assemblyLine\HY\HY_OutLine.cs" />
<Compile Include="assemblyLine\HY\HY_C1Line.cs" />
<Compile Include="assemblyLine\LineBean_Shunt2.cs" />
<Compile Include="assemblyLine\LineBean_Shunt2.cs" />
<Compile Include="assemblyLine\LineBean_Shunt.cs" />
<Compile Include="assemblyLine\LineBean_Shunt.cs" />
<Compile Include="assemblyLine\OutTrayLineBean.cs" />
<Compile Include="assemblymanager\ALineManager.cs" />
<Compile Include="assemblymanager\ALineManager.cs" />
<Compile Include="assemblyLine\DischargeLine.cs" />
<Compile Include="assemblyLine\DischargeLine_Partial.cs" />
<Compile Include="assemblyLine\ProvidingEquip_Partial.cs" />
<Compile Include="assemblyLine\FeedingEquip_InStore.cs" />
<Compile Include="assemblyLine\FeedingEquip_InStore.cs" />
<Compile Include="assemblyLine\ProvidingEquip.cs" />
<Compile Include="assemblyLine\FeedingEquip.cs" />
<Compile Include="assemblyLine\FeedingEquip.cs" />
<Compile Include="assemblymanager\RFIDManagercs.cs" />
<Compile Include="assemblymanager\RFIDManagercs.cs" />
<Compile Include="assemblymanager\SServerManager.cs" />
<Compile Include="assemblymanager\SServerManager.cs" />
...
@@ -98,6 +96,7 @@
...
@@ -98,6 +96,7 @@
<Compile Include="deviceLibrary\AXIS\PanasonicServo\ACServerManager.cs" />
<Compile Include="deviceLibrary\AXIS\PanasonicServo\ACServerManager.cs" />
<Compile Include="deviceLibrary\AXIS\PanasonicServo\ACServerManager_Partial.cs" />
<Compile Include="deviceLibrary\AXIS\PanasonicServo\ACServerManager_Partial.cs" />
<Compile Include="assemblyLine\EquipBase.cs" />
<Compile Include="assemblyLine\EquipBase.cs" />
<Compile Include="assemblyLine\HY\HY_Coveryor.cs" />
<Compile Include="model\LineAlarm.cs">
<Compile Include="model\LineAlarm.cs">
<SubType>Code</SubType>
<SubType>Code</SubType>
</Compile>
</Compile>
...
@@ -161,19 +160,70 @@
...
@@ -161,19 +160,70 @@
<None Include="LineConfig\Config_DischargeLine_1.csv">
<None Include="LineConfig\Config_DischargeLine_1.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</None>
<None Include="LineConfig\
Config_ProvidingEquip_
1.csv">
<None Include="LineConfig\
HY\Config_HYEquip_0
1.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</None>
<None Include="LineConfig\Config_DischargeLine_2.csv">
<None Include="LineConfig\Config_DischargeLine_2.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</None>
<None Include="LineConfig\
Config_ProvidingEquip_
2.csv">
<None Include="LineConfig\
HY\Config_HYEquip_0
2.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</None>
<None Include="LineConfig\
Config_ProvidingEquip_
3.csv">
<None Include="LineConfig\
HY\Config_HYEquip_0
3.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</None>
<None Include="LineConfig\Config_ProvidingEquip_4.csv">
<None Include="LineConfig\HY\Config_HYEquip_05.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_06.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_07.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_08.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_09.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_10.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_11.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_12.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_13.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_14.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_15.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_16.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_17.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_18.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_19.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_20.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_21.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="LineConfig\HY\Config_HYEquip_04.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</None>
<None Include="LineConfig\MoveEquip\Config_MoveEquip_01.csv">
<None Include="LineConfig\MoveEquip\Config_MoveEquip_01.csv">
...
...
source/DeviceLibrary/LineConfig/Config_Line.csv
查看文件 @
b5264ed
...
@@ -63,17 +63,17 @@ DI,0,急停,SuddenStop_BTN,0,HC,X00
...
@@ -63,17 +63,17 @@ DI,0,急停,SuddenStop_BTN,0,HC,X00
DI,0,复位,Reset_BTN,1,HC,X01
DI,0,复位,Reset_BTN,1,HC,X01
DI,0,气压检测1,Airpressure_Check,2,HC,X02
DI,0,气压检测1,Airpressure_Check,2,HC,X02
DI,217,C7-HY17阻挡托盘检测,C7-HY17阻挡托盘检测,3,HC,X03
DI,217,C7-HY17阻挡托盘检测,C7-HY17阻挡托盘检测,3,HC,X03
DI,217,HY17横移托盘检测,HY
17横移托盘检测
,4,HC,X04
DI,217,HY17横移托盘检测,HY
_TrayCheck
,4,HC,X04
DI,217,HY17横移顶升上升端,HY
17横移顶升上升端
,5,HC,X05
DI,217,HY17横移顶升上升端,HY
_TopCylinder_UP
,5,HC,X05
DI,217,HY17横移顶升下降端,HY
17横移顶升下降端
,6,HC,X06
DI,217,HY17横移顶升下降端,HY
_TopCylinder_Down
,6,HC,X06
DI,217,HY17横移定位1上升端,HY
17横移定位1上升端
,7,HC,X07
DI,217,HY17横移定位1上升端,HY
_LocationCylinder_UP1
,7,HC,X07
DI,217,HY17横移定位1下降端,HY
17横移定位1下降端
,8,HC,X08
DI,217,HY17横移定位1下降端,HY
_LocationCylinder_Down1
,8,HC,X08
DI,217,HY17横移定位2上升端,HY
17横移定位2上升端
,9,HC,X09
DI,217,HY17横移定位2上升端,HY
_LocationCylinder_UP2
,9,HC,X09
DI,217,HY17横移定位2下降端,HY
17横移定位2下降端
,10,HC,X10
DI,217,HY17横移定位2下降端,HY
_LocationCylinder_Down2
,10,HC,X10
DI,217,HY17接驳台气缸取料端,HY
17接驳台气缸取料端
,11,HC,X11
DI,217,HY17接驳台气缸取料端,HY
_MoveCylinder_Take
,11,HC,X11
DI,217,HY17接驳台气缸放料端,HY
17接驳台气缸放料端
,12,HC,X12
DI,217,HY17接驳台气缸放料端,HY
_MoveCylinder_Give
,12,HC,X12
DI,217,HY17夹料气缸料盘检测,HY
17夹料气缸料盘检测
,13,HC,X13
DI,217,HY17夹料气缸料盘检测,HY
_ClampCylinder_Check
,13,HC,X13
DI,217,HY17夹料气缸放松端,HY
17夹料气缸放松端
,14,HC,X14
DI,217,HY17夹料气缸放松端,HY
_ClampCylinder_Relax
,14,HC,X14
,0,,,15,HC,X15
,0,,,15,HC,X15
,,,,,,
,,,,,,
DO,0,待机状态(指示灯),AutoRun_HddLed,0,HC,Y00
DO,0,待机状态(指示灯),AutoRun_HddLed,0,HC,Y00
...
@@ -81,22 +81,22 @@ DO,0,运行状态(指示灯),RunSign_HddLed,1,HC,Y01
...
@@ -81,22 +81,22 @@ DO,0,运行状态(指示灯),RunSign_HddLed,1,HC,Y01
DO,0,故障状态(指示灯),Alarm_HddLed,2,HC,Y02
DO,0,故障状态(指示灯),Alarm_HddLed,2,HC,Y02
DO,0,故障状态(蜂鸣器),Alarm_Buzzer,3,HC,Y03
DO,0,故障状态(蜂鸣器),Alarm_Buzzer,3,HC,Y03
DO,0,C6/C7/C9线体运转,MotorRun_679,4,HC,Y04
DO,0,C6/C7/C9线体运转,MotorRun_679,4,HC,Y04
DO,217,HY17横移电机正转,HY
17横移电机正转
,5,HC,Y05
DO,217,HY17横移电机正转,HY
_LineRun
,5,HC,Y05
DO,217,HY17阻挡下降,HY
17阻挡下降
,6,HC,Y06
DO,217,HY17阻挡下降,HY
_StopDown
,6,HC,Y06
DO,217,HY17横移顶升上升,HY
17横移顶升上升
,7,HC,Y07
DO,217,HY17横移顶升上升,HY
_TopCylinder_UP
,7,HC,Y07
DO,217,HY17横移顶升下降,HY
17横移顶升下降
,8,HC,Y08
DO,217,HY17横移顶升下降,HY
_TopCylinder_Down
,8,HC,Y08
DO,217,HY17横移定位上升,HY
17横移定位上升
,9,HC,Y09
DO,217,HY17横移定位上升,HY
_LocationCylinder_UP
,9,HC,Y09
DO,217,HY17横移定位下降,HY
17横移定位下降
,10,HC,Y10
DO,217,HY17横移定位下降,HY
_LocationCylinder_Down
,10,HC,Y10
DO,217,HY17接驳台气缸取料,HY
17接驳台气缸取料
,11,HC,Y11
DO,217,HY17接驳台气缸取料,HY
_MoveCylinder_Take
,11,HC,Y11
DO,217,HY17接驳台气缸放料,HY
17接驳台气缸放料
,12,HC,Y12
DO,217,HY17接驳台气缸放料,HY
_MoveCylinder_Give
,12,HC,Y12
DO,217,HY17夹料气缸夹紧,HY
17夹料气缸夹紧
,13,HC,Y13
DO,217,HY17夹料气缸夹紧,HY
_ClampCylinder_Work
,13,HC,Y13
DO,217,HY17夹料气缸放松,HY
17夹料气缸放松
,14,HC,Y14
DO,217,HY17夹料气缸放松,HY
_ClampCylinder_Relax
,14,HC,Y14
,,,,15,HC,Y15
,,,,15,HC,Y15
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,D11&D12&HY15,D11&D12&HY15,,,
,,D11&D12&HY15,D11&D12&HY15,,,
DI,22,D11-1阻挡1托盘检测,StopC
ylinder_C
heck1,16,HC,X16
DI,22,D11-1阻挡1托盘检测,StopCheck1,16,HC,X16
DI,22,D11-1阻挡2托盘检测,StopC
ylinder_C
heck2,17,HC,X17
DI,22,D11-1阻挡2托盘检测,StopCheck2,17,HC,X17
DI,22,D11-1顶升上升端,TopCylinder_UP,18,HC,X18
DI,22,D11-1顶升上升端,TopCylinder_UP,18,HC,X18
DI,22,D11-1顶升下降端,TopCylinder_Down,19,HC,X19
DI,22,D11-1顶升下降端,TopCylinder_Down,19,HC,X19
DI,22,D11-1横移前进端,BeforeAfterCylinder_Before,20,HC,X20
DI,22,D11-1横移前进端,BeforeAfterCylinder_Before,20,HC,X20
...
@@ -105,8 +105,8 @@ DI,22,D11-1夹料气缸料盘检测,ClampCylinder_Check,22,HC,X22
...
@@ -105,8 +105,8 @@ DI,22,D11-1夹料气缸料盘检测,ClampCylinder_Check,22,HC,X22
DI,22,D11-1夹料放松端,ClampCylinder_Relax,23,HC,X23
DI,22,D11-1夹料放松端,ClampCylinder_Relax,23,HC,X23
DI,22,D11-1升降上升端,UpDownCylinder_Up,24,HC,X24
DI,22,D11-1升降上升端,UpDownCylinder_Up,24,HC,X24
DI,22,D11-1升降下降端,UpDownCylinder_Down,25,HC,X25
DI,22,D11-1升降下降端,UpDownCylinder_Down,25,HC,X25
DI,21,D11-2阻挡1托盘检测,StopC
ylinder_C
heck1,26,HC,X26
DI,21,D11-2阻挡1托盘检测,StopCheck1,26,HC,X26
DI,21,D11-2阻挡2托盘检测,StopC
ylinder_C
heck2,27,HC,X27
DI,21,D11-2阻挡2托盘检测,StopCheck2,27,HC,X27
DI,21,D11-2顶升上升端,TopCylinder_UP,28,HC,X28
DI,21,D11-2顶升上升端,TopCylinder_UP,28,HC,X28
DI,21,D11-2顶升下降端,TopCylinder_Down,29,HC,X29
DI,21,D11-2顶升下降端,TopCylinder_Down,29,HC,X29
DI,21,D11-2横移前进端,BeforeAfterCylinder_Before,30,HC,X30
DI,21,D11-2横移前进端,BeforeAfterCylinder_Before,30,HC,X30
...
@@ -115,29 +115,29 @@ DI,21,D11-2夹料气缸料盘检测,ClampCylinder_Check,32,HC,X32
...
@@ -115,29 +115,29 @@ DI,21,D11-2夹料气缸料盘检测,ClampCylinder_Check,32,HC,X32
DI,21,D11-2夹料放松端,ClampCylinder_Relax,33,HC,X33
DI,21,D11-2夹料放松端,ClampCylinder_Relax,33,HC,X33
DI,21,D11-2升降上升端,UpDownCylinder_Up,34,HC,X34
DI,21,D11-2升降上升端,UpDownCylinder_Up,34,HC,X34
DI,21,D11-2升降下降端,UpDownCylinder_Down,35,HC,X35
DI,21,D11-2升降下降端,UpDownCylinder_Down,35,HC,X35
DI,24,D12-1阻挡1托盘检测,StopC
ylinder_C
heck1,36,HC,X36
DI,24,D12-1阻挡1托盘检测,StopCheck1,36,HC,X36
DI,24,D12-1阻挡2托盘检测,StopC
ylinder_C
heck2,37,HC,X37
DI,24,D12-1阻挡2托盘检测,StopCheck2,37,HC,X37
DI,24,D12-1顶升上升端,TopCylinder_UP,38,HC,X38
DI,24,D12-1顶升上升端,TopCylinder_UP,38,HC,X38
DI,24,D12-1顶升下降端,TopCylinder_Down,39,HC,X39
DI,24,D12-1顶升下降端,TopCylinder_Down,39,HC,X39
DI,24,D12-1横移前进端,BeforeAfterCylinder_Before,40,HC,X40
DI,24,D12-1横移前进端,BeforeAfterCylinder_Before,40,HC,X40
DI,24,D12-1横移后退端,BeforeAfterCylinder_After,41,HC,X41
DI,24,D12-1横移后退端,BeforeAfterCylinder_After,41,HC,X41
DI,24,D12-1夹料气缸料盘检测,ClampCylinder_Check,42,HC,X42
DI,24,D12-1夹料气缸料盘检测,ClampCylinder_Check,42,HC,X42
DI,24,D12-1夹料放松端,ClampCylinder_Relax,43,HC,X43
DI,24,D12-1夹料放松端,ClampCylinder_Relax,43,HC,X43
DI,23,D12-2阻挡1托盘检测,StopC
ylinder_C
heck1,44,HC,X44
DI,23,D12-2阻挡1托盘检测,StopCheck1,44,HC,X44
DI,23,D12-2阻挡2托盘检测,StopC
ylinder_C
heck2,45,HC,X45
DI,23,D12-2阻挡2托盘检测,StopCheck2,45,HC,X45
DI,23,D12-2顶升上升端,TopCylinder_UP,46,HC,X46
DI,23,D12-2顶升上升端,TopCylinder_UP,46,HC,X46
DI,23,D12-2顶升下降端,TopCylinder_Down,47,HC,X47
DI,23,D12-2顶升下降端,TopCylinder_Down,47,HC,X47
DI,23,D12-2横移前进端,BeforeAfterCylinder_Before,48,HC,X48
DI,23,D12-2横移前进端,BeforeAfterCylinder_Before,48,HC,X48
DI,23,D12-2横移后退端,BeforeAfterCylinder_After,49,HC,X49
DI,23,D12-2横移后退端,BeforeAfterCylinder_After,49,HC,X49
DI,23,D12-2夹料气缸料盘检测,ClampCylinder_Check,50,HC,X50
DI,23,D12-2夹料气缸料盘检测,ClampCylinder_Check,50,HC,X50
DI,23,D12-2夹料放松端,ClampCylinder_Relax,51,HC,X51
DI,23,D12-2夹料放松端,ClampCylinder_Relax,51,HC,X51
DI,216,HY16前阻挡托盘检测,HY
16前阻挡托盘检测
,52,HC,X52
DI,216,HY16前阻挡托盘检测,HY
_FrontStopCheck
,52,HC,X52
DI,216,HY16横移托盘检测,HY
16横移托盘检测
,53,HC,X53
DI,216,HY16横移托盘检测,HY
_TrayCheck
,53,HC,X53
DI,216,HY16横移顶升上升端,HY
16横移顶升上升端
,54,HC,X54
DI,216,HY16横移顶升上升端,HY
_TopCylinder_UP
,54,HC,X54
DI,216,HY16横移顶升下降端,HY
16横移顶升下降端
,55,HC,X55
DI,216,HY16横移顶升下降端,HY
_TopCylinder_Down
,55,HC,X55
DI,216,HY16-C7阻挡上升端,HY
16-C7阻挡上升端
,56,HC,X56
DI,216,HY16-C7阻挡上升端,HY
_StopCylinder_Up
,56,HC,X56
DI,216,HY16-C7阻挡下降端,HY
16-C7阻挡下降端
,57,HC,X57
DI,216,HY16-C7阻挡下降端,HY
_StopCylinder_Down
,57,HC,X57
DI,217,C7-HY17满料检测,
C7-HY17满料检测
,58,HC,X58
DI,217,C7-HY17满料检测,
HY_TrayImpletion_Check
,58,HC,X58
,,,,59,HC,X59
,,,,59,HC,X59
,,,,60,HC,X60
,,,,60,HC,X60
,,,,61,HC,X61
,,,,61,HC,X61
...
@@ -145,8 +145,8 @@ DI,217,C7-HY17满料检测,C7-HY17满料检测,58,HC,X58
...
@@ -145,8 +145,8 @@ DI,217,C7-HY17满料检测,C7-HY17满料检测,58,HC,X58
,,,,63,HC,X63
,,,,63,HC,X63
,,,,,,
,,,,,,
,,,,,,
,,,,,,
DO,22,D11-1阻挡1下降,Stop
Cylinder_Check
1,16,HC,Y16
DO,22,D11-1阻挡1下降,Stop
Down
1,16,HC,Y16
DO,22,D11-1阻挡2下降,Stop
Cylinder_Check
2,17,HC,Y17
DO,22,D11-1阻挡2下降,Stop
Down
2,17,HC,Y17
DO,22,D11-1顶升上升,TopCylinder_UP,18,HC,Y18
DO,22,D11-1顶升上升,TopCylinder_UP,18,HC,Y18
DO,22,D11-1顶升下降,TopCylinder_Down,19,HC,Y19
DO,22,D11-1顶升下降,TopCylinder_Down,19,HC,Y19
DO,22,D11-1横移前进,BeforeAfterCylinder_Before,20,HC,Y20
DO,22,D11-1横移前进,BeforeAfterCylinder_Before,20,HC,Y20
...
@@ -155,8 +155,8 @@ DO,22,D11-1夹料夹紧,ClampCylinder_Work,22,HC,Y22
...
@@ -155,8 +155,8 @@ DO,22,D11-1夹料夹紧,ClampCylinder_Work,22,HC,Y22
DO,22,D11-1夹料放松,ClampCylinder_Relax,23,HC,Y23
DO,22,D11-1夹料放松,ClampCylinder_Relax,23,HC,Y23
DO,22,D11-1升降上升,UpDownCylinder_Up,24,HC,Y24
DO,22,D11-1升降上升,UpDownCylinder_Up,24,HC,Y24
DO,22,D11-1升降下降,UpDownCylinder_Down,25,HC,Y25
DO,22,D11-1升降下降,UpDownCylinder_Down,25,HC,Y25
DO,21,D11-2阻挡1下降,Stop
Cylinder_Check
1,26,HC,Y26
DO,21,D11-2阻挡1下降,Stop
Down
1,26,HC,Y26
DO,21,D11-2阻挡2下降,Stop
Cylinder_Check
2,27,HC,Y27
DO,21,D11-2阻挡2下降,Stop
Down
2,27,HC,Y27
DO,21,D11-2顶升上升,TopCylinder_UP,28,HC,Y28
DO,21,D11-2顶升上升,TopCylinder_UP,28,HC,Y28
DO,21,D11-2顶升下降,TopCylinder_Down,29,HC,Y29
DO,21,D11-2顶升下降,TopCylinder_Down,29,HC,Y29
DO,21,D11-2横移前进,BeforeAfterCylinder_Before,30,HC,Y30
DO,21,D11-2横移前进,BeforeAfterCylinder_Before,30,HC,Y30
...
@@ -165,29 +165,29 @@ DO,21,D11-2夹料夹紧,ClampCylinder_Work,32,HC,Y32
...
@@ -165,29 +165,29 @@ DO,21,D11-2夹料夹紧,ClampCylinder_Work,32,HC,Y32
DO,21,D11-2夹料放松,ClampCylinder_Relax,33,HC,Y33
DO,21,D11-2夹料放松,ClampCylinder_Relax,33,HC,Y33
DO,21,D11-2升降上升,UpDownCylinder_Up,34,HC,Y34
DO,21,D11-2升降上升,UpDownCylinder_Up,34,HC,Y34
DO,21,D11-2升降下降,UpDownCylinder_Down,35,HC,Y35
DO,21,D11-2升降下降,UpDownCylinder_Down,35,HC,Y35
DO,24,D12-1阻挡1下降,Stop
Cylinder_Check
1,36,HC,Y36
DO,24,D12-1阻挡1下降,Stop
Down
1,36,HC,Y36
DO,24,D12-1阻挡2下降,Stop
Cylinder_Check
2,37,HC,Y37
DO,24,D12-1阻挡2下降,Stop
Down
2,37,HC,Y37
DO,24,D12-1顶升上升,TopCylinder_UP,38,HC,Y38
DO,24,D12-1顶升上升,TopCylinder_UP,38,HC,Y38
DO,24,D12-1顶升下降,TopCylinder_Down,39,HC,Y39
DO,24,D12-1顶升下降,TopCylinder_Down,39,HC,Y39
DO,24,D12-1横移前进,BeforeAfterCylinder_Before,40,HC,Y40
DO,24,D12-1横移前进,BeforeAfterCylinder_Before,40,HC,Y40
DO,24,D12-1横移后退,BeforeAfterCylinder_After,41,HC,Y41
DO,24,D12-1横移后退,BeforeAfterCylinder_After,41,HC,Y41
DO,24,D12-1夹料夹紧,ClampCylinder_Work,42,HC,Y42
DO,24,D12-1夹料夹紧,ClampCylinder_Work,42,HC,Y42
DO,24,D12-1夹料放松,ClampCylinder_Relax,43,HC,Y43
DO,24,D12-1夹料放松,ClampCylinder_Relax,43,HC,Y43
DO,23,D12-2阻挡1下降,Stop
Cylinder_Check
1,44,HC,Y44
DO,23,D12-2阻挡1下降,Stop
Down
1,44,HC,Y44
DO,23,D12-2阻挡2下降,Stop
Cylinder_Check
2,45,HC,Y45
DO,23,D12-2阻挡2下降,Stop
Down
2,45,HC,Y45
DO,23,D12-2顶升上升,TopCylinder_UP,46,HC,Y46
DO,23,D12-2顶升上升,TopCylinder_UP,46,HC,Y46
DO,23,D12-2顶升下降,TopCylinder_Down,47,HC,Y47
DO,23,D12-2顶升下降,TopCylinder_Down,47,HC,Y47
DO,23,D12-2横移前进,BeforeAfterCylinder_Before,48,HC,Y48
DO,23,D12-2横移前进,BeforeAfterCylinder_Before,48,HC,Y48
DO,23,D12-2横移后退,BeforeAfterCylinder_After,49,HC,Y49
DO,23,D12-2横移后退,BeforeAfterCylinder_After,49,HC,Y49
DO,23,D12-2夹料夹紧,ClampCylinder_Work,50,HC,Y50
DO,23,D12-2夹料夹紧,ClampCylinder_Work,50,HC,Y50
DO,23,D12-2夹料放松,ClampCylinder_Relax,51,HC,Y51
DO,23,D12-2夹料放松,ClampCylinder_Relax,51,HC,Y51
DO,216,HY16横移电机正转,HY
16横移电机正转
,52,HC,Y52
DO,216,HY16横移电机正转,HY
_LineRun
,52,HC,Y52
DO,216,HY16横移顶升上升,HY
16横移顶升上升
,53,HC,Y53
DO,216,HY16横移顶升上升,HY
_TopCylinder_UP
,53,HC,Y53
DO,216,HY16横移顶升下降,HY
16横移顶升下降
,54,HC,Y54
DO,216,HY16横移顶升下降,HY
_TopCylinder_Down
,54,HC,Y54
DO,216,HY16前阻挡下降,HY
16前阻挡下降
,55,HC,Y55
DO,216,HY16前阻挡下降,HY
_FrontStopDown
,55,HC,Y55
DO,216,HY16阻挡下降,HY
16阻挡下降
,56,HC,Y56
DO,216,HY16阻挡下降,HY
_StopDown
,56,HC,Y56
DO,216,HY16-C7阻挡上升,HY
16-C7阻挡上升
,57,HC,Y57
DO,216,HY16-C7阻挡上升,HY
_StopCylinder_Up
,57,HC,Y57
DO,216,HY16-C7阻挡下降,HY
16-C7阻挡下降
,58,HC,Y58
DO,216,HY16-C7阻挡下降,HY
_StopCylinder_Down
,58,HC,Y58
DO,0,C1线体电机1/2/3启动,MotorRun_C1_123,59,HC,Y59
DO,0,C1线体电机1/2/3启动,MotorRun_C1_123,59,HC,Y59
,,,,60,HC,Y60
,,,,60,HC,Y60
,,,,61,HC,Y61
,,,,61,HC,Y61
...
@@ -229,17 +229,17 @@ DI,105,T5上料气缸料盘检测,SL_MoveCylinder_Check,92,HC,X92
...
@@ -229,17 +229,17 @@ DI,105,T5上料气缸料盘检测,SL_MoveCylinder_Check,92,HC,X92
,,,,94,HC,X94
,,,,94,HC,X94
,,,,95,HC,X95
,,,,95,HC,X95
,,,,,,
,,,,,,
DI,219,HY19前阻挡托盘检测,HY
19前阻挡托盘检测
,96,HC,X96
DI,219,HY19前阻挡托盘检测,HY
_FrontStopCheck
,96,HC,X96
DI,219,HY19横移托盘检测,HY
19横移托盘检测
,97,HC,X97
DI,219,HY19横移托盘检测,HY
_TrayCheck
,97,HC,X97
DI,219,HY19横移顶升上升端,HY
19横移顶升上升端
,98,HC,X98
DI,219,HY19横移顶升上升端,HY
_TopCylinder_UP
,98,HC,X98
DI,219,HY19横移顶升下降端,HY
19横移顶升下降端
,99,HC,X99
DI,219,HY19横移顶升下降端,HY
_TopCylinder_Down
,99,HC,X99
DI,221,HY21横移托盘检测,HY
21横移托盘检测
,100,HC,X100
DI,221,HY21横移托盘检测,HY
_TrayCheck
,100,HC,X100
DI,221,HY21横移顶升上升端,HY
21横移顶升上升端
,101,HC,X101
DI,221,HY21横移顶升上升端,HY
_TopCylinder_UP
,101,HC,X101
DI,221,HY21横移顶升下降端,HY
21横移顶升下降端
,102,HC,X102
DI,221,HY21横移顶升下降端,HY
_TopCylinder_Down
,102,HC,X102
DI,221,HY21横移定位1上升端,HY
21横移定位1上升端
,103,HC,X103
DI,221,HY21横移定位1上升端,HY
_LocationCylinder_UP1
,103,HC,X103
DI,221,HY21横移定位1下降端,HY
21横移定位1下降端
,104,HC,X104
DI,221,HY21横移定位1下降端,HY
_LocationCylinder_Down1
,104,HC,X104
DI,221,HY21横移定位2上升端,HY
21横移定位2上升端
,105,HC,X105
DI,221,HY21横移定位2上升端,HY
_LocationCylinder_UP2
,105,HC,X105
DI,221,HY21横移定位2下降端,HY
21横移定位2下降端
,106,HC,X106
DI,221,HY21横移定位2下降端,HY
_LocationCylinder_Down2
,106,HC,X106
,,,,107,HC,X107
,,,,107,HC,X107
,,,,108,HC,X108
,,,,108,HC,X108
,,,,109,HC,X109
,,,,109,HC,X109
...
@@ -251,8 +251,8 @@ DO,105,T5故障指示灯,SL_AlarmLed,65,HC,Y65
...
@@ -251,8 +251,8 @@ DO,105,T5故障指示灯,SL_AlarmLed,65,HC,Y65
DO,105,T5进料线体运转,SL_Line_Run,66,HC,Y66
DO,105,T5进料线体运转,SL_Line_Run,66,HC,Y66
DO,105,T5线体定位横移电机运转,SL_LocationSideWay_Run,67,HC,Y67
DO,105,T5线体定位横移电机运转,SL_LocationSideWay_Run,67,HC,Y67
DO,105,T5线体出口横移电机运转,SL_OutSideWay_Run,68,HC,Y68
DO,105,T5线体出口横移电机运转,SL_OutSideWay_Run,68,HC,Y68
DO,219,HY19横移电机正转,HY
19横移电机正转
,69,HC,Y69
DO,219,HY19横移电机正转,HY
_LineRun
,69,HC,Y69
DO,221,HY21横移电机正转,HY
21横移电机正转
,70,HC,Y70
DO,221,HY21横移电机正转,HY
_LineRun
,70,HC,Y70
DO,105,T5进料阻挡下降,SL_Entry_StopDown,71,HC,Y71
DO,105,T5进料阻挡下降,SL_Entry_StopDown,71,HC,Y71
DO,105,T5定位工位缓冲阻挡,SL_Buffer_StopDown,72,HC,Y72
DO,105,T5定位工位缓冲阻挡,SL_Buffer_StopDown,72,HC,Y72
DO,105,T5出料阻挡下降,SL_Out_StopDown,73,HC,Y73
DO,105,T5出料阻挡下降,SL_Out_StopDown,73,HC,Y73
...
@@ -268,14 +268,14 @@ DO,105,T5上料气缸放松,SL_MoveCylinder_Relax,82,HC,Y82
...
@@ -268,14 +268,14 @@ DO,105,T5上料气缸放松,SL_MoveCylinder_Relax,82,HC,Y82
DO,105,T5上料气缸夹紧,SL_MoveCylinder_Work,83,HC,Y83
DO,105,T5上料气缸夹紧,SL_MoveCylinder_Work,83,HC,Y83
DO,105,T5托盘定位气缸前进,SL_TrayLocation_Before,84,HC,Y84
DO,105,T5托盘定位气缸前进,SL_TrayLocation_Before,84,HC,Y84
DO,105,T5托盘定位气缸后退,SL_TrayLocation_After,85,HC,Y85
DO,105,T5托盘定位气缸后退,SL_TrayLocation_After,85,HC,Y85
DO,219,HY19横移顶升上升,HY
19横移顶升上升
,86,HC,Y86
DO,219,HY19横移顶升上升,HY
_TopCylinder_UP
,86,HC,Y86
DO,219,HY19横移顶升下降,HY
19横移顶升下降
,87,HC,Y87
DO,219,HY19横移顶升下降,HY
_TopCylinder_Down
,87,HC,Y87
DO,219,HY19前阻挡下降,HY
19前阻挡下降
,88,HC,Y88
DO,219,HY19前阻挡下降,HY
_FrontStopDown
,88,HC,Y88
DO,219,HY19阻挡下降,HY
19阻挡下降
,89,HC,Y89
DO,219,HY19阻挡下降,HY
_StopDown
,89,HC,Y89
DO,221,HY21横移顶升上升,HY
21横移顶升上升
,90,HC,Y90
DO,221,HY21横移顶升上升,HY
_TopCylinder_UP
,90,HC,Y90
DO,221,HY21横移顶升下降,HY
21横移顶升下降
,91,HC,Y91
DO,221,HY21横移顶升下降,HY
_TopCylinder_Down
,91,HC,Y91
DO,221,HY21横移定位上升,HY
21横移定位上升
,92,HC,Y92
DO,221,HY21横移定位上升,HY
_LocationCylinder_UP
,92,HC,Y92
DO,221,HY21横移定位下降,HY
21横移定位下降
,93,HC,Y93
DO,221,HY21横移定位下降,HY
_LocationCylinder_Down
,93,HC,Y93
,,,,94,HC,Y94
,,,,94,HC,Y94
,,,,95,HC,Y95
,,,,95,HC,Y95
,,,,,,
,,,,,,
...
@@ -314,17 +314,17 @@ DI,104,T4上料气缸料盘检测,SL_MoveCylinder_Check,140,HC,X140
...
@@ -314,17 +314,17 @@ DI,104,T4上料气缸料盘检测,SL_MoveCylinder_Check,140,HC,X140
DI,104,T4出口检测,SL_OutLine_Check,141,HC,X141
DI,104,T4出口检测,SL_OutLine_Check,141,HC,X141
,,,,142,HC,X142
,,,,142,HC,X142
,,,,143,HC,X143
,,,,143,HC,X143
DI,218,HY18前阻挡托盘检测,HY
18前阻挡托盘检测
,144,HC,X144
DI,218,HY18前阻挡托盘检测,HY
_FrontStopCheck
,144,HC,X144
DI,218,HY18横移托盘检测,HY
18横移托盘检测
,145,HC,X145
DI,218,HY18横移托盘检测,HY
_TrayCheck
,145,HC,X145
DI,218,HY18横移顶升上升端,HY
18横移顶升上升端
,146,HC,X146
DI,218,HY18横移顶升上升端,HY
_TopCylinder_UP
,146,HC,X146
DI,218,HY18横移顶升下降端,HY
18横移顶升下降端
,147,HC,X147
DI,218,HY18横移顶升下降端,HY
_TopCylinder_Down
,147,HC,X147
DI,220,HY20横移托盘检测,HY
20横移托盘检测
,148,HC,X148
DI,220,HY20横移托盘检测,HY
_TrayCheck
,148,HC,X148
DI,220,HY20横移顶升上升端,HY
20横移顶升上升端
,149,HC,X149
DI,220,HY20横移顶升上升端,HY
_TopCylinder_UP
,149,HC,X149
DI,220,HY20横移顶升下降端,HY
20横移顶升下降端
,150,HC,X150
DI,220,HY20横移顶升下降端,HY
_TopCylinder_Down
,150,HC,X150
DI,220,HY20横移定位1上升端,HY
20横移定位1上升端
,151,HC,X151
DI,220,HY20横移定位1上升端,HY
_LocationCylinder_UP1
,151,HC,X151
DI,220,HY20横移定位1下降端,HY
20横移定位1下降端
,152,HC,X152
DI,220,HY20横移定位1下降端,HY
_LocationCylinder_Down1
,152,HC,X152
DI,220,HY20横移定位2上升端,HY
20横移定位2上升端
,153,HC,X153
DI,220,HY20横移定位2上升端,HY
_LocationCylinder_UP2
,153,HC,X153
DI,220,HY20横移定位2下降端,HY
20横移定位2下降端
,154,HC,X154
DI,220,HY20横移定位2下降端,HY
_LocationCylinder_Down2
,154,HC,X154
,,,,155,HC,X155
,,,,155,HC,X155
,,,,156,HC,X156
,,,,156,HC,X156
,,,,157,HC,X157
,,,,157,HC,X157
...
@@ -337,8 +337,8 @@ DO,104,T4进料线体运转,SL_Line_Run,98,HC,Y98
...
@@ -337,8 +337,8 @@ DO,104,T4进料线体运转,SL_Line_Run,98,HC,Y98
DO,104,T4出料线体运转,SL_OutLine_Run,99,HC,Y99
DO,104,T4出料线体运转,SL_OutLine_Run,99,HC,Y99
DO,104,T4线体定位横移电机运转,SL_LocationSideWay_Run,100,HC,Y100
DO,104,T4线体定位横移电机运转,SL_LocationSideWay_Run,100,HC,Y100
DO,104,T4线体出口横移电机运转,SL_OutSideWay_Run,101,HC,Y101
DO,104,T4线体出口横移电机运转,SL_OutSideWay_Run,101,HC,Y101
DO,218,HY18横移电机正转,HY
18横移电机正转
,102,HC,Y102
DO,218,HY18横移电机正转,HY
_LineRun
,102,HC,Y102
DO,220,HY20横移电机正转,HY
20横移电机正转
,103,HC,Y103
DO,220,HY20横移电机正转,HY
_LineRun
,103,HC,Y103
DO,104,T4线体过渡滚筒运转,SL_RollerLine_Run,104,HC,Y104
DO,104,T4线体过渡滚筒运转,SL_RollerLine_Run,104,HC,Y104
DO,104,T4进料阻挡下降,SL_Entry_StopDown,105,HC,Y105
DO,104,T4进料阻挡下降,SL_Entry_StopDown,105,HC,Y105
DO,104,T4定位工位缓冲阻挡,SL_Buffer_StopDown,106,HC,Y106
DO,104,T4定位工位缓冲阻挡,SL_Buffer_StopDown,106,HC,Y106
...
@@ -355,19 +355,19 @@ DO,104,T4上料气缸放松,SL_MoveCylinder_Relax,116,HC,Y116
...
@@ -355,19 +355,19 @@ DO,104,T4上料气缸放松,SL_MoveCylinder_Relax,116,HC,Y116
DO,104,T4上料气缸夹紧,SL_MoveCylinder_Work,117,HC,Y117
DO,104,T4上料气缸夹紧,SL_MoveCylinder_Work,117,HC,Y117
DO,104,T4托盘定位气缸前进,SL_TrayLocation_Before,118,HC,Y118
DO,104,T4托盘定位气缸前进,SL_TrayLocation_Before,118,HC,Y118
DO,104,T4托盘定位气缸后退,SL_TrayLocation_After,119,HC,Y119
DO,104,T4托盘定位气缸后退,SL_TrayLocation_After,119,HC,Y119
DO,218,HY18横移顶升上升,HY
18横移顶升上升
,120,HC,Y120
DO,218,HY18横移顶升上升,HY
_TopCylinder_UP
,120,HC,Y120
DO,218,HY18横移顶升下降,HY
18横移顶升下降
,121,HC,Y121
DO,218,HY18横移顶升下降,HY
_TopCylinder_Down
,121,HC,Y121
DO,218,HY18前阻挡下降,HY
18前阻挡下降
,122,HC,Y122
DO,218,HY18前阻挡下降,HY
_FrontStopDown
,122,HC,Y122
DO,218,HY18阻挡下降,HY
18阻挡下降
,123,HC,Y123
DO,218,HY18阻挡下降,HY
_StopDown
,123,HC,Y123
DO,220,HY20横移顶升上升,HY
20横移顶升上升
,124,HC,Y124
DO,220,HY20横移顶升上升,HY
_TopCylinder_UP
,124,HC,Y124
DO,220,HY20横移顶升下降,HY
20横移顶升下降
,125,HC,Y125
DO,220,HY20横移顶升下降,HY
_TopCylinder_Down
,125,HC,Y125
DO,220,HY20横移定位上升,HY
20横移定位上升
,126,HC,Y126
DO,220,HY20横移定位上升,HY
_LocationCylinder_UP
,126,HC,Y126
DO,220,HY20横移定位下降,HY
20横移定位下降
,127,HC,Y127
DO,220,HY20横移定位下降,HY
_LocationCylinder_Down
,127,HC,Y127
,,,,,,
,,,,,,
,,XT3,XT3,,,
,,XT3,XT3,,,
,,D6&HY15,D6&HY15,,,
,,D6&HY15,D6&HY15,,,
DI,11,D6-1阻挡1托盘检测,StopC
ylinder_C
heck1,160,HC,X160
DI,11,D6-1阻挡1托盘检测,StopCheck1,160,HC,X160
DI,11,D6-1阻挡2托盘检测,StopC
ylinder_C
heck2,161,HC,X161
DI,11,D6-1阻挡2托盘检测,StopCheck2,161,HC,X161
DI,11,D6-1顶升上升端,TopCylinder_UP,162,HC,X162
DI,11,D6-1顶升上升端,TopCylinder_UP,162,HC,X162
DI,11,D6-1顶升下降端,TopCylinder_Down,163,HC,X163
DI,11,D6-1顶升下降端,TopCylinder_Down,163,HC,X163
DI,11,D6-1横移前进端,BeforeAfterCylinder_Before,164,HC,X164
DI,11,D6-1横移前进端,BeforeAfterCylinder_Before,164,HC,X164
...
@@ -376,8 +376,8 @@ DI,11,D6-1夹料气缸料盘检测,ClampCylinder_Check,166,HC,X166
...
@@ -376,8 +376,8 @@ DI,11,D6-1夹料气缸料盘检测,ClampCylinder_Check,166,HC,X166
DI,11,D6-1夹料放松端,ClampCylinder_Relax,167,HC,X167
DI,11,D6-1夹料放松端,ClampCylinder_Relax,167,HC,X167
DI,11,D6-1升降上升端,UpDownCylinder_Up,168,HC,X168
DI,11,D6-1升降上升端,UpDownCylinder_Up,168,HC,X168
DI,11,D6-1升降下降端,UpDownCylinder_Down,169,HC,X169
DI,11,D6-1升降下降端,UpDownCylinder_Down,169,HC,X169
DI,12,D6-2阻挡1托盘检测,StopC
ylinder_C
heck1,170,HC,X170
DI,12,D6-2阻挡1托盘检测,StopCheck1,170,HC,X170
DI,12,D6-2阻挡2托盘检测,StopC
ylinder_C
heck2,171,HC,X171
DI,12,D6-2阻挡2托盘检测,StopCheck2,171,HC,X171
DI,12,D6-2顶升上升端,TopCylinder_UP,172,HC,X172
DI,12,D6-2顶升上升端,TopCylinder_UP,172,HC,X172
DI,12,D6-2顶升下降端,TopCylinder_Down,173,HC,X173
DI,12,D6-2顶升下降端,TopCylinder_Down,173,HC,X173
DI,12,D6-2横移前进端,BeforeAfterCylinder_Before,174,HC,X174
DI,12,D6-2横移前进端,BeforeAfterCylinder_Before,174,HC,X174
...
@@ -386,10 +386,10 @@ DI,12,D6-2夹料气缸料盘检测,ClampCylinder_Check,176,HC,X176
...
@@ -386,10 +386,10 @@ DI,12,D6-2夹料气缸料盘检测,ClampCylinder_Check,176,HC,X176
DI,12,D6-2夹料放松端,ClampCylinder_Relax,177,HC,X177
DI,12,D6-2夹料放松端,ClampCylinder_Relax,177,HC,X177
DI,12,D6-2升降上升端,UpDownCylinder_Up,178,HC,X178
DI,12,D6-2升降上升端,UpDownCylinder_Up,178,HC,X178
DI,12,D6-2升降下降端,UpDownCylinder_Down,179,HC,X179
DI,12,D6-2升降下降端,UpDownCylinder_Down,179,HC,X179
DI,215,HY15前阻挡托盘检测,HY
15前阻挡托盘检测
,180,HC,X180
DI,215,HY15前阻挡托盘检测,HY
_FrontStopCheck
,180,HC,X180
DI,215,HY15横移托盘检测,HY
15横移托盘检测
,181,HC,X181
DI,215,HY15横移托盘检测,HY
_TrayCheck
,181,HC,X181
DI,215,HY15横移顶升上升端,HY
15横移顶升上升端
,182,HC,X182
DI,215,HY15横移顶升上升端,HY
_TopCylinder_UP
,182,HC,X182
DI,215,HY15横移顶升下降端,HY
15横移顶升下降端
,183,HC,X183
DI,215,HY15横移顶升下降端,HY
_TopCylinder_Down
,183,HC,X183
,,,,184,HC,X184
,,,,184,HC,X184
,,,,185,HC,X185
,,,,185,HC,X185
,,,,186,HC,X186
,,,,186,HC,X186
...
@@ -399,8 +399,8 @@ DI,215,HY15横移顶升下降端,HY15横移顶升下降端,183,HC,X183
...
@@ -399,8 +399,8 @@ DI,215,HY15横移顶升下降端,HY15横移顶升下降端,183,HC,X183
,,,,190,HC,X190
,,,,190,HC,X190
,,,,191,HC,X191
,,,,191,HC,X191
,,,,,,
,,,,,,
DO,11,D6-1阻挡1下降,Stop
Cylinder_Check
1,128,HC,Y128
DO,11,D6-1阻挡1下降,Stop
Down
1,128,HC,Y128
DO,11,D6-1阻挡2下降,Stop
Cylinder_Check
2,129,HC,Y129
DO,11,D6-1阻挡2下降,Stop
Down
2,129,HC,Y129
DO,11,D6-1顶升上升,TopCylinder_UP,130,HC,Y130
DO,11,D6-1顶升上升,TopCylinder_UP,130,HC,Y130
DO,11,D6-1顶升下降,TopCylinder_Down,131,HC,Y131
DO,11,D6-1顶升下降,TopCylinder_Down,131,HC,Y131
DO,11,D6-1横移前进,BeforeAfterCylinder_Before,132,HC,Y132
DO,11,D6-1横移前进,BeforeAfterCylinder_Before,132,HC,Y132
...
@@ -409,8 +409,8 @@ DO,11,D6-1夹料夹紧,ClampCylinder_Work,134,HC,Y134
...
@@ -409,8 +409,8 @@ DO,11,D6-1夹料夹紧,ClampCylinder_Work,134,HC,Y134
DO,11,D6-1夹料放松,ClampCylinder_Relax,135,HC,Y135
DO,11,D6-1夹料放松,ClampCylinder_Relax,135,HC,Y135
DO,11,D6-1升降上升,UpDownCylinder_Up,136,HC,Y136
DO,11,D6-1升降上升,UpDownCylinder_Up,136,HC,Y136
DO,11,D6-1升降下降,UpDownCylinder_Down,137,HC,Y137
DO,11,D6-1升降下降,UpDownCylinder_Down,137,HC,Y137
DO,12,D6-2阻挡1下降,Stop
Cylinder_Check
1,138,HC,Y138
DO,12,D6-2阻挡1下降,Stop
Down
1,138,HC,Y138
DO,12,D6-2阻挡2下降,Stop
Cylinder_Check
2,139,HC,Y139
DO,12,D6-2阻挡2下降,Stop
Down
2,139,HC,Y139
DO,12,D6-2顶升上升,TopCylinder_UP,140,HC,Y140
DO,12,D6-2顶升上升,TopCylinder_UP,140,HC,Y140
DO,12,D6-2顶升下降,TopCylinder_Down,141,HC,Y141
DO,12,D6-2顶升下降,TopCylinder_Down,141,HC,Y141
DO,12,D6-2横移前进,BeforeAfterCylinder_Before,142,HC,Y142
DO,12,D6-2横移前进,BeforeAfterCylinder_Before,142,HC,Y142
...
@@ -419,11 +419,11 @@ DO,12,D6-2夹料夹紧,ClampCylinder_Work,144,HC,Y144
...
@@ -419,11 +419,11 @@ DO,12,D6-2夹料夹紧,ClampCylinder_Work,144,HC,Y144
DO,12,D6-2夹料放松,ClampCylinder_Relax,145,HC,Y145
DO,12,D6-2夹料放松,ClampCylinder_Relax,145,HC,Y145
DO,12,D6-2升降上升,UpDownCylinder_Up,146,HC,Y146
DO,12,D6-2升降上升,UpDownCylinder_Up,146,HC,Y146
DO,12,D6-2升降下降,UpDownCylinder_Down,147,HC,Y147
DO,12,D6-2升降下降,UpDownCylinder_Down,147,HC,Y147
DO,215,HY15横移电机正转,HY
15横移电机正转
,148,HC,Y148
DO,215,HY15横移电机正转,HY
_LineRun
,148,HC,Y148
DO,215,HY15横移顶升上升,HY
15横移顶升上升
,149,HC,Y149
DO,215,HY15横移顶升上升,HY
_TopCylinder_UP
,149,HC,Y149
DO,215,HY15横移顶升下降,HY
15横移顶升下降
,150,HC,Y150
DO,215,HY15横移顶升下降,HY
_TopCylinder_Down
,150,HC,Y150
DO,215,HY15前阻挡下降,HY
15前阻挡下降
,151,HC,Y151
DO,215,HY15前阻挡下降,HY
_FrontStopDown
,151,HC,Y151
DO,215,HY15阻挡下降,HY
15阻挡下降
,152,HC,Y152
DO,215,HY15阻挡下降,HY
_StopDown
,152,HC,Y152
,,,,153,HC,Y153
,,,,153,HC,Y153
,,,,154,HC,Y154
,,,,154,HC,Y154
,,,,155,HC,Y155
,,,,155,HC,Y155
...
@@ -435,8 +435,8 @@ DO,215,HY15阻挡下降,HY15阻挡下降,152,HC,Y152
...
@@ -435,8 +435,8 @@ DO,215,HY15阻挡下降,HY15阻挡下降,152,HC,Y152
,,,,,,
,,,,,,
,,XT4,XT4,,,
,,XT4,XT4,,,
,,D4&D5&HY13,D4&D5&HY13,,,
,,D4&D5&HY13,D4&D5&HY13,,,
DI,7,D4-1阻挡1托盘检测,StopC
ylinder_C
heck1,192,HC,X192
DI,7,D4-1阻挡1托盘检测,StopCheck1,192,HC,X192
DI,7,D4-1阻挡2托盘检测,StopC
ylinder_C
heck2,193,HC,X193
DI,7,D4-1阻挡2托盘检测,StopCheck2,193,HC,X193
DI,7,D4-1顶升上升端,TopCylinder_UP,194,HC,X194
DI,7,D4-1顶升上升端,TopCylinder_UP,194,HC,X194
DI,7,D4-1顶升下降端,TopCylinder_Down,195,HC,X195
DI,7,D4-1顶升下降端,TopCylinder_Down,195,HC,X195
DI,7,D4-1横移前进端,BeforeAfterCylinder_Before,196,HC,X196
DI,7,D4-1横移前进端,BeforeAfterCylinder_Before,196,HC,X196
...
@@ -445,8 +445,8 @@ DI,7,D4-1夹料气缸料盘检测,ClampCylinder_Check,198,HC,X198
...
@@ -445,8 +445,8 @@ DI,7,D4-1夹料气缸料盘检测,ClampCylinder_Check,198,HC,X198
DI,7,D4-1夹料放松端,ClampCylinder_Relax,199,HC,X199
DI,7,D4-1夹料放松端,ClampCylinder_Relax,199,HC,X199
DI,7,D4-1升降上升端,UpDownCylinder_Up,200,HC,X200
DI,7,D4-1升降上升端,UpDownCylinder_Up,200,HC,X200
DI,7,D4-1升降下降端,UpDownCylinder_Down,201,HC,X201
DI,7,D4-1升降下降端,UpDownCylinder_Down,201,HC,X201
DI,8,D4-2阻挡1托盘检测,StopC
ylinder_C
heck1,202,HC,X202
DI,8,D4-2阻挡1托盘检测,StopCheck1,202,HC,X202
DI,8,D4-2阻挡2托盘检测,StopC
ylinder_C
heck2,203,HC,X203
DI,8,D4-2阻挡2托盘检测,StopCheck2,203,HC,X203
DI,8,D4-2顶升上升端,TopCylinder_UP,204,HC,X204
DI,8,D4-2顶升上升端,TopCylinder_UP,204,HC,X204
DI,8,D4-2顶升下降端,TopCylinder_Down,205,HC,X205
DI,8,D4-2顶升下降端,TopCylinder_Down,205,HC,X205
DI,8,D4-2横移前进端,BeforeAfterCylinder_Before,206,HC,X206
DI,8,D4-2横移前进端,BeforeAfterCylinder_Before,206,HC,X206
...
@@ -455,28 +455,28 @@ DI,8,D4-2夹料气缸料盘检测,ClampCylinder_Check,208,HC,X208
...
@@ -455,28 +455,28 @@ DI,8,D4-2夹料气缸料盘检测,ClampCylinder_Check,208,HC,X208
DI,8,D4-2夹料放松端,ClampCylinder_Relax,209,HC,X209
DI,8,D4-2夹料放松端,ClampCylinder_Relax,209,HC,X209
DI,8,D4-2升降上升端,UpDownCylinder_Up,210,HC,X210
DI,8,D4-2升降上升端,UpDownCylinder_Up,210,HC,X210
DI,8,D4-2升降下降端,UpDownCylinder_Down,211,HC,X211
DI,8,D4-2升降下降端,UpDownCylinder_Down,211,HC,X211
DI,9,D5-1阻挡1托盘检测,StopC
ylinder_C
heck1,212,HC,X212
DI,9,D5-1阻挡1托盘检测,StopCheck1,212,HC,X212
DI,9,D5-1阻挡2托盘检测,StopC
ylinder_C
heck2,213,HC,X213
DI,9,D5-1阻挡2托盘检测,StopCheck2,213,HC,X213
DI,9,D5-1顶升上升端,TopCylinder_UP,214,HC,X214
DI,9,D5-1顶升上升端,TopCylinder_UP,214,HC,X214
DI,9,D5-1顶升下降端,TopCylinder_Down,215,HC,X215
DI,9,D5-1顶升下降端,TopCylinder_Down,215,HC,X215
DI,9,D5-1横移前进端,BeforeAfterCylinder_Before,216,HC,X216
DI,9,D5-1横移前进端,BeforeAfterCylinder_Before,216,HC,X216
DI,9,D5-1横移后退端,BeforeAfterCylinder_After,217,HC,X217
DI,9,D5-1横移后退端,BeforeAfterCylinder_After,217,HC,X217
DI,9,D5-1夹料气缸料盘检测,ClampCylinder_Check,218,HC,X218
DI,9,D5-1夹料气缸料盘检测,ClampCylinder_Check,218,HC,X218
DI,9,D5-1夹料放松端,ClampCylinder_Relax,219,HC,X219
DI,9,D5-1夹料放松端,ClampCylinder_Relax,219,HC,X219
DI,10,D5-2阻挡1托盘检测,StopC
ylinder_C
heck1,220,HC,X220
DI,10,D5-2阻挡1托盘检测,StopCheck1,220,HC,X220
DI,10,D5-2阻挡2托盘检测,StopC
ylinder_C
heck2,221,HC,X221
DI,10,D5-2阻挡2托盘检测,StopCheck2,221,HC,X221
DI,10,D5-2顶升上升端,TopCylinder_UP,222,HC,X222
DI,10,D5-2顶升上升端,TopCylinder_UP,222,HC,X222
DI,10,D5-2顶升下降端,TopCylinder_Down,223,HC,X223
DI,10,D5-2顶升下降端,TopCylinder_Down,223,HC,X223
,,,,,,
,,,,,,
DI,10,D5-2横移前进端,
D5-2横移前进端
,224,HC,X224
DI,10,D5-2横移前进端,
BeforeAfterCylinder_Before
,224,HC,X224
DI,10,D5-2横移后退端,
D5-2横移后退端
,225,HC,X225
DI,10,D5-2横移后退端,
BeforeAfterCylinder_After
,225,HC,X225
DI,10,D5-2夹料气缸料盘检测,
D5-2夹料气缸料盘检测
,226,HC,X226
DI,10,D5-2夹料气缸料盘检测,
ClampCylinder_Check
,226,HC,X226
DI,10,D5-2夹料放松端,
D5-2夹料放松端
,227,HC,X227
DI,10,D5-2夹料放松端,
ClampCylinder_Relax
,227,HC,X227
DI,213,HY13前阻挡托盘检测,HY
13前阻挡托盘检测
,228,HC,X228
DI,213,HY13前阻挡托盘检测,HY
_FrontStopCheck
,228,HC,X228
DI,213,HY13横移托盘检测,HY
13横移托盘检测
,229,HC,X229
DI,213,HY13横移托盘检测,HY
_TrayCheck
,229,HC,X229
DI,213,HY13横移顶升上升端,HY
13横移顶升上升端
,230,HC,X230
DI,213,HY13横移顶升上升端,HY
_TopCylinder_UP
,230,HC,X230
DI,213,HY13横移顶升下降端,HY
13横移顶升下降端
,231,HC,X231
DI,213,HY13横移顶升下降端,HY
_TopCylinder_Down
,231,HC,X231
DI,213,C6线体HY13侧满料检测,
C6线体HY13侧满料检测
,232,HC,X232
DI,213,C6线体HY13侧满料检测,
HY_TrayImpletion_Check
,232,HC,X232
,,,,233,HC,X233
,,,,233,HC,X233
,,,,234,HC,X234
,,,,234,HC,X234
,,,,235,HC,X235
,,,,235,HC,X235
...
@@ -485,8 +485,8 @@ DI,213,C6线体HY13侧满料检测,C6线体HY13侧满料检测,232,HC,X232
...
@@ -485,8 +485,8 @@ DI,213,C6线体HY13侧满料检测,C6线体HY13侧满料检测,232,HC,X232
,,,,238,HC,X238
,,,,238,HC,X238
,,,,239,HC,X239
,,,,239,HC,X239
,,,,,,
,,,,,,
DO,7,D4-1阻挡1下降,Stop
Cylinder_Check
1,160,HC,Y160
DO,7,D4-1阻挡1下降,Stop
Down
1,160,HC,Y160
DO,7,D4-1阻挡2下降,Stop
Cylinder_Check
2,161,HC,Y161
DO,7,D4-1阻挡2下降,Stop
Down
2,161,HC,Y161
DO,7,D4-1顶升上升,TopCylinder_UP,162,HC,Y162
DO,7,D4-1顶升上升,TopCylinder_UP,162,HC,Y162
DO,7,D4-1顶升下降,TopCylinder_Down,163,HC,Y163
DO,7,D4-1顶升下降,TopCylinder_Down,163,HC,Y163
DO,7,D4-1横移前进,BeforeAfterCylinder_Before,164,HC,Y164
DO,7,D4-1横移前进,BeforeAfterCylinder_Before,164,HC,Y164
...
@@ -495,8 +495,8 @@ DO,7,D4-1夹料夹紧,ClampCylinder_Work,166,HC,Y166
...
@@ -495,8 +495,8 @@ DO,7,D4-1夹料夹紧,ClampCylinder_Work,166,HC,Y166
DO,7,D4-1夹料放松,ClampCylinder_Relax,167,HC,Y167
DO,7,D4-1夹料放松,ClampCylinder_Relax,167,HC,Y167
DO,7,D4-1升降上升,UpDownCylinder_Up,168,HC,Y168
DO,7,D4-1升降上升,UpDownCylinder_Up,168,HC,Y168
DO,7,D4-1升降下降,UpDownCylinder_Down,169,HC,Y169
DO,7,D4-1升降下降,UpDownCylinder_Down,169,HC,Y169
DO,8,D4-2阻挡1下降,Stop
Cylinder_Check
1,170,HC,Y170
DO,8,D4-2阻挡1下降,Stop
Down
1,170,HC,Y170
DO,8,D4-2阻挡2下降,Stop
Cylinder_Check
2,171,HC,Y171
DO,8,D4-2阻挡2下降,Stop
Down
2,171,HC,Y171
DO,8,D4-2顶升上升,TopCylinder_UP,172,HC,Y172
DO,8,D4-2顶升上升,TopCylinder_UP,172,HC,Y172
DO,8,D4-2顶升下降,TopCylinder_Down,173,HC,Y173
DO,8,D4-2顶升下降,TopCylinder_Down,173,HC,Y173
DO,8,D4-2横移前进,BeforeAfterCylinder_Before,174,HC,Y174
DO,8,D4-2横移前进,BeforeAfterCylinder_Before,174,HC,Y174
...
@@ -505,16 +505,16 @@ DO,8,D4-2夹料夹紧,ClampCylinder_Work,176,HC,Y176
...
@@ -505,16 +505,16 @@ DO,8,D4-2夹料夹紧,ClampCylinder_Work,176,HC,Y176
DO,8,D4-2夹料放松,ClampCylinder_Relax,177,HC,Y177
DO,8,D4-2夹料放松,ClampCylinder_Relax,177,HC,Y177
DO,8,D4-2升降上升,UpDownCylinder_Up,178,HC,Y178
DO,8,D4-2升降上升,UpDownCylinder_Up,178,HC,Y178
DO,8,D4-2升降下降,UpDownCylinder_Down,179,HC,Y179
DO,8,D4-2升降下降,UpDownCylinder_Down,179,HC,Y179
DO,9,D5-1阻挡1下降,Stop
Cylinder_Check
1,180,HC,Y180
DO,9,D5-1阻挡1下降,Stop
Down
1,180,HC,Y180
DO,9,D5-1阻挡2下降,Stop
Cylinder_Check
2,181,HC,Y181
DO,9,D5-1阻挡2下降,Stop
Down
2,181,HC,Y181
DO,9,D5-1顶升上升,TopCylinder_UP,182,HC,Y182
DO,9,D5-1顶升上升,TopCylinder_UP,182,HC,Y182
DO,9,D5-1顶升下降,TopCylinder_Down,183,HC,Y183
DO,9,D5-1顶升下降,TopCylinder_Down,183,HC,Y183
DO,9,D5-1横移前进,BeforeAfterCylinder_Before,184,HC,Y184
DO,9,D5-1横移前进,BeforeAfterCylinder_Before,184,HC,Y184
DO,9,D5-1横移后退,BeforeAfterCylinder_After,185,HC,Y185
DO,9,D5-1横移后退,BeforeAfterCylinder_After,185,HC,Y185
DO,9,D5-1夹料夹紧,ClampCylinder_Work,186,HC,Y186
DO,9,D5-1夹料夹紧,ClampCylinder_Work,186,HC,Y186
DO,9,D5-1夹料放松,ClampCylinder_Relax,187,HC,Y187
DO,9,D5-1夹料放松,ClampCylinder_Relax,187,HC,Y187
DO,10,D5-2阻挡1下降,Stop
Cylinder_Check
1,188,HC,Y188
DO,10,D5-2阻挡1下降,Stop
Down
1,188,HC,Y188
DO,10,D5-2阻挡2下降,Stop
Cylinder_Check
2,189,HC,Y189
DO,10,D5-2阻挡2下降,Stop
Down
2,189,HC,Y189
DO,10,D5-2顶升上升,TopCylinder_UP,190,HC,Y190
DO,10,D5-2顶升上升,TopCylinder_UP,190,HC,Y190
DO,10,D5-2顶升下降,TopCylinder_Down,191,HC,Y191
DO,10,D5-2顶升下降,TopCylinder_Down,191,HC,Y191
,,,,,,
,,,,,,
...
@@ -522,11 +522,11 @@ DO,10,D5-2横移前进,BeforeAfterCylinder_Before,192,HC,Y192
...
@@ -522,11 +522,11 @@ DO,10,D5-2横移前进,BeforeAfterCylinder_Before,192,HC,Y192
DO,10,D5-2横移后退,BeforeAfterCylinder_After,193,HC,Y193
DO,10,D5-2横移后退,BeforeAfterCylinder_After,193,HC,Y193
DO,10,D5-2夹料夹紧,ClampCylinder_Work,194,HC,Y194
DO,10,D5-2夹料夹紧,ClampCylinder_Work,194,HC,Y194
DO,10,D5-2夹料放松,ClampCylinder_Relax,195,HC,Y195
DO,10,D5-2夹料放松,ClampCylinder_Relax,195,HC,Y195
DO,213,HY13横移电机正转,HY
13横移电机正转
,196,HC,Y196
DO,213,HY13横移电机正转,HY
_LineRun
,196,HC,Y196
DO,213,HY13横移顶升上升,HY
13横移顶升上升
,197,HC,Y197
DO,213,HY13横移顶升上升,HY
_TopCylinder_UP
,197,HC,Y197
DO,213,HY13横移顶升下降,HY
13横移顶升下降
,198,HC,Y198
DO,213,HY13横移顶升下降,HY
_TopCylinder_Down
,198,HC,Y198
DO,213,HY13前阻挡下降,HY
13前阻挡下降
,199,HC,Y199
DO,213,HY13前阻挡下降,HY
_FrontStopDown
,199,HC,Y199
DO,213,HY13阻挡下降,HY
13阻挡下降
,200,HC,Y200
DO,213,HY13阻挡下降,HY
_StopDown
,200,HC,Y200
,,,,201,HC,Y201
,,,,201,HC,Y201
,,,,202,HC,Y202
,,,,202,HC,Y202
,,,,203,HC,Y203
,,,,203,HC,Y203
...
@@ -605,8 +605,8 @@ DO,103,T3托盘定位气缸后退,SL_TrayLocation_After,229,HC,Y229
...
@@ -605,8 +605,8 @@ DO,103,T3托盘定位气缸后退,SL_TrayLocation_After,229,HC,Y229
,,,,,,
,,,,,,
,,XT5,XT5,,,
,,XT5,XT5,,,
,,D3&HY8&HY9,D3&HY8&HY9,,,
,,D3&HY8&HY9,D3&HY8&HY9,,,
DI,5,D3-1阻挡1托盘检测,StopC
ylinder_C
heck1,272,HC,X272
DI,5,D3-1阻挡1托盘检测,StopCheck1,272,HC,X272
DI,5,D3-1阻挡2托盘检测,StopC
ylinder_C
heck2,273,HC,X273
DI,5,D3-1阻挡2托盘检测,StopCheck2,273,HC,X273
DI,5,D3-1顶升上升端,TopCylinder_UP,274,HC,X274
DI,5,D3-1顶升上升端,TopCylinder_UP,274,HC,X274
DI,5,D3-1顶升下降端,TopCylinder_Down,275,HC,X275
DI,5,D3-1顶升下降端,TopCylinder_Down,275,HC,X275
DI,5,D3-1横移前进端,BeforeAfterCylinder_Before,276,HC,X276
DI,5,D3-1横移前进端,BeforeAfterCylinder_Before,276,HC,X276
...
@@ -615,8 +615,8 @@ DI,5,D3-1夹料气缸料盘检测,ClampCylinder_Check,278,HC,X278
...
@@ -615,8 +615,8 @@ DI,5,D3-1夹料气缸料盘检测,ClampCylinder_Check,278,HC,X278
DI,5,D3-1夹料放松端,ClampCylinder_Relax,279,HC,X279
DI,5,D3-1夹料放松端,ClampCylinder_Relax,279,HC,X279
DI,5,D3-1升降上升端,UpDownCylinder_Up,280,HC,X280
DI,5,D3-1升降上升端,UpDownCylinder_Up,280,HC,X280
DI,5,D3-1升降下降端,UpDownCylinder_Down,281,HC,X281
DI,5,D3-1升降下降端,UpDownCylinder_Down,281,HC,X281
DI,6,D3-2阻挡1托盘检测,StopC
ylinder_C
heck1,282,HC,X282
DI,6,D3-2阻挡1托盘检测,StopCheck1,282,HC,X282
DI,6,D3-2阻挡2托盘检测,StopC
ylinder_C
heck2,283,HC,X283
DI,6,D3-2阻挡2托盘检测,StopCheck2,283,HC,X283
DI,6,D3-2顶升上升端,TopCylinder_UP,284,HC,X284
DI,6,D3-2顶升上升端,TopCylinder_UP,284,HC,X284
DI,6,D3-2顶升下降端,TopCylinder_Down,285,HC,X285
DI,6,D3-2顶升下降端,TopCylinder_Down,285,HC,X285
DI,6,D3-2横移前进端,BeforeAfterCylinder_Before,286,HC,X286
DI,6,D3-2横移前进端,BeforeAfterCylinder_Before,286,HC,X286
...
@@ -625,22 +625,22 @@ DI,6,D3-2夹料气缸料盘检测,ClampCylinder_Check,288,HC,X288
...
@@ -625,22 +625,22 @@ DI,6,D3-2夹料气缸料盘检测,ClampCylinder_Check,288,HC,X288
DI,6,D3-2夹料放松端,ClampCylinder_Relax,289,HC,X289
DI,6,D3-2夹料放松端,ClampCylinder_Relax,289,HC,X289
DI,6,D3-2升降上升端,UpDownCylinder_Up,290,HC,X290
DI,6,D3-2升降上升端,UpDownCylinder_Up,290,HC,X290
DI,6,D3-2升降下降端,UpDownCylinder_Down,291,HC,X291
DI,6,D3-2升降下降端,UpDownCylinder_Down,291,HC,X291
DI,208,HY8横移托盘检测,HY
8横移托盘检测
,292,HC,X292
DI,208,HY8横移托盘检测,HY
_TrayCheck
,292,HC,X292
DI,208,HY8横移顶升上升端,HY
8横移顶升上升端
,293,HC,X293
DI,208,HY8横移顶升上升端,HY
_TopCylinder_UP
,293,HC,X293
DI,208,HY8横移顶升下降端,HY
8横移顶升下降端
,294,HC,X294
DI,208,HY8横移顶升下降端,HY
_TopCylinder_Down
,294,HC,X294
DI,208,HY8-HY9阻挡上升端,HY
8-HY9阻挡上升端
,295,HC,X295
DI,208,HY8-HY9阻挡上升端,HY
_StopCylinder_Up
,295,HC,X295
DI,208,HY8-HY9阻挡下降端,HY
8-HY9阻挡下降端
,296,HC,X296
DI,208,HY8-HY9阻挡下降端,HY
_StopCylinder_Down
,296,HC,X296
DI,209,HY9前阻挡托盘检测,HY
9前阻挡托盘检测
,297,HC,X297
DI,209,HY9前阻挡托盘检测,HY
_FrontStopCheck
,297,HC,X297
DI,209,HY9横移托盘检测,HY
9横移托盘检测
,298,HC,X298
DI,209,HY9横移托盘检测,HY
_TrayCheck
,298,HC,X298
DI,209,HY9横移顶升上升端,HY
9横移顶升上升端
,299,HC,X299
DI,209,HY9横移顶升上升端,HY
_TopCylinder_UP
,299,HC,X299
DI,209,HY9横移顶升下降端,HY
9横移顶升下降端
,300,HC,X300
DI,209,HY9横移顶升下降端,HY
_TopCylinder_Down
,300,HC,X300
DI,209,C4-HY9阻挡上升端,
C4-HY9阻挡上升端
,301,HC,X301
DI,209,C4-HY9阻挡上升端,
HY_StopCylinder_Up
,301,HC,X301
DI,209,C4-HY9阻挡下降端,
C4-HY9阻挡下降端
,302,HC,X302
DI,209,C4-HY9阻挡下降端,
HY_StopCylinder_Down
,302,HC,X302
DI,209,C4-HY9阻挡托盘检测,
C4-HY9阻挡托盘检测
,303,HC,X303
DI,209,C4-HY9阻挡托盘检测,
HY_StopTray_Check
,303,HC,X303
,,,,,,
,,,,,,
,,,,,,
,,,,,,
DO,5,D3-1阻挡1下降,Stop
Cylinder_Check
1,240,HC,Y240
DO,5,D3-1阻挡1下降,Stop
Down
1,240,HC,Y240
DO,5,D3-1阻挡2下降,Stop
Cylinder_Check
2,241,HC,Y241
DO,5,D3-1阻挡2下降,Stop
Down
2,241,HC,Y241
DO,5,D3-1顶升上升,TopCylinder_UP,242,HC,Y242
DO,5,D3-1顶升上升,TopCylinder_UP,242,HC,Y242
DO,5,D3-1顶升下降,TopCylinder_Down,243,HC,Y243
DO,5,D3-1顶升下降,TopCylinder_Down,243,HC,Y243
DO,5,D3-1横移前进,BeforeAfterCylinder_Before,244,HC,Y244
DO,5,D3-1横移前进,BeforeAfterCylinder_Before,244,HC,Y244
...
@@ -649,8 +649,8 @@ DO,5,D3-1夹料夹紧,ClampCylinder_Work,246,HC,Y246
...
@@ -649,8 +649,8 @@ DO,5,D3-1夹料夹紧,ClampCylinder_Work,246,HC,Y246
DO,5,D3-1夹料放松,ClampCylinder_Relax,247,HC,Y247
DO,5,D3-1夹料放松,ClampCylinder_Relax,247,HC,Y247
DO,5,D3-1升降上升,UpDownCylinder_Up,248,HC,Y248
DO,5,D3-1升降上升,UpDownCylinder_Up,248,HC,Y248
DO,5,D3-1升降下降,UpDownCylinder_Down,249,HC,Y249
DO,5,D3-1升降下降,UpDownCylinder_Down,249,HC,Y249
DO,6,D3-2阻挡1下降,Stop
Cylinder_Check
1,250,HC,Y250
DO,6,D3-2阻挡1下降,Stop
Down
1,250,HC,Y250
DO,6,D3-2阻挡2下降,Stop
Cylinder_Check
2,251,HC,Y251
DO,6,D3-2阻挡2下降,Stop
Down
2,251,HC,Y251
DO,6,D3-2顶升上升,TopCylinder_UP,252,HC,Y252
DO,6,D3-2顶升上升,TopCylinder_UP,252,HC,Y252
DO,6,D3-2顶升下降,TopCylinder_Down,253,HC,Y253
DO,6,D3-2顶升下降,TopCylinder_Down,253,HC,Y253
DO,6,D3-2横移前进,BeforeAfterCylinder_Before,254,HC,Y254
DO,6,D3-2横移前进,BeforeAfterCylinder_Before,254,HC,Y254
...
@@ -659,15 +659,15 @@ DO,6,D3-2夹料夹紧,ClampCylinder_Work,256,HC,Y256
...
@@ -659,15 +659,15 @@ DO,6,D3-2夹料夹紧,ClampCylinder_Work,256,HC,Y256
DO,6,D3-2夹料放松,ClampCylinder_Relax,257,HC,Y257
DO,6,D3-2夹料放松,ClampCylinder_Relax,257,HC,Y257
DO,6,D3-2升降上升,UpDownCylinder_Up,258,HC,Y258
DO,6,D3-2升降上升,UpDownCylinder_Up,258,HC,Y258
DO,6,D3-2升降下降,UpDownCylinder_Down,259,HC,Y259
DO,6,D3-2升降下降,UpDownCylinder_Down,259,HC,Y259
DO,208,HY8横移电机正转,HY
8横移电机正转
,260,HC,Y260
DO,208,HY8横移电机正转,HY
_LineRun
,260,HC,Y260
DO,208,HY8横移电机反转,HY
8横移电机反转
,261,HC,Y261
DO,208,HY8横移电机反转,HY
_LineBackRun
,261,HC,Y261
DO,208,HY8横移顶升上升,HY
8横移顶升上升
,262,HC,Y262
DO,208,HY8横移顶升上升,HY
_TopCylinder_UP
,262,HC,Y262
DO,208,HY8横移顶升下降,HY
8横移顶升下降
,263,HC,Y263
DO,208,HY8横移顶升下降,HY
_TopCylinder_Down
,263,HC,Y263
DO,208,HY8阻挡下降,HY
8阻挡下降
,264,HC,Y264
DO,208,HY8阻挡下降,HY
_StopDown
,264,HC,Y264
DO,208,HY8-HY9阻挡上升,HY
8-HY9阻挡上升
,265,HC,Y265
DO,208,HY8-HY9阻挡上升,HY
_StopCylinder_Up
,265,HC,Y265
DO,208,HY8-HY9阻挡下降,HY
8-HY9阻挡下降
,266,HC,Y266
DO,208,HY8-HY9阻挡下降,HY
_StopCylinder_Down
,266,HC,Y266
DO,209,HY9横移电机正转,HY
9横移电机正转
,267,HC,Y267
DO,209,HY9横移电机正转,HY
_LineRun
,267,HC,Y267
DO,209,HY9横移电机反转,HY
9横移电机反转
,268,HC,Y268
DO,209,HY9横移电机反转,HY
_LineBackRun
,268,HC,Y268
,,,,269,HC,Y269
,,,,269,HC,Y269
,,,,270,HC,Y270
,,,,270,HC,Y270
,,,,271,HC,Y271
,,,,271,HC,Y271
...
@@ -675,8 +675,8 @@ DO,209,HY9横移电机反转,HY9横移电机反转,268,HC,Y268
...
@@ -675,8 +675,8 @@ DO,209,HY9横移电机反转,HY9横移电机反转,268,HC,Y268
,,,,,,
,,,,,,
,,XT6,XT6,,,
,,XT6,XT6,,,
,,D1&D2&HY6,D1&D2&HY6,,,
,,D1&D2&HY6,D1&D2&HY6,,,
DI,1,D1-1阻挡1托盘检测,StopC
ylinder_C
heck1,304,HC,X304
DI,1,D1-1阻挡1托盘检测,StopCheck1,304,HC,X304
DI,1,D1-1阻挡2托盘检测,StopC
ylinder_C
heck2,305,HC,X305
DI,1,D1-1阻挡2托盘检测,StopCheck2,305,HC,X305
DI,1,D1-1顶升上升端,TopCylinder_UP,306,HC,X306
DI,1,D1-1顶升上升端,TopCylinder_UP,306,HC,X306
DI,1,D1-1顶升下降端,TopCylinder_Down,307,HC,X307
DI,1,D1-1顶升下降端,TopCylinder_Down,307,HC,X307
DI,1,D1-1横移前进端,BeforeAfterCylinder_Before,308,HC,X308
DI,1,D1-1横移前进端,BeforeAfterCylinder_Before,308,HC,X308
...
@@ -685,8 +685,8 @@ DI,1,D1-1夹料气缸料盘检测,ClampCylinder_Check,310,HC,X310
...
@@ -685,8 +685,8 @@ DI,1,D1-1夹料气缸料盘检测,ClampCylinder_Check,310,HC,X310
DI,1,D1-1夹料放松端,ClampCylinder_Relax,311,HC,X311
DI,1,D1-1夹料放松端,ClampCylinder_Relax,311,HC,X311
DI,1,D1-1升降上升端,UpDownCylinder_Up,312,HC,X312
DI,1,D1-1升降上升端,UpDownCylinder_Up,312,HC,X312
DI,1,D1-1升降下降端,UpDownCylinder_Down,313,HC,X313
DI,1,D1-1升降下降端,UpDownCylinder_Down,313,HC,X313
DI,2,D1-2阻挡1托盘检测,StopC
ylinder_C
heck1,314,HC,X314
DI,2,D1-2阻挡1托盘检测,StopCheck1,314,HC,X314
DI,2,D1-2阻挡2托盘检测,StopC
ylinder_C
heck2,315,HC,X315
DI,2,D1-2阻挡2托盘检测,StopCheck2,315,HC,X315
DI,2,D1-2顶升上升端,TopCylinder_UP,316,HC,X316
DI,2,D1-2顶升上升端,TopCylinder_UP,316,HC,X316
DI,2,D1-2顶升下降端,TopCylinder_Down,317,HC,X317
DI,2,D1-2顶升下降端,TopCylinder_Down,317,HC,X317
DI,2,D1-2横移前进端,BeforeAfterCylinder_Before,318,HC,X318
DI,2,D1-2横移前进端,BeforeAfterCylinder_Before,318,HC,X318
...
@@ -695,8 +695,8 @@ DI,2,D1-2夹料气缸料盘检测,ClampCylinder_Check,320,HC,X320
...
@@ -695,8 +695,8 @@ DI,2,D1-2夹料气缸料盘检测,ClampCylinder_Check,320,HC,X320
DI,2,D1-2夹料放松端,ClampCylinder_Relax,321,HC,X321
DI,2,D1-2夹料放松端,ClampCylinder_Relax,321,HC,X321
DI,2,D1-2升降上升端,UpDownCylinder_Up,322,HC,X322
DI,2,D1-2升降上升端,UpDownCylinder_Up,322,HC,X322
DI,2,D1-2升降下降端,UpDownCylinder_Down,323,HC,X323
DI,2,D1-2升降下降端,UpDownCylinder_Down,323,HC,X323
DI,3,D2-1阻挡1托盘检测,StopC
ylinder_C
heck1,324,HC,X324
DI,3,D2-1阻挡1托盘检测,StopCheck1,324,HC,X324
DI,3,D2-1阻挡2托盘检测,StopC
ylinder_C
heck2,325,HC,X325
DI,3,D2-1阻挡2托盘检测,StopCheck2,325,HC,X325
DI,3,D2-1顶升上升端,TopCylinder_UP,326,HC,X326
DI,3,D2-1顶升上升端,TopCylinder_UP,326,HC,X326
DI,3,D2-1顶升下降端,TopCylinder_Down,327,HC,X327
DI,3,D2-1顶升下降端,TopCylinder_Down,327,HC,X327
DI,3,D2-1横移前进端,BeforeAfterCylinder_Before,328,HC,X328
DI,3,D2-1横移前进端,BeforeAfterCylinder_Before,328,HC,X328
...
@@ -705,8 +705,8 @@ DI,3,D2-1夹料气缸料盘检测,ClampCylinder_Check,330,HC,X330
...
@@ -705,8 +705,8 @@ DI,3,D2-1夹料气缸料盘检测,ClampCylinder_Check,330,HC,X330
DI,3,D2-1夹料放松端,ClampCylinder_Relax,331,HC,X331
DI,3,D2-1夹料放松端,ClampCylinder_Relax,331,HC,X331
DI,3,D2-1升降上升端,UpDownCylinder_Up,332,HC,X332
DI,3,D2-1升降上升端,UpDownCylinder_Up,332,HC,X332
DI,3,D2-1升降下降端,UpDownCylinder_Down,333,HC,X333
DI,3,D2-1升降下降端,UpDownCylinder_Down,333,HC,X333
DI,4,D2-2阻挡1托盘检测,StopC
ylinder_C
heck1,334,HC,X334
DI,4,D2-2阻挡1托盘检测,StopCheck1,334,HC,X334
DI,4,D2-2阻挡2托盘检测,StopC
ylinder_C
heck2,335,HC,X335
DI,4,D2-2阻挡2托盘检测,StopCheck2,335,HC,X335
DI,4,D2-2顶升上升端,TopCylinder_UP,336,HC,X336
DI,4,D2-2顶升上升端,TopCylinder_UP,336,HC,X336
DI,4,D2-2顶升下降端,TopCylinder_Down,337,HC,X337
DI,4,D2-2顶升下降端,TopCylinder_Down,337,HC,X337
DI,4,D2-2横移前进端,BeforeAfterCylinder_Before,338,HC,X338
DI,4,D2-2横移前进端,BeforeAfterCylinder_Before,338,HC,X338
...
@@ -715,17 +715,17 @@ DI,4,D2-2夹料气缸料盘检测,ClampCylinder_Check,340,HC,X340
...
@@ -715,17 +715,17 @@ DI,4,D2-2夹料气缸料盘检测,ClampCylinder_Check,340,HC,X340
DI,4,D2-2夹料放松端,ClampCylinder_Relax,341,HC,X341
DI,4,D2-2夹料放松端,ClampCylinder_Relax,341,HC,X341
DI,4,D2-2升降上升端,UpDownCylinder_Up,342,HC,X342
DI,4,D2-2升降上升端,UpDownCylinder_Up,342,HC,X342
DI,4,D2-2升降下降端,UpDownCylinder_Down,343,HC,X343
DI,4,D2-2升降下降端,UpDownCylinder_Down,343,HC,X343
DI,206,HY6前阻挡托盘检测,HY
6前阻挡托盘检测
,344,HC,X344
DI,206,HY6前阻挡托盘检测,HY
_FrontStopCheck
,344,HC,X344
DI,206,HY6横移托盘检测,HY
6横移托盘检测
,345,HC,X345
DI,206,HY6横移托盘检测,HY
_TrayCheck
,345,HC,X345
DI,206,HY6横移顶升上升端,HY
6横移顶升上升端
,346,HC,X346
DI,206,HY6横移顶升上升端,HY
_TopCylinder_UP
,346,HC,X346
DI,206,HY6横移顶升下降端,HY
6横移顶升下降端
,347,HC,X347
DI,206,HY6横移顶升下降端,HY
_TopCylinder_Down
,347,HC,X347
DI,206,C3线体HY6侧满料检测,
C3线体HY6侧满料检测
,348,HC,X348
DI,206,C3线体HY6侧满料检测,
HY_TrayImpletion_Check
,348,HC,X348
,,,,349,HC,X349
,,,,349,HC,X349
,,,,350,HC,X350
,,,,350,HC,X350
,,,,351,HC,X351
,,,,351,HC,X351
,,,,,,
,,,,,,
DO,1,D1-1阻挡1下降,Stop
Cylinder_Check
1,272,HC,Y272
DO,1,D1-1阻挡1下降,Stop
Down
1,272,HC,Y272
DO,1,D1-1阻挡2下降,Stop
Cylinder_Check
2,273,HC,Y273
DO,1,D1-1阻挡2下降,Stop
Down
2,273,HC,Y273
DO,1,D1-1顶升上升,TopCylinder_UP,274,HC,Y274
DO,1,D1-1顶升上升,TopCylinder_UP,274,HC,Y274
DO,1,D1-1顶升下降,TopCylinder_Down,275,HC,Y275
DO,1,D1-1顶升下降,TopCylinder_Down,275,HC,Y275
DO,1,D1-1横移前进,BeforeAfterCylinder_Before,276,HC,Y276
DO,1,D1-1横移前进,BeforeAfterCylinder_Before,276,HC,Y276
...
@@ -734,8 +734,8 @@ DO,1,D1-1夹料夹紧,ClampCylinder_Work,278,HC,Y278
...
@@ -734,8 +734,8 @@ DO,1,D1-1夹料夹紧,ClampCylinder_Work,278,HC,Y278
DO,1,D1-1夹料放松,ClampCylinder_Relax,279,HC,Y279
DO,1,D1-1夹料放松,ClampCylinder_Relax,279,HC,Y279
DO,1,D1-1升降上升,UpDownCylinder_Up,280,HC,Y280
DO,1,D1-1升降上升,UpDownCylinder_Up,280,HC,Y280
DO,1,D1-1升降下降,UpDownCylinder_Down,281,HC,Y281
DO,1,D1-1升降下降,UpDownCylinder_Down,281,HC,Y281
DO,2,D1-2阻挡1下降,Stop
Cylinder_Check
1,282,HC,Y282
DO,2,D1-2阻挡1下降,Stop
Down
1,282,HC,Y282
DO,2,D1-2阻挡2下降,Stop
Cylinder_Check
2,283,HC,Y283
DO,2,D1-2阻挡2下降,Stop
Down
2,283,HC,Y283
DO,2,D1-2顶升上升,TopCylinder_UP,284,HC,Y284
DO,2,D1-2顶升上升,TopCylinder_UP,284,HC,Y284
DO,2,D1-2顶升下降,TopCylinder_Down,285,HC,Y285
DO,2,D1-2顶升下降,TopCylinder_Down,285,HC,Y285
DO,2,D1-2横移前进,BeforeAfterCylinder_Before,286,HC,Y286
DO,2,D1-2横移前进,BeforeAfterCylinder_Before,286,HC,Y286
...
@@ -744,8 +744,8 @@ DO,2,D1-2夹料夹紧,ClampCylinder_Work,288,HC,Y288
...
@@ -744,8 +744,8 @@ DO,2,D1-2夹料夹紧,ClampCylinder_Work,288,HC,Y288
DO,2,D1-2夹料放松,ClampCylinder_Relax,289,HC,Y289
DO,2,D1-2夹料放松,ClampCylinder_Relax,289,HC,Y289
DO,2,D1-2升降上升,UpDownCylinder_Up,290,HC,Y290
DO,2,D1-2升降上升,UpDownCylinder_Up,290,HC,Y290
DO,2,D1-2升降下降,UpDownCylinder_Down,291,HC,Y291
DO,2,D1-2升降下降,UpDownCylinder_Down,291,HC,Y291
DO,3,D2-1阻挡1下降,Stop
Cylinder_Check
1,292,HC,Y292
DO,3,D2-1阻挡1下降,Stop
Down
1,292,HC,Y292
DO,3,D2-1阻挡2下降,Stop
Cylinder_Check
2,293,HC,Y293
DO,3,D2-1阻挡2下降,Stop
Down
2,293,HC,Y293
DO,3,D2-1顶升上升,TopCylinder_UP,294,HC,Y294
DO,3,D2-1顶升上升,TopCylinder_UP,294,HC,Y294
DO,3,D2-1顶升下降,TopCylinder_Down,295,HC,Y295
DO,3,D2-1顶升下降,TopCylinder_Down,295,HC,Y295
DO,3,D2-1横移前进,BeforeAfterCylinder_Before,296,HC,Y296
DO,3,D2-1横移前进,BeforeAfterCylinder_Before,296,HC,Y296
...
@@ -754,8 +754,8 @@ DO,3,D2-1夹料夹紧,ClampCylinder_Work,298,HC,Y298
...
@@ -754,8 +754,8 @@ DO,3,D2-1夹料夹紧,ClampCylinder_Work,298,HC,Y298
DO,3,D2-1夹料放松,ClampCylinder_Relax,299,HC,Y299
DO,3,D2-1夹料放松,ClampCylinder_Relax,299,HC,Y299
DO,3,D2-1升降上升,UpDownCylinder_Up,300,HC,Y300
DO,3,D2-1升降上升,UpDownCylinder_Up,300,HC,Y300
DO,3,D2-1升降下降,UpDownCylinder_Down,301,HC,Y301
DO,3,D2-1升降下降,UpDownCylinder_Down,301,HC,Y301
DO,4,D2-2阻挡1下降,Stop
Cylinder_Check
1,302,HC,Y302
DO,4,D2-2阻挡1下降,Stop
Down
1,302,HC,Y302
DO,4,D2-2阻挡2下降,Stop
Cylinder_Check
2,303,HC,Y303
DO,4,D2-2阻挡2下降,Stop
Down
2,303,HC,Y303
DO,4,D2-2顶升上升,TopCylinder_UP,304,HC,Y304
DO,4,D2-2顶升上升,TopCylinder_UP,304,HC,Y304
DO,4,D2-2顶升下降,TopCylinder_Down,305,HC,Y305
DO,4,D2-2顶升下降,TopCylinder_Down,305,HC,Y305
DO,4,D2-2横移前进,BeforeAfterCylinder_Before,306,HC,Y306
DO,4,D2-2横移前进,BeforeAfterCylinder_Before,306,HC,Y306
...
@@ -764,11 +764,11 @@ DO,4,D2-2夹料夹紧,ClampCylinder_Work,308,HC,Y308
...
@@ -764,11 +764,11 @@ DO,4,D2-2夹料夹紧,ClampCylinder_Work,308,HC,Y308
DO,4,D2-2夹料放松,ClampCylinder_Relax,309,HC,Y309
DO,4,D2-2夹料放松,ClampCylinder_Relax,309,HC,Y309
DO,4,D2-2升降上升,UpDownCylinder_Up,310,HC,Y310
DO,4,D2-2升降上升,UpDownCylinder_Up,310,HC,Y310
DO,4,D2-2升降下降,UpDownCylinder_Down,311,HC,Y311
DO,4,D2-2升降下降,UpDownCylinder_Down,311,HC,Y311
DO,206,HY6横移电机正转,HY
6横移电机正转
,312,HC,Y312
DO,206,HY6横移电机正转,HY
_LineRun
,312,HC,Y312
DO,206,HY6前阻挡下降,HY
6前阻挡下降
,313,HC,Y313
DO,206,HY6前阻挡下降,HY
_FrontStopDown
,313,HC,Y313
DO,206,HY6阻挡下降,HY
6阻挡下降
,314,HC,Y314
DO,206,HY6阻挡下降,HY
_StopDown
,314,HC,Y314
DO,206,HY6横移顶升上升,HY
6横移顶升上升
,315,HC,Y315
DO,206,HY6横移顶升上升,HY
_TopCylinder_UP
,315,HC,Y315
DO,206,HY6横移顶升下降,HY
6横移顶升下降
,316,HC,Y316
DO,206,HY6横移顶升下降,HY
_TopCylinder_Down
,316,HC,Y316
,,,,317,HC,Y317
,,,,317,HC,Y317
,,,,318,HC,Y318
,,,,318,HC,Y318
,,,,319,HC,Y319
,,,,319,HC,Y319
...
@@ -808,17 +808,17 @@ DI,101,T1上料气缸料盘检测,SL_MoveCylinder_Check,380,HC,X380
...
@@ -808,17 +808,17 @@ DI,101,T1上料气缸料盘检测,SL_MoveCylinder_Check,380,HC,X380
,,,,382,HC,X382
,,,,382,HC,X382
,,,,383,HC,X383
,,,,383,HC,X383
,,,,,,
,,,,,,
DI,201,HY1横移托盘检测,HY
1横移托盘检测
,384,HC,X384
DI,201,HY1横移托盘检测,HY
_TrayCheck
,384,HC,X384
DI,201,HY1横移顶升上升端,HY
1横移顶升上升端
,385,HC,X385
DI,201,HY1横移顶升上升端,HY
_TopCylinder_UP
,385,HC,X385
DI,201,HY1横移顶升下降端,HY
1横移顶升下降端
,386,HC,X386
DI,201,HY1横移顶升下降端,HY
_TopCylinder_Down
,386,HC,X386
DI,201,HY1横移定位1上升端,HY
1横移定位1上升端
,387,HC,X387
DI,201,HY1横移定位1上升端,HY
_LocationCylinder_UP1
,387,HC,X387
DI,201,HY1横移定位1下降端,HY
1横移定位1下降端
,388,HC,X388
DI,201,HY1横移定位1下降端,HY
_LocationCylinder_Down1
,388,HC,X388
DI,201,HY1横移定位2上升端,HY
1横移定位2上升端
,389,HC,X389
DI,201,HY1横移定位2上升端,HY
_LocationCylinder_UP2
,389,HC,X389
DI,201,HY1横移定位2下降端,HY
1横移定位2下降端
,390,HC,X390
DI,201,HY1横移定位2下降端,HY
_LocationCylinder_Down2
,390,HC,X390
DI,203,HY3前阻挡托盘检测,HY
3前阻挡托盘检测
,391,HC,X391
DI,203,HY3前阻挡托盘检测,HY
_FrontStopCheck
,391,HC,X391
DI,203,HY3横移托盘检测,HY
3横移托盘检测
,392,HC,X392
DI,203,HY3横移托盘检测,HY
_TrayCheck
,392,HC,X392
DI,203,HY3横移顶升上升端,HY
3横移顶升上升端
,393,HC,X393
DI,203,HY3横移顶升上升端,HY
_TopCylinder_UP
,393,HC,X393
DI,203,HY3横移顶升下降端,HY
3横移顶升下降端
,394,HC,X394
DI,203,HY3横移顶升下降端,HY
_TopCylinder_Down
,394,HC,X394
,,,,395,HC,X395
,,,,395,HC,X395
,,,,396,HC,X396
,,,,396,HC,X396
,,,,397,HC,X397
,,,,397,HC,X397
...
@@ -830,8 +830,8 @@ DO,101,T1故障指示灯,SL_AlarmLed,321,HC,Y321
...
@@ -830,8 +830,8 @@ DO,101,T1故障指示灯,SL_AlarmLed,321,HC,Y321
DO,101,T1进料线体运转,SL_Line_Run,322,HC,Y322
DO,101,T1进料线体运转,SL_Line_Run,322,HC,Y322
DO,101,T1线体定位横移电机运转,SL_LocationSideWay_Run,323,HC,Y323
DO,101,T1线体定位横移电机运转,SL_LocationSideWay_Run,323,HC,Y323
DO,101,T1线体出口横移电机运转,SL_OutSideWay_Run,324,HC,Y324
DO,101,T1线体出口横移电机运转,SL_OutSideWay_Run,324,HC,Y324
DO,201,HY1横移电机正转,HY
1横移电机正转
,325,HC,Y325
DO,201,HY1横移电机正转,HY
_LineRun
,325,HC,Y325
DO,203,HY3横移电机正转,HY
3横移电机正转
,326,HC,Y326
DO,203,HY3横移电机正转,HY
_LineRun
,326,HC,Y326
DO,101,T1进料阻挡下降,SL_Entry_StopDown,327,HC,Y327
DO,101,T1进料阻挡下降,SL_Entry_StopDown,327,HC,Y327
DO,101,T1定位工位缓冲阻挡,SL_Buffer_StopDown,328,HC,Y328
DO,101,T1定位工位缓冲阻挡,SL_Buffer_StopDown,328,HC,Y328
DO,101,T1出料阻挡下降,SL_Out_StopDown,329,HC,Y329
DO,101,T1出料阻挡下降,SL_Out_StopDown,329,HC,Y329
...
@@ -847,14 +847,14 @@ DO,101,T1上料气缸放松,SL_MoveCylinder_Relax,338,HC,Y338
...
@@ -847,14 +847,14 @@ DO,101,T1上料气缸放松,SL_MoveCylinder_Relax,338,HC,Y338
DO,101,T1上料气缸夹紧,SL_MoveCylinder_Work,339,HC,Y339
DO,101,T1上料气缸夹紧,SL_MoveCylinder_Work,339,HC,Y339
DO,101,T1托盘定位气缸前进,SL_TrayLocation_Before,340,HC,Y340
DO,101,T1托盘定位气缸前进,SL_TrayLocation_Before,340,HC,Y340
DO,101,T1托盘定位气缸后退,SL_TrayLocation_After,341,HC,Y341
DO,101,T1托盘定位气缸后退,SL_TrayLocation_After,341,HC,Y341
DO,201,HY1横移顶升上升,HY
1横移顶升上升
,342,HC,Y342
DO,201,HY1横移顶升上升,HY
_TopCylinder_UP
,342,HC,Y342
DO,201,HY1横移顶升下降,HY
1横移顶升下降
,343,HC,Y343
DO,201,HY1横移顶升下降,HY
_TopCylinder_Down
,343,HC,Y343
DO,201,HY1横移定位上升,HY
1横移定位上升
,344,HC,Y344
DO,201,HY1横移定位上升,HY
_LocationCylinder_UP
,344,HC,Y344
DO,201,HY1横移定位下降,HY
1横移定位下降
,345,HC,Y345
DO,201,HY1横移定位下降,HY
_LocationCylinder_Down
,345,HC,Y345
DO,203,HY3横移顶升上升,HY
3横移顶升上升
,346,HC,Y346
DO,203,HY3横移顶升上升,HY
_TopCylinder_UP
,346,HC,Y346
DO,203,HY3横移顶升下降,HY
3横移顶升下降
,347,HC,Y347
DO,203,HY3横移顶升下降,HY
_TopCylinder_Down
,347,HC,Y347
DO,203,HY3前阻挡下降,HY
3前阻挡下降
,348,HC,Y348
DO,203,HY3前阻挡下降,HY
_FrontStopDown
,348,HC,Y348
DO,203,HY3阻挡下降,HY
3阻挡下降
,349,HC,Y349
DO,203,HY3阻挡下降,HY
_StopDown
,349,HC,Y349
,,,,350,HC,Y350
,,,,350,HC,Y350
,,,,351,HC,Y351
,,,,351,HC,Y351
,,,,,,
,,,,,,
...
@@ -894,18 +894,18 @@ DI,102,T2上料气缸料盘检测,SL_MoveCylinder_Check,428,HC,X428
...
@@ -894,18 +894,18 @@ DI,102,T2上料气缸料盘检测,SL_MoveCylinder_Check,428,HC,X428
,,,,430,HC,X430
,,,,430,HC,X430
,,,,431,HC,X431
,,,,431,HC,X431
,,,,,,
,,,,,,
DI,202,HY2前阻挡托盘检测,HY
2前阻挡托盘检测
,432,HC,X432
DI,202,HY2前阻挡托盘检测,HY
_FrontStopCheck
,432,HC,X432
DI,202,HY2横移托盘检测,HY
2横移托盘检测
,433,HC,X433
DI,202,HY2横移托盘检测,HY
_TrayCheck
,433,HC,X433
DI,202,HY2横移顶升上升端,HY
2横移顶升上升端
,434,HC,X434
DI,202,HY2横移顶升上升端,HY
_TopCylinder_UP
,434,HC,X434
DI,202,HY2横移顶升下降端,HY
2横移顶升下降端
,435,HC,X435
DI,202,HY2横移顶升下降端,HY
_TopCylinder_Down
,435,HC,X435
DI,202,HY2横移定位1上升端,HY
2横移定位1上升端
,436,HC,X436
DI,202,HY2横移定位1上升端,HY
_LocationCylinder_UP1
,436,HC,X436
DI,202,HY2横移定位1下降端,HY
2横移定位1下降端
,437,HC,X437
DI,202,HY2横移定位1下降端,HY
_LocationCylinder_Down1
,437,HC,X437
DI,202,HY2横移定位2上升端,HY
2横移定位2上升端
,438,HC,X438
DI,202,HY2横移定位2上升端,HY
_LocationCylinder_UP2
,438,HC,X438
DI,202,HY2横移定位2下降端,HY
2横移定位2下降端
,439,HC,X439
DI,202,HY2横移定位2下降端,HY
_LocationCylinder_Down2
,439,HC,X439
DI,204,HY4横移托盘检测,HY
4横移托盘检测
,440,HC,X440
DI,204,HY4横移托盘检测,HY
_TrayCheck
,440,HC,X440
DI,204,HY4横移顶升上升端,HY
4横移顶升上升端
,441,HC,X441
DI,204,HY4横移顶升上升端,HY
_TopCylinder_UP
,441,HC,X441
DI,204,HY4横移顶升下降端,HY
4横移顶升下降端
,442,HC,X442
DI,204,HY4横移顶升下降端,HY
_TopCylinder_Down
,442,HC,X442
DI,204,C2线体HY4侧满料检测,
C2线体HY4侧满料检测
,443,HC,X443
DI,204,C2线体HY4侧满料检测,
HY_TrayImpletion_Check
,443,HC,X443
,,,,444,HC,X444
,,,,444,HC,X444
,,,,445,HC,X445
,,,,445,HC,X445
,,,,446,HC,X446
,,,,446,HC,X446
...
@@ -916,9 +916,9 @@ DO,102,T2故障指示灯,SL_AlarmLed,353,HC,Y353
...
@@ -916,9 +916,9 @@ DO,102,T2故障指示灯,SL_AlarmLed,353,HC,Y353
DO,102,T2进料线体运转,SL_Line_Run,354,HC,Y354
DO,102,T2进料线体运转,SL_Line_Run,354,HC,Y354
DO,102,T2线体定位横移电机运转,SL_LocationSideWay_Run,355,HC,Y355
DO,102,T2线体定位横移电机运转,SL_LocationSideWay_Run,355,HC,Y355
DO,102,T2线体出口横移电机运转,SL_OutSideWay_Run,356,HC,Y356
DO,102,T2线体出口横移电机运转,SL_OutSideWay_Run,356,HC,Y356
DO,202,HY2横移电机正转,HY
2横移电机正转
,357,HC,Y357
DO,202,HY2横移电机正转,HY
_LineRun
,357,HC,Y357
DO,204,HY4横移电机正转,HY
4横移电机正转
,358,HC,Y358
DO,204,HY4横移电机正转,HY
_LineRun
,358,HC,Y358
DO,204,HY4横移电机反转,HY
4横移电机反转
,359,HC,Y359
DO,204,HY4横移电机反转,HY
_LineBackRun
,359,HC,Y359
DO,102,T2进料阻挡下降,SL_Entry_StopDown,360,HC,Y360
DO,102,T2进料阻挡下降,SL_Entry_StopDown,360,HC,Y360
DO,102,T2定位工位缓冲阻挡,SL_Buffer_StopDown,361,HC,Y361
DO,102,T2定位工位缓冲阻挡,SL_Buffer_StopDown,361,HC,Y361
DO,102,T2出料阻挡下降,SL_Out_StopDown,362,HC,Y362
DO,102,T2出料阻挡下降,SL_Out_StopDown,362,HC,Y362
...
@@ -934,44 +934,44 @@ DO,102,T2上料气缸放松,SL_MoveCylinder_Relax,371,HC,Y371
...
@@ -934,44 +934,44 @@ DO,102,T2上料气缸放松,SL_MoveCylinder_Relax,371,HC,Y371
DO,102,T2上料气缸夹紧,SL_MoveCylinder_Work,372,HC,Y372
DO,102,T2上料气缸夹紧,SL_MoveCylinder_Work,372,HC,Y372
DO,102,T2托盘定位气缸前进,SL_TrayLocation_Before,373,HC,Y373
DO,102,T2托盘定位气缸前进,SL_TrayLocation_Before,373,HC,Y373
DO,102,T2托盘定位气缸后退,SL_TrayLocation_After,374,HC,Y374
DO,102,T2托盘定位气缸后退,SL_TrayLocation_After,374,HC,Y374
DO,202,HY2横移顶升上升,HY
2横移顶升上升
,375,HC,Y375
DO,202,HY2横移顶升上升,HY
_TopCylinder_UP
,375,HC,Y375
DO,202,HY2横移顶升下降,HY
2横移顶升下降
,376,HC,Y376
DO,202,HY2横移顶升下降,HY
_TopCylinder_Down
,376,HC,Y376
DO,202,HY2横移定位上升,HY
2横移定位上升
,377,HC,Y377
DO,202,HY2横移定位上升,HY
_LocationCylinder_UP
,377,HC,Y377
DO,202,HY2横移定位下降,HY
2横移定位下降
,378,HC,Y378
DO,202,HY2横移定位下降,HY
_LocationCylinder_Down
,378,HC,Y378
DO,202,HY2前阻挡下降,HY
2前阻挡下降
,379,HC,Y379
DO,202,HY2前阻挡下降,HY
_FrontStopDown
,379,HC,Y379
DO,204,HY4横移顶升上升,HY
4横移顶升上升
,380,HC,Y380
DO,204,HY4横移顶升上升,HY
_TopCylinder_UP
,380,HC,Y380
DO,204,HY4横移顶升下降,HY
4横移顶升下降
,381,HC,Y381
DO,204,HY4横移顶升下降,HY
_TopCylinder_Down
,381,HC,Y381
DO,204,HY4前阻挡下降,HY
4前阻挡下降
,382,HC,Y382
DO,204,HY4前阻挡下降,HY
_FrontStopDown
,382,HC,Y382
DO,204,HY4阻挡下降,HY
4阻挡下降
,383,HC,Y383
DO,204,HY4阻挡下降,HY
_StopDown
,383,HC,Y383
,,,,,,
,,,,,,
,,XT7,XT7,,,
,,XT7,XT7,,,
,,D7&D8,D7&D8,,,
,,D7&D8,D7&D8,,,
DI,14,D7-1阻挡1托盘检测,StopC
ylinder_C
heck1,448,HC,X448
DI,14,D7-1阻挡1托盘检测,StopCheck1,448,HC,X448
DI,14,D7-1阻挡2托盘检测,StopC
ylinder_C
heck2,449,HC,X449
DI,14,D7-1阻挡2托盘检测,StopCheck2,449,HC,X449
DI,14,D7-1顶升上升端,TopCylinder_UP,450,HC,X450
DI,14,D7-1顶升上升端,TopCylinder_UP,450,HC,X450
DI,14,D7-1顶升下降端,TopCylinder_Down,451,HC,X451
DI,14,D7-1顶升下降端,TopCylinder_Down,451,HC,X451
DI,14,D7-1横移前进端,BeforeAfterCylinder_Before,452,HC,X452
DI,14,D7-1横移前进端,BeforeAfterCylinder_Before,452,HC,X452
DI,14,D7-1横移后退端,BeforeAfterCylinder_After,453,HC,X453
DI,14,D7-1横移后退端,BeforeAfterCylinder_After,453,HC,X453
DI,14,D7-1夹料气缸料盘检测,ClampCylinder_Check,454,HC,X454
DI,14,D7-1夹料气缸料盘检测,ClampCylinder_Check,454,HC,X454
DI,14,D7-1夹料放松端,ClampCylinder_Relax,455,HC,X455
DI,14,D7-1夹料放松端,ClampCylinder_Relax,455,HC,X455
DI,13,D7-2阻挡1托盘检测,StopC
ylinder_C
heck1,456,HC,X456
DI,13,D7-2阻挡1托盘检测,StopCheck1,456,HC,X456
DI,13,D7-2阻挡2托盘检测,StopC
ylinder_C
heck2,457,HC,X457
DI,13,D7-2阻挡2托盘检测,StopCheck2,457,HC,X457
DI,13,D7-2顶升上升端,TopCylinder_UP,458,HC,X458
DI,13,D7-2顶升上升端,TopCylinder_UP,458,HC,X458
DI,13,D7-2顶升下降端,TopCylinder_Down,459,HC,X459
DI,13,D7-2顶升下降端,TopCylinder_Down,459,HC,X459
DI,13,D7-2横移前进端,BeforeAfterCylinder_Before,460,HC,X460
DI,13,D7-2横移前进端,BeforeAfterCylinder_Before,460,HC,X460
DI,13,D7-2横移后退端,BeforeAfterCylinder_After,461,HC,X461
DI,13,D7-2横移后退端,BeforeAfterCylinder_After,461,HC,X461
DI,13,D7-2夹料气缸料盘检测,ClampCylinder_Check,462,HC,X462
DI,13,D7-2夹料气缸料盘检测,ClampCylinder_Check,462,HC,X462
DI,13,D7-2夹料放松端,ClampCylinder_Relax,463,HC,X463
DI,13,D7-2夹料放松端,ClampCylinder_Relax,463,HC,X463
DI,16,D8-1阻挡1托盘检测,StopC
ylinder_C
heck1,464,HC,X464
DI,16,D8-1阻挡1托盘检测,StopCheck1,464,HC,X464
DI,16,D8-1阻挡2托盘检测,StopC
ylinder_C
heck2,465,HC,X465
DI,16,D8-1阻挡2托盘检测,StopCheck2,465,HC,X465
DI,16,D8-1顶升上升端,TopCylinder_UP,466,HC,X466
DI,16,D8-1顶升上升端,TopCylinder_UP,466,HC,X466
DI,16,D8-1顶升下降端,TopCylinder_Down,467,HC,X467
DI,16,D8-1顶升下降端,TopCylinder_Down,467,HC,X467
DI,16,D8-1横移前进端,BeforeAfterCylinder_Before,468,HC,X468
DI,16,D8-1横移前进端,BeforeAfterCylinder_Before,468,HC,X468
DI,16,D8-1横移后退端,BeforeAfterCylinder_After,469,HC,X469
DI,16,D8-1横移后退端,BeforeAfterCylinder_After,469,HC,X469
DI,16,D8-1夹料气缸料盘检测,ClampCylinder_Check,470,HC,X470
DI,16,D8-1夹料气缸料盘检测,ClampCylinder_Check,470,HC,X470
DI,16,D8-1夹料放松端,ClampCylinder_Relax,471,HC,X471
DI,16,D8-1夹料放松端,ClampCylinder_Relax,471,HC,X471
DI,15,D8-2阻挡1托盘检测,StopC
ylinder_C
heck1,472,HC,X472
DI,15,D8-2阻挡1托盘检测,StopCheck1,472,HC,X472
DI,15,D8-2阻挡2托盘检测,StopC
ylinder_C
heck2,473,HC,X473
DI,15,D8-2阻挡2托盘检测,StopCheck2,473,HC,X473
DI,15,D8-2顶升上升端,TopCylinder_UP,474,HC,X474
DI,15,D8-2顶升上升端,TopCylinder_UP,474,HC,X474
DI,15,D8-2顶升下降端,TopCylinder_Down,475,HC,X475
DI,15,D8-2顶升下降端,TopCylinder_Down,475,HC,X475
DI,15,D8-2横移前进端,BeforeAfterCylinder_Before,476,HC,X476
DI,15,D8-2横移前进端,BeforeAfterCylinder_Before,476,HC,X476
...
@@ -979,32 +979,32 @@ DI,15,D8-2横移后退端,BeforeAfterCylinder_After,477,HC,X477
...
@@ -979,32 +979,32 @@ DI,15,D8-2横移后退端,BeforeAfterCylinder_After,477,HC,X477
DI,15,D8-2夹料气缸料盘检测,ClampCylinder_Check,478,HC,X478
DI,15,D8-2夹料气缸料盘检测,ClampCylinder_Check,478,HC,X478
DI,15,D8-2夹料放松端,ClampCylinder_Relax,479,HC,X479
DI,15,D8-2夹料放松端,ClampCylinder_Relax,479,HC,X479
,,,,,,
,,,,,,
DO,14,D7-1阻挡1下降,Stop
Cylinder_Check
1,384,HC,Y384
DO,14,D7-1阻挡1下降,Stop
Down
1,384,HC,Y384
DO,14,D7-1阻挡2下降,Stop
Cylinder_Check
2,385,HC,Y385
DO,14,D7-1阻挡2下降,Stop
Down
2,385,HC,Y385
DO,14,D7-1顶升上升,TopCylinder_UP,386,HC,Y386
DO,14,D7-1顶升上升,TopCylinder_UP,386,HC,Y386
DO,14,D7-1顶升下降,TopCylinder_Down,387,HC,Y387
DO,14,D7-1顶升下降,TopCylinder_Down,387,HC,Y387
DO,14,D7-1横移前进,BeforeAfterCylinder_Before,388,HC,Y388
DO,14,D7-1横移前进,BeforeAfterCylinder_Before,388,HC,Y388
DO,14,D7-1横移后退,BeforeAfterCylinder_After,389,HC,Y389
DO,14,D7-1横移后退,BeforeAfterCylinder_After,389,HC,Y389
DO,14,D7-1夹料夹紧,ClampCylinder_Work,390,HC,Y390
DO,14,D7-1夹料夹紧,ClampCylinder_Work,390,HC,Y390
DO,14,D7-1夹料放松,ClampCylinder_Relax,391,HC,Y391
DO,14,D7-1夹料放松,ClampCylinder_Relax,391,HC,Y391
DO,13,D7-2阻挡1下降,Stop
Cylinder_Check
1,392,HC,Y392
DO,13,D7-2阻挡1下降,Stop
Down
1,392,HC,Y392
DO,13,D7-2阻挡2下降,Stop
Cylinder_Check
2,393,HC,Y393
DO,13,D7-2阻挡2下降,Stop
Down
2,393,HC,Y393
DO,13,D7-2顶升上升,TopCylinder_UP,394,HC,Y394
DO,13,D7-2顶升上升,TopCylinder_UP,394,HC,Y394
DO,13,D7-2顶升下降,TopCylinder_Down,395,HC,Y395
DO,13,D7-2顶升下降,TopCylinder_Down,395,HC,Y395
DO,13,D7-2横移前进,BeforeAfterCylinder_Before,396,HC,Y396
DO,13,D7-2横移前进,BeforeAfterCylinder_Before,396,HC,Y396
DO,13,D7-2横移后退,BeforeAfterCylinder_After,397,HC,Y397
DO,13,D7-2横移后退,BeforeAfterCylinder_After,397,HC,Y397
DO,13,D7-2夹料夹紧,ClampCylinder_Work,398,HC,Y398
DO,13,D7-2夹料夹紧,ClampCylinder_Work,398,HC,Y398
DO,13,D7-2夹料放松,ClampCylinder_Relax,399,HC,Y399
DO,13,D7-2夹料放松,ClampCylinder_Relax,399,HC,Y399
DO,16,D8-1阻挡1下降,Stop
Cylinder_Check
1,400,HC,Y400
DO,16,D8-1阻挡1下降,Stop
Down
1,400,HC,Y400
DO,16,D8-1阻挡2下降,Stop
Cylinder_Check
2,401,HC,Y401
DO,16,D8-1阻挡2下降,Stop
Down
2,401,HC,Y401
DO,16,D8-1顶升上升,TopCylinder_UP,402,HC,Y402
DO,16,D8-1顶升上升,TopCylinder_UP,402,HC,Y402
DO,16,D8-1顶升下降,TopCylinder_Down,403,HC,Y403
DO,16,D8-1顶升下降,TopCylinder_Down,403,HC,Y403
DO,16,D8-1横移前进,BeforeAfterCylinder_Before,404,HC,Y404
DO,16,D8-1横移前进,BeforeAfterCylinder_Before,404,HC,Y404
DO,16,D8-1横移后退,BeforeAfterCylinder_After,405,HC,Y405
DO,16,D8-1横移后退,BeforeAfterCylinder_After,405,HC,Y405
DO,16,D8-1夹料夹紧,ClampCylinder_Work,406,HC,Y406
DO,16,D8-1夹料夹紧,ClampCylinder_Work,406,HC,Y406
DO,16,D8-1夹料放松,ClampCylinder_Relax,407,HC,Y407
DO,16,D8-1夹料放松,ClampCylinder_Relax,407,HC,Y407
DO,15,D8-2阻挡1下降,Stop
Cylinder_Check
1,408,HC,Y408
DO,15,D8-2阻挡1下降,Stop
Down
1,408,HC,Y408
DO,15,D8-2阻挡2下降,Stop
Cylinder_Check
2,409,HC,Y409
DO,15,D8-2阻挡2下降,Stop
Down
2,409,HC,Y409
DO,15,D8-2顶升上升,TopCylinder_UP,410,HC,Y410
DO,15,D8-2顶升上升,TopCylinder_UP,410,HC,Y410
DO,15,D8-2顶升下降,TopCylinder_Down,411,HC,Y411
DO,15,D8-2顶升下降,TopCylinder_Down,411,HC,Y411
DO,15,D8-2横移前进,BeforeAfterCylinder_Before,412,HC,Y412
DO,15,D8-2横移前进,BeforeAfterCylinder_Before,412,HC,Y412
...
@@ -1015,34 +1015,34 @@ DO,15,D8-2夹料放松,ClampCylinder_Relax,415,HC,Y415
...
@@ -1015,34 +1015,34 @@ DO,15,D8-2夹料放松,ClampCylinder_Relax,415,HC,Y415
,,,,,,
,,,,,,
,,XT8,XT8,,,
,,XT8,XT8,,,
,,HY5&HY7&HY10&J1,HY5&HY7&HY10&J1,,,
,,HY5&HY7&HY10&J1,HY5&HY7&HY10&J1,,,
DI,205,C2-HY5阻挡托盘检测,
C2-HY5阻挡托盘检测
,480,HC,X480
DI,205,C2-HY5阻挡托盘检测,
HY_StopTray_Check
,480,HC,X480
DI,205,HY5横移托盘检测,HY
5横移托盘检测
,481,HC,X481
DI,205,HY5横移托盘检测,HY
_TrayCheck
,481,HC,X481
DI,205,HY5横移顶升上升端,HY
5横移顶升上升端
,482,HC,X482
DI,205,HY5横移顶升上升端,HY
_TopCylinder_UP
,482,HC,X482
DI,205,HY5横移顶升下降端,HY
5横移顶升下降端
,483,HC,X483
DI,205,HY5横移顶升下降端,HY
_TopCylinder_Down
,483,HC,X483
DI,205,C8线体HY5侧满料检测,
C8线体HY5侧满料检测
,484,HC,X484
DI,205,C8线体HY5侧满料检测,
HY_TrayImpletion_Check
,484,HC,X484
DI,207,HY7横移托盘检测,HY
7横移托盘检测
,485,HC,X485
DI,207,HY7横移托盘检测,HY
_TrayCheck
,485,HC,X485
DI,207,HY7横移顶升上升端,HY
7横移顶升上升端
,486,HC,X486
DI,207,HY7横移顶升上升端,HY
_TopCylinder_UP
,486,HC,X486
DI,207,HY7横移顶升下降端,HY
7横移顶升下降端
,487,HC,X487
DI,207,HY7横移顶升下降端,HY
_TopCylinder_Down
,487,HC,X487
DI,207,C3-HY7阻挡托盘检测,
C3-HY7阻挡托盘检测
,488,HC,X488
DI,207,C3-HY7阻挡托盘检测,
HY_StopTray_Check
,488,HC,X488
DI,207,C8-HY7阻挡托盘检测,
C8-HY7阻挡托盘检测
,489,HC,X489
DI,207,C8-HY7阻挡托盘检测,
HY_StopTray_Check2
,489,HC,X489
DI,207,C8线体HY7侧满料检测,
C8线体HY7侧满料检测
,490,HC,X490
DI,207,C8线体HY7侧满料检测,
HY_TrayImpletion_Check
,490,HC,X490
DI,209,C4-HY9满料检测,
C4-HY9满料检测
,491,HC,X491
DI,209,C4-HY9满料检测,
HY_TrayImpletion_Check
,491,HC,X491
DI,210,HY10前阻挡托盘检测,HY
10前阻挡托盘检测
,492,HC,X492
DI,210,HY10前阻挡托盘检测,HY
_FrontStopCheck
,492,HC,X492
DI,210,HY10横移托盘检测,HY
10横移托盘检测
,493,HC,X493
DI,210,HY10横移托盘检测,HY
_TrayCheck
,493,HC,X493
DI,210,HY10横移顶升上升端,HY
10横移顶升上升端
,494,HC,X494
DI,210,HY10横移顶升上升端,HY
_TopCylinder_UP
,494,HC,X494
DI,210,HY10横移顶升下降端,HY
10横移顶升下降端
,495,HC,X495
DI,210,HY10横移顶升下降端,HY
_TopCylinder_Down
,495,HC,X495
DI,210,HY10横移定位1上升端,HY
10横移定位1上升端
,496,HC,X496
DI,210,HY10横移定位1上升端,HY
_LocationCylinder_UP1
,496,HC,X496
DI,210,HY10横移定位1下降端,HY
10横移定位1下降端
,497,HC,X497
DI,210,HY10横移定位1下降端,HY
_LocationCylinder_Down1
,497,HC,X497
DI,210,HY10横移定位2上升端,HY
10横移定位2上升端
,498,HC,X498
DI,210,HY10横移定位2上升端,HY
_LocationCylinder_UP2
,498,HC,X498
DI,210,HY10横移定位2下降端,HY
10横移定位2下降端
,499,HC,X499
DI,210,HY10横移定位2下降端,HY
_LocationCylinder_Down2
,499,HC,X499
DI,210,HY10接驳台气缸取料端,HY
10接驳台气缸取料端
,500,HC,X500
DI,210,HY10接驳台气缸取料端,HY
_MoveCylinder_Take
,500,HC,X500
DI,210,HY10接驳台气缸放料端,HY
10接驳台气缸放料端
,501,HC,X501
DI,210,HY10接驳台气缸放料端,HY
_MoveCylinder_Give
,501,HC,X501
DI,210,HY10夹料气缸料盘检测,HY
10夹料气缸料盘检测
,502,HC,X502
DI,210,HY10夹料气缸料盘检测,HY
_ClampCylinder_Check
,502,HC,X502
DI,210,HY10夹料气缸放松端,HY
10夹料气缸放松端
,503,HC,X503
DI,210,HY10夹料气缸放松端,HY
_ClampCylinder_Relax
,503,HC,X503
DI,210,HY10接驳台料盘检测7寸,HY
10接驳台料盘检测7寸
,504,HC,X504
DI,210,HY10接驳台料盘检测7寸,HY
_TrayCheck1
,504,HC,X504
DI,210,HY10接驳台料盘检测11寸,HY
10接驳台料盘检测11寸
,505,HC,X505
DI,210,HY10接驳台料盘检测11寸,HY
_TrayCheck2
,505,HC,X505
DI,210,HY10接驳台料盘检测13寸,HY
10接驳台料盘检测13寸
,506,HC,X506
DI,210,HY10接驳台料盘检测13寸,HY
_TrayCheck3
,506,HC,X506
DI,210,HY10接驳台料盘检测15寸,HY
10接驳台料盘检测15寸
,507,HC,X507
DI,210,HY10接驳台料盘检测15寸,HY
_TrayCheck4
,507,HC,X507
,,,,508,HC,X508
,,,,508,HC,X508
,,,,509,HC,X509
,,,,509,HC,X509
,,,,510,HC,X510
,,,,510,HC,X510
...
@@ -1051,31 +1051,31 @@ DI,210,HY10接驳台料盘检测15寸,HY10接驳台料盘检测15寸,507,HC,X507
...
@@ -1051,31 +1051,31 @@ DI,210,HY10接驳台料盘检测15寸,HY10接驳台料盘检测15寸,507,HC,X507
,,,,,,
,,,,,,
DO,0,C1线体电机4启动,MotorRun_C1_4,416,HC,Y416
DO,0,C1线体电机4启动,MotorRun_C1_4,416,HC,Y416
DO,0,C2/C3/C4/C5/C8线体运转,MotorRun_23458,417,HC,Y417
DO,0,C2/C3/C4/C5/C8线体运转,MotorRun_23458,417,HC,Y417
DO,205,HY5横移电机正转,HY
5横移电机正转
,418,HC,Y418
DO,205,HY5横移电机正转,HY
_LineRun
,418,HC,Y418
DO,205,HY5横移顶升上升,HY
5横移顶升上升
,419,HC,Y419
DO,205,HY5横移顶升上升,HY
_TopCylinder_UP
,419,HC,Y419
DO,205,HY5横移顶升下降,HY
5横移顶升下降
,420,HC,Y420
DO,205,HY5横移顶升下降,HY
_TopCylinder_Down
,420,HC,Y420
DO,205,C2-HY5阻挡下降,
C2-HY5阻挡下降
,421,HC,Y421
DO,205,C2-HY5阻挡下降,
HY_StopDown
,421,HC,Y421
DO,207,HY7横移电机正转,HY
7横移电机正转
,422,HC,Y422
DO,207,HY7横移电机正转,HY
_LineRun
,422,HC,Y422
DO,207,HY7横移顶升上升,HY
7横移顶升上升
,423,HC,Y423
DO,207,HY7横移顶升上升,HY
_TopCylinder_UP
,423,HC,Y423
DO,207,HY7横移顶升下降,HY
7横移顶升下降
,424,HC,Y424
DO,207,HY7横移顶升下降,HY
_TopCylinder_Down
,424,HC,Y424
DO,207,C3-HY7阻挡下降,
C3-HY7阻挡下降
,425,HC,Y425
DO,207,C3-HY7阻挡下降,
HY_StopCylinder_Up
,425,HC,Y425
DO,207,C8-HY7阻挡下降,
C8-HY7阻挡下降
,426,HC,Y426
DO,207,C8-HY7阻挡下降,
HY_StopCylinder_Down
,426,HC,Y426
DO,210,HY10横移电机正转,HY
10横移电机正转
,427,HC,Y427
DO,210,HY10横移电机正转,HY
_LineRun
,427,HC,Y427
DO,210,HY10前阻挡下降,HY
10前阻挡下降
,428,HC,Y428
DO,210,HY10前阻挡下降,HY
_FrontStopDown
,428,HC,Y428
DO,210,HY10横移顶升上升,HY
10横移顶升上升
,429,HC,Y429
DO,210,HY10横移顶升上升,HY
_TopCylinder_UP
,429,HC,Y429
DO,210,HY10横移顶升下降,HY
10横移顶升下降
,430,HC,Y430
DO,210,HY10横移顶升下降,HY
_TopCylinder_Down
,430,HC,Y430
DO,210,HY10横移定位上升,HY
10横移定位上升
,431,HC,Y431
DO,210,HY10横移定位上升,HY
_LocationCylinder_UP
,431,HC,Y431
DO,210,HY10横移定位下降,HY
10横移定位下降
,432,HC,Y432
DO,210,HY10横移定位下降,HY
_LocationCylinder_Down
,432,HC,Y432
DO,210,HY10接驳台气缸取料,HY
10接驳台气缸取料
,433,HC,Y433
DO,210,HY10接驳台气缸取料,HY
_MoveCylinder_Take
,433,HC,Y433
DO,210,HY10接驳台气缸放料,HY
10接驳台气缸放料
,434,HC,Y434
DO,210,HY10接驳台气缸放料,HY
_MoveCylinder_Give
,434,HC,Y434
DO,210,HY10夹料气缸夹紧,HY
10夹料气缸夹紧
,435,HC,Y435
DO,210,HY10夹料气缸夹紧,HY
_ClampCylinder_Work
,435,HC,Y435
DO,210,HY10夹料气缸放松,HY
10夹料气缸放松
,436,HC,Y436
DO,210,HY10夹料气缸放松,HY
_ClampCylinder_Relax
,436,HC,Y436
DO,209,HY9横移顶升上升,HY
9横移顶升上升
,437,HC,Y437
DO,209,HY9横移顶升上升,HY
_TopCylinder_UP
,437,HC,Y437
DO,209,HY9横移顶升下降,HY
9横移顶升下降
,438,HC,Y438
DO,209,HY9横移顶升下降,HY
_TopCylinder_Down
,438,HC,Y438
DO,209,HY9前阻挡下降,HY
9前阻挡下降
,439,HC,Y439
DO,209,HY9前阻挡下降,HY
_FrontStopDown
,439,HC,Y439
DO,209,HY9阻挡下降,HY
9阻挡下降
,440,HC,Y440
DO,209,HY9阻挡下降,HY
_StopDown
,440,HC,Y440
DO,209,C4-HY9阻挡上升,
C4-HY9阻挡上升
,441,HC,Y441
DO,209,C4-HY9阻挡上升,
HY_StopCylinder_Up
,441,HC,Y441
DO,209,C4-HY9阻挡下降,
C4-HY9阻挡下降
,442,HC,Y442
DO,209,C4-HY9阻挡下降,
HY_StopCylinder_Down
,442,HC,Y442
,,,,443,HC,Y443
,,,,443,HC,Y443
,,,,444,HC,Y444
,,,,444,HC,Y444
,,,,445,HC,Y445
,,,,445,HC,Y445
...
@@ -1084,16 +1084,16 @@ DO,209,C4-HY9阻挡下降,C4-HY9阻挡下降,442,HC,Y442
...
@@ -1084,16 +1084,16 @@ DO,209,C4-HY9阻挡下降,C4-HY9阻挡下降,442,HC,Y442
,,,,,,
,,,,,,
,,XT9,XT9,,,
,,XT9,XT9,,,
,,D9&D10&HY11&T3-C1,D9&D10&HY11&T3-C1,,,
,,D9&D10&HY11&T3-C1,D9&D10&HY11&T3-C1,,,
DI,18,D9-1阻挡1托盘检测,StopC
ylinder_C
heck1,512,HC,X512
DI,18,D9-1阻挡1托盘检测,StopCheck1,512,HC,X512
DI,18,D9-1阻挡2托盘检测,StopC
ylinder_C
heck2,513,HC,X513
DI,18,D9-1阻挡2托盘检测,StopCheck2,513,HC,X513
DI,18,D9-1顶升上升端,TopCylinder_UP,514,HC,X514
DI,18,D9-1顶升上升端,TopCylinder_UP,514,HC,X514
DI,18,D9-1顶升下降端,TopCylinder_Down,515,HC,X515
DI,18,D9-1顶升下降端,TopCylinder_Down,515,HC,X515
DI,18,D9-1横移前进端,BeforeAfterCylinder_Before,516,HC,X516
DI,18,D9-1横移前进端,BeforeAfterCylinder_Before,516,HC,X516
DI,18,D9-1横移后退端,BeforeAfterCylinder_After,517,HC,X517
DI,18,D9-1横移后退端,BeforeAfterCylinder_After,517,HC,X517
DI,18,D9-1夹料气缸料盘检测,ClampCylinder_Check,518,HC,X518
DI,18,D9-1夹料气缸料盘检测,ClampCylinder_Check,518,HC,X518
DI,18,D9-1夹料放松端,ClampCylinder_Relax,519,HC,X519
DI,18,D9-1夹料放松端,ClampCylinder_Relax,519,HC,X519
DI,17,D9-2阻挡1托盘检测,StopC
ylinder_C
heck1,520,HC,X520
DI,17,D9-2阻挡1托盘检测,StopCheck1,520,HC,X520
DI,17,D9-2阻挡2托盘检测,StopC
ylinder_C
heck2,521,HC,X521
DI,17,D9-2阻挡2托盘检测,StopCheck2,521,HC,X521
DI,17,D9-2顶升上升端,TopCylinder_UP,522,HC,X522
DI,17,D9-2顶升上升端,TopCylinder_UP,522,HC,X522
DI,17,D9-2顶升下降端,TopCylinder_Down,523,HC,X523
DI,17,D9-2顶升下降端,TopCylinder_Down,523,HC,X523
DI,17,D9-2横移前进端,BeforeAfterCylinder_Before,524,HC,X524
DI,17,D9-2横移前进端,BeforeAfterCylinder_Before,524,HC,X524
...
@@ -1101,8 +1101,8 @@ DI,17,D9-2横移后退端,BeforeAfterCylinder_After,525,HC,X525
...
@@ -1101,8 +1101,8 @@ DI,17,D9-2横移后退端,BeforeAfterCylinder_After,525,HC,X525
DI,17,D9-2夹料气缸料盘检测,ClampCylinder_Check,526,HC,X526
DI,17,D9-2夹料气缸料盘检测,ClampCylinder_Check,526,HC,X526
DI,17,D9-2夹料放松端,ClampCylinder_Relax,527,HC,X527
DI,17,D9-2夹料放松端,ClampCylinder_Relax,527,HC,X527
DI,17,D9-2升降上升端,UpDownCylinder_Up,528,HC,X528
DI,17,D9-2升降上升端,UpDownCylinder_Up,528,HC,X528
DI,17,D9-2升降下降端,StopC
ylinder_C
heck1,529,HC,X529
DI,17,D9-2升降下降端,StopCheck1,529,HC,X529
DI,20,D10-1阻挡1托盘检测,StopC
ylinder_C
heck2,530,HC,X530
DI,20,D10-1阻挡1托盘检测,StopCheck2,530,HC,X530
DI,20,D10-1阻挡2托盘检测,TopCylinder_UP,531,HC,X531
DI,20,D10-1阻挡2托盘检测,TopCylinder_UP,531,HC,X531
DI,20,D10-1顶升上升端,TopCylinder_Down,532,HC,X532
DI,20,D10-1顶升上升端,TopCylinder_Down,532,HC,X532
DI,20,D10-1顶升下降端,TopCylinder_Down,533,HC,X533
DI,20,D10-1顶升下降端,TopCylinder_Down,533,HC,X533
...
@@ -1112,8 +1112,8 @@ DI,20,D10-1夹料气缸料盘检测,ClampCylinder_Check,536,HC,X536
...
@@ -1112,8 +1112,8 @@ DI,20,D10-1夹料气缸料盘检测,ClampCylinder_Check,536,HC,X536
DI,20,D10-1夹料放松端,ClampCylinder_Relax,537,HC,X537
DI,20,D10-1夹料放松端,ClampCylinder_Relax,537,HC,X537
DI,20,D10-1升降上升端,UpDownCylinder_Up,538,HC,X538
DI,20,D10-1升降上升端,UpDownCylinder_Up,538,HC,X538
DI,20,D10-1升降下降端,UpDownCylinder_Down,539,HC,X539
DI,20,D10-1升降下降端,UpDownCylinder_Down,539,HC,X539
DI,19,D10-2阻挡1托盘检测,StopC
ylinder_C
heck1,540,HC,X540
DI,19,D10-2阻挡1托盘检测,StopCheck1,540,HC,X540
DI,19,D10-2阻挡2托盘检测,StopC
ylinder_C
heck2,541,HC,X541
DI,19,D10-2阻挡2托盘检测,StopCheck2,541,HC,X541
DI,19,D10-2顶升上升端,TopCylinder_UP,542,HC,X542
DI,19,D10-2顶升上升端,TopCylinder_UP,542,HC,X542
DI,19,D10-2顶升下降端,TopCylinder_Down,543,HC,X543
DI,19,D10-2顶升下降端,TopCylinder_Down,543,HC,X543
,,,,,,
,,,,,,
...
@@ -1123,47 +1123,47 @@ DI,19,D10-2夹料气缸料盘检测,ClampCylinder_Check,546,HC,X546
...
@@ -1123,47 +1123,47 @@ DI,19,D10-2夹料气缸料盘检测,ClampCylinder_Check,546,HC,X546
DI,19,D10-2夹料放松端,ClampCylinder_Relax,547,HC,X547
DI,19,D10-2夹料放松端,ClampCylinder_Relax,547,HC,X547
DI,19,D10-2升降上升端,UpDownCylinder_Up,548,HC,X548
DI,19,D10-2升降上升端,UpDownCylinder_Up,548,HC,X548
DI,19,D10-2升降下降端,UpDownCylinder_Down,549,HC,X549
DI,19,D10-2升降下降端,UpDownCylinder_Down,549,HC,X549
DI,211,HY11前阻挡托盘检测,HY
11前阻挡托盘检测
,550,HC,X550
DI,211,HY11前阻挡托盘检测,HY
_FrontStopCheck
,550,HC,X550
DI,211,HY11横移托盘检测,HY
11横移托盘检测
,551,HC,X551
DI,211,HY11横移托盘检测,HY
_TrayCheck
,551,HC,X551
DI,211,HY11横移顶升上升端,HY
11横移顶升上升端
,552,HC,X552
DI,211,HY11横移顶升上升端,HY
_TopCylinder_UP
,552,HC,X552
DI,211,HY11横移顶升下降端,HY
11横移顶升下降端
,553,HC,X553
DI,211,HY11横移顶升下降端,HY
_TopCylinder_Down
,553,HC,X553
DI,211,C5-HY11阻挡托盘检测,
C5-HY11阻挡托盘检测
,554,HC,X554
DI,211,C5-HY11阻挡托盘检测,
HY_StopTray_Check
,554,HC,X554
DI,0,T3-C1前阻挡托盘检测,
T3-C1前阻挡托盘检测
,555,HC,X555
DI,0,T3-C1前阻挡托盘检测,
HY_FrontStopCheck
,555,HC,X555
DI,0,T3-C1阻挡托盘检测,
T3-C1阻挡托盘检测
,556,HC,X556
DI,0,T3-C1阻挡托盘检测,
HY_TrayCheck
,556,HC,X556
DI,0,T3-C1顶升上升端,
T3-C1顶升上升端
,557,HC,X557
DI,0,T3-C1顶升上升端,
HY_TopCylinder_UP
,557,HC,X557
DI,0,T3-C1顶升下降端,
T3-C1顶升下降端
,558,HC,X558
DI,0,T3-C1顶升下降端,
HY_TopCylinder_Down
,558,HC,X558
,,,,559,HC,X559
,,,,559,HC,X559
,,,,,,
,,,,,,
DO,18,D9-1阻挡1下降,Stop
Cylinder_Check
1,448,HC,Y448
DO,18,D9-1阻挡1下降,Stop
Down
1,448,HC,Y448
DO,18,D9-1阻挡2下降,Stop
Cylinder_Check
2,449,HC,Y449
DO,18,D9-1阻挡2下降,Stop
Down
2,449,HC,Y449
DO,18,D9-1顶升上升,TopCylinder_UP,450,HC,Y450
DO,18,D9-1顶升上升,TopCylinder_UP,450,HC,Y450
DO,18,D9-1顶升下降,TopCylinder_Down,451,HC,Y451
DO,18,D9-1顶升下降,TopCylinder_Down,451,HC,Y451
DO,18,D9-1横移前进,BeforeAfterCylinder_Before,452,HC,Y452
DO,18,D9-1横移前进,BeforeAfterCylinder_Before,452,HC,Y452
DO,18,D9-1横移后退,BeforeAfterCylinder_After,453,HC,Y453
DO,18,D9-1横移后退,BeforeAfterCylinder_After,453,HC,Y453
DO,18,D9-1夹料夹紧,ClampCylinder_Work,454,HC,Y454
DO,18,D9-1夹料夹紧,ClampCylinder_Work,454,HC,Y454
DO,18,D9-1夹料放松,ClampCylinder_Relax,455,HC,Y455
DO,18,D9-1夹料放松,ClampCylinder_Relax,455,HC,Y455
DO,17,D9-2阻挡1下降,Stop
Cylinder_Check
1,456,HC,Y456
DO,17,D9-2阻挡1下降,Stop
Down
1,456,HC,Y456
DO,17,D9-2阻挡2下降,Stop
Cylinder_Check
2,457,HC,Y457
DO,17,D9-2阻挡2下降,Stop
Down
2,457,HC,Y457
DO,17,D9-2顶升上升,TopCylinder_UP,458,HC,Y458
DO,17,D9-2顶升上升,TopCylinder_UP,458,HC,Y458
DO,17,D9-2顶升下降,TopCylinder_Down,459,HC,Y459
DO,17,D9-2顶升下降,TopCylinder_Down,459,HC,Y459
DO,17,D9-2横移前进,BeforeAfterCylinder_Before,460,HC,Y460
DO,17,D9-2横移前进,BeforeAfterCylinder_Before,460,HC,Y460
DO,17,D9-2横移后退,BeforeAfterCylinder_After,461,HC,Y461
DO,17,D9-2横移后退,BeforeAfterCylinder_After,461,HC,Y461
DO,17,D9-2夹料夹紧,ClampCylinder_Work,462,HC,Y462
DO,17,D9-2夹料夹紧,ClampCylinder_Work,462,HC,Y462
DO,17,D9-2夹料放松,ClampCylinder_Relax,463,HC,Y463
DO,17,D9-2夹料放松,ClampCylinder_Relax,463,HC,Y463
DO,17,D9-2升降上升,
D9-2升降上升
,464,HC,Y464
DO,17,D9-2升降上升,
UpDownCylinder_Up
,464,HC,Y464
DO,17,D9-2升降下降,
D9-2升降下降
,465,HC,Y465
DO,17,D9-2升降下降,
UpDownCylinder_Down
,465,HC,Y465
DO,20,D10-1阻挡1下降,Stop
Cylinder_Check
1,466,HC,Y466
DO,20,D10-1阻挡1下降,Stop
Down
1,466,HC,Y466
DO,20,D10-1阻挡2下降,Stop
Cylinder_Check
2,467,HC,Y467
DO,20,D10-1阻挡2下降,Stop
Down
2,467,HC,Y467
DO,20,D10-1顶升上升,TopCylinder_UP,468,HC,Y468
DO,20,D10-1顶升上升,TopCylinder_UP,468,HC,Y468
DO,20,D10-1顶升下降,TopCylinder_Down,469,HC,Y469
DO,20,D10-1顶升下降,TopCylinder_Down,469,HC,Y469
DO,20,D10-1横移前进,BeforeAfterCylinder_Before,470,HC,Y470
DO,20,D10-1横移前进,BeforeAfterCylinder_Before,470,HC,Y470
DO,20,D10-1横移后退,BeforeAfterCylinder_After,471,HC,Y471
DO,20,D10-1横移后退,BeforeAfterCylinder_After,471,HC,Y471
DO,20,D10-1夹料夹紧,ClampCylinder_Work,472,HC,Y472
DO,20,D10-1夹料夹紧,ClampCylinder_Work,472,HC,Y472
DO,20,D10-1夹料放松,ClampCylinder_Relax,473,HC,Y473
DO,20,D10-1夹料放松,ClampCylinder_Relax,473,HC,Y473
DO,20,D10-1升降上升,
D10-1升降上升
,474,HC,Y474
DO,20,D10-1升降上升,
UpDownCylinder_Up
,474,HC,Y474
DO,20,D10-1升降下降,
D10-1升降下降
,475,HC,Y475
DO,20,D10-1升降下降,
UpDownCylinder_Down
,475,HC,Y475
DO,19,D10-2阻挡1下降,Stop
Cylinder_Check
1,476,HC,Y476
DO,19,D10-2阻挡1下降,Stop
Down
1,476,HC,Y476
DO,19,D10-2阻挡2下降,Stop
Cylinder_Check
2,477,HC,Y477
DO,19,D10-2阻挡2下降,Stop
Down
2,477,HC,Y477
DO,19,D10-2顶升上升,TopCylinder_UP,478,HC,Y478
DO,19,D10-2顶升上升,TopCylinder_UP,478,HC,Y478
DO,19,D10-2顶升下降,TopCylinder_Down,479,HC,Y479
DO,19,D10-2顶升下降,TopCylinder_Down,479,HC,Y479
,,,,,,
,,,,,,
...
@@ -1171,45 +1171,45 @@ DO,19,D10-2横移前进,BeforeAfterCylinder_Before,480,HC,Y480
...
@@ -1171,45 +1171,45 @@ DO,19,D10-2横移前进,BeforeAfterCylinder_Before,480,HC,Y480
DO,19,D10-2横移后退,BeforeAfterCylinder_After,481,HC,Y481
DO,19,D10-2横移后退,BeforeAfterCylinder_After,481,HC,Y481
DO,19,D10-2夹料夹紧,ClampCylinder_Work,482,HC,Y482
DO,19,D10-2夹料夹紧,ClampCylinder_Work,482,HC,Y482
DO,19,D10-2夹料放松,ClampCylinder_Relax,483,HC,Y483
DO,19,D10-2夹料放松,ClampCylinder_Relax,483,HC,Y483
DO,19,D10-2升降上升,
D10-2升降上升
,484,HC,Y484
DO,19,D10-2升降上升,
UpDownCylinder_Up
,484,HC,Y484
DO,19,D10-2升降下降,
D10-2升降下降
,485,HC,Y485
DO,19,D10-2升降下降,
UpDownCylinder_Down
,485,HC,Y485
DO,211,HY11横移电机正转,HY
11横移电机正转
,486,HC,Y486
DO,211,HY11横移电机正转,HY
_LineRun
,486,HC,Y486
DO,211,HY11横移顶升上升,HY
11横移顶升上升
,487,HC,Y487
DO,211,HY11横移顶升上升,HY
_TopCylinder_UP
,487,HC,Y487
DO,211,HY11横移顶升下降,HY
11横移顶升下降
,488,HC,Y488
DO,211,HY11横移顶升下降,HY
_TopCylinder_Down
,488,HC,Y488
DO,211,HY11前阻挡下降,HY
11前阻挡下降
,489,HC,Y489
DO,211,HY11前阻挡下降,HY
_FrontStopDown
,489,HC,Y489
DO,211,HY11阻挡下降,HY
11阻挡下降
,490,HC,Y490
DO,211,HY11阻挡下降,HY
_StopDown
,490,HC,Y490
DO,211,C5-HY11阻挡下降,
C5-HY11阻挡下降
,491,HC,Y491
DO,211,C5-HY11阻挡下降,
HY_SideStopDown
,491,HC,Y491
DO,0,T3-C1前阻挡下降,
T3-C1前阻挡下降
,492,HC,Y492
DO,0,T3-C1前阻挡下降,
HY_FrontStopDown
,492,HC,Y492
DO,0,T3-C1阻挡下降,
T3-C1阻挡下降
,493,HC,Y493
DO,0,T3-C1阻挡下降,
HY_StopDown
,493,HC,Y493
DO,0,T3-C1顶升上升,
T3-C1顶升上升
,494,HC,Y494
DO,0,T3-C1顶升上升,
HY_TopCylinder_UP
,494,HC,Y494
DO,0,T3-C1顶升下降,
T3-C1顶升下降
,495,HC,Y495
DO,0,T3-C1顶升下降,
HY_TopCylinder_Down
,495,HC,Y495
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,,,,,
,,XT10,XT10,,,
,,XT10,XT10,,,
,,HY12&HY14&J2,HY12&HY14&J2,,,
,,HY12&HY14&J2,HY12&HY14&J2,,,
DI,214,C6-HY14阻挡托盘检测,
C6-HY14阻挡托盘检测
,560,HC,X560
DI,214,C6-HY14阻挡托盘检测,
HY_StopTray_Check
,560,HC,X560
DI,214,HY14横移托盘检测,HY
14横移托盘检测
,561,HC,X561
DI,214,HY14横移托盘检测,HY
_TrayCheck
,561,HC,X561
DI,214,C9-HY14阻挡托盘检测,
C9-HY14阻挡托盘检测
,562,HC,X562
DI,214,C9-HY14阻挡托盘检测,
HY_StopTray_Check2
,562,HC,X562
DI,214,HY14横移顶升上升端,HY
14横移顶升上升端
,563,HC,X563
DI,214,HY14横移顶升上升端,HY
_TopCylinder_UP
,563,HC,X563
DI,214,HY14横移顶升下降端,HY
14横移顶升下降端
,564,HC,X564
DI,214,HY14横移顶升下降端,HY
_TopCylinder_Down
,564,HC,X564
DI,211,C5-HY11满料检测,
C5-HY11满料检测
,565,HC,X565
DI,211,C5-HY11满料检测,
HY_TrayImpletion_Check
,565,HC,X565
DI,212,C9-HY12阻挡托盘检测,
C9-HY12阻挡托盘检测
,566,HC,X566
DI,212,C9-HY12阻挡托盘检测,
HY_StopTray_Check
,566,HC,X566
DI,212,HY12横移托盘检测,HY
12横移托盘检测
,567,HC,X567
DI,212,HY12横移托盘检测,HY
_TrayCheck
,567,HC,X567
DI,212,HY12横移顶升上升端,HY
12横移顶升上升端
,568,HC,X568
DI,212,HY12横移顶升上升端,HY
_TopCylinder_UP
,568,HC,X568
DI,212,HY12横移顶升下降端,HY
12横移顶升下降端
,569,HC,X569
DI,212,HY12横移顶升下降端,HY
_TopCylinder_Down
,569,HC,X569
DI,212,HY12横移定位1上升端,HY
12横移定位1上升端
,570,HC,X570
DI,212,HY12横移定位1上升端,HY
_LocationCylinder_UP1
,570,HC,X570
DI,212,HY12横移定位1下降端,HY
12横移定位1下降端
,571,HC,X571
DI,212,HY12横移定位1下降端,HY
_LocationCylinder_Down1
,571,HC,X571
DI,212,HY12横移定位2上升端,HY
12横移定位2上升端
,572,HC,X572
DI,212,HY12横移定位2上升端,HY
_LocationCylinder_UP2
,572,HC,X572
DI,212,HY12横移定位2下降端,HY
12横移定位2下降端
,573,HC,X573
DI,212,HY12横移定位2下降端,HY
_LocationCylinder_Down2
,573,HC,X573
DI,212,HY12接驳台气缸取料端,HY
12接驳台气缸取料端
,574,HC,X574
DI,212,HY12接驳台气缸取料端,HY
_MoveCylinder_Take
,574,HC,X574
DI,212,HY12接驳台气缸放料端,HY
12接驳台气缸放料端
,575,HC,X575
DI,212,HY12接驳台气缸放料端,HY
_MoveCylinder_Give
,575,HC,X575
DI,212,HY12夹料气缸料盘检测,HY
12夹料气缸料盘检测
,576,HC,X576
DI,212,HY12夹料气缸料盘检测,HY
_ClampCylinder_Check
,576,HC,X576
DI,212,HY12夹料气缸放松端,HY
12夹料气缸放松端
,577,HC,X577
DI,212,HY12夹料气缸放松端,HY
_ClampCylinder_Relax
,577,HC,X577
DI,212,HY12接驳台料盘检测7寸,HY
12接驳台料盘检测7寸
,578,HC,X578
DI,212,HY12接驳台料盘检测7寸,HY
_TrayCheck1
,578,HC,X578
DI,212,HY12接驳台料盘检测11寸,HY
12接驳台料盘检测11寸
,579,HC,X579
DI,212,HY12接驳台料盘检测11寸,HY
_TrayCheck2
,579,HC,X579
DI,212,HY12接驳台料盘检测13寸,HY
12接驳台料盘检测13寸
,580,HC,X580
DI,212,HY12接驳台料盘检测13寸,HY
_TrayCheck3
,580,HC,X580
DI,212,HY12接驳台料盘检测15寸,HY
12接驳台料盘检测15寸
,581,HC,X581
DI,212,HY12接驳台料盘检测15寸,HY
_TrayCheck4
,581,HC,X581
,,,,582,HC,X582
,,,,582,HC,X582
,,,,583,HC,X583
,,,,583,HC,X583
,,,,584,HC,X584
,,,,584,HC,X584
...
@@ -1221,21 +1221,21 @@ DI,212,HY12接驳台料盘检测15寸,HY12接驳台料盘检测15寸,581,HC,X581
...
@@ -1221,21 +1221,21 @@ DI,212,HY12接驳台料盘检测15寸,HY12接驳台料盘检测15寸,581,HC,X581
,,,,590,HC,X590
,,,,590,HC,X590
,,,,591,HC,X591
,,,,591,HC,X591
,,,,,,
,,,,,,
DO,214,C6-HY14阻挡下降,
C6-HY14阻挡下降
,496,HC,Y496
DO,214,C6-HY14阻挡下降,
HY_StopCylinder_Up
,496,HC,Y496
DO,214,C9-HY14阻挡下降,
C9-HY14阻挡下降
,497,HC,Y497
DO,214,C9-HY14阻挡下降,
HY_StopCylinder_Down
,497,HC,Y497
DO,214,HY14横移电机正转,HY
14横移电机正转
,498,HC,Y498
DO,214,HY14横移电机正转,HY
_LineRun
,498,HC,Y498
DO,214,HY14横移顶升上升,HY
14横移顶升上升
,499,HC,Y499
DO,214,HY14横移顶升上升,HY
_TopCylinder_UP
,499,HC,Y499
DO,214,HY14横移顶升下降,HY
14横移顶升下降
,500,HC,Y500
DO,214,HY14横移顶升下降,HY
_TopCylinder_Down
,500,HC,Y500
DO,212,HY12横移电机正转,HY
12横移电机正转
,501,HC,Y501
DO,212,HY12横移电机正转,HY
_LineRun
,501,HC,Y501
DO,212,HY12前阻挡下降,HY
12前阻挡下降
,502,HC,Y502
DO,212,HY12前阻挡下降,HY
_FrontStopDown
,502,HC,Y502
DO,212,HY12横移顶升上升,HY
12横移顶升上升
,503,HC,Y503
DO,212,HY12横移顶升上升,HY
_TopCylinder_UP
,503,HC,Y503
DO,212,HY12横移顶升下降,HY
12横移顶升下降
,504,HC,Y504
DO,212,HY12横移顶升下降,HY
_TopCylinder_Down
,504,HC,Y504
DO,212,HY12横移定位上升,HY
12横移定位上升
,505,HC,Y505
DO,212,HY12横移定位上升,HY
_LocationCylinder_UP
,505,HC,Y505
DO,212,HY12横移定位下降,HY
12横移定位下降
,506,HC,Y506
DO,212,HY12横移定位下降,HY
_LocationCylinder_Down
,506,HC,Y506
DO,212,HY12接驳台气缸取料,HY
12接驳台气缸取料
,507,HC,Y507
DO,212,HY12接驳台气缸取料,HY
_MoveCylinder_Take
,507,HC,Y507
DO,212,HY12接驳台气缸放料,HY
12接驳台气缸放料
,508,HC,Y508
DO,212,HY12接驳台气缸放料,HY
_MoveCylinder_Give
,508,HC,Y508
DO,212,HY12夹料气缸夹紧,HY
12夹料气缸夹紧
,509,HC,Y509
DO,212,HY12夹料气缸夹紧,HY
_ClampCylinder_Work
,509,HC,Y509
DO,212,HY12夹料气缸放松,HY
12夹料气缸放松
,510,HC,Y510
DO,212,HY12夹料气缸放松,HY
_ClampCylinder_Relax
,510,HC,Y510
,,,,511,HC,Y511
,,,,511,HC,Y511
,,,,512,HC,Y512
,,,,512,HC,Y512
,,,,513,HC,Y513
,,,,513,HC,Y513
...
...
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_1.csv
deleted
100644 → 0
查看文件 @
fd0b316
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,15,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=203600;12=155000;16=153000;24=153000;32=129000;44=107000;56=95000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=120000;56=100000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=180000;7X16=175000;7X24=165000,,
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_2.csv
deleted
100644 → 0
查看文件 @
fd0b316
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,16,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=189200;12=172000;16=168000;24=155000;32=133000;44=115000;56=90000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=115000;56=80000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,0X0=8000;,,
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_3.csv
deleted
100644 → 0
查看文件 @
fd0b316
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,2,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,9,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=185000;12=185000;16=185000;24=176000;32=154000;44=134000;56=112000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=150000;44=115000;56=78000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,13X16=184000;15X16=183000;11X16=184500;7X16=185000,,
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_4.csv
deleted
100644 → 0
查看文件 @
fd0b316
类型,分类编号,说明,名称,属性值,设备名称,电器定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,对应的横移模块,SidesWayNum,4,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,2,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,
,,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,
AXIS,0,移栽上下轴,UpDown_Axis,10,COM3,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=80000;8=228000;12=228000;16=224000;24=206000;32=185000;44=160000;56=140000,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=90000;8=160000;12=160000;16=160000;24=160000;32=160000;44=140000;56=110000,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,
PRO,0,移栽上下轴原点低速度,UpdownAxis_HomeLowSpeed,100,,
PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=228000;7X12=228000;7X16=224000;15X8=200000;15X12=200000;15X16=200000;15X24=170000;15X32=150000;15X44=140000;15X56=120000;13X12=220000;13X16=210000;13X24=200000;13X32=180000;13X44=150000;13X56=130000,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_01.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_02.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_03.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_04.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_05.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_06.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_07.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_08.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_09.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_10.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,1,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_11.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_12.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,1,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_13.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_14.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_15.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_16.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_17.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,1,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_18.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_19.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_20.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_21.csv
0 → 100644
查看文件 @
b5264ed
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,
PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,250,1000,1000,60,80,50,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/assemblyLine/EquipBase.cs
查看文件 @
b5264ed
...
@@ -30,7 +30,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -30,7 +30,7 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// <summary>
/// 当前正在通过的托盘号
/// 当前正在通过的托盘号
/// </summary>
/// </summary>
internal
int
currTrayNum
=
0
;
public
int
currTrayNum
=
0
;
/// <summary>
/// <summary>
/// 升降轴
/// 升降轴
/// </summary>
/// </summary>
...
@@ -210,23 +210,23 @@ namespace OnlineStore.DeviceLibrary
...
@@ -210,23 +210,23 @@ namespace OnlineStore.DeviceLibrary
}
}
public
void
ChangeDebug
(
bool
isDebug
)
public
void
ChangeDebug
(
bool
isDebug
)
{
{
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
Providing
Equip
))
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
HY
Equip
))
{
{
if
(
isDebug
)
if
(
isDebug
)
{
{
IsDebug
=
true
;
IsDebug
=
true
;
//两个阻挡气缸下降
//两个阻挡气缸下降
lineStatus
=
LineStatus
.
Debugging
;
lineStatus
=
LineStatus
.
Debugging
;
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
LogInfo
(
"从正常状态切换到调试状态!"
);
LogInfo
(
"从正常状态切换到调试状态!"
);
}
}
else
if
(
lineStatus
.
Equals
(
LineStatus
.
Debugging
))
else
if
(
lineStatus
.
Equals
(
LineStatus
.
Debugging
))
{
{
IsDebug
=
false
;
IsDebug
=
false
;
lineStatus
=
LineStatus
.
StoreOnline
;
lineStatus
=
LineStatus
.
StoreOnline
;
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
LogInfo
(
"从调试状态切换到正常状态!"
);
LogInfo
(
"从调试状态切换到正常状态!"
);
}
}
}
}
...
@@ -238,11 +238,11 @@ namespace OnlineStore.DeviceLibrary
...
@@ -238,11 +238,11 @@ namespace OnlineStore.DeviceLibrary
internal
virtual
void
OpenStopCylinder
()
internal
virtual
void
OpenStopCylinder
()
{
{
preRWTime
=
DateTime
.
Now
;
preRWTime
=
DateTime
.
Now
;
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
Providing
Equip
))
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
HY
Equip
))
{
{
LogInfo
(
"OpenStopCylinder: 下降阻挡气缸,上下气缸上升,顶升气缸下降"
);
LogInfo
(
"OpenStopCylinder: 下降阻挡气缸,上下气缸上升,顶升气缸下降"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
//上下气缸上升
//上下气缸上升
if
(!
UseAxis
)
if
(!
UseAxis
)
{
{
...
@@ -256,24 +256,21 @@ namespace OnlineStore.DeviceLibrary
...
@@ -256,24 +256,21 @@ namespace OnlineStore.DeviceLibrary
internal
virtual
bool
OpenStopCylinderOk
(
TimeSpan
span
)
internal
virtual
bool
OpenStopCylinderOk
(
TimeSpan
span
)
{
{
TimeSpan
rwSpan
=
DateTime
.
Now
-
preRWTime
;
TimeSpan
rwSpan
=
DateTime
.
Now
-
preRWTime
;
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
Providing
Equip
))
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
HY
Equip
))
{
{
if
(
IOValue
(
IO_Type
.
Stop
Cylinder_
Down1
).
Equals
(
IO_VALUE
.
HIGH
)
&&
if
(
IOValue
(
IO_Type
.
StopDown1
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOValue
(
IO_Type
.
Stop
Cylinder_
Down2
).
Equals
(
IO_VALUE
.
HIGH
))
IOValue
(
IO_Type
.
StopDown2
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
return
true
;
return
true
;
}
}
else
if
(
rwSpan
.
TotalSeconds
>
5
&&
span
.
TotalSeconds
>
6
&&
span
.
TotalSeconds
<
LineManager
.
Config
.
IOSingle_TimerOut
*
2
)
else
if
(
rwSpan
.
TotalSeconds
>
5
&&
span
.
TotalSeconds
>
6
&&
span
.
TotalSeconds
<
LineManager
.
Config
.
IOSingle_TimerOut
*
2
)
{
{
preRWTime
=
DateTime
.
Now
;
preRWTime
=
DateTime
.
Now
;
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
}
}
}
}
else
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
DischargeLine
))
{
return
true
;
}
else
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
FeedingEquip
))
else
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
FeedingEquip
))
{
{
if
(
DeviceID
.
Equals
(
102
))
if
(
DeviceID
.
Equals
(
102
))
...
@@ -298,12 +295,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -298,12 +295,12 @@ namespace OnlineStore.DeviceLibrary
}
}
internal
virtual
void
CloseCylinderStop
()
internal
virtual
void
CloseCylinderStop
()
{
{
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
Providing
Equip
))
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
HY
Equip
))
{
{
LogInfo
(
"CloseCylinderStop: 上升阻挡气缸,关闭上下气缸,顶升气缸IO"
);
LogInfo
(
"CloseCylinderStop: 上升阻挡气缸,关闭上下气缸,顶升气缸IO"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
//上下气缸上升
//上下气缸上升
if
(!
UseAxis
)
if
(!
UseAxis
)
{
{
...
@@ -612,7 +609,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -612,7 +609,7 @@ namespace OnlineStore.DeviceLibrary
protected
void
OutLog
(
string
msg
)
protected
void
OutLog
(
string
msg
)
{
{
string
posId
=
MoveInfo
.
MoveParam
!=
null
?
MoveInfo
.
MoveParam
.
PosId
:
""
;
string
posId
=
MoveInfo
.
MoveParam
!=
null
?
MoveInfo
.
MoveParam
.
PosId
:
""
;
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
Providing
Equip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
))
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
HY
Equip
)
||
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
))
{
{
if
(
String
.
IsNullOrEmpty
(
posId
))
if
(
String
.
IsNullOrEmpty
(
posId
))
{
{
...
...
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
查看文件 @
b5264ed
...
@@ -28,7 +28,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -28,7 +28,7 @@ namespace OnlineStore.DeviceLibrary
baseConfig
=
config
;
baseConfig
=
config
;
this
.
Config
=
config
;
this
.
Config
=
config
;
IsDebug
=
config
.
IsDebug
.
Equals
(
1
);
IsDebug
=
config
.
IsDebug
.
Equals
(
1
);
Name
=
(
" "
+
"_入料_"
+
DeviceID
%
100
+
" "
).
ToUpper
();
Name
=
(
" "
+
"_入料_
T
"
+
DeviceID
%
100
+
" "
).
ToUpper
();
Init
();
Init
();
UseAxis
=
true
;
UseAxis
=
true
;
...
...
source/DeviceLibrary/assemblyLine/HY/HYEquipBase.cs
0 → 100644
查看文件 @
b5264ed
using
OnlineStore.LoadCSVLibrary
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
OnlineStore.DeviceLibrary
{
public
class
HYEquipBase
:
EquipBase
{
public
HYEquip_Config
Config
;
public
static
HYEquipBase
GetHY
(
string
cid
,
HYEquip_Config
config
)
{
int
hynum
=
(
config
.
Id
%
100
);
List
<
int
>
jNumList
=
new
List
<
int
>()
{
10
,
12
,
17
};
List
<
int
>
oNumList
=
new
List
<
int
>()
{
5
,
7
,
14
};
//List<int> cNumList = new List<int>() { 10, 12, 17 };
if
(
jNumList
.
Contains
(
hynum
))
{
return
new
HY_Coveryor
(
cid
,
config
);
}
else
if
(
oNumList
.
Contains
(
hynum
))
{
return
new
HY_OutLine
(
cid
,
config
);
}
else
{
return
new
HY_C1Line
(
cid
,
config
);
}
}
public
HYEquipBase
(
string
cid
,
HYEquip_Config
config
)
{
this
.
DeviceID
=
config
.
Id
;
this
.
Config
=
config
;
baseConfig
=
config
;
IsDebug
=
config
.
IsDebug
.
Equals
(
1
);
Name
=
(
"_HY"
+
(
DeviceID
%
100
).
ToString
().
PadLeft
(
2
,
'0'
)
+
"_"
).
ToUpper
();
Init
();
MoveInfo
=
new
LineMoveInfo
(
DeviceID
,
"["
+
Name
.
Trim
()
+
"-Move]"
);
SecondMoveInfo
=
new
LineMoveInfo
(
DeviceID
,
"["
+
Name
.
Trim
()
+
"-SMove]"
);
UseAxis
=
config
.
UpDownUseAxis
.
Equals
(
1
);
if
(
UseAxis
)
{
Config
.
UpDown_Axis
.
ServerOnDO
=
IO_Type
.
UpDownAxis_ServoOn
;
Config
.
UpDown_Axis
.
BreakOnDO
=
IO_Type
.
UpDownAxis_BreakOn
;
}
UpdownAxis
=
new
AxisBean
(
config
.
UpDown_Axis
,
Name
);
}
public
override
bool
Reset
()
{
return
false
;
}
public
override
bool
StartInStoreMove
(
InOutParam
param
)
{
return
false
;
}
public
override
bool
StartOutStoreMove
(
InOutParam
param
)
{
return
false
;
}
public
override
bool
StartRun
(
bool
isDebug
=
false
)
{
return
false
;
}
public
override
void
StopRun
()
{
}
protected
override
void
BaseTimerProcess
()
{
}
protected
override
void
CheckFixtureProcess
()
{
}
protected
override
void
InStoreProcess
()
{
}
protected
override
void
OutStoreProcess
()
{
}
protected
override
void
ResetProcess
()
{
}
internal
override
void
StopMove
()
{
}
}
}
source/DeviceLibrary/assemblyLine/HY/HY_C1Line.cs
0 → 100644
查看文件 @
b5264ed
using
OnlineStore.LoadCSVLibrary
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
OnlineStore.DeviceLibrary
{
public
class
HY_C1Line
:
HYEquipBase
{
public
HY_C1Line
(
string
cid
,
HYEquip_Config
config
)
:
base
(
cid
,
config
)
{
Name
=
(
"_C1线HY"
+
(
DeviceID
%
100
).
ToString
().
PadLeft
(
2
,
'0'
)
+
"_"
).
ToUpper
();
}
}
}
source/DeviceLibrary/assemblyLine/HY/HY_Coveryor.cs
0 → 100644
查看文件 @
b5264ed
using
OnlineStore.LoadCSVLibrary
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
OnlineStore.DeviceLibrary
{
public
class
HY_Coveryor
:
HYEquipBase
{
public
HY_Coveryor
(
string
cid
,
HYEquip_Config
config
)
:
base
(
cid
,
config
)
{
Name
=
(
"_接驳台HY"
+
(
DeviceID
%
100
).
ToString
().
PadLeft
(
2
,
'0'
)
+
"_"
).
ToUpper
();
}
}
}
source/DeviceLibrary/assemblyLine/HY/HY_OutLine.cs
0 → 100644
查看文件 @
b5264ed
using
OnlineStore.LoadCSVLibrary
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
OnlineStore.DeviceLibrary
{
public
class
HY_OutLine
:
HYEquipBase
{
public
HY_OutLine
(
string
cid
,
HYEquip_Config
config
)
:
base
(
cid
,
config
)
{
Name
=
(
"_出料线HY"
+
(
DeviceID
%
100
).
ToString
().
PadLeft
(
2
,
'0'
)
+
"_"
).
ToUpper
();
}
}
}
source/DeviceLibrary/assemblyLine/LineBean.cs
查看文件 @
b5264ed
...
@@ -38,8 +38,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -38,8 +38,8 @@ namespace OnlineStore.DeviceLibrary
public
Dictionary
<
int
,
MoveEquip
>
MoveEquipMap
{
get
;
set
;
}
public
Dictionary
<
int
,
MoveEquip
>
MoveEquipMap
{
get
;
set
;
}
public
Dictionary
<
int
,
FeedingEquip
>
FeedingEquipMap
{
get
;
set
;
}
public
Dictionary
<
int
,
FeedingEquip
>
FeedingEquipMap
{
get
;
set
;
}
public
Dictionary
<
int
,
ProvidingEquip
>
Providing
EquipMap
{
get
;
set
;
}
public
Dictionary
<
int
,
HYEquipBase
>
HY
EquipMap
{
get
;
set
;
}
public
Dictionary
<
int
,
DischargeLine
>
DisLineMap
{
get
;
set
;
}
//
public Dictionary<int, DischargeLine> DisLineMap { get; set; }
public
Dictionary
<
int
,
EquipBase
>
AllEquipMap
{
get
;
set
;
}
public
Dictionary
<
int
,
EquipBase
>
AllEquipMap
{
get
;
set
;
}
/// <summary>
/// <summary>
...
@@ -53,7 +53,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -53,7 +53,7 @@ namespace OnlineStore.DeviceLibrary
private
bool
canStart
=
false
;
private
bool
canStart
=
false
;
public
LineBean
(
Line_Config
lineConfig
,
Dictionary
<
int
,
MoveEquip_Config
>
configList
,
Dictionary
<
int
,
FeedingEquip_Config
>
feedMap
,
public
LineBean
(
Line_Config
lineConfig
,
Dictionary
<
int
,
MoveEquip_Config
>
configList
,
Dictionary
<
int
,
FeedingEquip_Config
>
feedMap
,
Dictionary
<
int
,
ProvidingEquip_Config
>
providMap
,
Dictionary
<
int
,
DischargeLine_Config
>
disLine
Map
)
Dictionary
<
int
,
HYEquip_Config
>
hyConfig
Map
)
{
{
if
(
lineConfig
.
IOSingle_TimerOut
<=
0
)
if
(
lineConfig
.
IOSingle_TimerOut
<=
0
)
{
{
...
@@ -76,8 +76,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -76,8 +76,7 @@ namespace OnlineStore.DeviceLibrary
AllEquipMap
=
new
Dictionary
<
int
,
EquipBase
>();
AllEquipMap
=
new
Dictionary
<
int
,
EquipBase
>();
MoveEquipMap
=
new
Dictionary
<
int
,
MoveEquip
>();
MoveEquipMap
=
new
Dictionary
<
int
,
MoveEquip
>();
FeedingEquipMap
=
new
Dictionary
<
int
,
FeedingEquip
>();
FeedingEquipMap
=
new
Dictionary
<
int
,
FeedingEquip
>();
ProvidingEquipMap
=
new
Dictionary
<
int
,
ProvidingEquip
>();
HYEquipMap
=
new
Dictionary
<
int
,
HYEquipBase
>();
DisLineMap
=
new
Dictionary
<
int
,
DischargeLine
>();
List
<
string
>
ioList
=
new
List
<
string
>();
List
<
string
>
ioList
=
new
List
<
string
>();
ioList
=
new
List
<
string
>(
DeviceConfig
.
ProIOIpMap
.
Values
);
ioList
=
new
List
<
string
>(
DeviceConfig
.
ProIOIpMap
.
Values
);
AddDeviceName
(
ioList
,
Config
.
IOIPList
);
AddDeviceName
(
ioList
,
Config
.
IOIPList
);
...
@@ -102,23 +101,23 @@ namespace OnlineStore.DeviceLibrary
...
@@ -102,23 +101,23 @@ namespace OnlineStore.DeviceLibrary
MoveEquipMap
.
Add
(
config
.
Id
,
equip
);
MoveEquipMap
.
Add
(
config
.
Id
,
equip
);
AllEquipMap
.
Add
(
config
.
Id
,
equip
);
AllEquipMap
.
Add
(
config
.
Id
,
equip
);
}
}
foreach
(
ProvidingEquip_Config
config
in
provid
Map
.
Values
)
foreach
(
HYEquip_Config
config
in
hyConfig
Map
.
Values
)
{
{
ProvidingEquip
equip
=
new
ProvidingEquip
(
lineConfig
.
CID
,
config
);
HYEquipBase
equip
=
HYEquipBase
.
GetHY
(
lineConfig
.
CID
,
config
);
AddDeviceName
(
ioList
,
config
.
IOIPList
);
AddDeviceName
(
ioList
,
config
.
IOIPList
);
ProvidingEquipMap
.
Add
(
config
.
Id
,
equip
);
HYEquipMap
.
Add
(
config
.
Id
,
equip
);
AllEquipMap
.
Add
(
config
.
Id
,
equip
);
equip
.
TrayPEndEvent
+=
Equip_TrayPEndEvent
;
}
foreach
(
DischargeLine_Config
config
in
disLineMap
.
Values
)
{
DischargeLine
equip
=
new
DischargeLine
(
lineConfig
.
CID
,
config
);
AddDeviceName
(
ioList
,
config
.
IOIPList
);
DisLineMap
.
Add
(
config
.
Id
,
equip
);
AllEquipMap
.
Add
(
config
.
Id
,
equip
);
AllEquipMap
.
Add
(
config
.
Id
,
equip
);
//equip.TrayPEndEvent += Equip_TrayPEndEvent;
}
}
//foreach (DischargeLine_Config config in disLineMap.Values)
//{
// DischargeLine equip = new DischargeLine(lineConfig.CID, config);
// AddDeviceName(ioList, config.IOIPList);
// DisLineMap.Add(config.Id, equip);
// AllEquipMap.Add(config.Id, equip);
//}
//先初始化设备
//先初始化设备
IOManager
.
Init
();
IOManager
.
Init
();
AxisManager
.
Init
();
AxisManager
.
Init
();
...
@@ -144,16 +143,16 @@ namespace OnlineStore.DeviceLibrary
...
@@ -144,16 +143,16 @@ namespace OnlineStore.DeviceLibrary
FeedingEquip
feed
=
FeedingEquipMap
[
id
];
FeedingEquip
feed
=
FeedingEquipMap
[
id
];
cioList
.
AddRange
(
feed
.
Config
.
IOIPList
);
cioList
.
AddRange
(
feed
.
Config
.
IOIPList
);
}
}
else
if
(
ProvidingEquipMap
.
ContainsKey
(
id
))
else
if
(
HYEquipMap
.
ContainsKey
(
id
))
{
ProvidingEquip
feed
=
ProvidingEquipMap
[
id
];
cioList
.
AddRange
(
feed
.
Config
.
IOIPList
);
}
else
if
(
DisLineMap
.
ContainsKey
(
id
))
{
{
DischargeLine
feed
=
DisLine
Map
[
id
];
HYEquipBase
feed
=
HYEquip
Map
[
id
];
cioList
.
AddRange
(
feed
.
Config
.
IOIPList
);
cioList
.
AddRange
(
feed
.
Config
.
IOIPList
);
}
}
//else if (DisLineMap.ContainsKey(id))
//{
// DischargeLine feed = DisLineMap[id];
// cioList.AddRange(feed.Config.IOIPList);
//}
else
if
(
MoveEquipMap
.
ContainsKey
(
id
))
else
if
(
MoveEquipMap
.
ContainsKey
(
id
))
{
{
MoveEquip
equip
=
MoveEquipMap
[
id
];
MoveEquip
equip
=
MoveEquipMap
[
id
];
...
...
source/DeviceLibrary/assemblyLine/LineBean_Partial.cs
查看文件 @
b5264ed
...
@@ -459,7 +459,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -459,7 +459,7 @@ namespace OnlineStore.DeviceLibrary
Equip_TrayPEndEvent
(
4
,
SW41WaitTrayNum
);
Equip_TrayPEndEvent
(
4
,
SW41WaitTrayNum
);
}
}
if
(
SW41_MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
)
&&
Providing
EquipMap
[
204
].
runStatus
<=
LineRunStatus
.
Wait
)
if
(
SW41_MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
)
&&
HY
EquipMap
[
204
].
runStatus
<=
LineRunStatus
.
Wait
)
{
{
if
(
IOValue
(
IO_Type
.
SW4_TrayCheck
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOValue
(
IO_Type
.
SW1_TrayCheck
).
Equals
(
IO_VALUE
.
LOW
)
&&
if
(
IOValue
(
IO_Type
.
SW4_TrayCheck
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOValue
(
IO_Type
.
SW1_TrayCheck
).
Equals
(
IO_VALUE
.
LOW
)
&&
...
@@ -556,9 +556,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -556,9 +556,9 @@ namespace OnlineStore.DeviceLibrary
private
void
UpateSw41TrayNum
()
private
void
UpateSw41TrayNum
()
{
{
Sw41TrayNum
=
0
;
Sw41TrayNum
=
0
;
if
(
Providing
EquipMap
.
ContainsKey
(
204
))
if
(
HY
EquipMap
.
ContainsKey
(
204
))
{
{
ProvidingEquip
eq
=
Providing
EquipMap
[
204
];
HYEquipBase
eq
=
HY
EquipMap
[
204
];
if
(
eq
.
runStatus
>=
LineRunStatus
.
HomeMoving
)
if
(
eq
.
runStatus
>=
LineRunStatus
.
HomeMoving
)
{
{
Sw41TrayNum
=
eq
.
currTrayNum
;
Sw41TrayNum
=
eq
.
currTrayNum
;
...
@@ -1216,9 +1216,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1216,9 +1216,9 @@ namespace OnlineStore.DeviceLibrary
foreach
(
int
lineNum
in
lineList
)
foreach
(
int
lineNum
in
lineList
)
{
{
int
deviceN
=
200
+
lineNum
;
int
deviceN
=
200
+
lineNum
;
if
(
Providing
EquipMap
.
ContainsKey
(
deviceN
))
if
(
HY
EquipMap
.
ContainsKey
(
deviceN
))
{
{
ProvidingEquip
pro
=
Providing
EquipMap
[
deviceN
];
HYEquipBase
pro
=
HY
EquipMap
[
deviceN
];
if
(
pro
.
runStatus
>=
LineRunStatus
.
HomeMoving
&&
pro
.
isInSuddenDown
.
Equals
(
false
)
&&
pro
.
isNoAirCheck
.
Equals
(
false
))
if
(
pro
.
runStatus
>=
LineRunStatus
.
HomeMoving
&&
pro
.
isInSuddenDown
.
Equals
(
false
)
&&
pro
.
isNoAirCheck
.
Equals
(
false
))
{
{
return
true
;
return
true
;
...
@@ -1233,16 +1233,16 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1233,16 +1233,16 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
/// </summary>
internal
bool
DLineStartOut
(
int
dlineId
,
int
LineNum
)
internal
bool
DLineStartOut
(
int
dlineId
,
int
LineNum
)
{
{
foreach
(
DischargeLine
line
in
DisLineMap
.
Values
)
//
foreach (DischargeLine line in DisLineMap.Values)
{
//
{
if
((
line
.
DeviceID
%
100
).
Equals
(
dlineId
))
//
if ((line.DeviceID % 100).Equals(dlineId))
{
//
{
if
(
line
.
CanStartOut
(
LineNum
))
//
if (line.CanStartOut(LineNum))
{
//
{
return
true
;
//
return true;
}
//
}
}
//
}
}
//
}
return
false
;
return
false
;
}
}
#
endregion
#
endregion
...
...
source/DeviceLibrary/assemblyLine/MoveEquip.cs
查看文件 @
b5264ed
...
@@ -23,7 +23,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -23,7 +23,7 @@ namespace OnlineStore.DeviceLibrary
this
.
Config
=
config
;
this
.
Config
=
config
;
baseConfig
=
config
;
baseConfig
=
config
;
IsDebug
=
config
.
IsDebug
.
Equals
(
1
);
IsDebug
=
config
.
IsDebug
.
Equals
(
1
);
Name
=
(
" "
+
"_
进仓_"
+
DeviceID
.
ToString
().
PadLeft
(
2
,
'0'
)
+
" "
).
ToUpper
();
Name
=
(
" "
+
"_
"
+
GetNByID
()
+
"_进仓"
+
DeviceID
.
ToString
().
PadLeft
(
2
,
'0'
)
+
"_"
).
ToUpper
();
Init
();
Init
();
...
@@ -40,7 +40,30 @@ namespace OnlineStore.DeviceLibrary
...
@@ -40,7 +40,30 @@ namespace OnlineStore.DeviceLibrary
}
}
UpdownAxis
=
new
AxisBean
(
config
.
UpDown_Axis
,
Name
);
UpdownAxis
=
new
AxisBean
(
config
.
UpDown_Axis
,
Name
);
}
}
private
string
GetNByID
()
{
string
name
=
""
;
int
index
=
DeviceID
;
if
(
index
>=
0
)
{
int
num
=(
index
+
1
)
/
2
;
int
subNum
=
index
%
2
;
if
(
subNum
.
Equals
(
0
))
{
subNum
=
2
;
}
if
(
num
<=
6
)
{
}
else
{
subNum
=
3
-
subNum
;
}
name
=
"D"
+
num
+
"-"
+
subNum
;
}
return
name
;
}
public
override
bool
StartRun
(
bool
isDebug
=
false
)
public
override
bool
StartRun
(
bool
isDebug
=
false
)
{
{
if
(
CanStartRun
().
Equals
(
false
))
if
(
CanStartRun
().
Equals
(
false
))
...
@@ -93,13 +116,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -93,13 +116,13 @@ namespace OnlineStore.DeviceLibrary
// CylinderMove(MoveInfo, IO_Type.UpDownCylinder_Down, IO_Type.UpDownCylinder_Up);
// CylinderMove(MoveInfo, IO_Type.UpDownCylinder_Down, IO_Type.UpDownCylinder_Up);
if
(
IsDebug
)
if
(
IsDebug
)
{
{
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
}
}
else
else
{
{
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
}
}
isInPro
=
false
;
isInPro
=
false
;
}
}
...
@@ -135,7 +158,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -135,7 +158,7 @@ namespace OnlineStore.DeviceLibrary
DebugInfo
(
MoveInfo
.
MoveType
+
" : 上升气缸到位,顶升气缸下降,前后气缸后退,夹紧气缸放松"
);
DebugInfo
(
MoveInfo
.
MoveType
+
" : 上升气缸到位,顶升气缸下降,前后气缸后退,夹紧气缸放松"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
BeforeAfterCylinder_Before
,
IO_Type
.
BeforeAfterCylinder_After
);
CylinderMove
(
MoveInfo
,
IO_Type
.
BeforeAfterCylinder_Before
,
IO_Type
.
BeforeAfterCylinder_After
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Slack
,
IO_Type
.
ClampCylinder_Tighten
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Work
,
IO_Type
.
ClampCylinder_Relax
);
break
;
break
;
case
LineMoveStep
.
MH_OtherCylinderBack
:
case
LineMoveStep
.
MH_OtherCylinderBack
:
...
@@ -180,8 +203,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -180,8 +203,8 @@ namespace OnlineStore.DeviceLibrary
UpdownUpMove
();
UpdownUpMove
();
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
}
}
...
@@ -193,8 +216,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -193,8 +216,8 @@ namespace OnlineStore.DeviceLibrary
}
}
StopMove
();
StopMove
();
//停止运行时,把所有IO 置零
//停止运行时,把所有IO 置零
CheckAndMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
BeforeAfterCylinder_Before
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
BeforeAfterCylinder_Before
,
IO_VALUE
.
LOW
);
...
@@ -204,8 +227,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -204,8 +227,8 @@ namespace OnlineStore.DeviceLibrary
CheckAndMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
}
}
CheckAndMove
(
IO_Type
.
ClampCylinder_
Slac
k
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
ClampCylinder_
Wor
k
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
ClampCylinder_
Tighten
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
ClampCylinder_
Relax
,
IO_VALUE
.
LOW
);
runStatus
=
LineRunStatus
.
Wait
;
runStatus
=
LineRunStatus
.
Wait
;
}
}
...
...
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
b5264ed
...
@@ -101,7 +101,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -101,7 +101,7 @@ namespace OnlineStore.DeviceLibrary
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_54_CylinderOpen
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_54_CylinderOpen
);
OutLog
(
"出库 "
+
MoveInfo
.
SLog
+
": 夹料气缸夹紧,更新料盘位置【"
+
MoveInfo
.
MoveParam
.
WareCode
+
"】【MOVING】【"
+
DeviceID
+
"】"
);
OutLog
(
"出库 "
+
MoveInfo
.
SLog
+
": 夹料气缸夹紧,更新料盘位置【"
+
MoveInfo
.
MoveParam
.
WareCode
+
"】【MOVING】【"
+
DeviceID
+
"】"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Tighten
,
IO_Type
.
ClampCylinder_Slac
k
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Relax
,
IO_Type
.
ClampCylinder_Wor
k
);
//更新料盘位置
//更新料盘位置
SServerManager
.
UpdateTrayLoc
(
Name
,
MoveInfo
.
MoveParam
.
WareCode
,
LocStatus
.
MOVING
,
DeviceID
.
ToString
());
SServerManager
.
UpdateTrayLoc
(
Name
,
MoveInfo
.
MoveParam
.
WareCode
,
LocStatus
.
MOVING
,
DeviceID
.
ToString
());
...
@@ -190,7 +190,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -190,7 +190,7 @@ namespace OnlineStore.DeviceLibrary
//出库全部完成
//出库全部完成
lineStatus
=
LineStatus
.
StoreOnline
;
lineStatus
=
LineStatus
.
StoreOnline
;
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_59_CylinderRelax
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_59_CylinderRelax
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Slack
,
IO_Type
.
ClampCylinder_Tighten
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Work
,
IO_Type
.
ClampCylinder_Relax
);
}
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_59_CylinderRelax
))
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_59_CylinderRelax
))
{
{
...
@@ -299,7 +299,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -299,7 +299,7 @@ namespace OnlineStore.DeviceLibrary
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_08_CylinderOpen
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_08_CylinderOpen
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
": 夹料气缸夹紧"
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
": 夹料气缸夹紧"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Tighten
,
IO_Type
.
ClampCylinder_Slac
k
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Relax
,
IO_Type
.
ClampCylinder_Wor
k
);
}
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_08_CylinderOpen
))
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_08_CylinderOpen
))
{
{
...
@@ -354,7 +354,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -354,7 +354,7 @@ namespace OnlineStore.DeviceLibrary
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_12_CylinderRelax
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_12_CylinderRelax
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
",夹料气缸放松"
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
",夹料气缸放松"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Slack
,
IO_Type
.
ClampCylinder_Tighten
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Work
,
IO_Type
.
ClampCylinder_Relax
);
}
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_12_CylinderRelax
))
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_12_CylinderRelax
))
{
{
...
@@ -580,7 +580,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -580,7 +580,7 @@ namespace OnlineStore.DeviceLibrary
{
{
if
(
SecondMoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
).
Equals
(
false
))
if
(
SecondMoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
).
Equals
(
false
))
{
{
if
(
IOValue
(
IO_Type
.
StopC
ylinder_C
heck2
).
Equals
(
IO_VALUE
.
HIGH
))
if
(
IOValue
(
IO_Type
.
StopCheck2
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
trayCheck2LowWait
.
Stop
();
trayCheck2LowWait
.
Stop
();
}
}
...
@@ -594,7 +594,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -594,7 +594,7 @@ namespace OnlineStore.DeviceLibrary
if
(
SecondMoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
if
(
SecondMoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
{
{
bool
canpro
=
LineManager
.
Line
.
Move5CanProcessTray
(
DeviceID
);
bool
canpro
=
LineManager
.
Line
.
Move5CanProcessTray
(
DeviceID
);
if
(
IOValue
(
IO_Type
.
StopC
ylinder_C
heck2
).
Equals
(
IO_VALUE
.
HIGH
))
if
(
IOValue
(
IO_Type
.
StopCheck2
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
trayCheck2LowWait
.
Stop
();
trayCheck2LowWait
.
Stop
();
if
(
canpro
&&
TrayManager
.
checkWatch
(
trayCheckWait
,
TrayManager
.
SwTrayWaitTime
,
true
))
if
(
canpro
&&
TrayManager
.
checkWatch
(
trayCheckWait
,
TrayManager
.
SwTrayWaitTime
,
true
))
...
@@ -603,14 +603,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -603,14 +603,14 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_03_Stop2Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_03_Stop2Down
);
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" 阻挡气缸1-1上升)"
);
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" 阻挡气缸1-1上升)"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
));
}
}
}
}
else
else
{
{
bool
check2IsOk
=
TrayManager
.
checkWatch
(
trayCheck2LowWait
,
TrayManager
.
SwTrayWaitTime
,
false
);
bool
check2IsOk
=
TrayManager
.
checkWatch
(
trayCheck2LowWait
,
TrayManager
.
SwTrayWaitTime
,
false
);
if
(
IOValue
(
IO_Type
.
StopC
ylinder_C
heck1
).
Equals
(
IO_VALUE
.
HIGH
))
if
(
IOValue
(
IO_Type
.
StopCheck1
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
if
(
TrayManager
.
checkWatch
(
trayCheckWait
,
TrayManager
.
SwTrayWaitTime
,
false
)
&&
check2IsOk
&&
canpro
)
if
(
TrayManager
.
checkWatch
(
trayCheckWait
,
TrayManager
.
SwTrayWaitTime
,
false
)
&&
check2IsOk
&&
canpro
)
{
{
...
@@ -621,10 +621,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -621,10 +621,10 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_00_Stop1Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_00_Stop1Down
);
CheckLog
(
" 托盘检测:料盘检测StopCylinder_Check1 "
+
SecondMoveInfo
.
SLog
+
"阻挡气缸1-1下降 , 等待 StopCylinder_Check1=0,清理托盘RFID"
);
CheckLog
(
" 托盘检测:料盘检测StopCylinder_Check1 "
+
SecondMoveInfo
.
SLog
+
"阻挡气缸1-1下降 , 等待 StopCylinder_Check1=0,清理托盘RFID"
);
ClearTrayRFID
();
ClearTrayRFID
();
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
,
1200
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
,
1200
);
SecondMoveInfo
.
OneWaitCanEndStep
=
true
;
SecondMoveInfo
.
OneWaitCanEndStep
=
true
;
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck1
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck1
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
HIGH
));
}
}
}
}
else
else
...
@@ -673,22 +673,22 @@ namespace OnlineStore.DeviceLibrary
...
@@ -673,22 +673,22 @@ namespace OnlineStore.DeviceLibrary
{
{
SecondMoveInfo
.
TimeOutSeconds
=
20
;
SecondMoveInfo
.
TimeOutSeconds
=
20
;
}
}
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
HIGH
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_01_FixtureCheck
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_01_FixtureCheck
))
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_03_Stop2Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_03_Stop2Down
);
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" 再次等待托盘信号"
);
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" 再次等待托盘信号"
);
// IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
// IOMove(IO_Type.StopCylinder_Down1, IO_VALUE.LOW);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
HIGH
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_03_Stop2Down
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_03_Stop2Down
))
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_04_Wait
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_04_Wait
);
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" ,等待编码信号稳定StopCylinder_Check2=1"
);
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" ,等待编码信号稳定StopCylinder_Check2=1"
);
CheckAndMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
//SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(500));
//SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(500));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
HIGH
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_04_Wait
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_04_Wait
))
{
{
...
@@ -835,7 +835,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -835,7 +835,7 @@ namespace OnlineStore.DeviceLibrary
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_17_Stop2Check
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_17_Stop2Check
);
CheckLog
(
"托盘放行"
+
SecondMoveInfo
.
SLog
+
" , 等待StopCylinder_Check2=0"
);
CheckLog
(
"托盘放行"
+
SecondMoveInfo
.
SLog
+
" , 等待StopCylinder_Check2=0"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
LOW
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_17_Stop2Check
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_17_Stop2Check
))
{
{
...
@@ -847,9 +847,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -847,9 +847,9 @@ namespace OnlineStore.DeviceLibrary
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_19_StopCylinder_Back
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_19_StopCylinder_Back
);
CheckLog
(
"托盘放行"
+
SecondMoveInfo
.
SLog
+
" , 阻挡气缸1-2上升 )"
);
CheckLog
(
"托盘放行"
+
SecondMoveInfo
.
SLog
+
" , 阻挡气缸1-2上升 )"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
100
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
100
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_19_StopCylinder_Back
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_19_StopCylinder_Back
))
{
{
...
@@ -865,8 +865,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -865,8 +865,8 @@ namespace OnlineStore.DeviceLibrary
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
CheckLog
(
"托盘放行"
+
SecondMoveInfo
.
SLog
+
" ,阻挡气缸1-2下降 "
);
CheckLog
(
"托盘放行"
+
SecondMoveInfo
.
SLog
+
" ,阻挡气缸1-2下降 "
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
));
}
}
else
if
(
SecondMoveInfo
.
IsTimeOut
(
120
))
else
if
(
SecondMoveInfo
.
IsTimeOut
(
120
))
...
...
source/DeviceLibrary/assemblyLine/ProvidingEquip.cs
查看文件 @
b5264ed
...
@@ -94,13 +94,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -94,13 +94,13 @@ namespace OnlineStore.DeviceLibrary
UpdownHomeMove
();
UpdownHomeMove
();
if
(
IsDebug
)
if
(
IsDebug
)
{
{
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
}
}
else
else
{
{
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
}
}
isInPro
=
false
;
isInPro
=
false
;
}
}
...
@@ -130,7 +130,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -130,7 +130,7 @@ namespace OnlineStore.DeviceLibrary
LogInfo
(
MoveInfo
.
MoveType
+
" :上升气缸到位,顶升气缸下降,前后气缸后退,夹紧气缸放松 "
);
LogInfo
(
MoveInfo
.
MoveType
+
" :上升气缸到位,顶升气缸下降,前后气缸后退,夹紧气缸放松 "
);
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
BeforeAfterCylinder_Before
,
IO_Type
.
BeforeAfterCylinder_After
);
CylinderMove
(
MoveInfo
,
IO_Type
.
BeforeAfterCylinder_Before
,
IO_Type
.
BeforeAfterCylinder_After
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Slack
,
IO_Type
.
ClampCylinder_Tighten
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Work
,
IO_Type
.
ClampCylinder_Relax
);
break
;
break
;
case
LineMoveStep
.
MH_OtherCylinderBack
:
case
LineMoveStep
.
MH_OtherCylinderBack
:
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
...
@@ -167,8 +167,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -167,8 +167,8 @@ namespace OnlineStore.DeviceLibrary
UpdownAxis
.
SuddenStop
();
UpdownAxis
.
SuddenStop
();
}
}
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
}
}
public
override
void
StopRun
()
public
override
void
StopRun
()
{
{
...
@@ -179,8 +179,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -179,8 +179,8 @@ namespace OnlineStore.DeviceLibrary
StopMove
();
StopMove
();
CloseAxis
(
UpdownAxis
);
CloseAxis
(
UpdownAxis
);
//停止运行时,把所有IO 置零
//停止运行时,把所有IO 置零
CheckAndMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
BeforeAfterCylinder_Before
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
BeforeAfterCylinder_Before
,
IO_VALUE
.
LOW
);
...
@@ -190,8 +190,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -190,8 +190,8 @@ namespace OnlineStore.DeviceLibrary
CheckAndMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
}
}
CheckAndMove
(
IO_Type
.
ClampCylinder_
Slac
k
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
ClampCylinder_
Wor
k
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
ClampCylinder_
Tighten
,
IO_VALUE
.
LOW
);
CheckAndMove
(
IO_Type
.
ClampCylinder_
Relax
,
IO_VALUE
.
LOW
);
runStatus
=
LineRunStatus
.
Wait
;
runStatus
=
LineRunStatus
.
Wait
;
}
}
...
...
source/DeviceLibrary/assemblyLine/ProvidingEquip_Partial.cs
查看文件 @
b5264ed
...
@@ -47,7 +47,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -47,7 +47,7 @@ namespace OnlineStore.DeviceLibrary
return
;
return
;
}
}
//int num = TrayManager.GetTrayNum(DeviceID);
//int num = TrayManager.GetTrayNum(DeviceID);
if
(
IOValue
(
IO_Type
.
StopC
ylinder_C
heck2
).
Equals
(
IO_VALUE
.
HIGH
))
if
(
IOValue
(
IO_Type
.
StopCheck2
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
bool
canProcess
=
(
LineManager
.
Line
.
SwNoProcess
(
Config
.
SidesWayNum
));
bool
canProcess
=
(
LineManager
.
Line
.
SwNoProcess
(
Config
.
SidesWayNum
));
trayCheck2LowWait
.
Stop
();
trayCheck2LowWait
.
Stop
();
...
@@ -57,14 +57,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -57,14 +57,14 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo
.
NewMove
(
LineMoveType
.
CheckFixture
);
SecondMoveInfo
.
NewMove
(
LineMoveType
.
CheckFixture
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_03_Stop2Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_03_Stop2Down
);
LogUtil
.
info
(
Name
+
" ["
+
trayCount
+
"] 托盘阻挡"
+
SecondMoveInfo
.
SLog
+
"阻挡气缸1-1上升)"
);
LogUtil
.
info
(
Name
+
" ["
+
trayCount
+
"] 托盘阻挡"
+
SecondMoveInfo
.
SLog
+
"阻挡气缸1-1上升)"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown1
,
IO_VALUE
.
LOW
));
}
}
}
}
else
else
{
{
bool
check2Ok
=
TrayManager
.
checkWatch
(
trayCheck2LowWait
,
TrayManager
.
SwTrayWaitTime
,
false
);
bool
check2Ok
=
TrayManager
.
checkWatch
(
trayCheck2LowWait
,
TrayManager
.
SwTrayWaitTime
,
false
);
if
(
IOValue
(
IO_Type
.
StopC
ylinder_C
heck1
).
Equals
(
IO_VALUE
.
HIGH
)
)
if
(
IOValue
(
IO_Type
.
StopCheck1
).
Equals
(
IO_VALUE
.
HIGH
)
)
{
{
bool
canProcess
=
(
LineManager
.
Line
.
SwNoProcess
(
Config
.
SidesWayNum
));
bool
canProcess
=
(
LineManager
.
Line
.
SwNoProcess
(
Config
.
SidesWayNum
));
if
(
TrayManager
.
checkWatch
(
trayCheckWait
,
TrayManager
.
SwTrayWaitTime
,
false
)
&&
(
DateTime
.
Now
-
lastStopDown
).
TotalSeconds
>
3
&&
check2Ok
&&
canProcess
)
if
(
TrayManager
.
checkWatch
(
trayCheckWait
,
TrayManager
.
SwTrayWaitTime
,
false
)
&&
(
DateTime
.
Now
-
lastStopDown
).
TotalSeconds
>
3
&&
check2Ok
&&
canProcess
)
...
@@ -77,10 +77,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -77,10 +77,10 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_00_Stop1Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_00_Stop1Down
);
LogUtil
.
debug
(
Name
+
" ["
+
trayCount
+
"] 托盘检测:"
+
SecondMoveInfo
.
SLog
+
"阻挡气缸1-1下降 ,等待 StopCylinder_Check1=0,清理托盘RFID"
);
LogUtil
.
debug
(
Name
+
" ["
+
trayCount
+
"] 托盘检测:"
+
SecondMoveInfo
.
SLog
+
"阻挡气缸1-1下降 ,等待 StopCylinder_Check1=0,清理托盘RFID"
);
ClearTrayRFID
();
ClearTrayRFID
();
IOMove
(
IO_Type
.
Stop
Cylinder_
Down1
,
IO_VALUE
.
HIGH
,
1200
);
IOMove
(
IO_Type
.
StopDown1
,
IO_VALUE
.
HIGH
,
1200
);
SecondMoveInfo
.
OneWaitCanEndStep
=
true
;
SecondMoveInfo
.
OneWaitCanEndStep
=
true
;
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck1
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck1
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
HIGH
));
}
}
}
}
else
else
...
@@ -118,8 +118,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -118,8 +118,8 @@ namespace OnlineStore.DeviceLibrary
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,阻挡2下降"
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,阻挡2下降"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
));
}
}
}
}
else
else
...
@@ -302,7 +302,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -302,7 +302,7 @@ namespace OnlineStore.DeviceLibrary
TimeSpan
span
=
DateTime
.
Now
-
SecondMoveInfo
.
LastSetpTime
;
TimeSpan
span
=
DateTime
.
Now
-
SecondMoveInfo
.
LastSetpTime
;
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_04_Wait
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_04_Wait
);
LogUtil
.
debug
(
Name
+
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" 阻挡气缸上升,下降耗时("
+
FormUtil
.
GetSpanStr
(
span
)
+
"),等待 阻挡2托盘检测=1)"
);
LogUtil
.
debug
(
Name
+
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" 阻挡气缸上升,下降耗时("
+
FormUtil
.
GetSpanStr
(
span
)
+
"),等待 阻挡2托盘检测=1)"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
HIGH
));
}
}
// else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MIO_01_FixtureCheck))
// else if (SecondMoveInfo.MoveStep.Equals(LineMoveStep.MIO_01_FixtureCheck))
// {
// {
...
@@ -320,7 +320,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -320,7 +320,7 @@ namespace OnlineStore.DeviceLibrary
{
{
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" ,等待编码信号稳定StopCylinder_Check2=1"
);
CheckLog
(
"托盘阻挡"
+
SecondMoveInfo
.
SLog
+
" ,等待编码信号稳定StopCylinder_Check2=1"
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_04_Wait
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_04_Wait
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
HIGH
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_04_Wait
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_04_Wait
))
{
{
...
@@ -438,8 +438,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -438,8 +438,8 @@ namespace OnlineStore.DeviceLibrary
// SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
// SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.NextStopCheck, IO_VALUE.LOW));
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,阻挡2下降"
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,阻挡2下降"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
));
}
}
}
}
...
@@ -447,21 +447,21 @@ namespace OnlineStore.DeviceLibrary
...
@@ -447,21 +447,21 @@ namespace OnlineStore.DeviceLibrary
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_16_Stop2Down
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,阻挡2下降"
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" ,阻挡2下降"
);
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown2
,
IO_VALUE
.
HIGH
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_16_Stop2Down
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_16_Stop2Down
))
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_17_Stop2Check
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_17_Stop2Check
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 阻挡2托盘检测=0"
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 阻挡2托盘检测=0"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
LOW
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_17_Stop2Check
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_17_Stop2Check
))
{
{
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_18_WaitTime
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_18_WaitTime
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 等待200ms后阻挡2上升"
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 等待200ms后阻挡2上升"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
200
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
200
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopC
ylinder_C
heck2
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCheck2
,
IO_VALUE
.
LOW
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_18_WaitTime
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_18_WaitTime
))
{
{
...
@@ -469,8 +469,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -469,8 +469,8 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_19_StopCylinder_Back
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_19_StopCylinder_Back
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 阻挡气缸2上升 "
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 阻挡气缸2上升 "
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
100
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
100
));
IOMove
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Stop
Cylinder_
Down2
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopDown2
,
IO_VALUE
.
LOW
));
}
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_19_StopCylinder_Back
))
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_19_StopCylinder_Back
))
{
{
...
@@ -557,7 +557,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -557,7 +557,7 @@ namespace OnlineStore.DeviceLibrary
//{
//{
int
lineId
=
DeviceID
%
100
;
int
lineId
=
DeviceID
%
100
;
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
PO_03_CylinderOpen
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
PO_03_CylinderOpen
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Tighten
,
IO_Type
.
ClampCylinder_Slac
k
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Relax
,
IO_Type
.
ClampCylinder_Wor
k
);
if
(
MoveInfo
.
MoveParam
.
InStoreNg
)
if
(
MoveInfo
.
MoveParam
.
InStoreNg
)
{
{
LogInfo
(
"出料 【"
+
posId
+
"】"
+
MoveInfo
.
SLog
+
" : 夹料气缸夹紧,入料NG料,不更新料盘位置"
);
LogInfo
(
"出料 【"
+
posId
+
"】"
+
MoveInfo
.
SLog
+
" : 夹料气缸夹紧,入料NG料,不更新料盘位置"
);
...
@@ -615,7 +615,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -615,7 +615,7 @@ namespace OnlineStore.DeviceLibrary
//UpdownDownP3Move(MoveInfo.MoveParam.PlateH);
//UpdownDownP3Move(MoveInfo.MoveParam.PlateH);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
PO_08_CylinderRelax
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
PO_08_CylinderRelax
);
OutLog
(
"出料:"
+
MoveInfo
.
SLog
+
",夹料气缸放松)"
);
OutLog
(
"出料:"
+
MoveInfo
.
SLog
+
",夹料气缸放松)"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Slack
,
IO_Type
.
ClampCylinder_Tighten
);
CylinderMove
(
MoveInfo
,
IO_Type
.
ClampCylinder_
Work
,
IO_Type
.
ClampCylinder_Relax
);
if
(
MoveInfo
.
MoveParam
.
urgentReel
&&
this
.
Config
.
SidesWayNum
.
Equals
(
4
))
if
(
MoveInfo
.
MoveParam
.
urgentReel
&&
this
.
Config
.
SidesWayNum
.
Equals
(
4
))
{
{
...
...
source/DeviceLibrary/assemblymanager/ALineManager.cs
查看文件 @
b5264ed
...
@@ -50,8 +50,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -50,8 +50,8 @@ namespace OnlineStore.DeviceLibrary
{
{
Dictionary
<
int
,
MoveEquip_Config
>
moveECMap
=
null
;
Dictionary
<
int
,
MoveEquip_Config
>
moveECMap
=
null
;
Dictionary
<
int
,
FeedingEquip_Config
>
feedingECMap
=
null
;
Dictionary
<
int
,
FeedingEquip_Config
>
feedingECMap
=
null
;
Dictionary
<
int
,
ProvidingEquip_Config
>
providing
ECMap
=
null
;
Dictionary
<
int
,
HYEquip_Config
>
HY
ECMap
=
null
;
Dictionary
<
int
,
DischargeLine_Config
>
disChargeLineMap
=
null
;
//
Dictionary<int, DischargeLine_Config> disChargeLineMap = null;
DeviceConfig
.
SubDIList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
DeviceConfig
.
SubDIList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
DeviceConfig
.
SubDOList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
DeviceConfig
.
SubDOList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
...
@@ -60,8 +60,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -60,8 +60,8 @@ namespace OnlineStore.DeviceLibrary
moveECMap
=
new
Dictionary
<
int
,
MoveEquip_Config
>();
moveECMap
=
new
Dictionary
<
int
,
MoveEquip_Config
>();
feedingECMap
=
new
Dictionary
<
int
,
FeedingEquip_Config
>();
feedingECMap
=
new
Dictionary
<
int
,
FeedingEquip_Config
>();
providingECMap
=
new
Dictionary
<
int
,
Providing
Equip_Config
>();
HYECMap
=
new
Dictionary
<
int
,
HY
Equip_Config
>();
disChargeLineMap
=
new
Dictionary
<
int
,
DischargeLine_Config
>();
//
disChargeLineMap = new Dictionary<int, DischargeLine_Config>();
allConfigMap
=
new
Dictionary
<
int
,
DeviceConfig
>();
allConfigMap
=
new
Dictionary
<
int
,
DeviceConfig
>();
string
server
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
http_server
);
string
server
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
http_server
);
if
(
server
.
Equals
(
""
))
if
(
server
.
Equals
(
""
))
...
@@ -117,31 +117,32 @@ namespace OnlineStore.DeviceLibrary
...
@@ -117,31 +117,32 @@ namespace OnlineStore.DeviceLibrary
allConfigMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
}
}
int
providingEquipCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
Line_providing
Equip_count
);
int
hyEquipCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
Line_HY
Equip_count
);
string
providingEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_Providing
Equip
);
string
hyEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_HY
Equip
);
for
(
int
i
=
1
;
i
<=
providing
EquipCount
;
i
++)
for
(
int
i
=
1
;
i
<=
hy
EquipCount
;
i
++)
{
{
int
subType
=
200
+
i
;
int
subType
=
200
+
i
;
string
config
=
appPath
+
providingEquipConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
string
nameStr
=
i
.
ToString
().
PadLeft
(
2
,
'0'
);
ProvidingEquip_Config
moveConfig
=
CSVConfigReader
.
LoadProvidingConfig
(
subType
,
DeviceType
.
ProvidingEquip
,
config
);
string
config
=
appPath
+
hyEquipConfig
.
Replace
(
".csv"
,
"_"
+
nameStr
+
".csv"
);
HYEquip_Config
moveConfig
=
CSVConfigReader
.
LoadHYConfig
(
subType
,
DeviceType
.
HYEquip
,
config
);
moveConfig
.
SetIO
(
subType
);
moveConfig
.
SetIO
(
subType
);
providing
ECMap
.
Add
(
subType
,
moveConfig
);
HY
ECMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
allConfigMap
.
Add
(
subType
,
moveConfig
);
}
}
int
dislineCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
Line_dischargeLine_count
);
//
int dislineCount = ConfigAppSettings.GetIntValue(Setting_Init.Line_dischargeLine_count);
string
dischargeLineConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_DischargeLine
);
//
string dischargeLineConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_DischargeLine);
for
(
int
i
=
1
;
i
<=
dislineCount
;
i
++)
//
for (int i = 1; i <= dislineCount; i++)
{
//
{
int
subType
=
300
+
i
;
//
int subType = 300 + i;
string
config
=
appPath
+
dischargeLineConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
//
string config = appPath + dischargeLineConfig.Replace(".csv", "_" + i + ".csv");
DischargeLine_Config
moveConfig
=
CSVConfigReader
.
LoadDischargeLineConfig
(
subType
,
DeviceType
.
DischargeLine
,
config
);
//
DischargeLine_Config moveConfig = CSVConfigReader.LoadDischargeLineConfig(subType,DeviceType.DischargeLine, config);
moveConfig
.
SetIO
(
subType
);
//
moveConfig.SetIO(subType);
disChargeLineMap
.
Add
(
subType
,
moveConfig
);
//
disChargeLineMap.Add(subType, moveConfig);
allConfigMap
.
Add
(
subType
,
moveConfig
);
//
allConfigMap.Add(subType, moveConfig);
}
//
}
Config
.
SetIO
(
1000
);
Config
.
SetIO
(
1000
);
Line
=
new
LineBean
(
Config
,
moveECMap
,
feedingECMap
,
providingECMap
,
disChargeLine
Map
);
Line
=
new
LineBean
(
Config
,
moveECMap
,
feedingECMap
,
HYEC
Map
);
LogUtil
.
info
(
"加载 完成!"
);
LogUtil
.
info
(
"加载 完成!"
);
return
true
;
return
true
;
}
}
...
@@ -203,17 +204,17 @@ namespace OnlineStore.DeviceLibrary
...
@@ -203,17 +204,17 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
error
(
"出错:"
,
ex
);
LogUtil
.
error
(
"出错:"
,
ex
);
}
}
}
}
public
static
void
Save
ProvidingEquipConfig
(
Providing
Equip_Config
config
)
public
static
void
Save
HYEquipConfig
(
HY
Equip_Config
config
)
{
{
try
try
{
{
//位置配置到文件中
//位置配置到文件中
string
appPath
=
Application
.
StartupPath
;
string
appPath
=
Application
.
StartupPath
;
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_
Providing
Equip
);
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_
HY
Equip
);
int
id
=
config
.
Id
-
200
;
int
id
=
config
.
Id
-
200
;
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
id
+
".csv"
);
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
id
+
".csv"
);
allConfigMap
[
config
.
Id
]
=
config
;
allConfigMap
[
config
.
Id
]
=
config
;
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
Providing
Equip_Config
));
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
HY
Equip_Config
));
if
(!
result
)
if
(!
result
)
{
{
LogUtil
.
error
(
"保存配置文件失败:"
+
configStr
);
LogUtil
.
error
(
"保存配置文件失败:"
+
configStr
);
...
@@ -225,28 +226,28 @@ namespace OnlineStore.DeviceLibrary
...
@@ -225,28 +226,28 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
public
static
void
SaveDischargeLineConfig
(
DischargeLine_Config
config
)
//
public static void SaveDischargeLineConfig(DischargeLine_Config config)
{
//
{
try
//
try
{
//
{
//位置配置到文件中
//
//位置配置到文件中
string
appPath
=
Application
.
StartupPath
;
//
string appPath = Application.StartupPath;
string
moveEquipConfig
=
ConfigAppSettings
.
GetValue
(
Setting_Init
.
ConfigPath_DischargeLine
);
//
string moveEquipConfig = ConfigAppSettings.GetValue(Setting_Init.ConfigPath_DischargeLine);
int
id
=
config
.
Id
-
300
;
//
int id = config.Id - 300;
string
configStr
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
id
+
".csv"
);
//
string configStr = appPath + moveEquipConfig.Replace(".csv", "_" + id + ".csv");
// disChargeLineMap[config.Id] = config;
//
// disChargeLineMap[config.Id] = config;
allConfigMap
[
config
.
Id
]
=
config
;
//
allConfigMap[config.Id] = config;
bool
result
=
CSVConfigReader
.
SaveConfig
(
configStr
,
config
,
typeof
(
DischargeLine_Config
));
//
bool result = CSVConfigReader.SaveConfig(configStr, config, typeof(DischargeLine_Config));
if
(!
result
)
//
if (!result)
{
//
{
LogUtil
.
error
(
"保存配置文件失败:"
+
configStr
);
//
LogUtil.error("保存配置文件失败:" + configStr);
}
//
}
}
//
}
catch
(
Exception
ex
)
//
catch (Exception ex)
{
//
{
LogUtil
.
error
(
"出错:"
,
ex
);
//
LogUtil.error("出错:",ex);
}
//
}
}
//
}
private
static
List
<
int
>
trayHeightList
=
new
List
<
int
>()
{
8
,
12
,
16
,
24
,
32
,
44
,
56
};
private
static
List
<
int
>
trayHeightList
=
new
List
<
int
>()
{
8
,
12
,
16
,
24
,
32
,
44
,
56
};
public
static
List
<
int
>
GetTrayList
()
public
static
List
<
int
>
GetTrayList
()
...
...
source/DeviceLibrary/assemblymanager/TrayManager.cs
查看文件 @
b5264ed
...
@@ -195,7 +195,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -195,7 +195,7 @@ namespace OnlineStore.DeviceLibrary
break
;
break
;
}
}
}
}
foreach
(
ProvidingEquip
equip
in
LineManager
.
Line
.
Providing
EquipMap
.
Values
)
foreach
(
HYEquipBase
equip
in
LineManager
.
Line
.
HY
EquipMap
.
Values
)
{
{
if
(
equip
.
Config
.
SidesWayNum
.
Equals
(
swNum
))
if
(
equip
.
Config
.
SidesWayNum
.
Equals
(
swNum
))
{
{
...
...
source/DeviceLibrary/model/KTK_Store.cs
查看文件 @
b5264ed
...
@@ -481,23 +481,20 @@ namespace OnlineStore.DeviceLibrary
...
@@ -481,23 +481,20 @@ namespace OnlineStore.DeviceLibrary
{
{
if
(
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_Slack
)
||
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_Tighten
)
||
if
(
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_Work
)
||
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_Relax
)
||
IoHighType
.
Equals
(
IO_Type
.
UpDownCylinder_Down
)
||
IoHighType
.
Equals
(
IO_Type
.
UpDownCylinder_Up
)
IoHighType
.
Equals
(
IO_Type
.
UpDownCylinder_Down
)
||
IoHighType
.
Equals
(
IO_Type
.
UpDownCylinder_Up
)||
IoHighType
.
Equals
(
IO_Type
.
BeforeAfterCylinder_After
)
||
IoHighType
.
Equals
(
IO_Type
.
BeforeAfterCylinder_Before
)
)
)
{
{
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
300
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
300
));
}
}
else
if
(
IoHighType
.
Equals
(
IO_Type
.
BeforeAfterCylinder_After
)
||
IoHighType
.
Equals
(
IO_Type
.
BeforeAfterCylinder_Before
))
{
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
800
));
}
//如果是进仓门口 夹紧
//如果是进仓门口 夹紧
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
&&
(
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_
Slac
k
)))
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
&&
(
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_
Wor
k
)))
{
{
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
500
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
500
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IoLowType
,
IO_VALUE
.
LOW
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IoLowType
,
IO_VALUE
.
LOW
));
}
}
else
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
&&
(
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_
Tighten
)))
else
if
(
baseConfig
.
DType
.
Equals
(
DeviceType
.
MoveEquip
)
&&
(
IoHighType
.
Equals
(
IO_Type
.
ClampCylinder_
Relax
)))
{
{
//进仓门口放松
//进仓门口放松
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
500
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
500
));
...
@@ -547,7 +544,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -547,7 +544,7 @@ namespace OnlineStore.DeviceLibrary
IO_VALUE
tValue
=
value
.
Equals
(
IO_VALUE
.
HIGH
)
?
IO_VALUE
.
LOW
:
IO_VALUE
.
HIGH
;
IO_VALUE
tValue
=
value
.
Equals
(
IO_VALUE
.
HIGH
)
?
IO_VALUE
.
LOW
:
IO_VALUE
.
HIGH
;
if
(
IOValue
(
IoType
).
Equals
(
tValue
).
Equals
(
false
))
if
(
IOValue
(
IoType
).
Equals
(
tValue
).
Equals
(
false
))
{
{
if
(
IoType
.
Equals
(
IO_Type
.
Stop
Cylinder_
Down1
).
Equals
(
false
)&&
IoType
.
Equals
(
IO_Type
.
SW_StopDown
).
Equals
(
false
))
if
(
IoType
.
Equals
(
IO_Type
.
StopDown1
).
Equals
(
false
)&&
IoType
.
Equals
(
IO_Type
.
SW_StopDown
).
Equals
(
false
))
{
{
LogUtil
.
info
(
Name
+
"定时回写IO: ["
+
IoType
+
"]=["
+
value
+
"],["
+
baseConfig
.
Id
+
"],msTime="
+
msTime
);
LogUtil
.
info
(
Name
+
"定时回写IO: ["
+
IoType
+
"]=["
+
value
+
"],["
+
baseConfig
.
Id
+
"],msTime="
+
msTime
);
}
}
...
...
source/LoadCVSLibrary/LoadCSVLibrary.csproj
查看文件 @
b5264ed
...
@@ -51,8 +51,7 @@
...
@@ -51,8 +51,7 @@
<Compile Include="storeConfig\ConfigProAttribute.cs" />
<Compile Include="storeConfig\ConfigProAttribute.cs" />
<Compile Include="storeConfig\config\Line_Config.cs" />
<Compile Include="storeConfig\config\Line_Config.cs" />
<Compile Include="storeConfig\config\FeedingEquip_Config.cs" />
<Compile Include="storeConfig\config\FeedingEquip_Config.cs" />
<Compile Include="storeConfig\config\DischargeLine_Config.cs" />
<Compile Include="storeConfig\config\HYEquip_Config.cs" />
<Compile Include="storeConfig\config\ProvidingEquip_Config.cs" />
<Compile Include="storeConfig\config\MoveEquip_Config.cs" />
<Compile Include="storeConfig\config\MoveEquip_Config.cs" />
<Compile Include="storeConfig\config\IO_Type.cs" />
<Compile Include="storeConfig\config\IO_Type.cs" />
<Compile Include="CSVAttribute.cs" />
<Compile Include="CSVAttribute.cs" />
...
...
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
查看文件 @
b5264ed
...
@@ -141,11 +141,11 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -141,11 +141,11 @@ namespace OnlineStore.LoadCSVLibrary
return
(
Line_Config
)
LoadConfig
(
config
);
return
(
Line_Config
)
LoadConfig
(
config
);
}
}
public
static
DischargeLine_Config
LoadDischargeLineConfig
(
int
storeId
,
string
type
,
string
filePath
)
//
public static DischargeLine_Config LoadDischargeLineConfig(int storeId, string type, string filePath)
{
//
{
DischargeLine_Config
config
=
new
DischargeLine_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
//
DischargeLine_Config config = new DischargeLine_Config(storeId, storeId + "_"+ type, type, filePath);
return
(
DischargeLine_Config
)
LoadConfig
(
config
);
//
return (DischargeLine_Config)LoadConfig(config);
}
//
}
public
static
MoveEquip_Config
LoadMoveConfig
(
int
storeId
,
string
type
,
string
filePath
)
public
static
MoveEquip_Config
LoadMoveConfig
(
int
storeId
,
string
type
,
string
filePath
)
{
{
MoveEquip_Config
config
=
new
MoveEquip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
MoveEquip_Config
config
=
new
MoveEquip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
...
@@ -156,10 +156,10 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -156,10 +156,10 @@ namespace OnlineStore.LoadCSVLibrary
FeedingEquip_Config
config
=
new
FeedingEquip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
FeedingEquip_Config
config
=
new
FeedingEquip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
return
(
FeedingEquip_Config
)
LoadConfig
(
config
);
return
(
FeedingEquip_Config
)
LoadConfig
(
config
);
}
}
public
static
ProvidingEquip_Config
LoadProviding
Config
(
int
storeId
,
string
type
,
string
filePath
)
public
static
HYEquip_Config
LoadHY
Config
(
int
storeId
,
string
type
,
string
filePath
)
{
{
ProvidingEquip_Config
config
=
new
Providing
Equip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
HYEquip_Config
config
=
new
HY
Equip_Config
(
storeId
,
storeId
+
"_"
+
type
,
type
,
filePath
);
return
(
Providing
Equip_Config
)
LoadConfig
(
config
);
return
(
HY
Equip_Config
)
LoadConfig
(
config
);
}
}
public
static
DeviceConfig
LoadConfig
(
DeviceConfig
config
)
public
static
DeviceConfig
LoadConfig
(
DeviceConfig
config
)
{
{
...
...
source/LoadCVSLibrary/storeConfig/config/DeviceConfig.cs
查看文件 @
b5264ed
...
@@ -44,11 +44,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -44,11 +44,7 @@ namespace OnlineStore.LoadCSVLibrary
/// 手动料仓输出Io列表,key=对应的坐标位置的positionNum
/// 手动料仓输出Io列表,key=对应的坐标位置的positionNum
/// </summary>
/// </summary>
public
Dictionary
<
String
,
ConfigIO
>
DOList
{
get
;
set
;
}
public
Dictionary
<
String
,
ConfigIO
>
DOList
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 料仓所有用到的IO卡名称
/// 料仓所有用到的IO卡名称
/// </summary>
/// </summary>
...
@@ -380,11 +376,11 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -380,11 +376,11 @@ namespace OnlineStore.LoadCSVLibrary
/// <summary>
/// <summary>
/// 出料模块
/// 出料模块
/// </summary>
/// </summary>
public
static
string
ProvidingEquip
=
"Providing
Equip"
;
public
static
string
HYEquip
=
"HY
Equip"
;
/// <summary>
///
//
<summary>
/// 出料流水线
///
//
出料流水线
/// </summary>
///
//
</summary>
public
static
string
DischargeLine
=
"DischargeLine"
;
//
public static string DischargeLine = "DischargeLine";
}
}
...
...
source/LoadCVSLibrary/storeConfig/config/
Providing
Equip_Config.cs
→
source/LoadCVSLibrary/storeConfig/config/
HY
Equip_Config.cs
查看文件 @
b5264ed
...
@@ -9,29 +9,24 @@ using System.Threading.Tasks;
...
@@ -9,29 +9,24 @@ using System.Threading.Tasks;
namespace
OnlineStore.LoadCSVLibrary
namespace
OnlineStore.LoadCSVLibrary
{
{
public
class
Providing
Equip_Config
:
DeviceConfig
public
class
HY
Equip_Config
:
DeviceConfig
{
{
public
Providing
Equip_Config
()
public
HY
Equip_Config
()
:
base
()
:
base
()
{
{
}
}
public
Providing
Equip_Config
(
int
id
,
string
cid
,
string
type
,
string
filepath
)
public
HY
Equip_Config
(
int
id
,
string
cid
,
string
type
,
string
filepath
)
:
base
(
id
,
cid
,
LoadCSVLibrary
.
DeviceType
.
Providing
Equip
,
filepath
)
:
base
(
id
,
cid
,
LoadCSVLibrary
.
DeviceType
.
HY
Equip
,
filepath
)
{
{
}
}
public
int
SidesWayNum
=
0
;
/// <summary>
/// <summary>
/// 设备是否处于调试状态(1=调试,0=正常)
/// 设备是否处于调试状态(1=调试,0=正常)
/// </summary>
/// </summary>
[
ConfigProAttribute
(
"IsDebug"
)]
[
ConfigProAttribute
(
"IsDebug"
)]
public
int
IsDebug
{
get
;
set
;
}
public
int
IsDebug
{
get
;
set
;
}
/// <summary>
/// PRO,0,对应的横移模块,SidesWayNum,3,,,,,
/// </summary>
[
ConfigProAttribute
(
"SidesWayNum"
,
false
)]
public
int
SidesWayNum
{
get
;
set
;
}
/// <summary>
/// <summary>
/// PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,,,,
/// PRO,0,设备对应的出料流水线的编号,DLineEquipNum,1,,,,,
...
@@ -69,39 +64,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -69,39 +64,7 @@ namespace OnlineStore.LoadCSVLibrary
/// PRO 0 移栽上下轴待机点 P1 UpDownAxisP1 403000
/// PRO 0 移栽上下轴待机点 P1 UpDownAxisP1 403000
/// </summary>
/// </summary>
[
ConfigProAttribute
(
"UpDownAxisP1"
,
false
)]
[
ConfigProAttribute
(
"UpDownAxisP1"
,
false
)]
public
int
UpDownAxisP1
{
get
;
set
;
}
public
int
UpDownAxisP1
{
get
;
set
;
}
/// <summary>
/// PRO 0 移栽上下轴目标速度 UpdownAxis_TargetSpeed 150
/// </summary>
[
ConfigProAttribute
(
"UpdownAxis_TargetSpeed"
,
false
)]
public
int
UpdownAxis_TargetSpeed
{
get
;
set
;
}
/// <summary>
/// PRO 0 移栽上下轴加速度 UpdownAxis_AddSpeed 400
/// </summary>
[
ConfigProAttribute
(
"UpdownAxis_AddSpeed"
,
false
)]
public
short
UpdownAxis_AddSpeed
{
get
;
set
;
}
/// <summary>
/// PRO 0 移栽上下轴减速度 UpdownAxis_DelSpeed 400
/// </summary>
[
ConfigProAttribute
(
"UpdownAxis_DelSpeed"
,
false
)]
public
short
UpdownAxis_DelSpeed
{
get
;
set
;
}
/// <summary>
/// PRO 0 移栽上下轴原点低速度 UpdownAxis_HomeLowSpeed 100
/// </summary>
[
ConfigProAttribute
(
"UpdownAxis_HomeLowSpeed"
,
false
)]
public
int
UpdownAxis_HomeLowSpeed
{
get
;
set
;
}
/// <summary>
/// PRO 0 移栽上下轴原点高速 UpdownAxis_HomeHighSpeed 200
/// </summary>
[
ConfigProAttribute
(
"UpdownAxis_HomeHighSpeed"
,
false
)]
public
int
UpdownAxis_HomeHighSpeed
{
get
;
set
;
}
/// <summary>
/// PRO 0 移栽上下轴原点加速度 UpdownAxis_HomeAddSpeed 200
/// </summary>
[
ConfigProAttribute
(
"UpdownAxis_HomeAddSpeed"
,
false
)]
public
int
UpdownAxis_HomeAddSpeed
{
get
;
set
;
}
/// <summary>
/// <summary>
/// PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
/// PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
...
...
source/LoadCVSLibrary/storeConfig/config/IO_Type.cs
查看文件 @
b5264ed
...
@@ -65,18 +65,18 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -65,18 +65,18 @@ namespace OnlineStore.LoadCSVLibrary
/// DO 0 红灯 故障状态(指示灯) Alarm_HddLed 26 故障状态(指示灯) Y03 DO-03
/// DO 0 红灯 故障状态(指示灯) Alarm_HddLed 26 故障状态(指示灯) Y03 DO-03
/// </summary>
/// </summary>
public
static
string
Alarm_HddLed
=
"Alarm_HddLed"
;
public
static
string
Alarm_HddLed
=
"Alarm_HddLed"
;
/// <summary>
/// <summary>
/// DO 0 阻挡气缸0-1下降SOL Stop
Cylinder_
Down1 16 阻挡气缸0-1下降SOL Y11 DO-11
/// DO 0 阻挡气缸0-1下降SOL StopDown1 16 阻挡气缸0-1下降SOL Y11 DO-11
/// </summary>
/// </summary>
public
static
string
Stop
Cylinder_Down1
=
"StopCylinder_
Down1"
;
public
static
string
Stop
Down1
=
"Stop
Down1"
;
/// <summary>
/// <summary>
/// DO 0 阻挡气缸0-2下降SOL Stop
Cylinder_
Down2 17 阻挡气缸0-2下降SOL Y12 DO-12
/// DO 0 阻挡气缸0-2下降SOL StopDown2 17 阻挡气缸0-2下降SOL Y12 DO-12
/// </summary>
/// </summary>
public
static
string
Stop
Cylinder_Down2
=
"StopCylinder_
Down2"
;
public
static
string
Stop
Down2
=
"Stop
Down2"
;
...
@@ -112,14 +112,16 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -112,14 +112,16 @@ namespace OnlineStore.LoadCSVLibrary
/// </summary>
/// </summary>
public
static
string
UpDownCylinder_Down
=
"UpDownCylinder_Down"
;
public
static
string
UpDownCylinder_Down
=
"UpDownCylinder_Down"
;
/// <summary>
/// <summary>
/// 移栽DI/DO 移载夹料气缸夹紧端 ClampCylinder_
Slac
k 11
/// 移栽DI/DO 移载夹料气缸夹紧端 ClampCylinder_
Wor
k 11
/// </summary>
/// </summary>
public
static
string
ClampCylinder_Slack
=
"ClampCylinder_Slack"
;
public
static
string
ClampCylinder_Work
=
"ClampCylinder_Work"
;
/// <summary>
/// <summary>
/// 移栽DI/DO 移载夹料气缸放松端 ClampCylinder_
Tighten
12
/// 移栽DI/DO 移载夹料气缸放松端 ClampCylinder_
Relax
12
/// </summary>
/// </summary>
public
static
string
ClampCylinder_
Tighten
=
"ClampCylinder_Tighten
"
;
public
static
string
ClampCylinder_
Relax
=
"ClampCylinder_Relax
"
;
...
@@ -138,13 +140,13 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -138,13 +140,13 @@ namespace OnlineStore.LoadCSVLibrary
#
region
流水线新增
IO
#
region
流水线新增
IO
/// <summary>
/// <summary>
/// DI 进仓01阻挡1托盘检测,StopC
ylinder_C
heck1, X261
/// DI 进仓01阻挡1托盘检测,StopCheck1, X261
/// </summary>
/// </summary>
public
static
string
StopC
ylinder_Check1
=
"StopCylinder_
Check1"
;
public
static
string
StopC
heck1
=
"Stop
Check1"
;
/// <summary>
/// <summary>
/// DI 进仓01阻挡2托盘检测, StopC
ylinder_C
heck2, X262
/// DI 进仓01阻挡2托盘检测, StopCheck2, X262
/// </summary>
/// </summary>
public
static
string
StopC
ylinder_Check2
=
"StopCylinder_
Check2"
;
public
static
string
StopC
heck2
=
"Stop
Check2"
;
/// <summary>
/// <summary>
///DI NG料盘推出气缸前进端,NGCylinder_Before, X005
///DI NG料盘推出气缸前进端,NGCylinder_Before, X005
/// </summary>
/// </summary>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论