
8
8-50 Chapter 8 Robot Language Lists
A
B
C
D
E
F
G
H
I
J
K
L
M
29
DRIVE
●
Point definition
Point data is specified in <
expressions
>. The axis data specified by the <
axis number
> is
used. If the point expression is in "mm/degrees" units, movement for each axis occurs from the
0-pulse position to the pulse-converted position. However, when using the optional XY setting,
movement occurs from the Cartesian coordinate origin position.
SAMPLE
DRIVE(1,P1) ·················· Axis 1 of robot 1 moves from its current position to
the position specified by P1.
DRIVE(4,P90) ·················· Axis 4 of robot 1 moves from its current position to the
position specified by P90 (deg) relative to the 0 pulse
position. (When axis 4 is a rotating axis.)
Option types
●
Speed setting
Format
1.
SPEED =expression
2.
S =expression
Values
expression
..............................1 to 100 (units: %)
Explanation
The program's movement speed is specified as an <
expression>
.
The actual speed is determined as shown below.
• Robot's max. speed (mm/sec, or deg/sec) × automatic movement speed (%) ×
value of
expression
(%)
This option is enabled only for the specified DRIVE statement.
SAMPLE
DRIVE(2((1,10000),S=10 ········ Axis 1 of robot 2 moves from its current position to
the 10000 pulses position at 10% of the automatic
movement speed.
Format
1.
DSPEED =expression
2.
DS =expression
Values
expression
..............................0.01 to 100.00 (units: %)
Explanation
The axis movement speed is specified in <
expression>
.
The actual speed is determined as shown below.
• Robot's max. speed (mm/sec, or deg/sec) × value of
expression
(%)
This option is enabled only for the specified DRIVE statement.
• Movement always occurs at the DSPEED <
expression>
value (%) without being
affected by the automatic movement speed value (%).
SAMPLE
DRIVE 2 (1,10000),DS=0.1 ······ Axis 1 of robot 2 moves from its current position to
the 10000 pulses position at 0.1% of the maximum speed.
NOTE
•
If point data is specified
with both integers and
real numbers in the same
statement, all values are
handled in "mm/degrees"
units.
NOTE
•
This defines the maximum
s p e e d , a n d d o e s n o t
g u a r a n t e e t h a t a l l
movement will occur at
specified speed.
NOTE
•
SPEED option and DSPEED
option cannot be used
together
Summary of Contents for SCARA YRCX Series
Page 1: ... 7 6HULHV DW 1R 1 5 5RERW RQWUROOHU 352 5 00 1 0 18 6 5 5RERWV 5 6HULHV ...
Page 2: ......
Page 20: ......
Page 26: ......
Page 27: ...Chapter 2 Constants 1 1 Outline 2 1 2 2 Numeric constants 2 1 3 3 Character constants 2 2 ...
Page 28: ......
Page 32: ......
Page 52: ......
Page 54: ......
Page 61: ...Chapter 5 Multiple Robot Control 1 1 Overview 5 1 2 2 Command list with a robot setting 5 2 ...
Page 62: ......
Page 66: ......
Page 76: ......
Page 78: ......
Page 92: ......
Page 328: ......
Page 408: ......
Page 409: ...Chapter 11 User program examples 1 1 Basic operation 11 1 2 2 Application 11 8 ...
Page 410: ......
Page 432: ......
Page 488: ......
Page 489: ...Chapter 13 Appendix 1 1 Reserved word list 13 1 2 2 Changes from conventional models 13 3 ...
Page 490: ......
Page 496: ......
Page 497: ...Index ...
Page 498: ......
Page 504: ......
Page 505: ......
Page 506: ... DW 1R 1 XWKRUL HG LVWULEXWRU 3ULQWHG LQ XURSH ...