Siemens SIMATIC S7-200 System Manual page 300

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 Programmable Controller System Manual
Sample Program 1: Simple Relative Move (Cut to Length application) , continued
Sample Program 2: Program with POSx_CTRL, POSx_RUN, POSx_SEEK, and POSx_MAN
286
Network 6
//When the cut is finished then restart
//unless the Stop is active.
LD
Q0.2
A
T33
LPS
AN
I0.1
=
M0.1
LPP
A
I0.1
R
Q0.2, 1
Network 1
//Enable the Position module
LD
SM0.0
=
L60.0
LDN
I0.1
=
L63.7
LD
L60.0
CALL
POS0_CTRL, L63.7, M1.0, VB900,
VD902, VD906, V910.0
Network 2
//Manual mode if not in auto mode
LD
I1.0
AN
M0.0
=
L60.0
LD
I1.1
=
L63.7
LD
I1.2
=
L63.6
LD
I1.4
=
L63.5
LD
L60.0
CALL
POS0_MAN, L63.7, L63.6,
L63.5, +100000, 1.5, VB920,
VD902, VD906, V910.0
Network 3
//Enable auto mode
LD
I0.0
EU
S
M0.0, 2
S
S0.1, 1
R
S0.2, 8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents