
4
ifm System Manual ecomatmobile SmartController (CR2500, CR2502) V05
Contents
8.9 Use of the CAN interfaces to SAE J1939..................................................................... 145
8.9.1 Function J1939_x....................................................................................... 148
8.9.2 Function J1939_x_RECEIVE..................................................................... 150
8.9.3 Function J1939_x_TRANSMIT .................................................................. 152
8.9.4 Function J1939_x_RESPONSE................................................................. 154
8.9.5 Function J1939_x_SPECIFIC_REQUEST................................................. 156
8.9.6 Function J1939_x_GLOBAL_REQUEST................................................... 158
9PWM in the ecomatmobile controller 160
9.1 PWM signal processing................................................................................................ 161
9.1.1 PWM functions and their parameters (general) ......................................... 161
9.1.2 Function PWM............................................................................................ 166
9.1.3 Function PWM100...................................................................................... 168
9.1.4 Function PWM1000.................................................................................... 170
9.2 Current control with PWM ............................................................................................ 172
9.2.1 Current measurement with PWM channels ............................................... 172
9.2.2 Function OUTPUT_CURRENT_CONTROL .............................................. 173
9.2.3 Function OCC_TASK................................................................................. 175
9.2.4 Function OUTPUT_CURRENT.................................................................. 177
9.3 Hydraulic control in PWM ............................................................................................. 178
9.3.1 The purpose of this library? – An introduction ........................................... 178
9.3.2 What does a PWM output do? ................................................................... 179
9.3.3 What is the dither? ..................................................................................... 180
9.3.4 Functions of the library "ifm_HYDRAULIC_16bitOS05_Vxxyyzz.Lib" ....... 182
9.3.5 Function CONTROL_OCC......................................................................... 183
9.3.6 Function JOYSTICK_0............................................................................... 186
9.3.7 Function JOYSTICK_1............................................................................... 190
9.3.8 Function JOYSTICK_2............................................................................... 194
9.3.9 Function NORM_HYDRAULIC .................................................................. 197
10 More functions in the ecomatmobile controller 200
10.1 Counter functions for frequency and period measurement.......................................... 200
10.1.1 Applications................................................................................................ 201
10.1.2 Use as digital inputs ................................................................................... 201
10.1.3 Function FREQUENCY.............................................................................. 202
10.1.4 Function PERIOD....................................................................................... 204
10.1.5 Function PERIOD_RATIO ......................................................................... 206
10.1.6 Function PHASE ........................................................................................ 208
10.1.7 Function INC_ENCODER .......................................................................... 210
10.1.8 Function FAST_COUNT ............................................................................ 213
10.2 Software reset .............................................................................................................. 215
10.2.1 Function SOFTRESET............................................................................... 215
10.3 Saving, reading and converting data in the memory.................................................... 216
10.3.1 Automatic data backup............................................................................... 216
10.3.2 Manual data storage .................................................................................. 216
10.3.3 Function MEMCPY..................................................................................... 217
10.3.4 Function FLASHWRITE ............................................................................. 218
10.3.5 Function FLASHREAD............................................................................... 220
10.3.6 Function E2WRITE .................................................................................... 221
10.3.7 Function E2READ...................................................................................... 222
10.4 Data access and data check ........................................................................................ 223
10.4.1 Function SET_DEBUG............................................................................... 223
10.4.2 Function SET_IDENTITY........................................................................... 224
10.4.3 Function GET_IDENTITY........................................................................... 226
10.4.4 Function SET_PASSWORD ...................................................................... 228
10.4.5 Function CHECK_DATA ............................................................................ 230