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-7
Parameters for "Relative Step Approach" 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 Run in plus direction
(positive edge)
DIR_M
INPUT BOOL 4.3 TRUE/FALSE FALSE Run in minus direction
(positive edge)
MODE_IN
INPUT INT 6 0, 1, 3, 4, 5 1 Operating mode, 4 =
Relative Step
Approach
TARGET
INPUT DINT 8
0 to 10
9
pulses
1000 Distance in pulses
(only positive values
allowed)
WORKING
OUTPUT BOOL 16.0 TRUE/FALSE FALSE Run is in progress
POS_RCD
OUTPUT BOOL 16.1 TRUE/FALSE FALSE Position reached
ACT_POS
OUTPUT DINT 18
-5x10
8
to
+5x10
8
pulses
0 Actual position value
MODE_OUT
OUTPUT INT 22 0, 1, 3, 4, 5 0 Active/configured
operating mode