Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 76e91a08
由
刘韬
编写于
2025-08-22 09:02:42 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
修正夹抓张开逻辑错误
1 个父辈
7efca343
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
8 行删除
DeviceLibrary/theMachine/MainMachine_Clamp.cs
DeviceLibrary/theMachine/MainMachine_String.cs
TheMachine/Form1.cs
DeviceLibrary/theMachine/MainMachine_Clamp.cs
查看文件 @
76e91a0
...
...
@@ -205,11 +205,21 @@ namespace DeviceLibrary
var
x
=
ScanTask
.
Result
;
if
(
x
.
Count
==
0
)
{
ClampMoveInfo
.
NextMoveStep
(
MoveStep
.
NGOUT_01
);
ClampMoveInfo
.
log
(
$
"未识别到有效二维码,送到NG口"
);
ClampMoveInfo
.
MoveParam
.
IsNg
=
true
;
ClampMoveInfo
.
MoveParam
.
NgMsg
=
crc
.
GetString
(
L
.
not_detect_reel_code
,
"未识别到有效二维码"
);
return
;
if
(
scantrytimes
>=
3
)
{
ClampMoveInfo
.
NextMoveStep
(
MoveStep
.
NGOUT_01
);
ClampMoveInfo
.
log
(
$
"未识别到有效二维码,送到NG口"
);
ClampMoveInfo
.
MoveParam
.
IsNg
=
true
;
ClampMoveInfo
.
MoveParam
.
NgMsg
=
crc
.
GetString
(
L
.
not_detect_reel_code
,
"未识别到有效二维码"
);
return
;
}
else
{
IOMove
(
IO_Type
.
Device_Led
,
IO_VALUE
.
LOW
);
scantrytimes
++;
ScanCode
();
return
;
}
}
else
{
...
...
DeviceLibrary/theMachine/MainMachine_String.cs
查看文件 @
76e91a0
...
...
@@ -292,7 +292,7 @@ namespace DeviceLibrary
Batch_Axis
.
MonitorAxisLoadRate
(
Setting_Init
.
LoadRateLimit_BatchMaxLoadRate
);
//CylinderMove(StringMoveInfo, IO_Type.Clamping_Relax, IO_Type.Clamping_Work, IO_VALUE.LOW);
StringClow
Open
(
ClampMoveInfo
);
StringClow
Close
(
ClampMoveInfo
);
//OpenFlipDoor(StringMoveInfo);
StringType
=
StringTypeE
.
In
;
}
...
...
@@ -843,6 +843,7 @@ namespace DeviceLibrary
{
IOMove
(
IO_Type
.
Clamping_Work
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
Clamping_Relax
,
IO_VALUE
.
LOW
);
moveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
500
));
}
else
{
...
...
TheMachine/Form1.cs
查看文件 @
76e91a0
...
...
@@ -15,8 +15,6 @@ using System.Runtime.Serialization.Formatters.Binary;
using
System.Threading
;
using
System.Threading.Tasks
;
using
System.Windows.Forms
;
using
static
System
.
Net
.
Mime
.
MediaTypeNames
;
using
static
System
.
Windows
.
Forms
.
VisualStyles
.
VisualStyleElement
.
StartPanel
;
namespace
TheMachine
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论