Technical data

Table Of Contents
SFBs for Compact CPUs
System Software for S7-300/400 System and Standard Functions - Volume 2/2
28-28
A5E00739858-01
Parameter Declaration Data
type
Address
(Instance
DB)
Range of values Default Description
STS_C_UP
OUTPUT BOOL 12.5 TRUE/FALSE FALSE Status
forward
direction
Displayed is
always the
last direction
of count. The
value of
STS_C_DN
is TRUE after
the first call of
the SFB.
COUNTVAL
OUTPUT DINT 14
-2
31
up to +2
31
-1
0 Actual count
value
LATCHVAL
OUTPUT DINT 18
-2
31
up to +2
31
-1
0 Actual latch
value
JOB_DONE
OUTPUT BOOL 22.0 TRUE/FALSE TRUE New job can
be started
JOB_ERR
OUTPUT BOOL 22.1 TRUE/FALSE FALSE Faulty job
JOB_STAT
OUTPUT
WORD
24 0 to W#16#FFFF 0 Job error
number
Note
If you have set the parameter "Reaction of the output" to "No comparison" via the
configuration interface, the following is valid:
The output will be switched in the same way as a normal output.
The input parameters CTRL_DO and SET_DO of the SFB are not active.
The status bit STS_DO and STS_CMP (Status comparator in the IDB) remain
reset.