Technical data

Table Of Contents
SFBs for Compact CPUs
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
28-5
Parameter Declaration Data
type
Address
(Instance
DB)
Range of
values
Default Description
DIR
STATIC BOOL 54.1 TRUE/FALSE FALSE Actual/last sense of
direction
FALSE = forward (in
plus direction)
TRUE = reverse (in
minus direction)
CUTOFF
STATIC BOOL 54.2 TRUE/FALSE FALSE Drive in cut-off range
(as off the cut-off
point to the start of
the next run)
CHGOVER
STATIC BOOL 54.3 TRUE/FALSE FALSE Drive in change-over
range (between
reaching creep
speed and the start
of the next run)
RAMP_DN
STATIC BOOL 54.4 TRUE/FALSE FALSE The drive is slowed
down (from braking
point to changeover
point)
RAMP_UP
STATIC BOOL 54.5 TRUE/FALSE FALSE The drive is
accelerated (from
start until it reaches
the speed SPEED
(V
Setpoint
))
DIST_TO_
GO
STATIC DINT 56
-5x10
8
to
+5x10
8
pulses
0 Actual distance to
go
LAST_TRG
STATIC DINT 60
-5x10
8
to
+5x10
8
pulses
0 Last/current target
Absolute Step
Approach:
At run start
LST_TRG =
current absolute
target
(TARGET).
Relative Step
Approach:
At run start
LST_TRG =
LAST_TRG is
the specified +/-
distance of the
previous run
(TARGET).