PLCopen Motion Control Activated : Indicates that a stall situation was detected since the last start of an active axis movement. Error : The occurrence of an error is indicated here. ErrorID : An encoded indication of the cause of the error is provided here. Axis : Here, the address of a variable of type Axis_Ref_BkPlcMc [ } 67] should be transferred. Behaviour of the function block: During each call the function block checks whether it has to change the state. It goes in the active state if the internal motion phase permits this under the rules of EnableAcc, EnableDec and the velocity error continuously exceeds the value of VeloLimit for at least LimitFilter .
EnableAcc enables the function block to intervene during phases with constant phases or phases with rising magnitude. EnableDec enables the activity of the function block for phases with falling magnitude or constant velocity. Active and Activated are set during the transition to the active state. The function block changes to inactive state if the velocity error was reduced to half the value of VeloLimit . Active is cancelled during the transition to the inactive state. In active state the control value is adjusted to the actual velocity with the time constant UpdateFilter . If the time constant is set to 0.0, the actual velocity is applied directly.
In inactive state Activated is cancelled, if the axis leaves the idle state and starts an active motion. NOTE! Since the function block evaluates the difference between set and actual velocity, it is important to set the reference velocity correctly when this function block is used. Imprecise setting of this parameter can result in unnecessary intervention by the function block in the motion. The following Scope View shows a positioning, during which an obstacle was encountered twice. In each case the axis stopped completely. PLC Library Hydraulics 122 Version: 1.4