Siemens SIMATIC S7-200 System Manual page 289

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

Advertisement

POSx_MAN Instruction
The POSx_MAN instruction (Manual Mode) puts the
Position module into manual mode. This allows the motor to
be run at different speeds or to be jogged in a positive or
negative direction. While the POSx_MAN instruction is
enabled, only the POSx_CTRL and POSx_DIS instructions
are allowed.
You can enable only one of the RUN, JOG_P, or JOG_N
inputs at a time.
Enabling the RUN (Run/Stop) parameter commands to the
Position module to accelerate to the specified speed
(Speed parameter) and direction (Dir parameter). You can
change the value for the Speed parameter while the motor
is running, but the Dir parameter must remain constant.
Disabling the RUN parameter commands the Position
module to decelerate until the motor comes to a stop.
Enabling the JOG_P (Jog Positive Rotation) or the JOG_N
(Jog Negative Rotation) parameter commands the Position
module 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 Position module 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 motion module 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 Position module for pulses, the speed is a DINT value for pulses/second.
If you configured the measuring system of the Position module for engineering units, the speed is
a REAL value for units/second. You can change this parameter while the motor is running.
Tip
The Position module 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.
For more information refer to FAQ 22632118 on the Siemens Internet site at
www.siemens.com/S7--200.
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 contains the result of this instruction. See Table 9-20 for definitions of the
error codes.
The C_Pos parameter contains the current position of the module. Based of 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 module. Based of 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.
Table 9-10
Parameters for the POSx_MAN Instruction
Inputs/Outputs
RUN, JOG_P, JOG_N
Speed
Dir, C_Dir
Error
C_Pos, C_Speed
Open Loop Motion Control with the S7-200
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
Chapter 9
275

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents