Movf; Jmp - Yamaha SRCP User Manual

Single-axis robot controller
Hide thumbs Also See for SRCP:
Table of Contents

Advertisement

8-4-3 MOVF

Function:
Format:
Example:
Explanation:
Other:

8-4-4 JMP

Function:
Format:
Example:
Explanation:
Other:
Moves until a specified DI number input is received.
MOVF
<point number> <DI number> <DI status>
MOVF
1, 2, 1
The robot moves toward P1 and stops when DI2 turns on. Program ex-
ecution then proceeds to the next step.
This is used when searching for a target position using sensors or other
devices.
The robot starts moving when all axes enter the positioning-completed
pulse range, and stops when the DI conditions are met. Even if the DI
conditions are not met, this command terminates when the robot reaches
the specified point and proceeds to the next step.
(1) Point number
The point number is a number designated to each point from 0 to
999, a total of 1000 points, and used to create point date in PNT
(point) mode. When a character "P" is entered here for special use, a
point variable defined by the "P" statement is set as the point number.
(See "8-4-12 P".)
(2) DI number
Specify one of the eight (0 to 7) general-purpose inputs.
(3) DI status
"1" means "on" and "0" means "off".
• The robot speed during execution of the MOVF movement can be
specified by PRM9. (Refer to "PRM9: MOVF speed") Note that this
will not be affected by the OPRT mode execution speed.
Jumps to a specified step in a specified program.
JMP
<label number>, <program number>
JMP
10, 8
Jumps to label 10 in program 8.
This command is used to control the flow of program execution.
(1) Label number
The label number is a number defined by the "L" statement, and
indicates the destination to jump. Any number from 0 to 255 can be
specified. (See "8-4-7 L".)
(2) Program number
The program number is a number used to identify the 100 individual
programs from 0 to 99.
• Even when the program number is changed by the JMP statement,
resetting it will return to the original program number when program
execution begins.
8-4 Robot Language Description
8
7
8-

Advertisement

Table of Contents
loading

Table of Contents