9.3.3.4
9.3.4
9.3.5
10
10.1
Debugging your program ...................................................................................................... 453
10.1.1
Bookmark functions .............................................................................................................. 453
10.1.2
Cross reference table ........................................................................................................... 454
10.2
Displaying program status .................................................................................................... 456
10.2.1
10.2.2
10.3
10.4
Forcing specific values ......................................................................................................... 462
10.5
10.6
10.7
11
PID loops and tuning ............................................................................................................................. 467
11.1
PID loop definition table ........................................................................................................ 468
11.2
Prerequisites ......................................................................................................................... 472
11.3
11.4
Auto-tune sequence .............................................................................................................. 473
11.5
Exception conditions ............................................................................................................. 475
11.6
11.7
PID Tune control panel ......................................................................................................... 476
12
Open loop motion control ....................................................................................................................... 481
12.1
Using the PWM output .......................................................................................................... 482
12.1.1
12.1.2
PWMx_RUN subroutine ........................................................................................................ 483
12.2
Using motion control ............................................................................................................. 485
12.2.1
12.2.2
12.2.3
12.3
Features of motion control .................................................................................................... 490
12.4
12.5
12.6
12.6.1
12.6.2
AXISx_CTRL subroutine ....................................................................................................... 507
12.6.3
AXISx_MAN subroutine ........................................................................................................ 509
12.6.4
AXISx_GOTO subroutine ...................................................................................................... 510
12.6.5
AXISx_RUN subroutine ........................................................................................................ 512
12.6.6
AXISx_RSEEK subroutine .................................................................................................... 513
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
Table of contents
11