EasyManua.ls Logo

Siemens SIMATIC FM 351 - Fc Sng_Com

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-25
FM 351 Positioning Function Module
EWA 4NEB 720 6001-02
6.3.4 FC SNG_COM
With the FC SNG_COM you call the single commands Undo set actual
value and Delete residual distance on the FM 351. The FC carries out the
following actions:
Transfer of the data area SINGLE_COMMANDS from the channel DB to
the FM 351.
By calling the FC, the single commands are executed according to your
selection.
Calling in LAD Representation Calling in STL Representation
FC SNG_COM
RET_VAL
EN ENO
DATA_ERR
JP_SNG_C
IN_SNG_C
DB_NO
CALL SNG_COM(
DB_NO := ,
RET_VAL := ,
DATA_ERR := ,
JP_SNG_C := ,
IN_SNG_C := );
Take note of the following requirements which must be satisfied for calling
the FC SNG_COM:
The data for the single commands must be set in the channel DB in the
data area SINGLE_COMMANDS. Ensure that all the parameters in the
data area contain correct data.
All the requirements of Chapter 6.3 must be satisfied.
The following table describes the parameters of the function block FC
SNG_COM.
Name Data Type P Type Meaning
DB_NO BLOCK_DB I Channel DB number.
RET_VAL INT O Return code of the SFC WR_REC.
DATA_ERR BOOL O Data error.
IN_SNG_C BOOL I/O Start: Call single commands;
TRUE - Data transfer is enabled.
FALSE - When job is finished.
JP_SNG_C BOOL O TRUE - Data transfer is active.
FALSE - Data transfer is terminated.
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