PLC API Inputs VAR_INPUT fIn : FLOAT; fManSyncValue : FLOAT; bSync : FLOAT; fManValue : FLOAT; eMode : E_CTRL_MODE; END_VAR VAR_OUTPUT fOut : FLOAT; eState : E_CTRL_STATE; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR Outputs Inputs/ outputs VAR_IN_OUT stParams : ST_CTRL_LEAD_LAG_FILTER_PARAMS; END_VAR stParams consists of the following elements: TYPE ST_CTRL_LEAD_LAG_FILTER_PARAMS: STRUCT tCtrlCycleTime : TIME := T#0ms; tTaskCycleTime : TIME := T#0ms; tT1 : TIME := T#0ms; (* T1 *) tT2 : TIME := T#0ms; (* T2 *) END_STRUCT END_TYPE TF4100 96 Version:
2.2.4 Name Type Description fIn FLOAT Input value of the notch filter fManSyncValue FLOAT Input value that is output at the output in manual mode. bSync FLOAT reserve fManValue FLOAT Input that specifies the operation mode [} 173] of the function block. eMode E CTRL MODE _ _ A TRUE at this input will hold the internal state (and therefore also the output) constant at its current value, independently of the input value. Name Type Description fOut FLOAT Lead/lag filter output eState E CTRL STATE _ _ State of the function block eErrorId E CTRL ERROR _ _ CODES Supplies the error number [} 173] when the output bError is set. (p>) bError BOOL Becomes TRUE, as soon as an error occurs.
Name Type Description stParams ST CTRL LEAD _ _ _ LAG FILTER _ _ PARAMS Parameter structure of the lead/lag filter