Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit d5e6eb43
由
LN
编写于
2019-12-03 16:13:49 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
料架入库:无托盘后需要返回
1 个父辈
a866d659
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
30 行增加
和
25 行删除
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
source/DeviceLibrary/assemblyLine/EquipBase.cs
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
source/DeviceLibrary/assemblyLine/FeedingEquip_Partial.cs
source/DeviceLibrary/deviceLibrary/PanasonicServo/ACServerManager.cs
source/DeviceLibrary/model/LineMoveInfo.cs
source/DeviceLibrary/model/StoreStep.cs
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
查看文件 @
d5e6eb4
...
...
@@ -137,7 +137,7 @@
// txtBusyStatus
//
this
.
txtBusyStatus
.
Enabled
=
false
;
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
75
);
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
82
);
this
.
txtBusyStatus
.
Name
=
"txtBusyStatus"
;
this
.
txtBusyStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtBusyStatus
.
TabIndex
=
288
;
...
...
@@ -145,7 +145,7 @@
// label11
//
this
.
label11
.
AutoSize
=
true
;
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
11
0
);
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
19
,
11
7
);
this
.
label11
.
Name
=
"label11"
;
this
.
label11
.
Size
=
new
System
.
Drawing
.
Size
(
105
,
17
);
this
.
label11
.
TabIndex
=
292
;
...
...
@@ -154,7 +154,7 @@
// txtHomeStatus
//
this
.
txtHomeStatus
.
Enabled
=
false
;
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
1
07
);
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
1
14
);
this
.
txtHomeStatus
.
Name
=
"txtHomeStatus"
;
this
.
txtHomeStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeStatus
.
TabIndex
=
291
;
...
...
@@ -162,7 +162,7 @@
// label10
//
this
.
label10
.
AutoSize
=
true
;
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
58
,
78
);
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
58
,
85
);
this
.
label10
.
Name
=
"label10"
;
this
.
label10
.
Size
=
new
System
.
Drawing
.
Size
(
66
,
17
);
this
.
label10
.
TabIndex
=
289
;
...
...
@@ -171,7 +171,7 @@
// label3
//
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
65
,
46
);
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
65
,
53
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label3
.
TabIndex
=
286
;
...
...
@@ -180,7 +180,7 @@
// label24
//
this
.
label24
.
AutoSize
=
true
;
this
.
label24
.
Location
=
new
System
.
Drawing
.
Point
(
53
,
2
06
);
this
.
label24
.
Location
=
new
System
.
Drawing
.
Point
(
53
,
2
13
);
this
.
label24
.
Name
=
"label24"
;
this
.
label24
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label24
.
TabIndex
=
316
;
...
...
@@ -210,7 +210,7 @@
// txtAlarmStatus
//
this
.
txtAlarmStatus
.
Enabled
=
false
;
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
43
);
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
50
);
this
.
txtAlarmStatus
.
Name
=
"txtAlarmStatus"
;
this
.
txtAlarmStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtAlarmStatus
.
TabIndex
=
285
;
...
...
@@ -218,7 +218,7 @@
// txtLimit2
//
this
.
txtLimit2
.
Enabled
=
false
;
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
2
03
);
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
2
10
);
this
.
txtLimit2
.
Name
=
"txtLimit2"
;
this
.
txtLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit2
.
TabIndex
=
313
;
...
...
@@ -234,7 +234,7 @@
// label22
//
this
.
label22
.
AutoSize
=
true
;
this
.
label22
.
Location
=
new
System
.
Drawing
.
Point
(
53
,
1
74
);
this
.
label22
.
Location
=
new
System
.
Drawing
.
Point
(
53
,
1
81
);
this
.
label22
.
Name
=
"label22"
;
this
.
label22
.
Size
=
new
System
.
Drawing
.
Size
(
71
,
17
);
this
.
label22
.
TabIndex
=
312
;
...
...
@@ -244,7 +244,7 @@
// txtLimit1
//
this
.
txtLimit1
.
Enabled
=
false
;
this
.
txtLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
17
1
);
this
.
txtLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
17
8
);
this
.
txtLimit1
.
Name
=
"txtLimit1"
;
this
.
txtLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit1
.
TabIndex
=
309
;
...
...
@@ -252,7 +252,7 @@
// label6
//
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
65
,
14
2
);
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
65
,
14
9
);
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
59
,
17
);
this
.
label6
.
TabIndex
=
300
;
...
...
@@ -261,7 +261,7 @@
// txtHomeSingle
//
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
1
39
);
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
133
,
1
46
);
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeSingle
.
TabIndex
=
297
;
...
...
source/DeviceLibrary/assemblyLine/EquipBase.cs
查看文件 @
d5e6eb4
...
...
@@ -371,7 +371,7 @@ namespace OnlineStore.DeviceLibrary
Alarm
(
LineAlarmType
.
IoSingleTimeOut
);
LogUtil
.
error
(
MoveInfo
.
Name
+
WarnMsg
,
DeviceID
+
13
);
}
else
if
(
rwSpan
.
TotalSeconds
>
3
&&
span
.
TotalSeconds
>
3
)
else
if
(
rwSpan
.
TotalSeconds
>
5
&&
span
.
TotalSeconds
>
6
)
{
preRWTime
=
DateTime
.
Now
;
string
msg
=
moveInfo
.
Name
+
" "
+
NotOkMsg
+
"已等待 "
+
Math
.
Abs
(
span
.
TotalSeconds
)
+
"秒,重写DO:"
;
...
...
source/DeviceLibrary/assemblyLine/FeedingEquip.cs
查看文件 @
d5e6eb4
...
...
@@ -97,7 +97,7 @@ namespace OnlineStore.DeviceLibrary
private
void
StartReset
()
{
BatchAxisStopCheck
();
ResetClearData
();
lineStatus
=
LineStatus
.
ResetMove
;
IOMove
(
IO_Type
.
SL_HddLed
,
IO_VALUE
.
HIGH
);
...
...
source/DeviceLibrary/assemblyLine/FeedingEquip_Partial.cs
查看文件 @
d5e6eb4
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/deviceLibrary/PanasonicServo/ACServerManager.cs
查看文件 @
d5e6eb4
...
...
@@ -156,7 +156,8 @@ namespace OnlineStore.DeviceLibrary
public
static
bool
IsHomeMoveEnd
(
string
portName
,
int
slvAddr
)
{
int
status
=
GetHomeEndStatus
(
portName
,
slvAddr
);
if
(
status
>=
1
)
bool
isOk
=
ACServerManager
.
GetBusyStatus
(
portName
,
slvAddr
).
Equals
(
0
);
if
(
status
>=
1
&&
isOk
)
{
return
true
;
}
return
false
;
...
...
source/DeviceLibrary/model/LineMoveInfo.cs
查看文件 @
d5e6eb4
...
...
@@ -19,7 +19,7 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
public
int
TimeOutSeconds
=
60
;
public
string
Name
=
""
;
public
bool
ShelfNoTray
=
false
;
public
LineMoveInfo
(
int
storeId
,
string
name
)
{
this
.
Name
=
name
;
...
...
@@ -84,7 +84,7 @@ namespace OnlineStore.DeviceLibrary
}
public
string
SLog
{
get
{
return
MoveStep
+
"
"
;
}
get
{
return
" "
+
MoveStep
+
"
"
;
}
}
public
void
NextMoveStep
(
LineMoveStep
step
)
...
...
source/DeviceLibrary/model/StoreStep.cs
查看文件 @
d5e6eb4
...
...
@@ -806,39 +806,43 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 出料完成,判断出料线体是否有料架
/// </summary>
FO_34_OutCheck
=
12034
,
//
FO_34_OutCheck = 12034,
/// <summary>
/// 出料完成,出口顶升气缸上升
/// </summary>
FO_35_OutTopCylinder_Up
=
12035
,
FO_34_OutTopCylinder_Up
=
12034
,
/// <summary>
///出料完成, 等待料架离开定位工位
/// </summary>
FO_35_WaitLocationNoShelf
,
/// <summary>
///出料完成, 线体横移电机运转,等待料架到达出口
/// </summary>
FO_36_SideWayLineRun
=
12036
,
FO_36_SideWayLineRun
,
/// <summary>
///出料完成, 料架到达出口,线体横移电机停止
/// </summary>
FO_37_LineStop
=
12037
,
FO_37_LineStop
,
/// <summary>
///出料完成, 料架到达出口,出口顶升下降,定位气缸下降,
/// </summary>
FO_38_TopCylinderDown
=
12038
,
FO_38_TopCylinderDown
,
/// <summary>
///出料完成, 出口线体运转,料架到达出口处, 通知AGV取空料架
/// </summary>
FO_39_OutLineRun
=
12039
,
FO_39_OutLineRun
,
/// <summary>
///出料完成, AGV到达,继续转动出口线体,送走出料料架,
/// </summary>
FO_40_OutLineRun
=
12040
,
FO_40_OutLineRun
,
/// <summary>
///出料完成, 料架送出,
/// </summary>
FO_41_OutLineRun
=
12041
,
FO_41_OutLineRun
,
#
endregion
#
region
出料装置移栽出料,
20000
开始
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论