Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
URSolderingRobot
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 4024e72c
由
几米阳光
编写于
2018-08-06 15:32:37 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
增加DI9开始焊接信号,调整界面
1 个父辈
9156bbe9
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
21 行增加
和
6 行删除
DeviceLibrary/Robot/LineSolderingRobot.cs
DeviceLibrary/RobotConfig/solderingConfig/SolderingRobotConfig.csv
LoadCVSLibrary/robotConfig/config/IO_Type.cs
LoadCVSLibrary/robotConfig/config/SolderingRobotConfig.cs
URSolderingClient/FrmDebugMenu.Designer.cs
URSolderingClient/FrmSetting.cs
DeviceLibrary/Robot/LineSolderingRobot.cs
查看文件 @
4024e72
...
...
@@ -146,6 +146,18 @@ namespace URSoldering.DeviceLibrary
}
else
if
(
Status
.
Equals
(
RobotStatus
.
Runing
))
{
if
(
KNDIOValue
(
IO_Type
.
StartWeld
).
Equals
(
IO_VALUE
.
HIGH
))
{
string
msg
=
WeldRobotBean
.
StartWeld
();
if
(
msg
.
Equals
(
""
))
{
LogUtil
.
info
(
"收到启动焊接信号:正常开始焊接"
);
}
else
{
LogUtil
.
error
(
"收到启动焊接信号:焊接失败:"
+
msg
);
}
}
}
else
if
(
Status
.
Equals
(
RobotStatus
.
Busy
))
{
...
...
DeviceLibrary/RobotConfig/solderingConfig/SolderingRobotConfig.csv
查看文件 @
4024e72
...
...
@@ -7,7 +7,7 @@ DI,送丝气缸工作端,SendWire_Work,204,192.168.10.11,0,送丝气缸工作端,X05,DI-05,0
DI,送丝气缸清洗端,SendWire_Clear,205,192.168.10.11,0,送丝气缸清洗端,X06,DI-06,0
DI,烙铁气缸上升端,Soldering_Up,206,192.168.10.11,0,烙铁气缸上升端,X07,DI-07,0
DI,烙铁气缸下降端,Soldering_Down,207,192.168.10.11,0,烙铁气缸下降端,X08,DI-08,0
,,,208,192.168.10.11,0,
,X09,DI-09,0
DI,开始焊接信号,StartWeld,208,192.168.10.11,0,开始焊接信号
,X09,DI-09,0
,,,209,192.168.10.11,0,,X10,DI-10,0
,,,210,192.168.10.11,0,,X11,DI-11,0
,,,211,192.168.10.11,0,,X12,DI-12,0
...
...
LoadCVSLibrary/robotConfig/config/IO_Type.cs
查看文件 @
4024e72
...
...
@@ -97,9 +97,11 @@ namespace URSoldering.LoadCSVLibrary
/// 送丝电机启动 SendWireStart
/// </summary>
public
static
string
SendWireStart
=
"SendWireStart"
;
/// <summary>
/// DI 开始焊接信号 StartWeld
/// </summary>
public
static
string
StartWeld
=
"StartWeld"
;
}
}
\ No newline at end of file
LoadCVSLibrary/robotConfig/config/SolderingRobotConfig.cs
查看文件 @
4024e72
...
...
@@ -70,6 +70,7 @@ namespace URSoldering.LoadCSVLibrary
MustHaveDIList
.
Add
(
IO_Type
.
SendWire_Work
);
MustHaveDIList
.
Add
(
IO_Type
.
Soldering_Down
);
MustHaveDIList
.
Add
(
IO_Type
.
Soldering_Up
);
MustHaveDIList
.
Add
(
IO_Type
.
StartWeld
);
MustHaveDOList
.
Add
(
IO_Type
.
Fixture_Clamp
);
MustHaveDOList
.
Add
(
IO_Type
.
Fixture_Relax
);
...
...
URSolderingClient/FrmDebugMenu.Designer.cs
查看文件 @
4024e72
...
...
@@ -84,7 +84,7 @@ namespace URSoldering.Client
//
// btnSendWireDebug
//
this
.
btnSendWireDebug
.
BackColor
=
System
.
Drawing
.
Color
.
Gray
;
this
.
btnSendWireDebug
.
BackColor
=
System
.
Drawing
.
Color
.
Peru
;
this
.
btnSendWireDebug
.
FlatAppearance
.
BorderSize
=
0
;
this
.
btnSendWireDebug
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnSendWireDebug
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
14.25F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
...
...
URSolderingClient/FrmSetting.cs
查看文件 @
4024e72
...
...
@@ -74,7 +74,7 @@ namespace URSoldering.Client
// return;
//}
int
sendWireSpeed
=
FormUtil
.
GetIntValue
(
txtsendWireSpeed
);
if
(
sendWireSpeed
>
=
0
)
if
(
sendWireSpeed
<
=
0
)
{
MessageBox
.
Show
(
"请输入正确的反转送丝速度!"
);
txtsendWireSpeed
.
Focus
();
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论