ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Contents
5
10
Input/output functions
10.1
Processing input values............................................................................................. 325
10.1.1
INPUT ................................................................................................................... 326
10.1.2
TOGGLE............................................................................................................... 328
10.2
Adapting analogue values ......................................................................................... 329
10.2.1
NORM_DINT ........................................................................................................ 330
10.2.2
NORM_REAL ....................................................................................................... 332
11
Managing the data
11.1
Saving, reading and converting data in the memory ................................................. 334
11.1.1
USB_STORAGE_HANDLER ............................................................................... 335
11.1.2
COPY_PDM_TO_USB ......................................................................................... 337
11.1.3
COPY_USB_TO_PDM ......................................................................................... 338
11.2
Data access and data check...................................................................................... 339
11.2.1
VERSION.............................................................................................................. 340
11.2.2
SYSTEM_ASYNCH .............................................................................................. 341
11.3
File managing ............................................................................................................ 342
11.3.1
File functions......................................................................................................... 342
12
LED, buzzer, visualisation
12.1
Program LED + buzzer .............................................................................................. 383
12.1.1
BUZZER_CLICK................................................................................................... 384
12.1.2
BUZZER_ON ........................................................................................................ 385
12.1.3
KEY_CLICK .......................................................................................................... 386
12.2
Manage visualisation ................................................................................................. 387
12.2.1
SET_BOOTUP_BACKLIGHT ............................................................................... 388
12.2.2
Library Instrumente............................................................................................... 389
12.3
Edit input fields in the visualisation ............................................................................ 396
12.3.1
INPUT_INT ........................................................................................................... 397
12.3.2
INPUT_DINT......................................................................................................... 402
12.3.3
INPUT_REAL........................................................................................................ 405
12.3.4
INIT_VAR_RETAIN_INT....................................................................................... 408
12.3.5
INIT_VAR_RETAIN_DINT.................................................................................... 410
12.3.6
INIT_VAR_RETAIN_REAL................................................................................... 412
13
Annex
13.1
Rectify faults and errors............................................................................................. 414
13.2
Address assignment and I/O operating modes ......................................................... 415
13.2.1
Address assignment inputs / outputs.................................................................... 415
13.2.2
Possible operating modes inputs / outputs........................................................... 416
13.3
System flags .............................................................................................................. 417
13.3.1
System flags of the keys + LEDs (inputs)............................................................. 418
13.3.2
System flags of the keys + LEDs (outputs) .......................................................... 420
13.4
CANopen tables......................................................................................................... 421
13.4.1
IDs (addresses) in CANopen................................................................................ 421
13.4.2
Structure of CANopen messages ......................................................................... 422
13.4.3
Bootup messsage ................................................................................................. 426
13.4.4
Network management (NMT) ............................................................................... 427
13.4.5
CANopen error code............................................................................................. 431