Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 27d4a2b5
由
LN
编写于
2019-10-09 14:06:13 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
移栽IO配置
1 个父辈
38d34e00
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
34 个修改的文件
包含
878 行增加
和
303 行删除
source/AssemblyLineClient/FrmFeedingEquip.cs
source/AssemblyLineClient/FrmMoveEquip.cs
source/AssemblyLineClient/FrmProvidingEquip.Designer.cs
source/AssemblyLineClient/FrmProvidingEquip.cs
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/LineConfig/Config_Line.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_01.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_02.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_03.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_05.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_06.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_07.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_09.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_11.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_12.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_13.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_14.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_15.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_16.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_17.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_18.csv
source/DeviceLibrary/assemblyLine/AssemblyLineManager.cs
source/DeviceLibrary/model/EquipBase.cs → source/DeviceLibrary/assemblyLine/EquipBase.cs
source/DeviceLibrary/assemblyLine/FeedingEquip.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/assemblyLine/TrayManager.cs
source/DeviceLibrary/model/StoreStep.cs
source/LoadCVSLibrary/storeConfig/config/IO_Type.cs
source/LoadCVSLibrary/storeConfig/config/StoreConfig.cs
source/AssemblyLineClient/FrmFeedingEquip.cs
查看文件 @
27d4a2b
...
...
@@ -308,7 +308,7 @@ namespace OnlineStore.AssemblyLine
feedEquip
.
IsDebug
=
true
;
feedEquip
.
Config
.
IsDebug
=
1
;
LineManager
.
SaveFeedingEquipConfig
(
feedEquip
.
Config
);
feedEquip
.
ChangeDebug
();
feedEquip
.
ChangeDebug
(
true
);
LogUtil
.
info
(
feedEquip
.
Name
+
"用户切换到调试状态 "
);
}
}
...
...
@@ -323,7 +323,7 @@ namespace OnlineStore.AssemblyLine
feedEquip
.
IsDebug
=
false
;
feedEquip
.
Config
.
IsDebug
=
0
;
LineManager
.
SaveFeedingEquipConfig
(
feedEquip
.
Config
);
feedEquip
.
ChangeDebug
();
feedEquip
.
ChangeDebug
(
false
);
LogUtil
.
info
(
feedEquip
.
Name
+
"用户切换到正常工作状态 "
);
}
}
...
...
source/AssemblyLineClient/FrmMoveEquip.cs
查看文件 @
27d4a2b
...
...
@@ -326,7 +326,7 @@ namespace OnlineStore.AssemblyLine
moveEquip
.
IsDebug
=
true
;
moveEquip
.
Config
.
IsDebug
=
1
;
LineManager
.
SaveMoveEquipConfig
(
moveEquip
.
Config
);
moveEquip
.
ChangeDebug
();
moveEquip
.
ChangeDebug
(
true
);
LogUtil
.
info
(
moveEquip
.
Name
+
"用户切换到调试状态 "
);
}
}
...
...
@@ -341,7 +341,7 @@ namespace OnlineStore.AssemblyLine
moveEquip
.
IsDebug
=
false
;
moveEquip
.
Config
.
IsDebug
=
0
;
LineManager
.
SaveMoveEquipConfig
(
moveEquip
.
Config
);
moveEquip
.
ChangeDebug
();
moveEquip
.
ChangeDebug
(
false
);
LogUtil
.
info
(
moveEquip
.
Name
+
"用户切换到正常工作状态 "
);
}
}
...
...
source/AssemblyLineClient/FrmProvidingEquip.Designer.cs
查看文件 @
27d4a2b
...
...
@@ -16,7 +16,7 @@
private
void
InitializeComponent
()
{
this
.
components
=
new
System
.
ComponentModel
.
Container
();
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
Frm
Move
Equip
));
System
.
ComponentModel
.
ComponentResourceManager
resources
=
new
System
.
ComponentModel
.
ComponentResourceManager
(
typeof
(
Frm
Providing
Equip
));
this
.
timer1
=
new
System
.
Windows
.
Forms
.
Timer
(
this
.
components
);
this
.
groupBox1
=
new
System
.
Windows
.
Forms
.
GroupBox
();
this
.
checkBox1
=
new
System
.
Windows
.
Forms
.
CheckBox
();
...
...
@@ -50,7 +50,6 @@
this
.
btnStart
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnStop
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnReset
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnInStore
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
btnOutStore
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
tabControl1
=
new
System
.
Windows
.
Forms
.
TabControl
();
this
.
tabPage1
=
new
System
.
Windows
.
Forms
.
TabPage
();
...
...
@@ -548,19 +547,6 @@
this
.
btnReset
.
UseVisualStyleBackColor
=
false
;
this
.
btnReset
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReset_Click
);
//
// btnInStore
//
this
.
btnInStore
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnInStore
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnInStore
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnInStore
.
Location
=
new
System
.
Drawing
.
Point
(
457
,
14
);
this
.
btnInStore
.
Name
=
"btnInStore"
;
this
.
btnInStore
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnInStore
.
TabIndex
=
102
;
this
.
btnInStore
.
Text
=
"入库测试"
;
this
.
btnInStore
.
UseVisualStyleBackColor
=
false
;
this
.
btnInStore
.
Click
+=
new
System
.
EventHandler
(
this
.
btnInStore_Click
);
//
// btnOutStore
//
this
.
btnOutStore
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
...
...
@@ -570,7 +556,7 @@
this
.
btnOutStore
.
Name
=
"btnOutStore"
;
this
.
btnOutStore
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnOutStore
.
TabIndex
=
101
;
this
.
btnOutStore
.
Text
=
"出
库
测试"
;
this
.
btnOutStore
.
Text
=
"出
料
测试"
;
this
.
btnOutStore
.
UseVisualStyleBackColor
=
false
;
this
.
btnOutStore
.
Click
+=
new
System
.
EventHandler
(
this
.
btnOutStore_Click
);
//
...
...
@@ -1330,7 +1316,6 @@
this
.
panel1
.
Controls
.
Add
(
this
.
lblStoreStatus
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnOutStore
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnStart
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnInStore
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnStop
);
this
.
panel1
.
Controls
.
Add
(
this
.
btnReset
);
this
.
panel1
.
Location
=
new
System
.
Drawing
.
Point
(
2
,
1
);
...
...
@@ -1338,7 +1323,7 @@
this
.
panel1
.
Size
=
new
System
.
Drawing
.
Size
(
1295
,
68
);
this
.
panel1
.
TabIndex
=
258
;
//
// Frm
Move
Equip
// Frm
Providing
Equip
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
7F
,
17F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
...
...
@@ -1348,7 +1333,7 @@
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
MaximizeBox
=
false
;
this
.
MinimizeBox
=
false
;
this
.
Name
=
"Frm
Move
Equip"
;
this
.
Name
=
"Frm
Providing
Equip"
;
this
.
Text
=
"移栽——"
;
this
.
FormClosing
+=
new
System
.
Windows
.
Forms
.
FormClosingEventHandler
(
this
.
FrmTest_FormClosing
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmStoreIOStatus_Load
);
...
...
@@ -1403,7 +1388,6 @@
private
System
.
Windows
.
Forms
.
Button
btnStart
;
private
System
.
Windows
.
Forms
.
Button
btnStop
;
private
System
.
Windows
.
Forms
.
Button
btnReset
;
private
System
.
Windows
.
Forms
.
Button
btnInStore
;
private
System
.
Windows
.
Forms
.
Button
btnOutStore
;
private
System
.
Windows
.
Forms
.
CheckBox
chbDebug
;
private
System
.
Windows
.
Forms
.
Button
btnStop2Up
;
...
...
source/AssemblyLineClient/FrmProvidingEquip.cs
查看文件 @
27d4a2b
...
...
@@ -87,10 +87,10 @@ namespace OnlineStore.AssemblyLine
lblStoreStatus
.
Text
=
KTK_Store
.
GetRunStr
(
providingEquip
.
lineStatus
,
providingEquip
.
runStatus
)+
"("
+
canOut
+
")"
;
lblThisSta
.
Text
=
providingEquip
.
WarnMsg
;
string
text
=
""
;
List
<
InOutParam
>
ps
=
new
List
<
InOutParam
>(
providingEquip
.
wait
In
StoreList
);
List
<
InOutParam
>
ps
=
new
List
<
InOutParam
>(
providingEquip
.
wait
Out
StoreList
);
if
(
ps
.
Count
>
0
)
{
text
=
"等待
入库
列表:\r"
;
text
=
"等待
出料
列表:\r"
;
foreach
(
InOutParam
param
in
ps
)
{
text
+=
param
.
ToStr
()
+
"\r"
;
...
...
@@ -265,7 +265,7 @@ namespace OnlineStore.AssemblyLine
btnStart
.
Enabled
=
!
isStart
;
btnStop
.
Enabled
=
true
;
btnReset
.
Enabled
=
isStart
;
btnInStore
.
Enabled
=
isStart
;
//
btnInStore.Enabled = isStart;
btnOutStore
.
Enabled
=
isStart
;
}
...
...
@@ -314,7 +314,7 @@ namespace OnlineStore.AssemblyLine
providingEquip
.
IsDebug
=
true
;
providingEquip
.
Config
.
IsDebug
=
1
;
LineManager
.
SaveProvidingEquipConfig
(
providingEquip
.
Config
);
providingEquip
.
ChangeDebug
();
providingEquip
.
ChangeDebug
(
true
);
LogUtil
.
info
(
providingEquip
.
Name
+
"用户切换到调试状态 "
);
}
}
...
...
@@ -329,7 +329,7 @@ namespace OnlineStore.AssemblyLine
providingEquip
.
IsDebug
=
false
;
providingEquip
.
Config
.
IsDebug
=
0
;
LineManager
.
SaveProvidingEquipConfig
(
providingEquip
.
Config
);
providingEquip
.
ChangeDebug
();
providingEquip
.
ChangeDebug
(
false
);
LogUtil
.
info
(
providingEquip
.
Name
+
"用户切换到正常工作状态 "
);
}
}
...
...
@@ -348,17 +348,7 @@ namespace OnlineStore.AssemblyLine
}
}
private
void
btnInStore_Click
(
object
sender
,
EventArgs
e
)
{
if
(
providingEquip
.
runStatus
.
Equals
(
LineRunStatus
.
Runing
))
{
providingEquip
.
StartInStoreMove
(
new
InOutParam
());
}
else
{
MessageBox
.
Show
(
"未启动或不在空闲中,无法入库测试!"
);
}
}
private
void
btnStop_Click
(
object
sender
,
EventArgs
e
)
{
...
...
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
27d4a2b
...
...
@@ -78,7 +78,7 @@
<Compile Include="deviceLibrary\PanasonicServo\ACCMDManager.cs" />
<Compile Include="deviceLibrary\PanasonicServo\ACServerManager.cs" />
<Compile Include="deviceLibrary\PanasonicServo\ACServerManager_Partial.cs" />
<Compile Include="
model
\EquipBase.cs" />
<Compile Include="
assemblyLine
\EquipBase.cs" />
<Compile Include="model\LineAlarm.cs">
<SubType>Code</SubType>
</Compile>
...
...
source/DeviceLibrary/LineConfig/Config_Line.csv
查看文件 @
27d4a2b
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_01.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,0,,,,,
PRO,0,移栽上下移动料盘高度对应的上升位置,UpDownPositions,12=1000;16=1300;20=2000;24=2000;36=3000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,2,COM1,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
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,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,1,进仓01阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.29,0,进仓01阻挡1托盘检测,X261,X261
DI,1,进仓01阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.29,0,进仓01阻挡2托盘检测,X262,X262
DI,1,进仓01顶升上升端,TopCylinder_UP,2,192.168.200.29,0,进仓01顶升上升端,X263,X263
DI,1,进仓01顶升下降端,TopCylinder_Down,3,192.168.200.29,0,进仓01顶升下降端,X264,X264
DI,1,进仓01横移前进端,BeforeAfterCylinder_Before,4,192.168.200.29,0,进仓01横移前进端,X265,X265
DI,1,进仓01横移后退端,BeforeAfterCylinder_After,5,192.168.200.29,0,进仓01横移后退端,X266,X266
DI,1,进仓01夹料夹紧端,ClampCylinder_Slack,6,192.168.200.29,0,进仓01夹料夹紧端,X267,X267
DI,1,进仓01夹料放松端,ClampCylinder_Tighten,7,192.168.200.29,0,进仓01夹料放松端,X268,X268
DI,2,进仓02阻挡1托盘检测,StopCylinder_Check1,8,192.168.200.29,0,进仓02阻挡1托盘检测,X269,X269
DI,2,进仓02阻挡2托盘检测,StopCylinder_Check2,9,192.168.200.29,0,进仓02阻挡2托盘检测,X270,X270
DI,2,进仓02顶升上升端,TopCylinder_UP,10,192.168.200.29,0,进仓02顶升上升端,X271,X271
DI,2,进仓02顶升下降端,TopCylinder_Down,11,192.168.200.29,0,进仓02顶升下降端,X272,X272
DI,2,进仓02横移前进端,BeforeAfterCylinder_Before,12,192.168.200.29,0,进仓02横移前进端,X273,X273
DI,2,进仓02横移后退端,BeforeAfterCylinder_After,13,192.168.200.29,0,进仓02横移后退端,X274,X274
DI,2,进仓02夹料夹紧端,ClampCylinder_Slack,14,192.168.200.29,0,进仓02夹料夹紧端,X275,X275
DI,2,进仓02夹料放松端,ClampCylinder_Tighten,15,192.168.200.29,0,进仓02夹料放松端,X276,X276
,,,,,,,,,
DO,1,进仓01阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.29,0,进仓01阻挡1下降SOL,Y261,Y261
DO,1,进仓01阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.29,0,进仓01阻挡2下降SOL,Y262,Y262
DO,1,进仓01顶升上升SOL,TopCylinder_UP,2,192.168.200.29,0,进仓01顶升上升SOL,Y263,Y263
DO,1,进仓01顶升下降SOL,TopCylinder_Down,3,192.168.200.29,0,进仓01顶升下降SOL,Y264,Y264
DO,1,进仓01横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.29,0,进仓01横移前进SOL,Y265,Y265
DO,1,进仓01横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.29,0,进仓01横移后退SOL,Y266,Y266
DO,1,进仓01夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.29,0,进仓01夹料夹紧SOL,Y267,Y267
DO,1,进仓01夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.29,0,进仓01夹料放松SOL,Y268,Y268
DO,2,进仓02阻挡1下降SOL,StopCylinder_Down1,8,192.168.200.29,0,进仓02阻挡1下降SOL,Y269,Y269
DO,2,进仓02阻挡2下降SOL,StopCylinder_Down2,9,192.168.200.29,0,进仓02阻挡2下降SOL,Y270,Y270
DO,2,进仓02顶升上升SOL,TopCylinder_UP,10,192.168.200.29,0,进仓02顶升上升SOL,Y271,Y271
DO,2,进仓02顶升下降SOL,TopCylinder_Down,11,192.168.200.29,0,进仓02顶升下降SOL,Y272,Y272
DO,2,进仓02横移前进SOL,BeforeAfterCylinder_Before,12,192.168.200.29,0,进仓02横移前进SOL,Y273,Y273
DO,2,进仓02横移后退SOL,BeforeAfterCylinder_After,13,192.168.200.29,0,进仓02横移后退SOL,Y274,Y274
DO,2,进仓02夹料夹紧SOL,ClampCylinder_Slack,14,192.168.200.29,0,进仓02夹料夹紧SOL,Y275,Y275
DO,2,进仓02夹料放松SOL,ClampCylinder_Tighten,15,192.168.200.29,0,进仓02夹料放松SOL,Y276,Y276
,,,,,,,,,
DI,1,进仓01料盘检测,TrayCheck,0,192.168.200.30,0,进仓01料盘检测,X281,X281
DI,2,进仓02料盘检测,TrayCheck,1,192.168.200.30,0,进仓02料盘检测,X282,X282
,,,,2,192.168.200.30,0,,X283,X283
,,,,3,192.168.200.30,0,,X284,X284
,,,,4,192.168.200.30,0,,X285,X285
,,,,5,192.168.200.30,0,,X286,X286
,,,,6,192.168.200.30,0,,X287,X287
,,,,7,192.168.200.30,0,,X288,X288
,,,,,,,,,
DO,1,进仓01伺服刹车ON,UpDownAxis_BreakOn,0,192.168.200.30,0,进仓01伺服刹车ON,Y281,Y281
DO,2,进仓02伺服刹车ON,UpDownAxis_BreakOn,1,192.168.200.30,0,进仓02伺服刹车ON,Y282,Y282
DO,1,进仓01伺服运转ON,UpDownAxis_ServoOn,2,192.168.200.30,0,进仓01伺服运转ON,Y283,Y283
DO,2,进仓02伺服运转ON,UpDownAxis_ServoOn,3,192.168.200.30,0,进仓02伺服运转ON,Y284,Y284
,,,,4,192.168.200.30,0,,Y285,Y285
,,,,5,192.168.200.30,0,,Y286,Y286
,,,,6,192.168.200.30,0,,Y287,Y287
,,,,7,192.168.200.30,0,,Y288,Y288
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_02.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,0,,,,,
PRO,0,移栽上下移动料盘高度对应的上升位置,UpDownPositions,12=1000;16=1300;20=2000;24=2000;36=3000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,2,COM1,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
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,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_03.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,0,,,,,
PRO,0,移栽上下移动料盘高度对应的上升位置,UpDownPositions,12=1000;16=1300;20=2000;24=2000;36=3000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,2,COM1,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
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,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,3,进仓03阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.31,0,进仓03阻挡1托盘检测,X291,X291
DI,3,进仓03阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.31,0,进仓03阻挡2托盘检测,X292,X292
DI,3,进仓03顶升上升端,TopCylinder_UP,2,192.168.200.31,0,进仓03顶升上升端,X293,X293
DI,3,进仓03顶升下降端,TopCylinder_Down,3,192.168.200.31,0,进仓03顶升下降端,X294,X294
DI,3,进仓03横移前进端,BeforeAfterCylinder_Before,4,192.168.200.31,0,进仓03横移前进端,X295,X295
DI,3,进仓03横移后退端,BeforeAfterCylinder_After,5,192.168.200.31,0,进仓03横移后退端,X296,X296
DI,3,进仓03夹料夹紧端,ClampCylinder_Slack,6,192.168.200.31,0,进仓03夹料夹紧端,X297,X297
DI,3,进仓03夹料放松端,ClampCylinder_Tighten,7,192.168.200.31,0,进仓03夹料放松端,X298,X298
DI,4,进仓04阻挡1托盘检测,StopCylinder_Check1,8,192.168.200.31,0,进仓04阻挡1托盘检测,X299,X299
DI,4,进仓04阻挡2托盘检测,StopCylinder_Check2,9,192.168.200.31,0,进仓04阻挡2托盘检测,X300,X300
DI,4,进仓04顶升上升端,TopCylinder_UP,10,192.168.200.31,0,进仓04顶升上升端,X301,X301
DI,4,进仓04顶升下降端,TopCylinder_Down,11,192.168.200.31,0,进仓04顶升下降端,X302,X302
DI,4,进仓04横移前进端,BeforeAfterCylinder_Before,12,192.168.200.31,0,进仓04横移前进端,X303,X303
DI,4,进仓04横移后退端,BeforeAfterCylinder_After,13,192.168.200.31,0,进仓04横移后退端,X304,X304
DI,4,进仓04夹料夹紧端,ClampCylinder_Slack,14,192.168.200.31,0,进仓04夹料夹紧端,X305,X305
DI,4,进仓04夹料放松端,ClampCylinder_Tighten,15,192.168.200.31,0,进仓04夹料放松端,X306,X306
,,,,,,,,,
DO,3,进仓03阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.31,0,进仓03阻挡1下降SOL,Y291,Y291
DO,3,进仓03阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.31,0,进仓03阻挡2下降SOL,Y292,Y292
DO,3,进仓03顶升上升SOL,TopCylinder_UP,2,192.168.200.31,0,进仓03顶升上升SOL,Y293,Y293
DO,3,进仓03顶升下降SOL,TopCylinder_Down,3,192.168.200.31,0,进仓03顶升下降SOL,Y294,Y294
DO,3,进仓03横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.31,0,进仓03横移前进SOL,Y295,Y295
DO,3,进仓03横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.31,0,进仓03横移后退SOL,Y296,Y296
DO,3,进仓03夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.31,0,进仓03夹料夹紧SOL,Y297,Y297
DO,3,进仓03夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.31,0,进仓03夹料放松SOL,Y298,Y298
DO,4,进仓04阻挡1下降SOL,StopCylinder_Down1,8,192.168.200.31,0,进仓04阻挡1下降SOL,Y299,Y299
DO,4,进仓04阻挡2下降SOL,StopCylinder_Down2,9,192.168.200.31,0,进仓04阻挡2下降SOL,Y300,Y300
DO,4,进仓04顶升上升SOL,TopCylinder_UP,10,192.168.200.31,0,进仓04顶升上升SOL,Y301,Y301
DO,4,进仓04顶升下降SOL,TopCylinder_Down,11,192.168.200.31,0,进仓04顶升下降SOL,Y302,Y302
DO,4,进仓04横移前进SOL,BeforeAfterCylinder_Before,12,192.168.200.31,0,进仓04横移前进SOL,Y303,Y303
DO,4,进仓04横移后退SOL,BeforeAfterCylinder_After,13,192.168.200.31,0,进仓04横移后退SOL,Y304,Y304
DO,4,进仓04夹料夹紧SOL,ClampCylinder_Slack,14,192.168.200.31,0,进仓04夹料夹紧SOL,Y305,Y305
DO,4,进仓04夹料放松SOL,ClampCylinder_Tighten,15,192.168.200.31,0,进仓04夹料放松SOL,Y306,Y306
,,,,,,,,,
DI,3,进仓03料盘检测,TrayCheck,0,192.168.200.32,0,进仓03料盘检测,X311,X311
DI,4,进仓04料盘检测,TrayCheck,1,192.168.200.32,0,进仓04料盘检测,X312,X312
,,,,2,192.168.200.32,0,,X313,X313
,,,,3,192.168.200.32,0,,X314,X314
,,,,4,192.168.200.32,0,,X315,X315
,,,,5,192.168.200.32,0,,X316,X316
,,,,6,192.168.200.32,0,,X317,X317
,,,,7,192.168.200.32,0,,X318,X318
,,,,,,,,,
DO,3,进仓03伺服刹车ON,UpDownAxis_BreakOn,0,192.168.200.32,0,进仓03伺服刹车ON,Y311,Y311
DO,4,进仓04伺服刹车ON,UpDownAxis_BreakOn,1,192.168.200.32,0,进仓04伺服刹车ON,Y312,Y312
DO,3,进仓03伺服运转ON,UpDownAxis_ServoOn,2,192.168.200.32,0,进仓03伺服运转ON,Y313,Y313
DO,4,进仓04伺服运转ON,UpDownAxis_ServoOn,3,192.168.200.32,0,进仓04伺服运转ON,Y314,Y314
,,,,4,192.168.200.32,0,,Y315,Y315
,,,,5,192.168.200.32,0,,Y316,Y316
,,,,6,192.168.200.32,0,,Y317,Y317
,,,,7,192.168.200.32,0,,Y318,Y318
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_05.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,0,,,,,
PRO,0,移栽上下移动料盘高度对应的上升位置,UpDownPositions,12=1000;16=1300;20=2000;24=2000;36=3000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,2,COM1,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
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,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,5,进仓05阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.33,0,进仓05阻挡1托盘检测,X321,X321
DI,5,进仓05阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.33,0,进仓05阻挡2托盘检测,X322,X322
DI,5,进仓05顶升上升端,TopCylinder_UP,2,192.168.200.33,0,进仓05顶升上升端,X323,X323
DI,5,进仓05顶升下降端,TopCylinder_Down,3,192.168.200.33,0,进仓05顶升下降端,X324,X324
DI,5,进仓05横移前进端,BeforeAfterCylinder_Before,4,192.168.200.33,0,进仓05横移前进端,X325,X325
DI,5,进仓05横移后退端,BeforeAfterCylinder_After,5,192.168.200.33,0,进仓05横移后退端,X326,X326
DI,5,进仓05夹料夹紧端,ClampCylinder_Slack,6,192.168.200.33,0,进仓05夹料夹紧端,X327,X327
DI,5,进仓05夹料放松端,ClampCylinder_Tighten,7,192.168.200.33,0,进仓05夹料放松端,X328,X328
DI,6,进仓06阻挡1托盘检测,StopCylinder_Check1,8,192.168.200.33,0,进仓06阻挡1托盘检测,X329,X329
DI,6,进仓06阻挡2托盘检测,StopCylinder_Check2,9,192.168.200.33,0,进仓06阻挡2托盘检测,X330,X330
DI,6,进仓06顶升上升端,TopCylinder_UP,10,192.168.200.33,0,进仓06顶升上升端,X331,X331
DI,6,进仓06顶升下降端,TopCylinder_Down,11,192.168.200.33,0,进仓06顶升下降端,X332,X332
DI,6,进仓06横移前进端,BeforeAfterCylinder_Before,12,192.168.200.33,0,进仓06横移前进端,X333,X333
DI,6,进仓06横移后退端,BeforeAfterCylinder_After,13,192.168.200.33,0,进仓06横移后退端,X334,X334
DI,6,进仓06夹料夹紧端,ClampCylinder_Slack,14,192.168.200.33,0,进仓06夹料夹紧端,X335,X335
DI,6,进仓06夹料放松端,ClampCylinder_Tighten,15,192.168.200.33,0,进仓06夹料放松端,X336,X336
,,,,,,,,,
DO,5,进仓05阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.33,0,进仓05阻挡1下降SOL,Y321,Y321
DO,5,进仓05阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.33,0,进仓05阻挡2下降SOL,Y322,Y322
DO,5,进仓05顶升上升SOL,TopCylinder_UP,2,192.168.200.33,0,进仓05顶升上升SOL,Y323,Y323
DO,5,进仓05顶升下降SOL,TopCylinder_Down,3,192.168.200.33,0,进仓05顶升下降SOL,Y324,Y324
DO,5,进仓05横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.33,0,进仓05横移前进SOL,Y325,Y325
DO,5,进仓05横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.33,0,进仓05横移后退SOL,Y326,Y326
DO,5,进仓05夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.33,0,进仓05夹料夹紧SOL,Y327,Y327
DO,5,进仓05夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.33,0,进仓05夹料放松SOL,Y328,Y328
DO,6,进仓06阻挡1下降SOL,StopCylinder_Down1,8,192.168.200.33,0,进仓06阻挡1下降SOL,Y329,Y329
DO,6,进仓06阻挡2下降SOL,StopCylinder_Down2,9,192.168.200.33,0,进仓06阻挡2下降SOL,Y330,Y330
DO,6,进仓06顶升上升SOL,TopCylinder_UP,10,192.168.200.33,0,进仓06顶升上升SOL,Y331,Y331
DO,6,进仓06顶升下降SOL,TopCylinder_Down,11,192.168.200.33,0,进仓06顶升下降SOL,Y332,Y332
DO,6,进仓06横移前进SOL,BeforeAfterCylinder_Before,12,192.168.200.33,0,进仓06横移前进SOL,Y333,Y333
DO,6,进仓06横移后退SOL,BeforeAfterCylinder_After,13,192.168.200.33,0,进仓06横移后退SOL,Y334,Y334
DO,6,进仓06夹料夹紧SOL,ClampCylinder_Slack,14,192.168.200.33,0,进仓06夹料夹紧SOL,Y335,Y335
DO,6,进仓06夹料放松SOL,ClampCylinder_Tighten,15,192.168.200.33,0,进仓06夹料放松SOL,Y336,Y336
,,,,,,,,,
DI,5,进仓05料盘检测,TrayCheck,0,192.168.200.34,0,进仓05料盘检测,X341,X341
DI,6,进仓06料盘检测,TrayCheck,1,192.168.200.34,0,进仓06料盘检测,X342,X342
,,,,2,192.168.200.34,0,,X343,X343
,,,,3,192.168.200.34,0,,X344,X344
,,,,4,192.168.200.34,0,,X345,X345
,,,,5,192.168.200.34,0,,X346,X346
,,,,6,192.168.200.34,0,,X347,X347
,,,,7,192.168.200.34,0,,X348,X348
,,,,,,,,,
DO,5,进仓05伺服刹车ON,UpDownAxis_BreakOn,0,192.168.200.34,0,进仓05伺服刹车ON,Y341,Y341
DO,6,进仓06伺服刹车ON,UpDownAxis_BreakOn,1,192.168.200.34,0,进仓06伺服刹车ON,Y342,Y342
DO,5,进仓05伺服运转ON,UpDownAxis_ServoOn,2,192.168.200.34,0,进仓05伺服运转ON,Y343,Y343
DO,6,进仓06伺服运转ON,UpDownAxis_ServoOn,3,192.168.200.34,0,进仓06伺服运转ON,Y344,Y344
,,,,4,192.168.200.34,0,,Y345,Y345
,,,,5,192.168.200.34,0,,Y346,Y346
,,,,6,192.168.200.34,0,,Y347,Y347
,,,,7,192.168.200.34,0,,Y348,Y348
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_06.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,0,,,,,
PRO,0,移栽上下移动料盘高度对应的上升位置,UpDownPositions,12=1000;16=1300;20=2000;24=2000;36=3000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,2,COM1,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
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,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
\ No newline at end of file
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_07.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,0,,,,,
PRO,0,移栽上下移动料盘高度对应的上升位置,UpDownPositions,12=1000;16=1300;20=2000;24=2000;36=3000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,2,COM1,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
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,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,7,进仓07阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.35,0,进仓07阻挡1托盘检测,X351,X351
DI,7,进仓07阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.35,0,进仓07阻挡2托盘检测,X352,X352
DI,7,进仓07顶升上升端,TopCylinder_UP,2,192.168.200.35,0,进仓07顶升上升端,X353,X353
DI,7,进仓07顶升下降端,TopCylinder_Down,3,192.168.200.35,0,进仓07顶升下降端,X354,X354
DI,7,进仓07横移前进端,BeforeAfterCylinder_Before,4,192.168.200.35,0,进仓07横移前进端,X355,X355
DI,7,进仓07横移后退端,BeforeAfterCylinder_After,5,192.168.200.35,0,进仓07横移后退端,X356,X356
DI,7,进仓07夹料夹紧端,ClampCylinder_Slack,6,192.168.200.35,0,进仓07夹料夹紧端,X357,X357
DI,7,进仓07夹料放松端,ClampCylinder_Tighten,7,192.168.200.35,0,进仓07夹料放松端,X358,X358
DI,8,进仓08阻挡1托盘检测,StopCylinder_Check1,8,192.168.200.35,0,进仓08阻挡1托盘检测,X359,X359
DI,8,进仓08阻挡2托盘检测,StopCylinder_Check2,9,192.168.200.35,0,进仓08阻挡2托盘检测,X360,X360
DI,8,进仓08顶升上升端,TopCylinder_UP,10,192.168.200.35,0,进仓08顶升上升端,X361,X361
DI,8,进仓08顶升下降端,TopCylinder_Down,11,192.168.200.35,0,进仓08顶升下降端,X362,X362
DI,8,进仓08横移前进端,BeforeAfterCylinder_Before,12,192.168.200.35,0,进仓08横移前进端,X363,X363
DI,8,进仓08横移后退端,BeforeAfterCylinder_After,13,192.168.200.35,0,进仓08横移后退端,X364,X364
DI,8,进仓08夹料夹紧端,ClampCylinder_Slack,14,192.168.200.35,0,进仓08夹料夹紧端,X365,X365
DI,8,进仓08夹料放松端,ClampCylinder_Tighten,15,192.168.200.35,0,进仓08夹料放松端,X366,X366
,,,,,,,,,
DO,7,进仓07阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.35,0,进仓07阻挡1下降SOL,Y351,Y351
DO,7,进仓07阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.35,0,进仓07阻挡2下降SOL,Y352,Y352
DO,7,进仓07顶升上升SOL,TopCylinder_UP,2,192.168.200.35,0,进仓07顶升上升SOL,Y353,Y353
DO,7,进仓07顶升下降SOL,TopCylinder_Down,3,192.168.200.35,0,进仓07顶升下降SOL,Y354,Y354
DO,7,进仓07横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.35,0,进仓07横移前进SOL,Y355,Y355
DO,7,进仓07横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.35,0,进仓07横移后退SOL,Y356,Y356
DO,7,进仓07夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.35,0,进仓07夹料夹紧SOL,Y357,Y357
DO,7,进仓07夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.35,0,进仓07夹料放松SOL,Y358,Y358
DO,8,进仓08阻挡1下降SOL,StopCylinder_Down1,8,192.168.200.35,0,进仓08阻挡1下降SOL,Y359,Y359
DO,8,进仓08阻挡2下降SOL,StopCylinder_Down2,9,192.168.200.35,0,进仓08阻挡2下降SOL,Y360,Y360
DO,8,进仓08顶升上升SOL,TopCylinder_UP,10,192.168.200.35,0,进仓08顶升上升SOL,Y361,Y361
DO,8,进仓08顶升下降SOL,TopCylinder_Down,11,192.168.200.35,0,进仓08顶升下降SOL,Y362,Y362
DO,8,进仓08横移前进SOL,BeforeAfterCylinder_Before,12,192.168.200.35,0,进仓08横移前进SOL,Y363,Y363
DO,8,进仓08横移后退SOL,BeforeAfterCylinder_After,13,192.168.200.35,0,进仓08横移后退SOL,Y364,Y364
DO,8,进仓08夹料夹紧SOL,ClampCylinder_Slack,14,192.168.200.35,0,进仓08夹料夹紧SOL,Y365,Y365
DO,8,进仓08夹料放松SOL,ClampCylinder_Tighten,15,192.168.200.35,0,进仓08夹料放松SOL,Y366,Y366
,,,,,,,,,
DI,7,进仓07料盘检测,TrayCheck,0,192.168.200.36,0,进仓07料盘检测,X371,X371
DI,8,进仓08料盘检测,TrayCheck,1,192.168.200.36,0,进仓08料盘检测,X372,X372
,,,,2,192.168.200.36,0,,X373,X373
,,,,3,192.168.200.36,0,,X374,X374
,,,,4,192.168.200.36,0,,X375,X375
,,,,5,192.168.200.36,0,,X376,X376
,,,,6,192.168.200.36,0,,X377,X377
,,,,7,192.168.200.36,0,,X378,X378
,,,,,,,,,
DO,7,进仓07伺服刹车ON,UpDownAxis_BreakOn,0,192.168.200.36,0,进仓07伺服刹车ON,Y371,Y371
DO,8,进仓08伺服刹车ON,UpDownAxis_BreakOn,1,192.168.200.36,0,进仓08伺服刹车ON,Y372,Y372
DO,7,进仓07伺服运转ON,UpDownAxis_ServoOn,2,192.168.200.36,0,进仓07伺服运转ON,Y373,Y373
DO,8,进仓08伺服运转ON,UpDownAxis_ServoOn,3,192.168.200.36,0,进仓08伺服运转ON,Y374,Y374
,,,,4,192.168.200.36,0,,Y375,Y375
,,,,5,192.168.200.36,0,,Y376,Y376
,,,,6,192.168.200.36,0,,Y377,Y377
,,,,7,192.168.200.36,0,,Y378,Y378
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_09.csv
查看文件 @
27d4a2b
...
...
@@ -2,8 +2,8 @@
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
...
...
@@ -14,3 +14,55 @@ PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,,,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,9,进仓09阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.37,0,进仓09阻挡1托盘检测,X381,X381
DI,9,进仓09阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.37,0,进仓09阻挡2托盘检测,X382,X382
DI,9,进仓09顶升上升端,TopCylinder_UP,2,192.168.200.37,0,进仓09顶升上升端,X383,X383
DI,9,进仓09顶升下降端,TopCylinder_Down,3,192.168.200.37,0,进仓09顶升下降端,X384,X384
DI,9,进仓09横移前进端,BeforeAfterCylinder_Before,4,192.168.200.37,0,进仓09横移前进端,X385,X385
DI,9,进仓09横移后退端,BeforeAfterCylinder_After,5,192.168.200.37,0,进仓09横移后退端,X386,X386
DI,9,进仓09夹料夹紧端,ClampCylinder_Slack,6,192.168.200.37,0,进仓09夹料夹紧端,X387,X387
DI,9,进仓09夹料放松端,ClampCylinder_Tighten,7,192.168.200.37,0,进仓09夹料放松端,X388,X388
DI,10,进仓10阻挡1托盘检测,StopCylinder_Check1,8,192.168.200.37,0,进仓10阻挡1托盘检测,X389,X389
DI,10,进仓10阻挡2托盘检测,StopCylinder_Check2,9,192.168.200.37,0,进仓10阻挡2托盘检测,X390,X390
DI,10,进仓10顶升上升端,TopCylinder_UP,10,192.168.200.37,0,进仓10顶升上升端,X391,X391
DI,10,进仓10顶升下降端,TopCylinder_Down,11,192.168.200.37,0,进仓10顶升下降端,X392,X392
DI,10,进仓10横移前进端,BeforeAfterCylinder_Before,12,192.168.200.37,0,进仓10横移前进端,X393,X393
DI,10,进仓10横移后退端,BeforeAfterCylinder_After,13,192.168.200.37,0,进仓10横移后退端,X394,X394
DI,10,进仓10夹料夹紧端,ClampCylinder_Slack,14,192.168.200.37,0,进仓10夹料夹紧端,X395,X395
DI,10,进仓10夹料放松端,ClampCylinder_Tighten,15,192.168.200.37,0,进仓10夹料放松端,X396,X396
,,,,,,,,,
DO,9,进仓09阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.37,0,进仓09阻挡1下降SOL,Y381,Y381
DO,9,进仓09阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.37,0,进仓09阻挡2下降SOL,Y382,Y382
DO,9,进仓09顶升上升SOL,TopCylinder_UP,2,192.168.200.37,0,进仓09顶升上升SOL,Y383,Y383
DO,9,进仓09顶升下降SOL,TopCylinder_Down,3,192.168.200.37,0,进仓09顶升下降SOL,Y384,Y384
DO,9,进仓09横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.37,0,进仓09横移前进SOL,Y385,Y385
DO,9,进仓09横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.37,0,进仓09横移后退SOL,Y386,Y386
DO,9,进仓09夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.37,0,进仓09夹料夹紧SOL,Y387,Y387
DO,9,进仓09夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.37,0,进仓09夹料放松SOL,Y388,Y388
DO,10,进仓10阻挡1下降SOL,StopCylinder_Down1,8,192.168.200.37,0,进仓10阻挡1下降SOL,Y389,Y389
DO,10,进仓10阻挡2下降SOL,StopCylinder_Down2,9,192.168.200.37,0,进仓10阻挡2下降SOL,Y390,Y390
DO,10,进仓10顶升上升SOL,TopCylinder_UP,10,192.168.200.37,0,进仓10顶升上升SOL,Y391,Y391
DO,10,进仓10顶升下降SOL,TopCylinder_Down,11,192.168.200.37,0,进仓10顶升下降SOL,Y392,Y392
DO,10,进仓10横移前进SOL,BeforeAfterCylinder_Before,12,192.168.200.37,0,进仓10横移前进SOL,Y393,Y393
DO,10,进仓10横移后退SOL,BeforeAfterCylinder_After,13,192.168.200.37,0,进仓10横移后退SOL,Y394,Y394
DO,10,进仓10夹料夹紧SOL,ClampCylinder_Slack,14,192.168.200.37,0,进仓10夹料夹紧SOL,Y395,Y395
DO,10,进仓10夹料放松SOL,ClampCylinder_Tighten,15,192.168.200.37,0,进仓10夹料放松SOL,Y396,Y396
,,,,,,,,,
DI,9,进仓09料盘检测,TrayCheck,0,192.168.200.38,0,进仓09料盘检测,X401,X401
DI,10,进仓10料盘检测,TrayCheck,1,192.168.200.38,0,进仓10料盘检测,X402,X402
,,环形线横移2阻挡检测,,2,192.168.200.38,0,环形线横移2阻挡检测,X403,X403
,,,,3,192.168.200.38,0,,X404,X404
,,,,4,192.168.200.38,0,,X405,X405
,,,,5,192.168.200.38,0,,X406,X406
,,,,6,192.168.200.38,0,,X407,X407
,,,,7,192.168.200.38,0,,X408,X408
,,,,,,,,,
DO,9,进仓09伺服刹车ON,UpDownAxis_BreakOn,0,192.168.200.38,0,进仓09伺服刹车ON,Y401,Y401
DO,10,进仓10伺服刹车ON,UpDownAxis_BreakOn,1,192.168.200.38,0,进仓10伺服刹车ON,Y402,Y402
DO,9,进仓09伺服运转ON,UpDownAxis_ServoOn,2,192.168.200.38,0,进仓09伺服运转ON,Y403,Y403
DO,10,进仓10伺服运转ON,UpDownAxis_ServoOn,3,192.168.200.38,0,进仓10伺服运转ON,Y404,Y404
,,环形线横移2阻挡下降SOL,,4,192.168.200.38,0,环形线横移2阻挡下降SOL,Y405,Y405
,,,,5,192.168.200.38,0,,Y406,Y406
,,,,6,192.168.200.38,0,,Y407,Y407
,,,,7,192.168.200.38,0,,Y408,Y408
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_11.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
...
...
@@ -14,3 +14,71 @@ PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,,,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,11,进仓11阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.39,0,进仓11阻挡1托盘检测,X411,X411
DI,11,进仓11阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.39,0,进仓11阻挡2托盘检测,X412,X412
DI,11,进仓11顶升上升端,TopCylinder_UP,2,192.168.200.39,0,进仓11顶升上升端,X413,X413
DI,11,进仓11顶升下降端,TopCylinder_Down,3,192.168.200.39,0,进仓11顶升下降端,X414,X414
DI,11,进仓11横移前进端,BeforeAfterCylinder_Before,4,192.168.200.39,0,进仓11横移前进端,X415,X415
DI,11,进仓11横移后退端,BeforeAfterCylinder_After,5,192.168.200.39,0,进仓11横移后退端,X416,X416
DI,11,进仓11夹料夹紧端,ClampCylinder_Slack,6,192.168.200.39,0,进仓11夹料夹紧端,X417,X417
DI,11,进仓11夹料放松端,ClampCylinder_Tighten,7,192.168.200.39,0,进仓11夹料放松端,X418,X418
DI,11,进仓11升降上升端,UpDownCylinder_Up,8,192.168.200.39,0,进仓11升降上升端,X419,X419
DI,11,进仓11升降下降端,UpDownCylinder_Down,9,192.168.200.39,0,进仓11升降下降端,X420,X420
DI,12,进仓12阻挡1托盘检测,Fixture_Check_1,10,192.168.200.39,0,进仓12阻挡1托盘检测,X421,X421
DI,12,进仓12阻挡2托盘检测,Fixture_Check_2,11,192.168.200.39,0,进仓12阻挡2托盘检测,X422,X422
DI,12,进仓12顶升上升端,TopCylinder_UP,12,192.168.200.39,0,进仓12顶升上升端,X423,X423
DI,12,进仓12顶升下降端,TopCylinder_Down,13,192.168.200.39,0,进仓12顶升下降端,X424,X424
DI,12,进仓12横移前进端,BeforeAfterCylinder_Before,14,192.168.200.39,0,进仓12横移前进端,X425,X425
DI,12,进仓12横移后退端,BeforeAfterCylinder_After,15,192.168.200.39,0,进仓12横移后退端,X426,X426
,,,,,,,,,
DO,11,进仓11阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.39,0,进仓11阻挡1下降SOL,Y411,Y411
DO,11,进仓11阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.39,0,进仓11阻挡2下降SOL,Y412,Y412
DO,11,进仓11顶升上升SOL,TopCylinder_UP,2,192.168.200.39,0,进仓11顶升上升SOL,Y413,Y413
DO,11,进仓11顶升下降SOL,TopCylinder_Down,3,192.168.200.39,0,进仓11顶升下降SOL,Y414,Y414
DO,11,进仓11横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.39,0,进仓11横移前进SOL,Y415,Y415
DO,11,进仓11横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.39,0,进仓11横移后退SOL,Y416,Y416
DO,11,进仓11夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.39,0,进仓11夹料夹紧SOL,Y417,Y417
DO,11,进仓11夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.39,0,进仓11夹料放松SOL,Y418,Y418
DO,11,进仓11升降上升SOL,UpDownCylinder_Up,8,192.168.200.39,0,进仓11升降上升SOL,Y419,Y419
DO,11,进仓11升降下降SOL,UpDownCylinder_Down,9,192.168.200.39,0,进仓11升降下降SOL,Y420,Y420
DO,12,进仓12阻挡1下降SOL,StopCylinder_Down1,10,192.168.200.39,0,进仓12阻挡1下降SOL,Y421,Y421
DO,12,进仓12阻挡2下降SOL,StopCylinder_Down2,11,192.168.200.39,0,进仓12阻挡2下降SOL,Y422,Y422
DO,12,进仓12顶升上升SOL,TopCylinder_UP,12,192.168.200.39,0,进仓12顶升上升SOL,Y423,Y423
DO,12,进仓12顶升下降SOL,TopCylinder_Down,13,192.168.200.39,0,进仓12顶升下降SOL,Y424,Y424
DO,12,进仓12横移前进SOL,BeforeAfterCylinder_Before,14,192.168.200.39,0,进仓12横移前进SOL,Y425,Y425
DO,12,进仓12横移后退SOL,BeforeAfterCylinder_After,15,192.168.200.39,0,进仓12横移后退SOL,Y426,Y426
,,,,,,,,,
DI,12,进仓12夹料夹紧端,ClampCylinder_Slack,0,192.168.200.40,0,进仓12夹料夹紧端,X431,X431
DI,12,进仓12夹料放松端,ClampCylinder_Tighten,1,192.168.200.40,0,进仓12夹料放松端,X432,X432
DI,12,进仓12升降上升端,UpDownCylinder_Up,2,192.168.200.40,0,进仓12升降上升端,X433,X433
DI,12,进仓12升降下降端,UpDownCylinder_Down,3,192.168.200.40,0,进仓12升降下降端,X434,X434
DI,201,出料1阻挡1托盘检测,StopCylinder_Check1,4,192.168.200.40,0,出料1阻挡1托盘检测,X435,X435
DI,201,出料1阻挡2托盘检测,StopCylinder_Check2,5,192.168.200.40,0,出料1阻挡2托盘检测,X436,X436
DI,201,出料1料盘检测,TrayCheck,6,192.168.200.40,0,出料1料盘检测,X437,X437
DI,201,出料1顶升上升端,TopCylinder_UP,7,192.168.200.40,0,出料1顶升上升端,X438,X438
DI,201,出料1顶升下降端,TopCylinder_Down,8,192.168.200.40,,出料1顶升下降端,X439,X439
DI,201,出料1前后气缸前进端,BeforeAfterCylinder_Before,9,192.168.200.40,,出料1前后气缸前进端,X440,X440
DI,201,出料1前后气缸后退端,BeforeAfterCylinder_After,10,192.168.200.40,,出料1前后气缸后退端,X441,X441
DI,201,出料1夹料气缸夹紧端,ClampCylinder_Slack,11,192.168.200.40,,出料1夹料气缸夹紧端,X442,X442
DI,201,出料1夹料气缸放松端,ClampCylinder_Tighten,12,192.168.200.40,,出料1夹料气缸放松端,X443,X443
DI,201,出料1上下气缸上升端,UpDownCylinder_Up,13,192.168.200.40,,出料1上下气缸上升端,X444,X444
DI,201,出料1上下气缸下降端,UpDownCylinder_Down,14,192.168.200.40,,出料1上下气缸下降端,X445,X445
,,,,15,192.168.200.40,,,X446,X446
,,,,,,,,,
DO,12,进仓12夹料夹紧SOL,ClampCylinder_Slack,0,192.168.200.40,0,进仓12夹料夹紧SOL,Y431,Y431
DO,12,进仓12夹料放松SOL,ClampCylinder_Tighten,1,192.168.200.40,0,进仓12夹料放松SOL,Y432,Y432
DO,12,进仓12升降上升SOL,UpDownCylinder_Up,2,192.168.200.40,0,进仓12升降上升SOL,Y433,Y433
DO,12,进仓12升降下降SOL,UpDownCylinder_Down,3,192.168.200.40,0,进仓12升降下降SOL,Y434,Y434
DO,201,出料1阻挡1下降SOL,StopCylinder_Down1,4,192.168.200.40,0,出料1阻挡1下降SOL,Y435,Y435
DO,201,出料1阻挡2下降SOL,StopCylinder_Down2,5,192.168.200.40,0,出料1阻挡2下降SOL,Y436,Y436
DO,201,出料1顶升上升SOL,TopCylinder_UP,6,192.168.200.40,0,出料1顶升上升SOL,Y437,Y437
DO,201,出料1顶升下降SOL,TopCylinder_Down,7,192.168.200.40,0,出料1顶升下降SOL,Y438,Y438
DO,201,出料1前后气缸前进SOL,BeforeAfterCylinder_Before,8,192.168.200.40,,出料1前后气缸前进SOL,Y439,Y439
DO,201,出料1前后气缸后退SOL,BeforeAfterCylinder_After,9,192.168.200.40,,出料1前后气缸后退SOL,Y440,Y440
DO,201,出料1夹料气缸夹紧SOL,ClampCylinder_Slack,10,192.168.200.40,,出料1夹料气缸夹紧SOL,Y441,Y441
DO,201,出料1夹料气缸放松SOL,ClampCylinder_Tighten,11,192.168.200.40,,出料1夹料气缸放松SOL,Y442,Y442
DO,201,出料1上下气缸上升SOL,UpDownCylinder_Up,12,192.168.200.40,,出料1上下气缸上升SOL,Y443,Y443
DO,201,出料1上下气缸下降SOL,UpDownCylinder_Down,13,192.168.200.40,,出料1上下气缸下降SOL,Y444,Y444
,,,,14,192.168.200.40,,,Y445,Y445
,,,,15,192.168.200.40,,,Y446,Y446
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_12.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
...
...
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_13.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
...
...
@@ -14,3 +14,71 @@ PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,,,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,13,进仓13阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.41,0,进仓13阻挡1托盘检测,X451,X451
DI,13,进仓13阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.41,0,进仓13阻挡2托盘检测,X452,X452
DI,13,进仓13顶升上升端,TopCylinder_UP,2,192.168.200.41,0,进仓13顶升上升端,X453,X453
DI,13,进仓13顶升下降端,TopCylinder_Down,3,192.168.200.41,0,进仓13顶升下降端,X454,X454
DI,13,进仓13横移前进端,BeforeAfterCylinder_Before,4,192.168.200.41,0,进仓13横移前进端,X455,X455
DI,13,进仓13横移后退端,BeforeAfterCylinder_After,5,192.168.200.41,0,进仓13横移后退端,X456,X456
DI,13,进仓13夹料夹紧端,ClampCylinder_Slack,6,192.168.200.41,0,进仓13夹料夹紧端,X457,X457
DI,13,进仓13夹料放松端,ClampCylinder_Tighten,7,192.168.200.41,0,进仓13夹料放松端,X458,X458
DI,13,进仓13升降上升端,UpDownCylinder_Up,8,192.168.200.41,0,进仓13升降上升端,X459,X459
DI,13,进仓13升降下降端,UpDownCylinder_Down,9,192.168.200.41,0,进仓13升降下降端,X460,X460
DI,14,进仓14阻挡1托盘检测,Fixture_Check_1,10,192.168.200.41,0,进仓14阻挡1托盘检测,X461,X461
DI,14,进仓14阻挡2托盘检测,Fixture_Check_2,11,192.168.200.41,0,进仓14阻挡2托盘检测,X462,X462
DI,14,进仓14顶升上升端,TopCylinder_UP,12,192.168.200.41,0,进仓14顶升上升端,X463,X463
DI,14,进仓14顶升下降端,TopCylinder_Down,13,192.168.200.41,0,进仓14顶升下降端,X464,X464
DI,14,进仓14横移前进端,BeforeAfterCylinder_Before,14,192.168.200.41,0,进仓14横移前进端,X465,X465
DI,14,进仓14横移后退端,BeforeAfterCylinder_After,15,192.168.200.41,0,进仓14横移后退端,X466,X466
,,,,,,,,,
DO,13,进仓13阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.41,0,进仓13阻挡1下降SOL,Y451,Y451
DO,13,进仓13阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.41,0,进仓13阻挡2下降SOL,Y452,Y452
DO,13,进仓13顶升上升SOL,TopCylinder_UP,2,192.168.200.41,0,进仓13顶升上升SOL,Y453,Y453
DO,13,进仓13顶升下降SOL,TopCylinder_Down,3,192.168.200.41,0,进仓13顶升下降SOL,Y454,Y454
DO,13,进仓13横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.41,0,进仓13横移前进SOL,Y455,Y455
DO,13,进仓13横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.41,0,进仓13横移后退SOL,Y456,Y456
DO,13,进仓13夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.41,0,进仓13夹料夹紧SOL,Y457,Y457
DO,13,进仓13夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.41,0,进仓13夹料放松SOL,Y458,Y458
DO,13,进仓13升降上升SOL,UpDownCylinder_Up,8,192.168.200.41,0,进仓13升降上升SOL,Y459,Y459
DO,13,进仓13升降下降SOL,UpDownCylinder_Down,9,192.168.200.41,0,进仓13升降下降SOL,Y460,Y460
DO,14,进仓14阻挡1下降SOL,StopCylinder_Down1,10,192.168.200.41,0,进仓14阻挡1下降SOL,Y461,Y461
DO,14,进仓14阻挡2下降SOL,StopCylinder_Down2,11,192.168.200.41,0,进仓14阻挡2下降SOL,Y462,Y462
DO,14,进仓14顶升上升SOL,TopCylinder_UP,12,192.168.200.41,0,进仓14顶升上升SOL,Y463,Y463
DO,14,进仓14顶升下降SOL,TopCylinder_Down,13,192.168.200.41,0,进仓14顶升下降SOL,Y464,Y464
DO,14,进仓14横移前进SOL,BeforeAfterCylinder_Before,14,192.168.200.41,0,进仓14横移前进SOL,Y465,Y465
DO,14,进仓14横移后退SOL,BeforeAfterCylinder_After,15,192.168.200.41,0,进仓14横移后退SOL,Y466,Y466
,,,,,,,,,
DI,14,进仓14夹料夹紧端,ClampCylinder_Slack,0,192.168.200.42,0,进仓14夹料夹紧端,X471,X471
DI,14,进仓14夹料放松端,ClampCylinder_Tighten,1,192.168.200.42,0,进仓14夹料放松端,X472,X472
DI,14,进仓14升降上升端,UpDownCylinder_Up,2,192.168.200.42,0,进仓14升降上升端,X473,X473
DI,14,进仓14升降下降端,UpDownCylinder_Down,3,192.168.200.42,0,进仓14升降下降端,X474,X474
DI,202,出料2阻挡1托盘检测,StopCylinder_Check1,4,192.168.200.42,0,出料2阻挡1托盘检测,X475,X475
DI,202,出料2阻挡2托盘检测,StopCylinder_Check2,5,192.168.200.42,0,出料2阻挡2托盘检测,X476,X476
DI,202,出料2料盘检测,TrayCheck,6,192.168.200.42,0,出料2料盘检测,X477,X477
DI,202,出料2顶升上升端,TopCylinder_UP,7,192.168.200.42,0,出料2顶升上升端,X478,X478
DI,202,出料2顶升下降端,TopCylinder_Down,8,192.168.200.42,,出料2顶升下降端,X479,X479
DI,202,出料2前后气缸前进端,BeforeAfterCylinder_Before,9,192.168.200.42,,出料2前后气缸前进端,X480,X480
DI,202,出料2前后气缸后退端,BeforeAfterCylinder_After,10,192.168.200.42,,出料2前后气缸后退端,X481,X481
DI,202,出料2夹料气缸夹紧端,ClampCylinder_Slack,11,192.168.200.42,,出料2夹料气缸夹紧端,X482,X482
DI,202,出料2夹料气缸放松端,ClampCylinder_Tighten,12,192.168.200.42,,出料2夹料气缸放松端,X483,X483
DI,202,出料2上下气缸上升端,UpDownCylinder_Up,13,192.168.200.42,,出料2上下气缸上升端,X484,X484
DI,202,出料2上下气缸下降端,UpDownCylinder_Down,14,192.168.200.42,,出料2上下气缸下降端,X485,X485
,,,,15,192.168.200.42,,,X486,X486
,,,,,,,,,
DO,14,进仓14夹料夹紧SOL,ClampCylinder_Slack,0,192.168.200.42,0,进仓14夹料夹紧SOL,Y471,Y471
DO,14,进仓14夹料放松SOL,ClampCylinder_Tighten,1,192.168.200.42,0,进仓14夹料放松SOL,Y472,Y472
DO,14,进仓14升降上升SOL,UpDownCylinder_Up,2,192.168.200.42,0,进仓14升降上升SOL,Y473,Y473
DO,14,进仓14升降下降SOL,UpDownCylinder_Down,3,192.168.200.42,0,进仓14升降下降SOL,Y474,Y474
DO,202,出料2阻挡1下降SOL,StopCylinder_Down1,4,192.168.200.42,0,出料2阻挡1下降SOL,Y475,Y475
DO,202,出料2阻挡2下降SOL,StopCylinder_Down2,5,192.168.200.42,0,出料2阻挡2下降SOL,Y476,Y476
DO,202,出料2顶升上升SOL,TopCylinder_UP,6,192.168.200.42,0,出料2顶升上升SOL,Y477,Y477
DO,202,出料2顶升下降SOL,TopCylinder_Down,7,192.168.200.42,0,出料2顶升下降SOL,Y478,Y478
DO,202,出料2前后气缸前进SOL,BeforeAfterCylinder_Before,8,192.168.200.42,,出料2前后气缸前进SOL,Y479,Y479
DO,202,出料2前后气缸后退SOL,BeforeAfterCylinder_After,9,192.168.200.42,,出料2前后气缸后退SOL,Y480,Y480
DO,202,出料2夹料气缸夹紧SOL,ClampCylinder_Slack,10,192.168.200.42,,出料2夹料气缸夹紧SOL,Y481,Y481
DO,202,出料2夹料气缸放松SOL,ClampCylinder_Tighten,11,192.168.200.42,,出料2夹料气缸放松SOL,Y482,Y482
DO,202,出料2上下气缸上升SOL,UpDownCylinder_Up,12,192.168.200.42,,出料2上下气缸上升SOL,Y483,Y483
DO,202,出料2上下气缸下降SOL,UpDownCylinder_Down,13,192.168.200.42,,出料2上下气缸下降SOL,Y484,Y484
,,,,14,192.168.200.42,,,Y485,Y485
,,,,15,192.168.200.42,,,Y486,Y486
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_14.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
...
...
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_15.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
...
...
@@ -14,3 +14,71 @@ PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,,,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,15,进仓15阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.43,0,进仓15阻挡1托盘检测,X491,X491
DI,15,进仓15阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.43,0,进仓15阻挡2托盘检测,X492,X492
DI,15,进仓15顶升上升端,TopCylinder_UP,2,192.168.200.43,0,进仓15顶升上升端,X493,X493
DI,15,进仓15顶升下降端,TopCylinder_Down,3,192.168.200.43,0,进仓15顶升下降端,X494,X494
DI,15,进仓15横移前进端,BeforeAfterCylinder_Before,4,192.168.200.43,0,进仓15横移前进端,X495,X495
DI,15,进仓15横移后退端,BeforeAfterCylinder_After,5,192.168.200.43,0,进仓15横移后退端,X496,X496
DI,15,进仓15夹料夹紧端,ClampCylinder_Slack,6,192.168.200.43,0,进仓15夹料夹紧端,X497,X497
DI,15,进仓15夹料放松端,ClampCylinder_Tighten,7,192.168.200.43,0,进仓15夹料放松端,X498,X498
DI,15,进仓15升降上升端,UpDownCylinder_Up,8,192.168.200.43,0,进仓15升降上升端,X499,X499
DI,15,进仓15升降下降端,UpDownCylinder_Down,9,192.168.200.43,0,进仓15升降下降端,X500,X500
DI,16,进仓16阻挡1托盘检测,Fixture_Check_1,10,192.168.200.43,0,进仓16阻挡1托盘检测,X501,X501
DI,16,进仓16阻挡2托盘检测,Fixture_Check_2,11,192.168.200.43,0,进仓16阻挡2托盘检测,X502,X502
DI,16,进仓16顶升上升端,TopCylinder_UP,12,192.168.200.43,0,进仓16顶升上升端,X503,X503
DI,16,进仓16顶升下降端,TopCylinder_Down,13,192.168.200.43,0,进仓16顶升下降端,X504,X504
DI,16,进仓16横移前进端,BeforeAfterCylinder_Before,14,192.168.200.43,0,进仓16横移前进端,X505,X505
DI,16,进仓16横移后退端,BeforeAfterCylinder_After,15,192.168.200.43,0,进仓16横移后退端,X506,X506
,,,,,,,,,
DO,15,进仓15阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.43,0,进仓15阻挡1下降SOL,Y491,Y491
DO,15,进仓15阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.43,0,进仓15阻挡2下降SOL,Y492,Y492
DO,15,进仓15顶升上升SOL,TopCylinder_UP,2,192.168.200.43,0,进仓15顶升上升SOL,Y493,Y493
DO,15,进仓15顶升下降SOL,TopCylinder_Down,3,192.168.200.43,0,进仓15顶升下降SOL,Y494,Y494
DO,15,进仓15横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.43,0,进仓15横移前进SOL,Y495,Y495
DO,15,进仓15横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.43,0,进仓15横移后退SOL,Y496,Y496
DO,15,进仓15夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.43,0,进仓15夹料夹紧SOL,Y497,Y497
DO,15,进仓15夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.43,0,进仓15夹料放松SOL,Y498,Y498
DO,15,进仓15升降上升SOL,UpDownCylinder_Up,8,192.168.200.43,0,进仓15升降上升SOL,Y499,Y499
DO,15,进仓15升降下降SOL,UpDownCylinder_Down,9,192.168.200.43,0,进仓15升降下降SOL,Y500,Y500
DO,16,进仓16阻挡1下降SOL,StopCylinder_Down1,10,192.168.200.43,0,进仓16阻挡1下降SOL,Y501,Y501
DO,16,进仓16阻挡2下降SOL,StopCylinder_Down2,11,192.168.200.43,0,进仓16阻挡2下降SOL,Y502,Y502
DO,16,进仓16顶升上升SOL,TopCylinder_UP,12,192.168.200.43,0,进仓16顶升上升SOL,Y503,Y503
DO,16,进仓16顶升下降SOL,TopCylinder_Down,13,192.168.200.43,0,进仓16顶升下降SOL,Y504,Y504
DO,16,进仓16横移前进SOL,BeforeAfterCylinder_Before,14,192.168.200.43,0,进仓16横移前进SOL,Y505,Y505
DO,16,进仓16横移后退SOL,BeforeAfterCylinder_After,15,192.168.200.43,0,进仓16横移后退SOL,Y506,Y506
,,,,,,,,,
DI,16,进仓16夹料夹紧端,ClampCylinder_Slack,0,192.168.200.44,0,进仓16夹料夹紧端,X511,X511
DI,16,进仓16夹料放松端,ClampCylinder_Tighten,1,192.168.200.44,0,进仓16夹料放松端,X512,X512
DI,16,进仓16升降上升端,UpDownCylinder_Up,2,192.168.200.44,0,进仓16升降上升端,X513,X513
DI,16,进仓16升降下降端,UpDownCylinder_Down,3,192.168.200.44,0,进仓16升降下降端,X514,X514
DI,203,出料3阻挡1托盘检测,StopCylinder_Check1,4,192.168.200.44,0,出料3阻挡1托盘检测,X515,X515
DI,203,出料3阻挡2托盘检测,StopCylinder_Check2,5,192.168.200.44,0,出料3阻挡2托盘检测,X516,X516
DI,203,出料3料盘检测,TrayCheck,6,192.168.200.44,0,出料3料盘检测,X517,X517
DI,203,出料3顶升上升端,TopCylinder_UP,7,192.168.200.44,0,出料3顶升上升端,X518,X518
DI,203,出料3顶升下降端,TopCylinder_Down,8,192.168.200.44,,出料3顶升下降端,X519,X519
DI,203,出料3前后气缸前进端,BeforeAfterCylinder_Before,9,192.168.200.44,,出料3前后气缸前进端,X520,X520
DI,203,出料3前后气缸后退端,BeforeAfterCylinder_After,10,192.168.200.44,,出料3前后气缸后退端,X521,X521
DI,203,出料3夹料气缸夹紧端,ClampCylinder_Slack,11,192.168.200.44,,出料3夹料气缸夹紧端,X522,X522
DI,203,出料3夹料气缸放松端,ClampCylinder_Tighten,12,192.168.200.44,,出料3夹料气缸放松端,X523,X523
DI,203,出料3上下气缸上升端,UpDownCylinder_Up,13,192.168.200.44,,出料3上下气缸上升端,X524,X524
DI,203,出料3上下气缸下降端,UpDownCylinder_Down,14,192.168.200.44,,出料3上下气缸下降端,X525,X525
,,,,15,192.168.200.44,,,X526,X526
,,,,,,,,,
DO,16,进仓16夹料夹紧SOL,ClampCylinder_Slack,0,192.168.200.44,0,进仓16夹料夹紧SOL,Y511,Y511
DO,16,进仓16夹料放松SOL,ClampCylinder_Tighten,1,192.168.200.44,0,进仓16夹料放松SOL,Y512,Y512
DO,16,进仓16升降上升SOL,UpDownCylinder_Up,2,192.168.200.44,0,进仓16升降上升SOL,Y513,Y513
DO,16,进仓16升降下降SOL,UpDownCylinder_Down,3,192.168.200.44,0,进仓16升降下降SOL,Y514,Y514
DO,203,出料3阻挡1下降SOL,StopCylinder_Down1,4,192.168.200.44,0,出料3阻挡1下降SOL,Y515,Y515
DO,203,出料3阻挡2下降SOL,StopCylinder_Down2,5,192.168.200.44,0,出料3阻挡2下降SOL,Y516,Y516
DO,203,出料3顶升上升SOL,TopCylinder_UP,6,192.168.200.44,0,出料3顶升上升SOL,Y517,Y517
DO,203,出料3顶升下降SOL,TopCylinder_Down,7,192.168.200.44,0,出料3顶升下降SOL,Y518,Y518
DO,203,出料3前后气缸前进SOL,BeforeAfterCylinder_Before,8,192.168.200.44,,出料3前后气缸前进SOL,Y519,Y519
DO,203,出料3前后气缸后退SOL,BeforeAfterCylinder_After,9,192.168.200.44,,出料3前后气缸后退SOL,Y520,Y520
DO,203,出料3夹料气缸夹紧SOL,ClampCylinder_Slack,10,192.168.200.44,,出料3夹料气缸夹紧SOL,Y521,Y521
DO,203,出料3夹料气缸放松SOL,ClampCylinder_Tighten,11,192.168.200.44,,出料3夹料气缸放松SOL,Y522,Y522
DO,203,出料3上下气缸上升SOL,UpDownCylinder_Up,12,192.168.200.44,,出料3上下气缸上升SOL,Y523,Y523
DO,203,出料3上下气缸下降SOL,UpDownCylinder_Down,13,192.168.200.44,,出料3上下气缸下降SOL,Y524,Y524
,,,,14,192.168.200.44,,,Y525,Y525
,,,,15,192.168.200.44,,,Y526,Y526
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_16.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
...
...
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_17.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,20000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
...
...
@@ -14,3 +14,71 @@ PRO,0,移栽上下轴原点高速,UpdownAxis_HomeHighSpeed,200,,,,,
PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
PRO,0,移栽上下轴走到待机点速度,UpdownAxis_P1Speed,400,,,,,
,,,,,,,,,
DI,17,进仓17阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.45,0,进仓17阻挡1托盘检测,X531,X531
DI,17,进仓17阻挡2托盘检测,StopCylinder_Check2,1,192.168.200.45,0,进仓17阻挡2托盘检测,X532,X532
DI,17,进仓17顶升上升端,TopCylinder_UP,2,192.168.200.45,0,进仓17顶升上升端,X533,X533
DI,17,进仓17顶升下降端,TopCylinder_Down,3,192.168.200.45,0,进仓17顶升下降端,X534,X534
DI,17,进仓17横移前进端,BeforeAfterCylinder_Before,4,192.168.200.45,0,进仓17横移前进端,X535,X535
DI,17,进仓17横移后退端,BeforeAfterCylinder_After,5,192.168.200.45,0,进仓17横移后退端,X536,X536
DI,17,进仓17夹料夹紧端,ClampCylinder_Slack,6,192.168.200.45,0,进仓17夹料夹紧端,X537,X537
DI,17,进仓17夹料放松端,ClampCylinder_Tighten,7,192.168.200.45,0,进仓17夹料放松端,X538,X538
DI,17,进仓17升降上升端,UpDownCylinder_Up,8,192.168.200.45,0,进仓17升降上升端,X539,X539
DI,17,进仓17升降下降端,UpDownCylinder_Down,9,192.168.200.45,0,进仓17升降下降端,X540,X540
DI,18,进仓18阻挡1托盘检测,Fixture_Check_1,10,192.168.200.45,0,进仓18阻挡1托盘检测,X541,X541
DI,18,进仓18阻挡2托盘检测,Fixture_Check_2,11,192.168.200.45,0,进仓18阻挡2托盘检测,X542,X542
DI,18,进仓18顶升上升端,TopCylinder_UP,12,192.168.200.45,0,进仓18顶升上升端,X543,X543
DI,18,进仓18顶升下降端,TopCylinder_Down,13,192.168.200.45,0,进仓18顶升下降端,X544,X544
DI,18,进仓18横移前进端,BeforeAfterCylinder_Before,14,192.168.200.45,0,进仓18横移前进端,X545,X545
DI,18,进仓18横移后退端,BeforeAfterCylinder_After,15,192.168.200.45,0,进仓18横移后退端,X546,X546
,,,,,,,,,
DO,17,进仓17阻挡1下降SOL,StopCylinder_Down1,0,192.168.200.45,0,进仓17阻挡1下降SOL,Y531,Y531
DO,17,进仓17阻挡2下降SOL,StopCylinder_Down2,1,192.168.200.45,0,进仓17阻挡2下降SOL,Y532,Y532
DO,17,进仓17顶升上升SOL,TopCylinder_UP,2,192.168.200.45,0,进仓17顶升上升SOL,Y533,Y533
DO,17,进仓17顶升下降SOL,TopCylinder_Down,3,192.168.200.45,0,进仓17顶升下降SOL,Y534,Y534
DO,17,进仓17横移前进SOL,BeforeAfterCylinder_Before,4,192.168.200.45,0,进仓17横移前进SOL,Y535,Y535
DO,17,进仓17横移后退SOL,BeforeAfterCylinder_After,5,192.168.200.45,0,进仓17横移后退SOL,Y536,Y536
DO,17,进仓17夹料夹紧SOL,ClampCylinder_Slack,6,192.168.200.45,0,进仓17夹料夹紧SOL,Y537,Y537
DO,17,进仓17夹料放松SOL,ClampCylinder_Tighten,7,192.168.200.45,0,进仓17夹料放松SOL,Y538,Y538
DO,17,进仓17升降上升SOL,UpDownCylinder_Up,8,192.168.200.45,0,进仓17升降上升SOL,Y539,Y539
DO,17,进仓17升降下降SOL,UpDownCylinder_Down,9,192.168.200.45,0,进仓17升降下降SOL,Y540,Y540
DO,18,进仓18阻挡1下降SOL,StopCylinder_Down1,10,192.168.200.45,0,进仓18阻挡1下降SOL,Y541,Y541
DO,18,进仓18阻挡2下降SOL,StopCylinder_Down2,11,192.168.200.45,0,进仓18阻挡2下降SOL,Y542,Y542
DO,18,进仓18顶升上升SOL,TopCylinder_UP,12,192.168.200.45,0,进仓18顶升上升SOL,Y543,Y543
DO,18,进仓18顶升下降SOL,TopCylinder_Down,13,192.168.200.45,0,进仓18顶升下降SOL,Y544,Y544
DO,18,进仓18横移前进SOL,BeforeAfterCylinder_Before,14,192.168.200.45,0,进仓18横移前进SOL,Y545,Y545
DO,18,进仓18横移后退SOL,BeforeAfterCylinder_After,15,192.168.200.45,0,进仓18横移后退SOL,Y546,Y546
,,,,,,,,,
DI,18,进仓18夹料夹紧端,ClampCylinder_Slack,0,192.168.200.46,0,进仓18夹料夹紧端,X551,X551
DI,18,进仓18夹料放松端,ClampCylinder_Tighten,1,192.168.200.46,0,进仓18夹料放松端,X552,X552
DI,18,进仓18升降上升端,UpDownCylinder_Up,2,192.168.200.46,0,进仓18升降上升端,X553,X553
DI,18,进仓18升降下降端,UpDownCylinder_Down,3,192.168.200.46,0,进仓18升降下降端,X554,X554
DI,204,出料4阻挡1托盘检测,StopCylinder_Check1,4,192.168.200.46,0,出料4阻挡1托盘检测,X555,X555
DI,204,环形线横移4托盘检测,StopCylinder_Check2,5,192.168.200.46,0,环形线横移4托盘检测,X556,X556
DI,204,环形线横移4顶升上升SOL,TrayCheck,6,192.168.200.46,0,环形线横移4顶升上升SOL,X557,X557
DI,204,环形线横移4顶升下降SOL,TopCylinder_UP,7,192.168.200.46,0,环形线横移4顶升下降SOL,X558,X558
DI,204,环形线横移4顶升下降端,TopCylinder_Down,8,192.168.200.46,,环形线横移4顶升下降端,X559,X559
DI,204,出料4前后气缸前进端,BeforeAfterCylinder_Before,9,192.168.200.46,,出料4前后气缸前进端,X560,X560
DI,204,出料4前后气缸后退端,BeforeAfterCylinder_After,10,192.168.200.46,,出料4前后气缸后退端,X561,X561
DI,204,出料4夹料气缸夹紧端,ClampCylinder_Slack,11,192.168.200.46,,出料4夹料气缸夹紧端,X562,X562
DI,204,出料4夹料气缸放松端,ClampCylinder_Tighten,12,192.168.200.46,,出料4夹料气缸放松端,X563,X563
DI,204,出料4上下气缸上升端,UpDownCylinder_Up,13,192.168.200.46,,出料4上下气缸上升端,X564,X564
DI,204,出料4上下气缸下降端,UpDownCylinder_Down,14,192.168.200.46,,出料4上下气缸下降端,X565,X565
,,,,15,192.168.200.46,,,X566,X566
,,,,,,,,,
DO,18,进仓18夹料夹紧SOL,ClampCylinder_Slack,0,192.168.200.46,0,进仓18夹料夹紧SOL,Y551,Y551
DO,18,进仓18夹料放松SOL,ClampCylinder_Tighten,1,192.168.200.46,0,进仓18夹料放松SOL,Y552,Y552
DO,18,进仓18升降上升SOL,UpDownCylinder_Up,2,192.168.200.46,0,进仓18升降上升SOL,Y553,Y553
DO,18,进仓18升降下降SOL,UpDownCylinder_Down,3,192.168.200.46,0,进仓18升降下降SOL,Y554,Y554
DO,204,出料4阻挡1下降SOL,StopCylinder_Down1,4,192.168.200.46,0,出料4阻挡1下降SOL,Y555,Y555
DO,204,出料4阻挡2下降SOL,StopCylinder_Down2,5,192.168.200.46,0,出料4阻挡2下降SOL,Y556,Y556
DO,204,出料4顶升上升SOL,TopCylinder_UP,6,192.168.200.46,0,出料4顶升上升SOL,Y557,Y557
DO,204,出料4顶升下降SOL,TopCylinder_Down,7,192.168.200.46,0,出料4顶升下降SOL,Y558,Y558
DO,204,出料4前后气缸前进SOL,BeforeAfterCylinder_Before,8,192.168.200.46,,出料4前后气缸前进SOL,Y559,Y559
DO,204,出料4前后气缸后退SOL,BeforeAfterCylinder_After,9,192.168.200.46,,出料4前后气缸后退SOL,Y560,Y560
DO,204,出料4夹料气缸夹紧SOL,ClampCylinder_Slack,10,192.168.200.46,,出料4夹料气缸夹紧SOL,Y561,Y561
DO,204,出料4夹料气缸放松SOL,ClampCylinder_Tighten,11,192.168.200.46,,出料4夹料气缸放松SOL,Y562,Y562
DO,204,出料4上下气缸上升SOL,UpDownCylinder_Up,12,192.168.200.46,,出料4上下气缸上升SOL,Y563,Y563
DO,204,出料4上下气缸下降SOL,UpDownCylinder_Down,13,192.168.200.46,,出料4上下气缸下降SOL,Y564,Y564
,,,,14,192.168.200.46,,,Y565,Y565
,,,,15,192.168.200.46,,,Y566,Y566
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_18.csv
查看文件 @
27d4a2b
类型,分类编号,说明,名称,属性值,设备名称,默认值,描述,电器定义,代码定义
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,1,,,,,
PRO,0,阻挡气缸控制信号(1-4分别对应夹具检测1-4),StopCylinderIOType,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
1
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,
0
,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownPositions,0=180000;,,,,,,
PRO,0,移栽上下轴在料仓门口下降的位置,UpDownBoxPositions,0=116000;,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,1,COM1,1,,,
...
...
source/DeviceLibrary/assemblyLine/AssemblyLineManager.cs
查看文件 @
27d4a2b
...
...
@@ -51,6 +51,8 @@ namespace OnlineStore.DeviceLibrary
{
if
(!
isInit
)
{
StoreConfig
.
SubDIList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
StoreConfig
.
SubDOList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
moveECMap
=
new
Dictionary
<
int
,
MoveEquip_Config
>();
feedingECMap
=
new
Dictionary
<
int
,
FeedingEquip_Config
>();
providingECMap
=
new
Dictionary
<
int
,
ProvidingEquip_Config
>();
...
...
@@ -86,7 +88,7 @@ namespace OnlineStore.DeviceLibrary
string
config
=
appPath
+
moveEquipConfig
.
Replace
(
".csv"
,
"_"
+
nameStr
+
".csv"
);
MoveEquip_Config
moveConfig
=
CSVConfigReader
.
LoadMoveConfig
(
i
,
config
);
int
subType
=
i
;
moveConfig
.
SetIO
(
Config
,
subType
);
moveConfig
.
SetIO
(
subType
);
moveECMap
.
Add
(
i
,
moveConfig
);
}
int
feedingEquipCount
=
ConfigAppSettings
.
GetIntValue
(
Setting_Init
.
Line_feedingEquip_count
);
...
...
@@ -97,7 +99,7 @@ namespace OnlineStore.DeviceLibrary
string
config
=
appPath
+
feedingEquipConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
FeedingEquip_Config
moveConfig
=
CSVConfigReader
.
LoadFeedingConfig
(
subType
,
config
);
moveConfig
.
SetIO
(
Config
,
subType
);
moveConfig
.
SetIO
(
subType
);
feedingECMap
.
Add
(
i
,
moveConfig
);
}
...
...
@@ -109,7 +111,7 @@ namespace OnlineStore.DeviceLibrary
string
config
=
appPath
+
providingEquipConfig
.
Replace
(
".csv"
,
"_"
+
i
+
".csv"
);
ProvidingEquip_Config
moveConfig
=
CSVConfigReader
.
LoadProvidingConfig
(
subType
,
config
);
moveConfig
.
SetIO
(
Config
,
subType
);
moveConfig
.
SetIO
(
subType
);
providingECMap
.
Add
(
i
,
moveConfig
);
}
Line
=
new
LineBean
(
Config
,
moveECMap
,
feedingECMap
,
providingECMap
);
...
...
source/DeviceLibrary/
model
/EquipBase.cs
→
source/DeviceLibrary/
assemblyLine
/EquipBase.cs
查看文件 @
27d4a2b
...
...
@@ -13,9 +13,18 @@ namespace OnlineStore.DeviceLibrary
{
private
bool
IsIntSlvBlock
=
false
;
public
bool
IsDebug
=
false
;
public
AxisAlarmInfo
AxisAlarm
=
new
AxisAlarmInfo
();
public
bool
UseAxis
=
false
;
public
List
<
InOutParam
>
waitOutStoreList
=
new
List
<
InOutParam
>();
public
List
<
InOutParam
>
waitInStoreList
=
new
List
<
InOutParam
>();
public
object
waitInListLock
=
""
;
public
object
waitOutListLock
=
""
;
/// <summary>
///移栽装置后面分为两条移动线
/// </summary>
public
LineMoveInfo
SecondMoveInfo
=
null
;
#
region
上下气缸伺服运动
protected
string
portName
;
protected
short
slvAddr
;
...
...
@@ -356,7 +365,150 @@ namespace OnlineStore.DeviceLibrary
}
this
.
alarmType
=
alarmType
;
}
/// <summary>
/// 运动处理
/// </summary>
protected
override
void
BusyMoveProcess
()
{
switch
(
MoveInfo
.
MoveType
)
{
case
LineMoveType
.
InStore
:
InStoreProcess
();
break
;
case
LineMoveType
.
OutStore
:
OutStoreProcess
();
break
;
case
LineMoveType
.
ReturnHome
:
ReturnHomeProcess
();
break
;
case
LineMoveType
.
Reset
:
ResetProcess
();
break
;
//case StoreMoveType.StopMove:
// StopMoveProcess();
// break;
default
:
break
;
}
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
InStore
||
this
.
SecondMoveInfo
.
MoveType
==
LineMoveType
.
InStore
)
{
InStoreProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
OutStore
||
SecondMoveInfo
.
MoveType
==
LineMoveType
.
OutStore
)
{
OutStoreProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
ReturnHome
)
{
ReturnHomeProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
Reset
)
{
ResetProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
StopMove
)
{
StopMoveProcess
();
}
if
(
SecondMoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
CheckFixture
))
{
CheckFixtureProcess
();
}
}
protected
override
void
mainTimer_Elapsed
(
object
sender
,
System
.
Timers
.
ElapsedEventArgs
e
)
{
TimerProcess
();
}
protected
abstract
void
ReturnHomeProcess
();
protected
abstract
void
StopMoveProcess
();
public
abstract
void
TimerProcess
();
protected
abstract
void
CheckFixtureProcess
();
protected
DateTime
preIoTimerOutTime
=
DateTime
.
Now
;
protected
void
IOTimeOutProcess
()
{
try
{
TimeSpan
span
=
DateTime
.
Now
-
preIoTimerOutTime
;
if
(
span
.
TotalSeconds
>
1
&&
alarmType
.
Equals
(
LineAlarmType
.
IoSingleTimeOut
))
{
preIoTimerOutTime
=
DateTime
.
Now
;
if
(
runStatus
<
LineRunStatus
.
Runing
||
isInSuddenDown
||
isNoAirCheck
)
{
return
;
}
//若BOX和出料都没有在等待Io的过程中则此Io超时异常可能已经处理过
if
(
MoveInfo
.
IsInWait
.
Equals
(
false
)
&&
SecondMoveInfo
.
IsInWait
.
Equals
(
false
))
{
LogUtil
.
info
(
Name
+
"清理信号超时报警【"
+
WarnMsg
+
"】 "
);
alarmType
=
LineAlarmType
.
None
;
WarnMsg
=
""
;
}
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
"IOTimeOutProcess出错:"
+
ex
.
ToString
());
}
}
public
void
ChangeDebug
(
bool
isDebug
)
{
if
(
isDebug
)
{
IsDebug
=
true
;
//两个阻挡气缸下降
lineStatus
=
LineStatus
.
Debugging
;
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
HIGH
);
LogInfo
(
"从正常状态切换到调试状态!"
);
}
else
if
(
lineStatus
.
Equals
(
LineStatus
.
Debugging
))
{
IsDebug
=
false
;
lineStatus
=
LineStatus
.
StoreOnline
;
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
LOW
);
LogInfo
(
"从调试状态切换到正常状态!"
);
}
}
/// <summary>
/// 下降所有阻挡气缸
/// </summary>
internal
void
OpenStopCylinder
()
{
LogInfo
(
"下降阻挡气缸,上下气缸上升,顶升气缸下降"
);
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
HIGH
);
//上下气缸上升
if
(
UseAxis
.
Equals
(
false
))
{
IOMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
HIGH
);
}
//顶升气缸下降
IOMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
HIGH
);
}
internal
void
CloseCylinderStop
()
{
LogInfo
(
"上升阻挡气缸,关闭上下气缸,顶升气缸IO"
);
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
LOW
);
//上下气缸上升
IOMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
LOW
);
//顶升气缸下降
IOMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
LOW
);
}
}
}
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
查看文件 @
27d4a2b
...
...
@@ -14,34 +14,21 @@ namespace OnlineStore.DeviceLibrary
/// 流水线自动料仓-入料装置类
/// </summary>
public
partial
class
FeedingEquip
:
EquipBase
{
{
public
FeedingEquip_Config
Config
;
// public List<InOutParam> waitOutStoreList = new List<InOutParam>();
public
List
<
InOutParam
>
waitInStoreList
=
new
List
<
InOutParam
>();
public
object
waitInListLock
=
""
;
// public object waitOutListLock = "";
public
FeedingEquip
(
string
cid
,
FeedingEquip_Config
config
)
{
this
.
DeviceID
=
config
.
Id
;
baseConfig
=
config
;
this
.
Config
=
config
;
IsDebug
=
config
.
IsDebug
.
Equals
(
1
);
Name
=
(
" "
+
"_入料_"
+
DeviceID
%
10
+
" "
).
ToUpper
();
//Name = (" " + cid + "_入料_" + DeviceID + " ").ToUpper();
Init
();
//添加调试
if
(
config
.
IsDebug
==
1
)
{
IsDebug
=
true
;
}
//this.Box = box;
MoveInfo
=
new
LineMoveInfo
(
DeviceID
,
"入料-"
+
DeviceID
+
"-MoveInfo"
);
IsDebug
=
config
.
IsDebug
.
Equals
(
1
);
UseAxis
=
config
.
UpDownUseAxis
.
Equals
(
1
);
MoveInfo
=
new
LineMoveInfo
(
DeviceID
,
"入料-"
+
DeviceID
+
"-MoveInfo"
);
UseAxis
=
true
;
if
(
UseAxis
)
{
Config
.
Batch_Axis
.
TargetSpeed
=
Config
.
BatchAxis_TargetSpeed
;
...
...
@@ -106,60 +93,9 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
IO_Type
.
ClampCylinder_Tighten
,
IO_VALUE
.
LOW
);
runStatus
=
LineRunStatus
.
Wait
;
}
/// <summary>
/// 运动处理
/// </summary>
protected
override
void
BusyMoveProcess
()
{
switch
(
MoveInfo
.
MoveType
)
{
case
LineMoveType
.
InStore
:
InStoreProcess
();
break
;
case
LineMoveType
.
OutStore
:
OutStoreProcess
();
break
;
case
LineMoveType
.
ReturnHome
:
ReturnHomeProcess
();
break
;
case
LineMoveType
.
Reset
:
ResetProcess
();
break
;
//case StoreMoveType.StopMove:
// StopMoveProcess();
// break;
default
:
break
;
}
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
InStore
)
{
InStoreProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
OutStore
)
{
OutStoreProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
ReturnHome
)
{
ReturnHomeProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
Reset
)
{
ResetProcess
();
}
else
if
(
MoveInfo
.
MoveType
==
LineMoveType
.
StopMove
)
{
StopMoveProcess
();
}
}
protected
override
void
mainTimer_Elapsed
(
object
sender
,
System
.
Timers
.
ElapsedEventArgs
e
)
{
TimerProcess
();
}
public
void
TimerProcess
()
public
override
void
TimerProcess
()
{
if
(
isInPro
)
{
...
...
@@ -195,35 +131,7 @@ namespace OnlineStore.DeviceLibrary
isInPro
=
false
;
}
private
DateTime
preIoTimerOutTime
=
DateTime
.
Now
;
private
void
IOTimeOutProcess
()
{
try
{
TimeSpan
span
=
DateTime
.
Now
-
preIoTimerOutTime
;
if
(
span
.
TotalSeconds
>
1
&&
alarmType
.
Equals
(
LineAlarmType
.
IoSingleTimeOut
))
{
preIoTimerOutTime
=
DateTime
.
Now
;
if
(
runStatus
<
LineRunStatus
.
Runing
||
isInSuddenDown
||
isNoAirCheck
)
{
return
;
}
//若BOX和入料都没有在等待Io的过程中则此Io超时异常可能已经处理过
if
(
MoveInfo
.
IsInWait
.
Equals
(
false
))
{
LogUtil
.
info
(
Name
+
"清理信号超时报警【"
+
WarnMsg
+
"】 "
);
alarmType
=
LineAlarmType
.
None
;
WarnMsg
=
""
;
}
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
"IOTimeOutProcess出错:"
+
ex
.
ToString
());
}
}
/// <summary>
/// 入料装置原点返回
...
...
@@ -265,9 +173,9 @@ namespace OnlineStore.DeviceLibrary
//如果正在出库中,需要减去托盘号
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
OutStore
))
{
LogInfo
(
"重置之前发现在出库执行中,减去托盘数;"
);
//
LogInfo("重置之前发现在出库执行中,减去托盘数;");
//减去需要的盘数
TrayManager
.
DelNeedEmptyTrayNum
();
//
TrayManager.DelNeedEmptyTrayNum();
MoveInfo
.
EndMove
();
}
if
(!
RunAxis
(
true
,
Config
.
Batch_Axis
))
...
...
@@ -346,7 +254,7 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 原点返回处理
/// </summary>
protected
void
ReturnHomeProcess
()
protected
override
void
ReturnHomeProcess
()
{
if
(
MoveInfo
.
IsInWait
)
{
...
...
@@ -391,7 +299,7 @@ namespace OnlineStore.DeviceLibrary
}
}
pr
ivate
void
StopMoveProcess
()
pr
otected
override
void
StopMoveProcess
()
{
if
(
MoveInfo
.
IsInWait
)
{
...
...
@@ -439,9 +347,9 @@ namespace OnlineStore.DeviceLibrary
//如果正在出库中,需要减去托盘号
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
OutStore
))
{
LogInfo
(
"停止运动时出库执行中,减去托盘数;"
);
//
LogInfo( "停止运动时出库执行中,减去托盘数;");
//减去需要的盘数
TrayManager
.
DelNeedEmptyTrayNum
();
//
TrayManager.DelNeedEmptyTrayNum();
MoveInfo
.
EndMove
();
}
runStatus
=
LineRunStatus
.
Busy
;
...
...
@@ -455,63 +363,7 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
LOW
);
}
public
void
ChangeDebug
()
{
if
(
Config
.
IsDebug
==
1
)
{
IsDebug
=
true
;
//两个阻挡气缸下降
lineStatus
=
LineStatus
.
Debugging
;
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
HIGH
);
LogInfo
(
"从正常状态切换到调试状态!"
);
}
else
if
(
lineStatus
.
Equals
(
LineStatus
.
Debugging
))
{
IsDebug
=
false
;
lineStatus
=
LineStatus
.
StoreOnline
;
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
LOW
);
LogInfo
(
"从调试状态切换到正常状态!"
);
}
}
/// <summary>
/// 下降所有阻挡气缸
/// </summary>
internal
void
OpenStopCylinder
()
{
LogInfo
(
"下降阻挡气缸,上下气缸上升,顶升气缸下降"
);
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
HIGH
);
//上下气缸上升
if
(
UseAxis
.
Equals
(
false
))
{
IOMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
HIGH
);
}
//顶升气缸下降
IOMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
HIGH
);
}
internal
void
CloseCylinderStop
()
{
LogInfo
(
"上升阻挡气缸,关闭上下气缸,顶升气缸IO"
);
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
StopCylinder_Down2
,
IO_VALUE
.
LOW
);
//上下气缸上升
IOMove
(
IO_Type
.
UpDownCylinder_Down
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
UpDownCylinder_Up
,
IO_VALUE
.
LOW
);
//顶升气缸下降
IOMove
(
IO_Type
.
TopCylinder_UP
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
TopCylinder_Down
,
IO_VALUE
.
LOW
);
}
/// <summary>
/// 上下气缸移动到上升端
/// </summary>
...
...
@@ -577,6 +429,9 @@ namespace OnlineStore.DeviceLibrary
throw
new
NotImplementedException
();
}
protected
override
void
CheckFixtureProcess
()
{
throw
new
NotImplementedException
();
}
}
}
source/DeviceLibrary/assemblyLine/LineBean.cs
查看文件 @
27d4a2b
...
...
@@ -56,6 +56,7 @@ namespace OnlineStore.DeviceLibrary
}
Init
();
InitTimer
();
baseConfig
=
lineConfig
;
this
.
Config
=
lineConfig
;
this
.
DeviceID
=
lineConfig
.
Id
;
SW12_MoveInfo
=
new
LineMoveInfo
(
DeviceID
,
"横移轨道-12"
);
...
...
source/DeviceLibrary/assemblyLine/LineBean_Partial.cs
查看文件 @
27d4a2b
...
...
@@ -499,14 +499,7 @@ namespace OnlineStore.DeviceLibrary
{
LogUtil
.
debug
(
Name
+
msg
);
}
private
void
IOMove
(
string
ioType
,
IO_VALUE
value
)
{
IOManager
.
IOMove
(
ioType
,
value
,
0
);
}
private
IO_VALUE
IOValue
(
string
ioType
)
{
return
IOManager
.
IOValue
(
ioType
,
0
);
}
private
bool
IsDoValue
(
string
ioType
,
IO_VALUE
value
)
{
if
(
IOManager
.
DOValue
(
ioType
,
0
).
Equals
(
value
))
...
...
@@ -515,16 +508,7 @@ namespace OnlineStore.DeviceLibrary
}
return
false
;
}
public
void
CylinderMove
(
LineMoveInfo
moveInfo
,
string
IoLowType
,
string
IoHighType
)
{
IOMove
(
IoLowType
,
IO_VALUE
.
LOW
);
IOMove
(
IoHighType
,
IO_VALUE
.
HIGH
);
if
(
moveInfo
!=
null
)
{
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IoLowType
,
IO_VALUE
.
LOW
));
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IoHighType
,
IO_VALUE
.
HIGH
));
}
}
#
endregion
...
...
source/DeviceLibrary/assemblyLine/MoveEquip.cs
查看文件 @
27d4a2b
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
27d4a2b
...
...
@@ -422,7 +422,7 @@ namespace OnlineStore.DeviceLibrary
private
void
StartCheckFixture
()
{
int
num
=
TrayManager
.
GetNum
(
DeviceID
);
if
(
IOValue
(
IO_Type
.
Fixture_Check_4
).
Equals
(
IO_VALUE
.
HIGH
))
if
(
IOValue
(
IO_Type
.
StopCylinder_Check2
).
Equals
(
IO_VALUE
.
HIGH
))
{
//托盘在两个阻挡内
if
(
num
>
0
)
...
...
@@ -439,7 +439,7 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
error
(
Name
+
"检测到check4亮,但是为获取到托盘号,StartCheckFixture失败~"
);
}
}
else
if
(
IOValue
(
IO_Type
.
TrayCheck
).
Equals
(
IO_VALUE
.
HIGH
))
else
if
(
IOValue
(
IO_Type
.
StopCylinder_Check1
).
Equals
(
IO_VALUE
.
HIGH
))
{
//托盘在第一个阻挡处
SecondMoveInfo
.
NewMove
(
LineMoveType
.
CheckFixture
);
...
...
@@ -451,7 +451,7 @@ namespace OnlineStore.DeviceLibrary
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1500
));
}
}
pr
ivat
e
void
CheckFixtureProcess
()
pr
otected
overrid
e
void
CheckFixtureProcess
()
{
if
(!
LineManager
.
Line
.
isCanProcessLine
())
{
...
...
@@ -469,11 +469,11 @@ namespace OnlineStore.DeviceLibrary
#
region
托盘检测
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_01_StopCylinder1Down
))
{
CheckLog
(
"托盘检测(流水线阻挡)SecondStoreMove:(MIO_02_FixtureCheck 阻挡气缸1-1上升,等待
夹具检测4
=1)"
);
CheckLog
(
"托盘检测(流水线阻挡)SecondStoreMove:(MIO_02_FixtureCheck 阻挡气缸1-1上升,等待
阻挡2托盘检测
=1)"
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MIO_03_StopCylinder2Down
);
IOMove
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
LOW
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCylinder_Down1
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Fixture_Check_4
,
IO_VALUE
.
HIGH
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCylinder_Check2
,
IO_VALUE
.
HIGH
));
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MIO_02_FixtureCheck
))
{
...
...
@@ -636,9 +636,9 @@ namespace OnlineStore.DeviceLibrary
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_10_StopCylinder2_Down
))
{
CheckLog
(
"托盘放行 SecondStoreMove:(MO_11_Tray_Check ,
夹具检测1-4
=0), 延时2秒)"
);
CheckLog
(
"托盘放行 SecondStoreMove:(MO_11_Tray_Check ,
阻挡2托盘检测
=0), 延时2秒)"
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_11_Tray_Check
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Fixture_Check_4
,
IO_VALUE
.
LOW
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
StopCylinder_Check2
,
IO_VALUE
.
LOW
));
}
else
if
(
SecondMoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MO_11_Tray_Check
))
{
...
...
@@ -674,12 +674,6 @@ namespace OnlineStore.DeviceLibrary
string
posId
=
MoveInfo
.
MoveParam
!=
null
?
MoveInfo
.
MoveParam
.
PosId
:
""
;
LogUtil
.
info
(
Name
+
"【"
+
posId
+
"】"
+
msg
);
}
public
void
LogInfo
(
string
logInfo
)
{
LogUtil
.
info
(
Name
+
logInfo
);
}
}
}
source/DeviceLibrary/assemblyLine/ProvidingEquip.cs
查看文件 @
27d4a2b
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/assemblyLine/ProvidingEquip_Partial.cs
查看文件 @
27d4a2b
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/assemblyLine/TrayManager.cs
查看文件 @
27d4a2b
...
...
@@ -185,13 +185,15 @@ namespace OnlineStore.DeviceLibrary
}
public
static
int
GetNum
(
int
subType
)
{
int
check1
=
(
int
)
IOManager
.
IOValue
(
IO_Type
.
Fixture_Check_1
,
subType
);
int
check2
=
(
int
)
IOManager
.
IOValue
(
IO_Type
.
Fixture_Check_2
,
subType
);
int
check3
=
(
int
)
IOManager
.
IOValue
(
IO_Type
.
Fixture_Check_3
,
subType
);
//
int check1 = (int)IOManager.IOValue(IO_Type.Fixture_Check_1,subType);
//
int check2 = (int)IOManager.IOValue(IO_Type.Fixture_Check_2,subType);
//
int check3 = (int)IOManager.IOValue(IO_Type.Fixture_Check_3,subType);
string
value
=
""
+
check3
+
check2
+
check1
+
""
;
int
panHao
=
Convert
.
ToInt16
(
value
,
2
);
return
panHao
;
//string value = "" + check3 + check2 + check1 + "";
//int panHao = Convert.ToInt16(value, 2);
//return panHao;
return
subType
;
}
}
...
...
source/DeviceLibrary/model/StoreStep.cs
查看文件 @
27d4a2b
...
...
@@ -248,7 +248,7 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
MO_10_StopCylinder2_Down
=
3110
,
/// <summary>
/// 移载(流水线)装置出库处理,
夹具检测1-4
=0,
/// 移载(流水线)装置出库处理,
阻挡2托盘检测
=0,
/// </summary>
MO_11_Tray_Check
=
3111
,
/// <summary>
...
...
@@ -377,7 +377,7 @@ namespace OnlineStore.DeviceLibrary
#
endregion
#
region
横移轨道处理
#
region
横移轨道处理
5000
开始
SW00_Wait
=
5000
,
/// <summary>
/// 阻挡气缸下降
...
...
@@ -422,6 +422,56 @@ namespace OnlineStore.DeviceLibrary
#
endregion
#
region
出料装置移栽出料,
20000
开始
/// <summary>
/// 上下气缸下降
/// </summary>
PO_01_UpDownCylinderDown
=
20001
,
/// <summary>
/// 等待0.3秒后再夹紧
/// </summary>
PO_02_UpDownCylinderDownWait
=
20002
,
/// <summary>
/// 夹料气缸夹紧
/// </summary>
PO_03_ClampCylinderSlack
=
20003
,
/// <summary>
/// 上下气缸上升
/// </summary>
PO_04_UpDownCylinderUp
=
20004
,
/// <summary>
/// 等待可以移栽料盘到流水线
/// </summary>
PO_05_WaitBox
=
20005
,
/// <summary>
/// 前后气缸前进
/// </summary>
PO_06_BeforeAfterCylinderBefore
=
20006
,
/// <summary>
/// 上下气缸下降
/// </summary>
PO_07_UpDownCylinderDown
=
20007
,
/// <summary>
/// 夹料气缸放松
/// </summary>
PO_08_ClampCylinderTighten
=
20008
,
/// <summary>
/// 上下气缸上升
/// </summary>
PO_09_UpdownCylinderUp
=
20009
,
/// <summary>
/// 前后气缸后退,等待4000
/// </summary>
PO_10_BeforeAfterCylinderAfter
=
20010
,
#
endregion
}
public
enum
LineAlarmType
...
...
source/LoadCVSLibrary/storeConfig/config/IO_Type.cs
查看文件 @
27d4a2b
...
...
@@ -290,7 +290,16 @@ namespace OnlineStore.LoadCSVLibrary
public
static
string
BatchAxis_BreakOn
=
"BatchAxis_BreakOn"
;
public
static
string
BatchAxis_ServoOn
=
"BatchAxis_ServoOn"
;
/// <summary>
/// DI,1,进仓01阻挡1托盘检测,StopCylinder_Check1,0,192.168.200.29,0,进仓01阻挡1托盘检测,X261,X261
/// </summary>
public
static
string
StopCylinder_Check1
=
"StopCylinder_Check1"
;
/// <summary>
/// DI,1, 进仓01阻挡2托盘检测, StopCylinder_Check2,1,192.168.200.29,0, 进仓01阻挡2托盘检测, X262, X262
/// </summary>
public
static
string
StopCylinder_Check2
=
"StopCylinder_Check2"
;
}
public
enum
IO_VALUE
{
...
...
source/LoadCVSLibrary/storeConfig/config/StoreConfig.cs
查看文件 @
27d4a2b
...
...
@@ -9,6 +9,8 @@ namespace OnlineStore.LoadCSVLibrary
{
public
class
StoreConfig
{
public
static
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDIList
{
get
;
set
;
}
public
static
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDOList
{
get
;
set
;
}
public
static
readonly
ILog
LOGGER
=
LogManager
.
GetLogger
(
System
.
Reflection
.
MethodBase
.
GetCurrentMethod
().
DeclaringType
);
/// <summary>
/// ID
...
...
@@ -40,8 +42,6 @@ namespace OnlineStore.LoadCSVLibrary
public
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDIList
{
get
;
set
;
}
public
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>
SubDOList
{
get
;
set
;
}
/// <summary>
...
...
@@ -83,8 +83,8 @@ namespace OnlineStore.LoadCSVLibrary
{
DIList
=
new
Dictionary
<
string
,
ConfigIO
>();
DOList
=
new
Dictionary
<
string
,
ConfigIO
>();
SubDIList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
SubDOList
=
new
Dictionary
<
int
,
Dictionary
<
string
,
ConfigIO
>>();
//
SubDIList = new Dictionary<int, Dictionary<string, ConfigIO>>();
//
SubDOList = new Dictionary<int, Dictionary<string, ConfigIO>>();
IOIPList
=
new
List
<
string
>();
//取得属性集合
PropertyInfo
[]
props
=
GetType
().
GetProperties
();
...
...
@@ -256,18 +256,18 @@ namespace OnlineStore.LoadCSVLibrary
}
}
public
void
SetIO
(
Line_Config
Config
,
int
subType
)
public
void
SetIO
(
int
subType
)
{
Dictionary
<
string
,
ConfigIO
>
doList
=
new
Dictionary
<
string
,
ConfigIO
>();
Dictionary
<
string
,
ConfigIO
>
diList
=
new
Dictionary
<
string
,
ConfigIO
>();
if
(
Config
.
SubDIList
.
ContainsKey
(
subType
))
if
(
Store
Config
.
SubDIList
.
ContainsKey
(
subType
))
{
diList
=
Config
.
SubDIList
[
subType
];
diList
=
Store
Config
.
SubDIList
[
subType
];
}
if
(
Config
.
SubDOList
.
ContainsKey
(
subType
))
if
(
Store
Config
.
SubDOList
.
ContainsKey
(
subType
))
{
doList
=
Config
.
SubDOList
[
subType
];
doList
=
Store
Config
.
SubDOList
[
subType
];
}
foreach
(
string
key
in
diList
.
Keys
)
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论