Programming the preliminary processing. Schneider Electric Software PLC Application-Specific Functions, Axis control, Junior/Pro, 4.5, PL7 Junior/Pro - Premium PLC Application-specific functions - Axis control
広告
広告
Introductory example
Programming the preliminary processing
Introduction Preliminary processing is used to manage the operating modes: l l l l
On a blocking fault:
The chart is frozen,
The moving part can then be controlled in manual mode, and the fault can be corrected and acknowledged from the front panel, l The chart is reinitialized when the fault has been corrected and acknowledged.
When switching to manual mode:
The chart is frozen,
The chart is reinitialized when automatic mode is reselected.
TLX DS 57 PL7xx
51
Introductory example
Program in contact language
Position setting
%S0
52
%S1
OPERATE
X_attente := 320000
OPERATE
Y_attente := 250000
OPERATE
X_b := 410000
OPERATE
Y_b := 330000
OPERATE
X_c := 360000
OPERATE
Y_c := 100000
Start cycle
%I103.M>>>Depart_>> Arret_>>
P
Cycle
Cycle
%I103.M>> = %I103.MOD.ERR
Depart_>> = Depart_cycle
Arret_>> = Arret_cycle
Enable speed controller
%I103.M>>
ERROR
ERROR_Y
%I103.M>> = %I103.MOD.ERR
Automatic mode selection (when there are 2 independent axes)
Auto_man VARVALID_X
N
OPERATE
%QW103.0 := 3
VARVALID_Y
OPERATE
%QW103.1 := 3
ENABLE
S
ENABLE
S
TLX DS 57 PL7xx
TLX DS 57 PL7xx
Introductory example
Automatic mode selection (when there are 2 interpolated axes)
Auto_man VARVALID_X
N
OPERATE
%QW103.0 := 3
VARVALID_Y
OPERATE
%QW103.1 := 3
VARVALID_X
OPERATE
%QW103.3 := 3
Manual mode selection
Auto_man
P
OPERATE
%QW103.0 := 2
OPERATE
%QW103.1 := 2
Chart freezing on a fault or when switching to manual mode
Mode_>>
Mode_>>
OK
OK_Y
Mode_>> = Mode_auto
Mode_>> = Mode_auto_y
%M1 = Grafcet frozen
%S23
S
%M1
S
53
Introductory example
Chart reinitialization
OK OK_Y Mode_>> Mode_>> %M1
Mode_>> = Mode_auto
Mode_>> = Mode_auto_y
%M1 = Grafcet frozen
Fault signalling
OK
OK_Y
%S6
%S23
R
%S21
S
%M1
R
Error
54
TLX DS 57 PL7xx
ダウンロード
広告