Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit b0f14394
由
LN
编写于
2019-08-15 14:33:05 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加Y16 可取料信号
1 个父辈
9633130e
全部展开
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
19 行增加
和
0 行删除
source/ACSingleStore/记录.txt
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
source/LoadCVSLibrary/storeConfig/config/Store_IO_Type.cs
source/ACSingleStore/记录.txt
查看文件 @
b0f1439
...
@@ -77,6 +77,9 @@
...
@@ -77,6 +77,9 @@
测高计算修改。
测高计算修改。
bug修改:压紧轴点动时实时坐标更新。
bug修改:压紧轴点动时实时坐标更新。
20190814:
增加Y16 可取料信号
增加Y15 允许放料信号
\ No newline at end of file
\ No newline at end of file
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
查看文件 @
b0f1439
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
b0f1439
...
@@ -226,6 +226,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -226,6 +226,7 @@ namespace OnlineStore.DeviceLibrary
KNDIOMove
(
IO_Type
.
Alarm_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
Alarm_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
AutoRun_HddLed
,
IO_VALUE
.
HIGH
);
KNDIOMove
(
IO_Type
.
AutoRun_HddLed
,
IO_VALUE
.
HIGH
);
KNDIOMove
(
IO_Type
.
RunSign_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
RunSign_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
CanGetTray
,
IO_VALUE
.
LOW
);
storeRunStatus
=
StoreRunStatus
.
HomeMoving
;
storeRunStatus
=
StoreRunStatus
.
HomeMoving
;
StoreMove
.
NewMove
(
StoreMoveType
.
ReturnHome
);
StoreMove
.
NewMove
(
StoreMoveType
.
ReturnHome
);
...
@@ -277,6 +278,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -277,6 +278,7 @@ namespace OnlineStore.DeviceLibrary
KNDIOMove
(
IO_Type
.
Alarm_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
Alarm_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
AutoRun_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
AutoRun_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
RunSign_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
RunSign_HddLed
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
CanGetTray
,
IO_VALUE
.
LOW
);
//复位之前先停止运行
//复位之前先停止运行
if
(
isNeedClearAuto
)
if
(
isNeedClearAuto
)
{
{
...
@@ -1361,6 +1363,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1361,6 +1363,8 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
info
(
LOGGER
,
StoreName
+
"StopMove"
);
LogUtil
.
info
(
LOGGER
,
StoreName
+
"StopMove"
);
KNDIOMove
(
IO_Type
.
Door_Down
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
Door_Down
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
Door_Up
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
Door_Up
,
IO_VALUE
.
LOW
);
KNDIOMove
(
IO_Type
.
CanGetTray
,
IO_VALUE
.
LOW
);
CodeManager
.
CloseCamera
();
CodeManager
.
CloseCamera
();
isInPro
=
false
;
isInPro
=
false
;
}
}
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
b0f1439
...
@@ -749,6 +749,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -749,6 +749,8 @@ namespace OnlineStore.DeviceLibrary
int
ms
=
OutStoreWaitSeconds
*
1000
;
int
ms
=
OutStoreWaitSeconds
*
1000
;
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_14_WaitTake
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_14_WaitTake
);
OutStoreLog
(
"出库:SO_14_WaitTake 等待拿走物品,最多等待"
+
OutStoreWaitSeconds
+
"秒"
);
OutStoreLog
(
"出库:SO_14_WaitTake 等待拿走物品,最多等待"
+
OutStoreWaitSeconds
+
"秒"
);
KNDIOMove
(
IO_Type
.
CanGetTray
,
IO_VALUE
.
HIGH
);
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
ms
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
ms
));
//StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.TrayCheck_Door, IO_VALUE.LOW));
//StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.TrayCheck_Door, IO_VALUE.LOW));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitHeight
(
0
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitHeight
(
0
));
...
@@ -756,6 +758,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -756,6 +758,7 @@ namespace OnlineStore.DeviceLibrary
}
}
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_14_WaitTake
)
else
if
(
StoreMove
.
MoveStep
==
StoreMoveStep
.
SO_14_WaitTake
)
{
{
KNDIOMove
(
IO_Type
.
CanGetTray
,
IO_VALUE
.
LOW
);
TimeSpan
span
=
DateTime
.
Now
-
startOutStoreTime
;
TimeSpan
span
=
DateTime
.
Now
-
startOutStoreTime
;
string
posId
=
StoreMove
.
MoveParam
!=
null
?
StoreMove
.
MoveParam
.
PositionNum
:
""
;
string
posId
=
StoreMove
.
MoveParam
!=
null
?
StoreMove
.
MoveParam
.
PositionNum
:
""
;
...
...
source/LoadCVSLibrary/storeConfig/CSVConfigReader.cs
查看文件 @
b0f1439
...
@@ -211,6 +211,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -211,6 +211,7 @@ namespace OnlineStore.LoadCSVLibrary
{
{
newLine
=
newLine
+
s
+
","
;
newLine
=
newLine
+
s
+
","
;
}
}
newLine
=
newLine
.
Substring
(
0
,
newLine
.
Length
-
1
);
newLines
[
index
]
=
newLine
;
newLines
[
index
]
=
newLine
;
}
}
}
}
...
...
source/LoadCVSLibrary/storeConfig/config/Store_IO_Type.cs
查看文件 @
b0f1439
...
@@ -139,6 +139,14 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -139,6 +139,14 @@ namespace OnlineStore.LoadCSVLibrary
/// 压紧机构计量检测 CompressAxis_Check X16 DI-16
/// 压紧机构计量检测 CompressAxis_Check X16 DI-16
/// </summary>
/// </summary>
public
static
string
CompressAxis_Check
=
"CompressAxis_Check"
;
public
static
string
CompressAxis_Check
=
"CompressAxis_Check"
;
/// <summary>
/// DO 可取料信号 CanGetTray Y16
/// </summary>
public
static
string
CanGetTray
=
"CanGetTray"
;
}
}
public
enum
IO_VALUE
public
enum
IO_VALUE
{
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论