You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

EtherCAT State Machine  

The EtherCAT State Machine (ESM) is required on all EtherCAT devices. The ESM in general

  • defines 5 communication states of the slave device
    • Init, Pre-Operational, Safe-Operational, Operational
    • Bootstrap is an optional state for firmware upload
  • specifies initialization and error handling of the slave device
  • identifies the current communication relationship between the master and slave device
    • requested and current state are accessed through the AL Control and AL Status registers

The ESM states can be transitioned as shown

Init State

  • No communication to the application layer is allowed
  • master only has communication to the data link registers (slave device eeprom, addressing, etc)

Pre-Operational State

  • Mailbox (SDO) communication to the application layer is available
  • No Process Data (PDO) communication.
  • PDO register mapping should be completed. Transition to Safe-Operation will configure mapping.

Safe-Operational State

  • Mailbox (SDO) communication to the application layer is available
  • Slave output (tx) Process Data (PDO) communication is evaluated

Operational State

  • All communication is commenced and valid

PDO Mappings 

The Cool Muscle EtherCAT slave uses dynamic switching between modes and as such there is a single fixed PDO configuration.

RxPDO

The RxPDO is the PDO received by the motor/slave device

ObjectNameUnitsApplicable Modes of OperationDescription
0x6040Controlword-AllThe Controlword is used to control the state of the mode of operation.
0x607ATarget positionpulsesCSPSet the target position of the motor
0x60FFTarget speedpulses/msCSV, PVSet the target speed of the motor
0x60FEDigital outputs-AllSet the state of the digital outputs
0x6060Modes of operation-AllSet the required mode of operation

TxPDO

The TxPDO is the PDO transmitted by the motor/slave device

ObjectNameUnitsApplicable Modes of OperationDescription
0x6041

Statusword

-AllThe Statusword describes the current state of the mode of operation.
0x6064Position Actual ValuepulsesAllThe value of the motor's actual position
0x606CSpeed Actual Valuepulses/msAllThe value of the motor's actual speed
0x6077Torque Actual Value% rated torqueAllThe value of the motor's actual peak torque
0x60FDDigital Inputs-AllDigital inputs status
0x603FError-AllThe actual error code currently active.
0x2301Temperature°cAllThe actual motor temperature in °c.
0x6079DC Voltage0.1VDCAllThe actual DC 24V DC bus voltage
0x6061Modes of operation display-AllThe mode of operation currently running.
  • No labels