Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 4037dcde
由
LN
编写于
2019-11-13 14:20:01 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
1
1 个父辈
cece86de
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
141 行增加
和
265 行删除
dll/Asa.IOModule.AIOBOX.dll
dll/Asa.IOModule.AIOBOX.xml
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
source/AssemblyLineClient/useControl/AxisMoveControl.cs
source/DeviceLibrary/deviceLibrary/IO/AIOBOX/AIOBOXManager.cs
dll/Asa.IOModule.AIOBOX.dll
查看文件 @
4037dcd
此文件类型无法预览
dll/Asa.IOModule.AIOBOX.xml
查看文件 @
4037dcd
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
AIOBOX操作类
AIOBOX操作类
</summary>
</summary>
</member>
</member>
<member
name=
"F:Asa.IOModule.AIOBOX.
suspend
"
>
<member
name=
"F:Asa.IOModule.AIOBOX.
_unrevdRemote
"
>
<summary>
<summary>
暂停次数
暂停次数
WriteDO 命令非常多时,暂停一次发送 ReadDI 或 ReadDO
WriteDO 命令非常多时,暂停一次发送 ReadDI 或 ReadDO
...
@@ -22,17 +22,12 @@
...
@@ -22,17 +22,12 @@
小于30时,会出现接收数据连包的情况
小于30时,会出现接收数据连包的情况
</summary>
</summary>
</member>
</member>
<member
name=
"F:Asa.IOModule.AIOBOX.
NET
_SLEEP"
>
<member
name=
"F:Asa.IOModule.AIOBOX.
LISTEN
_SLEEP"
>
<summary>
<summary>
监听网络接收数据的间隔
监听网络接收数据的间隔
必须小于SEND_SLEEP
必须小于SEND_SLEEP
</summary>
</summary>
</member>
</member>
<member
name=
"F:Asa.IOModule.AIOBOX.TRIG_SLEEP"
>
<summary>
触发DIO状态事件的间隔
</summary>
</member>
<member
name=
"T:Asa.IOModule.AIOBOX.DI_Changed"
>
<member
name=
"T:Asa.IOModule.AIOBOX.DI_Changed"
>
<summary>
<summary>
自动读取DI委托
自动读取DI委托
...
@@ -157,6 +152,13 @@
...
@@ -157,6 +152,13 @@
<param
name=
"localIP"
>
本地IP地址
</param>
<param
name=
"localIP"
>
本地IP地址
</param>
<returns></returns>
<returns></returns>
</member>
</member>
<member
name=
"M:Asa.IOModule.AIOBOX.CheckIP(System.String)"
>
<summary>
检查IP地址
</summary>
<param
name=
"ip"
></param>
<returns></returns>
</member>
<member
name=
"M:Asa.IOModule.AIOBOX.Connect"
>
<member
name=
"M:Asa.IOModule.AIOBOX.Connect"
>
<summary>
<summary>
连接
连接
...
@@ -170,17 +172,23 @@
...
@@ -170,17 +172,23 @@
</member>
</member>
<member
name=
"M:Asa.IOModule.AIOBOX.AutoReadInput(System.Boolean,System.Int32)"
>
<member
name=
"M:Asa.IOModule.AIOBOX.AutoReadInput(System.Boolean,System.Int32)"
>
<summary>
<summary>
自动读取输入端,触发事件
自动读取输入端并触发事件(主动上传数据 = 禁止)
</summary>
<param
name=
"read"
>
是否自动读取
</param>
<param
name=
"sleep"
>
间隔,必须大于等于15ms
</param>
</member>
<member
name=
"M:Asa.IOModule.AIOBOX.AutoReadInput(System.Boolean)"
>
<summary>
自动读取输入端并触发事件(主动上传数据 = 使能)
</summary>
</summary>
<param
name=
"read"
>
是否自动读取
</param>
<param
name=
"read"
>
是否自动读取
</param>
<param
name=
"sleep"
>
间隔,必须大于15ms
</param>
</member>
</member>
<member
name=
"M:Asa.IOModule.AIOBOX.AutoReadOutput(System.Boolean,System.Int32)"
>
<member
name=
"M:Asa.IOModule.AIOBOX.AutoReadOutput(System.Boolean,System.Int32)"
>
<summary>
<summary>
自动读取输出端,触发事件
自动读取输出端,触发事件
</summary>
</summary>
<param
name=
"read"
>
是否自动读取
</param>
<param
name=
"read"
>
是否自动读取
</param>
<param
name=
"sleep"
>
间隔,必须大于
10
ms
</param>
<param
name=
"sleep"
>
间隔,必须大于
等于15
ms
</param>
</member>
</member>
<member
name=
"M:Asa.IOModule.AIOBOX.ReverseStatus(Asa.IOModule.Box_Sta)"
>
<member
name=
"M:Asa.IOModule.AIOBOX.ReverseStatus(Asa.IOModule.Box_Sta)"
>
<summary>
<summary>
...
@@ -365,248 +373,5 @@
...
@@ -365,248 +373,5 @@
闭合,打开,高电平
闭合,打开,高电平
</summary>
</summary>
</member>
</member>
<member
name=
"T:Asa.IOModule.Reg"
>
<summary>
IO模块寄存器
</summary>
</member>
<member
name=
"F:Asa.IOModule.Reg.ID"
>
<summary>
标识
</summary>
</member>
<member
name=
"F:Asa.IOModule.Reg.Text"
>
<summary>
文本,仅用于显示
</summary>
</member>
<member
name=
"F:Asa.IOModule.Reg.Address"
>
<summary>
寄存器地址
</summary>
</member>
<member
name=
"F:Asa.IOModule.Reg.Status"
>
<summary>
当前的状态
</summary>
</member>
<member
name=
"M:Asa.IOModule.Reg.#ctor(Asa.IOModule.Box_Addr)"
>
<summary>
寄存器,文本空,状态OFF
</summary>
<param
name=
"address"
>
地址
</param>
</member>
<member
name=
"M:Asa.IOModule.Reg.#ctor(System.String,Asa.IOModule.Box_Addr)"
>
<summary>
寄存器,状态OFF
</summary>
<param
name=
"text"
>
文本
</param>
<param
name=
"addr"
>
地址
</param>
</member>
<member
name=
"M:Asa.IOModule.Reg.#ctor(System.Int32,System.String,Asa.IOModule.Box_Addr)"
>
<summary>
寄存器,状态OFF
</summary>
<param
name=
"id"
>
标志
</param>
<param
name=
"text"
>
文本
</param>
<param
name=
"addr"
>
地址
</param>
</member>
<member
name=
"M:Asa.IOModule.Reg.#ctor(System.String,Asa.IOModule.Box_Addr,Asa.IOModule.Box_Sta)"
>
<summary>
寄存器
</summary>
<param
name=
"text"
>
文本
</param>
<param
name=
"addr"
>
地址
</param>
<param
name=
"status"
>
状态
</param>
</member>
<member
name=
"M:Asa.IOModule.Reg.#ctor(System.Int32,System.String,Asa.IOModule.Box_Addr,Asa.IOModule.Box_Sta)"
>
<summary>
寄存器
</summary>
<param
name=
"id"
>
标志
</param>
<param
name=
"text"
>
文本
</param>
<param
name=
"address"
>
地址
</param>
<param
name=
"status"
>
状态
</param>
</member>
<member
name=
"T:Asa.IOModule.Box_Addr"
>
<summary>
IO模块寄存器地址
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_1"
>
<summary>
输入点,DI01
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_2"
>
<summary>
输入点,DI02
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_3"
>
<summary>
输入点,DI03
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_4"
>
<summary>
输入点,DI04
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_5"
>
<summary>
输入点,DI05
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_6"
>
<summary>
输入点,DI06
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_7"
>
<summary>
输入点,DI07
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_8"
>
<summary>
输入点,DI08
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_9"
>
<summary>
输入点,DI09
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_10"
>
<summary>
输入点,DI10
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_11"
>
<summary>
输入点,DI11
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_12"
>
<summary>
输入点,DI12
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_13"
>
<summary>
输入点,DI13
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_14"
>
<summary>
输入点,DI14
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_15"
>
<summary>
输入点,DI15
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DI_16"
>
<summary>
输入点,DI16
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_1"
>
<summary>
输出点,DO01
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_2"
>
<summary>
输出点,DO02
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_3"
>
<summary>
输出点,DO03
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_4"
>
<summary>
输出点,DO04
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_5"
>
<summary>
输出点,DO05
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_6"
>
<summary>
输出点,DO06
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_7"
>
<summary>
输出点,DO07
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_8"
>
<summary>
输出点,DO08
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_9"
>
<summary>
输出点,DO09
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_10"
>
<summary>
输出点,DO10
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_11"
>
<summary>
输出点,DO11
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_12"
>
<summary>
输出点,DO12
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_13"
>
<summary>
输出点,DO13
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_14"
>
<summary>
输出点,DO14
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_15"
>
<summary>
输出点,DO15
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.DO_16"
>
<summary>
输出点,DO16
</summary>
</member>
<member
name=
"F:Asa.IOModule.Box_Addr.NONE"
>
<summary>
无
</summary>
</member>
<member
name=
"T:Asa.IOModule.DI_Addr"
>
<summary>
输入端地址
</summary>
</member>
<member
name=
"T:Asa.IOModule.DO_Addr"
>
<summary>
输入端地址
</summary>
</member>
</members>
</members>
</doc>
</doc>
source/AssemblyLineClient/useControl/AxisMoveControl.Designer.cs
查看文件 @
4037dcd
...
@@ -69,11 +69,27 @@
...
@@ -69,11 +69,27 @@
this
.
label45
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label45
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label46
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label46
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label49
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label49
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label24
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label26
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadLimit2
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtLimit2
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
label22
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
label23
=
new
System
.
Windows
.
Forms
.
Label
();
this
.
btnReadLimit1
=
new
System
.
Windows
.
Forms
.
Button
();
this
.
txtLimit1
=
new
System
.
Windows
.
Forms
.
TextBox
();
this
.
groupAxis
.
SuspendLayout
();
this
.
groupAxis
.
SuspendLayout
();
this
.
SuspendLayout
();
this
.
SuspendLayout
();
//
//
// groupAxis
// groupAxis
//
//
this
.
groupAxis
.
Controls
.
Add
(
this
.
label24
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label26
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadLimit2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtLimit2
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label22
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label23
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
btnReadLimit1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
txtLimit1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
comboBox1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
comboBox1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label6
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label6
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label1
);
this
.
groupAxis
.
Controls
.
Add
(
this
.
label1
);
...
@@ -117,7 +133,7 @@
...
@@ -117,7 +133,7 @@
this
.
groupAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupAxis
.
Font
=
new
System
.
Drawing
.
Font
(
"微软雅黑"
,
9F
,
System
.
Drawing
.
FontStyle
.
Regular
,
System
.
Drawing
.
GraphicsUnit
.
Point
,
((
byte
)(
134
)));
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
4
);
this
.
groupAxis
.
Location
=
new
System
.
Drawing
.
Point
(
9
,
4
);
this
.
groupAxis
.
Name
=
"groupAxis"
;
this
.
groupAxis
.
Name
=
"groupAxis"
;
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
648
,
367
);
this
.
groupAxis
.
Size
=
new
System
.
Drawing
.
Size
(
648
,
441
);
this
.
groupAxis
.
TabIndex
=
218
;
this
.
groupAxis
.
TabIndex
=
218
;
this
.
groupAxis
.
TabStop
=
false
;
this
.
groupAxis
.
TabStop
=
false
;
this
.
groupAxis
.
Text
=
"伺服运动"
;
this
.
groupAxis
.
Text
=
"伺服运动"
;
...
@@ -136,7 +152,7 @@
...
@@ -136,7 +152,7 @@
// label6
// label6
//
//
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
AutoSize
=
true
;
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
321
);
this
.
label6
.
Location
=
new
System
.
Drawing
.
Point
(
78
,
321
);
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Name
=
"label6"
;
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label6
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label6
.
TabIndex
=
300
;
this
.
label6
.
TabIndex
=
300
;
...
@@ -145,7 +161,7 @@
...
@@ -145,7 +161,7 @@
// label1
// label1
//
//
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
AutoSize
=
true
;
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
19
5
,
321
);
this
.
label1
.
Location
=
new
System
.
Drawing
.
Point
(
19
2
,
321
);
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Name
=
"label1"
;
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label1
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label1
.
TabIndex
=
299
;
this
.
label1
.
TabIndex
=
299
;
...
@@ -165,7 +181,7 @@
...
@@ -165,7 +181,7 @@
// txtHomeSingle
// txtHomeSingle
//
//
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Enabled
=
false
;
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
1
61
,
318
);
this
.
txtHomeSingle
.
Location
=
new
System
.
Drawing
.
Point
(
1
59
,
318
);
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Name
=
"txtHomeSingle"
;
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeSingle
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeSingle
.
TabIndex
=
297
;
this
.
txtHomeSingle
.
TabIndex
=
297
;
...
@@ -200,7 +216,7 @@
...
@@ -200,7 +216,7 @@
// label11
// label11
//
//
this
.
label11
.
AutoSize
=
true
;
this
.
label11
.
AutoSize
=
true
;
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
43
,
288
);
this
.
label11
.
Location
=
new
System
.
Drawing
.
Point
(
32
,
288
);
this
.
label11
.
Name
=
"label11"
;
this
.
label11
.
Name
=
"label11"
;
this
.
label11
.
Size
=
new
System
.
Drawing
.
Size
(
114
,
17
);
this
.
label11
.
Size
=
new
System
.
Drawing
.
Size
(
114
,
17
);
this
.
label11
.
TabIndex
=
292
;
this
.
label11
.
TabIndex
=
292
;
...
@@ -209,7 +225,7 @@
...
@@ -209,7 +225,7 @@
// txtHomeStatus
// txtHomeStatus
//
//
this
.
txtHomeStatus
.
Enabled
=
false
;
this
.
txtHomeStatus
.
Enabled
=
false
;
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
61
,
285
);
this
.
txtHomeStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
59
,
285
);
this
.
txtHomeStatus
.
Name
=
"txtHomeStatus"
;
this
.
txtHomeStatus
.
Name
=
"txtHomeStatus"
;
this
.
txtHomeStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtHomeStatus
.
TabIndex
=
291
;
this
.
txtHomeStatus
.
TabIndex
=
291
;
...
@@ -228,7 +244,7 @@
...
@@ -228,7 +244,7 @@
// label10
// label10
//
//
this
.
label10
.
AutoSize
=
true
;
this
.
label10
.
AutoSize
=
true
;
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
82
,
255
);
this
.
label10
.
Location
=
new
System
.
Drawing
.
Point
(
71
,
255
);
this
.
label10
.
Name
=
"label10"
;
this
.
label10
.
Name
=
"label10"
;
this
.
label10
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
17
);
this
.
label10
.
Size
=
new
System
.
Drawing
.
Size
(
75
,
17
);
this
.
label10
.
TabIndex
=
289
;
this
.
label10
.
TabIndex
=
289
;
...
@@ -237,7 +253,7 @@
...
@@ -237,7 +253,7 @@
// txtBusyStatus
// txtBusyStatus
//
//
this
.
txtBusyStatus
.
Enabled
=
false
;
this
.
txtBusyStatus
.
Enabled
=
false
;
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
61
,
252
);
this
.
txtBusyStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
59
,
252
);
this
.
txtBusyStatus
.
Name
=
"txtBusyStatus"
;
this
.
txtBusyStatus
.
Name
=
"txtBusyStatus"
;
this
.
txtBusyStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtBusyStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtBusyStatus
.
TabIndex
=
288
;
this
.
txtBusyStatus
.
TabIndex
=
288
;
...
@@ -256,7 +272,7 @@
...
@@ -256,7 +272,7 @@
// label3
// label3
//
//
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
AutoSize
=
true
;
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
89
,
222
);
this
.
label3
.
Location
=
new
System
.
Drawing
.
Point
(
78
,
222
);
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Name
=
"label3"
;
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label3
.
Size
=
new
System
.
Drawing
.
Size
(
68
,
17
);
this
.
label3
.
TabIndex
=
286
;
this
.
label3
.
TabIndex
=
286
;
...
@@ -265,7 +281,7 @@
...
@@ -265,7 +281,7 @@
// txtAlarmStatus
// txtAlarmStatus
//
//
this
.
txtAlarmStatus
.
Enabled
=
false
;
this
.
txtAlarmStatus
.
Enabled
=
false
;
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
61
,
219
);
this
.
txtAlarmStatus
.
Location
=
new
System
.
Drawing
.
Point
(
1
59
,
219
);
this
.
txtAlarmStatus
.
Name
=
"txtAlarmStatus"
;
this
.
txtAlarmStatus
.
Name
=
"txtAlarmStatus"
;
this
.
txtAlarmStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtAlarmStatus
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtAlarmStatus
.
TabIndex
=
285
;
this
.
txtAlarmStatus
.
TabIndex
=
285
;
...
@@ -580,12 +596,86 @@
...
@@ -580,12 +596,86 @@
this
.
label49
.
Text
=
"AC伺服:"
;
this
.
label49
.
Text
=
"AC伺服:"
;
this
.
label49
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
this
.
label49
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
//
// label24
//
this
.
label24
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
390
);
this
.
label24
.
Name
=
"label24"
;
this
.
label24
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
17
);
this
.
label24
.
TabIndex
=
316
;
this
.
label24
.
Text
=
"负极限信号:"
;
this
.
label24
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label26
//
this
.
label26
.
AutoSize
=
true
;
this
.
label26
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
390
);
this
.
label26
.
Name
=
"label26"
;
this
.
label26
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label26
.
TabIndex
=
315
;
this
.
label26
.
Text
=
"1=ON,0=OFF"
;
//
// btnReadLimit2
//
this
.
btnReadLimit2
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnReadLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
388
);
this
.
btnReadLimit2
.
Name
=
"btnReadLimit2"
;
this
.
btnReadLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnReadLimit2
.
TabIndex
=
314
;
this
.
btnReadLimit2
.
Text
=
"读负极限信号"
;
this
.
btnReadLimit2
.
UseVisualStyleBackColor
=
true
;
this
.
btnReadLimit2
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReadLimit2_Click
);
//
// txtLimit2
//
this
.
txtLimit2
.
Enabled
=
false
;
this
.
txtLimit2
.
Location
=
new
System
.
Drawing
.
Point
(
159
,
387
);
this
.
txtLimit2
.
Name
=
"txtLimit2"
;
this
.
txtLimit2
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit2
.
TabIndex
=
313
;
//
// label22
//
this
.
label22
.
Location
=
new
System
.
Drawing
.
Point
(
5
,
358
);
this
.
label22
.
Name
=
"label22"
;
this
.
label22
.
Size
=
new
System
.
Drawing
.
Size
(
141
,
17
);
this
.
label22
.
TabIndex
=
312
;
this
.
label22
.
Text
=
"正极限信号:"
;
this
.
label22
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// label23
//
this
.
label23
.
AutoSize
=
true
;
this
.
label23
.
Location
=
new
System
.
Drawing
.
Point
(
192
,
358
);
this
.
label23
.
Name
=
"label23"
;
this
.
label23
.
Size
=
new
System
.
Drawing
.
Size
(
94
,
17
);
this
.
label23
.
TabIndex
=
311
;
this
.
label23
.
Text
=
"1=ON,0=OFF"
;
//
// btnReadLimit1
//
this
.
btnReadLimit1
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
Flat
;
this
.
btnReadLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
358
,
353
);
this
.
btnReadLimit1
.
Name
=
"btnReadLimit1"
;
this
.
btnReadLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
110
,
34
);
this
.
btnReadLimit1
.
TabIndex
=
310
;
this
.
btnReadLimit1
.
Text
=
"读正极限信号"
;
this
.
btnReadLimit1
.
UseVisualStyleBackColor
=
true
;
this
.
btnReadLimit1
.
Click
+=
new
System
.
EventHandler
(
this
.
btnReadLimit1_Click
);
//
// txtLimit1
//
this
.
txtLimit1
.
Enabled
=
false
;
this
.
txtLimit1
.
Location
=
new
System
.
Drawing
.
Point
(
159
,
355
);
this
.
txtLimit1
.
Name
=
"txtLimit1"
;
this
.
txtLimit1
.
Size
=
new
System
.
Drawing
.
Size
(
25
,
23
);
this
.
txtLimit1
.
TabIndex
=
309
;
//
// AxisMoveControl
// AxisMoveControl
//
//
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
None
;
this
.
Controls
.
Add
(
this
.
groupAxis
);
this
.
Controls
.
Add
(
this
.
groupAxis
);
this
.
Name
=
"AxisMoveControl"
;
this
.
Name
=
"AxisMoveControl"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
678
,
388
);
this
.
Size
=
new
System
.
Drawing
.
Size
(
678
,
471
);
this
.
groupAxis
.
ResumeLayout
(
false
);
this
.
groupAxis
.
ResumeLayout
(
false
);
this
.
groupAxis
.
PerformLayout
();
this
.
groupAxis
.
PerformLayout
();
this
.
ResumeLayout
(
false
);
this
.
ResumeLayout
(
false
);
...
@@ -635,5 +725,13 @@
...
@@ -635,5 +725,13 @@
private
System
.
Windows
.
Forms
.
Label
label45
;
private
System
.
Windows
.
Forms
.
Label
label45
;
private
System
.
Windows
.
Forms
.
Label
label46
;
private
System
.
Windows
.
Forms
.
Label
label46
;
private
System
.
Windows
.
Forms
.
Label
label49
;
private
System
.
Windows
.
Forms
.
Label
label49
;
private
System
.
Windows
.
Forms
.
Label
label24
;
private
System
.
Windows
.
Forms
.
Label
label26
;
private
System
.
Windows
.
Forms
.
Button
btnReadLimit2
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit2
;
private
System
.
Windows
.
Forms
.
Label
label22
;
private
System
.
Windows
.
Forms
.
Label
label23
;
private
System
.
Windows
.
Forms
.
Button
btnReadLimit1
;
private
System
.
Windows
.
Forms
.
TextBox
txtLimit1
;
}
}
}
}
source/AssemblyLineClient/useControl/AxisMoveControl.cs
查看文件 @
4037dcd
...
@@ -153,5 +153,17 @@ namespace OnlineStore.AssemblyLine
...
@@ -153,5 +153,17 @@ namespace OnlineStore.AssemblyLine
}
}
}
}
private
void
btnReadLimit1_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitPositiveSingle
(
PortName
,
SlvAddr
);
this
.
txtLimit1
.
Text
=
value
.
ToString
();
}
private
void
btnReadLimit2_Click
(
object
sender
,
EventArgs
e
)
{
int
value
=
ACServerManager
.
GetLimitNegativeSingle
(
PortName
,
SlvAddr
);
this
.
txtLimit2
.
Text
=
value
.
ToString
();
}
}
}
}
}
source/DeviceLibrary/deviceLibrary/IO/AIOBOX/AIOBOXManager.cs
查看文件 @
4037dcd
...
@@ -128,7 +128,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -128,7 +128,8 @@ namespace OnlineStore.DeviceLibrary
aioBox
.
SetInput
(
Asa
.
IOModule
.
Box_Type
.
DI
,
DILength
);
aioBox
.
SetInput
(
Asa
.
IOModule
.
Box_Type
.
DI
,
DILength
);
aioBox
.
SetOutput
(
Asa
.
IOModule
.
Box_Type
.
DO
,
DOLength
);
aioBox
.
SetOutput
(
Asa
.
IOModule
.
Box_Type
.
DO
,
DOLength
);
aioBox
.
AutoReadInput
(
true
,
DIMS
);
//DI主动上传
aioBox
.
AutoReadInput
(
true
);
aioBox
.
AutoReadOutput
(
true
,
DOMS
);
aioBox
.
AutoReadOutput
(
true
,
DOMS
);
aioBox
.
LogOut
=
true
;
aioBox
.
LogOut
=
true
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论