Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit ebfa4432
由
LN
编写于
2019-12-02 19:07:33 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
d2690f0b
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
72 行删除
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
source/AssemblyLineClient/FrmIOStatus.cs
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
source/LoadCVSLibrary/storeConfig/config/Line_Config.cs
source/AssemblyLineClient/FrmFeedingEquip.Designer.cs
查看文件 @
ebfa443
...
...
@@ -223,7 +223,7 @@
this
.
cmbWriteIO
.
DisplayMember
=
"ProName"
;
this
.
cmbWriteIO
.
DrawMode
=
System
.
Windows
.
Forms
.
DrawMode
.
OwnerDrawVariable
;
this
.
cmbWriteIO
.
DropDownStyle
=
System
.
Windows
.
Forms
.
ComboBoxStyle
.
DropDownList
;
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbWriteIO
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
10.5
F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
cmbWriteIO
.
FormattingEnabled
=
true
;
this
.
cmbWriteIO
.
ItemHeight
=
22
;
this
.
cmbWriteIO
.
Location
=
new
System
.
Drawing
.
Point
(
17
,
25
);
...
...
@@ -355,7 +355,7 @@
this
.
btnBStopDown
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnBStopDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnBStopDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnBStopDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
6
,
138
);
this
.
btnBStopDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
139
);
this
.
btnBStopDown
.
Name
=
"btnBStopDown"
;
this
.
btnBStopDown
.
Size
=
new
System
.
Drawing
.
Size
(
153
,
34
);
this
.
btnBStopDown
.
TabIndex
=
267
;
...
...
@@ -368,7 +368,7 @@
this
.
btnEStopDown
.
BackColor
=
System
.
Drawing
.
Color
.
White
;
this
.
btnEStopDown
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnEStopDown
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
btnEStopDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
75
,
138
);
this
.
btnEStopDown
.
Location
=
new
System
.
Drawing
.
Point
(
1
6
,
139
);
this
.
btnEStopDown
.
Name
=
"btnEStopDown"
;
this
.
btnEStopDown
.
Size
=
new
System
.
Drawing
.
Size
(
153
,
34
);
this
.
btnEStopDown
.
TabIndex
=
266
;
...
...
@@ -791,7 +791,7 @@
this
.
tabPage2
.
Location
=
new
System
.
Drawing
.
Point
(
4
,
26
);
this
.
tabPage2
.
Name
=
"tabPage2"
;
this
.
tabPage2
.
Padding
=
new
System
.
Windows
.
Forms
.
Padding
(
3
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1319
,
657
);
this
.
tabPage2
.
Size
=
new
System
.
Drawing
.
Size
(
1319
,
701
);
this
.
tabPage2
.
TabIndex
=
1
;
this
.
tabPage2
.
Text
=
" 伺服信息 "
;
this
.
tabPage2
.
UseVisualStyleBackColor
=
true
;
...
...
source/AssemblyLineClient/FrmIOStatus.cs
查看文件 @
ebfa443
...
...
@@ -266,17 +266,11 @@ namespace OnlineStore.AssemblyLine
{
btnDriveMotor_Run
.
Text
=
"驱动电机1234停止"
;
btnDriveMotor_Run
.
BackColor
=
Color
.
Aqua
;
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run1
,
IO_VALUE
.
HIGH
);
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run2
,
IO_VALUE
.
HIGH
);
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run3
,
IO_VALUE
.
HIGH
);
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run4
,
IO_VALUE
.
HIGH
);
LineManager
.
Line
.
WriteDrivetMotorRun
(
IO_VALUE
.
HIGH
);
}
else
{
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run1
,
IO_VALUE
.
LOW
);
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run2
,
IO_VALUE
.
LOW
);
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run3
,
IO_VALUE
.
LOW
);
IOManager
.
IOMove
(
IO_Type
.
DriveMotor_Run4
,
IO_VALUE
.
LOW
);
LineManager
.
Line
.
WriteDrivetMotorRun
(
IO_VALUE
.
LOW
);
btnDriveMotor_Run
.
Text
=
"驱动电机1234正转"
;
btnDriveMotor_Run
.
BackColor
=
Color
.
White
;
}
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
查看文件 @
ebfa443
...
...
@@ -17,14 +17,14 @@ PRO,0,提升上料轴减速度,BatchAxis_DelSpeed,400,,,,,
PRO,0,提升上料轴原点低速度,BatchAxis_HomeLowSpeed,1500,,,,,
PRO,0,提升上料轴原点高速,BatchAxis_HomeHighSpeed,500,,,,,
PRO,0,提升上料轴原点加速度,BatchAxis_HomeAddSpeed,500,,,,,
PRO,0,提升上料轴P1速度,BatchAxis_P1Speed,
4
00,,,,,
PRO,0,提升上料轴P2速度,BatchAxis_P2Speed,
4
00,,,,,
PRO,0,提升上料轴P3速度,BatchAxis_P3Speed,
5
0,,,,,
PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,5000,,,,,
PRO,0,提升上料轴P1速度,BatchAxis_P1Speed,
28
00,,,,,
PRO,0,提升上料轴P2速度,BatchAxis_P2Speed,
25
00,,,,,
PRO,0,提升上料轴P3速度,BatchAxis_P3Speed,
120
0,,,,,
PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,5000
0
,,,,,
,,,,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,6,COM5,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=1
8000
0,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=1
5401
0,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,310000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,150,,,,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,,,,
...
...
source/LoadCVSLibrary/storeConfig/config/Line_Config.cs
查看文件 @
ebfa443
...
...
@@ -65,59 +65,6 @@ namespace OnlineStore.LoadCSVLibrary
[
ConfigProAttribute
(
"IO_DOLength"
)]
public
string
IO_DOLength
{
get
;
set
;
}
///// <summary>
///// PRO 模拟量IO模块的IP地址 AIDevice_IP 192.168.200.11
///// </summary>
//[ConfigProAttribute("AIDevice_IP", true)]
//public string AIDevice_IP { get; set; }
///// <summary>
///// PRO 模拟量测高1mm对应的转换值 AI_ConvertPosition 55
///// </summary>
//[ConfigProAttribute("AI_ConvertPosition", true)]
//public int AI_ConvertPosition { get; set; }
///// <summary>
///// PRO,模拟信号1默认高度,AIDI1_DefaultPosition,1,,,,,,,
///// </summary>
//[ConfigProAttribute("AIDI1_DefaultPosition", true)]
//public double AIDI1_DefaultPosition { get; set; }
///// <summary>
///// PRO,模拟信号2默认高度,AIDI2_DefaultPosition,1,,,,,,,
///// </summary>
//[ConfigProAttribute("AIDI2_DefaultPosition", true)]
//public double AIDI2_DefaultPosition { get; set; }
///// <summary>
///// PRO,模拟信号3默认高度,AIDI3_DefaultPosition,1,,,,,,,
///// </summary>
//[ConfigProAttribute("AIDI3_DefaultPosition", true)]
//public double AIDI3_DefaultPosition { get; set; }
///// <summary>
///// PRO,模拟信号4默认高度,AIDI4_DefaultPosition,1,,,,,,,
///// </summary>
//[ConfigProAttribute("AIDI4_DefaultPosition", true)]
//public double AIDI4_DefaultPosition { get; set; }
///// <summary>
///// PRO 模拟信号1的地址 AIDI1_Addr 7
///// </summary>
//[ConfigProAttribute("AIDI1_Addr", true)]
//public int AIDI1_Addr { get; set; }
///// <summary>
///// PRO 模拟信号2的地址 AIDI2_Addr 8
///// </summary>
//[ConfigProAttribute("AIDI2_Addr", true)]
//public int AIDI2_Addr { get; set; }
///// <summary>
///// PRO 模拟信号3的地址 AIDI3_Addr 5
///// </summary>
//[ConfigProAttribute("AIDI3_Addr", true)]
//public int AIDI3_Addr { get; set; }
///// <summary>
///// PRO 模拟信号4的地址 AIDI4_Addr 6
///// </summary>
//[ConfigProAttribute("AIDI4_Addr", true)]
//public int AIDI4_Addr { get; set; }
...
...
@@ -200,7 +147,6 @@ namespace OnlineStore.LoadCSVLibrary
MustHaveDIList
.
Add
(
IO_Type
.
TopCylinder_Down
);
MustHaveDOList
.
Add
(
IO_Type
.
AutoRun_HddLed
);
MustHaveDOList
.
Add
(
IO_Type
.
RunSign_HddLed
);
MustHaveDOList
.
Add
(
IO_Type
.
Alarm_HddLed
);
...
...
@@ -215,7 +161,6 @@ namespace OnlineStore.LoadCSVLibrary
MustHaveDOList
.
Add
(
IO_Type
.
TopCylinder_UP
);
MustHaveDOList
.
Add
(
IO_Type
.
TopCylinder_Down
);
}
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论