Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
MIMO
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 4680b92b
由
刘韬
编写于
2022-07-14 14:04:05 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
8e960c4a
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
20 行增加
和
19 行删除
DeviceLibrary/theMachine/BoxTransport.cs
DeviceLibrary/theMachine/MainMachine_Clamp.cs
DeviceLibrary/theMachine/MainMachine_String.cs
TheMachine/IOControls.Designer.cs
TheMachine/Properties/AssemblyInfo.cs
DeviceLibrary/theMachine/BoxTransport.cs
查看文件 @
4680b92
...
@@ -302,11 +302,11 @@ namespace DeviceLibrary
...
@@ -302,11 +302,11 @@ namespace DeviceLibrary
}
}
else
else
{
{
Msg
.
add
(
""
,
MsgLevel
.
info
,
ErrInfo
.
X09_Clear
);
Msg
.
add
(
""
,
MsgLevel
.
info
,
ErrInfo
.
X09_Clear
);
IgnoreX09
=
false
;
IgnoreX09
=
false
;
MoveInfo
.
NextMoveStep
(
MoveStep
.
StoreTS16
);
MoveInfo
.
NextMoveStep
(
MoveStep
.
StoreTS16
);
MoveInfo
.
log
(
$
"{storeMoveType}:安全检查"
);
MoveInfo
.
log
(
$
"{storeMoveType}:安全检查"
);
InOutEndProcess
(
StoreMoveType
.
InStore
,
To
.
posid
);
}
}
break
;
break
;
case
MoveStep
.
StoreTS16
:
case
MoveStep
.
StoreTS16
:
...
@@ -333,7 +333,6 @@ namespace DeviceLibrary
...
@@ -333,7 +333,6 @@ namespace DeviceLibrary
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
ErrMsgTxt
=
""
;
ErrMsgTxt
=
""
;
To
.
posid
=
""
;
To
.
posid
=
""
;
InOutEndProcess
(
StoreMoveType
.
InStore
,
To
.
posid
);
storeMoveType
=
StoreMoveType
.
None
;
storeMoveType
=
StoreMoveType
.
None
;
break
;
break
;
case
MoveStep
.
StoreTS_WaitOutProcess
:
case
MoveStep
.
StoreTS_WaitOutProcess
:
...
...
DeviceLibrary/theMachine/MainMachine_Clamp.cs
查看文件 @
4680b92
...
@@ -104,8 +104,9 @@ namespace DeviceLibrary
...
@@ -104,8 +104,9 @@ namespace DeviceLibrary
break
;
break
;
case
MoveStep
.
ReelClamp_04
:
case
MoveStep
.
ReelClamp_04
:
ClampMoveInfo
.
NextMoveStep
(
MoveStep
.
ReelClamp_05
);
ClampMoveInfo
.
NextMoveStep
(
MoveStep
.
ReelClamp_05
);
ClampMoveInfo
.
log
(
$
"检测盘宽"
);
int
width
=
GetWidth
();
ClampMoveInfo
.
MoveParam
.
PlateW
=
GetWidth
();
ClampMoveInfo
.
log
(
$
"检测盘宽={width}"
);
ClampMoveInfo
.
MoveParam
.
PlateW
=
width
;
break
;
break
;
case
MoveStep
.
ReelClamp_05
:
case
MoveStep
.
ReelClamp_05
:
ClampMoveInfo
.
NextMoveStep
(
MoveStep
.
ReelClamp_WaitGaugeHeight
);
ClampMoveInfo
.
NextMoveStep
(
MoveStep
.
ReelClamp_WaitGaugeHeight
);
...
@@ -114,6 +115,7 @@ namespace DeviceLibrary
...
@@ -114,6 +115,7 @@ namespace DeviceLibrary
ClampErrorCount
++;
ClampErrorCount
++;
ClampMoveInfo
.
MoveParam
.
IsNg
=
true
;
ClampMoveInfo
.
MoveParam
.
IsNg
=
true
;
ClampMoveInfo
.
MoveParam
.
NgMsg
=
crc
.
GetString
(
L
.
not_detect_reel_height
,
"未检测到盘宽"
);
ClampMoveInfo
.
MoveParam
.
NgMsg
=
crc
.
GetString
(
L
.
not_detect_reel_height
,
"未检测到盘宽"
);
ClampMoveInfo
.
log
(
$
"未检测到盘宽"
);
ReelGetted
(
false
);
ReelGetted
(
false
);
//RobotManage.UserPause("未检测到盘", true);
//RobotManage.UserPause("未检测到盘", true);
}
}
...
...
DeviceLibrary/theMachine/MainMachine_String.cs
查看文件 @
4680b92
...
@@ -242,7 +242,7 @@ namespace DeviceLibrary
...
@@ -242,7 +242,7 @@ namespace DeviceLibrary
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_03
);
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_03
);
break
;
break
;
case
MoveStep
.
StringReelGetFail
:
case
MoveStep
.
StringReelGetFail
:
StringMoveInfo
.
log
(
$
"料
已
取走失败,料盘下降"
);
StringMoveInfo
.
log
(
$
"料
盘
取走失败,料盘下降"
);
ReelGetFail
++;
ReelGetFail
++;
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringReelGet
);
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringReelGet
);
var
tpos1
=
Batch_Axis
.
GetAclPosition
()
-
Config
.
Batch_PoToMM
*
20
;
var
tpos1
=
Batch_Axis
.
GetAclPosition
()
-
Config
.
Batch_PoToMM
*
20
;
...
...
TheMachine/IOControls.Designer.cs
查看文件 @
4680b92
...
@@ -44,9 +44,9 @@ namespace TheMachine
...
@@ -44,9 +44,9 @@ namespace TheMachine
this
.
cylinderButton4
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton4
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton4
.
IO_HIGH
=
"Clamping_Work"
;
this
.
cylinderButton4
.
IO_HIGH
=
"Clamping_Work"
;
this
.
cylinderButton4
.
IO_LOW
=
"Clamping_Relax"
;
this
.
cylinderButton4
.
IO_LOW
=
"Clamping_Relax"
;
this
.
cylinderButton4
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
284
);
this
.
cylinderButton4
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
395
);
this
.
cylinderButton4
.
Name
=
"cylinderButton4"
;
this
.
cylinderButton4
.
Name
=
"cylinderButton4"
;
this
.
cylinderButton4
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
23
);
this
.
cylinderButton4
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
45
);
this
.
cylinderButton4
.
TabIndex
=
1
;
this
.
cylinderButton4
.
TabIndex
=
1
;
this
.
cylinderButton4
.
Tag
=
"not"
;
this
.
cylinderButton4
.
Tag
=
"not"
;
this
.
cylinderButton4
.
Text
=
"Clamping_Work"
;
this
.
cylinderButton4
.
Text
=
"Clamping_Work"
;
...
@@ -58,9 +58,9 @@ namespace TheMachine
...
@@ -58,9 +58,9 @@ namespace TheMachine
this
.
cylinderButton7
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton7
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton7
.
IO_HIGH
=
"Device_Led"
;
this
.
cylinderButton7
.
IO_HIGH
=
"Device_Led"
;
this
.
cylinderButton7
.
IO_LOW
=
""
;
this
.
cylinderButton7
.
IO_LOW
=
""
;
this
.
cylinderButton7
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
1
68
);
this
.
cylinderButton7
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
1
55
);
this
.
cylinderButton7
.
Name
=
"cylinderButton7"
;
this
.
cylinderButton7
.
Name
=
"cylinderButton7"
;
this
.
cylinderButton7
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
23
);
this
.
cylinderButton7
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
45
);
this
.
cylinderButton7
.
TabIndex
=
1
;
this
.
cylinderButton7
.
TabIndex
=
1
;
this
.
cylinderButton7
.
Tag
=
"not"
;
this
.
cylinderButton7
.
Tag
=
"not"
;
this
.
cylinderButton7
.
Text
=
"Device_Led"
;
this
.
cylinderButton7
.
Text
=
"Device_Led"
;
...
@@ -72,9 +72,9 @@ namespace TheMachine
...
@@ -72,9 +72,9 @@ namespace TheMachine
this
.
cylinderButton6
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton6
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton6
.
IO_HIGH
=
"Camera_Led"
;
this
.
cylinderButton6
.
IO_HIGH
=
"Camera_Led"
;
this
.
cylinderButton6
.
IO_LOW
=
""
;
this
.
cylinderButton6
.
IO_LOW
=
""
;
this
.
cylinderButton6
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
197
);
this
.
cylinderButton6
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
215
);
this
.
cylinderButton6
.
Name
=
"cylinderButton6"
;
this
.
cylinderButton6
.
Name
=
"cylinderButton6"
;
this
.
cylinderButton6
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
23
);
this
.
cylinderButton6
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
45
);
this
.
cylinderButton6
.
TabIndex
=
1
;
this
.
cylinderButton6
.
TabIndex
=
1
;
this
.
cylinderButton6
.
Tag
=
"not"
;
this
.
cylinderButton6
.
Tag
=
"not"
;
this
.
cylinderButton6
.
Text
=
"Camera_Led"
;
this
.
cylinderButton6
.
Text
=
"Camera_Led"
;
...
@@ -86,9 +86,9 @@ namespace TheMachine
...
@@ -86,9 +86,9 @@ namespace TheMachine
this
.
cylinderButton1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton1
.
IO_HIGH
=
"NGDoor_Open"
;
this
.
cylinderButton1
.
IO_HIGH
=
"NGDoor_Open"
;
this
.
cylinderButton1
.
IO_LOW
=
"NGDoor_Close"
;
this
.
cylinderButton1
.
IO_LOW
=
"NGDoor_Close"
;
this
.
cylinderButton1
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
2
26
);
this
.
cylinderButton1
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
2
75
);
this
.
cylinderButton1
.
Name
=
"cylinderButton1"
;
this
.
cylinderButton1
.
Name
=
"cylinderButton1"
;
this
.
cylinderButton1
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
23
);
this
.
cylinderButton1
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
45
);
this
.
cylinderButton1
.
TabIndex
=
1
;
this
.
cylinderButton1
.
TabIndex
=
1
;
this
.
cylinderButton1
.
Tag
=
"not"
;
this
.
cylinderButton1
.
Tag
=
"not"
;
this
.
cylinderButton1
.
Text
=
"NGDoor_Open"
;
this
.
cylinderButton1
.
Text
=
"NGDoor_Open"
;
...
@@ -112,9 +112,9 @@ namespace TheMachine
...
@@ -112,9 +112,9 @@ namespace TheMachine
this
.
cylinderButton2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton2
.
IO_HIGH
=
"BatchDoor_Open"
;
this
.
cylinderButton2
.
IO_HIGH
=
"BatchDoor_Open"
;
this
.
cylinderButton2
.
IO_LOW
=
"BatchDoor_Close"
;
this
.
cylinderButton2
.
IO_LOW
=
"BatchDoor_Close"
;
this
.
cylinderButton2
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
25
5
);
this
.
cylinderButton2
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
33
5
);
this
.
cylinderButton2
.
Name
=
"cylinderButton2"
;
this
.
cylinderButton2
.
Name
=
"cylinderButton2"
;
this
.
cylinderButton2
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
23
);
this
.
cylinderButton2
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
45
);
this
.
cylinderButton2
.
TabIndex
=
1
;
this
.
cylinderButton2
.
TabIndex
=
1
;
this
.
cylinderButton2
.
Tag
=
"not"
;
this
.
cylinderButton2
.
Tag
=
"not"
;
this
.
cylinderButton2
.
Text
=
"BatchDoor_Open"
;
this
.
cylinderButton2
.
Text
=
"BatchDoor_Open"
;
...
@@ -126,9 +126,9 @@ namespace TheMachine
...
@@ -126,9 +126,9 @@ namespace TheMachine
this
.
cylinderButton3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton3
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
cylinderButton3
.
IO_HIGH
=
"ClampingDisc_Up"
;
this
.
cylinderButton3
.
IO_HIGH
=
"ClampingDisc_Up"
;
this
.
cylinderButton3
.
IO_LOW
=
"ClampingDisc_Down"
;
this
.
cylinderButton3
.
IO_LOW
=
"ClampingDisc_Down"
;
this
.
cylinderButton3
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
313
);
this
.
cylinderButton3
.
Location
=
new
System
.
Drawing
.
Point
(
566
,
455
);
this
.
cylinderButton3
.
Name
=
"cylinderButton3"
;
this
.
cylinderButton3
.
Name
=
"cylinderButton3"
;
this
.
cylinderButton3
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
23
);
this
.
cylinderButton3
.
Size
=
new
System
.
Drawing
.
Size
(
224
,
45
);
this
.
cylinderButton3
.
TabIndex
=
1
;
this
.
cylinderButton3
.
TabIndex
=
1
;
this
.
cylinderButton3
.
Tag
=
"not"
;
this
.
cylinderButton3
.
Tag
=
"not"
;
this
.
cylinderButton3
.
Text
=
"ClampingDisc_Up"
;
this
.
cylinderButton3
.
Text
=
"ClampingDisc_Up"
;
...
...
TheMachine/Properties/AssemblyInfo.cs
查看文件 @
4680b92
...
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
...
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
// 与程序集关联的信息。
[assembly: AssemblyTitle("MIMO
_PLUS
")]
[assembly: AssemblyTitle("MIMO")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("上海挚锦科技有限公司")]
[assembly: AssemblyCompany("上海挚锦科技有限公司")]
[assembly: AssemblyProduct("MIMO
_PLUS
")]
[assembly: AssemblyProduct("MIMO")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyCulture("")]
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论