The text of a manual · part 7 of 22
580 Series Controller Teach Pendant Operation Manual, pages 61 to 70
Pages 61 to 70 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 61
CHAPTER 7 ON-LINE MODE
• t4: Positioning time
Traveling time from current point to next point (only if the next position is the same as current position, t4: ≈70msec.)
• t5: 64msec
Time for positioning confirmation until the robot has positioned within the accuracy.
• t6: PCA→OFF
Required time to accept the START signal (10 msec minimum.)
• t7: PCA→OFF
Required time to accept the ADDRESS signal (25 msec minimum.)
• t8: 140msec
Time to accept the SELECT signal after ERROR reset.
• t9: 10msec.
Time to output ERROR ON after outputting ERROR.
• t10: 45msec
Time to confirm SELECT OFF after outputting ERROR.
• t11: 40msec • t12: 30msec • t13: 10msec
Time to output MOUT after PCA OFF. Time to accept STAR signal after PCA ON. Time to output PCA after MOUT at END point.
If the robot performs positioning using the START/NEXT signal in condition at the servo lock signal is OFF, it will take maximum 300msec before starting positioning (because it performs brake release without regarding the motor is equipped with brake or not.)
7.1.4
Sequential Access With this method, the START signal is first output to determine program start address, then the NEXT signal is used to execute successive positioning points until returning to the initial starting address at the END signal. Therefore, only starting address need be specified. This method is valid when using standard DI/DO interface. In extended AUTO mode, the NEXT signal is not assigned. The application is almost the same as Random Access method. The difference is, the Sequential Access method is not required to specify the positioning address each time if the order of addresses input in TEACH or KEY-IN mode and the order of actual operation are almost same. Only first starting address need to be specified. The controller automatically selects the next address after receiving the NEXT signals.
7-13
Page 62
CHAPTER 7 ON-LINE MODE z Timing chart for ordinary positioning(Sequential access) (Mode selector) AUTO mode
AUTO t1
AUTO(OUT3) SELECT(IN0)
AUTO output t2
SELECT t3
READY(OUT0)
t4
READY t5 t12
PCA
PCA(OUT2) t6 NEXT(IN2) START(IN1)
t6
NEXT START t7
ADDRESS(IN6-15)
ADDRESS
POS/INCH(IN4)
PTP/INCH t11
MOUT0-7(OUT8-15)
MOUT
ERROR(OUT1)
ERROR
HOLD(IN3)
HOLD
Fig.7.7 Sequential Access The time delays (t) are the same as for the Random Access method. The chart for cases involving ERROR and END are the same as for the Random Access method.
z Error occurrence while positioning When an error occurs while positioning, the ERROR signal is output to PLC or an error message is displayed on the message line on the Teach Pendant. (Refer to Chapter 23, “Message.”) To recover from the error; ① Confirm the type of error referring to the error message. ② Turn OFF the SELECT signal after confirming the error. The ERROR signal turns OFF and performs error recovery. ③ Turns ON the SELECT signal again after error recovery. ・The time to turn the SELECT signal ON after it is turned OFF, during PTP operation, is 0.5 second. ・Set the START and the NEXT signals to OFF when accepting the SELECT signal or outputting the MOUT and the PCA signals. ・If the Random Access method is used, ADDRESS must be fixed when the START signal is ON. ・If the MOUT signal output cannot be read correctly when the PCA signal and the ERROR signal are ON, read it after delaying one scan of the PLC after the PCA and ERROR signal inputs or use a timer. ・While the ERROR signal is being output, it is confirming the SELECT signal is ON. Therefore, do not turn OFF the SELECT signal during time “t10” when resetting the error by SELECT OFF. ・It is recommended not to output a signal by using a timer (Especially, START, NEXT, and ADDRESS signals) because each I/O signal is based
7-14
Page 63
CHAPTER 7 ON-LINE MODE on “hand shake” (i.e., an exchange of information) between the HNC controller and the PLC. ・EMERGENCY STOP (E.S.) error is not reset by SELECT OFF. When E.S. state is released, the robot is reset automatically and will be in the initial status of AUTO mode. Turn OFF the SELECT signal until the E.S. state is released.
7.1.5
Operational Flowchart AUTO mode 1 Initializes DO Outputs AUTO(OUT3)
“AUTO” is displayed on the message line.
Displays current position. Displays address 0000. ON
Confirming the SELECT OFF which starts the automatic operation.
SELECT(IN0) OFF OFF
SELECT(IN0) ON
ON
START, NEXT OFF Reads stored addresses
INCH
POS/INCH (IN4)
INCH(IN6-IN15)
POS A-CAL
ON
SELECT(IN0)
Not completed
Completed
OFF
Go to ① when SELECT(IN0) is OFF during ACAL.
A-CAL 3
READY LED lit READY(OUT0) ON PCA(OUT2) ON
1
4 OFF
SELECT(IN0)
ON
1 A
Fig.7.8 Automatic Operation① 7-15
Page 64
CHAPTER 7 ON-LINE MODE
A
POS/INCH (IN4)
INCH INCH
POS ON
START(IN1)
3 OFF
Inputs addresses (IN6~IN15)
NEXT(IN2)
Checks addresses.
* Address stored positions are selected in the system data
OFF
ON Addresses incremented/
Error
OFF Releases servo-lock
PCA(OUT0)OFF MOUT(OUT8~15)
Not used.
Readout of target stored data
5
Data check
4 NG Error
OK M=0
ON
HOLD
M-data check
Incremented addresses.
M≠0 M-data check
M=??(END)
5 M-data output
M=??(Except for END) Sets speed data
6 Sets motion pattern by M-data and S-code. M-data output
B
Fig.7.9 Automatic Operation②
7-16
Servo-lock
Page 65
CHAPTER 7 ON-LINE MODE
B
Robot movement (PTP, CPC)
NG
Positioning error
Go to ① when SELECT is OFF during PTP or CPC movement. In Pass PTP or CPC movement, MOUT changes at each position.
OK
Error
SELECT(IN0)
6 OFF
OK ON
START、NEXT
OFF PCA(OUT0)ON
Stores address NEXT(IN2)
4
Fig.7.10 Automatic operation③
7-17
1
Page 66
CHAPTER 7 ON-LINE MODE
7.1.6
Positioning Data Load From Memory Card in Auto Mode When the position memories stored in the controller are not sufficient for your application, the data stored in the optional memory card can be downloaded to the controller using the DI signal in AUTO mode. When downloading the stored memory, specify the file name using the address designation input ports AUTO(IN6-IN15). Thus, when saving the position data to the memory card, the file name must be 0 to 1023. The position data in the memory card are automatically downloaded to the same position addresses as when the data was saved to the memory card. So you cannot designate the position addresses to be loaded from the memory card to the controller. Hand-shake with DI/DO signals when loading the data from the memory card is as in the following figure. OUT6 signal means that the controller is in the memory card download mode. When this signal turns OFF, it means the data download has completed. SELECT PTP/INCH DI signal
NEXT ADDRESS HOLD
DO signal
OUT6 Approx.6 sec. (max.)
Fig.7.11 Timing Chart for Data Loading from the Memory Card
・When setting the POS/INCH signal to OFF, the address designation data must be 0. ・After setting the NEXT signal to ON, wait until OUT6 turns ON. Then, designate the file name by ADDRESS input and turn HOLD to ON. ・After OUT6 turns OFF, set the HOLD and ADDRESS signals to OFF. Then, set the NEXT signal to OFF. For normal automatic operation, turn the POS/INCH signal to ON and turn to POS mode.
7-18
Page 67
CHAPTER 7 ON-LINE MODE
7.2
Extended AUTO Mode To enter extended AUTO mode, set the data by System Generation, 「ORIGIN」→「SET-UP SYSTEM」→「AUTO/ON-LINE」 to “EXT AUTO.” This mode is almost same as the AUTO mode except that the assignment of DI signals. The assignment of DI signals in extended AUTO mode is shown below. This mode can be used the maximum 4000 addresses. Table 7.10 Assignment of DI Signals (Extension) No. IN0 IN1
Signal SELECT START
IN2
POS/INCH
IN3 IN4 IN5 IN6 IN7 IN8 IN9 IN10 IN11 IN12 IN13 IN14 IN15
STOP ADDRESS 0[1] /+X ADDRESS 1[2] /-X ADDRESS 2[4] /+Y ADDRESS 3[8] /-Y ADDRESS 4[16] /↑Z ADDRESS 5[32] /↓Z ADDRESS 6[64] /+W ADDRESS 7[128] /-W ADDRESS 8[256] /+R ADDRESS 9[512] /-R ADDRESS 10[1024] /+C ADDRESS 11[2148] /-C
Function Ready for automatic operation Positioning start Select signal from IN4 to IN15 ON : Positioning address signal OFF : Manual operation signal in INCH mode ON : Stop of operation
Selecting at “IN2” ・ Position address designation in binary (in[ ]) at PTP movement. ・ Signal to manipulate axis at INCHING.
Table 7.11 Position Address Signals(Extension) No. IN4 IN5 IN6 IN7 IN8 IN9 IN10 IN11 IN12 IN13 IN14 IN15
POS(START) ADDRESS 0 [1] ADDRESS 1 [2] ADDRESS 2 [4] ADDRESS 3 [8] ADDRESS 4 [16] ADDRESS 5 [32] ADDRESS 6 [64] ADDRESS 7 [128] ADDRESS 8 [256] ADDRESS 9 [512] ADDRESS 10 [1024] ADDRESS 11 [2048]
INCHING +X -X +Y -Y ↑Z ↓Z +W -W +R -C +C -C
When you want to specify ADDRESS 10, set IN5 and IN7 signals ON and then set the START signal ON. Table 7.12 Specifying Address (Extension) IN
4
5
Value
1
2
Input
0
1
6
7
8
9
10
11
12
13
14
15
4
8
16
32
64
128
256
512
1024
2048
0
1
0
0
0
0
0
0
0
0
2+8=10 (ADDRESS 10) 7-19
Input 1: ON 0: OFF
Page 68
CHAPTER 7 ON-LINE MODE
The function of downloading the position data from the memory card is not supported in extended AUTO mode
7.3
ON-LINE Mode ON-LINE mode enables a robot to perform automatic operation by using a host computer and HAC (Hirata Assembly cell Controller) via RS232C interface. In this mode, communication with external devices is available with our communication software. Refer to the separate instruction manual, HRCS-RⅣ for details. In this mode, robot speed is set by the System Parameter, F-code, and the MOVE command.
7-20
Page 69
CHAPTER 8 DATA EDITING
CHAPTER 8 8.1
Data Editing
Entering END Point (M-Data=??) After creating position data in KEY-IN or TEACH mode, an END point (Mdata=??) should be specified. The END point (M-data=??) indicates the end of position data, and should be specified at the end of the position data. In automatic operation mode or CHECK mode, positioning to the END point (M-data=??) will not be performed. (1)
FUNC
Set the Teach Pendant to KEY-IN mode ( HIGH + (
FUNC HIGH
+
F2
F1
) or TEACH mode
).
(2)
Display the address data for which an END point (M-data=??) will be specified.
(3)
Press the key. The message “END WRITE OK?” will be displayed on the message line and a buzzer sounds.
(4)
Confirm that the address to be set is correct. Then, press the
END
ENTER key, the END point (M-data=??) will be set.
If you have specified a wrong address, press any key other than the ENTER key to cancel the END point setting operation.
・ The “END point” used in this chapter means a point where a series of robot movements is to be ended. The addresses following the one for which an END point is specified can be used as regular addresses. ・ The M-data display section of an address for which an END point has been specified, “??” is displayed. This “??” is common for all the mode displays. To unset an END point, specify numerical values for the Mdata display section of an address for which the END point has been set. When numerical values are assigned, the M-data will be treated as normal position data. ・ When you are setting an END point, the data for X, Y, Z, W, R, and C are also checked. Therefore, if the data for X, Y, Z, W, R, and C are not correct, the END point cannot be specified.
8-1
Page 70
CHAPTER 8 DATA EDITING
8.2
Inserting Position Data After creating position data in KEY-IN mode or TEACH mode and if you want to insert the position data, perform the following steps. Note that newly inserted position data influences the data which have already been taught. Therefore, care should be taken before inserting. (1)
FUNC
Set the Teach Pendant in KEY-IN mode ( HIGH + (
SHIFT
FUNC HIGH
+
F2
F1
) or TEACH mode
).
(2)
Display the address data where the new data will be inserted. For example, when you want to insert new data between addresses 50 and 51, display “51.”
(3)
After specify the data to be inserted, press the INS key. At this time, the 『SHIFT』 LED remains unlit. The message “INSERT OK?” appears on the message line and a buzzer sounds.
del del
When the INS key is pressed with A-CAL not completed in TEACH mode, “A-CAL INCOMPLETE” appears on the message line and the data insertion will not be accepted. (4)
Confirm that the address and data to be inserted are correct. If it is correct, press the
ENTER key to insert the data. To cancel the data inserting operation, press any key other than the
ENTER key.
When the program controlling automatic operation of the robots is installed on the PLC, inserting position data will cause error in automatic operation. Data insertion changes the sequence of position data as in following table. Therefore, when data has been inserted, the program on the PLC must be modified accordingly.
Use precaution before inserting data. When data has been inserted, the data located after the limit address specified by 「LIMIT」→「ADDRESS MAX」→「ADDRESS MAX」 in the System Generation mode are eliminated. Table 8.1 Position Data Insertion Before After Address Data Address Data 49 M0 F0 X0 Y0 Z0 W0 49 M0 F0 X0 Y0 Z0 W0 50 M1 F1 X1 Y1 Z1 W1 50 M1 F1 X1 Y1 Z1 W1 Data insertion→ 51 M2 F2 X2 Y2 Z2 W2 51 Position data inserted 52 M3 F3 X3 Y3 Z3 W3 52 M2 F2 X2 Y2 Z2 W2 53 M4 F4 X4 Y4 Z4 W4 53 M3 F3 X3 Y3 Z3 W3 *The position data includes the data for S-code and LOCAL code.
8-2