The text of a manual · part 13 of 22
580 Series Controller Teach Pendant Operation Manual, pages 121 to 130
Pages 121 to 130 of 217
The original document is the PDF (3.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Hirata H3335
Page 121
CHAPTER 15 OPERATION METHOD FOR VISION IN AUTO MODE
CHAPTER 15
Operation Method for Vision in AUTO Mode
Currently this function is not used for this system.
15-1
Page 122
CHAPTER 16 ROBOT OPERATION
CHAPTER 16
Robot Operation
The robot operations can be categorized into three types as shown below.
z PTP operation z Pass PTP operation z CPC operation Each of these operations can be determined by M-data, S-code, F-code and system data i of each position. This chapter describes the operations and the methods to execute such operations, and the required parameters.
16.1
PTP Operation PTP is the acronym for “Point To Point.” With PTP operation, a robot moves between two given points in the minimum required time. For this operation, routes between the teaching points cannot be specified. Normally this operation is applied to jobs like Pick & Place. PTP operations performed by our robots are explained below.
16.1.1
Gate Motion
When a robot automatically raises its height along the Z-Axis upon moving from the point A where it is currently positioned, to a destination point B, the motion is called the gate motion. To set this gate motion, M-data of the destination point B should be specified so that the PTP operation is executed with the M-data. Also, the Z-Axis moves up to a level specified by 「MOTION」→「MOTION」→「PULL-UP」 in System Parameter menu ii. Below is the description of the gate motion.
z When the levels at both points A and B are lower than the level (value) specified for 「PULL-UP」 (Example 1)
First, the Z-Axis rises to the value specified for 「PULL-UP」, then shifts horizontally, and finally the Z-Axis lowers. The way in which actual robot moves is A→A’→B’→B.
z When the level at destination point B is higher than the level (value) specified for 「PULL-UP」 (Example 2)
First, the Z-Axis rises to the level (value) specified for 「PULL-UP」, then the robot moves to the destination. The way in which robot actually moves is A→A’→B.
i
: Refer to Chapter 17, “System Data.” ii
: Press the
FUNC s.p HIGH + 8 keys to go to this screen menu.
16-1
Page 123
CHAPTER 16 ROBOT OPERATION z When the level at current point A is higher than the level (value) specified for 「PULL-UP」 (Example 3)
First, the Z-Axis moves to the destination and to the level (value) specified for 「PULL-UP」 at the destination, then the Z-Axis lowers. The way in which actual robot moves is A→B’→B. PULL-UP value A’
B’
A
B
A’
B
A
B’
B
A
Example1
Example2
Example3
Fig.16.1 Gate Motion Examples
16.1.2
Arch Motion
In the gate motion described above, the robot first rises along the Z-Axis before moving from point A to point B. By contrast, in arch motion, the robot can move horizontally while raising its Z-Axis and can lower its Z-Axis while moving horizontally. To set the arch motion, first specify PTP operation for M-data of the destination point B so that the PTP operation is executed with the M-data. Then, the value of a level should be specified for 「PULL-UP」 for the Z-Axis that moves horizontally, by selecting 「MOTION」→「MOTION」→「PULLUP」 in System Parameter menu i. Then, specify a level, at which horizontal traveling starts during rising of Z-Axis, by entering a value other than 0 in 「ARCH UP」, and another level, at which Z-Axis starts lowering during horizontal travel, by entering a value other than 0 in 「ARCH DOWN」, respectively in the same menu group. The description of the arch motion is as follows.
z When the levels at both points A and B are lower than the level (value) specified for 「PULL-UP」 (Example 1)
First, the Z-Axis rises to the value specified for 「ARCH UP」, then rises up to a value specified for 「PULL-UP」 horizontally shifting, keeps moving horizontally, lowers to a value specified for 「PULLUP」 horizontally shifting and finally the Z-Axis lowers.
z When the level of destination point B is higher than the level (value) specified for 「PULL-UP」 (Example 2)
First, the Z-Axis rises to the level (value) specified for 「ARCH UP」, then further rises to reach the destination level while moving horizontally.
i
: Press the
FUNC s.p HIGH + 8 keys to go to this screen menu.
16-2
Page 124
CHAPTER 16 ROBOT OPERATION z When the level of current point A is higher than the level (value) specified for 「PULL-UP」 (Example 3)
First, the Z-Axis lowers to the level (value) specified for 「ARCH DOWN」 while moving horizontally, then lowers. 「ARCH DOWN」 operation is designed to prohibit the Z-Axis from completely lowering before starting to move horizontally. Therefore, in some cases downward curves as specified may not be obtained. PULL-UP value
UP
DOWN
A
B
A
B
UP
DOWN
A
Example1
B Example2
Example3
Fig.16.2 Arch Motion Example
16.1.3
Insertion Motion/Slow-Up Motion
The insertion motion can be used to decelerate the motion speed of the ZAxis prior to positioning when only the Z-Axis is moved from current point A to a target point B. With this motion, smooth operation is possible in inserting a work. To set this function, specify a value in the fifties (50-59) as the M-data of the target point B, and specify the distance and speed of inserting by entering a value in 「INS DIS.」 and 「INS SPEED」 respectively by selecting 「MOTION」→「MOTION」→「INS DIS.」 and 「INS SPEED」 in System Parameter group menu. The slow-up motion allows Z-Axis to rise smoothly at the start of rising when only Z-Axis moves from current point A to a target point B. To set this function, specify a value in the forties (40-49) as the M-data of the target point B, and specify the distance, at which the rising speed becomes slower, and the speed. To do so, enter a value in 「UP DIS.」 and 「UP SPEED」 respectively by selecting 「MOTION」→「MOTION」→「UP DIS.」 and 「UP SPEED」 in System Parameter group menu. Slow-Up Motion
Insertion Motion
B
A
Smooth operation with speed decelerate
B
A
Smooth operation with speed decelerate
Fig.16.3 Insertion Motion/Slow-up Motion When the insertion motion and/or slow-up motion is used in combination with the gate motion or arch motion, specify the System Parameters, specify PTP operation for the M-data of the destination and set the S-code to 93. 16-3
Page 125
CHAPTER 16 ROBOT OPERATION
16.2
Pass PTP Operation When the M-data is a value in the thirties and the pass operation is used, the robot moves to the position but no positioning is performed there, and then moves to the next position address for positioning. This operation is used in cases where there is an interfering object between points A and C so that a refuge point B is passed to move to the destination C. B
A
C
Speed
A
B
C Time
The pass operation allows motions in three-dimensional space. Also, this operation allows such motions even if a robot arm position is reversed when using SCARA (horizontal multi-articulated type) robot. With this operation, the four axes start or stop at the same time. When this operation is used, the gate motion and arch motion are ignored and insertion motion and slow-up motion cannot be performed.
Fig.16.4 Pass Operation
16.2.1
Accuracy of Passing Point
The accuracy of passing the point (how close to the teaching point when passing the point) can be specified by a number in unit’s place (0-9) of a Mdata value in the thirties (30-39). The accuracy has a certain relationship with the specified speed (F-code, the speed, and acceleration in system data). The smaller the number in unit’s place, the closer to the teaching point the robot passes. The larger the number becomes, the farther from the teaching point but the higher the speed at the passing point becomes. M30
Data
M39
Teaching point
Fig.16.5 Accuracy of Point Passing
16-4
Page 126
CHAPTER 16 ROBOT OPERATION
16.2.2
Speed of Pass PTP Operation
The speed of pass PTP operation varies depending on the distance between the teaching points.
z Where the distance between the teaching points for the pass PTP is long:
The distance where the passing takes place is determined by the accuracy of passing (the number in unit’s place of an M-data value in thirties), and then the speed is determined accordingly. The F-code determines speed except for the speed when the teaching point is passed.
z Where the distance between the teaching points for the pass PTP is short:
The accuracy of the passing and the motion speed are determined depending on the distance. Therefore, speed settings such as Fcodes may be ignored. The speed calculated in terms of the accuracy of point passing may have the priority over the speed defined by F-code. In this case, the speed cannot be lowered however small the F-code may be. When a lower speed is absolutely necessary, make longer the distance to the first teaching point.
16.2.3
Output Signals during Pass PTP Operation
During pass PTP operation, several signals are output i. The output signals are described below. (1)
Select 「ORIGIN」 in System Generation menu ii to select 「SET-UP SYSTEM」→「I/O ASSIGNMENT」. Specifying 0 for 「I/O ASSIGNMENT」 allows the OUT4 (BP・AREA) signal to be used as the pass PTP operation output.
(2)
During the pass operation, M-data (30-39) are output as the OUT8 OUT15 (MOUT) signals. Pass operation Outputs M-data Teaching point M data output (M=30~39)
OUT4 50msec
100msec
150msec
Fig.16.6 Output Timing i
: Refer to 7.1.2, “DO Signals.” ii
: Press the
FUNC s.g HIGH + 7 keys to go to this screen menu.
16-5
Page 127
CHAPTER 16 ROBOT OPERATION
16.2.4
Relationship between M-Data and Teaching Points
The illustration below shows how the robot motions change depending on the M-data for teaching points.
①
S
3#
E
S
3#
&&
S
3#
3#
S
3#
&&
S
3#
3#
S : Starting point 3# : M-data 30~39 && : Other than M-data 30~39 E : END(??), or M-data 70~89
② E
● : Point positioning at the last ○ : Teaching point
③ ④ E
⑤
Fig.16.7 M-Data and Teaching Points In the cases of ①, ③, or ⑤, positioning is performed at a point immediately before the END point. In the cases of ② or ④, positioning takes place at a point whose M-data value is other than 30-39. Specify addresses for pass PTP operation as shown below. START address < 3# < 3# < … < END address
Address numbers in this range should be serial and continuous.
Also, note that the pass PTP operation will not take place between the address specified by selecting 「LIMIT」→「ADDRESS MAX」→「ADDRESS MAX」 in System Generation menu i and address 0.
i
: Press the
FUNC s.g HIGH + 7 keys to go to this screen menu.
16-6
Page 128
CHAPTER 16 ROBOT OPERATION
16.3
CPC Operation CPC operation is to control the routes of motions taking place along a straight line, circle, arc, or a free curve formed by smoothly connecting given teaching points. CPC operation can be grouped into two as shown below.
z Linear interpolation : M= 82-89 z Circular interpolation : M= a combination of 80 and 81 16.3.1
Notes on CPC Operation (1)
CPC operation cannot be executed continuously between the address specified by selecting 「LIMIT」→「ADDRESS MAX」→「ADDRESS MAX」 in System Generation menu i and address 0.
(2)
CPC operation in CHECK mode is as described below.
SHIFT
• With『SHIFT』LED not illuminated. CPC operation can continue in a range where M-data values are in the eighties (80-89).
• With『SHIFT』LED illuminated
SHIFT
Positioning is completed every time an arc or a straight line ends. Therefore, it is possible to check if the teaching points are correct and appropriate. (3)
When the serial communication with RS-232C is used, the CPC operation is specified through the communication and the CPC operation is executed only when the M-data values are in the eighties (80-89).
(4)
For a SCARA (horizontal multi-articulated) robot, the positioning accuracy may be affected when the arms on A-Axis and B-Axis are in such positions that the two arms are in one straight line. Also, in such a case, vibration may be caused.
(5)
F-codes are supported in each position so that acceleration/deceleration in the middle of CPC operation is possible. Also, linear motion speed and circular motion speed can be specified individually by changing F-codes.
(6)
When an arc is not formed with the points taught for interpolation, a motion for an interpolated straight line is given instead.
(7)
Limitation on specifying speed 1 When only W-Axis is interpolated, as the angular speed for the motion will be determined by internal operations (calculation), the speed cannot be specified externally i
: Press the
FUNC s.g HIGH + 7 keys to go to this screen menu.
16-7
Page 129
CHAPTER 16 ROBOT OPERATION
(8)
Limitation on specifying speed 2 When several motions take place continuously, some operation time is required to prepare for the following movement. The time required is 0.07 seconds when a linear motion follows, and 0.19 seconds to prepare for a circular motion. Each required time can be converted into a distance as follows on the condition that the moving speed is 200mm/s;
• When the following motion is linear : 200×0.07 = 14 (mm) • When the following motion is circular : 200×0.19 = 38 (mm) This means the above distances are necessary as the operation time for respective cases. Because of this, when the distance taught is short, the system decelerates the speed accordingly with the distance. If the distance to be moved before a circular motion is 20mm, the maximum speed allowed will be,
• 20 (mm)/0.19 (s) = 105.3 (mm/s) Therefore, the speed will not exceed the above value. (9)
16.3.2
When 16 is specified for 「CPC SELECT」 by selecting 「MAINTENANCE」→「MAINTENANCE DATA」 in this sequence from the System Generation menu i, acceleration/deceleration does not take place at the teaching points on the route of the continuous CPC operations.
Linear Interpolation
For a linear interpolation, the movement takes place on a straight line between the two points specified by teaching.
16.3.3
Circular Interpolation
For a circular interpolation, the route is determined by three points specified through teaching. A circle is formed on the plane determined by the three such points.
Arc interpolation
Starting point
P2, M80, or M81 P3, M80, or M81
Fig.16.8 Interpolation for an Arc i
: Press the
FUNC s.g HIGH + 7 keys to go to this screen menu.
16-8
Page 130
CHAPTER 16 ROBOT OPERATION When the M-data value for the point P3 is other than 80 and 81, even when the value of M-data for the point P2 is either 80 or 81, the system interpolates the two points to form a straight line, not an arc. To hold the W-Axis in a certain pose, the same identical data must be specified for W-Axis.
16.3.4
CPC Operation Speed The tip speed of a motion in CPC operation can be specified in the unit of “mm/sec” by selecting from the System Generation menu i 「MOTION」→「CPC CONSTANT」→「CPC SPEED」. The maximum speed differs depending on the robot type. Even if a value greater than the maximum speed is set, the robot will operate at its rated maximum speed.
Tip speed of motion (mm/sec) = 「CPC SPEED」 x
(1 + F-code) 100
In addition, the speed at each position located in a linear motion of CPC operation can be changed by using F-code.
16.3.5
DO Output Specifications during CPC Operation
OUT6 can be turned ON/OFF freely by M-data used during linear interpolation. By using this signal, you can specify ON/OFF timing as required, for example, for seal application. (1)
M-data value that turns ON the OUT6 signal: 82, 83, 86, 87 When the robot starts to move toward the position for which one of the above value is specified, the OUT6 turns ON.
(2)
M-data value that turns OFF the OUT6 signal: 84, 85, 88, 89 When the robot starts to move toward the position for which one of the above value is specified, the OUT6 turns OFF.
With M-data value set to either 80 or 81, the current output condition is maintained. OUT6 is turned OFF when CPC operation is interrupted. How to use M-data is explained below using an example where the robot applies seals based on the pattern in the following illustration: Seal application starts from P1 and ends at P30. When the robot starts its motion from P1 toward P2, the operation to apply seal is turned ON by the signal, and when the robot starts its motion from P29 toward P30 the seal applying operation is turned OFF.
i
: Press the
FUNC s.g HIGH + 7 keys to go to this screen menu.
16-9