Chapter 11 Motion Control Instructions
11-301
Name Timing for changing to TRUE Timing for changing to FALSE
Error
When an input parameter is
illegal or an error occurs
during
execution.
When Execute changes from TRUE to FALSE
Output Update Timing Chart
Execute
Done
Busy
Error
Error ID
Case1 Case2
Case 1: When Execute changes from FALSE to TRUE, Busy changes to TRUE and one cycle later,
Done changes to TRUE and meanwhile Busy changes to FALSE.
Case 2: When an error occurs during the instruction execution, Error changes to TRUE and ErrorID
shows corresponding error code. Meanwhile, Busy changes to FALSE. Error changes to FALSE
when Execute changes from TRUE to FALSE.
Function
DMC_SetG0Para is used for setting the velocity, acceleration, deceleration and jerk of G0. When G0 of
G codes is executed, the velocity, acceleration, deceleration and jerk will be performed according to the
parameters set by DMC_SetG0Para instruction. The firmware of V1.01 and above supports the
function.
Programming Example
1. The variable table and program
SG0 DMC_SetG0Para
SG0_Vel ARRAY[1..8]OF LREAL