2
ifm Programming Manual BasicDisplay CR0452 v03.02 05 / 2018
Contents
Contents
1 About this manual 4
1.1 Copyright .............................................................................................................................. 4
1.2 Overview: documentation modules for CR0452 .................................................................. 5
1.3 What do the symbols and formats mean? ........................................................................... 6
1.4 How is this documentation structured? ................................................................................ 7
1.5 History of the instructions (CR0452) .................................................................................. 7
2 Safety instructions 8
2.1 Please note .......................................................................................................................... 8
2.2 What previous knowledge is required? ................................................................................ 8
2.3 Start-up behaviour of the controller...................................................................................... 9
2.4 Notes: serial number ............................................................................................................ 9
3 System description 10
3.1 Information about the device ..............................................................................................10
3.1.1 Accessories ................................................................................................................................ 10
3.2 Hardware description .........................................................................................................11
3.2.1 Hardware setup .......................................................................................................................... 11
3.2.2 Status-LED ................................................................................................................................. 14
3.3 Interface description ...........................................................................................................15
3.3.1 CAN interfaces ........................................................................................................................... 15
3.4 Software description ..........................................................................................................16
3.4.1 Software modules for the device ................................................................................................ 16
3.4.2 Programming notes for CODESYS projects ............................................................................... 19
3.4.3 Operating states ......................................................................................................................... 22
3.4.4 Performance limits of the device ................................................................................................ 25
4 Configurations 32
4.1 Set up the runtime system .................................................................................................32
4.1.1 Reinstall the runtime system ...................................................................................................... 33
4.1.2 Update the runtime system ......................................................................................................... 34
4.1.3 Verify the installation .................................................................................................................. 34
4.2 Set up the programming system ........................................................................................35
4.2.1 Set up the programming system manually ................................................................................. 35
4.2.2 Set up the programming system via templates ........................................................................... 39
4.3 Function configuration in general .......................................................................................40
4.3.1 System variables ........................................................................................................................ 40
4.4 Variables ............................................................................................................................41
4.4.1 Retain variables .......................................................................................................................... 42
4.4.2 Network variables ....................................................................................................................... 43
5 ifm function elements 44
5.1 ifm libraries for the device CR0452 ....................................................................................44
5.1.1 Required libraries ....................................................................................................................... 44
5.1.2 Library ifm_CR0452_Vxxyyzz.LIB .............................................................................................. 45
5.1.3 Library ifm_CR0452_Init_Vxxyyzz.LIB ....................................................................................... 46
5.1.4 Library ifm_PDMsmart_util_Vxxyyzz.LIB .................................................................................... 46
5.1.5 Library ifm_RAWCan_NT_Vxxyyzz.LIB...................................................................................... 46
5.1.6 Library ifm_CANopen_NT_Vxxyyzz.LIB ..................................................................................... 47
5.1.7 Library ifm_J1939_NT_Vxxyyzz.LIB ........................................................................................... 48