Part 4 Commands
1.8 Program Control
GOTO (Jump)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional GOTO
Tag
number
Prohibited CP
Jump to the position of the tag number specified in operand 1.
A GOTO command is valid only within the same program.
Do not create a program containing an indefinite loop of continuous movement commands
(refer to Chapter 4 in Part 4) using the TAG-GOTO syntax. It will result in an accumulation of
coordinate conversion errors.
Using a GOTO command to branch out of or into any of the syntaxes listed below is prohibited.
Since the maximum number of nests is defined for each conditional branching command or subroutine call,
a nest will be infinitely repeated if an EDXX is not passed, and a nest overflow error will generate. In the
case of palletizing setting, an error will generate if the second BGPA is declared after the first BGPA
declaration without passing an EDPA.
(1) IFXX or ISXX and EDIF syntax
(2) DWXX and EDDO syntax
(3) SLCT and EDSL syntax
(4) BGSR and EDSR syntax
(5) BGPA and EDPA syntax
TAG (Declare tag)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Prohibited Prohibited TAG
Tag
number
Prohibited CP
Set the tag number specified in operand 1.
Refer to the section on GOTO command.
Commentaires sur ces manuels