99
Example Program
The following program shows the effect of changing the interpolation accelera-
tion time during interpolation.
:
:
N009
G01
X200
Y300
N010
G69
#3/X100
N011
G01
X300
Y500
N012
G01
X500
Y800
:
:
The new interpolation acceleration time
is effective between the next two G01
functions after the G69 function.
5-5-21 G70: UNCONDITIONAL JUMP
Unconditionally jumps to the specified block.
Format
G70_<jump destination block number> [/L<number of loops>]
Parameters
The following table shows the possible settings for the parameters.
Parameter
Possible settings
Destination block number
N000 to N999
Number of loops
1 to 39,999,999
(E00 to E31)
A0000 to A1999
Description
This function unconditionally jumps to the specified block. A fixed number of
jumps (a loop) can be created by specifying a number of loops.
When a number of loops is specified, the destination block number must be
before the current block number.
If another UNCONDITIONAL JUMP function (G70) or a CONDITIONAL JUMP
function (G71) is used to exit a loop before the number of loops has counted
down to zero, the number of loops will be cleared when another loop is started.
A second loop function can’t be executed while a loop is in progress. The follow-
ing diagram demonstrates this programming mistake.
N003
G01
X100
Y100
F100
:
:
N007
G70
N003/L10
:
:
N010
G70
N003/L5
Loops can’t be nested as shown above, but up to 6 loops can be nested by call-
ing subprograms containing loops. The number of loops in each subprogram is
cleared when the subprogram ends. Refer to
5-5-23 G72: Subprogram Jump
for
details.
G Functions
Section 5-5
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......