Siemens Simatic S7 Series System Manual page 533

Hide thumbs Also See for Simatic S7 Series:
Table of Contents

Advertisement

LAD/FBD
Network 8
Network 9
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
12.8 Axis of Motion example programs
Description
When the State Machine
enters Step 2, it executes a
move of the selected profile.
Symbol and Address:
1
Always_On = SM0.0
AXIS0_RUN = SBR4
Axis_Run_Error =
VB940
CPU_Input1 = I0.1
Current_Position =
VD914
Current_Profile = VB941
Current_Speed = VD948
Current_Step = VB942
Move_Complete = M1.2
Profile_Number =
VB228
State_Machine_Step =
VB1500
When the State Machine is
in Step 2 and completes the
move, you evaluate the
error status. If there is no
error, the State Machine
transitions to Step 3. If there
is an error, the State Ma-
chine transitions to Step 4
for error handling.
Symbol and Address:
1
Axis_Run_Error =
VB940
CPU_Output4 = Q0.4
Move_Complete = M1.2
State_Machine_Step =
VB1500
Open loop motion control
STL
LD Always_On
= L60.0
LDB=
State_Machine_
Step, 2
EU
= L63.7
LD L60.0
CALL AXIS0_RUN,
L63.7,
Profile_Number,
CPU_Input1,
Move_Complete,
Axis_Run_Error,
Current_Profile,
Current_Step,
Cur-
rent_Position,
Current_Speed
LDB=
State_Machine_
Step, 2
A Move_Complete
LPS
AB=
Axis_Run_Error,
0
S CPU_Output4, 1
R T33, 1
MOVB 3,
State_Machine_
Step
LPP
AB<>
Axis_Run_Error,
0
MOVB 4,
State_Machine_
Step
533

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart series

Table of Contents