PLC API 4.2.1.5.2 FB_CTRL_NORMALIZE This function block can be used to linearize a non-linear transfer element, with the aid of an inverse characteristic curve. The characteristic curve of the transfer element that is to be linearized is stored in the table associated with this function block. The function block uses this to calculate the inverse characteristic curve with which the linearization can be carried out. Sample The following valve characteristic curve is stored in the table with 4 interpolation points. TF4100 120 Version: 2.2.4 Name Type Description tCtrlCycleTime TIME Cycle time with which the control loop is processed. This must be greater than or equal to the TaskCycleTime.
The function block uses this input value to calculate internally whether the state and the output values have to be updated in the current cycle. tTaskCycleTime TIME Cycle time with which the function block is called. If the function block is called in every cycle this corresponds to the task cycle time of the calling task. pDataTable _ ADR POINTER TO FLOAT Address of the n x 2 array on which linear interpolation is to be carried out. nDataTable _ SIZEOF UINT Size of the n x 2 array nDataTable _ NumberOfRows UINT Number of rows in the array