TRF_RECIPE Examples
(Original Document)
Example 1: Saving the variable controller parameters
Transferring the variable speed controller parameters from real axis 3 of the module situated at position 4 of rack 1, into the internal words %MW100 to %MW1100, in order to save them. The length of the table being 1000 words. The IODDT-type variable T_CSY_TRF used is called VAR_TRF_1 and is associated with channel 3 of the module.
!
(*If no exchange of parameters is in progress, then transfer the parameters table into the PLC*)
VAR_TRF_1.ACTION_TRF := 16001;
TRF_RECIPE (VAR_TRF_1, 1000, 100);
END_IF;