Fb_Job_Status, Fb_Storage_Status, Fb_Material_Status - 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

CHANGEDATE
STATUS
STATUS_ID
VALUE_<ioname>
....
VALUE_<ioname>
Archiving freely-definable data records
The archive has the following structure:
REC_ID
REC_READ
REC_EXPORTED
REC_FINISHED
REC_PREPARED
VALUE_<ioname>
....
VALUE_<ioname>
The archive values are assigned the column name "VALUE_" with the
"FCT_BLOCK_IO_NAME" of the FB_ARCHVALUE_XXX table.
Note
Forming the actual value column name (a maximum of 20 characters) from "VALUE_" and
"<ioname>" limits the actual useful length of the IO name to 14 characters.
8.3.4

FB_JOB_STATUS, FB_STORAGE_STATUS, FB_MATERIAL_STATUS

The archives are structured as follows:
REC_ID
NAME
TXTLIB
Advanced Process Functions (APF)
Function Manual, 07/2016, A5E38719883-AA
Element
Date of the last change to parameter set DATE
Status designation
ID of the status
First value to be archived
....
Last value to be archived
Element
Internal ID of archive data record
Job data read
(MES)
Job data exported
(C function > csv file)
Job completed
Read enable
(MES)
0 = MES may not read
1 = MES may read
2 = Released for deleting
First value to be archived
....
Last value to be archived
Element
Internal ID
Name
ID for multilingual management in the
text library
Description
Description
Description
Archive management
8.3 User archives
Format
STRING 64
INTEGER 32
Depends on "FB_ARCHVAL‐
UE_XXX" archive
Format
INTEGER 32
BOOL
BOOL
BOOL
INTEGER 32
Depends on "FB_ARCHVAL‐
UE_XXX" archive
Format
INTEGER 32
STRING 32
INTEGER 32
231

Advertisement

Table of Contents
loading

Table of Contents