Motion Master
Loading...
Searching...
No Matches
oblac_drives_pdo_mapping.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef LINUX_BUILD
4
5#include <ecrt.h>
6
7#include <map>
8#include <vector>
9
10namespace oblac_drives_pdo_mapping {
11std::map<uint16_t, std::vector<ec_pdo_entry_info_t>> rx_pdo_map = {
12 {0x1600,
13 {{0x6040, 0, 16},
14 {0x6060, 0, 8},
15 {0x6071, 0, 16},
16 {0x607a, 0, 32},
17 {0x60ff, 0, 32},
18 {0x60b2, 0, 16},
19 {0x2701, 0, 32}}},
20 {0x1601, {{0x60fe, 1, 32}, {0x60fe, 2, 32}}},
21 {0x1602, {{0x2703, 0, 32}, {0x60b1, 0, 32}}}};
22
23std::map<uint16_t, std::vector<ec_pdo_entry_info_t>> tx_pdo_map = {
24 {0x1A00,
25 {{0x6041, 0, 16},
26 {0x6061, 0, 8},
27 {0x6064, 0, 32},
28 {0x606c, 0, 32},
29 {0x6077, 0, 16},
30 {0x60F4, 0, 32}}},
31 {0x1A01,
32 {{0x2401, 0, 16},
33 {0x2402, 0, 16},
34 {0x2403, 0, 16},
35 {0x2404, 0, 16},
36 {0x2702, 0, 32}}},
37 {0x1A02, {{0x60fd, 0, 32}}},
38 {0x1A03,
39 {{0x2704, 0, 32},
40 {0x20f0, 0, 32},
41 {0x60fc, 0, 32},
42 {0x606b, 0, 32},
43 {0x6074, 0, 16}}}};
44} // namespace oblac_drives_pdo_mapping
45
46#endif