EtherCAT Get Emergency
Libraries:
Simulink Real-Time /
EtherCAT
Description
The EtherCAT Get Emergency block collects emergency messages from EtherCAT® devices and presents the messages as output in the model. Optionally, the block can log the condition to the Target Computer Status Monitor. The outputs in the model and the logged status include all the emergency data, so action can be taken in the model.
Add one block to call into the notification code to collect the emergency message. The EtherCAT Technology Group defines general types of emergency error codes. Specific information coding is available in the documentation from each device manufacturer.
While there can be overlap in emergency message error codes sent by a device, device manufacturers often do not implement all codes and do not use the same codes for similar emergency issues. For more information, see the device documentation from the manufacturer. For example, a search in the Elmo Gold series motor drive application manual finds a description of error codes and error register values for error situations that the drive can encounter. The table shows a subset of the information from this manual.
Elmo Gold Series Motor Drive Error Codes (subset)
Description | Error code | Error reg | Data field |
---|---|---|---|
CAN message lost |
|
|
|
Motor stuck |
|
|
|
Queue is low. |
|
|
|
Examples
Ports
Output
Parameters
Extended Capabilities
Version History
Introduced in R2023b