90
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN-FBs on layer 2 (RAW-CAN)
CAN_SETDOWNLOADID
7516
= Set Download-ID
Unit type = function block (FB)
Contained in the library: ifm_RawCAN_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n
Symbol in CoDeSys:
CAN_SETDOWNLOADID
EXECUTE
RESULT
CHANNEL
DOWNLOAD_ID
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_DOWNLOADID 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
FALSETRUE (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
DOWNLOAD_ID BYTE download ID (1...127)
0 = read download ID
Parameters of the outputs
7520
Parameter Data type Description
RESULT BYTE current download ID
Possibly values for RESULT:
Value
dec | hex
Description
000 00 function block is not active
001 01 FB execution completed without error – data is valid
008 08 function block is active
242 F2 Error: setting is not possible