MoveStep.cs
2.1 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
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,
Feeding_01_Wait_Detect,
Feeding_02_Take_Picture,
Feeding_03_Get_Reelinfo,
Feeding_04_Wait_Xray_Free,
Feeding_05_Wait_Man_Check,
Feeding_06_Goto_Xray,
Feeding_10_Wait_Reset,
XRay_01_LocationDown,
XRay_02_RunIn,
XRay_03_CloseDoor,
XRay_04_OpenXray,
XRay_04_CheckXray,
XRay_05_GetImage,
XRay_06_WaitMatchPN,
XRay_06_WaitMatchPN2,
XRay_07_TryAgain,
XRay_08_OpenOutDoor,
XRay_09_SentToLabelStop,
XRay_10_CloseOutDoor,
XRay_11_GetCoutResult,
XRay_Extra_01,
XRay_Extra_02,
XRay_Extra_03,
XRay_Extra_04,
XRay_End,
SideMove_01,
SideMove_02,
SideMove_03,
SideMove_04,
SideMove_05,
SideMove_06,
SideMove_07,
SideMove_08,
SideMove_09,
SideMove_10,
SideMove_11,
SideMove_12,
SideMove_13,
SideMove_14,
}
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,
}
}