MoveStep.cs
1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeviceLibrary
{
public enum MoveStep
{
Wait,
H01_HomeReset,
H02_HomeReset,
H03_HomeReset,
H04_HomeReset,
H05_HomeReset,
H06_HomeReset,
H07_HomeReset,
HEND_HomeReset,
R01,
R02,
R03,
R04,
R05,
R06,
R07,
R08,
R10_WaitReelLeave,
R11_NextReel,
R12_ShelfNoTray,
R20,
R21,
REND,
L01,
L02,
L03,
L04,
L10_WaitReelPut,
L11_ReelPutted,
L12,
L13,
L20_WaitLabel,
L21,
L30_LabelFinish,
L40_ShelfFull,
LEND,
M01,
M02,
M03,
M04,
M05,
M06,
M07,
M_ReturnToP1,
M08,
M20_ToNgBox,
M21,
M22,
M23,
M24,
MEND,
Lbl_StartPrint,
Lbl_WaitPrint,
Lbl_Printted,
Lbl01,
Lbl02,
Lbl03,
Lbl04,
Lbl05,
Lbl10,
Lbl11,
Lbl12,
Lbl13,
Lbl14,
}
public enum AlarmType
{
/// <summary>
/// 没有报警
/// </summary>
None = 0,
/// <summary>
/// 轴报警
/// </summary>
AxisAlarm = 1,
/// <summary>
/// 收到急停
/// </summary>
SuddenStop = 10,
/// <summary>
/// 没有气压信号
/// </summary>
NoAirCheck = 11,
/// <summary>
/// 轴运动错误,没有达到指定脉冲,但是io判断已停止运动
/// </summary>
AxisMoveError = 20,
/// <summary>
/// io信号超时未收到
/// </summary>
IoSingleTimeOut = 30,
}
}