63
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
CAN_SETDOWNLOADID
7516
= Set download ID
Unit type = function block (FB)
Unit is contained in the library
ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7517
The download ID is required for data exchange when connecting the runtime system and the
CODESYS development environment. When the device is started the download ID is set with the
default value from the hardware configuration.
With CAN_SETDOWNLOADID this value can be set in the PLC program (e.g. using certain inputs).
The changed ID is also written into the hardware configuration.
>
Parameters of the inputs
7519
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
DOWNLOAD_ID
BYTE
1...127 = set download ID
0 = read download ID
>
Parameters of the outputs
7520
Parameter
Data type
Description
RESULT
BYTE
feedback of the function block
(possible messages → following table)
Possible results for RESULT:
Value
dec | hex
Description
0
00
FB is inactive
1
01
function block execution completed without error
8
08
function block is active
242
F2
Error: setting is not possible
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...