TRF_RECIPE: Loading a new recipe
(Original Document)
Overview of loading
Loading is triggered by a call from the application program.
Example
Loading defines word %MW800. We will use a variable Channel_0 of type IODDT T_CCY_GROUP0
Action {Load} TRF_RECIPE (Channel_0,0,800) or
%MW0:= 800; TRF_RECIPE (Channel_0,0,%MW0)
Checking the exchange
During the transfer, the bit (x15) Adj_In_ Prog is set to 1.
At the end of the exchange, the Adjust_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: