Contents
12
Manual – IPOSplus®
23.6 Positioning commands............................................................................ 323
23.6.1 Reference travel GO0.............................................................. 323
23.6.2 GOA absolute positioning / GOR relative positioning .............. 325
23.7 Program commands................................................................................ 329
23.7.1 Program command END.......................................................... 329
23.7.2 Subroutine call CALL............................................................... 329
23.7.3 Jump commands JMP ............................................................. 330
23.7.4 Loop commands LOOP ........................................................... 332
23.7.5 No Operation NOP / remark REM / return RET / TASK /
TASK2 / wait WAIT .................................................................. 333
23.8 Set commands ........................................................................................ 336
23.8.1 Copy variables COPY.............................................................. 336
23.8.2 Read system values GETSYS................................................. 336
23.8.3 Set commands variable SET / fault response SETFR / Indirect
addressing SETI / Interrupt SETINT /
system values SETSYS........................................................... 339
23.8.4 SETSYS................................................................................... 344
23.8.5 VARINT.................................................................................... 347
23.9 Special unit commands........................................................................... 349
23.9.1 ASTOP / MEM / TOUCHP / WDOFF / WDON ........................ 349
23.10 Comparison commands .......................................................................... 355
23.10.1 Comparison operations CPEQ / CPGE / CPGT / CPLE /
CPLT / CPNE........................................................................... 355
23.10.2 Logical operations ANDL / ORL / NOTL.................................. 358
24 Assembler – Examples ................................................................................... 360
24.1 "Flashing light" sample program ............................................................. 360
24.1.1 Sample "Controller" ................................................................. 360
24.1.2 Sample "Positioning" ............................................................... 361
24.2 "Hoist" sample program .......................................................................... 362
24.2.1 Characteristics......................................................................... 362
24.2.2 Settings.................................................................................... 362
24.2.3 Schematic structure................................................................. 363
24.2.4 Terminal wiring ........................................................................ 364
24.2.5 Setting parameters relevant to the example............................ 365
24.2.6 Calculating the IPOS
plus®
parameters..................................... 365
24.2.7 Input terminals ......................................................................... 366
24.2.8 Output terminals ...................................................................... 366
24.2.9 Program source code (with remarks)....................................... 367
24.3 "Jog mode" sample program................................................................... 368
24.3.1 Characteristics......................................................................... 368
24.3.2 Settings.................................................................................... 368
24.3.3 Input terminals ......................................................................... 369
24.3.4 Output terminals ...................................................................... 369
24.3.5 Program source code (with remarks)....................................... 370