MOD_TRACK: Adjusting a track
(Original Document)
General
The MOD_TRACK function is used to adjust a track dynamically. Transferring new data does not require the cam processor to switch to STOP. If the transfer is successful, the new parameters are taken into account by the module. If the transfer is not successful, the cam processor remains in RUN with the old values.
The MOD_TRACK function only affects the feedforward value of a track.
This function applies to a channel and therefore a variable type IODDT. We will use the variable Channel_0 of type T_CCY_GROUP0.
Parameter buffer
The exchange zone used by the MOD_TRACK function is a buffer made up of the reserved word: %MWr.m.0.16.
Loading the exchange zone
The exchange zone (buffer) can be preloaded:
Sending the new values to the module
After modification in the buffer:
Key
Group: identifies the group number
Track: identifies the track number
Initializing the parameter buffer
{Get} action or {Read} action
Example
For Group 0 Track 4
The execution of the MOD_TRACK function can be monitored via the channel status level.
Sending the new
{Send} action
Example
For Group 0 Track 4:
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: