PLC-API pDataTable_SIZEOF : Size of the n x 2 array. pDataTable_NumberOfRows : Number of rows of the array. Requirements 5.7 Monitoring / Alarming 5.7.1 FB_CTRL_CHECK_IF_IN_BAND This function block monitors whether the input value is within the range [ fMin ... fMax ], i.e. whether the inequality is satisfied. VAR_INPUT VAR_INPUT fIn : FLOAT; END_VAR fIn : The input variable to be monitored. VAR_OUTPUT VAR_OUTPUT bInBand : BOOL; bNotInBand : BOOL; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR bInBand : A TRUE at this output indicates that the input value is within the specified range. bNotInBand : A TRUE at this output indicates that the input value is not within the specified range.
eErrorId : Supplies the error number [ } 16] when the bError output is set. bError : Becomes TRUE, as soon as an error occurs. VAR_IN_OUT VAR_IN_OUT stParams : ST_CTRL_CHECK_IF_IN_BAND_PARAMS; END_VAR stParams : Parameter structure of the function block. This consists of the following elements: TS4100 112 Version: 1.1 Development Environment Target System PLC libraries to include TwinCAT v2.8 PC (i386) TcControllerToolbox.lib TwinCAT v2.9 from Build 947 BC [} 10] TcControllerToolbox.lb6 TwinCAT v2.9 from Build 956 BX [} 10] TcControllerToolbox.lbx