ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
CAN in the PDM360
CAN errors and error handling
323
CANOPEN_GETEMCYMESSAGES
7921
= Get Emergency-Messages
Unit type = function block (FB)
Contained in the library:
ifm_CANopen_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
7923
CANOPEN_GETEMCYMESSAGES returns all emergency messages that have been received by the
controller from other nodes in the network since the last deletion of messages.
The list can be reset by setting the according input. A maximum of MAXEMCYMSGS messages is
stored. Each message contains information from which the node it was sent. The most recent
message is in index 0.
Parameters of the inputs
7924
Parameter
Data type
Description
EXECUTE BOOL
FALSE
TRUE (edge):
POU is executed once
otherwise: POU not active
A POU already started is processed.
CHANNEL
BYTE
CAN interface (1...n) depending on the device
RstList
(optional use of the parameter)
BOOL TRUE:
list with expired CAN messages is provided at the output und then
deleted
FALSE:
this function is not executed (preset)