Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 747bcc3c
由
LN
编写于
2021-03-03 15:24:24 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
进仓升降轴P3增加详细配置
1 个父辈
f373b0d5
全部展开
显示空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
172 行增加
和
12 行删除
dll/libdmtx.dll
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
source/AssemblyLineClient/FrmMoveEquip.cs
source/AssemblyLineClient/记录.txt
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_09.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_10.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_18.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_23.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_24.csv
source/DeviceLibrary/assemblyLine/MoveEquip.cs
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
source/LoadCVSLibrary/storeConfig/config/MoveEquip_Config.cs
dll/libdmtx.dll
查看文件 @
747bcc3
此文件类型无法预览
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
查看文件 @
747bcc3
此文件的差异被折叠,
点击展开。
source/AssemblyLineClient/FrmMoveEquip.cs
查看文件 @
747bcc3
...
@@ -60,6 +60,7 @@ namespace OnlineStore.AssemblyLine
...
@@ -60,6 +60,7 @@ namespace OnlineStore.AssemblyLine
lblName
.
Text
=
equipBean
.
Name
;
lblName
.
Text
=
equipBean
.
Name
;
this
.
Text
=
equipBean
.
Name
;
this
.
Text
=
equipBean
.
Name
;
LoadDP2
();
LoadDP2
();
LoadDP3
();
LoadDOBtn
(
groupDO
);
LoadDOBtn
(
groupDO
);
IsLoad
=
true
;
IsLoad
=
true
;
}
}
...
@@ -461,8 +462,8 @@ namespace OnlineStore.AssemblyLine
...
@@ -461,8 +462,8 @@ namespace OnlineStore.AssemblyLine
equipBean
.
Config
.
UpdateUpdownP3
(
size
,
sizeBoxP
);
equipBean
.
Config
.
UpdateUpdownP3
(
size
,
sizeBoxP
);
LineManager
.
SaveMoveEquipConfig
(
equipBean
.
Config
);
LineManager
.
SaveMoveEquipConfig
(
equipBean
.
Config
);
lblP2
.
Text
=
"P2列表:"
+
equipBean
.
Config
.
UpDownP2List
;
lblP2
Str
.
Text
=
"P2列表:"
+
equipBean
.
Config
.
UpDownP2List
;
lblP3
List
.
Text
=
"P3列表:"
+
equipBean
.
Config
.
UpDownP3List
;
lblP3
Str
.
Text
=
"P3列表:"
+
equipBean
.
Config
.
UpDownP3List
;
MessageBox
.
Show
(
"保存成功!"
);
MessageBox
.
Show
(
"保存成功!"
);
}
}
...
@@ -499,11 +500,30 @@ namespace OnlineStore.AssemblyLine
...
@@ -499,11 +500,30 @@ namespace OnlineStore.AssemblyLine
listDetitalP2
.
Items
.
Add
(
key
+
"="
+
DP2Map
[
key
]);
listDetitalP2
.
Items
.
Add
(
key
+
"="
+
DP2Map
[
key
]);
}
}
txtDP2
.
Text
=
txtP2
.
Text
;
txtDP2
.
Text
=
txtP2
.
Text
;
lblP2
.
Text
=
"P2列表:"
+
equipBean
.
Config
.
UpDownP2List
;
lblP2
Str
.
Text
=
"P2列表:"
+
equipBean
.
Config
.
UpDownP2List
;
lblP3
List
.
Text
=
"P3列表:"
+
equipBean
.
Config
.
UpDownP3List
;
lblP3
Str
.
Text
=
"P3列表:"
+
equipBean
.
Config
.
UpDownP3List
;
}
}
private
void
LoadDP3
()
{
cmbP3Height
.
Items
.
Clear
();
foreach
(
int
heigth
in
LineManager
.
GetTrayList
())
{
cmbP3Height
.
Items
.
Add
(
heigth
);
}
cmbP3Width
.
Items
.
Clear
();
cmbP3Width
.
Items
.
AddRange
(
new
object
[]
{
7
,
11
,
13
,
15
});
cmbP3Width
.
SelectedIndex
=
0
;
cmbP3Height
.
SelectedIndex
=
0
;
listP3
.
Items
.
Clear
();
Dictionary
<
string
,
int
>
DP3Map
=
equipBean
.
Config
.
LoadP3DetialMap
();
foreach
(
string
key
in
DP3Map
.
Keys
)
{
listP3
.
Items
.
Add
(
key
+
"="
+
DP3Map
[
key
]);
}
txtlP3
.
Text
=
txtP3
.
Text
;
}
private
void
btnDSave_Click
(
object
sender
,
EventArgs
e
)
private
void
btnDSave_Click
(
object
sender
,
EventArgs
e
)
{
{
int
size
=
Convert
.
ToInt32
(
cmbDSize
.
Text
);
int
size
=
Convert
.
ToInt32
(
cmbDSize
.
Text
);
...
@@ -697,6 +717,46 @@ namespace OnlineStore.AssemblyLine
...
@@ -697,6 +717,46 @@ namespace OnlineStore.AssemblyLine
txtPosId
.
Clear
();
txtPosId
.
Clear
();
}
}
}
}
private
void
cmbP3Width_SelectedIndexChanged
(
object
sender
,
EventArgs
e
)
{
if
(!
IsLoad
)
{
return
;
}
if
(
cmbP3Width
.
SelectedIndex
<
0
||
cmbP3Height
.
SelectedIndex
<
0
)
{
return
;
}
int
size
=
Convert
.
ToInt32
(
cmbP3Width
.
Text
);
int
height
=
Convert
.
ToInt32
(
cmbP3Height
.
Text
);
int
position
=
equipBean
.
Config
.
GetUpdownP3Detial
(
height
,
size
);
txtlP3
.
Text
=
position
.
ToString
();
}
private
void
btnP3Save_Click
(
object
sender
,
EventArgs
e
)
{
int
size
=
Convert
.
ToInt32
(
cmbP3Width
.
Text
);
int
height
=
Convert
.
ToInt32
(
cmbP3Height
.
Text
);
int
position
=
FormUtil
.
GetIntValue
(
txtlP3
);
DialogResult
result
=
MessageBox
.
Show
(
"保存后只能修改不能删除,是否确定保存?"
,
"确定保存"
,
MessageBoxButtons
.
OKCancel
);
if
(
result
.
Equals
(
DialogResult
.
OK
))
{
equipBean
.
Config
.
UpdateUpdownP3Detial
(
size
,
height
,
position
);
LineManager
.
SaveMoveEquipConfig
(
equipBean
.
Config
);
LogUtil
.
info
(
equipBean
.
Name
+
"用户操作:尺寸:"
+
size
+
",高度:"
+
height
+
",P3值:"
+
position
+
",保存成功"
);
MessageBox
.
Show
(
"保存成功!"
);
listP3
.
Items
.
Clear
();
Dictionary
<
string
,
int
>
DP3Map
=
equipBean
.
Config
.
LoadP3DetialMap
();
foreach
(
string
key
in
DP3Map
.
Keys
)
{
listP3
.
Items
.
Add
(
key
+
"="
+
DP3Map
[
key
]);
}
}
}
}
}
}
}
...
...
source/AssemblyLineClient/记录.txt
查看文件 @
747bcc3
20200203
20200303
三楼环形线更新文件:20210303-AssemblyLine-更新,修改内容:
1.入料线阻挡下降1.5秒。
2.T3,T4 料架送出时,若出口有料架,出料线转动5秒
3.料仓离线改为3秒
4.进仓升降轴P3增加详细配置
20200203
修改内容:
修改内容:
1.阻挡1下降2秒自动上升。
1.阻挡1下降2秒自动上升。
2.入料放料盘到托盘,夹爪放松完成,升降轴上升时再更新托盘有料。
2.入料放料盘到托盘,夹爪放松完成,升降轴上升时再更新托盘有料。
...
...
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
...
@@ -8,6 +8,7 @@ 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,移栽上下轴流水线上方位置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,移栽上下轴料仓门口位置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,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
\ No newline at end of file
\ No newline at end of file
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_09.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=9856;12=9162;16=8943;8=9856,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=9856;12=9162;16=8943;8=9856,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10110;12=9325;16=9175;8=10110,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10110;12=9325;16=9175;8=10110,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=9856;7X16=8943;7X12=9162,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=9856;7X16=8943;7X12=9162,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_10.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=9938;12=8883;16=8848;8=9938,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=9938;12=8883;16=8848;8=9938,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10153;12=9513;16=9150;8=10153,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10153;12=9513;16=9150;8=10153,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=9938;7X12=8883;7X16=8848,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=9938;7X12=8883;7X16=8848,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_13.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8321;12=8321;16=7883;24=7173;32=5868;44=5300;56=3222;8=8321,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8321;12=8321;16=7883;24=7173;32=5868;44=5300;56=3222;8=8321,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=11010;12=11010;16=10687;24=9575;32=8714;44=7997;56=5719;8=11010,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=11010;12=11010;16=10687;24=9575;32=8714;44=7997;56=5719;8=11010,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3222;13X16=7883;13X44=5300;15X32=5868;13X24=7173;13X32=6387;13X12=8321;15X44=4574;11X12=8859,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3222;13X16=7883;13X44=5300;15X32=5868;13X24=7173;13X32=6387;13X12=8321;15X44=4574;11X12=8859,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_14.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8440;12=8440;16=7567;24=6941;32=6047;44=4626;56=3019;8=8440,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8440;12=8440;16=7567;24=6941;32=6047;44=4626;56=3019;8=8440,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10186;12=10186;16=9507;24=9041;32=8136;44=7024;48=90000;56=5442;8=10186,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10186;12=10186;16=9507;24=9041;32=8136;44=7024;48=90000;56=5442;8=10186,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3019;15X44=4318;15X32=5600;13X44=4626;13X32=6047;13X24=6941;13X16=7567;13X12=8019;11X12=8440,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3019;15X44=4318;15X32=5600;13X44=4626;13X32=6047;13X24=6941;13X16=7567;13X12=8019;11X12=8440,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_15.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=80000;12=9078;16=8104;24=7426;32=6564;44=5480;48=73700;56=3630;8=150000,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=80000;12=9078;16=8104;24=7426;32=6564;44=5480;48=73700;56=3630;8=150000,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=90000;12=10281;16=9431;24=8746;32=7967;44=6836;48=90000;56=5259;8=160000,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=90000;12=10281;16=9431;24=8746;32=7967;44=6836;48=90000;56=5259;8=160000,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3630;15X44=4992;15X32=5797;13X44=5480;13X32=6564;13X24=7426;13X16=8104;13X12=8244;11X12=9078,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3630;15X44=4992;15X32=5797;13X44=5480;13X32=6564;13X24=7426;13X16=8104;13X12=8244;11X12=9078,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_16.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8484;12=8484;16=7557;24=6830;32=5969;44=5009;56=3078;8=8484,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8484;12=8484;16=7557;24=6830;32=5969;44=5009;56=3078;8=8484,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=9984;12=9984;16=9479;24=8868;32=7932;44=6875;56=5125;8=9984,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=9984;12=9984;16=9479;24=8868;32=7932;44=6875;56=5125;8=9984,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3078;13X32=5969;15X44=4395;15X32=5636;13X44=5009;13X24=6830;13X16=7557;13X12=8109;11X12=8484,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=3078;13X32=5969;15X44=4395;15X32=5636;13X44=5009;13X24=6830;13X16=7557;13X12=8109;11X12=8484,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_18.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=7570;12=7570;16=7052;24=6360;32=4926;44=3635;48=73700;56=2318;8=7570,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=7570;12=7570;16=7052;24=6360;32=4926;44=3635;48=73700;56=2318;8=7570,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=8926;12=8926;16=8563;24=7875;32=7150;44=5249;48=90000;56=4831;8=8926,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=8926;12=8926;16=8563;24=7875;32=7150;44=5249;48=90000;56=4831;8=8926,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=2318;15X44=3635;11X12=7953;15X32=4926;13X44=4449;13X32=5444;13X24=6360;13X16=7052;13X12=7570,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,15X56=2318;15X44=3635;11X12=7953;15X32=4926;13X44=4449;13X32=5444;13X24=6360;13X16=7052;13X12=7570,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_23.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8652;12=8652;16=7327;24=6642;32=5383;44=4736;56=2931;8=8652,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=8652;12=8652;16=7327;24=6642;32=5383;44=4736;56=2931;8=8652,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10635;12=10635;16=9672;24=8644;32=8215;44=6839;56=5374;8=10635,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=10635;12=10635;16=9672;24=8644;32=8215;44=6839;56=5374;8=10635,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,13X16=7327;15X32=5184;15X44=4124;15X56=2931;13X44=4736;13X32=5517;13X24=6642;13X12=7281;11X12=8652,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,13X16=7327;15X32=5184;15X44=4124;15X56=2931;13X44=4736;13X32=5517;13X24=6642;13X12=7281;11X12=8652,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
\ No newline at end of file
\ No newline at end of file
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_24.csv
查看文件 @
747bcc3
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
...
@@ -8,6 +8,7 @@ PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,100,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=927;12=8494;16=7941;24=7941;32=6347;44=5347;48=73700;56=3342;8=150000,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=927;12=8494;16=7941;24=7941;32=6347;44=5347;48=73700;56=3342;8=150000,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=1193;12=10732;16=10382;24=10488;32=8650;44=7402;48=90000;56=5679;8=160000,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=1193;12=10732;16=10382;24=10488;32=8650;44=7402;48=90000;56=5679;8=160000,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=927;13X8=927;13X12=8494;13X16=7941;15X32=5509;15X44=4483;11X12=8850;15X56=3342;13X44=5342;13X32=6046;13X24=6998,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,7X8=927;13X8=927;13X12=8494;13X16=7941;15X32=5509;15X44=4483;11X12=8850;15X56=3342;13X44=5342;13X32=6046;13X24=6998,,
PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,20000,,
\ No newline at end of file
\ No newline at end of file
source/DeviceLibrary/assemblyLine/MoveEquip.cs
查看文件 @
747bcc3
...
@@ -347,12 +347,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -347,12 +347,12 @@ namespace OnlineStore.DeviceLibrary
CylinderMove
(
MoveInfo
,
IO_Type
.
UpDownCylinder_Up
,
IO_Type
.
UpDownCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
UpDownCylinder_Up
,
IO_Type
.
UpDownCylinder_Down
);
}
}
}
}
private
void
UpdownDownP3Move
(
int
trayHeight
)
private
void
UpdownDownP3Move
(
int
trayHeight
,
int
traySize
)
{
{
if
(
UseAxis
)
if
(
UseAxis
)
{
{
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
int
position
=
Config
.
GetUpdownP3
(
trayHeight
);
int
position
=
Config
.
GetUpdownP3
Detial
(
trayHeight
,
traySize
);
UpdownAxis
.
AbsMove
(
MoveInfo
,
position
,
Config
.
UpdownAxis_P3Speed
);
UpdownAxis
.
AbsMove
(
MoveInfo
,
position
,
Config
.
UpdownAxis_P3Speed
);
}
}
else
else
...
...
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
747bcc3
...
@@ -84,7 +84,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -84,7 +84,7 @@ namespace OnlineStore.DeviceLibrary
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_52_CylinderDown
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_52_CylinderDown
);
OutLog
(
"出库 "
+
MoveInfo
.
SLog
+
": 上下气缸下降 "
);
OutLog
(
"出库 "
+
MoveInfo
.
SLog
+
": 上下气缸下降 "
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
,
MoveInfo
.
MoveParam
.
PlateW
);
// CylinderMove(MoveInfo, IO_Type.UpDownCylinder_Up, IO_Type.UpDownCylinder_Down);
// CylinderMove(MoveInfo, IO_Type.UpDownCylinder_Up, IO_Type.UpDownCylinder_Down);
}
}
else
else
...
@@ -122,7 +122,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -122,7 +122,7 @@ namespace OnlineStore.DeviceLibrary
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_52_CylinderDown
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_52_CylinderDown
);
OutLog
(
"出库 "
+
MoveInfo
.
SLog
+
": 上下气缸下降 "
);
OutLog
(
"出库 "
+
MoveInfo
.
SLog
+
": 上下气缸下降 "
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
,
MoveInfo
.
MoveParam
.
PlateW
);
}
}
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
MO_55_CylinderUp
))
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
MO_55_CylinderUp
))
{
{
...
@@ -394,7 +394,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -394,7 +394,7 @@ namespace OnlineStore.DeviceLibrary
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_11_CylinderDown
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_11_CylinderDown
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
" ,上下气缸下降"
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
" ,上下气缸下降"
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
,
MoveInfo
.
MoveParam
.
PlateW
);
}
}
else
else
{
{
...
...
source/LoadCVSLibrary/storeConfig/config/MoveEquip_Config.cs
查看文件 @
747bcc3
...
@@ -83,6 +83,14 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -83,6 +83,14 @@ namespace OnlineStore.LoadCSVLibrary
[
ConfigProAttribute
(
"UpDownP2DetialList"
,
false
)]
[
ConfigProAttribute
(
"UpDownP2DetialList"
,
false
)]
public
string
UpDownP2DetialList
{
get
;
set
;
}
public
string
UpDownP2DetialList
{
get
;
set
;
}
/// <summary>
/// PRO,0,移栽上下轴仓门口取放点P3详细位置,UpDownP3DetialList,0X0=0;,,
/// </summary>
[
ConfigProAttribute
(
"UpDownP3DetialList"
,
false
)]
public
string
UpDownP3DetialList
{
get
;
set
;
}
#
region
P2
private
Dictionary
<
string
,
int
>
UpdownP2DetialMap
=
null
;
private
Dictionary
<
string
,
int
>
UpdownP2DetialMap
=
null
;
public
Dictionary
<
string
,
int
>
LoadP2DetialMap
()
public
Dictionary
<
string
,
int
>
LoadP2DetialMap
()
...
@@ -116,7 +124,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -116,7 +124,7 @@ namespace OnlineStore.LoadCSVLibrary
return
UpdownP2DetialMap
;
return
UpdownP2DetialMap
;
}
}
public
int
GetUpdownP2Detial
(
int
trayHeight
,
int
traySize
=
8
)
public
int
GetUpdownP2Detial
(
int
trayHeight
,
int
traySize
=
8
)
{
{
LoadP2DetialMap
();
LoadP2DetialMap
();
string
fkey
=
traySize
+
"X"
+
trayHeight
;
string
fkey
=
traySize
+
"X"
+
trayHeight
;
...
@@ -132,7 +140,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -132,7 +140,7 @@ namespace OnlineStore.LoadCSVLibrary
}
}
public
void
UpdateUpdownP2Detial
(
int
size
,
int
height
,
int
sizePosition
)
public
void
UpdateUpdownP2Detial
(
int
size
,
int
height
,
int
sizePosition
)
{
{
string
fkey
=
size
+
"X"
+
height
;
string
fkey
=
size
+
"X"
+
height
;
string
newPositionStr
=
""
;
string
newPositionStr
=
""
;
...
@@ -153,7 +161,81 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -153,7 +161,81 @@ namespace OnlineStore.LoadCSVLibrary
UpDownP2DetialList
=
newPositionStr
;
UpDownP2DetialList
=
newPositionStr
;
}
}
#
endregion
#
region
P3
private
Dictionary
<
string
,
int
>
UpdownP3DetialMap
=
null
;
public
Dictionary
<
string
,
int
>
LoadP3DetialMap
()
{
try
{
if
(
UpdownP3DetialMap
==
null
)
{
UpdownP3DetialMap
=
new
Dictionary
<
string
,
int
>();
string
[]
arrayList
=
UpDownP3DetialList
.
Split
(
';'
);
foreach
(
string
str
in
arrayList
)
{
string
[]
arrStr
=
str
.
Split
(
'='
);
if
(
arrStr
.
Length
==
2
)
{
string
key
=
arrStr
[
0
].
Trim
().
ToUpper
();
if
(
key
.
Equals
(
"0X0"
))
{
continue
;
}
int
length
=
Convert
.
ToInt32
(
arrStr
[
1
].
Trim
());
UpdownP3DetialMap
.
Add
(
key
,
length
);
}
}
}
}
catch
(
Exception
ex
)
{
}
return
UpdownP3DetialMap
;
}
public
int
GetUpdownP3Detial
(
int
trayHeight
,
int
traySize
=
8
)
{
LoadP3DetialMap
();
string
fkey
=
traySize
+
"X"
+
trayHeight
;
if
(
UpdownP3DetialMap
.
ContainsKey
(
fkey
))
{
return
UpdownP3DetialMap
[
fkey
];
}
else
{
return
GetUpdownP3
(
trayHeight
);
}
return
-
1
;
}
public
void
UpdateUpdownP3Detial
(
int
size
,
int
height
,
int
sizePosition
)
{
string
fkey
=
size
+
"X"
+
height
;
string
newPositionStr
=
""
;
if
(
UpdownP3DetialMap
.
ContainsKey
(
fkey
))
{
UpdownP3DetialMap
[
fkey
]
=
sizePosition
;
}
else
{
UpdownP3DetialMap
.
Add
(
fkey
,
sizePosition
);
}
foreach
(
string
key
in
UpdownP3DetialMap
.
Keys
)
{
newPositionStr
+=
key
+
"="
+
UpdownP3DetialMap
[
key
]
+
";"
;
}
newPositionStr
=
newPositionStr
.
Substring
(
0
,
newPositionStr
.
Length
-
1
);
UpDownP3DetialList
=
newPositionStr
;
}
#
endregion
///// <summary>s
///// <summary>s
///// PRO,0,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
///// PRO,0,移栽上下轴下降速度,UpdownAxis_DownSpeed,500,,,,,
///// </summary>
///// </summary>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论