PLC API Behavior of the output value Example table: Description The individual setpoints are stored in the array. The array must be made known to the function block through the appropriate parameters. One of the setpoints stored in the table is selected by means of the nSetpointIndex input. This is then made available at the output, and can be used as the setpoint for the controller. Changing from one value to another can be implemented in a linear fashion or as a jump. The velocity of a continuous transition is specified by the fVeloPos and fVeloNeg parameters. The bValueReached output indicates that the chosen setpoint has been reached. Inputs VAR_INPUT nSetpointIndex : INT; fManValue :
FLOAT; eMode : E_CTRL_MODE; END_VAR TF4100 169 Version: 2.2.4 Index 1 12 2 42 3 25 … 73 Name Type Description nSetpointIndex INT Index of the selected setpoint fManValue FLOAT Input whose value is output in manual mode. eMode E CTRL MODE _ _ Input that specifies the operation mode [} 173] of the function block.