
2
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
Contents
Contents
1About this manual 4
1.1 Copyright..............................................................................................................................4
1.2 Overview: documentation modules for ecomatmobile devices............................................5
1.3 CODESYS programming manual ........................................................................................5
1.4 What do the symbols and formats mean? ...........................................................................6
1.5 How is this documentation structured? ................................................................................7
1.6 History of the instructions (CR040n)..................................................................................8
2Safety instructions 9
2.1 Please note! .........................................................................................................................9
2.2 What previous knowledge is required? ..............................................................................10
2.3 Start-up behaviour of the controller....................................................................................10
3System description 11
3.1 Information about the device..............................................................................................11
3.2 Hardware description .........................................................................................................11
3.2.1 Hardware setup ..........................................................................................................................12
3.2.2 Inputs (technology).....................................................................................................................13
3.2.3 Outputs (technology) ..................................................................................................................18
3.2.4 Note on wiring ............................................................................................................................25
3.2.5 Safety instructions about Reed relays ........................................................................................25
3.2.6 Status LED .................................................................................................................................26
3.3 Interface description...........................................................................................................27
3.3.1 CAN interfaces ...........................................................................................................................27
3.4 Software description ..........................................................................................................28
3.4.1 Software modules for the device ................................................................................................28
3.4.2 Programming notes for CODESYS projects ...............................................................................31
3.4.3 Operating states .........................................................................................................................35
3.4.4 Performance limits of the device ................................................................................................37
4Configurations 39
4.1 Set up the runtime system .................................................................................................39
4.1.1 Reinstall the runtime system ......................................................................................................40
4.1.2 Update the runtime system.........................................................................................................41
4.1.3 Verify the installation ..................................................................................................................41
4.2 Set up the programming system ........................................................................................42
4.2.1 Set up the programming system manually .................................................................................42
4.2.2 Set up the programming system via templates...........................................................................46
4.3 Function configuration in general.......................................................................................46
4.3.1 System variables ........................................................................................................................46
4.4 Function configuration of the inputs and outputs ...............................................................47
4.4.1 Configure inputs .........................................................................................................................48
4.4.2 Configure outputs .......................................................................................................................53
4.5 Variables ............................................................................................................................56
4.5.1 Retain variables..........................................................................................................................56
4.5.2 Network variables.......................................................................................................................57
5ifm function elements 58
5.1 ifm libraries for the device CR0403....................................................................................58
5.1.1 Library ifm_CR0403_V03yyzz.LIB..............................................................................................59
5.1.2 Library ifm_RAWCan_NT_Vxxyyzz.LIB......................................................................................60
5.1.3 Library ifm_CANopen_NT_Vxxyyzz.LIB.....................................................................................61
5.1.4 Library ifm_J1939_NT_Vxxyyzz.LIB...........................................................................................63