Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC30-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 16cc676d
由
几米阳光
编写于
2018-12-10 14:43:14 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
b93747cb
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
13 行增加
和
12 行删除
doc/设备IP地址分配.xlsx
source/ACSingleStore/FrmAxisDebug.cs
source/ACSingleStore/FrmIOStatus.Designer.cs
source/ACSingleStore/FrmStoreBox.cs
source/DeviceLibrary/KangNaiDe/MasterTcpClient.cs
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
source/LoadCVSLibrary/storeConfig/config/StoreConfig.cs
doc/设备IP地址分配.xlsx
查看文件 @
16cc676
此文件类型无法预览
source/ACSingleStore/FrmAxisDebug.cs
查看文件 @
16cc676
...
@@ -345,10 +345,10 @@ namespace OnlineStore.AutoInOutStore
...
@@ -345,10 +345,10 @@ namespace OnlineStore.AutoInOutStore
}
}
private
void
UpdateAutoPosition
()
private
void
UpdateAutoPosition
()
{
{
int
inoutPosition
=
ACServerManager
.
GetTargetPosition
(
inout
.
DeviceName
,
inout
.
GetAxisValue
());
int
autoPosition
=
ACServerManager
.
GetTargetPosition
(
auto
.
DeviceName
,
auto
.
GetAxisValue
());
if
(!
txt
InOutPosition
.
Text
.
Equals
(
inout
Position
.
ToString
()))
if
(!
txt
AutoPosition
.
Text
.
Equals
(
auto
Position
.
ToString
()))
{
{
txt
InOutPosition
.
Text
=
inout
Position
.
ToString
();
txt
AutoPosition
.
Text
=
auto
Position
.
ToString
();
}
}
}
}
private
void
btnAutoMove_MouseDown
(
object
sender
,
MouseEventArgs
e
)
private
void
btnAutoMove_MouseDown
(
object
sender
,
MouseEventArgs
e
)
...
...
source/ACSingleStore/FrmIOStatus.Designer.cs
查看文件 @
16cc676
此文件的差异被折叠,
点击展开。
source/ACSingleStore/FrmStoreBox.cs
查看文件 @
16cc676
...
@@ -334,7 +334,7 @@ namespace OnlineStore.AutoInOutStore
...
@@ -334,7 +334,7 @@ namespace OnlineStore.AutoInOutStore
btnBatchInStore
.
Enabled
=
!
dooIsOpen
;
btnBatchInStore
.
Enabled
=
!
dooIsOpen
;
btnGetOutTray
.
Enabled
=
!
dooIsOpen
;
btnGetOutTray
.
Enabled
=
!
dooIsOpen
;
btnStartBatchInStore
.
Enabled
=
dooIsOpen
;
btnStartBatchInStore
.
Enabled
=
dooIsOpen
;
btnBatchReset
.
Enabled
=
dooIsOpen
;
btnBatchReset
.
Enabled
=
!
dooIsOpen
;
}
}
private
void
ReadPosistion
()
private
void
ReadPosistion
()
...
...
source/DeviceLibrary/KangNaiDe/MasterTcpClient.cs
查看文件 @
16cc676
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/StoreConfig/AC/StoreConfig.csv
查看文件 @
16cc676
...
@@ -9,7 +9,7 @@ DI,吸盘气缸上升端,SuckingDisc_Up,206,192.168.200.11,0,吸盘气缸上升端,X07,DI-07,0
...
@@ -9,7 +9,7 @@ DI,吸盘气缸上升端,SuckingDisc_Up,206,192.168.200.11,0,吸盘气缸上升端,X07,DI-07,0
DI,吸盘气缸下降端,SuckingDisc_Down,207,192.168.200.11,0,吸盘气缸下降端,X08,DI-08,0,
DI,吸盘气缸下降端,SuckingDisc_Down,207,192.168.200.11,0,吸盘气缸下降端,X08,DI-08,0,
DI,料盘宽度检测1,WidthCheck1,208,192.168.200.11,0,料盘宽度检测1,X09,DI-09,0,
DI,料盘宽度检测1,WidthCheck1,208,192.168.200.11,0,料盘宽度检测1,X09,DI-09,0,
DI,料盘宽度检测2,WidthCheck2,209,192.168.200.11,0,料盘宽度检测2,X10,DI-10,0,
DI,料盘宽度检测2,WidthCheck2,209,192.168.200.11,0,料盘宽度检测2,X10,DI-10,0,
DI,料盘检测1
(上料机构),TrayCheck_LoadMaterial
,210,192.168.200.11,0,料盘检测1(上料机构),X11,DI-11,0,
DI,料盘检测1
(上料机构),TrayCheck_LoadMaterial
,210,192.168.200.11,0,料盘检测1(上料机构),X11,DI-11,0,
DI,上料机构出料检测,OutCheck,211,192.168.200.11,0,上料机构出料检测,X12,DI-12,0,
DI,上料机构出料检测,OutCheck,211,192.168.200.11,0,上料机构出料检测,X12,DI-12,0,
DI,门锁气缸打开端,BatchDoor_Open,212,192.168.200.11,0,门锁气缸打开端,X13,DI-13,0,
DI,门锁气缸打开端,BatchDoor_Open,212,192.168.200.11,0,门锁气缸打开端,X13,DI-13,0,
DI,门锁气缸关闭端,BatchDoor_Close,213,192.168.200.11,0,门锁气缸关闭端,X14,DI-14,0,
DI,门锁气缸关闭端,BatchDoor_Close,213,192.168.200.11,0,门锁气缸关闭端,X14,DI-14,0,
...
@@ -31,10 +31,10 @@ DO,门锁气缸打开SOL,AutoDoor_Open,112,192.168.200.11,0,门锁气缸打开SOL,Y13,DO-13,
...
@@ -31,10 +31,10 @@ DO,门锁气缸打开SOL,AutoDoor_Open,112,192.168.200.11,0,门锁气缸打开SOL,Y13,DO-13,
DO,门锁气缸关闭SOL,AutoDoor_Close,113,192.168.200.11,0,门锁气缸关闭SOL,Y14,DO-14,0,
DO,门锁气缸关闭SOL,AutoDoor_Close,113,192.168.200.11,0,门锁气缸关闭SOL,Y14,DO-14,0,
,,,114,192.168.200.11,0,,Y15,DO-15,0,
,,,114,192.168.200.11,0,,Y15,DO-15,0,
,,,115,192.168.200.11,0,,Y16,DO-16,0,
,,,115,192.168.200.11,0,,Y16,DO-16,0,
DI,上料机构门关闭,DoorClose_LoadMaterial,200,192.168.200.12,0,上料机构门关闭,X
17
,DI-21,0,
DI,上料机构门关闭,DoorClose_LoadMaterial,200,192.168.200.12,0,上料机构门关闭,X
21
,DI-21,0,
DI,气压检测,Airpressure_Check,201,192.168.200.12,0,气压检测,X
18
,DI-22,0,
DI,气压检测,Airpressure_Check,201,192.168.200.12,0,气压检测,X
22
,DI-22,0,
DI,吸盘压力确认信号,SuckingDisc_Air,202,192.168.200.12,0,吸盘压力确认信号,X
19
,DI-23,0,
DI,吸盘压力确认信号,SuckingDisc_Air,202,192.168.200.12,0,吸盘压力确认信号,X
23
,DI-23,0,
DI,左侧门关闭,DoorColse_Single,203,192.168.200.12,0,左侧门关闭,X2
0
,DI-24,0,
DI,左侧门关闭,DoorColse_Single,203,192.168.200.12,0,左侧门关闭,X2
4
,DI-24,0,
,,,100,192.168.200.12,0,,Y17,DO-21,0,
,,,100,192.168.200.12,0,,Y17,DO-21,0,
,,,101,192.168.200.12,0,,Y18,DO-22,0,
,,,101,192.168.200.12,0,,Y18,DO-22,0,
,,,102,192.168.200.12,0,,Y19,DO-23,0,
,,,102,192.168.200.12,0,,Y19,DO-23,0,
...
@@ -142,5 +142,5 @@ PRO,(轴五)上料轴最大限位,BatchAxis_PositionMax,0,,,,,,,
...
@@ -142,5 +142,5 @@ PRO,(轴五)上料轴最大限位,BatchAxis_PositionMax,0,,,,,,,
PRO,(轴五)上料轴P1速度,BatchAxis_P1_Speed,50,,,,,,,
PRO,(轴五)上料轴P1速度,BatchAxis_P1_Speed,50,,,,,,,
,,,,,,,,,,
,,,,,,,,,,
,,,,,,,,,,
,,,,,,,,,,
PRO,IO模块对应的DI数量,IO_DILength,192.168.200.11#16;192.168.200.1
1
#4,,,,,, ,
PRO,IO模块对应的DI数量,IO_DILength,192.168.200.11#16;192.168.200.1
2
#4,,,,,, ,
PRO,模块对应的DO数量,IO_DOLength,192.168.200.11#16;192.168.200.1
1
#4,,,,,,,
PRO,模块对应的DO数量,IO_DOLength,192.168.200.11#16;192.168.200.1
2
#4,,,,,,,
source/LoadCVSLibrary/storeConfig/config/StoreConfig.cs
查看文件 @
16cc676
...
@@ -86,6 +86,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -86,6 +86,7 @@ namespace OnlineStore.LoadCSVLibrary
Dictionary
<
string
,
string
>
proMap
=
CSVReaderBase
.
getConfigProAttributeMap
(
GetType
());
Dictionary
<
string
,
string
>
proMap
=
CSVReaderBase
.
getConfigProAttributeMap
(
GetType
());
List
<
string
>
checkProList
=
new
List
<
string
>(
proMap
.
Keys
);
//用来检测attribute属性都应该要配置值
List
<
string
>
checkProList
=
new
List
<
string
>(
proMap
.
Keys
);
//用来检测attribute属性都应该要配置值
List
<
string
>
IoTypeList
=
IO_Type
.
GetTypeList
();
foreach
(
ConfigBase
con
in
configList
)
foreach
(
ConfigBase
con
in
configList
)
{
{
if
(
con
.
ProType
==
ConfigItemType
.
AXIS
||
con
.
ProType
==
ConfigItemType
.
PRO
)
if
(
con
.
ProType
==
ConfigItemType
.
AXIS
||
con
.
ProType
==
ConfigItemType
.
PRO
)
...
@@ -120,7 +121,7 @@ namespace OnlineStore.LoadCSVLibrary
...
@@ -120,7 +121,7 @@ namespace OnlineStore.LoadCSVLibrary
}
}
else
if
(
con
.
ProType
==
ConfigItemType
.
DI
)
else
if
(
con
.
ProType
==
ConfigItemType
.
DI
)
{
{
if
(
I
O_Type
.
GetTypeList
()
.
Contains
(
con
.
ProName
))
if
(
I
oTypeList
.
Contains
(
con
.
ProName
))
{
{
ConfigIO
io
=
(
ConfigIO
)
con
;
ConfigIO
io
=
(
ConfigIO
)
con
;
if
(!
DIODeviceNameList
.
Contains
(
io
.
DeviceName
)
&&
io
.
GetIOAddr
()
>=
0
)
if
(!
DIODeviceNameList
.
Contains
(
io
.
DeviceName
)
&&
io
.
GetIOAddr
()
>=
0
)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论