G70: Unconditional Jump - Omron C200H-MC221 Operation Manual

Motion control unit
Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

G Functions
Example Program

5-5-21 G70: UNCONDITIONAL JUMP

Format
Parameters
Description
The following program shows the effect of changing the interpolation accelera-
tion time during interpolation.
:
:
N009
G01
X200
N010
G69
#3/X100
N011
G01
X300
N012
G01
X500
:
:
Unconditionally jumps to the specified block.
G70_<jump destination block number> [/L<number of loops>]
The following table shows the possible settings for the parameters.
Parameter
Destination block number
Number of loops
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
N007
N010
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.
Y300
Y500
Y800
The new interpolation acceleration time
is effective between the next two G01
functions after the G69 function.
Possible settings
N000 to N999
1 to 39,999,999
(E00 to E31)
A0000 to A1999
G01
X100
Y100
:
:
G70
N003/L10
:
:
G70
N003/L5
Section 5-5
F100
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents