Error Handling - Siemens SIMATIC PCS 7 Function Manual

Process control system, advanced process functions apf
Hide thumbs Also See for SIMATIC PCS 7:
Table of Contents

Advertisement

Output parameters
The following table shows the output parameters of the "FB_BBD" block:
Parameter
QRUN_UP
QNOT_OK
QGR_ERR
QPARAMF
QERR
PROVIDED
QDST_ON
QUTC_DT
QUTC_DTB
QLOT_DT
QLOT_DTB
QDOB_DT
QDOB_DTB
QBBD_DT
QBBD_DTB
QMJD
QMJD_DAY
QMJD_TOD
9.1.4

Error handling

The errors detected in the block are signaled by block outputs:
QPARAMF
QERR
If a "QPARAMF" or "QERR" occurs, DOB and BBD are not calculated and the "PROVIDED"
output remains "0".
Advanced Process Functions (APF)
Function Manual, 07/2016, A5E38719883-AA
Status display startup active = 1
Block flag "OK" not set, error = 1
Function block group error/fault
1 = Parameter assignment error,
1 = Function error
1 = DOB / BBD generated and provided
Daylight saving time is active = 1
Display of UTC time part A
Display of UTC time part B
Display of local time part A
Display of local time part B
Date of production part A
Date of production part B
Best before date part A
Best before date part B
Modified Julian date
Modified Julian date integer places (whole
days)
Modified Julian date decimal places (fractions
of days)
Output
1 = parameter assignment error
SL_HOUR < 0 or > 9999
SL_DAY < 0 or > 6000
LOT_DEV < -720 or > 720
DST_DEV < -120 or > 120
1 = Function error
UTC time: Year < 1990 or > 2039
UTC time: Month < 1 or > 12
UTC time: Day < 1 or > 31
UTC time: Hours < 0 or > 23
UTC time: Minutes < 0 or > 59
Description
Meaning
Best before / UTC time supply
9.1 FB_BBD
Type
Default
BOOL
0
BOOL
0
BOOL
0
BOOL
0
BOOL
0
BOOL
0
BOOL
0
DWORD
16#08123123
DWORD
16#59590000
DWORD
16#08123123
DWORD
16#59590000
DWORD
16#08123123
DWORD
16#59590000
DWORD
16#08123123
DWORD
16#59590000
REAL
0.0
REAL
0.0
REAL
0.0
239

Advertisement

Table of Contents
loading

Table of Contents