Siemens SIMATIC S7-200 System Manual page 303

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

Advertisement

Sample Program 2: Program with POSx_CTRL, POSx_RUN, POSx_SEEK, and POSx_MAN, continued
Open Loop Motion Control with the S7-200
Network 16
//Unless STOP is on, restart
//when the cut is finished.
LD
T33
LPS
R
Q0.3, 1
R
Q0.4, 1
AN
I0.2
SCRT S0.1
LPP
A
I0.2
R
M0.0, 4
Network 17
SCRE
Network 18
LSCR S1.0
Network 19
//Reset the outputs.
LD
S1.0
R
Q0.3, 2
Network 20
//Flash the error light.
LD
SM0.5
=
Q0.5
Network 21
//Exit the error routine if STOP is on.
LD
I0.2
R
M0.0, 9
R
S0.1, 8
Network 22
SCRE
Chapter 9
289

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents