Siemens SIMATIC S7-200 System Manual page 276

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

Advertisement

S7-200 Programmable Controller System Manual
PTOx_MAN Subroutine
The PTOx_MAN subroutine (Manual Mode) puts the PTO
output in manual mode. This allows the motor to be started,
stopped and run at different speeds within the range from
Start/Stop speed through Maximum speed as specified in
the wizard. While the PTOx_MAN subroutine is enabled, no
other PTOx_RUN or PTOx_ADV instructions should be
executed.
Enabling the RUN (Run/Stop) parameter commands the
PTO to accelerate to the specified speed (Speed
parameter). You can change the value for the Speed
parameter while the motor is running. Disabling the RUN
parameter commands the PTO to decelerate until the motor
comes to a stop.
The Speed parameter determines the speed when RUN is
enabled. The speed will be clamped to Start/Stop or
Maximum for values of the Speed parameter outside this
range. The speed is a DINT value for pulses/second. You
can change this parameter while the motor is running.
The Error parameter contains the result of this instruction.
See Table 9-7 for definitions of the error codes.
The C_Pos parameter contains the current position of the module as the number of pulses if the
HSC was enabled in the wizard. Otherwise the current position is always 0.
Table 9-5
Parameters for the PTOx_MAN Instruction
Inputs/Outputs
RUN
SPEED
Error
C_Pos
Tip
The PTO 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.
262
Data Types
Operands
BOOL
I, Q, V, M, SM, S, T, C, L, Power Flow
DINT
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD, Constant
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
DINT
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *AC, *LD

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents