Robot_Config.cs
4.4 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
117
118
119
120
121
122
using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace OnlineStore.LoadCSVLibrary
{
public class Robot_Config : DeviceConfig
{
public Robot_Config()
: base()
{
}
public Robot_Config(int id, string type, string filepath)
: base(id, type, filepath)
{
}
/// <summary>
/// AXIS,,取料机构前后轴,X_Axis,0,HC,,40000,0,0,0,20000,0,10,700,0,0
/// </summary>
[ConfigProAttribute("X_Axis")]
public ConfigMoveAxis X_Axis { get; set; }
/// <summary>
/// AXIS,,取料机构左右轴,Y_Axis,1,HC,,60000,0,0,0,10000,0,10,700,0,0
/// </summary>
[ConfigProAttribute("Y_Axis")]
public ConfigMoveAxis Y_Axis { get; set; }
/// <summary>
/// AXIS,,取料机构升降轴,Z_Axis,2,HC,,20000,0,0,0,40000,0,10,700,0,0
/// </summary>
[ConfigProAttribute("Z_Axis")]
public ConfigMoveAxis Z_Axis { get; set; }
/// <summary>
/// AXIS,,旋转定位电机,Rotate_Axis,3,HC,,100000,0,0,0,40000,0,10,700,0,0
/// </summary>
[ConfigProAttribute("Rotate_Axis")]
public ConfigMoveAxis Rotate_Axis { get; set; }
/// <summary>
/// AXIS,,翻转电机,Flip_Axis,4,HC,,40000,0,0,0,20000,0,10,700,0,0
/// </summary>
[ConfigProAttribute("Flip_Axis")]
public ConfigMoveAxis Flip_Axis { get; set; }
/// <summary>
/// PRO,50,IO信号超时时间(秒),IOSingle_TimerOut,15,,,,,,,,,,,,
/// </summary>
[ConfigProAttribute("IOSingle_TimerOut")]
public int IOSingle_TimerOut { get; set; }
/// <summary>
/// PRO,0,气压检测超时,AirCheckSeconds,5,,,,,,,,,,,,
/// </summary>
[ConfigProAttribute("AirCheckSeconds")]
public int AirCheckSeconds { get; set; }
/// <summary>
/// PRO,10,取料机构前后轴待机点,X_Axis_P1,0,,,50000,,,,,,,,,
/// </summary>
[ConfigProAttribute("X_Axis_P1")]
public int X_Axis_P1 { get; set; }
/// <summary>
/// PRO,10,取料机构前后轴激光检测点差值,X_Axis_Lcheck_Offset,168460,,,,,,,,,,,,
/// </summary>
[ConfigProAttribute("X_Axis_Lcheck_Offset")]
public int X_Axis_Lcheck_Offset { get; set; }
/// <summary>
/// PRO,101,取料机构左右轴待机点P1,Y_Axis_P1,168460,,,50000,,,,,,,,,
/// </summary>
[ConfigProAttribute("Y_Axis_P1")]
public int Y_Axis_P1 { get; set; }
/// <summary>
/// PRO,102,取料机构升降轴待机点P1,Z_Axis_P1,168460,,,50000,,,,,,,,,
/// </summary>
[ConfigProAttribute("Z_Axis_P1")]
public int Z_Axis_P1 { get; set; }
/// <summary>
/// PRO,13,旋转电机45度行程,Rotate_Axis_Length,99999,,,99999,,,,,,,,,
/// </summary>
[ConfigProAttribute("Rotate_Axis_Length")]
public int Rotate_Axis_Length { get; set; }
/// <summary>
/// PRO,14,翻转电机行程,Flip_Axis_Length,99999,,,99999,,,,,,,,,
/// </summary>
[ConfigProAttribute("Flip_Axis_Length")]
public int Flip_Axis_Length { get; set; }
/// <summary>
/// PRO,10,取料机构前后轴待机点,X_Axis_P1,0,,,50000,,,,,,,,,
/// </summary>
[ConfigProAttribute("X_Axis_P1_speed")]
public int X_Axis_P1_speed { get; set; }
/// <summary>
/// PRO,101,取料机构左右轴待机点P1,Y_Axis_P1,168460,,,50000,,,,,,,,,
/// </summary>
[ConfigProAttribute("Y_Axis_P1_speed")]
public int Y_Axis_P1_speed { get; set; }
/// <summary>
/// PRO,102,取料机构升降轴待机点P1,Z_Axis_P1,168460,,,50000,,,,,,,,,
/// </summary>
[ConfigProAttribute("Z_Axis_P1_speed")]
public int Z_Axis_P1_speed { get; set; }
/// <summary>
/// PRO,13,旋转电机45度行程,Rotate_Axis_Length,99999,,,99999,,,,,,,,,
/// </summary>
[ConfigProAttribute("Rotate_Axis_Length_speed")]
public int Rotate_Axis_Length_speed { get; set; }
/// <summary>
/// PRO,14,翻转电机行程,Flip_Axis_Length,99999,,,99999,,,,,,,,,
/// </summary>
[ConfigProAttribute("Flip_Axis_Length_speed")]
public int Flip_Axis_Length_speed { get; set; }
}
}