beckhoff TF4100 — 4.2.1.8.1 FB_CTRL_3PHASE_SETPOINT_GENERATOR

PLC API Inputs VAR_INPUT bStart : BOOL; bStop : BOOL; bReset : BOOL; fOverride : LREAL; END_VAR Outputs VAR_OUTPUT fSetPos : LREAL; fSetVelo : LREAL; fSetAcc : LREAL; nSetDirection : INT; bCommandBuffered : BOOL; bDone : BOOL; bCommandAborted : BOOL; eErrorId : E_CTRL_ERRORCODES; bError : BOOL; END_VAR TF4100 154 Version: 2.2.4 Name Type Description bStart BOOL Setpoint generation begins when a positive edge appears at the bStart input, provided the generator is not already active and that the bStop and bReset inputs are FALSE. bStop BOOL Generation of the setpoints is stopped by a positive edge at the bStop input.

Braking is carried out using the deceleration specified in the current parameter set, and any subsequent task that may be pending is deleted. bReset BOOL Reset of the setpoint generator; any positioning operation that may be active is immediately aborted, the outputs fSetVelo and fSetAcc become 0.0, the set position is set to the start position and the internal states are deleted. fOverride LREAL The set velocity can be scaled through an override in the range [ 0 .. 100.0 % ]. If the override is 100%, then the generated profile uses the set velocity as specified in the parameter set. The override implemented here does not scale the current runtime table when the override is changed.

Instead, an internal restart instruction is generated having a different set velocity. The override has a resolution of 0.1%.