PLC API ARW VAR_INPUT fSetpointValue : FLOAT; fActualValue : FLOAT; eParameterRecord : E_CTRL_PARAMETER_RECORD; fManSyncValue : FLOAT; bSync : BOOL; eMode : E_CTRL_MODE; bHold : BOOL; END_VAR Inputs Outputs VAR_OUTPUT fOutPos : FLOAT; fOutNeg : FLOAT; fOut : FLOAT; bARWActive : BOOL := FALSE; bParameterChangeActive : BOOL; bError : BOOL; eErrorId : E_CTRL_ERRORCODES; END_VAR TF4100 69 Version: 2.2.4 Name Type Description fSetpointValue FLOAT Setpoint of the controlled variable fActualValue FLOAT Actual value of the controlled variable eParameterReco rd E CTRL PARAM _ _ ETER RECORD _ Index of the active parameter set fManSyncValue FLOAT Input with which the PI element can be set.
bSync BOOL A rising edge at this input sets the PI-element to the value "fManSyncValue". eMode E CTRL MODE _ _ Input that specifies the operation mode [} 173] of the function block. bHold BOOL A TRUE at this input will hold the internal state (and therefore also the output) constant at its current value, independently of the control deviation.