Technical data

Table Of Contents
SFBs for Compact CPUs
System Software for S7-300/400 System and Standard Functions - Volume 2/2
28-18
A5E00739858-01
Parameter Declaration Data
type
Address
(Instance
DB)
Range of
values
Default Description
CHGOVER
STATIC BOOL 44.3 TRUE/FALSE FALSE Drive in changeover
range (from the point
where it reaches
creep speed to the
start of the next run)
DIST_TO_GO
STATIC DINT 46
-5x10
8
to
+5x10
8
pulses
0 Actual remaining
distance
LAST_TRG
STATIC DINT 50
-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).
Parameters for "Jog" Mode
Parameter Declaration Data type Address
(Instance
DB)
Range of
values
Default Description
DRV_EN
INPUT BOOL 4.0 TRUE/FALSE FALSE Drive enable
DIR_P
INPUT BOOL 4.2 TRUE/FALSE FALSE Jogging in plus
direction (positive
edge)
DIR_M
INPUT BOOL 4.3 TRUE/FALSE FALSE Jogging in minus
direction (positive
edge)
MODE_IN
INPUT INT 6 0, 1, 3, 4, 5 1 Operating mode, 1
= jogging
WORKING
OUTPUT BOOL 14.0 TRUE/FALSE FALSE Run is in progress
ACT_POS
OUTPUT DINT 16
-5x10
8
to
+5x10
8
pulses
0 Actual position
value
MODE_OUT
OUTPUT INT 20 0, 1, 3, 4, 5 0 Active/configured
operating mode