beckhoff TF4100 — 4.2.1.2.1 FB_CTRL_HYSTERESIS

PLC API Transfer function Inputs VAR_INPUT fIn : FLOAT; bManSyncValue : BOOL; bSync : BOOL; eMode : E_CTRL_MODE; END_VAR Outputs VAR_OUTPUT bOut : BOOL; eState : E_CTRL_STATE; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR VAR_IN_OUT stParams : ST_CTRL_HYSTERESIS_PARAMS; END_VAR Inputs/ outputs TF4100 27 Version: 2.2.4 Name Type Description fIn FLOAT Input of the hysteresis element bManSync Value BOOL Input through which the hysteresis element can be set to one of the two junctions. bSync BOOL A rising edge at this input sets the hysteresis element to the value "fManSyncValue". eMode E CTRL MODE _ _ Input that specifies the operation mode [} 173] of the function block.

Name Type Description bOut BOOL Output of the hysteresis element 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. bError BOOL Becomes TRUE as soon as an error situation occurs.