Siemens SIMATIC S7 System Manual page 624

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Open loop motion control
12.6 Subroutines created by the Motion wizard for the Axis of Motion
Table 12- 9
Inputs/Outputs
RUN, JOG_P,
JOG_N
Speed
Dir, C_Dir
Error
C_Pos, C_Speed
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.
The Speed parameter determines the speed when RUN is enabled. If you configured the
measuring system of the Axis of Motion for pulses, the speed is a DINT value for
pulses/second. If you configured the measuring system of the Axis of Motion for engineering
units, the speed is a REAL value for units/second. You can change this parameter while the
motor is running.
Note
The Axis of Motion may not react to small changes in the Speed parameter, especially if the
configured acceleration or deceleration time is short and the difference between the
configured maximum speed and start/stop speed is large.
The Dir parameter determines the direction to move when RUN is enabled. You cannot
change this value when the RUN parameter is enabled.
The Error parameter (Page 659) contains the result of this subroutine.
The C_Pos parameter contains the current position of the Axis of Motion. Based upon the
units of measurement selected, the value is either a number of pulses (DINT) or the number
of engineering units (REAL).
The C_Speed parameter contains the current speed of the Axis of Motion. Based upon the
units of measurement selected, the value is either the number of pulses/second (DINT) or
the engineering units/second (REAL).
The C_Dir parameter indicates the current direction of the motor:
● Signal state of 0 = positive
● Signal state of 1 = negative
624
Parameters for the AXISx_MAN subroutine
Data type
Operands
BOOL
I, Q, V, M, SM, S, T, C, L, Power Flow
DINT, REAL
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD, Constant
BOOL
I, Q, V, M, SM, S, T, C, L
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
DINT, REAL
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents