TRF_RECIPE: Saving a new
(Original Document)
Saving overview
Saving a recipe:
Example
Transferring the recipe used in the module to the %MW800 table. We will use a variable Channel_0 of type IODDT T_CCY_GROUP0.
(* Action {Save} *) TRF_RECIPE (Channel_0,1,800); or
%MW0:= 800; TRF_RECIPE (Channel_0,1,%MW0);
Checking the exchange
During the transfer, the bit (x15) Adj_In_ Prog is set to 1.
At the end of the exchange, the Adj_err bit is set to 1 if the exchange has not been successful. The READ_STS function is used to update the channel status.
It contains the following data: