628
|
1 |
global Mapping, AddMenuEntries
|
|
2 |
|
|
3 |
"""
|
|
4 |
MappingDictionary for DS-402
|
|
5 |
"""
|
|
6 |
|
|
7 |
Mapping = {
|
|
8 |
|
|
9 |
0x6040 : {"name" : "Controlword", "struct" : var, "need" : False, "values" :
|
|
10 |
[{"name" : "Controlword", "type" : 0x06, "access" : 'rw', "pdo" : True}]},
|
|
11 |
|
|
12 |
0x6041 : {"name" : "Statusword", "struct" : var, "need" : False, "values" :
|
|
13 |
[{"name" : "Statusword", "type" : 0x06, "access" : 'ro', "pdo" : True}]},
|
|
14 |
|
|
15 |
0x6060 : {"name" : "Modes of operation", "struct" : var, "need" : False, "values" :
|
|
16 |
[{"name" : "Modes of operation", "type" : 0x02, "access" : 'rw', "pdo" : True}]},
|
|
17 |
|
|
18 |
0x6061 : {"name" : "Modes of operation display", "struct" : var, "need" : False, "values" :
|
|
19 |
[{"name" : "Modes of operation display", "type" : 0x02, "access" : 'ro', "pdo" : True}]},
|
|
20 |
|
|
21 |
0x6062 : {"name" : "Position demannd value", "struct" : var, "need" : False, "values" :
|
|
22 |
[{"name" : "Position demannd value", "type" : 0x04, "access" : 'ro', "pdo" : True}]},
|
|
23 |
|
|
24 |
0x6064 : {"name" : "Position actual value", "struct" : var, "need" : False, "values" :
|
|
25 |
[{"name" : "Position actual value", "type" : 0x04, "access" : 'ro', "pdo" : True}]},
|
|
26 |
|
|
27 |
0x6065 : {"name" : "Maximal following error", "struct" : var, "need" : False, "values" :
|
|
28 |
[{"name" : "Maximal following error", "type" : 0x07, "access" : 'rw', "pdo" : True}]},
|
|
29 |
|
|
30 |
0x6067 : {"name" : "Position window", "struct" : var, "need" : False, "values" :
|
|
31 |
[{"name" : "Position window", "type" : 0x07, "access" : 'rw', "pdo" : False}]},
|
|
32 |
|
|
33 |
0x6068 : {"name" : "Position window time", "struct" : var, "need" : False, "values" :
|
|
34 |
[{"name" : "Position window time", "type" : 0x06, "access" : 'rw', "pdo" : False}]},
|
|
35 |
|
|
36 |
0x6069 : {"name" : "Velocity sensor actual value", "struct" : var, "need" : False, "values" :
|
|
37 |
[{"name" : "Velocity sensor actual value", "type" : 0x04, "access" : 'ro', "pdo" : True}]},
|
|
38 |
|
|
39 |
0x606B : {"name" : "Velocity demand value", "struct" : var, "need" : False, "values" :
|
|
40 |
[{"name" : "Velocity demand value", "type" : 0x04, "access" : 'ro', "pdo" : True}]},
|
|
41 |
|
|
42 |
0x606C : {"name" : "Velocity actual value", "struct" : var, "need" : False, "values" :
|
|
43 |
[{"name" : "Velocity actual value", "type" : 0x04, "access" : 'ro', "pdo" : True}]},
|
|
44 |
|
|
45 |
0x6078 : {"name" : "Current actual value", "struct" : var, "need" : False, "values" :
|
|
46 |
[{"name" : "Current actual value", "type" : 0x03, "access" : 'ro', "pdo" : True}]},
|
|
47 |
|
|
48 |
0x607A : {"name" : "Target position", "struct" : var, "need" : False, "values" :
|
|
49 |
[{"name" : "Target position", "type" : 0x04, "access" : 'rw', "pdo" : True}]},
|
|
50 |
|
|
51 |
0x607C : {"name" : "Home offset", "struct" : var, "need" : False, "values" :
|
|
52 |
[{"name" : "Home offset", "type" : 0x04, "access" : 'rw', "pdo" : True}]},
|
|
53 |
|
|
54 |
0x607D : {"name" : "Software position limit", "struct" : array, "need" : False, "values" :
|
|
55 |
[{"name" : "Number of entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
|
|
56 |
{"name" : "Minimal position limit", "type" : 0x04, "access" : 'rw', "pdo" : False},
|
|
57 |
{"name" : "Maximal position limit", "type" : 0x04, "access" : 'rw', "pdo" : False}]},
|
|
58 |
|
|
59 |
0x607F : {"name" : "Maximal profile velocity", "struct" : var, "need" : False, "values" :
|
|
60 |
[{"name" : "Maximal profile velocity", "type" : 0x07, "access" : 'rw', "pdo" : False}]},
|
|
61 |
|
|
62 |
0x6081 : {"name" : "Profile velocity", "struct" : var, "need" : False, "values" :
|
|
63 |
[{"name" : "Profile velocity", "type" : 0x07, "access" : 'rw', "pdo" : True}]},
|
|
64 |
|
|
65 |
0x6083 : {"name" : "Profile acceleration", "struct" : var, "need" : False, "values" :
|
|
66 |
[{"name" : "Profile acceleration", "type" : 0x07, "access" : 'rw', "pdo" : True}]},
|
|
67 |
|
|
68 |
0x6084 : {"name" : "Profile deceleration", "struct" : var, "need" : False, "values" :
|
|
69 |
[{"name" : "Profile deceleration", "type" : 0x07, "access" : 'rw', "pdo" : True}]},
|
|
70 |
|
|
71 |
0x6085 : {"name" : "Quick stop deceleration", "struct" : var, "need" : False, "values" :
|
|
72 |
[{"name" : "Quick stop deceleration", "type" : 0x07, "access" : 'rw', "pdo" : True}]},
|
|
73 |
|
|
74 |
0x6086 : {"name" : "Motion profile type", "struct" : var, "need" : False, "values" :
|
|
75 |
[{"name" : "Motion profile type", "type" : 0x03, "access" : 'rw', "pdo" : True}]},
|
|
76 |
|
|
77 |
0x6089 : {"name" : "Position notation index", "struct" : var, "need" : False, "values" :
|
|
78 |
[{"name" : "Position notation index", "type" : 0x02, "access" : 'rw', "pdo" : False}]},
|
|
79 |
|
|
80 |
0x608A : {"name" : "Position dimention index", "struct" : var, "need" : False, "values" :
|
|
81 |
[{"name" : "Position dimention index", "type" : 0x08, "access" : 'rw', "pdo" : False}]},
|
|
82 |
|
|
83 |
0x608B : {"name" : "Velocity notation index", "struct" : var, "need" : False, "values" :
|
|
84 |
[{"name" : "Velocity notation index", "type" : 0x02, "access" : 'rw', "pdo" : False}]},
|
|
85 |
|
|
86 |
0x608C : {"name" : "Velocity dimention index", "struct" : var, "need" : False, "values" :
|
|
87 |
[{"name" : "Velocity dimention index", "type" : 0x08, "access" : 'rw', "pdo" : False}]},
|
|
88 |
|
|
89 |
0x608D : {"name" : "Acceleraion notation index", "struct" : var, "need" : False, "values" :
|
|
90 |
[{"name" : "Acceleraion notation index", "type" : 0x02, "access" : 'rw', "pdo" : False}]},
|
|
91 |
|
|
92 |
0x608E : {"name" : "Acceleraion dimention index", "struct" : var, "need" : False, "values" :
|
|
93 |
[{"name" : "Acceleraion dimention index", "type" : 0x08, "access" : 'rw', "pdo" : False}]},
|
|
94 |
|
|
95 |
0x6098 : {"name" : "Homing method", "struct" : var, "need" : False, "values" :
|
|
96 |
[{"name" : "Homing method", "type" : 0x02, "access" : 'rw', "pdo" : True}]},
|
|
97 |
|
|
98 |
0x6099 : {"name" : "Homing speeds", "struct" : array, "need" : False, "values" :
|
|
99 |
[{"name" : "Number of entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
|
|
100 |
{"name" : "Speed for switch search", "type" : 0x07, "access" : 'rw', "pdo" : True},
|
|
101 |
{"name" : "Speed for zero search", "type" : 0x07, "access" : 'rw', "pdo" : True}]},
|
|
102 |
|
|
103 |
0x609A : {"name" : "Homing acceleration", "struct" : var, "need" : False, "values" :
|
|
104 |
[{"name" : "Homing acceleration", "type" : 0x07, "access" : 'rw', "pdo" : True}]},
|
|
105 |
|
|
106 |
0x60F6 : {"name" : "Current control parameter set", "struct" : array, "need" : False, "values" :
|
|
107 |
[{"name" : "Number of entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
|
|
108 |
{"name" : "Current regulator P-gain", "type" : 0x03, "access" : 'rw', "pdo" : True},
|
|
109 |
{"name" : "Current regulator I-gain", "type" : 0x03, "access" : 'rw', "pdo" : True}]},
|
|
110 |
|
|
111 |
0x60F9 : {"name" : "Velocity control parameter set", "struct" : array, "need" : False, "values" :
|
|
112 |
[{"name" : "Number of entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
|
|
113 |
{"name" : "Velocity regulator P-gain", "type" : 0x03, "access" : 'rw', "pdo" : True},
|
|
114 |
{"name" : "Velocity regulator I-gain", "type" : 0x03, "access" : 'rw', "pdo" : True}]},
|
|
115 |
|
|
116 |
0x60FB : {"name" : "Position control parameter set", "struct" : array, "need" : False, "values" :
|
|
117 |
[{"name" : "Number of entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
|
|
118 |
{"name" : "Position regulator P-gain", "type" : 0x03, "access" : 'rw', "pdo" : True},
|
|
119 |
{"name" : "Position regulator I-gain", "type" : 0x03, "access" : 'rw', "pdo" : True},
|
|
120 |
{"name" : "Position regulator D-gain", "type" : 0x03, "access" : 'rw', "pdo" : True},
|
|
121 |
{"name" : "Velocity feed forward factor", "type" : 0x06, "access" : 'rw', "pdo" : True},
|
|
122 |
{"name" : "Acceleration feed forward factor", "type" : 0x06, "access" : 'rw', "pdo" : True}]},
|
|
123 |
|
|
124 |
0x60FF : {"name" : "Target velocity", "struct" : var, "need" : False, "values" :
|
|
125 |
[{"name" : "Target velocity", "type" : 0x04, "access" : 'rw', "pdo" : True}]},
|
|
126 |
|
|
127 |
0x6402 : {"name" : "Motor type", "struct" : var, "need" : False, "values" :
|
|
128 |
[{"name" : "Motor type", "type" : 0x06, "access" : 'rw', "pdo" : False}]},
|
|
129 |
|
|
130 |
0x6410 : {"name" : "Motor data", "struct" : array, "need" : False, "values" :
|
|
131 |
[{"name" : "Number of entries", "type" : 0x05, "access" : 'ro', "pdo" : False},
|
|
132 |
{"name" : "Continous current limit", "type" : 0x06, "access" : 'rw', "pdo" : True},
|
|
133 |
{"name" : "Output current limit", "type" : 0x06, "access" : 'rw', "pdo" : True},
|
|
134 |
{"name" : "Pole pair number", "type" : 0x05, "access" : 'rw', "pdo" : False},
|
|
135 |
{"name" : "Maximal speed in current mode", "type" : 0x06, "access" : 'rw', "pdo" : True},
|
|
136 |
{"name" : "Thermal time constant winding", "type" : 0x06, "access" : 'rw', "pdo" : False}]},
|
|
137 |
|
|
138 |
0x6502 : {"name" : "Supported drive modes", "struct" : var, "need" : False, "values" :
|
|
139 |
[{"name" : "Supported drive modes", "type" : 0x07, "access" : 'ro', "pdo" : False}]},
|
|
140 |
|
|
141 |
}
|
|
142 |
|
|
143 |
AddMenuEntries = [] |