130
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CANOPEN_SENDEMCYMESSAGE
7908
= Send emergency message
Unit type = function block (FB)
Unit is contained in the library
ifm_CANopen_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7910
CANOPEN_SENDEMCYMESSAGE sends an EMCY message. The message is assembled from the
according parameters and entered in register 0x1003. The COB ID for the emergency message is
determined from the configuration data.
>
Parameters of the inputs
7911
Parameter
Data type
Description
EXECUTE
BOOL := FALSE
FALSE
TRUE (edge):
execute function element once
otherwise: function element is not active
A function element already started is processed.
CHANNEL
BYTE
CAN interface (1...n) depending on the device
ERRORACTIVE
BOOL
FALSE
TRUE (edge):
sends the next error code
TRUE
FALSE (edge):
If the error is no longer given, a
message that there is no error is sent
after a delay of 1 s.
EEC
WORD
EEC = Emergency Error Code
ER
(optional use of the parameter)
BYTE := 0
0 = use value from error register 0x1001
MSEF
ARRAY [0..4] OF BYTE
MSEF = Manufacturer Specific Error Code =
Additional error code which is defined by the manufacturer.
Value comes from the application.
Write1003
(optional use of the parameter)
BOOL := FALSE
TRUE:
Enter this EMCY message in object 0x1003
FALSE:
function element is not executed
SendSysStatus
(optional use of the parameter)
BOOL := FALSE
Send system status
TRUE:
The system status is checked and in case of an
error state this is transmitted to the network.
FALSE:
function element is not executed
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...