Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-ACPackingStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a0bdb503
由
LN
编写于
2019-11-11 17:25:48 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
bc45c7da
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
125 行增加
和
102 行删除
source/ACPackingStore/FrmBox.Designer.cs
source/ACPackingStore/FrmBox.cs
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean.cs
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Partial.cs
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
source/DeviceLibrary/ACPackingStore/StoreManager.cs
source/DeviceLibrary/StoreConfig/BoxConfig_1.csv
source/DeviceLibrary/StoreConfig/BoxConfig_2.csv
source/DeviceLibrary/StoreConfig/shelfPosition.csv
source/DeviceLibrary/store/InOutParam.cs
source/DeviceLibrary/store/LineMoveP.cs
source/DeviceLibrary/store/StoreStep.cs
source/LoadCVSLibrary/position/ShelfPosition.cs
source/LoadCVSLibrary/storeConfig/config/AC_Box_Config.cs
source/LoadCVSLibrary/storeConfig/config/StoreType.cs
source/ACPackingStore/FrmBox.Designer.cs
查看文件 @
a0bdb50
此文件的差异被折叠,
点击展开。
source/ACPackingStore/FrmBox.cs
查看文件 @
a0bdb50
...
...
@@ -71,10 +71,10 @@ namespace OnlineStore.ACPackingStore
}
if
(
shelrfP
!=
null
)
{
txtInoutP
A
.
Text
=
shelrfP
.
InoutAxis_PA
.
ToString
();
txtUpdownP
A1
.
Text
=
shelrfP
.
UpDownAxis_LPA
1
.
ToString
();
txtUpdownP
A2
.
Text
=
shelrfP
.
UpDownAxis_HPA
2
.
ToString
();
txtMP
A
.
Text
=
shelrfP
.
MiddleAxis_PA
.
ToString
();
txtInoutP
101
.
Text
=
shelrfP
.
InoutAxis_P101
.
ToString
();
txtUpdownP
101
.
Text
=
shelrfP
.
UpDownAxis_LP10
1
.
ToString
();
txtUpdownP
102
.
Text
=
shelrfP
.
UpDownAxis_HP10
2
.
ToString
();
txtMP
101
.
Text
=
shelrfP
.
MiddleAxis_P101
.
ToString
();
}
txtMiddleP1
.
Text
=
BoxBean
.
Config
.
MiddleAxis_P1
.
ToString
();
...
...
@@ -396,10 +396,10 @@ namespace OnlineStore.ACPackingStore
//ktk.UpDown_P7 = FormUtil.GetIntValue(txtUpDownP7);
//ktk.UpDown_P8 = FormUtil.GetIntValue(txtUpDownP8);
ktk
.
InOut_P
A
=
FormUtil
.
GetIntValue
(
txtInoutPA
);
ktk
.
UpDown_LP
A1
=
FormUtil
.
GetIntValue
(
txtUpdownPA
1
);
ktk
.
UpDown_HP
A2
=
FormUtil
.
GetIntValue
(
txtUpdownPA
2
);
ktk
.
Middle_P
A
=
FormUtil
.
GetIntValue
(
txtMPA
);
ktk
.
InOut_P
101
=
FormUtil
.
GetIntValue
(
txtInoutP101
);
ktk
.
UpDown_LP
101
=
FormUtil
.
GetIntValue
(
txtUpdownP10
1
);
ktk
.
UpDown_HP
102
=
FormUtil
.
GetIntValue
(
txtUpdownP10
2
);
ktk
.
Middle_P
101
=
FormUtil
.
GetIntValue
(
txtMP101
);
return
ktk
;
}
private
void
btnComAlarmClear_Click
(
object
sender
,
EventArgs
e
)
...
...
@@ -1107,10 +1107,10 @@ namespace OnlineStore.ACPackingStore
if
(
shelrfP
!=
null
)
{
txtInoutP
A
.
Text
=
shelrfP
.
InoutAxis_PA
.
ToString
();
txtUpdownP
A1
.
Text
=
shelrfP
.
UpDownAxis_LPA
1
.
ToString
();
txtUpdownP
A2
.
Text
=
shelrfP
.
UpDownAxis_HPA
2
.
ToString
();
txtMP
A
.
Text
=
shelrfP
.
MiddleAxis_PA
.
ToString
();
txtInoutP
101
.
Text
=
shelrfP
.
InoutAxis_P101
.
ToString
();
txtUpdownP
101
.
Text
=
shelrfP
.
UpDownAxis_LP10
1
.
ToString
();
txtUpdownP
102
.
Text
=
shelrfP
.
UpDownAxis_HP10
2
.
ToString
();
txtMP
101
.
Text
=
shelrfP
.
MiddleAxis_P101
.
ToString
();
}
}
}
...
...
@@ -1122,10 +1122,10 @@ namespace OnlineStore.ACPackingStore
ShelfPosition
pso
=
CSVPositionReader
<
ShelfPosition
>.
GetPositon
(
selectPositionNum
);
if
(
pso
!=
null
)
{
pso
.
InoutAxis_P
A
=
FormUtil
.
GetIntValue
(
txtInoutPA
);
pso
.
MiddleAxis_P
A
=
FormUtil
.
GetIntValue
(
txtMPA
);
pso
.
UpDownAxis_LP
A1
=
FormUtil
.
GetIntValue
(
txtUpdownPA
1
);
pso
.
UpDownAxis_HP
A2
=
FormUtil
.
GetIntValue
(
txtUpdownPA
2
);
pso
.
InoutAxis_P
101
=
FormUtil
.
GetIntValue
(
txtInoutP101
);
pso
.
MiddleAxis_P
101
=
FormUtil
.
GetIntValue
(
txtMP101
);
pso
.
UpDownAxis_LP
101
=
FormUtil
.
GetIntValue
(
txtUpdownP10
1
);
pso
.
UpDownAxis_HP
102
=
FormUtil
.
GetIntValue
(
txtUpdownP10
2
);
}
//位置配置
string
positionConfigFile
=
Application
.
StartupPath
+
ConfigAppSettings
.
GetValue
(
Setting_Init
.
Shelf_Position_Config
);
...
...
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean.cs
查看文件 @
a0bdb50
...
...
@@ -30,6 +30,10 @@ namespace OnlineStore.DeviceLibrary
private
Dictionary
<
string
,
AxisAlarmInfo
>
AxisAlarmCodeMap
=
new
Dictionary
<
string
,
AxisAlarmInfo
>();
public
List
<
string
>
PositionNumList
=
new
List
<
string
>();
public
List
<
string
>
ShelfPosList
=
new
List
<
string
>();
/// <summary>
/// 料架未放料盘的位置列表
/// </summary>
public
Queue
<
string
>
EmprtShelfList
=
new
Queue
<
string
>();
private
System
.
Timers
.
Timer
serverConnectTimer
=
new
System
.
Timers
.
Timer
();
private
System
.
Timers
.
Timer
IoCheckTimer
=
new
System
.
Timers
.
Timer
();
...
...
@@ -1264,11 +1268,20 @@ namespace OnlineStore.DeviceLibrary
{
LogUtil
.
error
(
"验证出库【"
+
currInOutFixture
.
ToStr
()
+
"】是否重复出错:"
+
ex
.
ToString
());
}
if
(
CanStarInOut
())
string
shelfPosId
=
""
;
if
(
EmprtShelfList
.
Count
>
0
)
{
shelfPosId
=
EmprtShelfList
.
Dequeue
();
}
else
{
LogUtil
.
error
(
Name
+
"执行出库【"
+
currInOutFixture
.
ToStr
()
+
"】失败,料架没有空位置"
);
}
if
(
CanStarInOut
()
&&
String
.
IsNullOrEmpty
(
shelfPosId
).
Equals
(
false
))
//if (CanStarInOut() &&( LineConnect.CanStartOut()||IsDebug))
{
bool
result
=
StartOutStoreMove
(
new
InOutParam
(
""
,
posId
,
plateW
,
plateH
));
bool
result
=
StartOutStoreMove
(
new
InOutParam
(
""
,
posId
,
plateW
,
plateH
,
shelfPosId
));
if
(!
result
)
{
LogInfo
(
" 执行出库【"
+
currInOutFixture
.
ToStr
()
+
"】失败,加入等待队列"
);
...
...
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Partial.cs
查看文件 @
a0bdb50
...
...
@@ -12,22 +12,6 @@ namespace OnlineStore.DeviceLibrary
{
#
region
出入库结果验证
private
void
InOutBackToP1
(
int
InOut_P1
)
{
//判断是否在P1,如果是,不需要运行
int
outCount
=
ACServerManager
.
GetActualtPosition
(
Config
.
InOut_Axis
.
DeviceName
,
Config
.
InOut_Axis
.
GetAxisValue
());
int
errorCount
=
Math
.
Abs
(
outCount
-
InOut_P1
);
if
(
errorCount
<=
Config
.
InOut_Axis
.
CanErrorCountMin
)
{
LogInfo
(
"进出轴当前位置:"
+
outCount
+
",已经在P1,不需要再回P1"
);
}
else
{
ACAxisMove
(
Config
.
InOut_Axis
,
InOut_P1
,
Config
.
InOutAxis_P1_Speed
);
}
//StoreMove.WaitList.Add(WaitResultInfo.WaitAxisOrg(Config.InOut_Axis,IO_VALUE.HIGH));
}
private
void
CheckWait
()
{
List
<
WaitResultInfo
>
list
=
MoveInfo
.
WaitList
;
...
...
@@ -121,7 +105,8 @@ namespace OnlineStore.DeviceLibrary
}
wait
.
IsEnd
=
result
;
}
}
else
if
(
wait
.
WaitType
.
Equals
(
9
))
}
else
if
(
wait
.
WaitType
.
Equals
(
9
))
{
wait
.
IsEnd
=
(
LastScanCodes
.
Count
>
0
);
}
...
...
@@ -155,6 +140,23 @@ namespace OnlineStore.DeviceLibrary
}
}
private
static
DateTime
lastComRHomeTime
=
DateTime
.
Now
;
private
void
InOutBackToP1
(
int
InOut_P1
)
{
//判断是否在P1,如果是,不需要运行
int
outCount
=
ACServerManager
.
GetActualtPosition
(
Config
.
InOut_Axis
.
DeviceName
,
Config
.
InOut_Axis
.
GetAxisValue
());
int
errorCount
=
Math
.
Abs
(
outCount
-
InOut_P1
);
if
(
errorCount
<=
Config
.
InOut_Axis
.
CanErrorCountMin
)
{
LogInfo
(
"进出轴当前位置:"
+
outCount
+
",已经在P1,不需要再回P1"
);
}
else
{
ACAxisMove
(
Config
.
InOut_Axis
,
InOut_P1
,
Config
.
InOutAxis_P1_Speed
);
}
//StoreMove.WaitList.Add(WaitResultInfo.WaitAxisOrg(Config.InOut_Axis,IO_VALUE.HIGH));
}
#
endregion
...
...
source/DeviceLibrary/ACPackingStore/AC_BOX_Bean_Shelf.cs
查看文件 @
a0bdb50
...
...
@@ -39,6 +39,7 @@ namespace OnlineStore.DeviceLibrary
LogInfo
(
" 空闲中,检测到入料口有信号,料架入库:入料口移门打开,"
);
storeRunStatus
=
StoreRunStatus
.
Busy
;
storeStatus
=
StoreStatus
.
InStoreExecute
;
EmprtShelfList
=
new
Queue
<
string
>();
MoveInfo
.
NewMove
(
StoreMoveType
.
InStore
,
new
InOutParam
());
MoveInfo
.
MoveParam
.
MoveP
=
new
LineMoveP
();
...
...
@@ -55,6 +56,13 @@ namespace OnlineStore.DeviceLibrary
}
}
}
private
void
ShelfInStoreEnd
()
{
MoveInfo
.
EndMove
();
EmprtShelfList
=
new
Queue
<
string
>(
ShelfPosList
);
storeRunStatus
=
StoreRunStatus
.
Runing
;
storeStatus
=
StoreStatus
.
StoreOnline
;
}
private
void
ShelfInStoreProcess
()
{
LineMoveP
moveP
=
MoveInfo
.
MoveParam
.
MoveP
;
...
...
@@ -127,24 +135,24 @@ namespace OnlineStore.DeviceLibrary
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
StoreMoveStep
.
BI_11_InoutToP1
))
{
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BI_12_MoveToShelf
);
InOutStoreLog
(
"料架取料:升降轴移动到P
A1低点,旋转轴移动到PA
1点,压紧轴到压紧前点"
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_LP
A1
,
Config
.
UpDownAxis_PA
1_Speed
);
ACAxisMove
(
Config
.
Middle_Axis
,
moveP
.
Middle_P
A
,
Config
.
MiddleAxis_PA
_Speed
);
InOutStoreLog
(
"料架取料:升降轴移动到P
101低点,旋转轴移动到P10
1点,压紧轴到压紧前点"
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_LP
101
,
Config
.
UpDownAxis_P10
1_Speed
);
ACAxisMove
(
Config
.
Middle_Axis
,
moveP
.
Middle_P
101
,
Config
.
MiddleAxis_P101
_Speed
);
ACAxisMove
(
Config
.
Comp_Axis
,
Config
.
CompAxis_P3_Position
,
Config
.
CompAxis_P3_Speed
);
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
StoreMoveStep
.
BI_12_MoveToShelf
))
{
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BI_13_InoutToP
A
);
InOutStoreLog
(
"料架取料:叉子前进到P
A
点"
);
ACAxisMove
(
Config
.
InOut_Axis
,
moveP
.
InOut_P
A
,
Config
.
InOutAxis_PA
_Speed
);
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BI_13_InoutToP
101
);
InOutStoreLog
(
"料架取料:叉子前进到P
101
点"
);
ACAxisMove
(
Config
.
InOut_Axis
,
moveP
.
InOut_P
101
,
Config
.
InOutAxis_P101
_Speed
);
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
StoreMoveStep
.
BI_13_InoutToP
A
))
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
StoreMoveStep
.
BI_13_InoutToP
101
))
{
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BI_14_UpdownToP
A
2
);
InOutStoreLog
(
"料架取料:升降轴上升到P
A
2点"
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_HP
A2
,
Config
.
UpDownAxis_PA
2_Speed
);
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BI_14_UpdownToP
10
2
);
InOutStoreLog
(
"料架取料:升降轴上升到P
10
2点"
);
ACAxisMove
(
Config
.
UpDown_Axis
,
moveP
.
UpDown_HP
102
,
Config
.
UpDownAxis_P10
2_Speed
);
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
StoreMoveStep
.
BI_14_UpdownToP
A
2
))
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
StoreMoveStep
.
BI_14_UpdownToP
10
2
))
{
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BI_15_StartCompress
);
InOutStoreLog
(
"料架取料:压紧轴开始缓慢压紧到P4"
);
...
...
@@ -331,8 +339,7 @@ namespace OnlineStore.DeviceLibrary
ACAxisMove
(
Config
.
UpDown_Axis
,
MoveInfo
.
MoveParam
.
MoveP
.
UpDown_P1
,
Config
.
UpDownAxis_P1_Speed
);
ACAxisMove
(
Config
.
Middle_Axis
,
MoveInfo
.
MoveParam
.
MoveP
.
Middle_P1
,
Config
.
MiddleAxis_P1_Speed
);
}
private
void
StartSendShelfOut
()
{
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
BS_01_TopCylinder_Down
);
...
...
@@ -386,6 +393,7 @@ namespace OnlineStore.DeviceLibrary
}
}
#
region
扫码获取库位
private
string
ProcessCode
()
...
...
source/DeviceLibrary/ACPackingStore/StoreManager.cs
查看文件 @
a0bdb50
...
...
@@ -177,10 +177,10 @@ namespace OnlineStore.DeviceLibrary
return
false
;
}
p
.
InOut_P
A
=
sp
.
InoutAxis_PA
;
p
.
UpDown_LP
A1
=
sp
.
UpDownAxis_LPA
1
;
p
.
UpDown_HP
A2
=
sp
.
UpDownAxis_HPA
2
;
p
.
Middle_P
A
=
sp
.
MiddleAxis_PA
;
p
.
InOut_P
101
=
sp
.
InoutAxis_P101
;
p
.
UpDown_LP
101
=
sp
.
UpDownAxis_LP10
1
;
p
.
UpDown_HP
102
=
sp
.
UpDownAxis_HP10
2
;
p
.
Middle_P
101
=
sp
.
MiddleAxis_P101
;
p
.
ComPress_P1
=
box
.
Config
.
CompAxis_P1_Position
;
p
.
InOut_P1
=
box
.
Config
.
InOutAxis_P1_Position
;
...
...
source/DeviceLibrary/StoreConfig/BoxConfig_1.csv
查看文件 @
a0bdb50
...
...
@@ -95,10 +95,10 @@ PRO,压紧轴(轴4)P1速度,CompAxis_P1_Speed,100,,,,,,,
PRO,压紧轴(轴4)P2速度,CompAxis_P2_Speed,100,,,,,,,
PRO,压紧轴(轴4)P3速度,CompAxis_P3_Speed,100,,,,,,,
,,,,,,,,,,
PRO,升降轴(轴2)P
A1速度,UpDownAxis_PA
1_Speed,100,,,,,, ,
PRO,升降轴(轴2)P
A2速度,UpDownAxis_PA
2_Speed,100,,,,,,,
PRO,进出轴(轴3)P
A速度,InOutAxis_PA
_Speed,100,,,,,,,
PRO,旋转轴(轴1)P
A速度,MiddleAxis_PA
_Speed,120,,,,,,,
PRO,升降轴(轴2)P
101速度,UpDownAxis_P10
1_Speed,100,,,,,, ,
PRO,升降轴(轴2)P
102速度,UpDownAxis_P10
2_Speed,100,,,,,,,
PRO,进出轴(轴3)P
101速度,InOutAxis_P101
_Speed,100,,,,,,,
PRO,旋转轴(轴1)P
101速度,MiddleAxis_P101
_Speed,120,,,,,,,
PRO,压紧轴(轴4)P4速度,CompAxis_P4_Speed,100,,,,,,,
,,,,,,,,,,
PRO,(轴一)旋转轴停止时可误差的脉冲数的最小值,MiddleAxis_ErrorCountMin,10,,,,,,,
...
...
source/DeviceLibrary/StoreConfig/BoxConfig_2.csv
查看文件 @
a0bdb50
...
...
@@ -95,10 +95,10 @@ PRO,压紧轴(轴4)P1速度,CompAxis_P1_Speed,100,,,,,,,
PRO,压紧轴(轴4)P2速度,CompAxis_P2_Speed,100,,,,,,,
PRO,压紧轴(轴4)P3速度,CompAxis_P3_Speed,100,,,,,,,
,,,,,,,,,,
PRO,升降轴(轴2)P
A1速度,UpDownAxis_PA
1_Speed,100,,,,,, ,
PRO,升降轴(轴2)P
A2速度,UpDownAxis_PA
2_Speed,100,,,,,,,
PRO,进出轴(轴3)P
A速度,InOutAxis_PA
_Speed,100,,,,,,,
PRO,旋转轴(轴1)P
A速度,MiddleAxis_PA
_Speed,120,,,,,,,
PRO,升降轴(轴2)P
101速度,UpDownAxis_P10
1_Speed,100,,,,,, ,
PRO,升降轴(轴2)P
102速度,UpDownAxis_P10
2_Speed,100,,,,,,,
PRO,进出轴(轴3)P
101速度,InOutAxis_P101
_Speed,100,,,,,,,
PRO,旋转轴(轴1)P
101速度,MiddleAxis_P101
_Speed,120,,,,,,,
PRO,压紧轴(轴4)P4速度,CompAxis_P4_Speed,100,,,,,,,
,,,,,,,,,,
PRO,(轴一)旋转轴停止时可误差的脉冲数的最小值,MiddleAxis_ErrorCountMin,10,,,,,,,
...
...
source/DeviceLibrary/StoreConfig/shelfPosition.csv
查看文件 @
a0bdb50
位置,优先级,高度,宽度,料仓ID,旋转轴位置P
A,升降轴低点PA1,升降轴高点PA2,进出轴位置PA
位置,优先级,高度,宽度,料仓ID,旋转轴位置P
101,升降轴低点P101,升降轴高点P102,进出轴位置P101
1#S_1_4,1,8,7,1,211783,51884,55245,81000
1#S_1_5,2,8,7,1,211783,67807,71168,81000
1#S_1_6,3,8,7,1,211783,83730,87091,81000
...
...
source/DeviceLibrary/store/InOutParam.cs
查看文件 @
a0bdb50
...
...
@@ -113,10 +113,10 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
error
(
"GetPositon["
+
ShelfPosID
+
"]=null,没有库位不能执行出入库"
);
}
MoveP
.
InOut_P
A
=
sp
.
InoutAxis_PA
;
MoveP
.
UpDown_LP
A1
=
sp
.
UpDownAxis_LPA
1
;
MoveP
.
UpDown_HP
A2
=
sp
.
UpDownAxis_HPA
2
;
MoveP
.
Middle_P
A
=
sp
.
MiddleAxis_PA
;
MoveP
.
InOut_P
101
=
sp
.
InoutAxis_P101
;
MoveP
.
UpDown_LP
101
=
sp
.
UpDownAxis_LP10
1
;
MoveP
.
UpDown_HP
102
=
sp
.
UpDownAxis_HP10
2
;
MoveP
.
Middle_P
101
=
sp
.
MiddleAxis_P101
;
}
...
...
source/DeviceLibrary/store/LineMoveP.cs
查看文件 @
a0bdb50
...
...
@@ -83,18 +83,18 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 料架进出轴取料点
/// </summary>
public
int
InOut_P
A
=
0
;
public
int
InOut_P
101
=
0
;
/// <summary>
/// 料架旋转轴位置
/// </summary>
public
int
Middle_P
A
=
0
;
public
int
Middle_P
101
=
0
;
/// <summary>
/// 料架升降轴低点P
A
1
/// 料架升降轴低点P
10
1
/// </summary>
public
int
UpDown_LP
A
1
=
0
;
public
int
UpDown_LP
10
1
=
0
;
/// <summary>
/// 料架升降轴高点P
A
2
/// 料架升降轴高点P
10
2
/// </summary>
public
int
UpDown_HP
A
2
=
0
;
public
int
UpDown_HP
10
2
=
0
;
}
}
source/DeviceLibrary/store/StoreStep.cs
查看文件 @
a0bdb50
...
...
@@ -354,17 +354,17 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
BI_11_InoutToP1
=
20111
,
/// <summary>
/// 料架取料:升降轴移动到P
A1低点,旋转轴移动到PA
1点,压紧轴到压紧前点
/// 料架取料:升降轴移动到P
101低点,旋转轴移动到P10
1点,压紧轴到压紧前点
/// </summary>
BI_12_MoveToShelf
=
20112
,
/// <summary>
/// 料架取料:叉子前进到P
A
点
/// 料架取料:叉子前进到P
101
点
/// </summary>
BI_13_InoutToP
A
=
20113
,
BI_13_InoutToP
101
=
20113
,
/// <summary>
/// 料架取料:升降轴上升到P
A
2点
/// 料架取料:升降轴上升到P
10
2点
/// </summary>
BI_14_UpdownToP
A
2
=
20114
,
BI_14_UpdownToP
10
2
=
20114
,
/// <summary>
/// 料架取料:压紧轴开始缓慢压紧
/// </summary>
...
...
source/LoadCVSLibrary/position/ShelfPosition.cs
查看文件 @
a0bdb50
...
...
@@ -14,25 +14,25 @@ namespace OnlineStore.LoadCSVLibrary
public
int
StoreId
{
get
;
set
;
}
/// <summary>
/// 旋转轴位置P
A
/// 旋转轴位置P
101
/// </summary>
[
CSVAttribute
(
"旋转轴位置P
A
"
)]
public
int
MiddleAxis_P
A
{
get
;
set
;
}
[
CSVAttribute
(
"旋转轴位置P
101
"
)]
public
int
MiddleAxis_P
101
{
get
;
set
;
}
/// <summary>
/// 升降轴低点P
A
1
/// 升降轴低点P
10
1
/// </summary>
[
CSVAttribute
(
"升降轴低点P
A
1"
)]
public
int
UpDownAxis_LP
A
1
{
get
;
set
;
}
[
CSVAttribute
(
"升降轴低点P
10
1"
)]
public
int
UpDownAxis_LP
10
1
{
get
;
set
;
}
/// <summary>
/// 升降轴高点P
A
2
/// 升降轴高点P
10
2
/// /// </summary>
[
CSVAttribute
(
"升降轴高点P
A
2"
)]
public
int
UpDownAxis_HP
A
2
{
get
;
set
;
}
[
CSVAttribute
(
"升降轴高点P
10
2"
)]
public
int
UpDownAxis_HP
10
2
{
get
;
set
;
}
/// <summary>
/// 进出轴位置P
A
/// 进出轴位置P
101
/// </summary>
[
CSVAttribute
(
"进出轴位置P
A
"
)]
public
int
InoutAxis_P
A
{
get
;
set
;
}
[
CSVAttribute
(
"进出轴位置P
101
"
)]
public
int
InoutAxis_P
101
{
get
;
set
;
}
}
}
source/LoadCVSLibrary/storeConfig/config/AC_Box_Config.cs
查看文件 @
a0bdb50
...
...
@@ -358,25 +358,25 @@ namespace OnlineStore.LoadCSVLibrary
[
ConfigProAttribute
(
"CompAxis_P4_Position"
)]
public
int
CompAxis_P4_Position
{
get
;
set
;
}
/// <summary>
/// PRO,升降轴(轴2)P
A1速度,UpDownAxis_PA
1_Speed,100,,,,,, ,
/// PRO,升降轴(轴2)P
101速度,UpDownAxis_P10
1_Speed,100,,,,,, ,
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_P
A
1_Speed"
)]
public
int
UpDownAxis_P
A
1_Speed
{
get
;
set
;
}
[
ConfigProAttribute
(
"UpDownAxis_P
10
1_Speed"
)]
public
int
UpDownAxis_P
10
1_Speed
{
get
;
set
;
}
/// <summary>
/// PRO,升降轴(轴2)P
A2速度,UpDownAxis_PA
2_Speed,100,,,,,,,
/// PRO,升降轴(轴2)P
102速度,UpDownAxis_P10
2_Speed,100,,,,,,,
/// </summary>
[
ConfigProAttribute
(
"UpDownAxis_P
A
2_Speed"
)]
public
int
UpDownAxis_P
A
2_Speed
{
get
;
set
;
}
[
ConfigProAttribute
(
"UpDownAxis_P
10
2_Speed"
)]
public
int
UpDownAxis_P
10
2_Speed
{
get
;
set
;
}
/// <summary>
/// PRO,进出轴(轴3)P
A速度,InOutAxis_PA
_Speed,100,,,,,,,
/// PRO,进出轴(轴3)P
101速度,InOutAxis_P101
_Speed,100,,,,,,,
/// </summary>
[
ConfigProAttribute
(
"InOutAxis_P
A
_Speed"
)]
public
int
InOutAxis_P
A
_Speed
{
get
;
set
;
}
[
ConfigProAttribute
(
"InOutAxis_P
101
_Speed"
)]
public
int
InOutAxis_P
101
_Speed
{
get
;
set
;
}
/// <summary>
/// PRO,旋转轴(轴1)P
A速度,MiddleAxis_PA
_Speed,120,,,,,,,
/// PRO,旋转轴(轴1)P
101速度,MiddleAxis_P101
_Speed,120,,,,,,,
/// </summary>
[
ConfigProAttribute
(
"MiddleAxis_P
A
_Speed"
)]
public
int
MiddleAxis_P
A
_Speed
{
get
;
set
;
}
[
ConfigProAttribute
(
"MiddleAxis_P
101
_Speed"
)]
public
int
MiddleAxis_P
101
_Speed
{
get
;
set
;
}
/// <summary>
...
...
source/LoadCVSLibrary/storeConfig/config/StoreType.cs
查看文件 @
a0bdb50
...
...
@@ -42,6 +42,6 @@ namespace OnlineStore.LoadCSVLibrary
/// <summary>
/// 松下伺服控制的包装料料仓
/// </summary>
public
static
string
RC_AC_PA
=
"RC_AC_P
A
"
;
public
static
string
RC_AC_PA
=
"RC_AC_P
101
"
;
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论