Fc Tg253_5 - Siemens SIMATIC FM 351 Installation Manual

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

Advertisement

6.3.6

FC TG253_5

Task
With the FC TG253_5 you transfer the Increment 255 and the values for the
switch-off and switchover difference for the incremental operating mode to
the FM 351. The FC carries out the following actions:
Calling Methods
Requirements
Take note of the following requirements which must be satisfied for calling
the FC TG253_5:
Parameter
The following table describes the parameters of the function block
Description
FC TG253_5.
Name
Data Type
DB_NO
BLOCK_DB
RET_VAL
INT
DATA_ERR
BOOL
SL_253_5
BOOL
IN_TG253_5 BOOL
JP_TG253_5 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
Transfer of the values for the Increment 255 to the FM 351.
Transfer of the differences to the FM 351.
Calling in LAD Representation
FC TG253_5
EN
DB_NO
RET_VAL
SL_253_5
DATA_ERR
IN_253_5
JP_253_5
All the requirements of Chapter 6.3 must be satisfied.
You place the selection for the Increment 255 and the associated differ-
ence values in the relevant DB in the data area TARGET_255.
P Type
I
Channel DB number.
O
Return code of the SFC WR_REC.
O
Data error.
O
Must always be TRUE.
TRUE - Increment 255
I/O
Start: Load Increment 255.
TRUE - Data transfer is enabled.
FALSE - When job is finished.
O
TRUE - Data transfer is active.
FALSE - Data transfer is terminated.
Programming the FM 351
Calling in STL Representation
CALL
TG253_5(
DB_NO
ENO
SL_253_5
RET_VAL
DATA_ERR
JP_253_5
IN_253_5
Meaning
:=,
:=,
:=,
:=,
:=,
6
:=);
6-27

Advertisement

Table of Contents
loading

Table of Contents