Siemens SIMATIC FM 351 Installation Manual page 77

Positioning function module
Hide thumbs Also See for SIMATIC FM 351:
Table of Contents

Advertisement

6.4.2
FC ACT_DAT
Task
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:
Calling Methods
Requirements
Take note of the following requirements which must be satisfied for calling
the FC ACT_DAT:
Parameter
The following table describes the parameters of the function block FC
Description
ACT_DAT.
Name
Data Type
DB_NO
BLOCK_DB
RET_VAL
INT
SL_OP_SV
BOOL
IN_ADAT
BOOL
Parameter types: I = Input Parameter; O = Output Parameter; I/O = In/Out Parameter (start parameter).
FM 351 Positioning Function Module
EWA 4NEB 720 6001-02
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
FC ACT_DAT
EN
DB_NO
RET_VAL
SL_OP_SV
IN_ADAT
All the requirements of Chapter 6.4 must be satisfied.
P Type
I
Channel DB number.
O
Return code of the SFC RD_REC.
I
Selection of the data which is to be read;
TRUE - Service data.
FALSE - Basic operating data.
I/O
Start: Read service or operating data;
TRUE - Data transfer is enabled.
FALSE - When the job has been carried out without error.
Programming the FM 351
Calling in STL Representation
CALL ACT_DAT(
DB_NO
ENO
SL_OP_SV
RET_VAL
IN_ADAT
Meaning
:=,
6
:=,
:=,
:=);
6-31

Advertisement

Table of Contents
loading

Table of Contents