![background image](http://html1.mh-extra.com/html/omron/c200h-mc221/c200h-mc221_operation-manual_742324119.webp)
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
Содержание C200H-MC221 -
Страница 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Страница 2: ......
Страница 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 16: ...xvi ...
Страница 42: ......
Страница 48: ......
Страница 196: ......
Страница 212: ......
Страница 242: ......
Страница 258: ......
Страница 304: ......