208
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN errors and error handling
Identifier
8048
The identifier for the error message consists of the sum of the following elements:
EMCY default identifier 128 (80
16
)
+
node ID
EMCY error code
8049
It gives detailed information which error occurred. A list of possible error codes has already been
defined in the communication profile. Error codes which only apply to a certain device class are
defined in the corresponding device profile of this device class.
Object 0x1003 (error field)
8050
The object 1003
16
represents the error memory of a device. The sub-indices contain the errors
occurred last which triggered an error message.
If a new error occurs, its EMCY error code is always stored in the sub-index 1
16
. All other older errors
are moved back one position in the error memory, i.e. the sub-index is incremented by 1. If all
supported sub-indices are used, the oldest error is deleted. The sub-index 0
16
is increased to the
number of the stored errors. After all errors have been rectified the value "0" is written to the error field
of the sub-index 1
16
.
To delete the error memory the value "0" can be written to the sub-index 0
16
. Other values must not be
entered.
Signalling of device errors
8051
As described, EMCY messages are transmitted if errors occur in a device.
> In contrast to programmable devices error messages are automatically transmitted by
decentralised input/output modules (e.g. CompactModules CR2033).
Corresponding error codes respective device manual.
> The programmed devices only automatically generate an EMCY message for guarding and
heartbeat errors.
Overview of EMCY error codes for all ifm devices programmable with CoDeSys chapter
Overview CANopen error codes (→ page 209
).
If, in addition, application-specific errors are to be transmitted by the application program,
CANOPEN_SENDEMCYMESSAGE (→ page 212
) is used.