Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO815-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
图表
网络
创建新的问题
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 45436e18
由
几米阳光
编写于
2018-12-09 14:28:01 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
未扫到码或者单盘出库时,需要等待操作人员拿走料盘
1 个父辈
b16c6142
全部展开
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
218 行增加
和
135 行删除
source/ACSingleStore/FrmStoreBox.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/acSingleStore/AutomaticBaiting.cs
source/DeviceLibrary/acSingleStore/AutomaticBaiting_Partial.cs
source/DeviceLibrary/store/LineMoveP.cs
source/DeviceLibrary/store/StoreMoveStep.cs
source/DeviceLibrary/store/model/StoreMoveInfo.cs
source/LoadCVSLibrary/storeConfig/config/AUTO_SA_Config.cs
source/ACSingleStore/FrmStoreBox.Designer.cs
查看文件 @
45436e1
此文件的差异被折叠,
点击展开。
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
45436e1
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
查看文件 @
45436e1
...
...
@@ -45,11 +45,12 @@ AXIS,(轴三)进出轴,InOut_Axis,1,COM6,0,,,,,
AXIS,(轴五)批量上下料轴,Batch_Axis,1,COM3,0,,,,,
,,,,,,,,,,
,,,,,,,,,,
PRO,升降轴 进料口取料点 P1,UpDownAxis_DoorOPosition_P1,403000,,,,,,,
PRO,升降轴 进料口出料前点 P2,UpDownAxis_DoorIPosition_P2,415000,,,,,,,
PRO,升降轴 进料口取料缓冲点 P7,UpDownAxis_DoorOBPosition_P7,415000,,,,,,,
PRO,升降轴 进料口出料缓冲点 P8,UpDownAxis_DoorIBPosition_P8,403000,,,,,,,
PRO,升降轴 待机点P1集合,UpDownAxis_P1_List,8#20000;12#22000,,,,,,,
PRO,升降轴 进料口仓门位置,UpDownAxis_DoorPosition,403000,,,,,,,
,升降轴 进料口取料点 P1,UpDownAxis_DoorOPosition_P1,403000,,,,,,,
,升降轴 进料口出料前点 P2,UpDownAxis_DoorIPosition_P2,415000,,,,,,,
,升降轴 进料口取料缓冲点 P7,UpDownAxis_DoorOBPosition_P7,415000,,,,,,,
,升降轴 进料口出料缓冲点 P8,UpDownAxis_DoorIBPosition_P8,403000,,,,,,,
PRO,升降轴 出入料待机点P1集合,UpDownAxis_P1_List,8#20000;12#22000,,,,,,,
PRO,旋转轴(轴一)P1 待机原位点,MiddleAxis_P1_Position,268093,,,,,,,
PRO,进出轴(轴三)P1待机原位点,InOutAxis_P1_Position,1000,,,,,,,
PRO,压紧轴(轴4)P1待机原位点,CompressAxis_P1_Position,-75000,,,,,,,
...
...
@@ -79,14 +80,15 @@ PRO,(轴三)进出轴减速度,InoutAxis_DelSpeed,300,,,,,,,
PRO,(轴三)进出轴原点低速,InoutAxis_HomeLowSpeed,20,,,,,,,
PRO,(轴三)进出轴原点高速,InoutAxis_HomeHighSpeed,60,,,,,,,
PRO,(轴三)进出轴原点加速度,InoutAxis_HomeAddSpeed,200,,,,,,,
PRO,升降轴(轴二)到仓门速度,UpDownAxis_Door_Speed,500,,,,,,,
PRO,升降轴(轴二)P1速度,UpDownAxis_P1_Speed,2500,,,,,,,
PRO
,升降轴(轴二)P2速度,UpDownAxis_P2_Speed,2500,,,,,,,
,升降轴(轴二)P2速度,UpDownAxis_P2_Speed,2500,,,,,,,
PRO,升降轴(轴二)P3速度,UpDownAxis_P3_Speed,2500,,,,,,,
PRO,升降轴(轴二)P4速度,UpDownAxis_P4_Speed,1500,,,,,,,
PRO,升降轴(轴二)P5速度,UpDownAxis_P5_Speed,2500,,,,,,,
PRO,升降轴(轴二)P6速度,UpDownAxis_P6_Speed,1000,,,,,,,
PRO
,升降轴(轴二)P7速度,UpDownAxis_P7_Speed,1000,,,,,,,
PRO
,升降轴(轴二)P8速度,UpDownAxis_P8_Speed,1000,,,,,,,
,升降轴(轴二)P7速度,UpDownAxis_P7_Speed,1000,,,,,,,
,升降轴(轴二)P8速度,UpDownAxis_P8_Speed,1000,,,,,,,
PRO,旋转轴(轴一)P1速度,MiddleAxis_P1_Speed,1200,,,,,,,
PRO,旋转轴(轴一)P2速度,MiddleAxis_P2_Speed,1200,,,,,,,
PRO,进出轴(轴三)P1速度,InOutAxis_P1_Speed,1000,,,,,,,
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
45436e1
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/acSingleStore/AutomaticBaiting.cs
查看文件 @
45436e1
...
...
@@ -10,6 +10,11 @@ namespace OnlineStore.DeviceLibrary
public
partial
class
AutomaticBaiting
{
/// <summary>
/// 操作人员是否拿走料盘
/// </summary>
public
static
bool
IsGetTrayGo
=
false
;
public
static
bool
IsWaitTragGo
=
false
;
/// <summary>
/// 0=未知。1=门打开,2=门关闭
/// </summary>
public
static
int
DoorStatus
=
2
;
...
...
@@ -243,13 +248,16 @@ namespace OnlineStore.DeviceLibrary
}
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I04_SuckingDisc_Up
))
{
if
(
StoreManager
.
Store
.
CanStarInOut
())
{
if
(
LastCode
.
Equals
(
""
))
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I07_OpenDoor
);
LogUtil
.
info
(
Name
+
"入料: 未扫到二维码,打开仓门"
);
CylinderMove
(
IO_Type
.
Door_Up
,
IO_Type
.
Door_Down
,
true
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I10_WaitTrayGo
);
LogUtil
.
info
(
Name
+
"入料: 未扫到二维码,叉子过来拿料盘"
);
string
posId
=
StoreManager
.
Store
.
PositionNumList
[
0
];
StoreManager
.
Store
.
StartInStoreMove
(
new
InOutStoreParam
(
""
,
posId
),
true
,
false
);
}
else
if
(
StoreManager
.
Store
.
CanStarInOut
())
else
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I05_GetPosId
);
//计算高度
...
...
@@ -263,23 +271,23 @@ namespace OnlineStore.DeviceLibrary
StoreMove
.
OneWaitCanEndStep
=
true
;
}
}
}
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I05_GetPosId
))
{
//判断是否开始入库
if
(
StoreManager
.
Store
.
StoreMove
.
MoveType
.
Equals
(
StoreMoveType
.
InStore
))
if
(
StoreManager
.
Store
.
StoreMove
.
MoveType
.
Equals
(
StoreMoveType
.
InStore
)
||
(!
LastPosId
.
Equals
(
""
))
)
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I06_WaitTrayLeave
);
LogUtil
.
info
(
Name
+
"入料: 开始入料,等待料盘拿走"
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
SuckingDisc_Work
,
IO_VALUE
.
LOW
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
WidthCheck1
,
IO_VALUE
.
LOW
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
WidthCheck2
,
IO_VALUE
.
LOW
));
LogUtil
.
info
(
Name
+
"入料: 开始入料【"
+
LastPosId
+
"】,等待料盘拿走"
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
SuckingDisc_Air
,
IO_VALUE
.
LOW
));
}
else
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I07_OpenDoor
);
LogUtil
.
info
(
Name
+
"入料: 没有PosID,打开仓门等待拿走料盘"
);
CylinderMove
(
IO_Type
.
Door_Up
,
IO_Type
.
Door_Down
,
true
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I10_WaitTrayGo
);
LogUtil
.
info
(
Name
+
"入料: 未扫到二维码,叉子过来拿料盘"
);
string
posId
=
StoreManager
.
Store
.
PositionNumList
[
0
];
StoreManager
.
Store
.
StartInStoreMove
(
new
InOutStoreParam
(
""
,
posId
),
true
,
false
);
}
}
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I06_WaitTrayLeave
))
...
...
@@ -289,31 +297,29 @@ namespace OnlineStore.DeviceLibrary
IsNeedScanCode
();
}
}
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I
07_OpenDoor
))
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I
10_WaitTrayGo
))
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I08_WaitTakeTray
);
LogUtil
.
info
(
Name
+
"入料: 未扫到二维码,等待拿走料盘"
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
SuckingDisc_Work
,
IO_VALUE
.
LOW
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
WidthCheck1
,
IO_VALUE
.
LOW
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
WidthCheck2
,
IO_VALUE
.
LOW
));
}
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I08_WaitTakeTray
))
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I09_TrayLeaveWaitTime
);
LogUtil
.
info
(
Name
+
"入料: 未扫到二维码,料盘已拿走,等待1秒后关门"
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
}
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I09_TrayLeaveWaitTime
))
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I10_CloseDoor
);
LogUtil
.
info
(
Name
+
"入料: 未扫到二维码,料盘已拿走,关闭仓门"
);
CylinderMove
(
IO_Type
.
Door_Down
,
IO_Type
.
Door_Up
,
true
);
}
else
if
(
StoreMove
.
MoveStep
.
Equals
(
StoreMoveStep
.
AUTO_I10_CloseDoor
))
if
(
StoreManager
.
Store
.
CanStarInOut
())
{
IsNeedScanCode
();
}
}
//else if (StoreMove.MoveStep.Equals(StoreMoveStep.AUTO_I011_WaitTakeTray))
//{
// StoreMove.NextMoveStep(StoreMoveStep.AUTO_I09_TrayLeaveWaitTime);
// LogUtil.info(Name + "入料: 未扫到二维码,料盘已拿走,等待1秒后关门");
// StoreMove.WaitList.Add(WaitResultInfo.WaitTime(1000));
//}
//else if (StoreMove.MoveStep.Equals(StoreMoveStep.AUTO_I09_TrayLeaveWaitTime))
//{
// StoreMove.NextMoveStep(StoreMoveStep.AUTO_I10_CloseDoor);
// LogUtil.info(Name + "入料: 未扫到二维码,料盘已拿走,关闭仓门");
// CylinderMove(IO_Type.Door_Down, IO_Type.Door_Up, true);
//}
//else if (StoreMove.MoveStep.Equals(StoreMoveStep.AUTO_I10_CloseDoor))
//{
// IsNeedScanCode();
//}
else
{
LogUtil
.
error
(
Name
+
"未找到步骤:"
+
StoreMove
.
MoveType
);
...
...
@@ -321,6 +327,7 @@ namespace OnlineStore.DeviceLibrary
}
private
static
void
SuckingDiscWork
()
{
KND
.
IOMove
(
IO_Type
.
SuckingDisc_Work
,
IO_VALUE
.
LOW
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
AUTO_I03_SuckingDisc_Work
);
SuckingDisc_WorkCount
++;
LogUtil
.
info
(
Name
+
"入料: 吸盘开始第"
+
SuckingDisc_WorkCount
+
"次工作"
);
...
...
source/DeviceLibrary/acSingleStore/AutomaticBaiting_Partial.cs
查看文件 @
45436e1
...
...
@@ -23,7 +23,7 @@ namespace OnlineStore.DeviceLibrary
ACServerManager
.
SpeedMove
(
moveAxis
.
DeviceName
,
moveAxis
.
GetAxisValue
(),
targetSpeed
);
}
private
static
void
ACAxis
Rel
Move
(
ConfigMoveAxis
moveAxis
,
int
targetPosition
,
int
targetSpeed
)
private
static
void
ACAxis
Abs
Move
(
ConfigMoveAxis
moveAxis
,
int
targetPosition
,
int
targetSpeed
)
{
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitAxis
(
moveAxis
,
targetPosition
,
targetSpeed
));
moveAxis
.
TargetPosition
=
targetPosition
;
...
...
source/DeviceLibrary/store/LineMoveP.cs
查看文件 @
45436e1
...
...
@@ -13,13 +13,17 @@ namespace OnlineStore.DeviceLibrary
public
class
LineMoveP
{
/// <summary>
/// 轴2( 升降轴) 进料口取料点 P1
/// 轴2(升降轴)门口位置,需要等待拿走料盘的位置
/// </summary>
public
int
UpDown_
P1
{
get
;
set
;
}
public
int
UpDown_
Door
{
get
;
set
;
}
/// <summary>
/// 轴2( 升降轴)
进料口出料前点P2
/// 轴2( 升降轴)
进料口取料点 P1
/// </summary>
public
int
UpDown_P2
{
get
;
set
;
}
public
int
UpDown_P1
{
get
;
set
;
}
///// <summary>
///// 轴2( 升降轴) 进料口出料前点P2
///// </summary>
//public int UpDown_P2 { get; set; }
/// <summary>
/// 轴2( 升降轴) 库位入料前点P3
/// </summary>
...
...
@@ -36,14 +40,14 @@ namespace OnlineStore.DeviceLibrary
/// 轴2( 升降轴) 库位出料缓冲点P6
/// </summary>
public
int
UpDown_P6
{
get
;
set
;
}
/// <summary>
/// 轴2( 升降轴) 进料口取料缓冲点P7
/// </summary>
public
int
UpDown_P7
{
get
;
set
;
}
/// <summary>
/// 轴2( 升降轴) 进料口出料缓冲点P8
/// </summary>
public
int
UpDown_P8
{
get
;
set
;
}
///
//
<summary>
///
//
轴2( 升降轴) 进料口取料缓冲点P7
///
//
</summary>
//
public int UpDown_P7 { get; set; }
///
//
<summary>
///
//
轴2( 升降轴) 进料口出料缓冲点P8
///
//
</summary>
//
public int UpDown_P8 { get; set; }
/// <summary>
/// 轴1旋转轴 待机原位点 P1
...
...
@@ -78,7 +82,7 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 轴4( 压紧轴) 压紧前点P3
/// </summary>
public
int
ComPress_P3
{
get
;
set
;
}
public
int
ComPress_P3
{
get
;
set
;
}
/// <summary>
...
...
source/DeviceLibrary/store/StoreMoveStep.cs
查看文件 @
45436e1
...
...
@@ -223,52 +223,64 @@ namespace OnlineStore.DeviceLibrary
/// 料仓出库,,叉子进出料口,,轴3( 叉子) 至P2( 进料口取料点)
/// /// </summary>
SO_10_DeviceToDoor
=
110
,
/// <summary>
/// 料仓出库,,把物品放下,,轴2( 上下) 至P8( 进料口出料缓冲点)轴4( 压紧) 至P1( 待机点)
/// </summary>
SO_11_DevicePutWare
=
111
,
/// <summary>
/// 料仓出库,,叉子从出料口返回,,轴3( 叉子) 动作至P1( 待机点)
/// </summary>
SO_12_DeviceOutFromDoor
=
112
,
///
//
<summary>
///
//
料仓出库,,把物品放下,,轴2( 上下) 至P8( 进料口出料缓冲点)轴4( 压紧) 至P1( 待机点)
///
//
</summary>
//
SO_11_DevicePutWare = 111,
///
//
<summary>
///
//
料仓出库,,叉子从出料口返回,,轴3( 叉子) 动作至P1( 待机点)
///
//
</summary>
//
SO_12_DeviceOutFromDoor = 112,
/// <summary>
/// 料仓出库,,升降轴返回,, 轴2至P1( 待机点)
/// </summary>
SO_13_GoBack
=
113
,
SO_11_PutTray
=
111
,
/// <summary>
/// 叉子返回待机位
/// </summary>
SO_13_InoutBack
=
112
,
/// <summary>
/// 等待拿走物品
/// </summary>
SO_14_WaitTake
=
114
,
/// <summary>
///
料仓出库,批量出库,所有轴运行到吸盘下方,,轴1( 转盘) 至P1( 待机点)轴2( 上下) 至P1
///
升降轴走到门口位置
/// </summary>
SO_58_ToBatchDoorPosition
=
158
,
SO_21_OpenDoor
=
121
,
/// <summary>
///
料仓出库,定位气缸退回(有压紧轴的不需要此步骤
///
等待操作人员拿走料盘
/// </summary>
SO_
59_LocationCylinder_Down
=
159
,
SO_
22_WaitTrayGo
=
122
,
/// <summary>
/// 料仓出库,,叉子进出料口,,轴3( 叉子) 至P2( 进料口取料点)
/// /// </summary>
SO_60_DeviceToDoor
=
160
,
/// <summary>
/// 料仓出库,,把物品放下,,轴2( 上下) 至P8( 进料口出料缓冲点)轴4( 压紧) 至P1( 待机点)
/// </summary>
SO_61_DevicePutWare
=
161
,
/// <summary>
/// 料仓出库,,叉子从出料口返回,,轴3( 叉子) 动作至P1( 待机点)
/// 批量轴需要下降对应的高度
/// </summary>
SO_62_DeviceOutFromDoor
=
162
,
/// <summary>
/// 料仓出库,,升降轴返回,, 轴2至P1( 待机点)
/// </summary>
SO_63_GoBack
=
163
,
///// <summary>
///// 料仓出库,批量出库,所有轴运行到吸盘下方,,轴1( 转盘) 至P1( 待机点)轴2( 上下) 至P1
///// </summary>
//SO_58_ToBatchDoorPosition = 158,
///// <summary>
///// 料仓出库,定位气缸退回(有压紧轴的不需要此步骤
///// </summary>
//SO_59_LocationCylinder_Down = 159,
///// <summary>
///// 料仓出库,,叉子进出料口,,轴3( 叉子) 至P2( 进料口取料点)
///// /// </summary>
//SO_60_DeviceToDoor = 160,
///// <summary>
///// 料仓出库,,把物品放下,,轴2( 上下) 至P8( 进料口出料缓冲点)轴4( 压紧) 至P1( 待机点)
///// </summary>
//SO_61_DevicePutWare = 161,
///// <summary>
///// 料仓出库,,叉子从出料口返回,,轴3( 叉子) 动作至P1( 待机点)
///// 批量轴需要下降对应的高度
///// </summary>
//SO_62_DeviceOutFromDoor = 162,
///// <summary>
///// 料仓出库,,升降轴返回,, 轴2至P1( 待机点)
///// </summary>
//SO_63_GoBack = 163,
#
endregion
#
region
料仓内部入库步骤
...
...
@@ -329,12 +341,33 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 入库。。叉子从库位中返回,轴3( 叉子) 动作至P1( 待机点)
/// </summary>
SI_13_
DeviceBackFromBag
=
213
,
SI_13_
InoutBack
=
213
,
/// <summary>
/// 入库。。返回待机点,轴2/轴1/轴4动作至P1( 待机点))开始
/// </summary>
SI_14_GoBack
=
214
,
/// <summary>
/// 入库未取到PosID,,叉子走到门口位置, 打开仓门
/// </summary>
SI_21_DeviceToDoor
=
221
,
/// <summary>
/// 入库未取到PosID,,等待料盘拿走
/// </summary>
SI_22_WaitTrayGo
=
222
,
///// <summary>
///// 料仓出库,,升降轴返回,, 轴2至P1( 待机点)
///// </summary>
//SI_23_GoBack = 233,
///// <summary>
///// 等待拿走物品
///// </summary>
//SI_24_WaitTake = 234,
#
endregion
...
...
@@ -342,7 +375,7 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 关闭门锁
/// </summary>
AUTO_R01_CloseDoor
=
1101
,
AUTO_R01_CloseDoor
=
1101
,
/// <summary>
/// 自动轴原点返回
/// </summary>
...
...
@@ -397,22 +430,34 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
AUTO_I06_WaitTrayLeave
,
/// <summary>
/// 打开仓门
/// </summary>
AUTO_I07_OpenDoor
,
/// <summary>
/// 等待拿走料盘
/// </summary>
AUTO_I08_WaitTakeTray
,
/// <summary>
/// 料盘已手动拿走,需要等一秒钟后关闭仓门
/// 未扫到码:等待操作人员拿走料盘
/// </summary>
AUTO_I09_TrayLeaveWaitTime
,
AUTO_I10_WaitTrayGo
,
///// <summary>
/////未扫到码: 把料盘放到叉子上
///// </summary>
//AUTO_I11_PutTrayToInout,
///// <summary>
///// 未扫到码:叉子进入门槛
///// </summary>
//AUTO_I12_InoutToDoor,
///// <summary>
///// 未扫到码:把料盘放到门口
///// </summary>
//AUTO_I13_PutTrayToDoor,
///// <summary>
///// 未扫到码:等待拿走料盘
///// </summary>
//AUTO_I14_WaitTakeTray,
///// <summary>
///// 未扫到码:料盘已手动拿走,需要等一秒钟后关闭仓门
///// </summary>
//AUTO_I15_TrayLeaveWaitTime,
/// <summary>
///
关闭仓门
/// </summary>
AUTO_I10
_CloseDoor
,
///
//
<summary>
///
// 未扫到码:
关闭仓门
///
//
</summary>
//AUTO_I16
_CloseDoor,
#
endregion
...
...
source/DeviceLibrary/store/model/StoreMoveInfo.cs
查看文件 @
45436e1
...
...
@@ -84,7 +84,10 @@ namespace OnlineStore.DeviceLibrary
/// 是否是批量出入库
/// </summary>
public
bool
IsBatchInOutStore
=
true
;
/// <summary>
/// 是否需要入库,不需要入库把料盘放在门口即可
/// </summary>
public
bool
IsNeedInStore
=
true
;
public
List
<
WaitResultInfo
>
WaitList
=
new
List
<
WaitResultInfo
>();
public
void
NextMoveStep
(
StoreMoveStep
step
)
{
...
...
@@ -294,6 +297,16 @@ namespace OnlineStore.DeviceLibrary
wait
.
WaitType
=
11
;
return
wait
;
}
/// <summary>
/// 12=等待操作人员拿走料盘
/// </summary>
/// <returns></returns>
public
static
WaitResultInfo
WaitTakeTray
()
{
WaitResultInfo
wait
=
new
WaitResultInfo
();
wait
.
WaitType
=
12
;
return
wait
;
}
public
string
ToStr
()
{
if
(
WaitType
==
1
)
...
...
@@ -359,6 +372,7 @@ namespace OnlineStore.DeviceLibrary
/// 等待结果,1=轴运动,2=IO运动,3=时间,4=电钢,5=硕科电机,6=等待轴原点信号
/// 7=等待高度为0,8=等待轴的负限位,9=等待轴的正限位。10=上料轴运动停止
/// 11=扫码结束。
/// 12=操作人员拿走料盘,并点击确定。
/// </summary>
public
int
WaitType
{
get
;
set
;
}
/// <summary>
...
...
source/LoadCVSLibrary/storeConfig/config/AUTO_SA_Config.cs
查看文件 @
45436e1
...
...
@@ -159,11 +159,11 @@ namespace OnlineStore.LoadCSVLibrary
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_P1_Speed"
)]
public
int
UpDownAxis_P1_Speed
{
get
;
set
;
}
/// <summary>
/// PRO 升降轴(轴2)P2速度 UpDownAxis_P2_Speed
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_P2_Speed"
)]
public
int
UpDownAxis_P2_Speed
{
get
;
set
;
}
///
//
<summary>
///
//
PRO 升降轴(轴2)P2速度 UpDownAxis_P2_Speed
///
//
</summary>
//
[ConfigProAttribute("UpDownAxis_P2_Speed")]
//
public int UpDownAxis_P2_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P3速度 UpDownAxis_P3_Speed
/// </summary>
...
...
@@ -186,18 +186,18 @@ namespace OnlineStore.LoadCSVLibrary
public
int
UpDownAxis_P6_Speed
{
get
;
set
;
}
/// <summary>
/// PRO 升降轴(轴2)P7速度 UpDownAxis_P7_Speed
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_P7_Speed"
)]
public
int
UpDownAxis_P7_Speed
{
get
;
set
;
}
///
//
<summary>
///
//
PRO 升降轴(轴2)P7速度 UpDownAxis_P7_Speed
///
//
</summary>
//
[ConfigProAttribute("UpDownAxis_P7_Speed")]
//
public int UpDownAxis_P7_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P8速度 UpDownAxis_P8_Speed
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_P8_Speed"
)]
public
int
UpDownAxis_P8_Speed
{
get
;
set
;
}
///
//
<summary>
///
//
PRO 升降轴(轴2)P8速度 UpDownAxis_P8_Speed
///
//
</summary>
//
[ConfigProAttribute("UpDownAxis_P8_Speed")]
//
public int UpDownAxis_P8_Speed { get; set; }
/// <summary>
/// PRO 旋转轴(轴1)P1速度 MiddleAxis_P1_Speed
...
...
@@ -284,28 +284,39 @@ namespace OnlineStore.LoadCSVLibrary
[
ConfigProAttribute
(
"UpDownAxis_P1_List"
)]
public
string
UpDownAxis_P1_List
{
get
;
set
;
}
/// <summary>
/// PRO,升降轴 进料口位置, UpDownAxis_DoorPosition,403000,,,,,,,
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_DoorPosition"
)]
public
int
UpDownAxis_DoorPosition
{
get
;
set
;
}
/// <summary>
/// 升降轴(轴二)到仓门速度 UpDownAxis_Door_Speed 2500
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_Door_Speed"
)]
public
int
UpDownAxis_Door_Speed
{
get
;
set
;
}
///// <summary>
///// 升降轴 进料口取料点 P1
///// </summary>
//[ConfigProAttribute("UpDownAxis_DoorOPosition_P1")]
//public int UpDownAxis_DoorOPosition_P1 { get; set; }
/// <summary>
/// 升降轴 进料口出料前点 P2
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_DoorIPosition_P2"
)]
public
int
UpDownAxis_DoorIPosition_P2
{
get
;
set
;
}
///
//
<summary>
///
//
升降轴 进料口出料前点 P2
///
//
</summary>
//
[ConfigProAttribute("UpDownAxis_DoorIPosition_P2")]
//
public int UpDownAxis_DoorIPosition_P2 { get; set; }
/// <summary>
/// 升降轴 进料口取料缓冲点 P7
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_DoorOBPosition_P7"
)]
public
int
UpDownAxis_DoorOBPosition_P7
{
get
;
set
;
}
///
//
<summary>
///
//
升降轴 进料口取料缓冲点 P7
///
//
</summary>
//
[ConfigProAttribute("UpDownAxis_DoorOBPosition_P7")]
//
public int UpDownAxis_DoorOBPosition_P7 { get; set; }
/// <summary>
/// 升降轴 进料口出料缓冲点 P8
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_DoorIBPosition_P8"
)]
public
int
UpDownAxis_DoorIBPosition_P8
{
get
;
set
;
}
///
//
<summary>
///
//
升降轴 进料口出料缓冲点 P8
///
//
</summary>
//
[ConfigProAttribute("UpDownAxis_DoorIBPosition_P8")]
//
public int UpDownAxis_DoorIBPosition_P8 { get; set; }
///// <summary>
///// 进出轴进料口取料点 P2
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论