Programming preliminary processing. Schneider Electric PL7 Junior/Pro - Premium PLC Application-specific functions - Step-by-step axis control
ಜಾಹಿರಾತು
ಜಾಹಿರಾತು
Introductory example
Programming preliminary processing
Introduction Preliminary processing allows you to manage the operating modes: l l
With a blocking error:
The chart is disabled.
You can then drive the moving part in Manual mode, fix the error and acknowledge it from the panel.
l l l The chart is reinitialized when the error is fixed and acknowledged.
On switching to Manual mode:
The chart is disabled.
The chart is reinitialized when Automatic mode is selected again.
Program in
Ladder language
Initializing positions
%S0
%S1
OPERATE
X_ATTENTE:= 14000
OPERATE
Y_ATTENTE:= 10000
OPERATE
X_B:= 18000
OPERATE
Y_B:= 14000
OPERATE
X_C:= 16000
Y_C:= 2000
OPERATE
Starting cycle
CYCLE
P
CYCLE
%I103.M>> = %I103.MOD.ERR
DEPART_>> = DEPART_CYCLE
ARRET_>> = ARRET_CYCLE
TLX DS 57 PL7 40E 09.2000
37
Introductory example
Confirming controller
%I103.M>>
ERROR
ERROR_Y
%I103.M>> = %I103.MOD.ERR
Selecting automatic mode
AUTO_MAN VARVALID_X
N
VARVALID_Y
OPERATE
%QW103.0:= 3
OPERATE
%QW103.1:= 3
ENABLE
S
ENABLE_Y
S
Selecting manual mode
AUTO_MAN
P
OPERATE
%QW103.0:= 2
OPERATE
%QW103.1:= 2
Disabling chart on error or when switching into manual mode
MODE_>>
MODE_>>
OK
OK_Y
MODE_>> = MODE_AUTO
MODE_>> = MODE_AUTO_Y
%M1 = fixed Grafcet
%S23
S
%M1
S
38
TLX DS 57 PL7 40E 09.2000
TLX DS 57 PL7 40E 09.2000
Reinitializing chart
OK OK_Y MODE_>> MODE_>> %M1
Introductory example
%S23
R
%S21
S
%M1
R
MODE_>> = Mode_AUTO
MODE_>> = MODE_AUTO_Y
%M1 = fixed Grafcet
Signaling errors
OK %S6
OK_Y
Error
39
ಡೌನ್ಲೋಡ್ ಮಾಡಿ
ಜಾಹಿರಾತು