EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Open loop motion control
12.6 Subroutines created by the Motion wizard for the Axis of Motion
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
509
12.6.3
AXISx_MAN subroutine
Table 12- 8 AXISx_MAN
LAD / FBD
STL
Description
CALL AXISx_MAN, RUN,
JOG_P, JOG_N, Speed,
Dir, Error, C_Pos,
C_Speed, C_Dir
The AXISx_MAN subroutine (Manual Mode) puts the Axis of Motion
into manual mode. This allows the motor to be run at different speeds
or to be jogged in a positive or negative direction.
You can enable only one of the RUN, JOG_P, or JOG_N inputs at a
time.
Table 12- 9 Parameters for the AXISx_MAN subroutine
Inputs/Outputs
Data type
Operands
RUN, JOG_P,
JOG_N
BOOL I, Q, V, M, SM, S, T, C, L, Power Flow
Speed
DINT, REAL
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD, Constant
Dir, C_Dir
BOOL
I, Q, V, M, SM, S, T, C, L
Error BYTE IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
C_Pos, C_Speed
DINT, REAL
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD
Enable the RUN (Run/Stop) parameter to command the Axis of Motion to accelerate to the
specified speed (Speed parameter) and direction (Dir parameter). You can change the value
of the Speed parameter while the motor is running, but the Dir parameter must remain
constant. Disabling the RUN parameter commands the Axis of Motion to decelerate until the
motor comes to a stop.
Enable the JOG_P (Jog Positive Rotation) or the JOG_N (Jog Negative Rotation) parameter
to command the Axis of Motion to jog in either a positive or negative direction. If the JOG_P
or JOG_N parameter remains enabled for less than 0.5 seconds, the Axis of Motion issues
pulses to travel the distance specified in JOG_INCREMENT. If the JOG_P or JOG_N
parameter remains enabled for 0.5 seconds or longer, the Axis of Motion begins to
accelerate to the specified JOG_SPEED.

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals