I tried MC_BR_MoveCyclicVelocity as follows and it is not working, I get an error 29206 : The controller is OFF. Please show me what I am doing wrong
fbAxis1MoveCycVel(Axis := ADR(gAxis1), Enable := TRUE, CyclicVelocity := 500);
IF ConditionA THEN
fbAxis1MoveCycVel(Axis := ADR(gAxis1), Enable := TRUE, CyclicVelocity := 1200);
ELSE
fbAxis1MoveCycVel(Axis := ADR(gAxis1), Enable := TRUE, CyclicVelocity := 500);
END_IF;