Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
SO1057-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit ec9ffcd0
由
张东亮
编写于
2023-08-02 11:14:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
提升轴第一次和第二次速度不一样设置、添加配置以是否使用信号
1 个父辈
32a8c655
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
27 行增加
和
5 行删除
source/DeviceLibrary/DeviceLibrary.csproj
source/DeviceLibrary/storeBean/boxBean/BoxEquip_Partial.cs
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean.cs
source/XLRStoreClient/FrmAbout.cs
source/XLRStoreClient/XLRStore.csproj
source/DeviceLibrary/DeviceLibrary.csproj
查看文件 @
ec9ffcd
...
...
@@ -51,6 +51,9 @@
<Reference Include="CodeLibrary">
<HintPath>..\..\dll\CodeLibrary.dll</HintPath>
</Reference>
<Reference Include="ConfigHelper">
<HintPath>..\..\..\..\SharedRefDll\Neotel\ConfigHelper.dll</HintPath>
</Reference>
<Reference Include="halcondotnet">
<HintPath>..\..\dll\halcondotnet.dll</HintPath>
</Reference>
...
...
source/DeviceLibrary/storeBean/boxBean/BoxEquip_Partial.cs
查看文件 @
ec9ffcd
...
...
@@ -529,7 +529,11 @@ namespace OnlineStore.DeviceLibrary
/// <param name="hasTray">true:有抽屉</param>
private
void
AddHookCheck
(
bool
hasTray
)
{
return
;
//暂时屏蔽
if
(
ignoreHook
)
{
return
;
//暂时屏蔽
}
if
(
CheckASide
())
{
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Hook_A_Check
,
hasTray
?
IO_VALUE
.
HIGH
:
IO_VALUE
.
LOW
));
...
...
@@ -539,9 +543,21 @@ namespace OnlineStore.DeviceLibrary
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Hook_B_Check
,
hasTray
?
IO_VALUE
.
HIGH
:
IO_VALUE
.
LOW
));
}
}
bool
ignoreFork
{
get
{
return
ConfigHelper
.
Config
.
Get
(
"IgnoreForkSig"
,
false
);
}
}
bool
ignoreHook
{
get
{
return
ConfigHelper
.
Config
.
Get
(
"IgnoreHookSig"
,
true
);
}
}
private
void
AddReelCheck
(
bool
hasReel
)
{
return
;
//暂时屏蔽
if
(
ignoreFork
)
{
return
;
//暂时屏蔽
}
if
(
CheckASide
())
{
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
ForkA_Tray_Check
,
hasReel
?
IO_VALUE
.
HIGH
:
IO_VALUE
.
LOW
));
...
...
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean.cs
查看文件 @
ec9ffcd
...
...
@@ -340,9 +340,8 @@ namespace OnlineStore.DeviceLibrary
{
targetP2
=
Config
.
BatchAxisP2
;
}
LogUtil
.
info
(
Name
+
" BatchAxisToP2 目标P2: "
+
targetP2
+
"("
+
currPosition
+
")"
);
}
//targetSpeed = Config.BatchAxis_P3Speed /
2;
targetSpeed
=
Robot
.
Config
.
BatchAxis_P3Speed
/
2
;
}
// 需要增加定时器,获取验证信号并停止伺服
StartMovePosition
=
BatchAxis
.
GetAclPosition
();
...
...
@@ -357,6 +356,7 @@ namespace OnlineStore.DeviceLibrary
//开始检测信号
BatchAxis
.
BatchAxisStartCheck
(
Config
.
IO_ReelCheck
,
IO_VALUE
.
HIGH
);
LastMoveIsTest
=
IsTest
;
LogUtil
.
info
(
Name
+
" BatchAxisToP2 目标P2: "
+
targetP2
+
"("
+
targetSpeed
+
")"
);
}
#
endregion
...
...
source/XLRStoreClient/FrmAbout.cs
查看文件 @
ec9ffcd
...
...
@@ -40,7 +40,7 @@ namespace OnlineStore.XLRStore
private
void
lblVersion_Click
(
object
sender
,
EventArgs
e
)
{
ConfigHelper
.
AdvanceConfigForm
.
ShowEditDialog
(
this
);
}
}
}
source/XLRStoreClient/XLRStore.csproj
查看文件 @
ec9ffcd
...
...
@@ -66,6 +66,9 @@
<Reference Include="CodeLibrary">
<HintPath>..\..\dll\CodeLibrary.dll</HintPath>
</Reference>
<Reference Include="ConfigHelper">
<HintPath>..\..\..\..\SharedRefDll\Neotel\ConfigHelper.dll</HintPath>
</Reference>
<Reference Include="halcondotnet">
<HintPath>..\..\dll\halcondotnet.dll</HintPath>
</Reference>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论