Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 675b40bb
由
张东亮
编写于
2026-05-21 10:12:06 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
避让气缸离开后升降轴再取料、红灯时伴随蜂鸣器
1 个父辈
0d226317
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
39 行增加
和
3 行删除
Common/Setting_Init.cs
DeviceLibrary/theMachine/MainMachine _LedProcess.cs
DeviceLibrary/theMachine/MainMachine_String.cs
DeviceLibrary/theMachine/MoveStep.cs
Common/Setting_Init.cs
查看文件 @
675b40b
...
...
@@ -190,7 +190,8 @@ namespace OnlineStore.Common
public
static
MyConfig
<
bool
>
Enable_UploadVideo
=
false
;
[
MyConfigComment
(
"启用折叠门提示音"
)]
public
static
MyConfig
<
bool
>
Enable_DoorSound
=
true
;
[
MyConfigComment
(
"启用红灯亮伴随蜂鸣器"
)]
public
static
MyConfig
<
bool
>
Enable_RedColorWithBuzzer
=
true
;
[
MyConfigComment
(
"启用料串按Reset按钮流出"
)]
public
static
MyConfig
<
bool
>
Enable_StringAutoOut
=
false
;
[
MyConfigComment
(
"启用料串到位折叠门自动关闭"
)]
...
...
DeviceLibrary/theMachine/MainMachine _LedProcess.cs
查看文件 @
675b40b
...
...
@@ -248,6 +248,20 @@ namespace DeviceLibrary
{
lastiovalue
=
iovalue
;
IOManager
.
WriteSingleDO
(
""
,
0x00
,
ledio
,
iovalue
);
if
(
LedColor
.
red
==
Color
)
{
if
(
Setting_Init
.
Enable_RedColorWithBuzzer
)
{
if
(
lastiovalue
==
IO_VALUE
.
HIGH
)
{
AlarmBuzzer
.
ON
();
}
else
{
AlarmBuzzer
.
OFF
();
}
}
}
}
}
}
...
...
DeviceLibrary/theMachine/MainMachine_String.cs
查看文件 @
675b40b
...
...
@@ -265,13 +265,32 @@ namespace DeviceLibrary
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_04b
);
StringMoveInfo
.
log
(
$
"料串下降到x13信号灭"
);
BatchAxisToTagLow
(
StringMoveInfo
);
break
;
case
MoveStep
.
StringLoad_04b
:
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_05
);
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_05a
);
var
targetPosition
=
Batch_Axis
.
GetAclPosition
()
-
15
*
Config
.
Batch_PoToMM
;
StringMoveInfo
.
log
(
$
"批量轴下降15mm"
);
if
(
targetPosition
<
0
)
targetPosition
=
0
;
Batch_Axis
.
AbsMove
(
StringMoveInfo
,
targetPosition
,
Config
.
Batch_P2_speed
);
break
;
case
MoveStep
.
StringLoad_05a
:
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_05b
);
StringMoveInfo
.
log
(
$
"检测阻挡避让"
);
CylinderMove
(
StringMoveInfo
,
IO_Type
.
StringPosChecker_Home
,
IO_Type
.
StringPosChecker_Work
,
IO_VALUE
.
LOW
);
break
;
case
MoveStep
.
StringLoad_05b
:
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_05
);
var
ac
=
Batch_Axis
.
GetAclPosition
();
if
(
ac
>
0
)
{
targetPosition
=
ac
+
15
*
Config
.
Batch_PoToMM
;
StringMoveInfo
.
log
(
$
"批量轴再上升15mm"
);
Batch_Axis
.
AbsMove
(
StringMoveInfo
,
targetPosition
,
Config
.
Batch_P2_speed
);
}
break
;
case
MoveStep
.
StringLoad_05
:
StringMoveInfo
.
NextMoveStep
(
MoveStep
.
StringLoad_06
);
if
(!
newreel
)
...
...
DeviceLibrary/theMachine/MoveStep.cs
查看文件 @
675b40b
...
...
@@ -104,6 +104,8 @@ namespace DeviceLibrary
StringLoad_04
,
StringLoad_04a
,
StringLoad_04b
,
StringLoad_05a
,
StringLoad_05b
,
StringLoad_05
,
StringLoad_06
,
StringReadyGet
,
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论