beckhoff TF4100 — 4.2.1.6.1 FB_CTRL_CHECK_IF_IN_BAND

PLC API 4.2.1.6 Monitoring / Alarming 4.2.1.6.1 FB_CTRL_CHECK_IF_IN_BAND The function block monitors whether the input value is within the range [fMin ... fMax], i.e. whether the inequality fMin fIn fMax Ј Ј is fulfilled. VAR_INPUT fIn : FLOAT; END_VAR Inputs Outputs VAR_OUTPUT bInBand : BOOL; bNotInBand : BOOL; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR TF4100 123 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 Name Type Description fIn FLOAT Input value that is monitored.