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-27
Parameter Declaration Data
type
Address
(Instance
DB)
Range of values Default Description
JOB_ID
INPUT WORD 6 W#16#0000
Job without
function
W#16#0001
Write count value
W#16#0002
Write load value
W#16#0004
Write comparison
value
W#16#0008
Write hysteresis
W#16#0010
Write pulse period
W#16#0082
Read load value
W#16#0084
Read comparison
value
W#16#0088
Read hysteresis
W#16#0090
Read pulse period
W#16#0000 Job number
JOB_VAL
INPUT DINT 8
-2
31
up to +2
31
-1
0 Value for
write jobs.
STS_GATE
OUTPUT BOOL 12.0 TRUE/FALSE FALSE Status of the
internal gate
STS_STRT
OUTPUT BOOL 12.1 TRUE/FALSE FALSE Status of the
hardware
gate (Start
input)
STS_LTCH
OUTPUT BOOL 12.2 TRUE/FALSE FALSE Status of the
latch input
STS_DO
OUTPUT BOOL 12.3 TRUE/FALSE FALSE Output status
STS_C_DN
OUTPUT BOOL 12.4 TRUE/FALSE FALSE Status
reverse
direction.
Displayed is
always the
last direction
of count. The
value of
STS_C_DN
is FALSE
after the first
call of the
SFB.