AH Motion Controller – Motion Control Instructions Manual Jerk := 0.0 , Direction := 0 , BufferMode := 1 , (* emC_BUFFER_MODE.mcAborting *) InVelocity => M20 , Busy => M21 , Active => M22 , CommandAborted => M23 , Error => M24 , ErrorID => D2 ); MC_STOP( Axis := 1 , Execute := M3 , Deceleration := 100.0 , _3 Jerk := 0.0 , Done => M30 , Busy => M31 , Active => M32 , CommandAborted => M33 , Error => M34 , ErrorID => D4 ); (* When MC_Power.Status = TRUE , Execute MC_MoveVelocity *) IF M10 THEN TMR (T0, 10) ; ELSE T0 := FALSE ; END_IF; M2 := M10 & NOT T0 ; (* When MC_MoveVelocity.InVelocity = TRUE , Start Timer T1 *) IF M20 THEN TMR (T1, 100) ; ELSE T1 := FALSE; END_IF; (* When Timer T1=10sec , execute MC_Stop *) IF T1 THEN M3 := TRUE ; ELSE M3 := FALSE ; - When M1( Enable ) is set to True manually, the system will execute as below process.
END_IF; 3-22