Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC30-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit b794741c
由
几米阳光
编写于
2019-03-12 10:42:37 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1.入库从吸盘下方拿到盘后先下降一点再后退.
2.批量轴上料完成后,直接回P2点。
1 个父辈
67efe982
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
30 行增加
和
14 行删除
source/ACSingleStore/记录.txt
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/acSingleStore/AutomaticBaiting.cs
source/DeviceLibrary/store/StoreMoveStep.cs
source/LoadCVSLibrary/storeConfig/config/AUTO_SA_Config.cs
source/ACSingleStore/记录.txt
查看文件 @
b794741
...
@@ -117,17 +117,12 @@ PRO,最后一盘料需要补充的高度,LastTrayAddHeight,10,,,,,,,,,
...
@@ -117,17 +117,12 @@ PRO,最后一盘料需要补充的高度,LastTrayAddHeight,10,,,,,,,,,
20190226需要修改
20190226需要修改
批量上下料轴增加待机点,复位后移动到待机点
批量上下料轴增加待机点,复位后移动到待机点
20190309自动上下料修改:入库从吸盘下方拿到盘后先下降一点再后退
1768450
StoreConfig 文件增加下降高度的配置。
1796771
批量轴上料完成后,直接回P2点。
...
...
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
查看文件 @
b794741
...
@@ -48,6 +48,7 @@ AXIS,(轴五)批量上下料轴,Batch_Axis,4,COM1,0,,,,,
...
@@ -48,6 +48,7 @@ AXIS,(轴五)批量上下料轴,Batch_Axis,4,COM1,0,,,,,
PRO,升降轴 仓门位置P7(人工拿走盘的位置),UpDownAxis_Door_P7,347550,,,,,,,
PRO,升降轴 仓门位置P7(人工拿走盘的位置),UpDownAxis_Door_P7,347550,,,,,,,
PRO,升降轴 出库高点P2,UpDownAxis_OutHigh_P2,247000,,,,,,,
PRO,升降轴 出库高点P2,UpDownAxis_OutHigh_P2,247000,,,,,,,
PRO,升降轴 出库低点P8,UpDownAxis_OutLow_P8,217000,,,,,,,
PRO,升降轴 出库低点P8,UpDownAxis_OutLow_P8,217000,,,,,,,
PRO,升降轴从吸盘下方接料后下降的高度,UpDownAxis_DownValue,10000,,,,,,,
PRO,升降轴 入库P1点集合,UpDownAxis_P1_List,12#396000;16#394000;20#394000;24#390500;28#390500;32#390500;36#390500;40#390500;52#390500;,,,,,,,
PRO,升降轴 入库P1点集合,UpDownAxis_P1_List,12#396000;16#394000;20#394000;24#390500;28#390500;32#390500;36#390500;40#390500;52#390500;,,,,,,,
PRO,旋转轴(轴一)P1 待机原位点,MiddleAxis_P1_Position,217400,,,,,,,
PRO,旋转轴(轴一)P1 待机原位点,MiddleAxis_P1_Position,217400,,,,,,,
PRO,进出轴(轴三)P1待机原位点,InOutAxis_P1_Position,1000,,,,,,,
PRO,进出轴(轴三)P1待机原位点,InOutAxis_P1_Position,1000,,,,,,,
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
b794741
...
@@ -401,7 +401,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -401,7 +401,7 @@ namespace OnlineStore.DeviceLibrary
{
{
InStoreLog
(
"入库:SI_06 压紧轴压紧,压紧轴到P2 "
);
InStoreLog
(
"入库:SI_06 压紧轴压紧,压紧轴到P2 "
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_06_CompressWork
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_06_CompressWork
);
ComMoveToPosition
(
moveP
.
ComPress_P2
,
true
);
ComMoveToPosition
(
moveP
.
ComPress_P2
,
true
);
}
}
else
else
{
{
...
@@ -413,6 +413,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -413,6 +413,13 @@ namespace OnlineStore.DeviceLibrary
}
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SI_06_CompressWork
)
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SI_06_CompressWork
)
{
{
int
targetPosition
=
moveP
.
UpDown_P1
-
Config
.
UpDownAxis_DownValue
;
InStoreLog
(
"入库:SI_061 升降轴稍微下降【"
+
Config
.
UpDownAxis_DownValue
+
"】,目标位置【"
+
targetPosition
+
"】 "
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_061_UpdownAxisDown
);
ACAxisMove
(
Config
.
UpDown_Axis
,
targetPosition
,
Config
.
UpDownAxis_P1_Speed
);
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SI_061_UpdownAxisDown
)
{
InStoreLog
(
"入库:SI_07 叉子返回,进出轴至P1(待机点) "
);
InStoreLog
(
"入库:SI_07 叉子返回,进出轴至P1(待机点) "
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_07_DeviceBackFromDoor
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_07_DeviceBackFromDoor
);
InOutBackToP1
(
moveP
.
InOut_P1
);
InOutBackToP1
(
moveP
.
InOut_P1
);
...
@@ -475,7 +482,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -475,7 +482,7 @@ namespace OnlineStore.DeviceLibrary
//SendLineStatus(StoreID, posId, StoreStatus.InStoreEnd);
//SendLineStatus(StoreID, posId, StoreStatus.InStoreEnd);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_12_PutWareToBag
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_12_PutWareToBag
);
ComMoveToPosition
(
moveP
.
ComPress_P3
,
true
);
ComMoveToPosition
(
moveP
.
ComPress_P3
,
true
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_P4
,
Config
.
UpDownAxis_P4_Speed
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_P4
,
Config
.
UpDownAxis_P4_Speed
);
}
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SI_12_PutWareToBag
)
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SI_12_PutWareToBag
)
...
...
source/DeviceLibrary/acSingleStore/AutomaticBaiting.cs
查看文件 @
b794741
...
@@ -200,7 +200,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -200,7 +200,7 @@ namespace OnlineStore.DeviceLibrary
else
else
{
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_R05_ToP2
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_R05_ToP2
);
LogUtil
.
info
(
Name
+
"复位中:上料轴移动到p
1
点【"
+
StoreManager
.
Config
.
BatchAxis_P2
+
"】"
);
LogUtil
.
info
(
Name
+
"复位中:上料轴移动到p
2
点【"
+
StoreManager
.
Config
.
BatchAxis_P2
+
"】"
);
ACAxisAbsMove
(
StoreManager
.
Config
.
Batch_Axis
,
StoreManager
.
Config
.
BatchAxis_P2
,
StoreManager
.
Config
.
BatchAxis_P2_Speed
);
ACAxisAbsMove
(
StoreManager
.
Config
.
Batch_Axis
,
StoreManager
.
Config
.
BatchAxis_P2
,
StoreManager
.
Config
.
BatchAxis_P2_Speed
);
}
}
break
;
break
;
...
@@ -565,9 +565,11 @@ namespace OnlineStore.DeviceLibrary
...
@@ -565,9 +565,11 @@ namespace OnlineStore.DeviceLibrary
else
else
{
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I11_BatchAxisHome
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I11_BatchAxisHome
);
LogUtil
.
info
(
Name
+
"入料:已经没有料盘,批量上下轴回原点"
);
LogUtil
.
info
(
Name
+
"入料:已经没有料盘,直接回待机点P2【"
+
StoreManager
.
Config
.
BatchAxis_P2
+
"】"
);
StoreMove
.
TimeOutSeconds
=
120
;
//StoreMove.TimeOutSeconds = 120;
ACAxisHomeMove
(
StoreManager
.
Config
.
Batch_Axis
);
//ACAxisHomeMove(StoreManager.Config.Batch_Axis);
//LogUtil.info(Name + "复位中:上料轴移动到p2点【" + StoreManager.Config.BatchAxis_P2 + "】");
ACAxisAbsMove
(
StoreManager
.
Config
.
Batch_Axis
,
StoreManager
.
Config
.
BatchAxis_P2
,
StoreManager
.
Config
.
BatchAxis_P2_Speed
);
}
}
}
}
...
...
source/DeviceLibrary/store/StoreMoveStep.cs
查看文件 @
b794741
...
@@ -332,6 +332,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -332,6 +332,10 @@ namespace OnlineStore.DeviceLibrary
/// 压紧轴压紧
/// 压紧轴压紧
/// </summary>
/// </summary>
SI_06_CompressWork
=
206
,
SI_06_CompressWork
=
206
,
/// <summary>
/// 压紧轴压紧后,升降轴稍微下降之后叉子再后退
/// </summary>
SI_061_UpdownAxisDown
=
215
,
/// <summary>
/// <summary>
/// 入库。。叉子 从入料口抽出,轴3( 叉子) 至P1( 待机点)
/// 入库。。叉子 从入料口抽出,轴3( 叉子) 至P1( 待机点)
...
...
source/LoadCVSLibrary/storeConfig/config/AUTO_SA_Config.cs
查看文件 @
b794741
...
@@ -620,6 +620,13 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -620,6 +620,13 @@ namespace OnlineStore.LoadCSVLibrary
/// </summary>
/// </summary>
[
ConfigProAttribute
(
"BatchAxis_P2_Speed"
)]
[
ConfigProAttribute
(
"BatchAxis_P2_Speed"
)]
public
int
BatchAxis_P2_Speed
{
get
;
set
;
}
public
int
BatchAxis_P2_Speed
{
get
;
set
;
}
/// <summary>
/// PRO,升降轴从吸盘下方接料后下降的高度,UpDownAxis_DownValue,10000,,,,,,,
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_DownValue"
)]
public
int
UpDownAxis_DownValue
{
get
;
set
;
}
private
Dictionary
<
string
,
ushort
>
DILengthMap
=
null
;
private
Dictionary
<
string
,
ushort
>
DILengthMap
=
null
;
private
Dictionary
<
string
,
ushort
>
DOLengthMap
=
null
;
private
Dictionary
<
string
,
ushort
>
DOLengthMap
=
null
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论