Motion Master
Loading...
Searching...
No Matches
Classes | Macros | Variables
soem_slave.h File Reference
#include <ethercat.h>
#include <chrono>
#include <map>
#include <mutex>
#include "ethercat_slave.h"
#include "motion_master_error.h"
#include "soem_od_entry.h"
Include dependency graph for soem_slave.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SoemSlave
 

Macros

#define OTYPE_VAR   0x0007
 
#define OTYPE_ARRAY   0x0008
 
#define OTYPE_RECORD   0x0009
 

Variables

const std::map< uint16_t, std::vector< uint32_t > > rxpdos_static_map
 
const std::map< uint16_t, std::vector< uint32_t > > txpdos_static_map
 

Macro Definition Documentation

◆ OTYPE_ARRAY

#define OTYPE_ARRAY   0x0008

◆ OTYPE_RECORD

#define OTYPE_RECORD   0x0009

◆ OTYPE_VAR

#define OTYPE_VAR   0x0007

Variable Documentation

◆ rxpdos_static_map

const std::map<uint16_t, std::vector<uint32_t> > rxpdos_static_map
Initial value:
= {
{0x1600,
{
0x60400010,
0x60600008,
0x60710010,
0x607a0020,
0x60ff0020,
0x60b20010,
0x27010020,
}},
{0x1601,
{
0x60fe0120,
0x60fe0220,
}},
{0x1602,
{
0x27030020,
0x60b10020,
}}}

◆ txpdos_static_map

const std::map<uint16_t, std::vector<uint32_t> > txpdos_static_map
Initial value:
= {
{0x1A00,
{
0x60410010,
0x60610008,
0x60640020,
0x606c0020,
0x60770010,
0x60F40020,
}},
{0x1A01,
{
0x24010010,
0x24020010,
0x24030010,
0x24040010,
0x27020020,
}},
{0x1A02, {0x60fd0020}},
{0x1A03,
{
0x27040020,
0x20f00020,
0x60fc0020,
0x606b0020,
0x60740010,
}}}