EtherCAT Master instance. More...
#include <ethercat_master.h>
Public Member Functions | |
| EtherCAT_Master (EtherCAT_AL *_m_al_instance, EtherCAT_Router *_m_router_instance, EtherCAT_PD_Buffer *_m_pdbuf_instance, EC_Logic *_m_logic_instance, EtherCAT_DataLinkLayer *_m_dll_instance) | |
| EtherCAT_SlaveHandler * | get_slave_handler (EC_FixedStationAddress address) |
| Get Slave Handler. | |
| bool | txandrx_PD (size_t datalen, unsigned char *data) |
| Send Process data. | |
Private Attributes | |
| EtherCAT_AL * | m_al_instance |
| Pointer to m_AL_instance. | |
| EtherCAT_DataLinkLayer * | m_dll_instance |
| Pointer to DLL instance. | |
| EC_Logic * | m_logic_instance |
| Pointer to logic instance. | |
| EtherCAT_PD_Buffer * | m_pdbuf_instance |
| Pointer to process data buffer instance. | |
| EtherCAT_Router * | m_router_instance |
| Pointer to router instance. | |
EtherCAT Master instance.
Definition at line 52 of file ethercat_master.h.
| EtherCAT_Master::EtherCAT_Master | ( | EtherCAT_AL * | _m_al_instance, |
| EtherCAT_Router * | _m_router_instance, | ||
| EtherCAT_PD_Buffer * | _m_pdbuf_instance, | ||
| EC_Logic * | _m_logic_instance, | ||
| EtherCAT_DataLinkLayer * | _m_dll_instance | ||
| ) | [inline] |
Definition at line 55 of file ethercat_master.h.
Get Slave Handler.
| bool EtherCAT_Master::txandrx_PD | ( | size_t | datalen, |
| unsigned char * | data | ||
| ) |
Send Process data.
| datalen | number of bytes that should be set |
| data | pointer to data array. Data is read, transmitted, and (if the operation succeeded) the received data is put in the data array. This happens synchronously with the method call. |
EtherCAT_AL* EtherCAT_Master::m_al_instance [private] |
Pointer to m_AL_instance.
Definition at line 90 of file ethercat_master.h.
Pointer to DLL instance.
Definition at line 99 of file ethercat_master.h.
EC_Logic* EtherCAT_Master::m_logic_instance [private] |
Pointer to logic instance.
Definition at line 97 of file ethercat_master.h.
Pointer to process data buffer instance.
Definition at line 94 of file ethercat_master.h.
Pointer to router instance.
Definition at line 92 of file ethercat_master.h.