Siemens SIMATIC S7 System Manual page 648

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Open loop motion control
12.8 Axis of Motion example programs
LAD/FBD
Network 10
Network 11
Network 12
Network 13
648
Description
Wait for Step 3.
Symbol and Address:
1
State_Machine_Step =
VB1500
If the State Machine moves
to Step 3, wait for 2 s. Then,
evaluate the status of the
switches, and restart the
move or stop.
Symbol and Address:
1
CPU_Input2 = I0.2
CPU_Output3 = Q0.3
CPU_Output4 = Q0.4
State_Machine_Step =
VB1500
If the State Machine moves
to Step 4, clear the outputs.
Symbol and Address:
1
CPU_Output3 = Q0.3
State_Machine_Step =
VB1500
If the State Machine is in
Step 4, flash output 5 to
indicate an error.
Symbol and Address:
1
Clock_1s = SM0.5
(Clock pulse that is ON
for 0.5 s and OFF for 0.5
s for a duty cycle time of
1 s.)
CPU_Output5 = Q0.5
State_Machine_Step =
VB1500
System Manual, V2.3, 07/2017, A5E03822230-AF
STL
LDB=
State_Machine_
Step, 3
TON T33, 200
LDB=
State_Machine_
Step, 3
A T33
LPS
R CPU_Output3, 1
R CPU_Output4, 1
AN CPU_Input2
MOVB 2,
State_Machine_
Step
LPP
A CPU_Input2
MOVB 4,
State_Machine_
Step
R M0.0, 4
LDB=
State_Machine_
Step, 4
R CPU_Output3, 2
LDB=
State_Machine_
Step, 4
A Clock_1s
= CPU_Output5
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents