beckhoff TF4100 — 4.2.1.8.1 FB_CTRL_3PHASE_SETPOINT_GENERATOR

PLC API 4.2.1.8 Setpointgeneration 4.2.1.8.1 FB_CTRL_3PHASE_SETPOINT_GENERATOR This function block represents a 3-phase setpoint generator. Description This function block generates a 3-phase setpoint profile in which the acceleration has a rectangular curve. It is possible to specify a new parameter set while the generator is active. Depending on the specified type of parameter set, it is activated immediately: eNewParameterType := eCTRL_NEW_PARAMETER_TYPE_Instant Alternatively, the current movement is first completed and then a new movement is started with the new parameter set:

eNewPosType := eCTRL_NEW_PARAMETER_TYPE_NotInstant NOTICE Overrunning the end position Specifying a new parameter set may mean that the previous end position is exceeded. See the sample. It is generally recommended that end position monitoring is included after the setpoint generator. TF4100 153 Version: 2.2.4 Name Type Description tCtrlCycleTime TIME Cycle time with which the control loop is processed. This must be greater than or equal to the TaskCycleTime. The function block uses this input value to calculate internally whether the state and the output values have to be updated in the current cycle. tTaskCycleTime TIME Cycle time with which the function block is called.

If the function block is called in every cycle this corresponds to the task cycle time of the calling task. tOnTime TIME Pulse length tOffTime TIME Pause length nMaxMoving Pulses DINT Max. number of pulses required to move from one limit to another. nMinMoving Pulses UINT Min. number of pulses required to move from one limit to another. bHoldWith OutputOn BOOL If this parameter is set to TRUE, then an output remains set when the drive is stationary. This will result in braking. nAdditionalPulse sAtLimits DINT Number of supplementary pulses that are output to reliably ensure that limits are reached.

bMoveOnLimit Switch BOOL If this is TRUE, then pulses are output when the control value is either 0% or 100% until the limit switch is reached. fCtrlOutMax FLOAT Control value for which the valve will be driven to 100%. fCtrlOutMin FLOAT Control value for which the valve will be driven to 0%.