Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
NS200
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
图表
网络
创建新的问题
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit fe52978a
由
张东亮
编写于
2025-12-06 10:32:32 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
测高数据提前保存,避免使用的脉冲值被清空
1 个父辈
5243dba7
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
DeviceLibrary/AutoScanAndLabel/MainMachine _LeftProcess.cs
DeviceLibrary/AutoScanAndLabel/MainMachine _LeftProcess.cs
查看文件 @
fe52978
...
...
@@ -62,7 +62,7 @@ namespace DeviceLibrary
if
(
enableCheck
)
{
var
aixH
=
1f
*
Math
.
Abs
(
_leftBatchAxisPositionWhileTrayCheck
-
curPos
)
/
Config
.
Left_Batch_ChangeValue
;
int
plateH
=
PlwHight
/
Config
.
Right_Batch_ChangeValue
;
int
plateH
=
LeftMoveInfo
.
MoveParam
.
PlateH
==
0
?
PlwHight
/
Config
.
Right_Batch_ChangeValue
:
LeftMoveInfo
.
MoveParam
.
PlateH
;
var
canErrorMM
=
ConfigHelper
.
Config
.
Get
(
"左侧料盘放料串检查厚度最大偏差值"
,
5
);
if
(
Math
.
Abs
(
aixH
-
plateH
)
<=
canErrorMM
)
{
...
...
@@ -112,7 +112,8 @@ namespace DeviceLibrary
int
currpoint
=
Left_Batch_Axis
.
GetAclPosition
();
int
countPleHight
=
PlwHight
/
Config
.
Right_Batch_ChangeValue
*
Config
.
Left_Batch_ChangeValue
;
targetP1
=
currpoint
-
countPleHight
+
5000
;
LeftMoveInfo
.
log
(
$
"出料提升机构,获取到料盘高度脉冲{PlwHight},当前位置{currpoint},计算盘高{countPleHight / Config.Left_Batch_ChangeValue}"
);
LeftMoveInfo
.
MoveParam
.
PlateH
=
countPleHight
/
Config
.
Left_Batch_ChangeValue
;
LeftMoveInfo
.
log
(
$
"出料提升机构,获取到料盘高度脉冲{PlwHight},当前位置{currpoint},计算盘高{LeftMoveInfo.MoveParam.PlateH}"
);
}
int
targetSpeed
=
Config
.
Left_Batch_P1_speed
;
if
(
targetP1
<=
0
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论