The text of a manual · part 6 of 22
580 Series Controller Teach Pendant Operation Manual, pages 51 to 60
Pages 51 to 60 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 51
CHAPTER 7 ON-LINE MODE When the AUTO mode is changed to another mode, the READY signal will be turned OFF. If this signal is turned OFF during the PTP operation, the READY signal will be turned OFF and the robot stops.
• When POS/INCH is OFF(Inching mode) The controller turns the READY signal ON to inform that it is in inching mode to PLC. If A-CAL has been completed, the robot can be operated with the inching motion in both LI-TEACH or RO-TEACH mode. If not, the inching motion can be performed in RO-TEACH mode only. (2)
START(IN1): Positioning start signal(
)
This signal’s purpose is to start positioning. It comes from the PLC and goes to the robot controller. Unless the POS/INCH signal is ON (Positioning mode), the controller ignores this signal. While both the READY and the PCA signals are ON, the position address signals (ADDRESS 0~9) are read This START signal is turned ON and the robot moves to the position of the specified address. The address which has M-data = ”0” is ignored and the address which has M-data = ”??” (End point) the robot’s ends positioning. When this START signal is turned ON, the robot moves to the position of the specified address after turning OFF the PCA signal. Positioning to specified addresses is called “Random access.” (3)
NEXT(IN2): Next positioning start signal(
)
This signal’s purpose is to start next positioning. Unless the POS/INCH signal is ON (Positioning mode), the controller ignores this signal. If the next address has M-data = ”0,” it is ignored and the next address is read. If M-data is ”??” (End point), the robot ends positioning. Next positioning start can be also performed using the START signal (IN1). However, if you use the NEXT signal, you do not need to designate the position address every positioning. Once the position address to start is selected by the PLC, the robot can perform positioning by switching the NEXT signal from ON to OFF. This operation is called “Sequential access.” When the robot is stopped by E.S. or by power shutdown during automatic operation with the NEXT signal, the current address which was interrupted will be held. After the E.S. is released or the power is supplied, the robot resumes the motion from the held address or the next address by receiving the NEXT signal. The System Parameter, 「ORIGIN」→「SET-UP SYSTEM」→「STORE ADDRESS」 is to select whether the robot resumes the positioning to the interrupted address, or moves to the next address. (Normally it is set to 0)
7-3
Page 52
CHAPTER 7 ON-LINE MODE (4)
HOLD(IN3): Servo lock signal This is for the servo lock signal. While the robot is outputting a PCA signal, this signal locks (ON) or frees (OFF) the robot. When the PCA (servo lock) signal is OFF, the only axes equipped with a brake will be held by a brake instead.
Set the servo lock signal to ON normally in any mode of the robot unless setting the signal to OFF is required. (5)
POS/INCH(IN4): POS/INCHING select signal This signal’s purpose is to select the positioning (ON) or the inching (OFF) operation.
• Positioning : The robot moves to a specified position address by the PTP or CPC movement.
• Inching (6)
: Each axis moves.
STOP (IN5): Stop signal of operation This signal’s purpose to stop the robot operation. While the robot performs positioning and this signal turns ON, the robot stops the operation and the PCA signal turns ON. While the STOP signal is ON, the message line on the Teach Pendant shows “STOP ON.” After turning OFF the STOP signal, turns ON the START (IN1) or the NEXT (IN2) signal. The robot operation is restarted by inputting the START or the NEXT signal. If the SELECT signal is turned OFF when the STOP signal is ON, set the SELECT signal ON after turning OFF the STOP signal. This signal can work as an INTERLOCK (pause) signal which continues the motion right after setting OFF the STOP signal in positioning. The usage of the STOP signal can be selected by the System Generation, 「ORIGIN」→「SET-UP SYSTEM」→「STOP」.
(7)
ADDRESS 0 to ADDRESS 9 (IN6 to IN15) : Position address signal These signals specify the position addresses to be positioned when POS/INCH signal(IN4) is ON (Positioning mode), and also, when the POS/INCH signal is OFF (Inching mode). The signals are used as a inching signal same as the axis key function on the Teach Pendant. Table 7.2 Position Address Signals (Normal) No. IN6 IN7 IN8 IN9 IN10 IN11 IN12 IN13 IN14 IN15
Positioning mode (START) ADDRESS 8 [256] ADDRESS 9 [512] ADDRESS 0 [1] ADDRESS 1 [2] ADDRESS 2 [4] ADDRESS 3 [8] ADDRESS 4 [16] ADDRESS 5 [32] ADDRESS 6 [64] ADDRESS 7 [128]
7-4
Inching mode Axis High-Speed +X(+R) -X(-R) +Y(+C) -Y(-C) ↑Z ↓Z +W -W
Page 53
CHAPTER 7 ON-LINE MODE
• In Positioning mode These signals are accepted during the rising edge of the START signal. This signals are evaluated as binary numbers. When you want to specify ADDRESS 10, set to ON IN9 and IN11. Then, set the START (IN1) signal ON as following. Table 7.3 Position Address Setting Example IN Value Set
8 1 0
9 2 1
10 4 0
11 8 1
2+8=10 (Address 10)
12 16 0
13 32 0
14 64 0
15 128 0
6 256 0
7 512 0
Set 1 : ON 0 : OFF
In this method, you can designate 1,024 addresses, 0 to 1,023 with 10 DI signals, but only 1,000 position addresses, 0 to 999, are stored in the robot controller. When designating addresses of more than 999, a position address error occurs. Also, when an address more than the address restricted by the System Generation, 「LIMIT」→「ADDRESS MAX」→ 「ADDRESS MAX」 is designated, a position address error occurs. When using the addresses more than 1,000, set Extended AUTO mode. (Refer to 7.2, “Extended AUTO Mode” for details.)
• In Inching mode During the INCHING operation (IN4: OFF), +X, -X, +Y, -Y, +Z, -Z, +W, -W (IN8~IN15) on Table 7.2, Position Address Signals, are assigned to axis keys on the Teach Pendant. When IN6 is ON, the input for the X-Axis becomes the input for the R-Axis and input for Y-Axis becomes the input for C-Axis. When IN7 is OFF, the inching speed is low and the speed set by the System Parameter, 「RESPONSE」→「RESPONSE」→ 「INCHING SPEED」. When it is ON, the axes move at high speed which is dependent on the robot type. The maximum speed of inching mode is 250mm/sec. Table 7.4 Inching Speed Setting IN7 OFF ON
Inching speed Low-SPEED High-SPEED
For example, If IN7 is set to OFF and the INCHING mode is selected (IN4: OFF) while in the automatic operation, the PCA signal turns OFF. If IN8 is set to ON, X-Axis moves in the +X direction at low speed. When IN6 is ON, X-Axis stops and RAxis moves in the +R direction at low speed. 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-5
Page 54
CHAPTER 7 ON-LINE MODE The following table shows the setting of the inching axes, each setting (IN8-IN15) and IN6. Table 7.5 Inching Axes Setting IN6 OFF ON
7.1.2
IN8 +X +R
IN9 -X -R
IN10 +Y +C
IN11 -Y -C
IN12 +Z +Z
IN13 -Z -Z
IN14 +W +W
IN15 -W -W
DO Signals The allocation of the DO signals to the connector pins is given in following table. Table 7.6 DO Signals DO No. OUT0 OUT1 OUT2 OUT3 OUT4 OUT5 OUT6 OUT7 OUT8 OUT9 OUT10 OUT11 OUT12 OUT13 OUT14 OUT15
Signal READY ERROR PCA AUTO BP・AREA ZONE CPOUT A-CAL MOUT0(1) MOUT1(2) MOUT2(4) MOUT3(8) MOUT4(10) MOUT5(20) MOUT6(40) MOUT7(80)
Function Ready for automatic operation Error indication Positioning completion acknowledgement AUTO mode indication Pass PTP output or base area position output Z-Axis zone output CPC movement output A-CAL completion
/C /R /W /Z /Y /X / / / /
Output signals assigned by M-data or error code displayed in binary code ( ).
The code after “/ ” in OUT6-OUT25 shows the axis in error. Make sure that the CPOUT signal and the A-CAL signal are invalid when an error occurs. (1)
READY(OUT0): Ready for automatic operation This signal indicates that the controller is ready for communication with external device and can control the robot with the START or NEXT signal input. Therefore, this signal cannot be turned ON while the mode is other than in AUTO, or when the E.S. button has been pressed. When the controller receives the SELECT signal, and if the A-CAL operation has been completed, this signal will be turned ON. If not, the A-CAL operation will be performed and then it will be turned ON.
7-6
Page 55
CHAPTER 7 ON-LINE MODE (2)
ERROR(OUT1): Error indication signal When the controller detects a fault and stops operation, this signal is turned ON. While this signal is ON, the display on the Teach Pendant indicates an error message and an error code is output to one of the MOUT signals. The error codes and their functions are shown in following table. The error is reset on the falling edge of the SELECT signal. Table 7.7 Error Code (OUT6-15)
Error code (Hexadecimal) 0* 1 0 2* 2* 2* 2* 2* 2* 2* 3 0 4* 5* 6 3 6 4 6 7
Error message
Function
Positioning is not completed Emergency Stop status ORIGIN sensor does not turn ON ORIGIN sensor does not turn OFF OVERRUN sensor turns ON Counter does not reset Counter reset is short Counter reset is over Counter is minus Address error Area error Overrun System data error Position data error Servo parameter error The battery on the CPU board is low 7 0 CPU_LOW_BATTERY (Axis is not defined) Encoder battery is low 7* ENC_BATTERY (Axis is defined) 9 6 POSITIONING_ERROR Positioning error Amplifier/Driver is not responding A 0 DRIVER_NOT_ONLINE (Axis is not defined) Amplifier/Driver error A* DRIVER_ERROR (Axis is defined) B 0 SERVO ON ERROR Unable to servo lock. “*” is assigned to the axis distinction of 6 bits (OUT6-11). Refer to Table 7.8.
EXAMPLE
POS ERROR EMERGENCY STOP. AcalErr0 AcalErr1 AcalErr2 AcalErr3 AcalErr4 AcalErr5 AcalErr6 ADDRESS_ERROR AREA_ERROR OVERRUN SYSTEM_DATA_ERROR POSITION_DATA_ERROR SERVO_DATA_ERROR
When the axis is defined, the upper part of the error code corresponds with M-data output and the lower part shows the status of each axis on the message line. “AREA ERROR 101000” shows X(A) and Z-Axes are out of the permissible area. The error code is output as follows; Table 7.8 Error Code Axes Definition Error code OUT Output
15 0
14 1
13 0
12 0
Area error(0x4*)
7-7
A 11 1
B 10 0
Error axis code Z W R 9 8 7 1 0 0
0: OFF 1: ON
C 6 0
Page 56
CHAPTER 7 ON-LINE MODE
When an error occurs, the A-CAL signal (OUT7) and the CPOUT signal (OUT6) are invalid as they are assigned to the error bits for R and C-Axes. An error code is output to the MOUT signals (OUT6-OUT15) with error indication signal (ERROR: OUT1). The format to output is the same as M-data output from the MOUT signals. The error codes in the Table 7.7, Error code (OUT6~15), without “*” are output to the MOUT signals (OUT8-15). When an error occurs, except for the ones above, error codes are not output to the MOUT signals, but the ERROR detection signal (OUT1) is output. An EMERGENCY STOP (E.S.) error is not reset by SELECT (IN0) signal OFF like other errors. When E.S. status is released, the robot is reset automatically and will be in the initial status of AUTO mode. The SELECT signal should be kept OFF until E.S. status is reset. (3)
PCA(OUT2): Positioning completion acknowledgement signal This signal means that the robot is ready to move upon receiving the START or the NEXT signal. Therefore, when the robot has been properly positioned and the START or the NEXT signal is OFF, the PCA signal is turned ON. When the START or the NEXT signal is turned ON, PCA is turned OFF and the robot starts positioning. When the READY signal is turned ON, PCA is turned ON immediately; when READY is turned OFF, PCA is also turned OFF. This means that unless READY is ON, PCA cannot be turned ON.
(4)
AUTO(OUT3): AUTO mode signal This signal is ON while the mode is in AUTO mode. When the mode is set to one other than AUTO, the signal is turned OFF.
(5)
BP(OUT4): Base position signal(Base Position) This signal is output during Pass PTP (Refer to 16.2, “Pass PTP Operation.”) and also during the output of A, B (X, Y) area output signals and the base position output signal. (Refer to 19.4.1, “Expansion A, 「Base Pos Addr*」” and 19.4.2, “Expansion B, 「AREA AX」, and 「AREA BY」” for details.)
7-8
Page 57
CHAPTER 7 ON-LINE MODE (6)
ZONE(OUT5): Z-Axis zone output When the Z-Axis moves past the position set by the System Parameter, 「RESPONSE」→「RESPONSE」→「SAFE. ZONE」, this signal is ON. When moving down, the signal is OFF. Z-Axis OUT5=ON 「SAFE. ZONE」 value OUT5=OFF
Fig.7.3 「SAFE.ZONE」
・The ZONE signal cannot be output if A-CAL is not completed. ・This signal can be output in any mode except for KEY-IN mode. ・When using Z-Axis auto pull-up function, set the value of the safety zone by the System Parameter, 「RESPONSE」→「RESPONSE」→「SAFE. ZONE」 lager than the value of PULL-UP, 「MOTION」→「MOTION」→ 「PULL-UP」. If the value of SAFETY ZONE is the same as the value of PULL-UP, ZONE OUTPUT will switch repeated (i.e., between ON and OFF) or will be unable to turn ON. (7)
CPOUT(OUT6): Output at CPC operation When operating in CPC operation, this signal is used. Refer to 16.3, “CPC Operation” for details. When an error occurs (OUT2: ON) during automatic operation, the CPOUT signal output is canceled. This signal will be valid again after the error recovery.
(8)
A-CAL(OUT7): A-CAL completion If A-CAL of the robot is completed, this signal is ON. The meaning and function of this signal are the same as the『A-CAL』 LED on the Teach Pendant. When an error occurs (OUT2: ON) during automatic operation, the A-CAL signal output is canceled. This signal will be valid again after the error recovery.
7-9
Page 58
CHAPTER 7 ON-LINE MODE
(9)
MOUT0-MOUT7(OUT8-OUT15): M-data output signal The MOUT signals are related to the M-data, which is the output pattern to the output port of the robot driver, as shown in Table 7.9. Table 7.9 M-data Output Signal
M-data 0 1 2 3 4 5 6 7 8 9 10 20 30 40 50 60 70 80 90
OUT8 MOUT0
OUT9 MOUT1
OUT10 MOUT2
OUT11 MOUT3
OUT12 MOUT4
OUT13 MOUT5
OUT14 MOUT6
OUT15 MOUT7
ON ON
ON ON
ON ON
ON ON
ON ON ON ON ON ON
ON
ON ON
ON ON
ON ON ON
ON ON
ON ON ON ON ON ON
・M-data can be set from 0 to 99 and output in the combinations above (BCD). The following is an example of combination of M-data that is greater than M-data=11. For example, M-data=15 means the combination of M-data=10 and M-data=5 is output. The blanks in the table mean OFF. ・When M-data=0, no positioning occurs and no signals are output, the program advance to the next address (JUMP function). ・At the END POINT (M-data=??), all of the MOUT signals are ON. ・M-data will be output at the start of operation. At the position selected during the Pass PTP and the CPC operations, the M-data of the position is output.
7-10
Page 59
CHAPTER 7 ON-LINE MODE
7.1.3
Random Access This method enables you to move the robot to the specified address by switching the START signal ON and then OFF. In the following description, signal exchange with PLC is assumed. For the meaning of the individual signals, refer to 7.1.1, “DI signals” and 7.1.2, “DO signals” for details. FUNC HIGH
F4
(1)
Press the
(2)
Turn ON the SELECT signal (IN0) and POS/INCH signal (IN4) with the PLC. If 『A-CAL』 LED on the Teach Pendant is not lit, the robot will perform A-CAL.
(3)
The controller receives the SELECT signal and turns ON the READY and PCA signals.
(4)
As PCA is turned ON, the signals for the desired position, ADDRESS 0-9, and the START signal are output by the PLC.
(5)
The controller turns OFF the PCA signal, positions the robot to the specified address, outputs the MOUT signal corresponding to the M-data, and turns ON the PCA signal again after A-CAL completion.
(6)
Thereafter, steps (4) and (5) are repeated.
(7)
When END is detected at the M-data end (M-data=??) address, all the MOUT signals and the PCA signal are output.
(8)
When the PLC receives this END signal, it outputs the ADDRESS 0-9 specified in step (4) and the START signal. Then repeats steps (4) to (7)
+ keys to change to AUTO mode.
The following timing chart is the exchange signals with PLC.
z Timing chart for normal positioning(Random access) (Mode selector) AUTO mode AUT0(OUT3) SELECT(IN0)
AUTO t1
AUTO output t2
SELECT t3
READY(OUT0) PCA(OUT2) START(IN1)
t4+t5
READY t12 t6 t6 t7 t7
ADDRESS(IN6-15)
PCA START ADDRESS
POS/INCH(IN4)
t11
PTP/INCH
MOUT0-7(OUT8-15)
MOUT
ERROR(OUT1)
ERROR
HOLD(IN3)
HOLD
Positioning completion
Fig.7.4 Random Access 7-11
Page 60
CHAPTER 7 ON-LINE MODE z Positioning timing chart involving ERROR (Mode selector) AUTO mode
AUTO
AUTO(OUT3) SELECT(IN0) READY(OUT0)
AUTO output t8 t3 t5
READY t12
PCA(OUT2) START(IN1)
SELECT t6
PCA t7
START
ADDRESS(IN6-15)
ADDRESS
POS/INCH(IN4)
PTP/INCH
MOUT0-7(OUT8-15)
t9 t10
MOUT
ERROR(OUT1)
ERROR
HOLD(IN3)
HOLD ERROR occurrence
ERROR reset
Fig.7.5 ERROR Occurrence z Timing chart when positioning data has END (Mode selector) AUTO mode ゙
AUTO
AUTO(OUT3)
AUTO output
SELECT(IN0)
SELECT
READY(OUT0)
t11 t13 t12
PCA(OUT2)
PCA t6
START(IN1)
READY
START t7
ADDRESS(IN6-15)
ADDRESS
POS/INCH(IN4)
PTP/INCH
MOUT0-7(OUT8-15)
MOUT
ERROR(OUT1)
ERROR
HOLD(IN3)
HOLD
When the program comes to the END address, signals MOUT0 to 7 are output.
Fig.7.6 END Address
• t1: 1.3sec minimum • t2: 300msec • t3: 300msec+α
3.6 seconds after POWER is turned ON. Time to accept the SELECT signal after AUTO output is turned ON. Time from the rising edge of SELECT signal to output of READY signal (α is the A-CAL time.)
7-12