Technical data

Table Of Contents
SFBs for Compact CPUs
System Software for S7-300/400 System and Standard Functions - Volume 2/2
28-34
A5E00739858-01
Parameter Declaration Data
type
Address
(Instance
DB)
Range of values Default Description
STS_C_UP
OUTPUT BOOL 12.4 TRUE/FALSE FALSE Status
forward
direction
Displayed is
always the
last direction
of count. The
value of
STS_C_UP is
TRUE after
the first call of
the SFB.
MEAS_VAL
OUTPUT DINT 14
0 to +2
31
-1
0 Actual
frequency
value
COUNTVAL
OUTPUT DINT 18
-2
31
to +2
31
-1
0 Actual count
value (starts
every time
the gate
opens at 0)
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 W#16#0000 to
W#16#FFFF
W#16#0000 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 SFB input parameters MAN_DO and SET_DO are not active.
The status bit STS_DO remains reset.