![Festo CMMP-AS-***-M0 Series Скачать руководство пользователя страница 68](http://html1.mh-extra.com/html/festo/cmmp-as-m0-series/cmmp-as-m0-series_manual_2283119068.webp)
4
EtherCAT interface
68
Festo – GDCP-CMMP-M3/-M0-C-CO-EN – 1510b – English
4.10
Error Control
The EtherCAT CoE implementation for the motor controller CMMP-AS-...-M3 monitors the following
error statuses of the EtherCAT fieldbus:
–
FPGA is not ready when the system is started.
–
A bus error has occurred.
–
An error has occurred on the mailbox channel. The following errors are monitored in this case:
–
An unknown service is requested.
–
A protocol other than CANopen over EtherCAT (CoE) is to be used.
–
An unknown Sync Manager is addressed.
All of these errors are defined as corresponding error codes for the motor controller CMMP-AS-...-M3. If
one of the above-mentioned errors occurs, it is transmitted to the controller via a “Standard Emergency
Frame”. See also Chapter 4.11 “Emergency Frame” and Chapter B “ Diagnostic messages”.
The CMMP‐AS‐...‐M3/-M0 motor controller with the EtherCAT interface supports the following function:
–
Application Controller determines a defined error message number as a result of an event
(Error Control Frame telegram from the controller).
4.11
Emergency Frame
The master and slaves exchange error messages via the EtherCAT CoE emergency frame. The CoE emer
gency frames are used for direct transfer of the “Emergency Messages” defined under CANopen. The
CANopen telegrams are simply tunnelled through the CoE emergency frames, as is the case for SDO
and PDO transmission.
6 bytes
2 bytes
1 byte
2 bytes
5 bytes
1...n bytes
Mandatory Header
Standard CANopen Emergency Frame
Optional
Mailbox Header
CoE Header
Error Code
Error Register
Data
Data
Fig. 4.7
Emergency Frame: telegram structure
Element
Description
Mailbox Header
Data for mailbox communication (length, address and type)
CoE Header
Identifier of the CoE service
ErrorCode
Error Code of the CANopen EMERGENCY Message
Error Register
Error Register of the CANopen EMERGENCY Message
Data
Data content of the CANopen EMERGENCY Message
Data (optional)
Additional optional data. As only the standard CANopen emergency frames are
supported in the CoE implementation for the motor controller CMMP-AS-...-M3,
the “Data (optional)” field is not supported.
Tab. 4.14 Emergency Frame: elements
As the “Emergency Messages” received and sent via CoE are simply forwarded to the CANopen protocol
implemented in the motor controller, all error messages can be looked up in the chapter B.