EasyManua.ls Logo

Siemens SIMATIC FM 351 - Page 77

Siemens SIMATIC FM 351
170 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6
6-31
FM 351 Positioning Function Module
EWA 4NEB 720 6001-02
6.4.2 FC ACT_DAT
With the FC ACT_DAT you read the basic operating data or the service data
from the FM 351. The FC carries out the following functions:
Reading of the data from the FM 351 and entry in the channel DB:
Basic operating data in the data area OPERATING DATA.
Service data in the data area SERVICE DATA.
Reading of the check-back signals (for example, actual value). The read
values are placed in the channel DB by the FC.
Calling in LAD Representation Calling in STL Representation
FC ACT_DAT
RET_VAL
EN ENO
SL_OP_SV
DB_NO
IN_ADAT
CALL ACT_DAT(
DB_NO :=,
SL_OP_SV :=,
RET_VAL :=,
IN_ADAT :=);
Take note of the following requirements which must be satisfied for calling
the FC ACT_DAT:
All the requirements of Chapter 6.4 must be satisfied.
The following table describes the parameters of the function block FC
ACT_DAT.
Name Data Type P Type Meaning
DB_NO BLOCK_DB I Channel DB number.
RET_VAL INT O Return code of the SFC RD_REC.
SL_OP_SV BOOL I Selection of the data which is to be read;
TRUE - Service data.
FALSE - Basic operating data.
IN_ADAT BOOL I/O Start: Read service or operating data;
TRUE - Data transfer is enabled.
FALSE - When the job has been carried out without error.
Parameter types: I = Input Parameter; O = Output Parameter; I/O = In/Out Parameter (start parameter).
Task
Calling Methods
Requirements
Parameter
Description
Programming the FM 351

Table of Contents

Other manuals for Siemens SIMATIC FM 351

Related product manuals