Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
EC_ESM_Ops Class Reference

EtherCAT State Machine Operations. More...

#include <ethercat_FSM.h>

Inheritance diagram for EC_ESM_Ops:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void setRouter (EtherCAT_Router *_router)

Public Attributes

EC_Logicm_logic_instance
EtherCAT_Routerm_router_instance

Protected Member Functions

 EC_ESM_Ops (EtherCAT_SlaveHandler *a_SH, EtherCAT_DataLinkLayer *_m_dll_instance, EC_Logic *_m_logic_instance, EtherCAT_PD_Buffer *_m_pdbuf_instance)
 Constructor.
bool set_state (EC_State a_state)
 Change state of Slave.
bool start_input_update ()
 Start Input update.
bool start_mbx_comm ()
 Start MBX communication.
bool start_output_update ()
 Start Output update.
bool stop_input_update ()
 Stop Input update.
bool stop_mbx_comm ()
 Stop MBX communication.
bool stop_output_update ()
 Stop Output update.

Protected Attributes

EtherCAT_DataLinkLayerm_dll_instance
EtherCAT_PD_Bufferm_pdbuf_instance
EtherCAT_SlaveHandlerm_SH

Detailed Description

EtherCAT State Machine Operations.

Definition at line 54 of file ethercat_FSM.h.


Constructor & Destructor Documentation

EC_ESM_Ops::EC_ESM_Ops ( EtherCAT_SlaveHandler a_SH,
EtherCAT_DataLinkLayer _m_dll_instance,
EC_Logic _m_logic_instance,
EtherCAT_PD_Buffer _m_pdbuf_instance 
) [protected]

Constructor.

Parameters:
a_SHpointer to slave handler

Member Function Documentation

bool EC_ESM_Ops::set_state ( EC_State  a_state) [protected]

Change state of Slave.

Returns:
true if succeeded
Precondition:
The station address of the slave is set (this function uses npwr telegrams!
bool EC_ESM_Ops::start_input_update ( ) [protected]

Start Input update.

bool EC_ESM_Ops::start_mbx_comm ( ) [protected]

Start MBX communication.

bool EC_ESM_Ops::start_output_update ( ) [protected]

Start Output update.

bool EC_ESM_Ops::stop_input_update ( ) [protected]

Stop Input update.

bool EC_ESM_Ops::stop_mbx_comm ( ) [protected]

Stop MBX communication.

bool EC_ESM_Ops::stop_output_update ( ) [protected]

Stop Output update.


Member Data Documentation

Definition at line 83 of file ethercat_FSM.h.

Definition at line 58 of file ethercat_FSM.h.

Definition at line 86 of file ethercat_FSM.h.

Definition at line 59 of file ethercat_FSM.h.

Definition at line 84 of file ethercat_FSM.h.


The documentation for this class was generated from the following file:


ros_ethercat_eml
Author(s): Tom Panis, Klaas Gadeyne, Bob Koninckx, Austin Hendrix, Manos Nikolaidis
autogenerated on Thu Jul 4 2019 20:01:50