Siemens Simatic S7-200 System Manual page 271

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.
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-13 on page 276 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-3
Parameters for the POSx_MAN Instruction
Inputs/Outputs
Data Type
RUN, JOG_P, JOG_N
BOOL
Speed
DINT, REAL
Dir, C_Dir
BOOL
Error
BYTE
C_Pos, C_Speed
DINT, REAL
Creating a Program for the Position Module
Operands
I, Q, V, M, SM, S, T, C, L, Power Flow
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD, Constant
I, Q, V, M, SM, S, T, C, L
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD
Chapter 9
9
259

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents