Function library
7-71
L
EDSVS9332P-D21 EN 3.0
7.5.11 Program operation
Purpose
Positioning programs for automatic operation of the application can run during program operation.
Function
•
Program control
(E 7-71)
•
Variable tables (VT)
(E 7-75)
•
Program sets (PS)
(E 7-76)
7.5.11.1 Program control
Purpose
Program control offers the possibility to influence program processing by a higher-level control (e.g.
PLC) or directly from the operator’s panel.
9300POS031
POS-START-PS
POS-PRG-START
C1280.B0
POS-PRG-STOP
C1280.B1
1
POS-PRG-RESET
C1280.B2
1
POS-PS-CANCEL
POS-PFI
POS-PFO
Program
control
POS-STOPPED
POS-STARTED
POS-ENDED
POS-RESETED
POS-ACT-PS-NO
C1212
POS-STDBY-STP
1
C1280.B3
POS
PS1
C1311/1
C1312/1
C1349/1
... ...
...
...
...
...
PS32
C1311/32
C1312/32
C1349/32
...
VTPOS
C1301/1
C1301/104
...
VTVEL
C1302/1
C1302/34
...
VTACC
C1303/1
C1303/34
...
VTTIME
C1305/1
C1305/34
...
VTPCS
C1304/1
C1304/34
...
³
1
POS-RUNNING
Program sets (PS)
Variable tables (VT)
FCODE-C1211
(1)
E3
E5
³
³
³
Fig. 7-32 Section from the function block POS: Functionality of PS, VT, PFI and PFO
Starting the program (PRG-START)
•
The beginning of the program to be started is determined by the FB input “POS-START-PS”.
In the standard configurations this input is connected with FCODE C1211. In the default
setting the program starts with PS01.
•
Starting the positioning program with
- LOW-HIGH edge at POS-PRG-START or
- C1280.B0 = 0 / 1 edge (“Program start” in the GDC dialog ”Control”).
Tip!
•
The program processing is also continued to the ”Program end” when the start signal is
immediately reset.
•
If the start signal is still applied at ”program end” the program will be restarted automatically
every time.
•
A new edge at POS-PRG-START is required after interrupting the program processing (e.g. by
controller inhibit) or by a fault indication.
Afterwards the program is continued at the same place (status display: C1283=15).