MOD_CAM: Adjustment of cam parameters
(Original Document)
Function description
The MOD_CAM function is used to adjust a cam dynamically. Transferring new data does not require the cam processor to switch to STOP mode.
If the transfer:
For a more detailed description of how this function operates, refer to the application specific electronic cam manual.
The additional parameters EN and ENO can be configured.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD IODDT_Var
MOD_CAM Action, Group_Num, Cam_Num
Representation in ST
Representation:
MOD_CAM(IODDT_Var, Action, Group_Num, Cam_Num);
Description of the parameters
The following table describes the input parameters:
Parameter
Type
Comment
IODDT_Var
IODDT variable corresponding to the channel on which the function is to be carried out.
Example: IODDT_Var of type T_CCY_GROUP0
Action
Type of action to be carried out:
  • Action = 0: pre-loading of the exchange zone with the initial values.
  • Action = 1: pre-loading of the exchange zone with the current adjustment values.
  • Action = 2: sends new values to the module and updates the current parameter zone.
Group_Num
Number of group to which the cam belongs.
Cam_Num
Number of cam in the group.
* IODDT represents the set of types associated with a module or a channel on which the function is to be carried out.