16 /*****************************************************************************/ |
16 /*****************************************************************************/ |
17 |
17 |
18 const ec_sync_t mailbox_sm0 = {0x1800, 246, 0x26, {NULL}}; |
18 const ec_sync_t mailbox_sm0 = {0x1800, 246, 0x26, {NULL}}; |
19 const ec_sync_t mailbox_sm1 = {0x18F6, 246, 0x22, {NULL}}; |
19 const ec_sync_t mailbox_sm1 = {0x18F6, 246, 0x22, {NULL}}; |
20 |
20 |
21 /*****************************************************************************/ |
21 /****************************************************************************** |
22 |
22 * slave objects |
23 /* Klemmen-Objekte */ |
23 *****************************************************************************/ |
24 |
|
25 /*****************************************************************************/ |
|
26 |
24 |
27 const ec_slave_type_t Beckhoff_EK1100 = { |
25 const ec_slave_type_t Beckhoff_EK1100 = { |
28 "Beckhoff", "EK1100", "Bus Coupler", EC_TYPE_BUS_COUPLER, |
26 "Beckhoff", "EK1100", "Bus Coupler", EC_TYPE_BUS_COUPLER, |
29 {NULL} // Keine Sync-Manager |
27 {NULL} // no sync managers |
30 }; |
28 }; |
31 |
29 |
32 /*****************************************************************************/ |
30 /*****************************************************************************/ |
33 |
31 |
34 const ec_slave_type_t Beckhoff_EK1110 = { |
32 const ec_slave_type_t Beckhoff_EK1110 = { |
35 "Beckhoff", "EK1110", "Extension terminal", EC_TYPE_NORMAL, |
33 "Beckhoff", "EK1110", "Extension terminal", EC_TYPE_NORMAL, |
36 {NULL} // Keine Sync-Manager |
34 {NULL} // no sync managers |
37 }; |
35 }; |
38 |
36 |
39 /*****************************************************************************/ |
37 /*****************************************************************************/ |
40 |
38 |
41 const ec_slave_type_t Beckhoff_BK1120 = { |
39 const ec_slave_type_t Beckhoff_BK1120 = { |
42 "Beckhoff", "BK1120", "KBUS Coupler", EC_TYPE_NORMAL, |
40 "Beckhoff", "BK1120", "KBUS Coupler", EC_TYPE_NORMAL, |
43 {NULL} // Keine Sync-Manager |
41 {NULL} // no sync managers |
44 }; |
42 }; |
45 |
43 |
46 /*****************************************************************************/ |
44 /*****************************************************************************/ |
47 |
45 |
48 const ec_field_t el1014_in = {"InputValue", 1}; |
46 const ec_field_t el1014_in = {"InputValue", 1}; |
49 |
47 |
50 const ec_sync_t el1014_sm0 = { // Inputs |
48 const ec_sync_t el1014_sm0 = { // inputs |
51 0x1000, 1, 0x00, |
49 0x1000, 1, 0x00, |
52 {&el1014_in, NULL} |
50 {&el1014_in, NULL} |
53 }; |
51 }; |
54 |
52 |
55 const ec_slave_type_t Beckhoff_EL1014 = { |
53 const ec_slave_type_t Beckhoff_EL1014 = { |
193 }; |
191 }; |
194 |
192 |
195 /*****************************************************************************/ |
193 /*****************************************************************************/ |
196 |
194 |
197 /** |
195 /** |
198 Beziehung zwischen Identifikationsnummern und Klemmen-Objekt. |
196 Mapping between vendor IDs and product codes <=> slave objects. |
199 |
|
200 Diese Tabelle stellt die Beziehungen zwischen bestimmten Kombinationen |
|
201 aus Vendor-IDs und Product-Codes und der entsprechenden Klemme her. |
|
202 Neue Klemmen müssen hier eingetragen werden. |
|
203 */ |
197 */ |
204 |
198 |
205 ec_slave_ident_t slave_idents[] = |
199 ec_slave_ident_t slave_idents[] = { |
206 { |
|
207 {0x00000002, 0x03F63052, &Beckhoff_EL1014}, |
200 {0x00000002, 0x03F63052, &Beckhoff_EL1014}, |
208 {0x00000002, 0x044C2C52, &Beckhoff_EK1100}, |
201 {0x00000002, 0x044C2C52, &Beckhoff_EK1100}, |
209 {0x00000002, 0x04562C52, &Beckhoff_EK1110}, |
202 {0x00000002, 0x04562C52, &Beckhoff_EK1110}, |
210 //{0x00000002, 0x04602C22, &Beckhoff_BK1120}, |
203 //{0x00000002, 0x04602C22, &Beckhoff_BK1120}, |
211 {0x00000002, 0x07D43052, &Beckhoff_EL2004}, |
204 {0x00000002, 0x07D43052, &Beckhoff_EL2004}, |