6
6-23
FM 351 Positioning Function Module
EWA 4NEB 720 6001-02
6.3.2 FC ACT_VAL
With the FC ACT_VAL you call Set actual value. The FC carries out the
following actions:
Transfer of the value for setting the actual value from the channel DB to
the FM 351.
By calling the FC you set a new actual value for the current axis position.
Calling in LAD Representation Calling in STL Representation
FC REFPT
RET_VAL
EN ENO
DATA_ERR
JP_AVAL
IN_AVAL
DB_NO
CALL ACT_VAL(
DB_NO := ,
RET_VAL := ,
DATA_ERR := ,
JP_AVAL := ,
IN_AVAL := );
Take note of the following requirements which must be satisfied for calling
the FC ACT_VAL:
The value for the new actual value must be set in the channel DB in the
parameter SETTING_ACT_VALUE.
All the requirements of Chapter 6.3 must be satisfied.
The following table describes the parameters of the function block FC
ACT_VAL.
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_AVAL BOOL I/O Start: Set actual value;
TRUE - Data transfer is enabled.
FALSE - When job is finished.
JP_AVAL 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