Siemens SIMATIC PCS 7 Function Manual page 78

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

Advertisement

Storage location management
5.2 FB_SACT
When the function is triggered by the OS and "OP_REC_W" = 1, the actual values are read
from the instance data blocks of the "FB_STOR" block and entered in full in a data cell. The
number of "IN_COUNT" actual values and the "IN_COL01" / "IN_FOR01" to "IN_COL10" /
"IN_FOR10" parameters are written in the header of the data cell. The "FB_SACT" block sends
the data cell to the OS with the "FB_UA_WM" block. If data transfer is completed without errors,
the "FB_SACT" block sets the output "WR_OK".
The request in progress is aborted if the OS "OP_REC_W" request is canceled (OP_REC_W
= 0).
One "FB_SACT" block must be configured in the CFC for each AS. The individual "FB_SACT"
blocks to be triggered are identified by the AS ID in the user archive ("ASNO" in the
FB_STORAGE archive).
The AS ID must be entered in the "FB_STOR_ED.pdl" process picture. This ID must
correspond to the ID specified in the APF Engineering Tool as it is assigned to a tag name for
the corresponding "FB_SACT" block.
The following schematic diagram shows how the "FB_SACT" block works:
Data cell
The maximum size of the data cell for transferring the data is 16230 bytes. The index aa, bb,
etc. can have the value 01, 02, 03 up to a maximum of 25 (IN_DB with input value 0 is skipped),
and index y the value 1 to a maximum of "IN_COUNT", in ascending order.
IN_COUNT
IN_COL1
IN_FOR1
78
1.
1.
2.
CELL
4.
. . .
FORMAT
INT
INT
INT
3.
3.
Bytes
2
0
2
2
2
4
Advanced Process Functions (APF)
Function Manual, 07/2016, A5E38719883-AA
2.
Address

Advertisement

Table of Contents
loading

Table of Contents