R-30iB Basic Operator Manual (B-83284EN-2 05) (Optional Function) +modbus
R-30iB Basic Operator Manual (B-83284EN-2 05) (Optional Function) +modbus
Optional Function
OPERATOR'S MANUAL
B-83284EN-2/05
• Original Instructions
The products in this manual are controlled based on Japan's “Foreign Exchange and
Foreign Trade Law". The export from Japan may be subject to an export license by the
government of Japan. Further, re-export to another country may be subject to the license
of the government of the country from where the product is re-exported. Furthermore, the
product may also be controlled by re-export regulations of the United States government.
Should you wish to export or re-export these products, please contact FANUC for advice.
In this manual, we endeavor to include all pertinent matters. There are, however, a very
large number of operations that must not or cannot be performed, and if the manual
contained them all, it would be enormous in volume. It is, therefore, requested to assume
that any operations that are not explicitly described as being possible are "not possible".
B-83284EN-2/05 SAFETY PRECAUTIONS
SAFETY PRECAUTIONS
This chapter describes the precautions which must be observed to ensure the safe use of the robot.
Before attempting to use the robot, be sure to read this chapter thoroughly.
Before using the functions related to robot operation, read the relevant operator's manual to become
familiar with those functions.
For the safety of the operator and the system, follow all safety precautions when operating a robot and its
peripheral devices installed in a work cell.
In addition, refer to the “FANUC Robot SAFETY HANDBOOK (B-80687EN)”.
1 DEFINITON OF USER
The user can be classified as follows.
Operator:
• Turns the robot controller power ON/OFF
• Starts the robot program with operator’s panel
Programmer:
• Operates the robot
• Teaches the robot inside the safety fence
Maintenance engineer:
• Operates the robot
• Teaches the robot inside the safety fence
• Maintenance (repair, adjustment, replacement)
During the operation, programming, and maintenance of your robotic system, programmer, teaching
operator and maintenance engineer must operate with circumspection by using following safety
precautions.
s-1
SAFETY PRECAUTIONS B-83284EN-2/05
Symbol Definitions
Used if hazard resulting in the death or serious injury of the user will be expected to
WARNING occur if he or she fails to follow the approved procedure.
Used if a hazard resulting in the minor or moderate injury of the user, or equipment
CAUTION damage may be expected to occur if he or she fails to follow the approved procedure.
Used if a supplementary explanation not related to any of WARNING, and CAUTION
NOTE
is to be indicated.
• Check this manual thoroughly, and keep it handy for the future reference.
3 USER SAFETY
User safety is the primary safety consideration. As it is very dangerous to enter the operating area of the
robot during its automatic operation, adequate safety precautions must be observed.
The following lists the general safety precautions. Careful consideration must be made to ensure user
safety.
FANUC provides various training courses. Contact your local FANUC representative for
details.
(2) Even when the robot is stationary, it is possible that the robot is still in a ready to move state, and is
waiting for a signal. In this state, the robot is regarded as still in motion. To ensure user safety,
provide the system with an alarm to indicate visually or aurally that the robot is in motion.
(3) Install a safety fence with a gate so that no user can enter the safety fence inside without passing
through the gate. Install an interlocking device, a safety plug, and so forth in the safety gate so that
the robot is stopped as the safety gate is opened.
The controller is designed to receive this interlocking signal of the door switch. When the
safety fence is opened and this signal received, the controller stops the robot (Please refer to
"STOP TYPE OF ROBOT" in SAFETY PRECAUTIONS for detail of stop type). For
connection, refer to below Fig.3 (b).
(4) Provide the peripheral devices with appropriate grounding (Class A, Class B, Class C, and Class D).
(5) Recommend to install the peripheral device outside of the operating space.
(6) Draw an outline on the floor, clearly indicating the range of the robot motion, including the tools
such as a hand.
(7) Install a mat switch or photoelectric switch on the floor with an interlock to a visual or aural alarm
that stops the robot when a user enters the operating space.
(8) If necessary, install a safety lock so that no one except the user in charge can turn the power on the
robot.
s-2
B-83284EN-2/05 SAFETY PRECAUTIONS
The circuit breaker installed in the controller is designed to disable anyone from turning it on
when it is locked with a padlock.
(9) When adjusting each peripheral device independently, make sure to turn the power off the robot.
(10) Operators must take the gloves off while manipulating the operator’s panel or teach pendant.
Operation with gloved fingers may cause an operation error.
(11) Programs, system variables, and other information can be saved on memory card or USB memories.
Be sure to save the data periodically in case the data is lost in an accident.
(12) The robot must be transported and installed by accurate procedure recommended by FANUC.
Wrong transportation or installation may cause the robot to fall, resulting in severe injury to
workers.
(13) In the first operation of the robot after installation, the operation should be restricted to low speeds.
Then, the speed should be gradually increased to check the operation of the robot.
(14) Before the robot is started, it should be checked that no one is in the area of the safety fence. At the
same time, a check must be made to ensure that there is no risk of hazardous situations. If detected,
such a situation should be eliminated before the operation.
(15) Do not operate the robot under the following conditions. Otherwise, the robot and peripheral
equipment can be adversely affected, or workers can be severely injured.
- Flammable
- Explosive
- Massive dose of Radiation
- Under water, high (heavy) Humidity
- Transport human or animals
- Stepladder (climb or hang down)
- Outdoor
(16) When connecting the peripheral devices related to stop(safety fence etc.) and each signal (external
emergency , fence etc.) of robot, be sure to confirm the stop movement and do not take the wrong
connection.
(17) In preparing the trestle, please secure the maintenance engineer safety at high place in reference to
Fig. 3 (c). Design with the Scaffolding and Safety-belt with circumspection.
s-3
SAFETY PRECAUTIONS B-83284EN-2/05
RP1
Pulsecoder
RI/RO,XHBK,XROT
RM1
Motor power/brake
EARTH
Safety fence
WARNING
When you close a fence, please confirm that there is not a person from all
directions of the robot.
EAS1 In case
For of R-30iA
the R-30iB, the R-30iB Mate
TerminalsEAS1,EAS11,EAS2,EAS21
Terminals EAS1,EAS11,EAS2,EAS21 areorprovided
FENCE1,FENCE2
on the
EAS11 are provided on the
emergency stop board.operation box or on the terminal block
of the printed circuit boar d.
EAS2
Refer
In casetoof R-30iA
the ELECTRICAL
Mate CONNCETIONS Chapter of
EAS21 CONNECTION of
Terminals EAS1,EAS11,EAS2,EAS21 are provided
R-30iB controller maintenance
on the emergency stop board manual (B-83195EN)
or connector panel. or
(in caseMate
R-30iB of Open air type)
controller maintenance manual (B-83525EN)
for details.
Termianls FENCE1,FENCE2 ar e provided
on the emergency stop board.
Single chain
Panel board
Refer to controller maintenance manual for details.
FENCE1
FENCE2
s-4
B-83284EN-2/05 SAFETY PRECAUTIONS
Fence
Steps
Trestle
Pedestal
for maintenance
(1) If you don’t need to operate the robot, turn the power off the robot controller, or press the
“EMERGENCY STOP” button, and then proceed your work.
(2) Operate the robot system outside of the robot operating space.
(3) Install a safety fence with a safety gate to prevent any worker other than the operator from entering
the dangerous area unexpectedly and the worker from entering a hazardous area.
(4) Install one or more necessary quantity of EMERGENCY STOP button(s) within the operator’s reach
in appropriate location(s) based on the system layout.
The robot controller is designed to be connected to an external EMERGENCY STOP button.
With this connection, the controller stops the robot operation (Please refer to "STOP TYPE
OF ROBOT" in SAFETY PRECAUTIONS for detail of stop type), when the external
EMERGENCY STOP button is pressed. See the diagram below for connection.
Dual chain
External stop button
Emergency stop board (Note)
Panel board
or Panel board Connect EES1 and EES11, EES2 and EES21
EES1
(Note)
For the R-30iB, the R-30iB Mate
EES11 Connect EES1and EES11,EES2 and EES21or EMGIN1and EMGIN2.
EES1,EES11,EES2,EES21 are on the emergency stop board
EES2 In case of R-30iA
EES1,EES11,EES2,EES21
Refer to the ELECTRICAL or EMGIN1,EMGIN2 are on the panel
CONNCETIONS board. of
Chapter
EES21
CONNECTION of
In case of R-30iA Mate
EES1,EES11,EES2,EES21 are
R-30iB controller maintenanceon the emergency
manual stop boardor
(B-83195EN)
or connector
R-30iB Matepanel (in casemaintenance
controller of Open air type).
manual (B-83525EN)
Single chain EMGIN1,EMGIN2 are on the emergency stop board.
for details.
External stop button Refer to the maintenance manual of the controller for details.
Panel board
EMGIN1
EMGIN2
(1) Unless it is specifically necessary to enter the robot operating space, carry out all tasks outside the
area.
(2) Before teaching the robot, check that the robot and its peripheral devices are all in the normal
condition.
(3) If it is inevitable to enter the robot operating space to teach the robot, check the locations, settings,
and other conditions of the safety devices (such as the EMERGENCY STOP button, the
DEADMAN switch on the teach pendant) before entering the area.
(4) The programmer must be extremely careful not to let anyone else enter the robot operating space.
(5) Programming must be done outside of the safety fence as far as possible. If programming needs to be
done in the area of the safety fence, the programmer must take the following precautions:
- Before entering the safety fence area, ensure that there is no risk of hazardous situation in the
area.
- Be ready to press the emergency stop button whenever it is necessary.
- Operate the Robot at low speed.
- Before starting programming, check the entire system status to ensure that no remote instruction
to the peripheral equipment or motion would harm user .
Our operator panel is provided with an emergency stop button and a key switch (mode switch) for selecting the
automatic operation mode (AUTO) and the teach modes (T1 and T2). Before entering the inside of the safety
fence for the purpose of teaching, set the switch to a teach mode, remove the key from the mode switch to prevent
other people from changing the operation mode carelessly, then open the safety gate. If the safety gate is opened
with the automatic operation mode set, the robot stops (Please refer to "STOP TYPE OF ROBOT" in SAFETY
PRECAUTIONS for detail of stop type). After the switch is set to a teach mode, the safety gate is disabled. The
programmer should understand that the safety gate is disabled and is responsible for keeping other people from
entering the inside of the safety fence.
Teach pendant is provided with a switch to enable/disable robot operation from teach pendant and DEADMAN
switch as well as emergency stop button. These button and switch function as follows:
(1) Emergency stop button: Causes the stop of the robot (Please refer to "STOP TYPE OF ROBOT" in SAFETY
PRECAUTIONS for detail of stop type) when pressed.
(2) DEADMAN switch: Functions are different depending on the teach pendant enable/disable switch setting
status.
(a) Enable: Servo power is turned off and robot stops when the operator releases the DEADMAN switch
or when the operator presses the switch strongly.
(b) Disable: The DEADMAN switch is disabled.
(Note) The DEADMAN switch is provided to stop the robot when the operator releases the teach pendant or
presses the pendant strongly in case of emergency. The R-30iB/R-30iB Mate employs a 3-position
DEADMAN switch, which allows the robot to operate when the 3-position DEADMAN switch is pressed
to its intermediate point. When the operator releases the DEADMAN switch or presses the switch
strongly, the robot stops immediately.
The operator’s intention of starting teaching is determined by the controller through the dual operation of setting the
teach pendant enable/disable switch to the enable position and pressing the DEADMAN switch. The operator
should make sure that the robot could operate in such conditions and be responsible in carrying out tasks safely.
Based on the risk assessment by FANUC, number of operation of DEADMAN switch should not exceed about
10000 times per year.
s-6
B-83284EN-2/05 SAFETY PRECAUTIONS
The teach pendant, operator panel, and peripheral device interface send each robot start signal. However the
validity of each signal changes as follows depending on the mode switch and the DEADMAN switch of the operator
panel, the teach pendant enable switch and the remote condition on the software.
Software
Teach pendant
Mode remote Teach pendant Operator panel Peripheral device
enable switch
condition
Local Not allowed Not allowed Not allowed
On
AUTO Remote Not allowed Not allowed Not allowed
mode Local Not allowed Allowed to start Not allowed
Off
Remote Not allowed Not allowed Allowed to start
Local Allowed to start Not allowed Not allowed
On
T1, T2 Remote Allowed to start Not allowed Not allowed
mode Local Not allowed Not allowed Not allowed
Off
Remote Not allowed Not allowed Not allowed
T1,T2 mode: DEADMAN switch is effective.
(6) To start the system using the operator’s panel, make certain that nobody is in the robot operating
space and that there are no abnormal conditions in the robot operating space.
(7) When a program is completed, be sure to carry out the test operation according to the following
procedure.
(a) Run the program for at least one operation cycle in the single step mode at low speed.
(b) Run the program for at least one operation cycle in the continuous operation mode at low
speed.
(c) Run the program for one operation cycle in the continuous operation mode at the intermediate
speed and check that no abnormalities occur due to a delay in timing.
(d) Run the program for one operation cycle in the continuous operation mode at the normal
operating speed, and check that the system operates automatically without trouble.
(e) After checking the completeness of the program through the test operation above, execute it in
the automatic operation mode.
(8) While operating the system in the automatic operation mode, the teach pendant operator must leave
the safety fence.
s-7
SAFETY PRECAUTIONS B-83284EN-2/05
(6) Before the start of maintenance, check the robot and its peripheral devices are all in the normal
condition.
(7) Do not operate the robot in the automatic mode while anybody is in the robot operating space.
(8) In maintaining the robot parallel to a wall or instrument, or when multiple workers are working
nearby, make certain that their escape path is not obstructed.
(9) When a tool is mounted on the robot, or any moving device other than the robot is installed,
such as belt conveyor, careful attention required for those motion.
(10) Assign an expert near the operator panel who can press the EMERGENCY STOP button whenever
he sees the potential danger.
(11) In case of replacing a part, please contact your local FANUC representative. Wrong procedure may
cause the serious damage to the robot and the worker.
(12) Make sure that no impurity into the system in while (in) replacing or reinstalling components.
(13) Turn off the circuit breaker to protect again electric shock in handling each unit or printed circuit
board in the controller during inspection. If there are two cabinets, turn off the both circuit breaker.
(14) A part should be replaced with a part recommended by FANUC. If other parts are used, malfunction
or damage would occur. Especially, a fuse that is not recommended by FANUC should not be used.
Such a fuse may cause not only a damage to the internal parts of the controller but also a fire.
(15) When restarting the robot system after completing maintenance work, make sure in advance that
there is no person in the operating space and that the robot and the peripheral devices are not
abnormal.
(16) In case of remove the motor or brake, suspend the arm by crane or other equipment beforehand to
avoid falling.
(17) Whenever grease is spilled on the floor, remove them as soon as possible to prevent from falling.
(18) The following parts are heated. If a maintenance engineer needs to touch such a part in the heated
state, the worker should wear heat-resistant gloves or use other protective tools.
• Servo motor
• Inside of the controller
• Reducer
• Gearbox
• Wrist unit
(19) Maintenance must be done with appropriate lightning. Be careful that those lightning will not cause
any further danger.
(20) When a motor, reducer, or other heavy load is handled, a crane or other equipment should be used to
protect maintenance engineers from excessive load. Otherwise, the maintenance engineers would be
severely injured.
(21) Must never climb or step on the robot even in the maintenance. If it is attempted, the robot would be
adversely affected. In addition, a misstep can cause injury to the worker.
(22) Secure a pedestal and wear the safety belt in performing the maintenance work in high place.
(23) Remove all the spilled oil or water and metal chips around the robot in the safety fence after
completing the maintenance.
(24) All the related bolts and components must return to the original place in replacing the parts. If some
parts are missing or left (remained), repeat the replacement work until complete the installation.
(25) In case robot motion is required during maintenance, the following precautions should be taken :
• Secure an escape route. And during the maintenance motion itself, monitor continuously the
whole system so that your escape route will not become blocked by the robot, or by peripheral
equipment.
• Keep vigilant attention for the potential danger. and to press the emergency stop button
whenever it is necessary.
(26) Periodic inspection required. (Refer to the robot mechanical manual and controller maintenance
manual.) A failure to do the periodical inspection can may adversely affect the performance or
service life of the robot and may cause an accident
(27) After replacing some parts, a test run required by the predetermined method. (See TESTING section
of “Controller operator’s manual”. During the test run, the maintenance staff must work outside the
safety fence.
s-8
B-83284EN-2/05 SAFETY PRECAUTIONS
s-10
B-83284EN-2/05 SAFETY PRECAUTIONS
WARNING
The stopping distance and time of Controlled stop are longer than those of
Power-Off stop. A risk assessment for the whole robot system which takes into
consideration the increased stopping distance and stopping time, is necessary
when Controlled stop is used.
When the emergency stop button is pressed or the FENCE is open, the stop type of robot is Power-Off
stop or Controlled stop. The configuration of stop type for each situation is called stop pattern. The stop
pattern is different according to the controller type or option configuration.
s-11
SAFETY PRECAUTIONS B-83284EN-2/05
(*) R-30iB / R-30iB Mate does not have servo disconnect. R-30iB Mate does not have SVOFF input.
The stop pattern of the controller is displayed in "Stop pattern" line in software version screen. Please
refer to "Software version" in operator's manual of controller for the detail of software version screen.
Alarm Condition
SRVO-001 Operator panel E-stop Operator panel emergency stop is pressed.
SRVO-002 Teach pendant E-stop Teach pendant emergency stop is pressed.
SRVO-007 External emergency stops External emergency stop input (EES1-EES11, EES2-EES21) is open.
SRVO-408 DCS SSO Ext Emergency Stop In DCS Safe I/O connect function, SSO[3] is OFF.
SRVO-409 DCS SSO Servo Disconnect In DCS Safe I/O connect function, SSO[4] is OFF.
The stop type of DCS Position and Speed Check functions is not affected by the loading of this option.
WARNING
The stopping distance and time of Controlled stop are longer than those of
Power-Off stop. A risk assessment for the whole robot system which takes into
consideration the increased stopping distance and stopping time, is necessary
when this option is loaded.
150916
s-12
B-83284EN-2/05 TABLE OF CONTENTS
TABLE OF CONTENTS
SAFETY PRECAUTIONS............................................................................s-1
1 PREFACE................................................................................................ 1
1.1 ABOUT MANUAL .......................................................................................... 1
2 OVERVIEW ............................................................................................. 3
3 SOFTFLOAT FUNCTION........................................................................ 5
3.1 JOINT / CARTESIAN SOFTFLOAT............................................................... 5
3.2 PUSHOUT SOFTFLOAT ............................................................................... 9
3.3 KNOWHOW OF SOFTFLOAT..................................................................... 11
3.4 KNOWHOW OF CARTESIAN SOFTFLOAT ............................................... 12
3.5 CAUTIONS / RESTRICTIONS..................................................................... 13
4 CONTINUOUS ROTATION FUNCTION ............................................... 15
5 OPERATION GROUP DO OUTPUT FUNCTION.................................. 20
6 AUTOMATIC ERROR RECOVERY FUNCTION................................... 22
6.1 AUTOMATIC ERROR RECOVERY FUNCTION ......................................... 22
6.2 RESUME PROGRAM FUNCTION .............................................................. 22
6.3 FAST EXIT/ENTRY FEATURE.................................................................... 23
6.4 RESUME_PROG INSTRUCTION ............................................................... 23
6.5 RETURN_PATH_DSBL INSTRUCTION...................................................... 26
6.6 MAINT_PROG INSTRUCTION.................................................................... 27
6.7 SETTING OF THE AUTOMATIC ERROR RECOVERY FUNCTION........... 30
6.8 MANUAL OPERATION SCREEN OF THE RESUME PROGRAM FUNCTION
..................................................................................................................... 40
6.9 EXECUTION OF THE RESUME PROGRAM FROM THE TEACH PENDANT
AND TEST MODE ....................................................................................... 43
6.10 CHANGING CONDITIONS FOR EXECUTING THE RESUME PROGRAM 43
6.11 OTHER SPECIFICATIONS AND RESTRICTIONS ..................................... 44
6.12 WARNINGS (Be sure to read this section for safety.).................................. 45
7 REMOTE TCP FUNCTION.................................................................... 46
7.1 SETUP......................................................................................................... 48
8 HIGH SENSITIVITY COLLISION DETECTION..................................... 51
8.1 SPECIFICATION ......................................................................................... 51
8.2 SETTINGS................................................................................................... 51
8.3 COLLISION GUARD SETUP SCREEN ....................................................... 52
8.4 PROGRAM INSTRUCTIONS ...................................................................... 53
8.4.1 COL DETECT ON / COL DETECT OFF .............................................................53
8.4.2 COL GUARD ADJUST .........................................................................................54
8.5 CAUTIONS .................................................................................................. 56
9 LOAD ESTIMATION ............................................................................. 57
c-1
TABLE OF CONTENTS B-83284EN-2/05
11 GRAVITY COMPENSATION................................................................. 69
11.1 SYSTEM VARIABLES ................................................................................. 69
11.2 MOTION SCREEN ...................................................................................... 69
11.3 MASTERING ............................................................................................... 70
11.3.1 “Normal Mastering” and “GC Mastering” .............................................................70
11.3.2 How to Choose Mastering Method.........................................................................71
11.3.3 Mastering Procedure...............................................................................................71
11.3.4 Guidance of GC Mastering.....................................................................................72
c-5
TABLE OF CONTENTS B-83284EN-2/05
c-7
TABLE OF CONTENTS B-83284EN-2/05
c-9
TABLE OF CONTENTS B-83284EN-2/05
c - 10
B-83284EN-2/05 TABLE OF CONTENTS
c - 12
B-83284EN-2/05 1. PREFACE
1 PREFACE
This chapter explains the manual plan.
This manual describes the software optional functions. Each chapter describes one software option. Please
select and refer to the chapters describing your required function.
-1-
1. PREFACE B-83284EN-2/05
Related manuals
The following manuals are available:
-2-
B-83284EN-2/05 2. OVERVIEW
2 OVERVIEW
This manual describes the following software options.
-4-
B-83284EN-2/05 3. SOFTFLOAT FUNCTION
3 SOFTFLOAT FUNCTION
Usually, the robot moves accurately toward the goal specified using the teach pendant (taught point).
When the robot is used to mount workpieces on a machine tool, variances in workpiece precision may result
in a shift in the workpiece position relative to the tool, thus possibly causing interference between the
workpiece and tool.
A softfloat function has been added which is effective in mounting workpieces with variances in precision
onto a machine tool.
The softfloat function is also very effective if the synchronization speed is unstable as in the extraction of
workpieces in sync with hydraulic extrusion, and if workpieces that the robot cannot grip accurately, such
as rough-machined workpieces, are to be handled.
Program instruction
The following three program instructions related to the softfloat function are supported.
- SOFTFLOAT[n]
The softfloat function is enabled using condition n.
* The setting of softfloat condition is explained in ”Condition setting menu”.
- SOFTFLOAT END
The softfloat function is disabled.
- FOLLOW UP
When an external force is removed from a robot, it usually tries to go back to the taught point.
However, this instruction causes the robot to assume that the current position is the taught point, and
prevents it from going back to the taught point.
-5-
3. SOFTFLOAT FUNCTION B-83284EN-2/05
- Sole instruction
The softfloat function is enabled after the end of the motion specified on the line preceding the solely
specified SOFTFLOAT[n] instruction.
In the following example, the softfloat function is enabled after the motion specified on line 1 ends,
and disabled by SOFTFLOAT END on line 5.
100%
50%
0%
The soft float function is enabled.
NOTE
The auxiliary motion instruction is not supported by Cartesian softfloat.
List menu
SETUP/SOFTFLOAT
Group1 1/10
No Type Start(%) Comment
1 JOINT 0 [ ]
2 CART ********[ ]
3 CART ********[ ]
4 CART ********[ ]
5 CART ********[ ]
6 CART ********[ ]
7 CART ********[ ]
8 CART ********[ ]
9 CART ********[ ]
10 CART ********[ ]
[TYPE] NUMBER LIST JOINT CART > [TYPE] NUMBER LIST JOINT CART >
GROUP LIST > GROUP LIST >
-7-
3. SOFTFLOAT FUNCTION B-83284EN-2/05
Items Descriptions
Soft ratio Soft ratio for each axis can be specified on line 3 and the subsequent lines. The soft ratio
indicates how strongly the axis resists external forces. It is specified between 0% and 100%.
A soft ratio of 100% corresponds to being the most flexible.
Whether the softfloat function is enabled/disabled can be specified for each axis on line 3 and
the subsequent lines. Setting the cursor at the rightmost end (enabled/disabled setting
position) of each line causes the F4 (ENABLE) and F5 (DISABLE) keys to appear.
Use these keys to specify whether to enable/disable the softfloat function.
NOTE Pressing the F2 (NUMBER) key selects another page of the detail menu for other
conditions.
Force or moment
Soft Tol
Soft Rat
Position deviation
SETUP/SOFTFLOAT
Group1 10/10
No Type Start(%) Comment
1 CART ********[ ]
2 CART ********[ ]
3 CART ********[ ]
4 CART ********[ ]
5 CART ********[ ]
6 CART ********[ ]
7 CART ********[ ]
8 CART ********[ ]
9 CART ********[ ]
10 CART ********[ ]
5 Set cursor on schedule No. to set pushout softfloat, and push F3, DETAIL key.
6 Push NEXT key until “PUSH” are shown on function key line.
7 Push F4, PUSH key. Detail screen of pushout softfloat will be displayed.
-9-
3. SOFTFLOAT FUNCTION B-83284EN-2/05
SOFTFLOAT(PUSHOUT)
Group1 1/6
1 Schedule No.[10]:[**************]
2 Enable/Disable:[DISABLE]
3 Coordinate:[WORLD]
Motion Type
4 J1:[PUSH ] J2:[PUSH ] J3:[PUSH ]
5 J4:[PUSH ] J5:[PUSH ] J6:[PUSH ]
6 Soft direction:[None ]
Step
1 Set “enable/disable” and “coordinate” same as current softfloat.
2 Set “soft direction” to the direction which should be soft in the schedule No.
3 Set motion type of the axis which should move passively following the force from outside to “FREE”.
Only one axis can be “FREE” in one group.
SOFTFLOAT(PUSHOUT)
Group1 4/6
1 Schedule No.[10]:[**************]
2 Enable/Disable:[ENABLE]
3 Coordinate:[WORLD]
Motion Type
4 J1:[PUSH ] J2:[PUSH ] J3:[FREE ]
5 J4:[PUSH ] J5:[PUSH ] J6:[PUSH ]
6 Soft direction:[None ]
Example)
When J1 is 90 degree, to make X direction of world coordinate soft, motion type of J1 should be “FREE”.
- 10 -
B-83284EN-2/05 3. SOFTFLOAT FUNCTION
Step
1 In edit screen, open the program to use pushout softfloat.
2 Push NEXT key until [INST] is shown on function key.
3 Teach softfloat[…] instruction on the line to start pushout softfloat.
4 Set softfloat schedule No. of pushout softfloat in the index of softfloat[…] instruction.
5 Teach softfloat end instruction on the line to stop pushout softfloat.
Bad example)
Force from outside will be added if
1: CALL HNDCLOSE softfloat starts after hand closed.
2: SOFTFLOAT[10]
3: WAIT 10.00(sec)
4: SOFTFLOAT END
Good example)
Force from outside will not be
1: SOFTFLOAT[10]
added if softfloat starts before hand
2: CALL HNDCLOSE
closed.
3: WAIT 10.00(sec)
4: SOFTFLOAT END
- 11 -
3. SOFTFLOAT FUNCTION B-83284EN-2/05
By this method, robot will become more soft to move +X direction and less soft to move –X direction.
This know-how is effective in all softfloat of joint, Cartesian and pushout.
Bad example) Good example)
P[1] P[1]
Area suitable
for softfloat
Mechanical unit
operation area
- Schedule setup
Set 100% in “soft rat” of the direction or rotation that you want to make soft.
Adjust “soft tol” of pushing direction to limit force to avoid pushing with too large force.
- Velocity teaching
In softfloat with robot motion, robot may keep still with small velocity taught.
Teach the velocity more than about 100 mm/s.
- 12 -
B-83284EN-2/05 3. SOFTFLOAT FUNCTION
- TCP setup
In application which should keep tool direction, TCP should be X, Y and Z =0 when softfloat starts.
By this, difference between soft direction and hard direction appears well.
Example)
Tool frame whose X=0, Y=0, Z=0 and
1: UTOOL_NUM=9
W, P, R are the same as actual tool
2: SOFTFLOAT[10]
3: UTOOL_NUM=2
TCP set as actual tool
4: WAIT 10.00(sec)
5: SOFTFLOAT END
- TCP setup
Use the tool frame set as actual tool. You don’t have to change TCP when softfloat starts.
Select the tool as short as possible. X, Y and Z direction can’t become hard enough if tool is long.
Moment of the direction to match face is necessary. Select tool that can generate moment of the
direction to match face by pushing even with largest orientation mismatch.
● If the program is caused to pause, then restarted, the states of the softfloat function (such as
enabled/disabled and the softfloat start ratio) are set to the conditions which exist before the program is
caused to pause. However, the softfloat function is disabled if the operation listed above is done.
● The softfloat function cannot be enabled by any method other than the SOFTFLOAT instruction.
● When the softfloat function is enabled, the robot moves in the CNT 0 mode (no position check is
made) even if FINE has been specified as motion statement positioning mode.
● When the softfloat function is enabled, if an external force causes the robot to move beyond a certain
distance, the following servo alarms occur.
- If the robot is at rest :
[SRVO-023 Stop error excess(G:i A:j)]
- If the robot is operating :
[SRVO-024 Move error excess(G:i A:j)]
● If an attempt is made to enable the softfloat function with a brake applied, the brake is released
automatically before the function is enabled.
● When the softfloat function is enabled, brake control is ineffective.
● If the motion group mask in a program is [*,*,*,*,*,*,*,*] (there is no motion group), when the
program issues instructions with the softfloat function, the following alarm occurs:
[INTP-216 (program name, line number) Invalid value for group number]
● The range of motion with the softfloat function enabled should be minimized. A weight balance may
vary depending on the softfloat ratio and travel distance, thus shifting the vertical axis upward or
downward.
The range of motion with an auxiliary motion instruction issued should also be minimized for the same
reason. In addition, the speed of motion should be kept low.
● When the softfloat function is enabled, follow-up processing is normally performed for individual
motion instructions.
This processing is enabled or disabled according to system variable $SFLT_DISFUP.
NOTE
Follow-up
With the softfloat function, external forces are applied to the robot so that it
operates at positions slightly different from those specified. When the external
force is removed after the completion of the operation, the robot usually attempts
to move back to a specified point abruptly. Follow-up prevents this abrupt
movement.
- 14 -
B-83284EN-2/05 4. CONTINUOUS ROTATION FUNCTION
NOTE
For example, the ”final axis” refers to the J6 axis of a robot having six axes.
For example, this function is useful for rotating those devices that require continuous rotation, such as
conveyers, pumps, and grinders, about a robot axis or additional rotation axis.
To specify the items for this function, such as disable/enable, use the SETUP Continuous Turn screen. The
start and stop of continuous rotation are directed from a program.
Before this function can be used, the setup necessary for continuous rotation must be performed.
Only a single continuous rotation axis can be allocated for each operation group. The axis must satisfy the
following conditions:
● Final axis of the robot
● Final axis of the built-in additional rotation axes
● Any of the normal additional rotation axes
● Final axis of the independent additional axes
The continuous rotation axis must satisfy the following mechanical conditions:
● The mechanism must allow continuous operation (must be free of obstacles such as stoppers).
● The gear reduction ratio (value of Gear Ratio (motor) / Gear Ratio (axis) on the setting screen, the
speed of the motor required for one rotation about the axis) must be 4000 or less.
Function
When this function is enabled, the axis allocated as a continuous rotation axis allows limitless rotation. The
angle on the axis is, therefore, represented by a relative degree within +180°, not by an absolute one. For
example, the figure below shows rotation from 0° to 200° in the positive direction. The angle on the axis
after the rotation is -160°, not 200°.
0 deg
+200 deg
-160 deg
When this function is enabled but continuous rotation is not performed (see the next page for an explanation
of how to use continuous rotation), rotation is performed about the continuous rotation axis from the current
angle to the target angle in whichever direction incurs the least amount of motion. (Usually, the direction of
rotation about the axis is determined with the relationship between the current and target angles.)
This ”shorter-way operation” is effective in reducing the cycle time.
- 15 -
4. CONTINUOUS ROTATION FUNCTION B-83284EN-2/05
Current angle
Shorter way
[ TYPE ] DONE
5 Specify the necessary items using the numeric and other keys.
● To disable the continuous rotation function, set ”0” for Continuous Turn Axis Num.
● The maximum value for Gear Ratio (motor) and Gear Ratio (axis) is 2147483646.
● Set the operation group number for Group. If a different number (number of the operation group
to be viewed) is entered in this field, the other settings are changed to those of the operation
group.
6 After specifying the items, press F4, DONE.
7 Set up Constant Path function. For detail about simultaneous use of Continuous Rotation and Constant
Path function, please refer to next section “Use of Continuous Rotation function with Constant Path
function”.
● In case that Constant Path function is needed to be disabled by limitation (Example: Continuous
Rotation axis is set in final axis of robot), Constant Path function is disabled and message
“ConstPath is disabled.(Press ENTER)” is displayed.
● In case that the user can choose set Constant Path disabled or not (Example: Continuous Rotation
axis is set in independent axis), “Disable Constant Path Function?” is displayed.
● When F2, YES is pressed, Constant Path function is disabled and “ConstPath is
disabled.(Press ENTER)” is displayed.
- 16 -
B-83284EN-2/05 4. CONTINUOUS ROTATION FUNCTION
● When F3, NO is pressed, setup of Constant Path function is NOT changed. If Constant Path
function is enabled, “ConstPath is enabled.(Press [ENTER] key)” is displayed. Else if
Constant Path function is disabled, “ConstPath is disabled.(Press [ENTER] key)” is
displayed.
8 If [ENTER] key is pressed, message “Cycle power to take effect (press [ENTER] key)” will be
displayed.
9 Turn off the power, then turn it back on with a cold start. (At first cycle power from Continuous
Rotation axis setup, cycle power will be done by cold start forcedly. Later second cycle power, cycle
power will be done by selected start mode.)
The items on the continuous rotation setup screen are described below.
● In multi-group program, if continuous rotation axis exists in any of the groups, alarm “CPMO-004
Feature not Supported (G:%d^2) ” will be posted at execution. To use continuous rotation in a
program, please separate groups which have Continuous Rotation axis from groups that DOES NOT
have Continuous Rotation axis. Or please disable Constant Path function.
● If Continuous Rotation axis is set in robot finale axis, Constant Path function is disabled forcedly.
● If Constant Path function setup is changed by Continuous Rotation setup, original Constant Path
function status is restored after Continuous Rotation setup is cleared.
- 17 -
4. CONTINUOUS ROTATION FUNCTION B-83284EN-2/05
* where i = –100 to 100, which is the ratio of the rotation axis speed to the maximum axis speed (%)
Notes
● Continuous rotation continues even if logic instructions (instructions other than those in operation
statements) are executed.
● During program playback, the turn number for the continuous rotation axis is ignored, and is always
assumed to be ”0”.
● The turn number for the continuous rotation axis at a point specified when this function is enabled is
always stored as ”0”.
● If the rotation axis speed for a continuous rotation speed instruction is specified as ”0”, continuous
operation is not performed. If an operation statement is specified next, shorter-way operation is
performed on the continuous rotation axis. This feature is useful if continuous rotation about the
continuous rotation axis is to be stopped temporarily but temporary stop of the robot due to the end of
the continuous rotation is to be avoided. (See the next section, ”Example of use”.)
● In single-step execution (both forward and backward), continuous rotation is not performed even if a
continuous rotation speed instruction is added; shorter-way operation is performed.
● Continuous rotation stops due to a hold. If program execution is subsequently restarted, if the target
position has already been reached on axes other than the continuous rotation axis, continuous rotation
is not performed. If the target position has not been reached on axes other than the continuous rotation
axis, continuous rotation is restarted.
● Continuous rotation about the continuous rotation axis is possible from jog feed.
Example of use
The following shows an example of using the continuous rotation speed instruction.
● Description of lines 1 to 3:
During operation from P[1] to P[2], continuous operation is performed. Although the positioning
format specified on line 2 is ”CNT”, the robot decelerates (stops temporarily on all axes at the start of
the operation on line 3) because a continuous rotation speed instruction is not added to the next line,
line 3.
- 18 -
B-83284EN-2/05 4. CONTINUOUS ROTATION FUNCTION
● Description of lines 4 to 6:
Continuous rotation starts as soon as the execution of line 4 starts. Because the rotation axis speed
specified with the continuous rotation speed instruction on line 5 is 0, continuous rotation stops
temporarily at the start of the execution of line 5. Because continuous rotation continues, the
positioning format CNT100 on line 4 is valid and the robot does not decelerate.
When line 6 is executed, shorter-way operation is performed on the continuous rotation axis.
● Description of lines 7 to 9:
Continuous rotation starts at the start of operation on line 7. Continuous rotation continues during the
execution of the wait instruction (logic instruction) on line 8.
The robot stops temporarily on all axes at the start of operation on line 9, and continuous rotation
stops.
Notes/restrictions
Note the following when using this function:
● When continuous rotation is to be performed on a robot axis or built-in additional axis, The X and Y
components of the tool coordinate system must both be 0. (Only the Z-axis component can have a
value other than 0.)
If this condition is not satisfied, the path of linear or circular or circle arc motion cannot be guaranteed
in normal motion other than continuous rotation.
● This function cannot be used together with the following functions:
- Asynchronous addition axis speed instruction. (The synchronous additional axis speed
instruction can be used.)
- Arc sensor
- Weaving
- TCP speed estimation function (sealing flow rate control)
- Cannot use Incremental instruction (INC) for Continuous rotation axis. (Can use only for
non-continuous rotation axis or the continuous rotation axis is disabled case.)
● This function automatically updates the mastering data (for the continuous rotation axis only)
according to the amount of rotation about the continuous rotation axis. Thus, previously recorded
mastering data may not match the current mastering data.
After this function is disabled, it is not necessary to perform mastering.
● When this function is disabled, the current position on the continuous rotation axis may fall outside the
stroke limits. If this occurs, move the position on continuous rotation axis within the stroke limits
using jog feed or a program.
● If, on a multi-group system, the settings on the SETUP Continuous Turn screen are changed and the F4,
DONE key is pressed, it is necessary to set system variable
$PARAM_GROUP[group].$SV_OFF_ENB[i] (where i is an axis number) to FALSE to disable break
control for all the axes for all operation groups before turning the power back on with a cold start.
● On a multi-group system, even if there are multiple continuous rotation axes, separate continuous
rotation speeds cannot be specified for them.
● At the end of continuous rotation, one or more rotations about the continuous rotation may be
performed to ensure smooth deceleration and stop. (The amount of rotation differs depending on the
acceleration/deceleration constant.)
● Even during backward execution (single-step execution), shorter-way operation is performed on the
continuous rotation axis. If, therefore, forward step execution and backward execution are performed
sequentially in an operation statement with the movement angle being very close to 180o, rotation may
be performed about the continuous rotation axis in the same direction during the forward and
backward executions.
● Original Path Resume feature is disabled when continuous turn loaded. Even if system variable
($SCR.$ORG_PTH_RSM) set enabled, feature is disabled when cycle power.
● Groups which have Continuous Rotation axis will disable Cycle Time Priority feature for Cartesian
motion. This will be longer cycle time and path change. When setup of Continuous Rotation axis is
cleared, Cycle Time Priority feature for Cartesian motion will be restored original state. Please execute
program carefully after changing of Continuous Rotation axis setup.
- 19 -
5. OPERATION GROUP DO OUTPUT FUNCTION B-83284EN-2/05
Function
This function allows the allocation of two DOs (jog signal and program signal) to a single operation group.
For DOs, any digital output signals or robot output signals of the robot can be used.
Each allocated DO signal turns on/off under the following conditions:
- Jog signals
When the teach pendant is disabled, all signals turn off.
When the teach pendant is enabled, the signal for the currently selected operation group on the teach
pendant turns on, while the other signals turn off.
- Program signals
Regardless of whether the teach pendant is enabled or disabled, the signal for the operation group of
the program currently being executed/temporarily stopped turns on. (The signal does not turn on when
the program is merely selected.)
If other programs are being executed/temporarily stopped with the multitask option, the signals for the
operation groups of these programs also turn on.
Setup
To set up the operation group DO output function, use the [SETUP Motion DO] screen.
To change the signal number for an operation group, move the cursor to the signal number and enter a new
value.
Motion group DO
1/3
Group No. PROGRAM JOG
1 RO[ 1] RO[ 2]
2 DO[ 3] DO[ 3]
3 RO[ 0] RO[ 0]
[ TYPE ] RO DO
To change the type of a signal, position the cursor to the type of a signal and press function key F4, RO or
F5, DO.
To disable a signal, set the number of the signal to 0.
The same signal can be set for both the program and jog signals for the same operation group. In this case,
the output signal is the OR of the two signals. That is, the signal turns on if either the program or jog signal
turns on. (The signal turns off only if both the program and jog signals turn off.)
- 20 -
B-83284EN-2/05 5. OPERATION GROUP DO OUTPUT FUNCTION
Program MAIN, which does not have an operation group, starts PRG A and PRG B having operation groups
by using execution instructions. PRG A uses operation group 1 and PRG B uses operation group 2.
● The program signals for the groups do not turn on when program MAIN is merely selected.
● When line 1 of MAIN is executed, PRG A is started and the signal for operation group 1 turns on.
● When line 2 of MAIN is executed, PRG B is started and the signal for operation group 2 turns on.
● When PRG A and PRG B terminates, the respective signals for operation groups 1 and 2 turn off.
Notes
Note the following when using this function:
● The same signal cannot be defined for different operation groups.
● While a program is being executed/temporarily stopped, the type (DO or RO) and number of the
program signal cannot be changed.
- 21 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
The automatic error recovery function consists of the following two functions.
• Resume program function
• Fast exit/entry feature
Robot
WIRE_CUT.TP
WELD.TP
1 4
2 3
Work
Wire cutting
In the example shown above, the robot is operated by executing WELD.TP to perform welding along the
path from 2 to 3.
Assume that an arc start failure occurs at the arc start position 2. At this time, if the resume program function
is used, another program called the resume program, which is WIRE_CUT.TP in this case, can be started at
the next start signal input. After this program terminates, another start signal input resumes the original
program. If the resume operation function is then enabled (which is set on the welding system setting
screen), the robot automatically returns to the original position where the robot was stopped, then the
original program is resumed. If the return distance for resume operation is set, the robot returns from the
stop position by the set distance, then the original program is resumed. If no arc is produced, a scratch start
takes place.
- 22 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
WIRE_CUT.TP
Robot
WELD.TP
1 4
2 3
Work
Wire cutting
In the example shown above, the robot is operated by executing WELD.TP to perform welding along the
path from 2 to 3. At this time, when the alarm of something is issued between positions 2-3 and the robot
stops, the fast exit/entry feature automatically does the following operation.
1 From the stopped position, disable arc welding, and execute only the move statements of the original
program up to the end.
2 Execute a maintenance program, which is WIRE_CUT.TP in this case.
3 Disable arc welding, execute the move statements of the original program from the beginning to move
the robot to the stopped position.
4 Enable arc welding, and resume the original program operation.
Thereafter, in this manual, above-mentioned operation 1-4 is called FFR sequence (Fast Fault Recovery
sequence).
- 23 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
To teach the resume instructions, press F1, [INST] to display the related menu, then select “Program
control” from the menu.
RESUME_PROG[1:Comment]
The program name defined by RESUME_PROG[1:Comment] is registered as a resume program when
RESUME_PROG[1:Comment] is executed in original program, and when the alarm is issued while
defining the resume program, the resume program is executed.
RESUME_PROG[1:Comment] = WIRE_CUT
RESUME_PROG[2]
Dual Arm Control A05B – 2600 – J605
RESUME_PROG[2-5]
Multi UOP interface function A05B – 2600 – J964
When the instruction number of RESUME_PROG[ ] is defined, it is necessary to accord the following
conditions.
TP Program that can be started by RESUME_PROG[1:Comment]
START#1/PROD_STAR#1 of UOP
TP Program that can be started by RESUME_PROG[2:Comment]
START#2/PROD_STAR#2 of UOP
TP Program that can be started by RESUME_PROG[3:Comment]
START#3/PROD_STAR#3 of UOP
TP Program that can be started by RESUME_PROG[4:Comment]
START#4/PROD_STAR#4 of UOP
TP Program that can be started by RESUME_PROG[5:Comment]
START#5/PROD_STAR#5 of UOP
For instance, in multi-task, the RESUME_PROG[3:Comment] can be used only by the program that can be
started by START#3/ PROD_STAR#3 of UOP.
The RESUME_PROG[2-5] cannot be used in the single-task because it is for multi-task. Therefore, use the
RESUME_PROG[1:Comment] in the single-task.
- 24 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
To define the resume program instructions, there are the following conditions.
• Multiple resume program instructions cannot be defined in the original program.
• The resume program instructions cannot be defined in the resume/maintenance program.
• A resume program instruction the same instruction number cannot be executed by the plural. For
instance, the RESUME_PROG[5] cannot be executed by other programs while the resume program is
already being defined by the RESUME_PROG[5]. However, the RESUME_PROG[1-4] can be
executed by other programs.
• The resume program instructions cannot be defined in the programs executed by the RUN instruction.
CLEAR_RESUME_PROG
When the CLEAR_RESUME_PROG is executed, the resume program defined by RESUME_PROG[ ] is
erased. Therefore, even if the alarm is issued after the CLEAR_RESUME_PROG is executed, the resume
program is not executed. Moreover, the CLEAR_RESUME_PROG is effective only in the program in
which the CLEAR_RESUME_PROG is defined. For instance, in multi task, when the
CLEAR_RESUME_PROG is executed in the program in which the RESUME_PROG[1] is defined, only
the resume program defined by the RESUME_PROG[1] is erased. At this time, the resume program defined
by the RESUME_PROG[2-5] is never erased.
CAUTION
When the resume program is erased while the resume program is pausing, the
resume program cannot be restarted. The original program restarts from the
pause position of the resume program.
The following programs are examples that use the RESUME_PROG[2] and the
CLEAR_RESUME_PROG.
WELD.TP
Motion group: [*,1,*,*,*,*,*,*]
WELD
1/7
1: J P[1] 40% FINE
2: RESUME_PROG[2:WIRE CUT]=WIRE_CUT
3: L P[2] 300mm/sec FINE
: Arc Start[2]
4: L P[3] 50mm/sec FINE
: Arc End[2]
5: CLEAR_RESUME_PROG
6: J P[4] 40% FINE
[End]
- 25 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
WIRE_CUT.TP
Motion group: [*,1,*,*,*,*,*,*]
WIRE_CUT
1/8
1: L P[1] 50mm/sec FINE
2: J P[2] 50% FINE Wire feed
3: WO[4]=PULSE, 0.5sec
4: L P[3] 20mm/sec FINE
5: L P[4] 50mm/sec FINE Wire cut
6: WAIT 0.8sec
7: J P[5] 50% FINE
[End]
In the above program example, the WIRE_CUT.TP is taught in the second line of the WELD.TP and is
erased in the fifth line. Since the WIRE_CUT.TP is defined as the resume program between the third to
fourth lines, it is executed as the resume program. In the sixth and subsequent lines, the resume program has
been erased, so the resume program is not executed.
RETURN_PATH_DSBL
The RETURN_PATH_DSBL is effective only in the resume program in which the
RETURN_PATH_DSBL is defined. For instance, in multi task, when RETURN_PATH_DSBL is executed
in the resume program defined by RESUME_PROG[1], only the resume operation function of the original
program in which RESUME_PROG[1] is defined becomes invalid. The resume operation function of the
original program in which other RESUME_PROG[2-5] is defined is effective.
The following programs are examples that use the RETURN_PATH_DSBL. The RETURN_PATH_DSBL
instruction is valid only when it is taught within resume program. Use this instruction as shown in the
sample program given below. If the instruction is taught as shown below, the resume operation function
- 26 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
does not operate when the original program resumes after the resume program terminates, even if the
resume operation function is enabled.
WELD.TP
Motion group: [*,1,*,*,*,*,*,*]
WELD
1/7
1: J P[1] 40% FINE
2: RESUME_PROG[2:WIRE CUT]=WIRE_CUT
3: L P[2] 300mm/sec FINE
: Arc Start[2]
4: L P[3] 50mm/sec FINE
: Arc End[2]
5: CLEAR_RESUME_PROG
6: J P[4] 40% FINE
[End]
WIRE_CUT.TP
Motion group: [*,1,*,*,*,*,*,*]
WIRE_CUT
1/9
1: L P[1] 50mm/sec FINE
2: J P[2] 50% FINE Wire feed
3: WO[4]=PULSE, 0.5sec
4: L P[3] 20mm/sec FINE
5: L P[4] 50mm/sec FINE Wire cut
6: WAIT 0.8sec
7: J P[5] 50% FINE
8: RESUME_PATH_DSBL
[End]
The MAINT_PROG[ ] instruction appears in the menu containing the RESUME_PROG[ ] instruction.
- 27 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
MAINT_PROG[1:Comment]
Instruction number
MAINT_PROG[2]
Dual Arm Control A05B – 2600 – J605
MAINT_PROG[2-5]
Multi UOP interface function A05B – 2600 – J964
When the instruction number of MAINT_PROG[ ] is defined, it is necessary to accord the following
conditions.
TP Program that can be started by START#1/PROD_STAR#1 of UOP MAINT_PROG[1:Comment]
TP Program that can be started by START#2/PROD_STAR#2 of UOP MAINT_PROG[2:Comment]
TP Program that can be started by START#3/PROD_STAR#3 of UOP MAINT_PROG[3:Comment]
TP Program that can be started by START#4/PROD_STAR#4 of UOP MAINT_PROG[4:Comment]
TP Program that can be started by START#5/PROD_STAR#5 of UOP MAINT_PROG[5:Comment]
For instance, in multi-task, the MAINT_PROG[3:Comment] can be used only by the program that can be
started by START#3/ PROD_STAR#3 of UOP.
The MAINT_PROG[2-5] cannot be used in the single-task because it is for multi-task. Therefore, use the
MAINT_PROG[1:Comment] in the single-task.
When the FFR sequence is completed, the following messages are displayed on the teach pendant.
MOTN-431 Fast fault recovery 1 When the FFR sequence executed by the MAINT_PROG[1]
is completed.
MOTN -432 Fast fault recovery 2 When the FFR sequence executed by the MAINT_PROG[2]
is completed.
- 28 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
MOTN -433 Fast fault recovery 3 When the FFR sequence executed by the MAINT_PROG[3]
is completed.
MOTN -434 Fast fault recovery 4 When the FFR sequence executed by the MAINT_PROG[4]
is completed.
MOTN -435 Fast fault recovery 5 When the FFR sequence executed by the MAINT_PROG[5]
is completed.
To define the maintenance program instructions, there are the following conditions.
• Multiple maintenance program instructions cannot be defined in the original program.
• The maintenance program instructions cannot be defined in the resume/maintenance program.
• A maintenance program instruction the same instruction number cannot be executed by the plural. For
instance, the MAINT_PROG[5] cannot be executed by other Programs while the maintenance
program is already being defined by the MAINT_PROG[5]. However, the MAINT_PROG[1-4] can
be executed by other Programs.
• The maintenance program instructions cannot be defined in the programs executed by the RUN
instruction.
CAUTION
When the definition of the maintenance program is deleted while executing the
FFR sequence, the maintenance program or the original program cannot be
restarted by the FFR sequence.
WELD.TP
Motion group: [*,1,*,*,*,*,*,*]
WELD
1/6
1: J P[1] 40% FINE
2: MAINT_PROG[2:WIRE CUT]=WIRE_CUT
3: L P[2] 300mm/sec FINE
: Arc Start[2]
4: L P[3] 50mm/sec FINE
: Arc End[2]
5: J P[4] 40% FINE
[End]
WIRE_CUT.TP
Motion group: [*,1,*,*,*,*,*,*]
WIRE_CUT
1/8
1: L P[1] 50mm/sec FINE
2: J P[2] 50% FINE Wire feed
3: WO[4]=PULSE, 0.5sec
4: L P[3] 20mm/sec FINE
5: L P[4] 50mm/sec FINE Wire cut
6: WAIT 0.8sec
7: J P[5] 50% FINE
[End]
- 29 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
In the above program example, the WIRE_CUT.TP is taught in the second line of the WELD.TP. Since the
WIRE_CUT.TP is defined as the maintenance program between the third to final lines, it is executed as the
maintenance program. And when the execution of the WELD.TP ends, the definition of the maintenance
program is automatically deleted.
To display the setting screen of the automatic error recovery function, first press [MENU] key to display the
screen menu, then select ”6 SETUP”. Then, press F1, [TYPE] to display the screen switching menu, then
select Err recovery.
[MENU] → 6 SETUP → Err recovery
- 30 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
Error Recovery Set
1/14
1 Instruction number: 1
For multi-task
For instance, instruction number 1-3 can be selected by this item in the system
that can use RESUME_PROG[1-3] and MAINT_PROG[1-3].
For multi-task
This item can be set by each instruction number.
- 31 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
CAUTION
To continue a resume program at program restart after the resume program is
suspended, input the on state of the recovery switch DI. If it is off, the original
program is executed.
For multi-task
This item can be set by each instruction number.
CAUTION
When the resume program or the maintenance program terminates in the middle,
and the start signal is input, the robot might do action not predictable. Therefore,
before inputting the start signal, check the program name and the program start
line that will be executed with the next start signal. And, if an interfering object
exists, jog the robot to a position where interfering object doesn't exist, then input
the start signal.
This signal may be added to the PLC start signal acceptance conditions.
If this signal is set to 0, this function is disabled.
For multi-task
This item can be set by each instruction number.
Start signal
Resume program terminated midway
Execution of
resume program
Incomplete end DO
For multi-task
This item can be set by each instruction number.
For multi-task
- This item cannot be set by each instruction number. When this item is enabled in
either of instruction number, this function of all the instruction numbers are
automatically enabled.
- Even if this function is enabled, this function is not executed when the alarm
defined in the monitored alarm codes is issued while the alarm is being issued in
other robots. In that case, the program outputs an alarm signal and stops running.
Input of the start signal executes the defined resume program or FFR sequence.
- 33 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
When a defined alarm code is issued, and a program is suspended, the resume program or FFR sequence are
executed at restart.
Each alarm code consists of an alarm code ID and alarm number. The alarm code ID indicates the type of
alarm. For an arc start failure alarm, for example, the following alarm code is indicated:
For alarm numbers, refer to FANUC Robot series R-30iB/R-30iB Mate CONTROLLER OPERATOR’S
MANUAL (Alarm Code List) (B-83284EN-1).
Up to ten alarm codes can be defined as standard. To change the maximum number of alarm codes (up to 20
codes) that can be defined, change system variable $RSMPRG_SV.$NUM_ALARM, cycle power off the
controller.
If the following conditions are met, the alarm code monitoring function is disabled:
• The recovery switch DI is off.
• There is no alarm code defined.
• The resume program or the maintenance program is not defined in the program currently being
executed.
- 34 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
The specifications of the alarm code monitoring function are listed below.
CAUTION
Defined alarms must have the suspension alarm attribute. Do not define any
warning alarm as an alarm code.
For multi-task
This item can be set by each instruction number.
Execution of
resume program Original program is being suspended
Execution of original
program
Fig. 6.7 (b) Enabling/disabling the alarm code monitoring function in the resume program function
Execution of
maintenance program
Original program is being suspended
Execution of original
program
Fig. 6.7 (c) Enabling/disabling the alarm code monitoring function in the fast exit/entry feature
- 35 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
On this screen, the items shown below can be set. The alarm code of the automatic error recovery alarm is
12278.
• User alarm number
When the automatic error recovery alarm is issued, the user alarm message with the set number is
displayed as an alarm message. When this item setting has been changed, the new setting becomes
effective immediately.
• Alarm severity
This item can choose whether the automatic error recovery alarm is a local alarm or global alarm.
When LOCAL is set, the automatic error recovery alarm is issued only for the program that defines the
resume program or the maintenance program. If there is no program that defines the resume program
or the maintenance program, the alarm is regarded as a global alarm. When this item setting has been
changed, the new setting becomes effective immediately.
• Signal type
Choose the type of the digital signal for issuing the automatic error recovery alarm from among DI, RI,
and WI. When this item setting has been changed, the power must be turned off then back on for the
new setting to become effective.
• Signal number
Set the number of the digital signal for issuing the automatic error recovery alarm. When this setting
has been changed, the power must be turned off then back on for the new setting to become effective.
• Detection signal status
Set the status of the digital signal for issuing the automatic error recovery alarm to ON (high) or OFF
(low). When this setting has been changed, the power must be turned off then back on for the new
setting to become effective.
The standard number of automatic error recovery alarm conditions is three. This number can be increased to
up to five by changing system variable $RSMPRG_SV.$NUM_DI_ALM. After this system variable has
been changed, the power must be turned off then back on for the new setting to become effective.
- 36 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
For multi-task
• This item cannot be set by each instruction number. When this item is enabled in
either of instruction number, this function of all the instruction numbers are
automatically enabled.
• When the alarm severity issues the automatic error recovery alarm of LOCAL
alarm when there are multiple programs that define the resume program or the
maintenance program, the automatic error recovery alarm of the number of
programs is issued.
• Define the automatic error recovery alarm code in all the instruction numbers that
can be used when the automatic start feature is enabled, and the automatic error
recovery alarm code is defined in the monitored alarm codes. When LOCAL alarm
is defined in the automatic error recovery alarm only by the limited instruction
number, even if the LOCAL alarm is issued while multiple programs are executed
at the same time, the automatic start feature might not be able to be executed.
For multi-task
This item can be set by each instruction number.
- The operation mode (on the automatic error recovery manual operation screen) is TP_TEST.
• When the teach pendant is disabled:
- The operation mode (on the automatic error recovery manual operation screen) is AUTO.
- The remote conditions are met when system variable $RMT_MASTER is 0.
- There is no alarm code defined. If any alarm code is defined, the alarm code is issued.
- The recovery switch DI function is disabled. If this function is enabled, the recovery switch DI
signal is on.
CAUTION
1. While the resume program is being executed, single step operation cannot be
performed.
2. Even if the resume program information DO is on, the resume program is not
executed when backward execution of the original program is performed.
3. Backward execution in the resume program is possible.
4. The update cycle period for the resume program information DO is 300 ms. When
the conditions listed above have been changed, wait 300 ms before program
execution.
Start signal
Conditions are not met
Resume Program
Information DO
For multi-task
This item can be set by each instruction number.
CAUTION
The number of repetitions counted internally is cleared when the execution of a
move statement has terminated and when the CLEAR_RESUME_PROG
instruction has been executed.
For multi-task
This item can be set by each instruction number.
- 38 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
Defining the automatic start count register
As mentioned above, the resume program may be executed several times repeatedly by the automatic start
feature. When the automatic start count register is defined, a different program can be executed as the
resume program each time the resume program is executed. For example, when the resume program is
executed for the first time by the automatic start feature, the register value is 1. When an alarm is issued
again during execution of the original program, and the resume program is then executed again by the
automatic start feature, the register value is 2. By executing a different subprogram in the resume program
according to the register value, different resume program operation can be performed each time the
repetition count is incremented.
CAUTION
When the resume program is executed by other than the automatic start feature,
the register value is 0. Therefore, a resume program must be created so that the
same subprogram is called when the register value is 0 and when the value is 1.
For multi-task
This item can be set by each instruction number.
For multi-task
This item can be set by each instruction number.
For multi-task
This item can be set by each instruction number.
For multi-task
This item can be set by each instruction number.
- 39 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
CAUTION
1 Perform neither backward execution nor the single step operation while the FFR
sequence is executed.
2 The update cycle period for the FFR sequence information DO is 300 ms. When
the conditions listed above have been changed, wait 300 ms before program
execution.
3 When the teach pendant is enabled, the FFR sequence is not executed.
Start signal
Conditions are not met
FFR Sequence
Information DO
For multi-task
This item can be set by each instruction number.
Instruction number: 1
Error recovery DO status: OFF
Original program:
[WELD ]
Defined resume program:
[WIRE_CUT ]
RESUME comment: [Wire cutting ]
Instruction number: 1
1 Auto error recovery enabled: Yes
2 PAUSED & resume prog incomp: No
3 Program has motion group: No
4 Not in single step mode: No
5 Resume program is defined: No
6 Mode is(AUTO ): Yes
7 Approval DI is ON: None
8 Defined alarm occurs: None
9 Remote when $RMT_MASTER is 0: None
10 No disabled options: None
11 User condition param enable: Yes
[ TYPE ] DONE
Original program
The name of the original program that defines the resume program is indicated.
CAUTION
If a wrong program is defined as the resume program, the robot operation is
unpredictable. Therefore, check that the resume program is correct.
Operation mode
There are three operation modes. The standard setting is AUTO. When the display changes from this screen
to another, AUTO is automatically set again.
- 41 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
When F2, DETAIL is pressed on the manual operation screen of the automatic error recovery function,
detail conditions related to the resume program information DO status are displayed. When all items on the
detail screen are set to Yes or None, the resume program information DO is turned on. When the resume
program information DO is off, and you cannot find the cause of the DO being off, check this screen.
Mode is (xxxx)
This item indicates that the operation mode is suitable for the current status.
For example, when the teach pendant is disabled, “AUTO” is indicated in the portion “xxxx.” When the
teach pendant is enabled, “TP_TEST” is indicated.
Approval DI is ON
This item indicates the recovery switch DI status. When the DI number is not defined, or when the teach
pendant is enabled, “None” is indicated.
- 42 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
Remote when $RMT_MASTER is 0
This item indicates that remote conditions are met. This function is enabled only when the teach pendant is
disabled, system variable $RMT_MASTER is 0, and system variable $RSMPRG_SV.$CHK_REMOTE is
true.
No disabled options
There are options that cannot be used together with the automatic error recovery function. This item
indicates whether such options are present or not.
For example, to execute the resume program when R[1] is 1, create the following monitor program, and start
MONIT1.CH on the system monitor screen.
MONIT1.CH DORESUME.TP
1:WHEN R[1]=1,CALL DORESUME 1:$AUTORCV ENB=1
2:WHEN R[1]<>1,CALL NORESUME 2:MONITOR MONIT3
MONIT2.CH NORESUME.TP
1:WHEN R[1]=1,CALL DORESUME 1:$AUTORCV ENB=0
2:MONITOR MONIT2
MONIT3.CH
1:WHEN R[1]<>1,CALL NORESUME
The start conditions can be changed by modifying the monitor program. For how to use the status
monitoring function, refer to the Status monitoring function section in Utility chapter of R-30iB/R-30iB
- 43 -
6. AUTOMATIC ERROR RECOVERY FUNCTION B-83284EN-2/05
Mate Controller operator’s manual (Basic Operation) (B-83284EN). In this case, the automatic start
function is unavailable.
- 44 -
B-83284EN-2/05 6. AUTOMATIC ERROR RECOVERY FUNCTION
- 45 -
7. REMOTE TCP FUNCTION B-83284EN-2/05
Work
Arm
The robot can rotate to keep the point at which Remote TCP taught the work
- 46 -
B-83284EN-2/05 7. REMOTE TCP FUNCTION
Case of NOT using REMOTE TCP function
As the center of rotation is changed by the variation of work position, the robot can not
rotate to keep the point at which Remote TCP taught the work.
● You can get the easy teaching operation by remote TCP jog function.
Easy to jog the Remote TCP No easy to jog the Remote TCP.
regardless of location and
orientation.
You need the minimum teaching You need many teaching points
points regardless of the orientation according to the direction and
and location of work. position of work.
- 47 -
7. REMOTE TCP FUNCTION B-83284EN-2/05
The robot moves with the taught You can not do teaching to keep the
speed, so you can do uniform sealing. relative speed, so you can not do
uniform sealing.
Required option
● Remote TCP (A05B-2600-J624)
Limitation
● REMOTE TCP cannot be used in joint motion and Wrist joint motion.
● REMOTE TCP cannot be used in the robot which is installed the coordinated motion function.
● REMOTE TCP cannot be used with the following functions.
- Line tracking
- Weaving
- Touch sensor
- Arc sensor
- AVC(TIG arc length control)
- Root path memorization
- Singularity avoidance
● In TCP speed output function, when the robot motion changes from REMOTE TCP to normal, the
accuracy of the speed prediction function may lower.
7.1 SETUP
Setting up
If you use the REMOTE TCP function, you need to teach the tool center point which is fixed on the ground
to the robot.
Z(Tool Direction)
You can set REMOTE TCP position by using the same method for User frame.
1 Press [MENU] key.
2 Select SETUP.
3 Press F1, [TYPE].
4 Select Frames.
- 48 -
B-83284EN-2/05 7. REMOTE TCP FUNCTION
5 If user frame is not displayed, press F3, [OTHER], and select User/RTCP If F3, [OTHER], is not
displayed, press PREV.
6 Move the cursor to the REMOTE TCP frame to use.
SETUP Frames
User/RTCP G1 / Direct Entry 3/9
X Y Z Comment
1 0.0 0.0 0.0 [ ]
2 0.0 0.0 0.0 [ ]
3 0.0 0.0 0.0 [ ]
4 0.0 0.0 0.0 [ ]
5 0.0 0.0 0.0 [ ]
6 0.0 0.0 0.0 [ ]
7 0.0 0.0 0.0 [ ]
8 0.0 0.0 0.0 [ ]
9 0.0 0.0 0.0 [ ]
T2 R1 TOOL 100%
R1 TOOL
Please perform the following procedure to return from REMOTE TCP jogging mode.
1 Press [FCTN] key.
2 Select “TOGGLE REMOTE TCP”.
- 49 -
7. REMOTE TCP FUNCTION B-83284EN-2/05
Select frame
You change the coordinate system by pressing the COORD key. Please select the frame except for JOINT.
T2 R1 TOOL 100%
T2 R1 TOOL 30%
SETUP Frames
User/RTCP G1 / Direct Entry 3/5
X Y Z Comment
1 0.0 0.0 0.0 [ ]
2 0.0 0.0 0.0 [ ]
3 0.0 0.0 0.0 [ ]
4 0.0 0.0 0.0 [ ]
5 0.0 0.0 0.0 [ ]
6 0.0 0.0 0.0 [ ]
7 0.0 0.0 0.0 [ ]
8 0.0 0.0 0.0 [ ]
9 0.0 0.0 0.0 [ ]
<Programming example>
L P[1] 100mm/sec FINE RTCP
The work is moved to P[1] by the relative speed 100 mm/sec between the work and the remote tool.
C P[1]
P[2] 100mm/sec FINE RTCP
The work is moved to P[2] via P[1] by the relative speed 100 mm/sec between the work and the remote tool.
- 50 -
B-83284EN-2/05 8. HIGH SENSITIVITY COLLISION DETECTION
8.1 SPECIFICATION
1) When collision is detected, the function issues an alarm and stops the robot quickly by decelerating it
in such a way that shocks to the robot can be decreased.
2) Since the detection sensitivity has previously been adjusted for each robot type, you can use this
function without adjusting it.
3) You can change the detection sensitivity by the program instruction or in the setting screen.
4) You can temporarily enable/disable this function by the program instructions. (It is impossible to
disable this function regularly.)
5) You can output signal to a DO when collision is detected.
6) You can output status of the collision detection (enabled / disabled) to a DO.
7) The detection sensitivity is automatically increased during teaching operation.
8) This function is enabled since the power of the robot controller is on.
8.2 SETTINGS
Payload information (Basic)
Set the function with load information and the information about devices installed on the robot.
Since the function uses the load information and device information to detect a collision, it is necessary to
set the function with these pieces of information. Be sure to specify the weight of the load, the center of
gravity, and the weight of each device on the robot accurately.
If the inertia (shape) of the load is large, it may be necessary to specify the inertia around the gravity center
of the load. (If the tool is big, and simply specifying its weight and gravity center does not assure accurate
detection, specify its inertia.)
See Section 3.17, “LOAD SETTING” in FANUC Robot series R-30iB/R-30iB Mate CONTROLLER
OPERATOR’S MANUAL (Basic Operation) (B-83284EN) or Section 9, “ LOAD ESTIMATION” in this
manual, for how to specify load information.
- 51 -
8. HIGH SENSITIVITY COLLISION DETECTION B-83284EN-2/05
5 Setup each item of Collision Guard Setup screen referring to Table 8.3.
Group 1 This item indicates the currently selected group to which the other items in the
menu apply. Note that you cannot edit this field directly. Instead, the current
group is selected by pressing F3, GROUP and entering the group number you
wish to display. You will only be able to select a group that supports
High-Sensitivity Collision Detection.
Collision Guard ENABLED This item specifies whether collision detection is enabled or disabled for the
Status currently selected group.
This item cannot be changed in this setup screen.
Sensitivity 100% This item allows you to set the level of sensitivity for Collision Detection for the
currently selected group.
Minimum is 1%. Maximum is 200%.
The lower the value, the lower the sensitivity.
The higher the value, the higher the sensitivity.
In some cases, you can decrease the sensitivity value to eliminate false
alarms. In some cases, you can increase the sensitivity value to provide faster
response.
Sensitivity Def. Reg. 0 This item allows you to specify the register that can be used with the COL
GUARD ADJUST teach pendant instruction to adjust the sensitivity of
Collision Detection within a program. A register number of 0 indicates that the
register is not used.
Collision Guard Error 0 This item allows you to specify a Digital Output that will be turned ON when a
Collision Detect Alarm occurs. A value of 0 indicates that no output will be
turned on.
- 52 -
B-83284EN-2/05 8. HIGH SENSITIVITY COLLISION DETECTION
Col. Guard enabled 0 This item allows you to specify a Digital Output that will be turned on whenever
Collision Detection is enabled via this setup menu, and turned off whenever
Collision Detection is disabled via this setup menu. A value of 0 indicates that
no output will be used.
CAUTION
You can make the collision detection sensitivity insensitive by setting "Sensitivity"
less than 100, but in this case, this function cannot work effectively. Please use
this function by not decreasing "Sensitivity" as much as possible, and if you
decrease "Sensitivity" by necessity, please be very careful.
If robot repeatedly absorbs force as much as collision is detected, the mechanical
parts become strained and the life of the robot is shortened. It is desirable to
change program to lessen the force instead of changing the sensitivity.
NOTE
It is impossible to set the "Collision Guard Setup" at the group which includes a
robot that is not supported "High-Sensitivity Collision Detection" function.
• To disable collision detection temporarily, include the "COL DETECT OFF" instruction in a teach
pendant program.
• To enable collision detection again, include the "COL DETECT ON" instruction in a teach pendant
program.
When the program is finished or aborted, collision detection turns enabled automatically.
Example
10: J P[1] 100% FINE
11: COL DETECT OFF
12: L P[2] 2000mm/sec CNT100
13: L P[3] 2000mm/sec CNT100
14: L P[4] 2000mm/sec CNT100
15: COL DETECT ON
16: J P[2] 50% FINE
This program disables collision detection with lines 12 to 14.
- 53 -
8. HIGH SENSITIVITY COLLISION DETECTION B-83284EN-2/05
CAUTION
While collision detection is disabled, not only "High-Sensitivity Collision Detection"
function but also the basic collision detection function is disabled. Please be
careful adequately. For safety's sake, please set the collision detection disable
region as short as possible.
NOTE
The COL DETECT ON and COL DETECT OFF instructions will only apply to the
motion groups that are included in the group mask of the teach pendant program
that calls them. For example, if COL DETECT OFF is used in a teach pendant
program that contains group 2 only in its group mask, then Collision Detection will
only be disabled for group 2; it will remain enabled for all other groups.
CAUTION
You can make the collision detection sensitivity insensitive by setting "Sensitivity"
less than 100, but in this case, this function cannot work effectively. Please use
this function by not decreasing "Sensitivity" as much as possible, and if you
decrease "Sensitivity" by necessity, please be very careful.
If robot repeatedly absorbs force as much as collision is detected, the mechanical
parts become strained and the life of the robot is shortened. It is desirable to
change program to lessen the force instead of changing the sensitivity.
NOTE
"COL GUARD ADJUST" instruction will apply only to the motion group(s) that is
indicated in the group mask of the program that uses COL GUARD ADJUST. For
example, if COL GUARD ADJUST is used in a program whose group mask is
group 2 only, then the new sensitivity will apply only to group 2; the sensitivity of all
other groups will remain unchanged.
If the group mask of the program that uses COL GUARD ADJUST contains a group that does not support
High-Sensitivity Collision Detection, a warning message will be posted as follows:
This message is just a warning to indicate that no action was taken on that group.
- 54 -
B-83284EN-2/05 8. HIGH SENSITIVITY COLLISION DETECTION
To Use the COL GUARD ADJUST instruction without arguments in a TP program, the following
procedure should be used:
• Set the register(s) specified in the COLL GUARD SETUP menu for the appropriate group(s) to the
new sensitivity value(s).
NOTE If the TP program is a multiple group program, the appropriate register for
each group needs to be set.
• Insert the COL GUARD ADJUST instruction into the TP program at the desired location.
NOTE If the register number in the COL GUARD SETUP menu is zero for one of the groups being
adjusted, then an error will be posted.
If a valid register number is specified in the setup menu, but the data in that register is not an integer
between 1 and 200, then the following error will be posted:
This example would apply to a single group program (say, a group 1 only program). In the example, it is
assumed that the register number has been set to 11 for group 1 in the COL GUARD SETUP menu.
Alternatively, the COL GUARD ADJUST instruction can be supplied with the new sensitivity value
directly. An example of how this could be done is as follows:
10: J P[1] 100% FINE
11: COL GUARD ADJUST 80
12: L P[2] 2000mm/sec CNT100
13: L P[3] 2000mm/sec CNT100
14: L P[4] 2000mm/sec CNT100
15: R[1]=100
16: COL GUARD ADJUST R[1]
17: J P[5] 50% FINE
To use the COL GUARD ADJUST instruction in this way, after inserting the instruction into the program,
move the cursor to the right of the instruction. Then, either type in the new sensitivity value directly, or
select F3"INDIRECT" and type in the desired register number.
As stated above, the COL GUARD ADJUST instruction will apply to all groups in the group mask of the TP
program that called it. However, if the instruction is used with an argument, the user also has the option to
restrict the groups whose sensitivity will be adjusted. This is accomplished by moving the cursor to the
argument filed and pressing the F1, GP_MASK key. Doing so will display the following menu at the top of
the Teach Pendant screen:
- 55 -
8. HIGH SENSITIVITY COLLISION DETECTION B-83284EN-2/05
Collision Detect 1
1 Default
2 [GP:]
3
4
5
6
7
8
Selecting "1" for "Default" means default behavior of the instruction, i.e. all groups in the group mask are
adjusted. Selecting "2" inserts a "GP" modifier into the instruction as follows:
The cursor will then be on the "##", which is the field where the sensitivity can be directly entered. The user
can then move the cursor to the left to highlight the "GP1,2" field. Once this field is highlighted, the
function keys will have labels displayed for each available motion group, i.e. F1 will have "GP1", F2 will
have "GP2", etc. Pressing the appropriate function key will toggle the appearance of that group number in
the "GP1,2" field. Once the "GP1,2" field has been set, only those groups listed in this field will have their
sensitivity updated by the instruction.
By default, when a TP program that calls COL GUARD ADJUST is aborted, the sensitivity will be reset to
the value specified in the COL GUARD SETUP menu for each group in the program's group mask. This
feature can be disabled by setting the following system variable:
$HSCDMNGRP[g].$AUTO_RESET = 0
8.5 CAUTIONS
1 Collision Detection might detect a false collision when a collision has not occurred in the following
cases:
• Payload information has not been set correctly.
• The payload is larger than the maximum payload for the robot, or the inertia of the payload is too
large.
• Not enough voltage has been supplied to the controller.
• Low temperature.
• The ACC motion option has been used, causing jerky robot motion.
• Severe motion such as reverse motion which Cnt. is used.
• Linear motion occurs near singularity point where axes revolve in high speed.
Action: If collision misdetection occurred for the reasons above, try removing these reasons first.
If necessarily, insert COL GUARD ON / OFF or COL GUARD ADJUST instructions at the top
and bottom of where misdetection occurs for avoiding alarm stop.
2 Collision Detection is disabled in the following cases:
• Soft Float is enabled.
• The robot brakes are on.
• Calibration is not finished.
• While not releasing [SHIFT] key after pressed SHIFT + RESET
3 In order to decrease the force of collision, Collision Detection allows the robot axes to sag away from
the collision for a short time after detecting a collision. When this happens, vertical robot axes might
fall slightly after detecting a collision, due to the effect of gravity.
- 56 -
B-83284EN-2/05 9. LOAD ESTIMATION
9 LOAD ESTIMATION
Load estimation is a function for estimating the weight of the load, such as tool and workpiece, mounted on
the hand of the robot.
The function enables the information stated above to be estimated automatically by running the robot.
To use this function, High Sensitive Collision Detection Package option or package option which includes
it (ex. Motion Package, Basic Interference Check, Intelligent Interference Check, ARC easy smart quick
recovery, Lincoln Asia-Pacific Arc package for Standard EQ, Lincoln Asia-Pacific Arc package) is
required. Using the function also requires that your model support the load estimation function. If your
model does not support the function, you cannot use it.
This chapter describes load estimation for 6-axis robots. For 5-axis robots, read J5 as J4 and J6 as J5.
CAUTION
While in execution, load estimation moves J5 and J6 axis with maximum speed
(100% joint motion). Do not enter the operating space of the robot. Also, please
make sure that all the devices attached to the concerned parts can withstand such
motion.
- 57 -
9. LOAD ESTIMATION B-83284EN-2/05
MOTION PERFORMANCE
Group1 1/10
No. PAYLOAD[kg] Comment
1 0.00 [ ]
2 0.00 [ ]
3 0.00 [ ]
4 0.00 [ ]
5 0.00 [ ]
6 0.00 [ ]
7 0.00 [ ]
8 0.00 [ ]
9 0.00 [ ]
10 0.00 [ ]
Active PAYLOAD number = 0
5 Press NEXT, then press F2, IDENT. The load estimation screen will be displayed .
MOTION/PAYLOAD ID
1/4
Group 1
Schedule No[ 1]:[****************]
1 PAYLOAD ESTIMATION *****
Previous Estimated value (Maximum)
Payload [Kg] : 0.00 ( 165.00)
Axis Moment [Nm]
J4: 0.00E+00 ( 9.02E+02)
J5: 0.00E+00 ( 9.02E+02)
J6: 0.00E+00 ( 4.41E+02)
Axis Inertia [Kg cm^2]
J4: 0.00E+00 ( 8.82E+05)
J5: 0.00E+00 ( 8.82E+05)
J6: 0.00E+00 ( 4.41E+05)
NOTE
1 Only the J5 and J6 axes move during load estimation. The other axes stay in the
position where they are when load estimation begins.
The range of motion is defined as an interval between two points specified on
estimation position 1 and 2 screens. (See steps 10 and 12.)
2 Put the J5 rotation axis in a horizontal position.
The more vertical posture the J5 rotation axis takes, the lower the precision of
estimation becomes.
7 Press F3, NUMBER, and select the load setting schedule No. for which a load estimate is to be set up.
8 If the mass of the load for which load estimation is to be performed is known, move the cursor to line
2, select “YES”, and specify (enter) the mass.
- 58 -
B-83284EN-2/05 9. LOAD ESTIMATION
NOTE
A load with very small mass cannot be estimated. As a rough guide, it requires the
load with 5% of maximum load capacity or more.
The estimation precision becomes higher when a mass is specified. Specify the
mass as much as possible.
Even if no mass is specified, estimation is possible provided that the following
condition is satisfied. However the precision becomes lower.
● The moment around the J5 and J6 axes must be sufficiently high (the mass must
be sufficiently great, and the distance A and B, the distance from center of gravity
to the rotation axes of J6 and J5, must be sufficiently large.).
J5 rotation axis
B J6 rotation axis
● As for positions set up on estimation position 1 and 2 screens, the center of gravity
of the load must be in or near the plane that contains the J5 and J6 rotation axes.
J5 rotation axis
Center of gravity
of load
J6 rotation axis
● As for the J6 axis, the interval between points specified on the estimation position
1 and 2 screens must be 180° in terms of angle.
9 Press [NEXT] key, then press F4, DETAIL. The estimation position 1 screen will be displayed.
- 59 -
9. LOAD ESTIMATION B-83284EN-2/05
MOTION/ID POS1 ID
1/5
Group 1
1 POSITION for ESTIMATION POSITION1
J1 <**********>
J2 <**********>
J3 <**********>
J4 <**********>
2 J5 < -90.000>
3 J6 < -90.000>
J7 <**********>
J8 <**********>
J9 <**********>
MOTION/ID POS2 ID
1/5
Group 1
1 POSITION for ESTIMATION POSITION2
J1 <**********>
J2 <**********>
J3 <**********>
J4 <**********>
2 J5 < 90.000>
3 J6 < 90.000>
J7 <**********>
J8 <**********>
J9 <**********>
NOTE
If the estimation fails, any or all of the applied results (payload, payload center,
payload intertia) would be 0. Please check the PAYLOAD SET screen of the
applied schedule number after APPLY.
If mass is very small, mass is not specified, or moment around J5 or J6 is small,
estimation might fail. Please refer to NOTE at procedure 8, to see if the load fulfills
the conditions necessary to estimate.
NOTE
If calibration is performed with anything attached to the robot hand, incorrect
calibration data is set up, thus hampering a normal estimation.
In this case, make calibration again, properly this time.
MOTION PERFORMANCE
Group1 1/10
No. PAYLOAD[kg] Comment
1 0.00 [ ]
2 0.00 [ ]
3 0.00 [ ]
4 0.00 [ ]
5 0.00 [ ]
6 0.00 [ ]
7 0.00 [ ]
8 0.00 [ ]
9 0.00 [ ]
10 0.00 [ ]
Active PAYLOAD number = 0
- 61 -
9. LOAD ESTIMATION B-83284EN-2/05
6 Press [NEXT] key, then F2, IDENT. The load estimation screen will be displayed .
MOTION/PAYLOAD ID
1/4
Group 1
Schedule No[ 1]:[****************]
1 PAYLOAD ESTIMATION *****
Previous Estimated value (Maximum)
Payload [Kg] : 0.00 ( 165.00)
Axis Moment [Nm]
J4: 0.00E+00 ( 9.02E+02)
J5: 0.00E+00 ( 9.02E+02)
J6: 0.00E+00 ( 4.41E+02)
Axis Inertia [Kg cm^2]
J4: 0.00E+00 ( 8.82E+05)
J5: 0.00E+00 ( 8.82E+05)
J6: 0.00E+00 ( 4.41E+05)
NOTE
1 Only the J5 and J6 axes move during load estimation. The other axes stay in the
position where they are when load estimation begins.
The range of motion is defined as an interval between two points specified on
estimation position 1 and 2 screens. (See steps 9, 10, and 12.)
2 Put the J5 rotation axis in a horizontal position.
The more vertical posture the J5 rotation axis takes, the lower the precision of
estimation becomes.
8 Press [NEXT] key, then F4, DETAIL. The estimation position 1 screen will be displayed .
MOTION/ID POS1 ID
1/5
Group 1
1 POSITION for ESTIMATION POSITION1
J1 <**********>
J2 <**********>
J3 <**********>
J4 <**********>
2 J5 < -90.000>
3 J6 < -90.000>
J7 <**********>
J8 <**********>
J9 <**********>
9 Specify estimation positions 1 and 2. Try to use default values as much as possible.
Press F3, DEFAULT, and specify default values for estimation positions 1 and 2, speed, and
acceleration.
10 Pressing SHIFT + F4, MOVE_TO moves the robot to estimation position 1. Make sure that it is safe to
move the robot to estimation position 1.
- 62 -
B-83284EN-2/05 9. LOAD ESTIMATION
If it is dangerous to move the robot to estimation position 1, manipulate the J1 to J4 axes by jogging to
move the robot to a position where the robot can move safely.
11 Pressing F2, POS.2 displays the estimation position 2 screen.
MOTION/ID POS2 ID
1/5
Group 1
1 POSITION for ESTIMATION POSITION2
J1 <**********>
J2 <**********>
J3 <**********>
J4 <**********>
2 J5 < 90.000>
3 J6 < 90.000>
J7 <**********>
J8 <**********>
J9 <**********>
12 Pressing [SHIFT] key + F4, MOVE_TO moves the robot to estimation position 2. Make sure that it is
safe to move the robot to estimation position 2.
If it is dangerous to move the robot to estimation position 2, manipulate the J1 to J4 axes by jogging to
move the robot to a position where the robot can move safely.
If you moved any of the J1 to J4 axes, press F2, POS.1 to go back to the estimation position 1 screen,
and follow this procedure again from step 10.
13 Press [PREV] key to return to the load estimation screen.
14 Move the cursor to CALIBRATION MODE on line 3 to turn it “on”.
NOTE
Once calibration is completed, CALIBRATION MODE becomes “off”
automatically.
Do not change CALIBRATION MODE during calibration or load estimation.
Otherwise, calibration may be made incorrectly or may not be made at all.
15 Move the cursor to line 4 (so that “EXEC” will be displayed at F4), and set the teach pendant enable
switch to OFF, then press “EXEC”. The message “Robot moves and estimates. Ready?” will be
displayed .
16 Specify whether to perform load estimation. (Selecting “YES” causes the robot to move. Pay
sufficient care to avoid danger.)
● To perform load estimation by running the robot, press F4, YES.
● To quit execution, press F5, NO.
17 After low-speed and high-speed operations are finished, calibration is completed. (Operation switches
automatically from low speed to high speed. Even when the robot is running at low speed, do not get
close to it, because otherwise you may get in a dangerous situation when the robot suddenly starts
running at high speed.)
- 63 -
9. LOAD ESTIMATION B-83284EN-2/05
- 64 -
B-83284EN-2/05 10. PAYLOAD OVER AND PAYLOAD SETTING CONFIRM FUNCTION
Payload over and payload setting function adds an elective “PayLoadCheck” in pull-up menu of system
screen.
In “PayLoadCheck” screen, you can use payload over confirm function and payload setting confirm
function.
NOTE
Overload warning is disabled when the maximum torque of checked program is
lower than rated torque. Note that overload warning is not shown even if maximum
torque of the other program is higher than rated torque.
NOTE
Confirm that robot does not interfere if J5 and J6 axes move between current
position+1[degree] and current position–1[degree].
- 65 -
10. PAYLOAD OVER AND PAYLOAD SETTING CONFIRM FUNCTION B-83284EN-2/05
10.1 LIMITATIONS
Group
This function supports robot at group 1 only (even if multi motion group option is ordered).
Robot Type
This function supports robot with 6 rotary axes robots. (In supported type, $PLID_GRP.$ROB_TYPE has
to be 1 or 2 and $SCR_GRP.$NUM_ROB_AXS has to be 6.)
OK: R-2000iB/xxxF, LR Mate 200iD etc.
NG: robot with linear axis such as R-2000iB/xxxT etc.
NG: robot with 5 axes such as LR Mate200iD/7H etc.
10.2 PROCEDURE
NOTE
Confirm that robot does not interfere if J5 and J6 axes move between current
position+1[degree] and current position–1[degree].
- 66 -
B-83284EN-2/05 10. PAYLOAD OVER AND PAYLOAD SETTING CONFIRM FUNCTION
8 From “Payload Setting Err.”, you can confirm whether a payload setting is done correctly. Threshold to
decide that a payload setting is done correctly is 10%.
NOTE
You cannot execute payload setting confirm when other program is running or
paused.
2 The program to be payload over confirmed has to be executed beforehand. Please elect the program to
be payload over confirmed. (Push [select] key, select program and press [ENTER] key.)
3 Set override 10% or lower. And execute the program.
4 Then display payload over and payload setting confirm screen. (Refer to the two sections previous.)
- 67 -
10. PAYLOAD OVER AND PAYLOAD SETTING CONFIRM FUNCTION B-83284EN-2/05
7 Message to ask you to power off and on to disable over load warning is shown when “Trq Chk” became
“OK”.
NOTE
Overload warning is disabled when the maximum torque of checked program is
lower than rated torque. Note that overload warning is not shown even if maximum
torques of the other programs are higher than rated torque.
You must confirm that the maximum torque is lower than rated torque in all
programs you use. Please change setting of MOTN-171 in setup/accuracy table
screen from “NODISP” to “DEFAULT” if you want to enable overload warning
again.
Result shown in the screen that is displayed when the program running is not
correct. Please display screen again after the program to evaluate has ended.
- 68 -
B-83284EN-2/05 11. GRAVITY COMPENSATION
11 GRAVITY COMPENSATION
Gravity compensation calculates the bending of the robot arm caused by the tool/work on the flange, the
equipment on the arm, and the self weight of the arm. Then it compensates the motor position depending on
the calculation of the bending, and it improves the absolute position accuracy.
To use this function, Gravity Compensation option (A05B-2600-J649) is required.
This function can not be used with Soft float (A05B-2600-J612).
Except some specific system configuration, Gravity Compensation is disabled when the robot is
shipped. To enable Gravity Compensation, set this variable to TRUE and cycle power.
To set back to be disabled, set this variable to FALSE and cycle power.
$PARAM_GROUP[group].$MOUNT_ANGLE
[Name] Mount Angle of Robot (Unit: deg)
[Meaning] Set 0 deg for floor mount type, 180 deg for upside down type, or the mount angle
for wall mount or angle mount type. Cycle power after setting.
4 Payload information (Schedule No.1 to 10) can be setup. Move cursor to the line of one of the
schedule numbers, and press F3, DETAIL to enter the payload set screen.
- 69 -
11. GRAVITY COMPENSATION B-83284EN-2/05
5 Setup the payload, payload center, and payload inertia. X, Y, and Z directions in this screen mean X,
Y, and Z axes of the default (the settings are all 0) tool frame.
After the value is input, the message “Path and Cycle time will change. Set it ?” is displayed. Please
input F4, YES or F5, NO.
6 To enter the payload set screen of the other schedule number, press F3, NUMBER. To enter the screen
for other group, press F2, GROUP. (Only in the multi-group system)
7 Press [PREV] key to go back to the motion screen (default screen). Press F5, SETIND and input the
schedule number to use.
8 Press F4, ARMLOAD in the motion screen (default screen) to enter the armload set screen.
11.3 MASTERING
CAUTION
From R-30iB Controller, we can execute mastering even when Gravity
Compensation is ENABLED. Because the procedure has been changed from that
of R-30iA Controller, please read and understand this section before mastering
execution.
• Basically you should choose the same method as the one which you have chosen at the previous
mastering. This is because the result of (1) and (2) is different from each other.
• Gravity Compensation works with either mastering result. But you can achieve better absolute
position accuracy with GC Mastering.
• If you switch the method from Normal Mastering to GC Mastering, TCP will shift a little. Therefore,
please confirm in advance that TCP shift will cause no problem. When you do mastering for switching,
use Vision Mastering or Jig Mastering (in other words, don’t use Single Axis Mastering). For details
of Vision Mastering, refer to “FANUC Robot series R-30iB/R-30iB Mate CONTROLLER
iRCalibration OPERATOR’S MANUAL” (B-83724EN).
“Mastering with Gravity Compensation” in Inspection Data Sheet Mastering method at the shipment
“Yes” GC Mastering
$DMR_GRP[group].$GRAV_MAST
After mastering execution, record (write down) the value of $DMR_GRP[group].$GRAV_MAST together
with mastering counts ($DMR_GRP[group].$MASTER_COUN[ ]).
- 71 -
11. GRAVITY COMPENSATION B-83284EN-2/05
NOTE
.When you use Gravity Compensation function, you must treat
$DMR_GRP[group].$GRAV_MAST as a part of mastering data. So please
remember to record (write down) the value of this system variable together with the
mastering counts. You need this value if we manually enter the mastering data to
system variable.
1 Before you perform GC Mastering, set correct payload parameters via MOTION screen.
2 When you write down joint angles of a reference position which will be used for mastering, do it under
the following condition;
- Gravity Compensation is ENABLED, and
- Calibration is completed, and
- Correct payload parameters are set.
3 When you perform Single Axis Master, keep the following rules;
• Just to be safe, write down the Mastering Data ($DMR_GRP[group].$MASTER_COUN[axis])
of all axes before you perform mastering.
• If there are more than one axes which need to be mastered, you must select and master them all at
once.
ex) Single Axis Master after J2, J4 and J5 motor replacement
You must master J2, J4 and J5 all at once.
You cannot do master solo J2 when J4 and J5 remain to be mastered.
* If you have no way to master multiple axes all at once, work around in the following way;
(NOTE: Master in ascending order. In other words, from robot base to flange)
(1) First, master J2, J4 and J5 all at once. You need to master J2 correctly. At this time, you
don’t need to master J4 and J5 correctly, but master them moderately correctly. In other
words, do temporary master for J4 and J5.
(2) Next, master J4 correctly.
(3) Finally, master J5 correctly.
• If you move no-need-master axes to the angle which you have wrote down for a reference
position in advance, do it after performing temporary mastering of need-master axes.
ex) Single Axis Master using reference angle of J1,J2,J4,J5,J6 after J3 motor replacement
(1) First, master J3 moderately correctly, then do CALIBRATE.
(2) Next, move no-need-master axes (J1,J2,J4,J5,J6) to the angle which you have wrote down
for a reference position.
(3) Finally, master J3 correctly.
• If you perform “mastering after temporary mastering” as described above, master count of the
axis which has an interaction with the target axis of mastering will change. This causes
unexpected position change. Therefore, after performing mastering, verify that master count of
no-need-master axis keeps the original value. If this value has been changed, enter the original
value which you have written down in advance.
- 72 -
B-83284EN-2/05 12. OPERATION LOG BOOK
Log book
Operation ( 20.0 k) 1/790
1*SHIFT,F5(TOUCHUP) is pressed, line 2
2 '+Y^(J6)' is pressed
3 SHIFT+FWD is pressed
4*Select 'YES' in 'You are in the diff
5 SHIFT+FWD is pressed
6 SHIFT+FWD is pressed
7 Single step ON
8 'STEP' is pressed
9 'LINER' is selected
10*SHIFT,F1(POINT) is pressed line 2/2
11 '-Y^(J6)' is pressed
12*'50' is entered
13*'Cnt' is selected in 'Motion modify'
14*SHIFT,F1(POINT) is pressed, line 1/1
15 '-Y^(J2)' is pressed
16 '-Y^(J3)' is pressed
17 '+Y^(J5)' is pressed
18 '-Y^(J5)' is pressed
19 Override 40%
20 '+%' is pressed
21 Override 35%
22 '+%' is pressed
23 Override 30%
24 '+%' is pressed
25 Override 25%
26 '+%' is pressed
27 Override 20%
28 '+%' is pressed
29 Override 15%
30 '+%' is pressed
31 '-Y^(J5)' is pressed
32 'RESET' is pressed
33 Menu changed 'PNS0001'
34*'PNS0001' is entered
35*F2(CREATE) is pressed, line 1/16
36 Menu changed 'SELECT'
37 'SELECT' is pressed
The lines marked with an “*” have an associated screen image, as seen in the example of line 12 below. The
screen image shows the previous value of the changed item.
- 73 -
12. OPERATION LOG BOOK B-83284EN-2/05
Log book
Operation ( 50.0 k) 12/790
50 is entered
10-JUL-21 16:16 :06
--Screen image---------------------------
General Limitations
Note the following general limitations for Log Book:
• Log Book does not support certain iPendant operations. See following examples.
- Selecting a link on a web page
- Operations in screens for iPendant only. For example, operations in browser, panel setup,
iPendant setup screen.
• Operations are not recorded in controlled start just after initial start. Cold start must be performed to
begin logging events.
• Operations in the configuration menu are not recorded.
• If you change the size of a log book, all data in the log book are lost.
• Some events are cyclically monitored for logging. Some of the following operations may not be
recorded if they occur faster than the monitoring cycle:
- Override (“Override x%”)
- Coordination (JOINT coordinate, User Coordinate etc.)
- Single step (Single step ON/OFF)
- Motion group (“Motion group x”)
- Sub group (“Sub group ROBOT/EXT”)
- User frame number (“User frame x”)
- Tool frame number (“Tool frame x”)
• If you change the dictionary, some entries in the LOG BOOK screen cannot be read. To read such log,
you must use the language that was used when the log was recorded.
• If passwords are enabled and $LOGBOOK.$LOG_ENT is a valid book number when you log in, your
password input is recorded as “’x’ is entered”. Passwords for other functions are also recorded. To
prevent passwords from being recorded, you can use screen filtering to filter out the screens that
contain passwords. Refer to Section 12.4 Operations.
• ‘y’ of “’x’ is selected in ‘y’ window” is based on the 1st line of prompt window. If the 1st line is blank,
y contains nothing. Please refer to screen image for analysis.
• If you press a function key that has no label, the key number followed by empty parentheses will be
recorded.
Example
If the function key line is as follows:
[ TYPE ] ON OFF
F3 has no label. If you press F3 and $LOGBOOK $LOG_FNKEY is a valid value, “F3( )” is
pressed” is recorded.
• If you change the remote TCP number in remote TCP jog mode, this is recorded as a change of user
frame.
• If you changed current JOG coordination by parameter instruction, the change is recorded when the
group is selected.
- 74 -
B-83284EN-2/05 12. OPERATION LOG BOOK
• Screen image doesn’t support double height font, which is used in the “on the fly” screen of ArcTool.
It is recorded as two lines which have the same characters.
Example
0.0 Amps
in “On the fly” screen is recorded as
0.0 Amps
0.0 Amps
• For KAREL read instructions, screen image is recorded just after input.
• KCL is not supported.
• If the TP and CRT are used at the same time, log book records the operations of both of them. It might
be difficult to distinguish between TP and CRT operations in a log.
• Screen changes caused by the automatic backup function are not recorded.
• “’x’ is saved” and “’x’ is loaded” may be recorded by internal process.
Alarm history When an alarm occurs, the alarm message is $LOGBOOK. None
recorded. This record is the same as the record of $LOG_ER (1)
the alarm history menu. To choose the alarms to be
recorded, the 'filtering' function is provided.
'x' is entered When a value or a word is entered, this is recorded. $LOGBOOK. $LOGBOOK.
The 'x' in the message is the entered value or word. If $LOG_ENT (1) $IMG_ENT
screen image is enabled for this event, it will contain (TRUE)
the previous value. Values will be recorded even if
they are invalid. If you cancel an input, it is not
recorded.
'x' is selected When a menu item is selected, this is recorded. The $LOGBOOK. $LOGBOOK.
'x' is selected in 'y' menu 'x' in the message is the selected item. If the menu $LOG_SEL (1) $IMG_SEL
has a title, the 'y' in the message shows the title. If (TRUE)
screen image is enabled for this input, it will show the
screen just before opening the menu.
- 75 -
12. OPERATION LOG BOOK B-83284EN-2/05
'x' is selected in 'y' window When an item is selected in warning window, this is $LOGBOOK. $LOGBOOK.
recorded. The 'x' in the message is the selected item. $LOG_WIN (1) $IMG_WIN
The 'y' in the message is the beginning of the (TRUE)
message in the warning window. If screen image is
enabled for this event it will show the warning
window.
'x' is selected in MENU When an item is selected by [MENU] key or FCTN $LOGBOOK. None
'x' is selected in FCTN key, this is recorded. The 'x' in the message is the $LOG_MENU (1)
selected item.
JOG menu TOOL 'x' Operations of the JOG menu are recorded with these $LOGBOOK. None
JOG menu USER 'x' messages. $LOG_JGMN (1)
JOG menu JOG 'x'
JOG menu GROUP 'x'
JOG menu ROBOT
JOG menu EXT
Menu changed 'x' When a menu is changed, this is recorded. The 'x' in $LOGBOOK. None
the message is the title of the new menu. Changes to $LOG_MNCHG (1)
sub menus such as Config or Detail are not
recorded.
- 76 -
B-83284EN-2/05 12. OPERATION LOG BOOK
Override x% When override is changed, this is recorded. The 'x' in $LOGBOOK. None
the message is the new override value. This records $LOG_OVR (1)
all change of override by any method. For example,
'+%' key, TP is enabled, override instruction of
program.
JOINT coordinate When coordinate is changed, this is recorded. This $LOGBOOK. None
USER coordinate records all change of coordinate by any method. $LOG_CRD (1)
TOOL coordinate
JOG coordinate
PATH coordinate
Single step ON When single step is changed, this is recorded. This $LOGBOOK. None
Single step OFF records all change of single step by any method. $LOG_STEP (1)
Motion group x When motion group is changed, this is recorded. The $LOGBOOK. None
'x' in the message is the new motion group. This $LOG_GRP (1)
records all change of motion group by any method.
Sub group ROBOT When sub group is changed, this is recorded. This $LOGBOOK. None
Sub group EXT records all change of sub group by any method. $LOG_SGRP (1)
User frame x When user frame number is changed, this is $LOGBOOK. None
recorded. The 'x' in the message is the new user $LOG_UF (1)
frame number. This records all change of user frame
number by any method.
Tool frame x When tool frame number is changed, this is $LOGBOOK. None
recorded. The 'x' in the message is the new tool $LOG_UT (1)
frame number. This records all change of tool frame
number by any method.
WAIT is released (x, y) The waiting WAIT instruction is canceled by WAIT $LOGBOOK. None
RELEASE in program x line y. $LOG_WTRLS (0)
Write P[x] of y Position data P[x] of TP program y is written. These $LOGBOOK. None
are also recorded when program is changed $LOG_SETPOS(0)
internally.
- 77 -
12. OPERATION LOG BOOK B-83284EN-2/05
TP 'x' ON This records the low level key operation. All key $LOGBOOK. None
TP 'x' OFF operations of Teach Pendant are recorded. When a $LOG_TPKY (0)
key is pressed, 'TP x ON' is recorded. When a key is
released, 'TP x OFF' is recorded. ENABLE switch
and E-STOP are also recorded. [SHIFT] key is
treated as normal key. CRT operations are not
recorded by this event. 'x' in the message is key
name, the following keys are recorded.
ENABLE, ESTOP
PREV, F1, F2, F3, F4, F5, NEXT
SHIFT, MENU, SELECT, EDIT, DATA,FCTN, i
UP, DOWN, LEFT, RIGHT, DISP
RESET, STEP, BACKSPACE, ITEM,
HOLD, FWD, BWD, COORD, +%, -%, GROUP
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -/,, ., ENTER, HELP/DIAG,
UF1, UF2, UF3, UF4, UF5, UF6, UF7,
+X(J1), -X(J1), +Y(J2), -Y(J2), +Z(J3), -Z(J3),
+X^(J4), -X^(J4), +Y^(J5), -Y^(J5), +Z^(J6), -Z^(J6),
+(J7), -(J7), +(J8), -(J8)
- 78 -
B-83284EN-2/05 12. OPERATION LOG BOOK
$LOG_BUFF[1-16]. Boolean [1] TRUE FALSE, If FALSE, the buffer is not displayed in pop
$VISIBLE [2] FALSE TRUE up menu of F2([BOOK]) in LogBook menu.
[3-16] TRUE
12.3 OPERATIONS
Displaying the Log Book Screen
1 Press [MENU] key.
2 Select 4, ALARM.
3 Press F1, [TYPE].
4 Select Log Book. The following screen will be displayed.
Log book
Operation ( 20.0 k) 1/790
1*SHIFT,F5(TOUCHUP) is pressed, line 2
2 '+Y^(J6)' is pressed
3 SHIFT+FWD is pressed
4*Select 'YES' in 'You are in the diff
5 SHIFT+FWD is pressed
6 SHIFT+FWD is pressed
7 Single step ON
8 'STEP' is pressed
9 'LINER' is selected
10*SHIFT,F1(POINT) is pressed line 2/2
- 79 -
12. OPERATION LOG BOOK B-83284EN-2/05
Log book
Operation ( 50.0 k) 1/790
*SHIFT,F5(TOUCHUP) is pressed, line 2/3
10-JUL-21 16:16 :06
--Screen image---------------------------
7 To view details of an entry, select the entry and press F3, DETAIL. You will see a screen similar to the
following:
Log book
Operation ( 50.0 k) 5/790
SRVO-001 Operation panel E-stop
SERVO 00110110
24-JUN-00 14:17 :36
8 To clear the log, press F5, CLEAR, then press F4, YES.
- 80 -
B-83284EN-2/05 12. OPERATION LOG BOOK
See the following example of a LOGBOOK.LS file.
Operation
============================================================
*SHIFT,F5(TOUCHUP) is pressed, line 2/3
00/06/02 14:17:36
--Screen image-------------------------------
PNS0001\\\\\\\\\\\\\\\\\\\\\\\JOINT\\10\%
1 J P[1] 100% CNT59
2 J P[2] 100% FINE
[END]
POINT TOUCHUP>
============================================================
'+Y^(J6)' is pressed
00/06/02 14:17:20
============================================================
SHIFT+FWD is pressed
00/06/02 14:17:12
============================================================
Select 'YES' in 'The cursor is on a different' window
00/06/02 14:16:40
--Screen image-------------------------------
PNS0001\\\\\\\\\\\\\\\\\\\\\\\JOINT\\10\%
+------------------------------+
|The cursor is on a different |
|line from where the program |
1 |PAUSED [1]. |
2 |Are you sure you want to run |
[END|from this line ? |
| |
| \\\\YES\\\\ NO |
| |
+------------------------------+
POINT TOUCHUP>
============================================================
SHIFT+FWD is pressed
00/06/02 14:16:30
============================================================
SHIFT+FWD is pressed
00/06/02 14:16:28
============================================================
- 81 -
12. OPERATION LOG BOOK B-83284EN-2/05
The priority of the settings is: $LOG_ER_SEV < $LOG_ER_TYP < $LOG_ER_ITM
See the following for an example of error filtering:
Screen filtering enables Logbook to log UIF events that occur in the screens you specify. Screen filtering
supports the following events (UIF events).
- 82 -
B-83284EN-2/05 12. OPERATION LOG BOOK
• 'x' is entered.
• 'x' is pressed.
• 'x' is selected.
• 'x' is selected in 'y' menu.
• 'x' is selected in 'y' window.
• 'x' is selected in MENU.
• 'x' is selected in FCTN.
• JOG menu TOOL 1 etc.
NOTE
TP’x’ ON/OFF is not supported.
To filter screens so that passwords are not recorded, set the following:
$LOGBOOK.$SCRN_FL = TRUE
$LOG_SCRN_FL[1].$SP_ID = 935
$LOG_SCRN_FL[1].$SCRN_ID = 1
12.4.1 Setup
This example name BOOK3 as “ALARM” and use it for only for record of alarms. This configuration uses
PERM memory of 500kbytes. The number of alarms that can be stored in the book depends on contents of
alarms. Suppose user alarm with undefined alarm message occurred. The book can record the alarm about
5000 times.
NOTE
Because size of book is large, please check the rest of PERM memory before
using this setting. The rest of PERM memory should be more than 150KB after the
book is established. If the book uses 500KB, the rest of PERM memory should be
more than 650KB (500KB + 150KB).
- 83 -
12. OPERATION LOG BOOK B-83284EN-2/05
Log book
Operation ( 50.0 k) 4/220
1 RESET is pressed
2 FOCUS changed to ‘Log book’
3 Menu changed ‘Log book’
4 Power failure recovery
5 PREV is pressed
6*F1([ TYPE ]) is pressed
7*F1([ TYPE ]) is pressed
8 Menu changed ‘Log book’
9 ‘ALARM’ is selected in MENU
10 Menu changed ‘DATA Registers’
11 DATA is pressed
- 84 -
B-83284EN-2/05 12. OPERATION LOG BOOK
Log book
Operation ( 50.0 k) 5/221
1*F2([ BOOK ]) is pressed
2 RESET is pressed
3 Focus changed to ‘Log book’
4 Menu changed ‘Log book’
5 Power failure recovery
6 PREV is pressed
7*F1([ TYPE ]) is pressed
8*F1([ TYPE ]) is pressed
9 Menu changed ‘Log book’
10 ‘ALARM’ is selected in MENU
BOOK 1
11
1 Menu changed ‘DATA Registers’
Operation
2 ALARM
Log book
ALARM (500.0 k) 2/5588
1 R E S E T
2 SYST-040 Operation mode AUTO S
3 SRVO-233 TP OFF in T1,T2/Door
4 SRVO-012 Power failure recover
5 INTP-127 Power fail detected
6 SYST-043 TP disabled in T1/T2
7 R E S E T
8 PWD-026 Load FRS:FRSR.VR as P
9 R E S E T
10 PWD –020 Write pos 1, AA_02.TP
11 PWD –020 Write pos 1, AA_02.TP
Log book
ALARM (500.0 k) 2/5588
SYST-040 Operation mode AUTO selected
SERVO 00110110
01-JUN-06 15:49 :36
- 85 -
13. PROGRAM TOOLBOX B-83284EN-2/05
13 PROGRAM TOOLBOX
The Program Toolbox has the following features. For except Spot Tool+, to use this function, Program
Toolbox option (A05B-2xxx-R598) is required.
● Soft limit setting
Axis This item is the number assigned to the axis for which limits can be set up.
Set Limit This item indicates whether a limit has been set up.
Procedure 13-1 Using the soft limit setting option to set up software axis limits
Step
1 Press [MENU] key.
2 Select UTILITIES.
3 Press F1, [TYPE].
4 Select Limit Set. The following menu will be displayed.
- 86 -
B-83284EN-2/05 13. PROGRAM TOOLBOX
Limit Set
1/10
GROUP:1 ( R-2000iB/210F)
Axis Set Limit
1 YES
2 YES
3 YES
4 NO
5 NO
6 NO
7 NO
8 NO
9 NO
Limit Buffer: 10 deg
0% of program done
Limit Set
1/12
GROUP:1 ( R-2000iB/210F)
Axis Limits
Axis LOWER UPPER
J1 -180 180 dg
J2 -60 76 dg
J3 -132 230 dg
J4 -360 360 dg
J5 -125 125 dg
J6 -360 360 dg
J7 0 0 dg
J8 0 0 dg
J9 0 0 dg
[ TYPE ]
The displayed mechanical stop numbers indicate the locations of the limit blocks on the J1, J2, and J3
axes. Mounting the limit block on the J1 axis requires aligning the hole at the center of the limit block
with the reported J1 axis mechanical stop hole on the base of the robot.
Additional information
The displayed mechanical stop numbers indicate the positions of the center bolt hole on each
mechanical stop.
- 87 -
13. PROGRAM TOOLBOX B-83284EN-2/05
Note: The current version does not support the mounting positions of mechanical stops.
Additional information
The following operation is not supported on some robot models.
8 To reset the axis limits to their factory settings, press F1, DEFAULT.
Additional information
Enabling new software axis limit settings always requires cold-starting the controller.
9 After axis limit setting is completed, enable the new software axis limit settings by cold-starting the
controller according to the following steps.
a. If the controller is already on, turn it off.
b. On the teach pendant, press and hold down the SHIFT and RESET keys.
c. While still holding down the teach pendant keys, turn the power on.
d. After the teach pendant has displayed its menu, release the teach pendant keys.
Additional information
If many joint limit errors occur during program execution, increase the limit buffer and re-run the
program.
- 88 -
B-83284EN-2/05 14. ADVANCED CONSTANT PATH
Linear Linear
move move
PICK PLACE
P3 P5
Typically, however, FINE and CNT0 is used only to reach P3 for PICK and to PLACE at P5. For all other
motions, high CNT values are used. For instance, if CNT100 is used, the actual path might look like
Fig.14.2(b).
P2 P1 P4
CNT100 CNT100
PICK PLACE
FINE FINE
P3 P5
Robot is at P1
J P[2] 100% CNT100
L P[3] 2000mm/sec FINE
L P[2] 2000mm/sec CNT100
L P[4] 2000mm/sec CNT100
L P[5] 2000mm/sec FINE
This kind of a path will give you better cycle time. However, you can not specify the linear part of the path
from P2 to P3 or from P4 to P5 directly. When you want to adjust the linear part of the path, you need to
adjust values of CNT.
With Linear Distance, you do not have to guess and experiment. If you want the last 100mm before pick and
the last 150mm above place to always be straight above P3 and P5 respectively, you can use Linear
Distance for specifying these amounts. Refer to Fig. 14.1 (c).
P2 P1 P4
CNT100 CNT100
LD=150mm
LD=100mm
P3 P5
PICK PLACE
RT_LD: Retract Linear Distance is used for specifying the desired linear distance from the start position
to the start of the corner.
AP_LD: Approach Linear Distance is used for specifying the desired linear distance from the end of the
corner to the destination position.
CNT 50
P2
WITHOUT USING LINEAR DISTANCE
P1
Robot is at P3
P2 CNT50
The RT_LD value affects the corner of P3-P2-P1 in Fig. 14.1.1(a). The higher the value of RT_LD, the
shorter the distance between the path and P2 will be. When the RT_LD value is greater than or equal to the
distance between P3 to P2, the motion will automatically become like FINE regardless of the CNT value
you specify.
CNT50
P1 P4
P1 CNT50 P4
CNT100
USE OF LINEAR DISTANCE
Robot is at P1
The AP_LD value affects the corner of P1-P4-P5 in Fig. 14.1.1(b). The higher the value of AP_LD, the
shorter the distance between the path and P4 will be. When the AP_LD value is greater than or equal to the
distance between P4 to P5, the preceding motion (motion from P1 to P4) will become like FINE regardless
of the CNT value for that move.
14.1.2 Limitations
- Linear Distance can not match the specified value exactly. However, it will never provide linear
distance less than what you specified.
- Linear Distance can be used with only linear motion type.
- Linear Distance can not be used with Independent Axis or Positioner. If you use linear distance
instructions, the instructions are disabled.
- When multiple group motion is used, the motion will be synchronized. However, if more than one
group has linear distance enabled, all the groups will have linear distance satisfied.
- The local condition trigger time might be different than without Linear Distance. However the timing
is repeatable.
- Linear Distance can not be used with the following options.
- Max Speed
- Weaving
- Continuous turn
- 91 -
14. ADVANCED CONSTANT PATH B-83284EN-2/05
- Robot Link
- TCP speed output function
- Linear Distance can be used with Coordinated Motion.
4 If you want to specify the linear distance from the start position to the start of the corner, please select
Retract_LD.
If you want to specify the linear distance from the end of the corner to the destination position, please
select Approach_LD.
5 Type the number of millimeters that you want the tool center point (TCP) to approach or retract using
Linear Distance.
NOTE
The default value is “direct” which means that the value is a specific number in
millimeters. To use a value stored in a register, press F3, INDIRECT, and type the
register number.
- 92 -
B-83284EN-2/05 14. ADVANCED CONSTANT PATH
CRy[mm]
P1
P2
P3
CR y[mm]
P1 x[mm]
P2
P3
- 93 -
14. ADVANCED CONSTANT PATH B-83284EN-2/05
CR y[mm]
P1 x1[mm]
P2
x2[mm]
P3
You must be careful about the half distance rule stated above. Please keep in mind that because of the half
distance rule, with large specified corner region value, corner path may still be close to the taught position
when the distance between continuous taught points is short. Use the following guidelines when you teach
a path:
- Minimize the number of taught positions.
- Reteach positions using the CR termination type to fit the path instead of adding positions.
14.2.2 Limitations
- CR termination type can not be used with JOINT motion type.
- CR termination type can not be used with Independent Axis or Positioner. When Independent Axis or
Positioner move with Robot, it is possible to use CR termination type. However, in this case, CR takes
effect for only Robot motion. Independent Axis or Positioner synchronizes with Robot.
- When multiple Robots move with multi group, the motion of robots is synchronized. In this case, all
robot move so that the corner region is within the specified value.
- f the angle between the motion and the next motion is almost 180 degrees, CR termination type does
not work and the path becomes the same as CNT100.
- The speed at the corner keeps constant as far as possible. However, when there is an instruction like the
following, the speed decreases because it is impossible to read ahead of the motion.
- Motion Statements with the target position specified by a position register.
- Motion Statements with an offset instruction where an offset is given by a position register.
- Motion Statements with the indirect addressing with the register.
- Branch instruction (IF or SELECT JMP LBL[*]) is used before the next motion statement.
- WAIT instruction with TIMEOUT LBL[*] is used before the next motion statement.
- Frame instructions are used before the next motion statement.
- CR termination type can be used with the following options.
- Remote TCP
- Line Tracking
During the transition (between Remote TCP and non-Remote TCP or between Tracking and
non-Tracking), corner can not be defined because a frame is changed. Therefore the corner region
can not be specified by CR but the corner path is connected continuously.
- Linear Distance
If you specify both Linear Distance and CR termination type, then Linear Distance has
preference over CR, as shown following figures.
- 94 -
B-83284EN-2/05 14. ADVANCED CONSTANT PATH
P[x]
CR50 [mm]
AP_LD100
P[y]
P[x]
CR100 [mm]
P[y]
Fig. 14.2.2 Corner Path determined by CRy if Linear Dist is satisfied
Add this motion option to the range of motion lines where adjustment is required.
- PSPD 100 is equivalent to the default cases without PSPD option.
- 95 -
14. ADVANCED CONSTANT PATH B-83284EN-2/05
- PSPD greater than 100 means faster process speed, while maintaining the same path.
- PSPD less than 100 means slower process speed, while maintaining the same path.
- You can still change other fields in the motion for further tweaking, but the same original rules apply;
that is, the path will change. This allows you to adjust the path easily, even though PSPD is used.
- For PSPD greater than 100, the system internally limits the achievable (but higher) process speed,
based on the jerk/acceleration margin available from the default case.
Be careful to use the PSPD option to reduce cycle time while maintaining the same path since
jerk/acceleration value will be higher. An example is palletizing, where additional factors such as vibration,
duty cycle, reducer life, and so forth, affect cycle time.
P[2] P[2]
No path variation
P[3] P[3]
P[1] P[1]
CAUTION
Process Speed can cause jerky motion if applied too aggressively. To avoid jerky
motion, use a reduced speed.
PSPDxxx can be added to any selective motion line in a TP program, and is applicable to all motion types.
For examples, see the following:
- Case 1 : *** = 100, motion behavior is exactly the same as 100% speed override in the default case, as
though there were no PSPD100.
- Case 2 : *** > 100, the speed will be faster than 100% speed override in the default case.
- Case 3 : *** < 100, the speed will be slower than 100% speed override in the default case.
- Default case :
P[1] P[2]
Corner path
(Default case)
P[3]
- 96 -
B-83284EN-2/05 14. ADVANCED CONSTANT PATH
P[1] P[2]
Corner path
Same as default case
P[3]
P[1] P[2]
Corner path
Same as default case
P[3]
NOTE
The system will internally limit the speed override such that the resulting motion
performance is within mechanical capabilities. As a result, a large value of xxx
may not take effect in some cases and the actual speed override may be smaller
than the specified value.
14.3.1 Limitations
- Under T1 mode, PSPDxxx (with xxx>100) will not take effect.
- PSPDxxx (with xxx>100) might not take effect for the motion line that has max_speed as programmed
speed in a TP program.
- The PSPD option does NOT support TCP speed prediction function (TCPP). That is, for the motions
with PSPD option, TCPP might not result in correct results.
- With large PSPD value or very short segments, the actual corner path might deviate from the one
without PSPD option.
maximum speed. For linear moves, the system delivers the speed that is specified in the teach pendant
instruction. However, the maximum linear speed of 2000mm/sec imposes a limit on the capability of the
motor to reach higher speeds. The robot can move faster than the speed specified in the motion instruction.
The max speed option allows you to specify a linear motion that will use the maximum speed capability of
the robot. It improves cycle times in Load/Unload applications by speeding up long linear motions. When
this option is loaded, the choice of max_speed will be displayed in the speed field of the teach pendant
motion instruction for a linear motion. The max_speed option affects only the motions for which the speed
is specified as max_speed.
- If you change the motion type from Linear to Joint, the speed field will change to 100%.
- When the speed field changes from max_speed to another choice, the speed value will return to the
original speed value.
WARNING
When you specify max_speed, the robot will run at high speed. Be sure any loose
parts are firmly attached and that the workpiece is secured.
Otherwise, you could injure personnel or damage equipment.
14.4.1 Limitations
- If unsupported options are used, max_speed will be disabled automatically. No warning or error
message will be displayed. This option does not support the following:
- Any tracking option, such as line tracking, TAST, Coordinated motion, and so forth.
- Multiple group motion
- RTCP function
- If you run a program with an override speed different than 100%, the system will drive the robot such
that one of its axes will reach the override value of its maximum joint speed.
- The local condition trigger time might have some variation.
- If the path becomes too aggressive, you might need to use ACC to smooth it.
- If you are using Dry Run, max speed will be disabled and the speed specified in dry run will be used.
- If you are using Org path resume, max speed will be disabled for the motion line that is resumed.
- If T1 is selected, the T1 speed will be used.
- In single step mode (FWD/BWD) max speed will be disabled and the maximum speed value will be
used.
- Max speed will be disabled automatically for a circular motion.
- The max speed option will still apply when the Miscellaneous teach pendant instruction
LINEAR_MAX_SPEED is used.
- The robot will try to attain the maximum speed capability of at least one of its axes. It determines the
maximum speed for the current move by comparing the teach pendant instruction
LINEAR_MAX_SPEED with the maximum linear speed of 2000 mm/sec. The ratio of these two
speeds is the percentage of the maximum axis speed that the axis will reach.
1. LINEAR_MAX_SPEED = 1200
2. L P[1] max_speed CNT1000
The ratio of 1200 to 2000 is 60%. The system will drive the robot such that one of its axes will reach
60% of its maximum joint speed for line 2 of the program above.
- Max speed does not work with TCP speed prediction function (TCPP). That is, with Max speed, TCPP
results may not be accurate.
- 98 -
B-83284EN-2/05 15. SINGULARITY AVOIDANCE FUNCTION
Singularity avoidance function will provide a real-time solution to avoid the wrist singularity. With this
function, the followings are achieved.
· The rotation of joint 4 and 6 is minimized, and robot can travel through/near a wrist singular
position smoothly, and TCP speed can be maintained;
· This function works for both LINEAR TPE program motion and LINEAR jogging.
To use this function, singularity avoidance function option (A05B-2600-R792) or Motion package
(A05B-2600-R809) is required. Some robot models do not support this function.
- 99 -
15. SINGULARITY AVOIDANCE FUNCTION B-83284EN-2/05
3 In order to enable the singularity avoidance, press F4, TRUE. In order to disable the singularity
avoidance, press F5, FALSE.
15.2 LIMITATIONS
Singularity avoidance function has the following limitations.
・ This function is supported only in Handling Tool.
・ Some robot models does not support this function.
・ This function cannot be ordered with Coordinated motion option.
・ This function cannot be used with Line tracking option.
・ This function cannot be ordered with Continuous turn option.
・ This function cannot be ordered with Shape GenerationII option.
・ This function can be used only for linear motion. This function cannot be used for Circular/Arc
motion.
15.3 CAUTIONS
Keep the following important information in mind when you set up and use singularity avoidance.
・ With the singularity avoidance function, actual wrist configuration (flip/nonflip) might be different
from the taught destination positions. The function might change configuration internally not only for
the destination position in the motion line where singularity is detected but also for the subsequent
destination positions in the following motions in the TP program.
・ Since the function will change configuration internally, single step forward and backward might
produce different behavior. To prevent the above from happening, during single step forward motion,
the system will post a warning message "MOTN-208 Config Not Reached" at the point where the
actual configuration is different from the taught one. By observing the message, the user should
re-touch up the taught point at the specific line shown in the warning message this will update the
taught configuration to the actual configuration. As a result, when stepping backward, the motion will
behave the same way as stepping forward.
・ Jogging and program motion might be different when the robot moves near singularity.
・ If the destination position is inside singularity zone, the taught position is changed.
・ The function might not help for the singularity at the corner path.
- 100 -
B-83284EN-2/05 16. PATH SWITCHING FUNCTION
DB CALL statement
1: L P[1] 200mm/sec FINE DB 100mm, CALL A
Contents of sub-program A
1: PS -100mm +0.2sec,DO[1]=(ON)
2: PS -150mm -0.2sec,IF(DI[1]),DO[2]=(DI[2] AND !DI[3])
The distance specified just after DB statement does not affect to the each trigger timing of the PS commands
in the sub-program. The PS statements in the sub program start their execution when the motion starts. User
can mix another normal logical statement with the PS statement in the sub program.
-100mm
+0.2sec (= +40mm)
-150mm
-0.2sec (= -40mm)
PS -100mm +0.2sec,DO[1]=(ON)
Trigger point Assignment statement
Trigger point part specifies the distance (mm) from the destination position and the offset time (sec).
The negative value means the before the motion is completed.
The positive value means the after the motion is completed.
The offset time is converted to the distance according to the specified speed, in the above case, 0.2sec is
converted to 40mm (= 200mm/sec * 0.2sec). This conversion is not precise in the acceleration and
deceleration period.
According to the sign of the trigger distance value, its behavior is treated as distance-before or
distance-after type. As described in the following section, trigger timing of distance-before is much
different from that of distance-after type. And the time value to tune the trigger timing is affected by
override value. So to avoid unexpected trigger by override change, if the initial distance value is minus
value, regardless of the time value, actual PS trigger point will be clamped to -0.0mm as distance-before
type, internally. And if the initial distance value is plus value, regardless of the time value, actual PS trigger
point will be clamped to +0.0mm as distance after type.
Assignment statement part specifies the statement to be executed at the trigger point.
The assignment statement can have IF condition.
- 101 -
16. PATH SWITCHING FUNCTION B-83284EN-2/05
In this case, when DI[1] is ON, DO[1] is turned on, when DI[1] is OFF, DO[1] is not changed.
The assignment statement can use the following items and operators.
Items for left side Operator for right side or IF condition Items for right side or IF condition
DO[] () ON OFF
RO[] + Constant value
WO[] - DI[] DO[]
AO[] * RI[] RO[]
GO[] / WI[] WO[]
SO[] MOD AI[] AO[]
UO[] DIV GI[] GO[]
F[] AND SI[] SO[]
R[] OR UI[] UO[]
PR[i,j] ! F[]
System variables = (comparison) M[]
M[] < R[]
TC_ONLINE > PR[i,j]
<= TIMER[]
>= System variables
<> TCP_SPD[]
Up to 20 operations can be specified in one motion line as total of right side formula and IF condition.
One motion statement can have up to 20 PS statements.
Case that the trigger point is negative and it is farther than the start position
(distance-before type)
If the trigger point is negative and it is farther than the start position, this is triggered immediately.
Contents of sub-program A
1: PS -1000mm +0sec,DO[1]=(ON)
You can choose to cause error at this situation by following parameter setting.
- 102 -
B-83284EN-2/05 16. PATH SWITCHING FUNCTION
Value Description
0 Trigger PS condition immediately, but post neither alarm nor warning.
1 (default) Trigger PS condition immediately, and post “INTP-539 PS(program name, line number,
distance[mm]) Already in area” (warning).
other than (0, 1) Not triggered, and post “INTP-540 PS(program name, line number, distance[mm]) Already in
area” (PAUSE).
Case that the trigger point is passed by jog while the program is paused
When original path resume is disabled ($SCR.$ORG_PTH_RSM=FALSE), if the program is paused during
the motion with PS, and jogged by TP, and the trigger point is passed by jog, then the PS condition is
triggered immediately when the program is resumed.
When original path resume is enabled ($SCR.$ORG_PTH_RSM=TRUE), once back to the paused position
on the original motion path and re-start the program. In this case, the PS condition is triggered when the
trigger point is passed after resume and re-start.
You can choose to cause error at this situation by above parameter setting.
($PS_CONFIG. $DB_IMMTRIG, $DA_IMMTRIG)
Contents of sub-program A
1: PS -500mm +0sec,DO[1]=(ON)
-500mm
Jogged by TP
P[1] Pause Resume P[2]
Trigger at this point
DO[1]=(ON)
Case that TCP path moves away without entering the trigger area on CNT
motion
In case of CNT motion, teaching point does not on the actual robot path. If the robot path is too far from the
trigger area, reminding untriggered distance-before type PS conditions are triggered when the TCP path
starts to move away from the teaching point.
Contents of sub-program A
1: PS -10mm +0sec,DO[1]=(ON) (distance-before type)
2: PS +10mm +0sec,DO[2]=(ON) (distance-after type)
- 103 -
16. PATH SWITCHING FUNCTION B-83284EN-2/05
P[1] P[2]
20mm
The point to move away from P[2] on the path.
All PS conditions that are closer than this point DO[1]=(ON)
are triggered at this point. DO[2]=(ON)
P[3]
You can choose to cause error at this situation by following parameter setting.
Value Description
0 Trigger PS condition at the closest point, but post neither alarm nor warning.
1 (default) Trigger PS condition at the closest point, and post “INTP-541 PS(program name, line
number, distance[mm]) Forced trigger” (warning).
other than (0, 1) Not triggered, and post “INTP-542 PS(program name, line number, distance[mm]) No
trigger” (PAUSE).
Case that the trigger point is positive and it is farther than the destination
position (distance-after type)
If the trigger point is positive and it is farther than the destination position of the next motion, the PS
condition is triggered when the next motion is completed.
You can choose to cause error at this situation by above parameter setting.
($PS_CONFIG. $DB_NOTRIG, $DA_NOTRIG)
Contents of sub-program A
1: PS +1500mm +0sec,DO[1]=(ON)
+1500mm
- 104 -
B-83284EN-2/05 16. PATH SWITCHING FUNCTION
Limitations
PS statement is not available for the following motion type.
• Weaving motion
• Tracking motion which can not define actual destination point beforehand, as line-tracking, MIG-EYE,
Robot-Link.
Caution
• PS statement is interpreted in a flash only at the start of the new motion line. When the motion including
PS statement is paused, if you edit and change the PS statement in the sub program during this pause
status, modified PS commands do not take effect until the motion line is newly executed. After pausing
program, to take effect of the modified PS statement immediately, you can BWD the motion line and
re-start. Then the modified PS statements will take effect.
• PS command for joint motion is not prohibited. But it must be used carefully. Regardless of the motion
type Linear, Circular, or Joint, PS command is checking the linear distance between TCP and
destination point as trigger threshold.
NOTE
In cases of PS command's Distance-Before type usage, If TCP once goes into the defined
sphere around the destination point, the PS command will be triggered regardless how
long the rest of path. Please note the distance which is being checked in PS motion is not
the total remaining path length to the destination point. Please see the following figure for
example.
PS trigger point
DO[1]=(ON)
J P[2]
- 105 -
16. PATH SWITCHING FUNCTION B-83284EN-2/05
TP editor operation
1 "Path Switching" item is displayed in the [INST] menu.
3 The distance and offset time can be set, and the assignment statement can be edited as the same way as
mixed logic instructions.
[CHOICE]
4 When the cursor is on 'PS ' item, you can switch "PS ..." to "PS ... IF ..." and vice versa from menu.
[CHOICE]
- 106 -
B-83284EN-2/05 17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION
To use this function, auxiliary axis servo off option (A05B-2600-J806) and dedicated hardware and setup
at DCS Local stop menu are required. In regard to the dedicated hardware or DCS Local stop menu, please
refer to the following manuals.
• R-30iB Local Stop function with STO Maintenance and Order Manual (A-95028E)
• Chapter “AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION” in R-30iB/R-30iB Mate
CONTROLLER Dual Check Safety Function OPERATOR’S MANUAL (B-83184EN)
17.1 SPECIFICATION
• Order number for software option
A05B-2600-J806
Configuration of Local stop function is determined by the number of lines and the
number of axes in one line.
Power supply for those motors can Power supply for those motors will
be controlled separately. be controlled synchronously.
1 Input signal #2
Local stop command signal by the user.
Local stop software controls power supply for the motor in response to this signal.
- When this signal is ON, supply power to the motor and the axis can move.
- When this signal is OFF, cut off power to the motor and the axis cannot move.
2 Output signal #2
Local stop status feedback signal from a robot controller to a peripheral device such as PLC.
This signal shows the state of Local stop software controls power supply for the motor. Please use
this signal as muting indicator and WAIT condition of wait for transit servo off/on to complete in
TP program. Please do not operate this signal.
- When this signal is OFF, power is supplied to the motor and the axis can move.
- When this signal is ON, power is not supplied to the motor and the axis cannot move.
Please assign general I/O or robot I/O for input signal #2 and output signal #2.
- 108 -
B-83284EN-2/05 17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION
In case a macro program will input that Local stop command, please output general output signal in
that program to the peripheral device such as PLC and control input signal #2 according to that output.
General output
(Indirect Local stop command)
Macro Program
17.2 CONSTRAINTS
• “LSTP-001 Motion grp %d is active” alarm occurs when the user command cutting off the power
supply (input signal #2 = OFF) while auxiliary axis is moving. Then running program will be paused
and robot stops when this alarm occurs. Please command power off while axis is not moving.
• “LSTP-011 Motion grp %d is in LSTOP” alarm occurs when the user tried to move axis while the
power supply is cut off. Then axis does not move. Please turn on power supply for auxiliary axis
before you move axis.
• Please be sure to specify FINE positioning path for last motion instruction right before command
power off (input signal #2 = OFF). If specify CNT positioning path for last motion instruction right
before command power off, “LSTP-001 Motion grp %d is active” alarm might occur.
• Please be sure to keep time more than 0.2 sec before command power off (input signal #2 = OFF). If
command power off right after last motion instruction without waiting 0.2 sec, “LSTP-001 Motion
grp %d is active” alarm might occur.
17.3 SETTINGS
1 Firstly, please connect a dedicated hardware. In regard to the dedicated hardware, please refer to
R-30iB Local Stop function with STO Maintenance and Order Manual (A-95028E).
- 109 -
17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION B-83284EN-2/05
2 Secondly, please setup DCS Local stop menu. In regard to DCS Local stop menu, please refer to
R-30iB Local Stop function with STO Maintenance and Order Manual (A-95028E) and chapter
“AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION” in R-30iB/R-30iB Mate
CONTROLLER Dual Check Safety Function OPERATOR’S MANUAL (B-83184EN).
3 Thirdly, please set system variables. For each Local stop line, setting of motion group number, input
signal #2, output signal #2 and internal output signal #1 are necessary. For input signal #2 and output
signal #2, please specify port type and port number. For internal output signal #1, please specify the
SPO index number. In regard to the SPO index number, please refer to R-30iB Local Stop function
with STO Maintenance and Order Manual (A-95028E) and chapter “AUXILIARY AXIS SERVO
OFF (LOCAL STOP) FUNCTION” in R-30iB/R-30iB Mate CONTROLLER Dual Check Safety
Function OPERATOR’S MANUAL (B-83184EN).
[ TYPE ] DETAIL
3 Select the Local stop line (1-8) that needs to be configured and press [ENTER] key. The
following screen will be displayed.
SYSTEM Variables
$LS_IOPORT[1] 1/13
1 $MO_GRP_NUM 0
2 $SDI1_P_TYPE 0
3 $SDI1_P_NUM 0
4 $SDI1_P_STAT FALSE
5 $SDI2_P_TYPE 0
6 $SDI2_P_NUM 0
7 $SDI2_P_STAT FALSE
8 $SDO1_P_TYPE -1
9 $SDO1_P_NUM 0
10 $SDO1_P_STAT FALSE
11 $SDO2_P_TYPE 0
12 $SDO2_P_NUM 0
13 $SDO2_P_STAT FALSE
[ TYPE ]
4 Please refer to the below tables and setup the system variables according to the actual I/O
connection. It is required to setup system variables which “O” (Need to setup) is written in
rightmost line in the following Table 17.3. For system variables which “X” (No need to setup) is
written, please do not change.
- 110 -
B-83284EN-2/05 17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION
Table 17.3 Description of system variable (Following settings are necessary for each Local stop line)
Variable name Description O: Need to setup
X: No need to setup
$MO_GRP_NUM Motion group number that uses a Local stop function. Valid range is
2-8. Setting this variable to 0 disables Local stop function for the Local O
stop line.
$SDI1_P_TYPE Not in use. X
$SDI1_P_NUM Not in use. X
$SDI1_P_STAT Status of internal input signal #1. Please do not change this variable. X
$SDI2_P_TYPE Port type for input signal #2 (Local stop command signal by a user). O
$SDI2_P_NUM Port number for input signal #2. O
$SDI2_P_STAT Status of input signal #2. Please do not change this variable. X
$SDO1_P_TYPE Signal type for internal output signal #1 (Command to control power
supply from a robot controller to servo amplifier). Please do not X
change from the default value (-1).
$SDO1_P_NUM Specify the SPO index number. In regard to the SPO index number,
please refer R-30iB Local Stop function with STO Maintenance and O
Order Manual (A-95028E).
$SDO1_P_STAT Status of internal output signal #1. Please do not change this variable. X
$SDO2_P_TYPE Port type for output signal #2 (Local stop status feedback signal from
O
a robot controller).
$SDO2_P_NUM Port number for output signal #2. O
$SDO2_P_STAT Status of output signal #2. Please do not change this variable. X
Example of configuration
In case that assign DI[10] for the input signal #2 and DO[11] for the output signal #2 for Local
stop line 1, set the above system variables as follows.
$LS_IOPORT[1].$SDI2_P_TYPE = 1
$LS_IOPORT[1].$SDI2_P_NUM = 10
$LS_IOPORT[1].$SDO2_P_TYPE = 2
$LS_IOPORT[1].$SDO2_P_NUM = 11
5 When you use more than 2 Local stop lines, please set system variables for 2nd line or later too.
6 Please do not change $LS_CONFIG and $LS_SYSTEM.
7 That is all for software setup. In order to make settings available, please cycle power once. After
cycling power, setting will be available.
8 To confirm settings are proper, please do check by following procedure for each Local stop lines.
- 111 -
17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION B-83284EN-2/05
NOTE
Please perform these checks when the system is NOT in servo off status.
If any alarm factor such as Operator panel E-stop, Teach pendant E-stop,
deadman switch release, External emergency stop, etc. exists, please clear these
alarms first. Then perform a test when the system is in servo on status.
9 If no alarm occurs and signals change like above, Local stop function works correctly.
10 Following alarms could occur.
“LSTP-006 DI1 ON timer expired (G:%d)” or “LSTP-007 DI1 OFF timer expired (G:%d)”
In case that
“LSTP-006 DI1 ON timer expired (G:%d)” occurs but the input signal #1 becomes ON or
“LSTP-007 DI1 OFF timer expired (G:%d)” occurs but the input signal #1 becomes OFF,
please increase following system variables
$LS_CONFIG.$SDI_ON_LAG and $LS_CONFIG.$SDI_OFF_LAG 100 by 100 until alarm
does not occur. The default value for these variables is 1000. If you change the value, please set
the same value to both variables.
SYSTEM Variables
$LS_CONFIG 2/6
1 $IO_SCANRATE 12
2 $SDI_ON_LAG 1000
3 $SDI_OFF_LAG 1000
4 $BRK_ON_LAG 414
5 $BRK_OFF_LAG 256
6 $LS_DEBUG 0
[ TYPE ]
When “LSTP-006 DI1 ON timer expired (G:%d)” or “LSTP-007 DI1 OFF timer expired
(G:%d)” occurs, it is necessary to cycle power once to clear alarm status.
11 If alarms occur except for the above situation, please refer to FANUC Robot series
R-30iB/R-30iB Mate CONTROLLER OPERATOR’S MANUAL (Alarm Code List)
(B-83284EN-1) and check the settings of system variable, setting of brake number, and hardware
connections.
17.4 ATTENTION
• Note for moving auxiliary axis right after exiting from Local stop mode (servo ON command)
Please do not move auxiliary axis until output signal #2 becomes OFF.
Example) Assuming the system in which I/O has been set up like below.
- 112 -
B-83284EN-2/05 17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION
DO[3]=ON
Macro Program
If you teach motion instruction right after servo ON command without WAIT instruction,
“LSTP-011 Motion grp %d is in LSTOP” alarm might occur.
17.5 PROGRAMMING
Suppose a system like below.
• 3 groups welding system that consists of a robot and two positioners (A and B).
• Operator loads/unloads a workpiece at one side of the positioner while robot welds at another
positioner.
• 2 Local stop lines are required.
- 113 -
17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION B-83284EN-2/05
Positioner B (Group 3)
Local stop line #2
Robot (Group 1)
Operator
Muting indicator
Weld cycle
start button
Positioner A (Group 2)
Local stop line #1
DO[10]
Macro program A
DO[12]
Internal input signal #1
DO[11]
Positioner A
Positioner B
An operator confirms that a workpiece A is ready and starts
program A (WELD_A.TP) by pressing button.
Local Stop
Macro UNLOCK_A: positioner A exits from local stop mode
Servo ON
CALL WELD_G2 RUN LOAD_B
positioner B moves
Macro LOCK_B
Robot completes welding positioner B enters into local stop mode
a workpiece A
Servo ON
Local Stop
Operator unloads welded workpiece B
and load a new workpiece B
Macro LOCK_A
positioner A enters into local stop mode
Robot completes welding
Local Stop
a workpiece B
Operator unloads welded workpiece A
and load a new workpiece A
- 115 -
17. AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION B-83284EN-2/05
UNLOCK_A.TP
Main program for welding Group Mask [*,*,*,*,*,*,*,*]
a workpiece A.
This macro turns DO[10] ON
WELD_A.TP 1: DO[10] = ON
and commands servo ON to
Group Mask [*,*,*,*,*,*,*,*] 2: WAIT DO[12] = OFF
positioner A.
[End]
1: CALL UNLOCK_A
2: RUN LOAD_B LOAD_B.TP
3: CALL WELD_G2 Group Mask [*,*,1,*,*,*,*,*]
[End]
This macro moves positioner
1: J P[1] 100% FINE
B to the workpiece B load /
2 WAIT 0.2 sec
WELD_G2.TP unload position.
3: RUN LOCK_B
Group Mask [1,1,*,*,*,*,*,*] [End]
UNLOCK_B.TP
Main program for welding Group Mask [*,*,*,*,*,*,*,*]
a workpiece B.
This macro turns DO[11] ON
WELD_B.TP 1: DO[11] = ON
and commands servo ON to
Group Mask [*,*,*,*,*,*,*,*] 2: WAIT DO[13] = OFF
positioner B.
[End]
1: CALL UNLOCK_B
2: RUN LOAD_A LOAD_A.TP
3: CALL WELD_G3 Group Mask [*,1,*,*,*,*,*,*]
[End]
This macro moves positioner
1: J P[1] 100% FINE
A to the workpiece A load /
2 WAIT 0.2 sec
WELD_G3.TP unload position.
3: RUN LOCK_A
Group Mask [1,*,1,*,*,*,*,*] [End]
- 116 -
B-83284EN-2/05 18. DUAL MOTOR DRIVE
Synchronous control
• The main function of the Dual Drive feature is to compensate for synchronous error due to servo delay
between master and slave axes.
• Dual Drive feature can realize a large size and high-load system which cannot be realized by a single
motor.
• Dual Drive feature suppresses the slave motor status on the current position screen, teaching screen, and
so on. By jogging or teaching only of the master motor, both motors move in synchronization.
To use this function, Dual Drive function option (A05B-2600-J836) is required. Also only Independent axis
(A05B-2600-H895) and Positioner (A05B-2600-H896) can be used as Dual Drive.
18.1 SETUP
Preparation
Setup Independent Additional Axes or Positioner axes which you plan to assign as a pair of Dual Drive
motors.
• The pair of Dual Drive motors must belong to the same motion group.
• In this step, setup both the master motor and the slave motor individually.
• The slave motor must be the last axis in the group. If there exist multiple Dual Drive motor pairs in one
group, the order of the slave axes is unconfined while they must be the last axes in the group.
J1 J2 J3
Independent Additional Axes or Positioner axes
Master Slave The slave motor must be the last axis of the group.
motor motor
- 117 -
18. DUAL MOTOR DRIVE B-83284EN-2/05
[Example 1]
System configuration:
- Group 2 has three motors as Independent Additional Axes.
- J2-J3 of Group 2 are a pair of Dual Drive motors.
- J2 is the master motor and J3 is the slave motor.
Setting:
- $SCR_GRP[2].$NUM_AXES = (3→) 2
- $SCR_GRP[2].$NUM_ROB_AXS = (3→) 2
- $SCR_GRP[2].$NUM_DUAL = 1
- $DUAL_DRIVE[2].$M_AXIS_NUM[1] = 2
- $DUAL_DRIVE[2].$S_AXIS_NUM[1] = 3
[Example 2]
System configuration:
- Group 2 has four motors as Independent Additional Axes.
- J1-J3 and J2-J4 of Group 2 are pairs of Dual Drive motors.
- J1 and J2 are the master motors and J3 and J4 are the slave motors.
Setting:
- $SCR_GRP[2].$NUM_AXES = (4→) 2
- $SCR_GRP[2].$NUM_ROB_AXS = (4→) 2
- $SCR_GRP[2].$NUM_DUAL = 2
- $DUAL_DRIVE[2].$M_AXIS_NUM[1] = 1
- $DUAL_DRIVE[2].$M_AXIS_NUM[2] = 2
- $DUAL_DRIVE[2].$S_AXIS_NUM[1] = 3
- $DUAL_DRIVE[2].$S_AXIS_NUM[2] = 4
When jogging or teaching, the Dual Drive pairs are treated as “J1” and “J2”.
- 118 -
B-83284EN-2/05 19. MULTI UOP INTERFACE FUNCTION
Specification
The number of usable UOP set
Up to 5 UOP sets are usable.
UOP Interface
The number of UOP signals depend on how many UOP sets is used.
Number of set 1 2 3 4 5
Input 18 23 32 41 50
Output 20 26 36 46 56
Software Options
The following software option is needed for Multi UOP Interface function.
If 2 or more motion groups (multiple robot, independent axis and so on) is used, the following software
option is needed.
Multi UOP interface for Dual Arm Control is different from Multi Robot Control Function that had been
used since R-30iA in the following point:
• One CSTOPI signal was prepared for 2 UOP sets by Multi Robot Control Function, but two CSTOPI
signals are prepared for 2 UOP sets by Multi UOP interface for Dual Arm Control. (For this difference,
Multi UOP interface for Dual Arm Control uses more one signal than Multi Robot Control Function
by CSTOPI signal.)
• In case of Multi Robot Control function, the motion groups intended by each UOP depend on coupling
structure of Isolation switch. But in case of Multi UOP Interface function, the user can configure the
motion groups intended by each UOP freely.
And it is possible to use UOP as the specification of Multi Robot Control function. Please refer to “19.6
System variables”.
- 119 -
19. MULTI UOP INTERFACE FUNCTION B-83284EN-2/05
*IMSTP CMDENBL#1
*HOLD#1 SYSRDY#1
*SFSPD PROGRUN#1
CSTOPI#1 PAUSED#1
FAULT_RESET HELD#1
START#1 FAULT#1
HOME ATPERCH
ENBL TPENBL
RSR1/PNS1/STYLE1 BATALM
RSR2/PNS2/STYLE2 BUSY
RSR3/PNS3/STYLE3 ACK1/SNO1
RSR4/PNS4/STYLE4 ACK2/SNO2
RSR5/PNS5/STYLE5 ACK1/SNO1
RSR6/PNS6/STYLE6 ACK1/SNO1
RSR7/PNS7/STYLE7 ACK1/SNO1
RSR8/PNS8/STYLE8 ACK1/SNO1
PNSTROBE#1 ACK1/SNO1
PROD_START#1 ACK1/SNO1
SNACK
RESERVE
*HOLD#2 CMDENBL#2
START#2 SYSRDY#2
PNSTROBE#2 HELD#2
PROD_START#2 FAULT#2
CSTOPI#2 PROGRUN#2
PAUSED#2
RSR9 ACK9
RSR10 ACK10
RSR11 ACK11
RSR12 ACK12
*HOLD#3 CMDENBL#3
START#3 SYSRDY#3
PNSTROBE#3 HELD#3
PROD_START#3 FAULT#3
CSTOPI#3 PROGRUN#3
PAUSED#3
- 120 -
B-83284EN-2/05 19. MULTI UOP INTERFACE FUNCTION
<Number of set : 4>
RSR13 ACK13
RSR14 ACK14
RSR15 ACK15
RSR16 ACK16
*HOLD#4 CMDENBL#4
START#4 SYSRDY#4
PNSTROBE#4 HELD#4
PROD_START#4 FAULT#4
CSTOPI#4 PROGRUN#4
PAUSED#4
RSR17 ACK17
RSR18 ACK18
RSR19 ACK19
RSR20 ACK20
*HOLD#5 CMDENBL#5
START#5 SYSRDY#5
PNSTROBE#5 HELD#5
PROD_START#5 FAULT#5
CSTOPI#5 PROGRUN#5
PAUSED#5
I/O Configuration:
Then the number of UI/UO signal is changed, but signal assignment isn’t changed. If you clear assignment,
new assignment in response to new number of UI/UO signal is given automatically (You can clear
- 121 -
19. MULTI UOP INTERFACE FUNCTION B-83284EN-2/05
assignment by selecting F5, CLR_ASG in I/O Link Device screen. Power cycling is needed after that. And
all assignments are cleared. If this is inconvenient for you, please change assignment manually).
Here from, ‘N’ means the number of UOP set, in other words, the value of $MULTI_ROBO.$NUM_PROG (‘N’ is
used for explanation after “19.1.3 HOLD#1 to #N”).
- 122 -
B-83284EN-2/05 19. MULTI UOP INTERFACE FUNCTION
<Number of set : 4> <Number of set : 5>
Specialized I/O signal UI/UO[*] Specialized I/O signal UI/UO[*]
Input RSR13 UI[33] Input RSR17 UI[42]
RSR14 UI[34] RSR18 UI[43]
RSR15 UI[35] RSR19 UI[44]
RSR16 UI[36] RSR20 UI[45]
HOLD#4 UI[37] HOLD#5 UI[46]
START#4 UI[38] START#5 UI[47]
PNSTROBE#4 UI[39] PNSTROBE#5 UI[48]
PROD_START#4 UI[40] PROD_START#5 UI[49]
CSTOPI#4 UI[41] CSTOPI#5 UI[50]
19.1.3 HOLD#1 to #N
Here from, the word “Program#1” appears. “Program#1” means the program selected by UOP set 1. “Program#2” to
“Program#N” are same as “Program#1”. Please refer to “19.2 SELECT PROGRAM”.
Multi UOP Interface has one HOLD signal per UOP set (#1 to #N). The function of HOLD signal is
changed by setting system variable “$MULTI_ROBO.$HOLD_TYPE.
• In case of $MULTI_ROBO.$HOLD_TYPE = 1
If HOLD#X is turned OFF, “Program#X' is paused (X = 1 to N).
The running program which is not selected as “Program#X”, can NOT be held. Please turn off ENBL
to pause the program.
(However, if “Program#X” is not selected, when HOLD#X is OFF, all the programs in execution are
paused.)
19.1.4 CSTOPI#1 to #N
Multi UOP Interface has one CSTOPI signal per UOP set (#1 to #N). The function of CSTOPI signal is
changed by setting “CSTOPI for ABORT” or “Abort all programs by CSTOPI” in System Config screen.
- 123 -
19. MULTI UOP INTERFACE FUNCTION B-83284EN-2/05
TRUE for “Abort all programs by CSTOPI” is recommended for Multi UOP Interface function.
The way of terminating program is changed by setting “CSTOPI for ABORT” in System Config screen.
19.1.5 START#1 to #N
Note)
In the system with Multi UOP Interface, multiple programs are controlled at the same time, and
it is more complex to control program than control single program. So it is recommended that
the Multi UOP Interface is in condition that “START for CONTINUE only:“ in system config
screen is “TRUE”. Only paused program can be started by START signal under this setting. In
case of starting the ended program, use RSR or PROD_START signal, please.
Multi UOP Interface has one START signal per UOP set (#1 to #N).
The program is continued to execute from paused line in case that START signal is input with paused
program.
When “START for CONTINUE only:“ in system config screen is “TRUE”, the program, which is aborted
(neither running nor paused), can NOT be started and the message “PROG-023 Task is not paused” is
displayed in TP screen in case that START signal is inputted with the ended program (neither running nor
paused).
19.1.6 RSR
Multi UOP Interface has four RSR signal per UOP set (#1 to #N).
(However, if the number of UOP set is 1, eight RSR is usable.)
- 124 -
B-83284EN-2/05 19. MULTI UOP INTERFACE FUNCTION
And each UOP set has RSR queue, so the number of RSR queue is N.
Please refer to “19.4.1 Robot Service Request (RSR)”.
19.1.8 CMDENBL#1 to #N
Multi UOP Interface has one CMDENBL signal per UOP set (#1 to #N).
1. Remote Condition:
・ The Teach Pendant enable switch is set OFF.
・ Setting of Remote/Local is set to Remote.
・ The *SFSPD input is ON.
・ The ENBL input is ON.
・ The system variable $RMT_MASTER is 0 (UOP).
19.1.9 SYSRDY#1 to #N
Multi UOP Interface has one SYSRDY signal per UOP set (#1 to #N).
In case that the program, which is not “Program#X”, is in execution, every PROGRUN#X is output.
(Default)
In case that the program, which is not “Program#X”, is paused, every PAUSED#X is output. (Default)
19.1.11 HELD#1 to #N
Multi UOP Interface has one HELD signal per UOP set (#1 to #N).
19.1.12 FAULT#1 to #N
Multi UOP Interface has one FAULT signal per UOP set (#1 to #N).
FAULT#X turns ON when the alarm occurs by “Program#X” execution or other than program execution.
(X = 1 to N)
19.1.13 ATPERCH
The specified signal ATPERCH is set to ON when the robot of motion group 1 is at the reference position 1.
Please assign reference position output except motion group 1.
- 126 -
B-83284EN-2/05 19. MULTI UOP INTERFACE FUNCTION
“Program#2” to “Program#N” are same as “Program#1”.
On the contrary, a program that is displayed on program edit screen is referred as “selected program”.
[FWD]/[BWD] keys on teach pendant or start button on Operator Panel run “selected program”.
“Selected program” is displayed on left side of second line of TP screen.
Program#1 : SAMPLE1
Program#2 : SAMPLE2
If you set cursor to a program and presses ENTER, “selected program” is changed to the program.
Then, the program changes to “Program#X” automatically (What # is set depend on motion group of the
program and what motion group is intended by each UOP sets).
For example, when the number of UOP sets is 2, and UOP set 1 intends Motion group 1 and UOP set 2
intends Motion group 2, the behavior is as the following figure.
SELECT G1
1 A (1*) Select A SELECT G1
2 B (11) Select B SELECT G1 1 A #1 (1*)
3 C (**) Select C 1 A (1*) 2 B (11)
4 D (*1) Select D 2 B #1 (11) 3 C (**)
3 C (**) 4 D (*1)
4 D (*1)
SELECT G1
SELECT G1 1 A (1*)
1 A (1*) 2 B (11)
2 B (11) 3 C #1 (**)
3 C (**) 4 D (*1)
4 D #2 (*1)
- 127 -
19. MULTI UOP INTERFACE FUNCTION B-83284EN-2/05
$MULTI_PROGC has 5 alignments, and each one corresponds one UOP set. If the number of UOP set is
smaller than 5, $MULTI_PROGC alignments are available as many as the number of UOP set, and the other
alignments is ineffective.
For example, the default values of $MULTI_PROGC are set as the following, it is assumed that one UOP
set is equivalent to one motion group.
Example1 (Default)
UOP set 1: $MULTI_PROGC[1] = 1
UOP set 2: $MULTI_PROGC[2] = 2
UOP set 3: $MULTI_PROGC[3] = 4
UOP set 4: $MULTI_PROGC[4] = 8
UOP set 5: $MULTI_PROGC[5] = 16
Example 2
UOP set 1: $MULTI_PROGC[1] = 9
UOP set 2: $MULTI_PROGC[2] = 18
UOP set 3: $MULTI_PROGC[3] = 4
UOP set 4: $MULTI_PROGC[4] = 0
UOP set 5: $MULTI_PROGC[5] = 0
Every UOP set can select a program having no motion group. However, when a program having no motion
group is selected by TP, if $MULTI_PROGC[#x] is 0, the program become “Program#X” by priority.
- 128 -
B-83284EN-2/05 19. MULTI UOP INTERFACE FUNCTION
• When program is selected by UOP, you can not select the program, and the message “TPIF-013 Other
program is running” is displayed.
• When program is selected by Teach Pendant and Teach Pendant Enable switch is OFF, you can not
select the program, and the message “TPIF-013 Other program is running” is displayed.
• When program is selected by Teach Pendant and Teach Pendant Enable switch is ON, the original
“Program#1” is aborted, and the selected program becomes “Program#1”.(This is the case that “Multi
Program Selection” is disabled. If “Multi Program Selection” is enabled, “Program#1” doesn’t
change.)
When “Program#1” is running, if you select another program as “Program#1”, you can not select the
program regardless of selection way, and the message “TPIF-013 Other program is running” is displayed.
By changing motion group, “selected program” is also changed according to selected motion group.
Changed ”selected program” is displayed on program edit screen.
For example, UOP set 1 intends Motion group 1, and UOP set 2 intends Motion group 2.
Suppose “Program #1 “ has only group1 and “Program #2 has” only group2.
By Selecting group1, “Program #1”
By Selecting group2, “Program #2”
automatically becomes “selected program” and the program is displayed on program edit screen.
SELECT G1
1 A #1 (1*)
2B (11)
3C (**)
4 D #2 (*1)
A G1 D G2
1 JP[1] Changing motion group to group2 1 JP[2]
2 DO[1]=ON Changing motion group to group1
2 DO[2]=ON
3 3
If “Selected program” has both group1 and group2 or “selected program” has no motion group, change of
motion group doesn’t change “selected program”.
- 129 -
19. MULTI UOP INTERFACE FUNCTION B-83284EN-2/05
To change “selected program” in these cases, display program selection screen, set cursor to a program that
you want to display and press ENTER.
Multi UOP Interface has four RSR signals per UOP set (#1 to #N) if the number of UOP set is 2 and over.
RSR1 to 4 are for UOP set 1. RSR5 to 8, RSR9 to 12, … are same as RSR1 to 4 (Please refer to “19.2.6
RSR”.). And each UOP set has RSR queue, so the number of RSR queue is N.
By this function, N programs can run at the same time.
• The program started by RSR1 to 4 does not have motion group intended by UOP set 1 and it has
motion group intended by other UOP set.
The program selected by PNSTROBE#X becomes “Program#X”. This program can be started by
PROD_START#X and it is resumed from pause by START#X (X = 1 to N).
• The program selected by PNSTROBE#X does not have motion group intended by UOP set X and it
has motion group intended by other UOP set.
19.4.3 Other
When hold button on Teach Pendant or Operator Panel, all running programs are paused.
Name $MULTI_ROBO.$HOLD_TYPE
Default 0
Type INTEGER
Protection Not protected
Range 0/1
Meaning Select the function of HOLD#1 to #N.
0: All programs are paused when one of the HOLD#1 to #N signals turns OFF.
1: “Program#X” is paused when HOLD#X turns OFF.
Name $MULTI_ROBO.$NUM_PROG
Default 1
Type INTEGER
Protection Not protected
Range 1 to 5
Meaning The number of UOP set to use.
Set this value to 1 if you want to disable Multi UOP Interface function.
Name $MULTI_ROBO.$MULTI_PROGC[5]
Default [1]1, [2]2, [3]4, [4]8, [5]16
Type INTEGER
Protection Not protected
Range 0 to 0xFFFF
Meaning Bit mask for intended motion group of each UOP set.
In the default, UOP set 1 intends Motion group 1, UOP set 2 intends Motion
group 2, and so on.
We can select program by UOP or TP, and program number is set on the basis of $MULTI_PROGC.
Program number setting rule is the following:
- 131 -
19. MULTI UOP INTERFACE FUNCTION B-83284EN-2/05
Rule 3) If motion group of every $MULTI_PROGC[#n] and motion group of program match none, the
program is treated equally as no motion group program. (So conform to Rule 2.)
Example $MULTI_PROGC[1-5] = 1, 2, 3, 4, 0
The above figure illustrates PROGRAM C can be set #1, #2, or #3, and conversely, #2 can select
PROGRAM B, C, E, F or G, for instance.
When none of the above Priorities is corresponded, it means that all “Program#X” that #X complies with
Priorities from 1 to 4 are in execution. Then warning message is displayed and # isn’t set to selected
program.
- 132 -
B-83284EN-2/05 19. MULTI UOP INTERFACE FUNCTION
Name $MULTI_ROBO.$TRAD_MODE
Default FALSE
Type BOOLEAN
Protection Not protected
Range TRUE/FALSE
Meaning Compatible flag for Multi Robot Control Function used in the old robot controller.
TRUE: Compatible mode
- There is single CSTOPI signal.
- $MULTI_ROBO.$NUM_PROG is 2.
- $ROBOT_ISOLC plays role of $MULTI_ROBO.$MULTI_PROGC.
FALSE: Normal Multi UOP Interface mode
Name $MULTI_ROBO.$UNSELOUTPUT
Default 1
Type INTEGER
Protection Not protected
Range 0/1
Meaning Output form of PROGRUN#1 to #N signals at the execution of an unselected
program and PAUSE#1 to #N signals at the pause of an unselected program.
- 133 -
20. ERROR CODE OUTPUT FUNCTION B-83284EN-2/05
20.1 SPECIFICATION
Set the signals used in this function to the following system variables.
• Output signals
$ER_OUT_PUT.$OUT_NUM determines which DO is used.
33 points of DO from setup number are used.
When setup number is 0, this function is disabled.
- 134 -
B-83284EN-2/05 20. ERROR CODE OUTPUT FUNCTION
Reset
Alarm
Code
80ms
Strobe
When multiple alarms occur at a time, the initial alarm is outputted at first. Then, the next alarm is
output every time search signal is input. These are cyclically output and after that reset signal with
strobe is output. Up to 100 alarms can be stored.
Alarm1
Alarm2
Alarm3
Search Signal
Alarm
Alarm1 Alarm2 Alarm3 Reset Alarm1
DO Types of alarms
1 to 16 Output an alarm number as binary (16bit).
17 to 24 Output an alarm ID as binary (8bit).
25 to 32 Output an alarm Severity as binary (8bit).
33 Used as strobe.
- 135 -
20. ERROR CODE OUTPUT FUNCTION B-83284EN-2/05
DO
25 26 27 28 29 30 31 32
Severity
PAUSE.L OFF ON OFF OFF OFF OFF OFF OFF
PAUSE.G OFF ON OFF OFF OFF ON OFF OFF
STOP.L OFF ON ON OFF OFF OFF OFF OFF
STOP.G OFF ON ON OFF OFF ON OFF OFF
SERVO OFF ON ON OFF ON ON OFF OFF
ABORT.L ON ON OFF ON OFF OFF OFF OFF
ABORT.G ON ON OFF ON OFF ON OFF OFF
SERVO2 ON ON OFF ON ON ON OFF OFF
SYSTEM ON ON OFF ON ON ON ON OFF
DO[25] DO[26]
OFF OFF The program continues running.
OFF ON The program will be paused.
ON ON The program will be aborted.
DO[27] DO[28]
OFF OFF The motion continues running.
ON OFF The motion will be stopped.
OFF ON The motion will be canceled.
- 136 -
B-83284EN-2/05 20. ERROR CODE OUTPUT FUNCTION
DO[32] means the request for the display on TP.
20.2.2 Alarm ID
Alarm ID will be outputted as the number in the following.
Number Alarm ID
0 OS
3 PROG
7 MEMO
9 TPIF
11 SRVO
12 INTP
15 MOTN
19 JOG
20 APPL
23 SPOT
24 SYST
26 PALT
53 ARC
57 MACR
58 SENS
59 COMP
- 137 -
20. ERROR CODE OUTPUT FUNCTION B-83284EN-2/05
Example
In case of “SRVO 002 (severity SERVO)”
Alarm number is 2.
Alarm ID “SRVO” is 11.
The severity is SERVO.
- 138 -
B-83284EN-2/05 21. DATA MONITOR FUNCTION
Data Monitor operates much like a strip chart recorder or a data acquisition system. To use the Data Monitor
feature you make selections in two teach pendant screens and add two teach pendant program instructions.
Specifically,
- Enable or disable any specific features in the Data Monitor Utility screen.
- Select items to monitor (such as arc current feedback) with one of the Data Monitor schedules.
- Add Sample Start[schedule number] and Sample End instructions to your TP program to control when
monitoring occurs.
You can monitor up to six items at once with a Data Monitor schedule. The maximum sampling frequency
is 250 Hz. You can specify separate frequencies for limit checking and for recording. As the items specified
in the schedule are recorded, the following data is also collected: time, date, distance, program name and
line number. You can choose the items you want to monitor from the Data Monitor Schedule screen.
Number Tick Time Program Line Voltage [Volts] Wire feed [Amps]
1 48 .192 TEST 2 0.000 0.000
2 98 .392 TEST 3 20.000 200.000
3 148 .592 TEST 3 20.000 200.000
4 198 .792 TEST 3 20.000 200.000
5 248 .992 TEST 3 20.000 200.000
6 298 1.192 TEST 3 20.000 200.000
7 348 1.392 TEST 4 0.000 0.000
Fig.21 (a) Report example
Definitions
This section contains definitions of terms you should know to use Data Monitor.
Item - A specific data element to be monitored. For example, an I/O signal, like WO[2] or AI[2]. Data
Monitor can monitor the following kinds of items:
- System variables (Real or Integer only)
- KAREL program variables (Real or Integer only)
- I/O ports (digital and analog)
- Registers (numeric only)
- Axis position
Schedule -A set of parameters that define how to monitor specific items and where to save recorded data.
Trigger - A condition that must be met to begin or end monitoring.
Limit - A defined high or low value for a monitored item.
- 139 -
21. DATA MONITOR FUNCTION B-83284EN-2/05
Monitoring Limits
Data monitoring can check each sampled item against upper and lower limits. If the average of the item
samples is out of limits for a specified time period (Tmin in Figure 21 (b)), a warning or a pause alarm will
occur, if enabled. You must specify a nominal value, a warning limit, a pause limit, and a time duration for
each monitored data item. A warning limit and a pause limit are indicated by the difference from nominal
value. If the monitored data exceeds the range of (nominal value + limit value), an alarm is posted.
Nominal + Pause
Nominal + Warning
Nominal
Nominal - Warning
Nominal - Pause
Limit DO
Time
END
RESET
If a warning limit is crossed for the specified time, a WARN severity error is posted and the limit digital
output is turned ON. If the average of the item samples returns to within the WARN limit for the specified
time the digital output is turned OFF.
If a pause limit is crossed for the specified time a PAUSE severity error is posted, the limit digital output is
set to ON, and the program is paused.
When the program ends, if a WARN or PAUSE limit error occurred during execution, the limit digital
output is turned ON. It is turned OFF by a system RESET.
- 140 -
B-83284EN-2/05 21. DATA MONITOR FUNCTION
ITEM DESCRIPTION
Limit Error Output This item defines the port type and port number for the limit output. This digital
Default: DO[0] output is turned ON when a limit error is detected.
Sample Buffer Size This item specifies the size of the sample buffer.
Default:10 Usually you do not have to change the default value.
Min:1
Max:99
Record Buffer Size This item specifies the size of the record buffer.
Default:10 If “ONE BUFFER” is specified as record mode (refer table 21.2 Data monitor
Min:1 menu items), this item should be number of data you want to record.
Max:99 (Recording will be finished when record buffer become full.)
if “CONTINUOUS” is specified as record mode, you don’t have to change the
default value.
Setup This item enables or disables printing of data monitor setup information in the
Default: Disabled report header.
Items This item enables or disables printing of information in the report header about
Default: Disabled each of the items you want to monitor.
Schedule This item enables or disables printing of Schedule information in the report
Default: Disabled header.
Triggers This item enables or disables printing of Trigger information in the report header.
Default: Disabled
Program Name This item enables or disables printing the program name column in the Data
Default: Enabled Monitor report. See Fig. 21.1.
Line Number This item enables or disables printing the line number column in the Data Monitor
Default: Enabled report. See Fig. 21.1.
Date This item enables or disables printing the date and time of day column in the Data
Default: Disabled Monitor report. See Fig. 21.1.
Tick + time This item enables or disables printing the Tick and Time column in the Data
Default: Disabled Monitor report. See Fig. 21.1.
Event This item enables or disables printing the event column in the Data Monitor report.
Default: Disabled See Fig. 21.1.
NOTE At this time, there is only one event defined. An event value of 1 indicates
the data was recorded as a result of the recording frequency.
Distance This item enables or disables printing the distance column in the Data Monitor
Default: Enabled report. See Fig. 21.1.
- 141 -
21. DATA MONITOR FUNCTION B-83284EN-2/05
Line number
Program Name
Step
1 Press [MENU] key.
2 Select UTILITIES.
3 Press F1, [TYPE].
4 Select Data Monitor. The following screen will be displayed.
- 142 -
B-83284EN-2/05 21. DATA MONITOR FUNCTION
UTILITIES DMON SET
1/20
1 Data monitor operation: ENABLED
2 Recording: ENABLED
3 Filing: ENABLED
4 Pause on file errors: DISABLED
5 Warning limits: ENABLED
6 Pause limits: ENABLED
7 Limit error output: DO[ 0]
8 Sample buffer size: 10 samples
9 Record buffer size: 10 samples
Item 10 has two columns. The right column contains an item number from 1 to 20. The left column
contains the corresponding item description.
1 2 3
1 Item 1 1 Item 8 1 Item 15
2 Item 2 2 Item 9 2 Item 16
3 Item 3 3 Item 10 3 Item 17
4 Item 4 4 Item 11 4 Item 18
5 Item 5 5 Item 12 5 Item 19
6 Item 6 6 Item 13 6 Item 20
7 Item 7 7 Item 14 7
8 –next page-- 8 –next page-- 8 –next page--
8 Select an item from the list by number or by moving the cursor and pressing ENTER.
- 143 -
21. DATA MONITOR FUNCTION B-83284EN-2/05
9 Press the F3, DETAIL function key to edit the selected item. In this example, [2 Item 2] has been
selected. You will see a screen similar to the following.
You can specify comment about the item in “4 Des” and “5 Unit”.
“6 Slope”, “7 Intercept” is for linear transformation. When Non-zero value is specified as slope,
Data is transformed as follows.
Notice: Transformed data is used for comparison between PAUSE/WARN limit or condition of
Start/End trigger.
10 This is the screen you use to edit an item. Press F2, ITEM, to select a different item by number. Not all
of the menu items are available for all item types. If they are not available the item is not numbered,
you cannot move the cursor to it, and it displays as ***.
To set the Item type, move the cursor to line 1 and press [CHOICE]. The following screen will be
displayed.
11 To change the Item type, move the cursor to Item type, and press [ENTER] key.
Case that I/O is selected:
Specify “2 Item sub type” and “3 Port or register number”.
- 144 -
B-83284EN-2/05 21. DATA MONITOR FUNCTION
Example for setting DO[3]
UTILITIES DMON ITM
1/7
Data monitor item number: 2/ 20
1 Item type: I/O
2 Item sub type: DO
3 Port or register number: 3
Axis number: G:* A:*
Program name: [ ]
Var: [ ]
4 Des: [ Item 2]
5 Units: [ ]
6 Slope: 0.00
7 Intercept: 0.00
Select Integer or Real depending on data type of system variable or KAREL variable.
Specify “3 Var”.
Specify variable name in “3 Var”.
12 When you are done editing this item you can press F2, ITEM to select a different item by number, or
press F3, EXIT to return to the setup screen.
Reports
Reports are created automatically when you set the Reporting item on the Data Monitor schedule screen to
ENABLED. You can specify a file name and a file device on the Data Monitor Schedule screen for the Data
Monitor report.
- 146 -
B-83284EN-2/05 21. DATA MONITOR FUNCTION
ITEM DESCRIPTION
File size This item specifies the amount of memory in KB you expect to use on the file
Default: 0 device. During execution of Sample Start[n], the device is checked for this
Min:0 amount of free memory. If it is not available, an error is posted. If you specify 0 as
Max:99999 the file size, the system only checks that there is at least one available block on
the media.
Sampling This item specifies the sampling frequency.
-Request - This is the sampling frequency you specify.
-Actual - This is the actual sampling frequency that Data Monitor will use. Since
there are only certain frequencies available, it may be greater than or less than
the sampling frequency you specify.
Monitoring This item specifies the monitoring frequency.
-Request - This is the monitoring frequency you specify.
-Actual - This is the actual monitoring frequency that Data Monitor will use. Since
there are only certain frequencies available, it may be greater than or less than
the monitoring frequency you specify.
Recording This item specifies the recording frequency.
-Request - This is the recording frequency you specify.
-Actual - This is the actual recording frequency that Data Monitor will use. Since
there are only certain frequencies available, it may be greater than or less than
the recording frequency you specify.
Record mode This item specifies the recording mode.
Default: CONTINUOUS -ONE BUFFER - Data will be recorded until the record data buffer is full.
-CONTINUOUS - The record buffer is re-used when full.
Number of items This item specifies how many items are monitored by this particular schedule.
Default: 1
Min: 1
Max: 6
Start item This item specifies the condition for starting data recording and enable/disable of
this condition after Sample Start instruction. If this condition is set to disable, data
recording is started just after Sample Start instruction.
The condition is set as the comparison between the value of the monitoring item
and setting item. For example, if condition is [ recording is started after current
command (item No.=2) becomes more than 150.], please set to [ 2 > 150 ].
NOTE: The user can check the item No. for monitoring by data monitor schedule
screen.
Stop item This item specifies the condition for finishing data recording and enable/disable of
this condition after Sample Start instruction. If this condition is set to disable, data
recording is not finished till performing Sample End instruction.
The method of setting condition is the same as Start item.
Step
1 Press [MENU] key.
2 Select UTILITIES.
3 Press F1, [TYPE].
4 Select Data Monitor Schedules. You will see a screen similar to the following.
- 147 -
21. DATA MONITOR FUNCTION B-83284EN-2/05
5 There are 5 Data Monitor schedules. The top line of the Schedule screen displays the current schedule
number and its comment. To select a different schedule, press F2, SCHEDULE, and enter the number
of the schedule you want to modify after the prompt.
6 To enter or modify the schedule comment, move the cursor to menu item 1 and press ENTER.
7 To specify the File device, move the cursor to line 2 and press F4, [CHOICE].
8 To specify the data monitor report file name, move the cursor to menu item 3 and press ENTER.
9 If you want to generate multiple report files with an index number in the file name, specify the starting
index number on line 4. If you don't want to create a new indexed file each time this schedule is used,
enter 0 on line 4.
10 Move the cursor to line 5, and specify the maximum report size, if desired, or leave it set to 0.
11 You specify the Sampling, Monitoring, and Recording frequencies on lines 6, 7 and 8 of the Data
Monitor Schedule screen. There are two values shown for these three items, the Requested Frequency
that you specify, and the Actual Frequency that will be used as the Sampling, Monitoring, or
Recording Frequency. When you enter the desired frequency in the Requested column, the Actual
column will update with the closest available frequency.
NOTE
The Monitoring and Recording Frequencies must be fractions of the Actual
Sampling frequency. If you have an actual sampling frequency of 125 Hz, the
maximum Monitoring and Recording frequency can only be 125 Hz. If you modify
the Sampling frequency, the Actual frequency may change for all three
frequencies.
12 To modify the Record mode, move the cursor to line 9 on the Data Monitor Schedule screen and press
F4, [CHOICE].
13 Each Data Monitor schedule can monitor up to 6 items simultaneously. You can specify the number of
items to monitor on line 10 of the Data Monitor Schedule screen.
14 Specify the items you want to monitor on lines 11 through 15 of the Data Monitor Schedule screen.
Press F4, [CHOICE], and select the item you want to monitor from the list of items displayed. You can
also specify an item by number in the Item Num column.
- 148 -
B-83284EN-2/05 21. DATA MONITOR FUNCTION
Item: 2
Des:[ Wire feed (Command)]
Var:[ $awepor[1].$wfs_cmd]
21.3 PROGRAMMING
You can use the following teach pendant instructions to start and end data monitoring:
- Sample Start[]
- Sample End
NOTE
You cannot start multiple data monitoring sessions at one time. You must end a
monitoring session with a Sample End before executing another Sample Start.
Sample Start[1]
- To start data monitoring, include the Sample Start[] instruction in a teach pendant program.
Sample End
- To stop data monitoring, include the Sample End instruction in a teach pendant program.
See Fig. 21.3 for an example of how to use these instructions in a teach pendant program.
1: Sample Start[1]
2: J P[1] 40% FINE
: Arc Start[1]
3: L P[2] 20.0cm/min FINE
Arc End[1]
4: Sample End
[End]
Fig. 21.3 Example of using sample start[] and sample end in a teach pendant program
- 149 -
21. DATA MONITOR FUNCTION B-83284EN-2/05
The Sample Start and Sample End instructions are located in the Data Monitor category of the Teach
Pendant Editor INST menu.
Step
1 Press [MENU] key.
2 Select “1 Utility”.
3 Press F1, [TYPE].
4 Select “Data Mon Chart”. The following screen will be displayed.
Data 1
A Graph 1
Data 2
Graph 2
Data 3
Y B Graph 3
Data 4
Graph 4
5 Data monitor chart screen can have up to 8 graphs. Y direction of a graph is reported data and X
direction is the reported count.
6 The file name of the monitor report is displayed on Fig 21.4 A. When the cursor is moved to A and
[ENTER] key is pressed, file select screen will be displayed and the user can select the “.DT” file in
other memory.
7 In Fig 21.4 B, newer value of the Y direction of each graph is displayed.
8 “Y Axis:” can compare displayed graphs. If 1 is set to “Y Axis:”, Data 2-4 are displayed on Graph 1. If
2 is set to “Y Axis:”, Data 1,3,4 are displayed on Graph 2.
9 “Columns:” can specify the number of the scale of X direction. “Columns:” can be set from 1 to 20.
10 “Samples:” can specify the number of displayed data. “Samples:” can be set from 1 to 100. If the user
want to the part of the data, please set small number to this item.
11 “Scale channel:”, “Scale ON/OFF”, “Min:” and “Max:” can change the scale of Y direction in each
graph. First, enter the graph number which you want to change scale to “Scale channel:”. If 1 is set to
“Scale channel:”, the user can change the scale of graph 1. Next, set the minimum and maximum value
- 150 -
B-83284EN-2/05 21. DATA MONITOR FUNCTION
of Y axis to “Min:” and “Max:”. After that, move the cursor to “Scale ON/OFF” and press [ENTER]
key. Y axis scale of the graph which is specified by “Scale channel:” is changed.
12 F2, < PAGE and F4, PAGE > key can change the scale of X direction of each graph.
13 F4, PAGE > key can move the column of X axis by +1.
14 F5, [DISPLAY] key can switch display enable/disable of each graph.
- 151 -
22. BRAKE CHECK FUNCTION B-83284EN-2/05
In order to check or modify the system variables, press [MENU] key and select “SYSTEM”. Then, press F1,
[TYPE] key and select “Variables”. The system variables screen will be displayed.
Please confirm this variable is TRUE (Enable) before use. The default value of this variable is TRUE
(Enable). If this variable is FALSE (Disable), brake check never starts.
On robot axis, the default value is TRUE (Enable). On except robot axis (aux axis, servo gun, or etc.), the
default value is FALSE (Disable).
In addition, if you execute brake check on dual drive axis, please set this variable to TRUE (Enable) for both
master and slave axis.
On robot axis, this variable is set automatically, however, on except robot axis (aux axis, servo gun, or etc.),
this variable is not set automatically, so please manually set this variable with brake torque if you execute
brake check on except robot axis. For specification value of brake torque, please refer to “BRAKE
SPECIFICATIONS” on AC SERVO MOTOR DESCRIPTIONS corresponding to your motor. Please note
that the unit of this variable is [kgf*cm].
- 152 -
B-83284EN-2/05 22. BRAKE CHECK FUNCTION
In addition, if you execute brake check on dual drive axis (except robot axis), please set this variable as
follows. (For robot axis, it is no need to set even if it’s dual drive axis.)
User can start brake check by parameter instruction of TP program or manually setting on system variable
screen. This variable automatically returns to FALSE when brake check is finished. Please not to move
robot till this variable automatically returns to FALSE. In addition, if brake check function is disabled
($BCCFG.$BCK_ENABLE=FALSE), this variable immediately returns to FALSE even if this variable is
set to TRUE.
Brake check cannot be started while the robot is moving as specification, so this program waits for robot to
stop completely by WAIT instruction at Line 3. And this program starts brake check at Line 4 and waits to
finish brake check at Line 5. As just described on this sample program, brake check must be executed under
the robot stops completely.
NOTE
In case of brake failure, the motor can move during brake check. So please be
sure to execute brake check in sufficiently spaced layout. Total motion command
per single check is vary by robot or axis, however, it is up to 200000[pulse]. This is
about 0.4[rev] in motor revolution and about 1.4[deg] in degree of the angle
assuming the gear ratio as 1/100.
Additionally, in case where the power is shut OFF during brake check for some reason, the following alarm
will be posted at next power ON. This alarm indicates abnormal termination at last check.
The following system variable will be also set to TRUE at next power ON.
$BCCFG.$LAST_FAILED TRUE: Last check was failed. / FALSE: Last check was normally finished.
- 153 -
22. BRAKE CHECK FUNCTION B-83284EN-2/05
In this case, the results of brake check will not be generated, so please execute brake check again at next
power ON. If next brake check would be normally finished, this variable will return to FALSE
automatically.
By contrast, if brake failure is detected as “Bad” brake, the following message will be posted.
The results are also recorded on the following system variable at the same time. The value of this variable is
kept till next brake check starts.
22.4 LIMITATIONS
Brake check function cannot be executed under the following conditions, or alarm will be posted.
• Calibration has not been done.
• Robot is moving.
• Servo is OFF.
• Servo parameter is under updating.
• Dual motor is under the adjusting mode.
• Even though the axis has brake and $BCK_GRP[group].$CHK_AXIS[axis] is TRUE, brake
torque ($BCK_GRP[group].$BRK_TORQUE[axis]) is not set.
• Teach Pendant is enabled.
• Any axis is near by stroke limit when brake check starts.
22.5 CAUTION
• It takes about 10[sec] for single brake check execution.
• When the motor is heating up, the motor torque can decrease, so it may not be able to detect brake
failure. To detect it with high accuracy, please execute brake check preferably when the motor is in
low-temperature, e.g. first thing in the morning.
- 154 -
B-83284EN-2/05 23. PANEL WIZARD
23 PANEL WIZARD
The Panel Wizard option allows you to use the controller to create up to four operation panels to be
displayed on the teach pendant. You don’t need PC to create panel.
NOTE
Panel wizard is included in KAREL use support (A05B-2600-J971) in 7DC1 and 7DD0
series. However, KAREL use support is divided to Customize support
(A05B-2600-J742) and Panel wizard from 7DC2 series. If the same function of KAREL
use support is needed, please order both Customize support and Panel wizard.
NOTE
Please use the teach pendant which equips the touch panel for this function.
23.1 SETTING UP
23.1.1 Overview
Use procedure 23-1 to setup the Panel Wizard.
- 155 -
23. PANEL WIZARD B-83284EN-2/05
NOTE
Double Pane mode will be displayed automatically.
NOTE
After you make a selection on any screen, press NEXT. To cancel the Panel
Wizard at any time, press F2, CANCEL. To display the previous screen at any
time, press F3, BACK.
6 Select the panel that you want to create. Refer to Fig. 23.1.1 (c) for a flowchart overview of the steps
required to create an operator panel.
- 156 -
B-83284EN-2/05 23. PANEL WIZARD
Start Wizard.
Yes Modify
Does the panel Modify or New
exist? Panel?
New
No
Overwrite Confirmation.
Enter the number
of rows and
columns for an
invisible table.
Select operation.
Finish Wizard.
Select the control. Select the object and then Change the property
select the operation. of the page.
Add Control
Select the row and column
to insert the control.
Modify Control
NOTE
Control in the chart is iPendant control. It corresponds to parts like buttons
displayed by Panel Wizard.
- 157 -
23. PANEL WIZARD B-83284EN-2/05
Pressing button on the center of the screen displays lists of available iPendant Controls Following table lists
the choices.
NOTE
In setup of Fast Label, data type is default to static. Input string to be displayed to
Caption.
- 159 -
23. PANEL WIZARD B-83284EN-2/05
5 Press F4, NEXT. This is end of addition of Label control by Fast Label.
For System Variables, the type must be Integer, Real, Boolean, Short, Byte, or String.
For example,
$MNUFRAMENUM[1]
KAREL variable The value of KAREL variable specified in Data index is used. For KAREL Variables,
enclose the program name inside […]. The type must be Integer, Real, Boolean, Short,
Byte, or String. Following is example of variable STR_VAR of KAREL program
USEREXT.
[USEREXT]STR_VAR
- 161 -
23. PANEL WIZARD B-83284EN-2/05
- 162 -
B-83284EN-2/05 23. PANEL WIZARD
Table 23.1.5 Items in toggle button image setup screen
Item Description
View type Type of button to display
Panel: specify panel type.
Check box: specify check box type.
Image: specify image type.
F2-F5, F7-F10: specify function key type.
Circle: specify circle. (Size of circle is fixed. This is just like fixed circle.)
Image Source This is same as toggle lamp. Please refer to table 23.1.4 (b).
True Image This specifies the image to be displayed when the button status is ON. This is used only in case that
ViewType is image type. How to setup is just same as toggle lamp. Please refer to table 23.3.4 (b).
False Image This specifies the image to be displayed when the button status is OFF. This is used only in case that
ViewType is image type. How to setup is just same as toggle lamp. Please refer to table 23.3.4 (b).
4 Press of F4, NEXT leads you to control insertion screen. Please refer to Section 23.3.3.
5 Decide position to insert and press F4, NEXT. This is end of addition of Toggle button by FAST
Switch.
- 163 -
23. PANEL WIZARD B-83284EN-2/05
3 Press of F4, NEXT, leads you to Button Change image setup screen. Screen is same as image setup
screen of section 23.2.4. But choices of view type are different.
- 164 -
B-83284EN-2/05 23. PANEL WIZARD
Table 23.1.6 (c) Items in color setup screen
Item Description
BackGround This specifies background color.
Pressing button displays list of standard colors in the menu.
(BackGround) Specify background color by RGB.
Red, Green, Blue This enables more detailed setup than selection from menu of BackGround button.
(BackGround) With check of this item, background color of control becomes background color of web page.
Transparent
ForeGround This specifies color of character. How to setup is same as background color.
(ForeGround) Please refer to the same item for background color.
Red, Green, Blue
(ForeGround) With check of this item, foreground color of the control becomes foreground color of web page.
Transparent
5 Press of F4, NEXT leads you to size setup screen (Fig. 23.2.3 (a)). Please refer to Section 23.3.3.
Caption is used as fixed string. It is not used as format.
6 Press F4, NEXT. The following screen will be displayed.
Following figure shows difference between types of borderline. The right pane shows buttons of each 5
border types. This figure is just a sample that has nothing to do with flow to add button change control.
- 165 -
23. PANEL WIZARD B-83284EN-2/05
7 Press of F4, NEXT leads you to control insertion screen. Please refer to Subsection 23.1.3.
8 Decide position to insert and press F4, NEXT. This is end of addition of Button Change control.
- 166 -
B-83284EN-2/05 23. PANEL WIZARD
Table 23.1.7 Items in command button setup screen
Item Description
Type Logical: Data is transacted as bool type. (SetValue is TRUE/FALSE.)
Numerical: Data is transacted as numerical type. The value of SetValue is applied.
SetValue This specifies the value written when the button is pushed.
Pulse This is active only when data type is DO. If this is checked, signal output becomes pulsed output.
Pulse width This specifies width of pulse in msec.
(right item of pulse
check box)
4 Press of F4, NEXT leads you to image setup screen. This is same as Button change image setup screen
(Fig. 23.3.6 (b)). Please refer to section 23.3.6.
5 Press of F4, NEXT leads you to color setup screen. Please refer to section 23.3.6.
6 Press of F4, NEXT leads you to size setup screen. Please refer to section 23.3.3. Caption is used as fixed
string. It is not used as format.
7 Press of F4, NEXT leads you to style setup screen. Please refer to section 23.3.6.
8 Press of F4, NEXT lead you to control insertion screen. Please refer to section 23.3.3.
9 Decide position to insert and press F4, NEXT. This is end of addition of Command Button Control.
- 167 -
23. PANEL WIZARD B-83284EN-2/05
4 Press of F4, NEXT leads you to color setup screen. Please refer to section 23.2.6.
5 Press of F4, NEXT leads you to size setup screen. Please refer to section 23.2.3.
6 Press of F4, NEXT leads you to style setup screen. Please refer to section 23.2.6.
7 Press of F4, NEXT lead you to control insertion screen. Please refer to section 23.2.3.
8 Decide position to insert and press F4, NEXT. This is end of addition of Edit Box Control.
Setup of Fast Label included step 3 and 6 only. Default value is used for items in the other steps. You can
add Label Control by Fast Label and then modify it.
- 168 -
B-83284EN-2/05 23. PANEL WIZARD
4 Press of F4, NEXT leads you to Toggle Button Image setup screen. Please refer to section 23.3.5.
5 Press F4, NEXT. The following screen will be displayed.
- 169 -
23. PANEL WIZARD B-83284EN-2/05
6 Press of F4, NEXT leads you to color setup screen. Please refer to Section 23.2.6.
7 Press of F4, NEXT leads you to size setup screen. Please refer to Section 23.2.3. Caption is used as
fixed string. It is not used as format.
8 Press of F4, NEXT leads you to style setup screen. Please refer to Section 23.2.6.
9 Press of F4, NEXT lead you to control insertion screen. Please refer to Section 23.2.3.
10 Decide position to insert and press F4, NEXT. This is end of addition of Toggle Button Control.
Setup of Fast Switch includes setup of data type (step2), image (step 4) and control insertion (step 9) only.
Default value is used for items in the other steps. You can add Toggle Button Control by Fast Switch and
then modify it.
- 170 -
B-83284EN-2/05 23. PANEL WIZARD
Table 23.1.11 (a) Items in toggle lamp setup screen
Item Description
Type This specifies data type to process.
Logical: Data is transacted as bool type.
Numerical: Data is transacted as numerical type. The setting of CmpOperator and the value
of CmpValue is applied.
CmpOperator This is active when Type is Numerical. This selects the condition expression evaluated as
TRUE.
EQ: Specify the equal case (=).
NE: Specify the not equal case (<>).
LT: Specify the less than case (<).
LE: Specify the less than or equal case (<=).
GT: Specify the greater than case (>).
GT: Specify the greater than or equal case (>=).
CmpValue This specifies the standard value for comparison. Result of comparison between read value
and this value decides status of lamp, TRUE or FALSE. It is reflected to display of lamp.
4 Press of F4, NEXT leads you to image setup screen. Please refer to Section 23.1.4.
5 Press of F4, NEXT leads you to Fig. 23.2.10 (b): True/False color setup screen (Fig. 23.1.10 (b)). Please
refer to Section 23.1.10.
6 Press of F4, NEXT leads you to color setup screen. Please refer to Section 23.1.6.
7 Press of F4, NEXT leads you to size setup screen. Please refer to Section 23.1.3. Caption is used as
fixed string. It is not used as format.
8 Press of F4, NEXT leads you to style setup screen. Please refer to Section 23.1.6.
9 Press of F4, NEXT lead you to control insertion screen. Please refer to Section 23.1.3.
10 Decide position to insert and press F4, NEXT. This is end of addition of Toggle Lamp Control.
Setup of Fast Lamp includes setup of data type (step2), image (step4) and control insertion (step9) only.
Default value is used for items in the other steps. You can add Toggle Lamp Control by Fast Lamp and then
modify it.
- 171 -
23. PANEL WIZARD B-83284EN-2/05
3 Select modify and press F4, NEXT. You will see a screen similar to the following.
For detail of each operation, please refer to section written in table above.
- 172 -
B-83284EN-2/05 23. PANEL WIZARD
- 173 -
23. PANEL WIZARD B-83284EN-2/05
NOTE
F2 CANCEL cancels panel wizard. Press of F2 in this screen causes delete of
control.
- 174 -
B-83284EN-2/05 23. PANEL WIZARD
4-2 If selected control is assigned to function key, the following screen will be displayed. This screen
is to select function key to paste control.
- 175 -
23. PANEL WIZARD B-83284EN-2/05
4 Setup as required and Press F4, NEXT. This is the end of modification of page.
- 176 -
B-83284EN-2/05 23. PANEL WIZARD
6 Press of F4 delete existing panel. Re-creation starts from setup of the number of rows and columns.
NOTE
You cannot run arbitrary KAREL program. There is caution of creation of KAREL
program for the program to be run by button change control.
- 177 -
23. PANEL WIZARD B-83284EN-2/05
2 Press lower side button and input URL in format of “/KAREL/program name”.
For example, /KAREL/TESTPROG to run KAREL program TESTPROG.
23.3 USAGE
NOTE
Created panels are used in all languages. If you display the panel in more than
one language, create the panel in English. Japanese panel is not displayed
correctly in English.
If there are too many entries in [ TYPE ] menu of BROWSER to add panel to the menu, you will see a
screen similar to following at finishing addition of panel.
- 178 -
B-83284EN-2/05 23. PANEL WIZARD
In this case, panel is added to link in FAVORITE. Display panel by selecting link.
- 179 -
23. PANEL WIZARD B-83284EN-2/05
23.3.2 Backup/Restore
Created panels can be saved and restored in file screen. It is categorized as “Application”.
Panel1…Panel 4 corresponds to PW_OP1.STM…PW_OP4.STM, respectively.
NOTE
PANEL1.STM,PANEL1.DT,……,PANEL4.STM, PANEL4.DT have nothing to do
with this function.
- If you use image file you prepared, use it in GIF or JPG format. Copy them to FR: and refer to it. FR:
*.GIF and FR: *.JPG are saved and restored in file screen. They are also in category of “Application”.
- If you do not want to restore SYSVARS.SV, you have to register panel to [ TYPE ] menu manually.
Use procedure below.
- Restore backup of panel. (PW_*.STM and required image files)
- Display Selection of operation screen (Fig. 23.1.12 (b)) by procedure 23-11.
- Press F5, FINISH. This means there is actually no change.
- These steps add panel to [ TYPE ] menu of BROWSER.
- 180 -
B-83284EN-2/05 24. ENHANCED MIRROR IMAGE
NOTE
For Paint Tool and paint robots, this is almost always accomplished using left-hand and
right-hand robots. Use of this option is not recommended.
Refer to Table 24 for descriptions of the Mirror Image Shift screen items.
- 181 -
24. ENHANCED MIRROR IMAGE B-83284EN-2/05
ITEM DESCRIPTION
Mirror Plane The XY, YZ, or XZ plane of the selected mirror frame can be used as mirror
(used only for “FRAME” method) plane.
Rotation This item, if set to ON, indicates that you want to rotate three position about an
(used only for “TEACH” method) axis. If set to OFF, you can shift a single source position to a single destination
position.
Source position This item is the original position that you will be shifting using mirror image. If
(used only for “TEACH” method) Rotation is set to ON, there will be three source positions.
Destination position This item is the destination position to which you will be shifting using mirror
(used only for “TEACH” method) image. If Rotation is set to ON, there will be three destination positions.
Mirror plane
D-Equal Distance
Fig. 24.1 (a) Parallel mirror image with mirror plane in center of robot
- 182 -
B-83284EN-2/05 24. ENHANCED MIRROR IMAGE
Mirror plane
D-Equal Distance
Fig. 24.1 (b) Parallel mirror image with mirror plane offset from center of robot
CAUTION
To be sure the parallel mirror image works correctly, you must have an exact
TCP. If you do not, the resulting mirror image program will contain an offset
value. See Fig. 24.1 (c).
Mirror plane
D-Equal Distance
- 183 -
24. ENHANCED MIRROR IMAGE B-83284EN-2/05
Mirror Image
Without Offset
Offset
Mirror Image
With Offset
Source Destination
position Mirror position
Plane
In Fig. 24.2 (b) the positions, P1, P2 and P3 are mirrored about the mirror plane as Q1, Q2 and Q3. These
positions are then rotated 45° about Q1 and stored as Q1’, Q2’ and Q3’.
- 184 -
B-83284EN-2/05 24. ENHANCED MIRROR IMAGE
Robot
Mirror plane(X-Z)
Fig. 24.3 (a) Mirror image shift with orientation mirrored (mirror method)
The enhanced mirror image option also provides a simple way to use existing frames, such as World, User,
or Jog Frame, with defined mirror planes, such as X-Y, Y-Z, or X-Z. Also, to control the orientation as well
as the positions in the mirrored program, the Orientation Mirror method can be selected as "Mirror" as
shown in Fig. 24.3 (a), or "Fixture", as shown in Fig. 24.3 (b).
- 185 -
24. ENHANCED MIRROR IMAGE B-83284EN-2/05
Mirror plane(X-Z)
Fig. 24.3 (b) Enhanced mirror image with orientation controlled (fixture method)
T.C.P
• Robot axes only - allows you to mirror the axes of the robot without mirroring any non-integrated
extended axes such as a positioning table. The shift is calculated using the change in the robot tool
center point (TCP). See Fig. 24.4 (b).
T.C.P
Original
T.C.P
Destination
• Ext integrated - allows you to mirror the axes of the robot and any integrated axes. The amount of
mirror image for the robot and the extended axes is calculated using the change in the TCP. See Fig.
24.4 (c).
- 186 -
B-83284EN-2/05 24. ENHANCED MIRROR IMAGE
Original
New T.C.P
T.C.P
T.C.P
Destination
Robot Base
• With ext axes - allows you to mirror positions for robot axes and any extended axes in your system.
The amount of mirror image for the robot is calculated by using the change in the TCP. The amount of
shift for the extended axes is calculated using the center of the difference between an original position
(P1) and a new position (Q1) as the point where the mirror image occurs. See Fig. 24.4 (d).
T.C.P
E1 of P1 E1 of Q1
Original
T.C.P
Destination
Steps
1. Press [MENU] key.
2. Select UTILITIES.
3. Press F1, [TYPE].
4. Select Mirror Image Shift. You will see the MIRROR IMAGE SHIFT screen.
- 187 -
24. ENHANCED MIRROR IMAGE B-83284EN-2/05
5. Move the cursor to 1 under Original Program. If the program you want to mirror is not selected, press
F4, [CHOICE]. Select the program from the list and press ENTER.
NOTE
The last program selected using the SELECT menu will automatically be named as the
original program.
6. Move the cursor to Range. Use the function keys to select whether you want to mirror all or part of the
original program.
• To mirror the whole program, press F5, WHOLE. You will see a screen similar to the following.
MIRROR IMAGE SHIFT
Program 1/9
Original Program :
1
2 Range: WHOLE
3 Start line: (not used) *****
4 End line: (not used) *****
5 New Program : [ ]
6 Insert line: *****
7 Image Shift Method: TEACH
8 Orientation Shift: MIRROR
9 EXT axes: Robot axes only
NOTE
EXT axes will be displayed only if you are using mirror image for extended axes.
• To shift part of the program, press F4, PART. You will see a screen similar to the following.
- 189 -
24. ENHANCED MIRROR IMAGE B-83284EN-2/05
NOTE
The New Program can be the same as the original program, an already existing program,
or a program that does not exist.
• If you are inserting lines into the original program, type in the name of the program and the
corresponding line numbers.
• If you are inserting lines into an existing program, move the cursor to Insert line and type the line
number at which you want to insert the shifted information.
1 Rotation: OFF
• If you selected FRAME for the Image Shift Method, you will see a Shift Frame Settings screen
similar to the following:
1 Rotation: OFF
P[ ] PR[ ]
• To clear a position setting, press [NEXT] key, >, and then press F1, CLEAR. At the prompt
"Clear all data," press F4, YES, to confirm.
d. Move the cursor to Destination position. The following screen will be displayed.
1 Rotation: OFF
• To record a position, jog the robot to the destination position (Q1). Press and hold in [SHIFT]
key and press F5, RECORD.
• To specify a previously recorded position register, press F4, REFER. Type the number of the
position register and press [ENTER] key.
- 191 -
24. ENHANCED MIRROR IMAGE B-83284EN-2/05
• To clear a position setting, press NEXT, >, and then press F1, CLEAR. At the prompt "Clear all
data," press F4, YES, to confirm.
1 Rotation: ON
2 Source position P1:
3 P2:
4 P3:
5 Destination position Q1:
6 Q2:
7 Q3:
b. Move the cursor to source position (see Fig. 24.1 (a)). The following screen will be displayed.
MIRROR IMAGE SHIFT
Shift amount/Teach 1/7
Position data
X :******** Y :******** Z :********
1 Rotation: ON
2 Source position P1:
3 P2:
4 P3:
5 Destination position Q1:
6 Q2:
7 Q3:
c. Move the robot to the first source position (P1) and either record or specify the position:
• To record a position, jog the robot to the position you want, press and hold in [SHIFT] key and
press F5, RECORD.
• To specify a previously recorded position or position register, press F4, REFER. Select the
position or position register.
P[ ] PR[ ]
• To clear a position setting, press NEXT, >, and then press F1, CLEAR. At the prompt "Clear all
data," press F4, YES, to confirm.
- 192 -
B-83284EN-2/05 24. ENHANCED MIRROR IMAGE
MIRROR IMAGE SHIFT
Shift amount/Teach 1/7
Position data
X :******** Y :******** Z :********
1 Rotation: ON
2 Source position P1: P[1]
3 P2: P[2]
4 P3: P[3]
5 Destination position Q1:
6 Q2:
7 Q3:
• To record a position, jog the robot to the destination position (Q1). Press and hold in the SHIFT
key and press F5, RECORD.
• To specify a previously recorded position register, press F4, REFER. Type the number of the
position register and press ENTER.
• To clear a position setting, press NEXT, >, and then press F1, CLEAR. At the prompt "Clear all
data," press F4, YES, to confirm.
NOTE
Pressing F2, EXECUTE, will cause the positions you have selected to be mirrored and
will not cause robot motion.
14. If you selected FRAME as the Image Shift Method, the following screen will be displayed.
Move the cursor to Mirror Frame and press F4, [CHOICE]. Select the frame you want to use as the
mirror frame and press ENTER.
15. If you selected USER or JOG, move the cursor to Frame No. and type the number of the existing frame
you want to use.
16. Move the cursor to Mirror Plane and press F4, [CHOICE]. Select the plane you want to use and press
ENTER.
17. To mirror image the program, press F2, EXECUTE.
- 193 -
24. ENHANCED MIRROR IMAGE B-83284EN-2/05
Execute transform?
YES NO
18. Wait until software has finished processing the mirror image.
-PROCESSING-
If the turn number will be changed, you will see a message similar to the following.
The above example will be displayed when J6 turn number will be changed.
• If you do not want to change the turn number, press F1, deg –234.
• If you want to change the turn number, press F2, deg 486.
• If you want to make the position as un-initialized, press F3, *uninit*.
• If you want to interrupt mirror image, press F4, QUIT.
CAUTION
Do not attempt to move the robot to a position that was not mirrored correctly;
otherwise, you could injure personnel or damage equipment.
When the mirror image is complete, you must reteach each position that did not mirror correctly.
- 194 -
B-83284EN-2/05 25. CUSTOMIZE SUPPORT FUNCTION
This function supplies the necessary function for the one who develops the system specific function.
It supports following.
z Executing or aborting KAREL programs
z Auto running the KAREL programs at the time of power on
z Periodically monitor and ouput the specified KAREL program status
z Set the configuration of custom menu setting (cf. Section 25.3)
KAREL Config
No. Program MODE Status Comm 1/30
1 MANU ******** ********
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
KAREL Config
No. Program MODE Status Comm 1/30
AA
1 MANU ******** ********
ADVCSMPL
2 MANU ******** ********
PLCCHK
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
KAREL >
- 195 -
25. CUSTOMIZE SUPPORT FUNCTION B-83284EN-2/05
In this documentation, PLCCHK is used as the sample to explain. Set the cursor onto the PLCCHK, and
press [ENTER] key.
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU ******** PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
There are four status, running, paused, aborted and ********. ******** means that status is not other 3
ones.
Comm is the comment that is described in the KAREL source file as %COMMENT.
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU ******** PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 OPRT MANU
1 ******** ********
11 1 RUN MANU ******** ********
2 ABORT
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU ******** PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
Run PLCCHK, OK?
YES NO
- 196 -
B-83284EN-2/05 25. CUSTOMIZE SUPPORT FUNCTION
Program is run after selecting F4, YES.
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU RUNNING PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
PLCCHK was run
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU RUNNING PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 OPRT MANU
1 ******** ********
11 1 RUN MANU ******** ********
2 ABORT
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU RUNNING PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
Abort PLCCHK, OK?
YES NO
- 197 -
25. CUSTOMIZE SUPPORT FUNCTION B-83284EN-2/05
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU ABORTED PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
PLCCHK was aborted
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU ABORTED PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
Default is MANUAL. If you select AUTO, KAREL program is run after cycling power of the controller.
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK AUTO ABORTED PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
PLCCHK is run after cycle power
There is a limit that the number of running the KAREL simultaneously. It depends on the configuration of
the robot system. “PROG-014 Max task number exceed” will be posted when the number of running
KAREL is going to be over max number.
- 198 -
B-83284EN-2/05 25. CUSTOMIZE SUPPORT FUNCTION
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK MANU ABORTED PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
KAREL Config
1/6
Program:[ PLCCHK]
1 No. 1
2 Paused alarm DISABLE
3 Start Config Restart
4 Start DI DISAB DI[ 0] +
5 Abort DI DISAB DI[ 0] +
6 Status DISAB DO[ 0] DO[ 0]
Running ON ON
Paused ON OFF
Aborted OFF ON
Item Comment
Paused alarm If ENABLE, warning is posted when specified program, ex PLCCHK, is paused or aborted.
Paused “SYST 294 Paused (program name)”
“SYST 296 Specified KAREL was paused”
Aborted “SYST 295 Aborted (program name)”
“SYST 297 Specified KAREL was aborted”
Start Config Sets the mode of restart.
Restart Once aborting the specified program and start from the top of the program.
Resume Specified program is restarted from the paused point.
Start DI Sets the start operation. Detecting the rising edge (+) or falling edge (-) of specified DI starts the
specified program.
When “Start DI” is set enable, DI port number and Up or Down can not be changed. If you would like
to set them, please set “Start DI” disable once. After setting them, please set it enable. Then this
configuration is enabled after cycle power.
Abort DI Sets the start operation. Detecting the rising edge (+) or falling edge (-) of specified DI starts the
specified program. When “Start DI” is set enable, DI port number and Up or Down can not be
changed. If you would like to set them, please set “Start DI” disable once. After setting them, please
set it enable. Then this configuration is enabled after cycle power.
Status Is to monitor the specified program and output its status with two DOs. As the default, program is
monitored every 100msec. Its config is enabled after cycle power.
- 199 -
25. CUSTOMIZE SUPPORT FUNCTION B-83284EN-2/05
Sample
KAREL Config
6/6
Program:[ PLCCHK]
1 No. 1
2 Paused alarm ENABLE
3 Start Config Restart
4 Start DI ENABL DI[ 1] +
5 Abort DI ENABL DI[ 2] +
6 Status ENABL DO[ 1] DO[ 2]
Running ON ON
Paused ON OFF
Aborted OFF ON
To switch previous screen, press F2, PREV. In this case, screen is switched to No.30.
To switch next detail screen, press F3, NEXT. In this case, screen is switched to No.2.
- 200 -
B-83284EN-2/05 25. CUSTOMIZE SUPPORT FUNCTION
F2, CYC_PWR is displayed when you press [NEXT] key. Set the TP to enable and press F2, CYC_PWR.
KAREL Config
No. Program MODE Status Comm 1/30
1 PLCCHK AUTO ABORTED PLC stat
2 MANU ******** ********
3 MANU ******** ********
4 MANU ******** ********
5 MANU ******** ********
6 MANU ******** ********
7 MANU ******** ********
8 MANU ******** ********
9 MANU ******** ********
10 MANU ******** ********
11 MANU ******** ********
PLCCHK is run after cycle power
25.2.1 Overview
This function allows to set the TP or KAREL program to the menu. It is easy to run the specifed program to
select the menu.
For example, user-created screen by KAREL program is allowed to display quickly by selecting the menu.
- 201 -
25. CUSTOMIZE SUPPORT FUNCTION B-83284EN-2/05
Custom Menu
No. Menu Program Title 1/26
1 ********** ******** ************
2 ********** ******** ************
3 ********** ******** ************
4 ********** ******** ************
5 ********** ******** ************
6 ********** ******** ************
7 ********** ******** ************
8 ********** ******** ************
9 ********** ******** ************
10 ********** ******** ************
11 ********** ******** ************
1 2 3 4
1 EDIT F1-1 1 UTILITIES1 1 I/O-1 1 STATUS-1
2 EDIT F1-2 2 UTILITIES2 2 I/O-2 2 STATUS-2
3 EDIT F2 3 TEST CYCLE 3 SETUP-1 3 STATUS-3
4 EDIT F3 4 MANUAL-1 4 SETUP-2 4 STATUS-4
5 EDIT F4 5 MANUAL-2 5 FILE 5 SYSTEM
6 FCTN-1 6 ALARM-1 6 DATA-1 6
7 FCTN-2 7 ALARM-2 7 DATA-2 7
8 --next page-- 8 --next page-- 8 --next page-- 8 --next page--
Select item that you would like to add. Select FCTN –1 as an example.
Custom Menu
No. Menu Program Title 1/26
1 FCTN-1 ******** ************
2 ********** ******** ************
3 ********** ******** ************
4 ********** ******** ************
5 ********** ******** ************
6 ********** ******** ************
7 ********** ******** ************
8 ********** ******** ************
9 ********** ******** ************
10 ********** ******** ************
11 ********** ******** ************
Set the cursor onto program row and press F4, [CHOICE] key. As an example PLCCHK is selected.
- 202 -
B-83284EN-2/05 25. CUSTOMIZE SUPPORT FUNCTION
Custom Menu
No. Menu Program Title 1/26
AA1 FCTN-1 ******** ************
ADVCSMPL
2 ********** ******** ************
PLCCHK
3 ********** ******** ************
4 ********** ******** ************
5 ********** ******** ************
6 ********** ******** ************
7 ********** ******** ************
8 ********** ******** ************
9 ********** ******** ************
10 ********** ******** ************
11 ********** ******** ************
Next, set the cursor onto title row and press [ENTER] key. PLCCHK is input for instance.
Custom Menu
No. Menu Program Title 1/26
1 FCTN-1 PLCCHK PLC status
2 ********** ******** ************
3 ********** ******** ************
4 ********** ******** ************
5 ********** ******** ************
6 ********** ******** ************
7 ********** ******** ************
8 ********** ******** ************
Alpha input 1
9 ********** ******** ************
Upper Case
10 ********** ******** ************
Lower Case
11 ********** ******** ************
Punctuation
Options
Select FCTN → 0 -- NEXT -- → 0 --NEXT --. Verify PLCCHK is added to FCTN menu.
Custom Menu
No. Menu Program Title 1/26
1 FCTN-1 PLCCHK PLC status
FUNCTION 3
2 ********** ******** ************
1 REFRESH PANE
3 ********** ******** ************
2 PLC status
4 ********** ******** ************
3
5 ********** ******** ************
4
6 ********** ******** ************
5
7 ********** ******** ************
6
8 ********** ******** ************
7 Diagnostic log
9 ********** ******** ************
8 Del Diag Log
10 ********** ******** ************
9
11 ********** ******** ************
0 -- NEXT --
- 203 -
25. CUSTOMIZE SUPPORT FUNCTION B-83284EN-2/05
Custom Menu
No. Menu Program Title 1/26
1 FCTN-1 PLCCHK PLC status
2 ********** ******** ************
3 ********** ******** ************
4 ********** ******** ************
5 ********** ******** ************
6 ********** ******** ************
7 ********** ******** ************
8 ********** ******** ************
9 ********** ******** ************
10 ********** ******** ************
11 ********** ******** ************
Delete program and title. OK?
YES NO
Custom Menu
No. Menu Program Title 1/26
1 FCTN-1
2 ********** ******** ************
3 ********** ******** ************
4 ********** ******** ************
5 ********** ******** ************
6 ********** ******** ************
7 ********** ******** ************
8 ********** ******** ************
9 ********** ******** ************
10 ********** ******** ************
11 ********** ******** ************
Select FCTN → 0 -- NEXT -- → 0 -- NEXT --. Verify PLCCHK will be deleted from FCTN menu.
Custom Menu
No. Menu Program Title 1/26
1 FCTN-1 FUNCTION 3
2 ********** ******** 1 REFRESH PANE
************
3 ********** ******** 2
************
4 ********** ******** 3
************
5 ********** ******** 4
************
6 ********** ******** 5
************
7 ********** ******** 6
************
8 ********** ******** 7 Diagnostic log
************
9 ********** ******** 8 Del Diag Log
************
10 ********** ******** 9
************
11 ********** ******** 0 -- NEXT --
************
- 204 -
B-83284EN-2/05 26. KAREL PROGRAM EXECUTION HISTORY RECORD
This option allows you to log certain events that occur during KAREL and TPP program execution. It also
allows you to generate ASCII files that contain all or part of the logged data. The ASCII files contain
detailed information about each event that is logged.
• For information about related hardware and software, refer to 26.1 HARDWARE AND SOFTWARE.
• For information about installing and setting up the debugging option, refer to 26.2 SETUP AND
OPERATIONS.
• For information about events, refer to Chapter 26.3 LOGGING EVENTS.
• For examples of this option as related to KAREL programming, teach pendant programming, and the
ASCII file format, refer to 26.4 EXAMPLES.
NOTE
The hardware requirements in this section apply to all robot models.
26.1.2 Hardware
The KAREL Program Execution History Record requires the following hardware for all robot models:
• A FANUC Robot Controller
• A teach pendant
• 42000 bytes of Temporary memory
• 18000 bytes of CMOS
• 30000 bytes of FROM file system space
26.1.3 Software
The KAREL Program Execution History Recode function is included in KAREL Use Support function
option (J971).
- 205 -
26. KAREL PROGRAM EXECUTION HISTORY RECORD B-83284EN-2/05
A series of teach pendant is used to control the logging of diagnostic information. The teach pendant screens
allow you to:
26.1.4 Performance
The KAREL Program Execution History Record Option can affect the performance of your system.
• This option reduces execution speed of KAREL and teach pendant program logic by approximately 1
to 2 %.
NOTE
You can select “Disable all logging” on the Diagnostic Logging main menu to
eliminate this reduction.
- 206 -
B-83284EN-2/05 26. KAREL PROGRAM EXECUTION HISTORY RECORD
DIAGNOSTIC LOGGING
Main Menu 1/9
[ TYPE ] HELP
5. Select Dump log data. The number of records in each range is displayed on the screen. See the
following screen for an example.
DIAGNOSTIC LOGGING
Dump Selection 1/7
[ TYPE ] HELP
- 207 -
26. KAREL PROGRAM EXECUTION HISTORY RECORD B-83284EN-2/05
7. To reset the file number in the file naming convention, select Reset file number. The starting point is
MC:PGDBG201.DT.
8. To change the default saving device to RAM disk, select RD: for files. All files will be automatically
saved to RAM disk.
9. To change the default saving device to USB memory, select UD1: for files. All files will automatically
be saved to USB memory.
10. To change the default saving device to memory card, select MC: for files. All files will automatically
be saved to a memory card.
DIAGNOSTIC LOGGING
Main Menu 1/9
[ TYPE ] HELP
DIAGNOSTIC LOGGING
Task selection 1/1
- 208 -
B-83284EN-2/05 26. KAREL PROGRAM EXECUTION HISTORY RECORD
NOTE
Selecting a program means that events will be logged for a task that has the selected
program as its MAIN program.
PRG0001
PRG0002
PRG0003
SUB0011
SUB0012
SUB0013
SUB0021
7 Use the arrow keys to select the task for which you want events logged.
8 Press [ENTER] key when you have chosen a task. The following screen will be displayed.
DIAGNOSTIC LOGGING
Task selection 1/1
PRG0003
CAUTION
Do not exit this screen by pressing PREV, F1, [TYPE], or any other key before you
press F3, OK; otherwise, the selected task will not be logged.
- 209 -
26. KAREL PROGRAM EXECUTION HISTORY RECORD B-83284EN-2/05
DIAGNOSTIC LOGGING
Main Menu 1/9
[ TYPE ] HELP
DIAGNOSTIC LOGGING
Stop Logging 1/1
6 To display a list of tasks, from which you can select, press F4, [CHOICE]. You will see a screen
similar to the following.
NOTE
When you select a program, the events will no longer be logged for any tasks that
have the selected program as their MAIN program.
1
1 PRG0001
2 PRG0002
3 PRG0003
4 SUB0011
5 SUB0012
6 SUB0013
7 SUB0021
8 --next page--
7 Use the arrow keys to select the task for which you want to stop logging events.
8 Press ENTER when you have chosen a task. The following screen will be displayed.
- 210 -
B-83284EN-2/05 26. KAREL PROGRAM EXECUTION HISTORY RECORD
DIAGNOSTIC LOGGING
Stop Logging 1/1
PRG0003
9 To stop logging for the task that is current displayed, press F3, OK.
CAUTION
Do not exit this screen by pressing PREV, F1, [TYPE] , or any other key before you
press F3, OK; otherwise, logging for the selected task will not stop.
DIAGNOSTIC LOGGING
Main Menu 1/9
[ TYPE ] HELP
- 211 -
26. KAREL PROGRAM EXECUTION HISTORY RECORD B-83284EN-2/05
DIAGNOSTIC LOGGING
Currently Selected Tasks 1/1
PRG0003
PRG0001
[ TYPE ] HELP
This screen displays the tasks that are currently selected and being logged.
6 Press [PREV] key on the teach pendant to return to the main menu.
NOTE
An asterisk ( * ) indicates logging is for internal use only.
- 212 -
B-83284EN-2/05 26. KAREL PROGRAM EXECUTION HISTORY RECORD
• Normal AMR recvd by AMGR *
• Start AMR recvd by AMGR *
• Stop AMR recvd by AMGR *
• AMR sent to AX *
• AMR rcvd from AX *
Use Procedure 26-5 to enable or disable event classes for logging.
DIAGNOSTIC LOGGING
Main Menu 1/9
[ TYPE ] HELP
DIAGNOSTIC LOGGING
Event Class Selections 1/10
[ TYPE ] YES NO
NOTE
If you specify an entire class of events, you will enable or disable logging for all event
types in that class.
- 213 -
26. KAREL PROGRAM EXECUTION HISTORY RECORD B-83284EN-2/05
DIAGNOSTIC LOGGING
Main Menu 1/9
[ TYPE ] HELP
DIAGNOSTIC LOGGING
Event Detail Selections 1/30
[ TYPE ] YES NO
NOTE
Event and task selections are not changed by Disable all logging or Enable all
logging.
DIAGNOSTIC LOGGING
Main Menu 1/9
[ TYPE ] HELP
CAUTION
If you Enable or Disable all logging, you must perform a Cold Start for the change to
take effect.
• If you select Enable all logging, selected events in selected tasks will automatically start being
logged after you perform a Cold Start.
• If you select Disable all logging, selected events in selected tasks will automatically stop being
logged after you perform a Cold Start.
6 Perform a Cold Start.
• Generally, using the Set Classes To Log screen to select a class of events.
KAREL or When a KAREL routine Standard information only NO Routine name is name of
TPP routine or KAREL or TPP called routine; line
called program is called. This number is line number
is either directly or as a from which call was
result of a condition made or interrupt
handler action. occurred.
Motion For TPP motion Group mask NO Intended for system level
planned commands, this occurs analysis.
MMR address, in hexadecimal
typically before the
motion is actually MMR status, in hexadecimal;
started. normally FFFFFFFF
- 217 -
26. KAREL PROGRAM EXECUTION HISTORY RECORD B-83284EN-2/05
Motion stop When a STOP Group mask NO Intended for system level
issued statement or condition analysis.
MMR address, in hexadecimal
handler action is
executed or a STOP MMR status, in hexadecimal;
severity error is posted. normally FFFFFFFF
Resume When a stopped motion Group mask NO Intended for system level
move is resumed; typically analysis.
MMR address, in hexadecimal
when a RESUME
statement or condition MMR status, in hexadecimal;
handler action is normally FFFFFFFF
executed; also when a
program is
CONTINUED following
a STOP error condition.
Motion done When the termination Group mask NO Intended for system level
received type is satisfied for a analysis.
MMR address, in hexadecimal
KAREL or TPP motion
statement is executed. MMR status, in hexadecimal;
For KAREL MOVE ... normally FFFFFFFF
NOWAIT statements,
this event if recorded
when the motion starts.
Condition When a global condition Condition handler number NO Intended for system level
handler handler triggers. analysis.
triggered
Condition When a global condition Condition handler number NO Intended for system level
handler handler is enabled by analysis.
enabled an ENABLE statement
or condition handler
action.
Condition When a global condition Condition handler number NO Intended for system level
handler handler is disabled by a analysis.
disabled DISABLE statement or
condition handler
action. It is not recorded
when a condition
handler triggers.
- 218 -
B-83284EN-2/05 26. KAREL PROGRAM EXECUTION HISTORY RECORD
Before Before calling a KAREL Internal information NO The routine name and
processing PROGRAM from a line number indicate the
Internal information
ISR condition handler. code that was executing
Internal information when the interrupt routine
request was received.
After When the interrupt Standard information only NO Routine name is the
processing routine is ready to run. name of the interrupt
ISR routine. Line number will
always be 1.
Return from When exiting from an Standard information only NO Routine name and line
KAREL ISR interrupt routine. number are the interrupt
routine name and the line
number from which it
returned.
KAREL or When a task selected Standard information only YES Routine name is the main
TPP task for logging starts program name; line
starts executing. number is always 1.
execution
KAREL or When a task ends. Standard information only YES Routine and line number
TPP task indicate the last
aborts statement executed by
the task. This might be
an END statement of a
KAREL program or the
last line of a TPP
program.
Requestor id
ITR-level
Starting At start of execution of Number of words on the routine NO Intended for system level
execution of KAREL p-code stack analysis.
p-code instruction.
Number of words on the data
stack
P-code mnemonic
- 219 -
26. KAREL PROGRAM EXECUTION HISTORY RECORD B-83284EN-2/05
Normal AMR An AMR is received by Address of AMR NO Intended for system level
recvd by AMGR. analysis.
AMR number
AMGR
AMR AMGR_wk
AMR ax_phase
Start AMR A start AMR request is Address of AMR NO Intended for system level
recvd by processed by AMGR. analysis.
AMR number
AMGR
AMR AMGR_wk
AMR ax_phase
Stop AMR A stop AMR request is Address of AMR NO Intended for system level
recvd by processed by AMGR. analysis.
AMR number
AMGR
AMR AMGR_wk
AMR ax_phase
AMR sent to When an AMR is sent Address of AMR NO Intended for system level
AX from AMGR to an AX analysis.
AMR number
task.
AMR AMGR_wk
AMR ax_phase
AMR rcvd When an AMR is Address of AMR NO Intended for system level
from AX receivedack from an AX analysis.
AMR number
task.
AMR AMGR_wk
AMR ax_phase
26.4 EXAMPLES
26.4.1 Overview
This appendix contains example programs and the resulting log data, that show how the KAREL Program
Execution History Record Option operates.
• Subsection 26.4.2 contains a KAREL program (T) which calls a teach pendant program (TPP).
• Subsection 26.4.3 contains the teach pendant program that is called (TTT).
• Subsection 26.4.4 contains the log file that is generated after running the KAREL program (T) with the
following Event class selections:
• YES Execute KAREL line
• YES Execute TPP line
• YES Call/return
• YES Motion
• YES Condition Handler
- 220 -
B-83284EN-2/05 26. KAREL PROGRAM EXECUTION HISTORY RECORD
• YES Interrupt rtn
• YES Task start/end
• NO Packet_rcd
• NO Pcode exec
NOTE
For detailed information about the fields on the ASCII report shown in Example
26.5.4, refer to Subsection 26.4.4.
- 222 -
B-83284EN-2/05 27. TORQUE LIMIT FUNCTION
It is necessary to teach
the gripper positions
according to the size of
work piece.
This function can stop the gripper movement when the external force (load) of the servo motor exceed
the specified motor torque. Therefore if you teach a closed gripper position and use Torque Limit for
this motion instruction, the gripper will stop automatically at the position fit to the work length.
- 223 -
27. TORQUE LIMIT FUNCTION B-83284EN-2/05
In case that the torque limit value which exceeds the limit for motor guard is specified by the torque limit
instruction, the maximum current is limited automatically when executing the torque limit instruction so
that actually the maximum current does not exceed the limit for motor guard. Then "INTP-271 Excessive
torque limit value" warning is also shown. In above example, even if the value greater than 50% is specified
to the torque limit, the maximum current is clamped to 50% which is correspond to 20Ap automatically.
Using following system variables, you can select the axes to be limited the motor torque. (By default, J7
axis in Group 1 is enabled.)
-Group number
$TORQUE_LMT.$GROUP[i] Select the group number including the servo motor using Torque Limit.
i : Group number
-Axis number
$TORQUE_LMT.$GAi[j] Select the group number and axis number of the servo motor using
Torque Limit. i : Group number, j : Axis number
For example, if J1 axis in Group 2 uses Torque Limit, set TRUE to $G2[1], and set others FALSE.
$TORQUE_LMT.$GROUP[2] = TRUE
$TORQUE_LMT.$GA2[1] = TRUE
$TORQUE_LMT.$GA2[2] = FALSE
:
$TORQUE_LMT.$GA2[9] = FALSE
You can set multiple axes to TRUE.
In the case of the dual drive, set TRUE to both the master axis and slave axis.
CAUTION
Usually GA1[1] - [6] are robot axes. So, please do NOT set these variables to
TRUE.
CAUTION
Check the intended axes of Torque Limit function in all axes in all groups that exist
in your robot controller.
- 224 -
B-83284EN-2/05 27. TORQUE LIMIT FUNCTION
After decreasing maximum motor torque by TORQ_LIMIT instruction, the gripper axis may not reach the
destination point.
Fig. 27.2.1 (a) How to call “Torque limit multi-axis setup function”
- group number : Set the group number including the servo motor using Torque Limit.
- axis number : Set the axis number of the servo motor using Torque Limit.
- torque limit value : Set Torque Limit value in % of the maximum motor torque.
(You can set 0.1% to 100.0%. You can also use integer.)
CAUTION
Do not set robot axis to axis number.
Following is an example TP problem.(This example TP program set 70% torque limit to axis 7 of group 1.)
Fig. 27.2.1 (b) Example program of Torque limit multi-axis setup function
In the case of the dual drive, set TRUE to both the master axis and slave axis.
- 225 -
27. TORQUE LIMIT FUNCTION B-83284EN-2/05
27.3 LIMITATIONS
• This function limits the maximum motor torque of the specified servo motor, but this function does
NOT guarantee the motor torque while rotating the servo motor.
• Because this function is designed for FANUC servo motor, if you want to use this function to non
FANUC servo motor, contact your local FANUC representative.
27.4 CAUTION
• It is possible to use Torque Limit for robot axes, but please do NOT enable this function for any robot
axes which may be fallen down by the gravity. (Torque Limit multi-axis setup function is not applied
to the motor of the robot axes.)
• When an axis is stopped by Torque Limit, the external force is equal to the limited motor torque, and
the distance between current position and destination position is considered as position error. (Please
see the highlighted part in the figure below.) If you change Torque Limit to 100%, the axis moves to
the destination with 100% of motor torque, therefore you may break Servo Hand or a work piece. If
you want to change Torque Limit to 100% (or increase motor torque), you have to move the axis where
above problem will not occur before changing Torque Limit.
TORQ_LIMIT = 100%
Destin
P[10] ation
P[11]
TORQ_LIMIT < 100% Position error
- 226 -
B-83284EN-2/05 28. TCP SPEED OUTPUT
The following figure shows the relationship between TCP predicted speed and output.
Output
Max. value
Min. value
The Min value is output when TCP predicted speed is the specified Min speed or below. The Max value is
output when TCP predicted speed is the specified Max speed or above. The following figure shows the
relationship between TCP predicted speed and output when you set the Max value to a value of less than
Min value.
Output
Min. value
Max. value
28.1 LIMITATIONS
There are limitations on use of the TCP speed output function.
• This function is not available on DispenseTool or Dispense-enabled SpotTool+.
• This function is not available with tracking functions e.g. Line Tracking.
• TCP predicted speed is output only while the robot is moving by program execution.
• TCP predicted speed reflects only group 1 motion.
• TCP predicted speed does not reflect the extended axis motion except the integrated axis one.
• Accuracy of TCP predicted speed may lower when the motor speed limit alarms are posted.
• Accuracy of TCP predicted speed may lower while the frame is being switched.
• Accuracy of TCP predicted speed may lower while the motion is being switched between the normal
and the remote TCP motion.
• Accuracy of the TCP predicted speed may lower while one of the following instructions is being
executed:
- 227 -
28. TCP SPEED OUTPUT B-83284EN-2/05
WAIT instruction
Joint motion instruction
Motion instruction with Approach/Retract (Linear Distance) instruction
Motion instruction with Process Speed instruction
Motion instruction with Max Speed instruction
Motion control statement in KAREL program
• Up to 10 output conditions can be defined.
• Only one prediction time can be specified. Different prediction times cannot be specified among output
conditions.
[ TYPE ] LIST
- 228 -
B-83284EN-2/05 28. TCP SPEED OUTPUT
TCP speed output
List 1/10
Enable Target Min (Val/Spd) Max
1 OFF AO [ 0] 0/ 0 0/ 0
2 OFF AO [ 0] 0/ 0 0/ 0
3 OFF AO [ 0] 0/ 0 0/ 0
4 OFF AO [ 0] 0/ 0 0/ 0
5 OFF AO [ 0] 0/ 0 0/ 0
6 OFF AO [ 0] 0/ 0 0/ 0
7 OFF AO [ 0] 0/ 0 0/ 0
8 OFF AO [ 0] 0/ 0 0/ 0
9 OFF AO [ 0] 0/ 0 0/ 0
10 OFF AO [ 0] 0/ 0 0/ 0
NOTE
Each line in this screen indicates the status of one output condition.
8 Move the cursor to an output condition that you want to set up, and press F3, DETAIL. The following
screen will be displayed.
NOTE
You can also set Enable and Target by using an instruction. Refer to Procedure
28-2 for more information.
- 229 -
28. TCP SPEED OUTPUT B-83284EN-2/05
NOTE
You can set Enable for each output condition on this screen.
Procedure 28-2 directs how to insert the TCP speed output instruction for a register type target.
REGISTER statement 1
1 ...=...
2 ...=...+...
3 ...=...-...
4 ...=...*...
5 ...=.../...
6 ...=...DIV...
7 ...=...MOD...
8 ...=(...)
- 230 -
B-83284EN-2/05 28. TCP SPEED OUTPUT
6 Select R[ ].
1/2
1: R[...]=(...)
[End]
7 Set the register number for the output. The following menus are displayed.
8 Select TCP_SPD[…].
1/2
1: R[1]=(TCP_SPD[...])
[End]
1/2
1: R[1]=(TCP_SPD[1])
[End]
<INSERT>
- 231 -
29. TP DRAM/FILE STORAGE FUNCTION B-83284EN-2/05
29.1 STORAGES
There are 4 kinds of storages, SHADOW, SHADOW ONDEMAND, FILE, and the existing storage CMOS.
The “temporary” storage states mean the transition state when a program is moved between memories for
edit or load of a program. The following tables are for the storages and its description.
- 232 -
B-83284EN-2/05 29. TP DRAM/FILE STORAGE FUNCTION
NOTE
Use a dedicated directory in external device for FILE storage path. Do not use
shared directly to save TP program files in other storage and backup files.
2 Press F5, [ATTR], and select “Storage”. The following screen will be displayed.
- 233 -
29. TP DRAM/FILE STORAGE FUNCTION B-83284EN-2/05
Select
700000 bytes free 8/16
No. Program name Storage
7 TEST01 [SHADOW ONDEMAND ]
8 TEST02 [SHADOW(DRAM) ONDE ]
9 TEST03 [SHADOW ]
10 TEST04 [SHADOW(CMOS) ATTR] 1
11 TEST05 [SHADOW 1 Comment ]
12 TEST06 [FILE ]
2 Protection
13 TEST07 [FILE(DRAM) ]
3 Last Modified
14 TEST08 [SHADOW 4 Size ]
15 TEST09 [SHADOW 5 Copy Source
]
16 TEST10 [SHADOW 6 Storage ]
7 Name Only
Program Configuration
1/8
Storage Total Loaded Used Memory
CMOS 8 8 44k 700k
SHADOW 8 8 28k 28k
SHAD ONDE 20 1 12k 240k
FILE 30 1 12k
File Path:
MC:\
2 Move From:[CMOS ] TO:[SHADOW ]
3 Default Storage: [SHADOW ]
4 Force defaults: [OFF ]
5 Backup FILE programs: [OFF ]
6 Remaining memory limit: [ 4096k]
7 Unload SHAD ONDE/FILE: [UNLOQD ]
The table below describes the each item in Program Configuration screen.
- 234 -
B-83284EN-2/05 29. TP DRAM/FILE STORAGE FUNCTION
Item Description
Remaining memory limit If remaining DRAM goes lower than the value set in “Remaining memory limit” in
some operations such as creating a new program, an alarm occurs.
You can set the value from 1024 to 10000.The default value is 4096. Usually,
please do not change this value.
Unload SHAD ONDE/FILE Memory of all SHADOW ONDEMAND and FILE programs that loaded to DRAM is
released. This function is used to load other programs when DRAM memory is low.
Move cursor to this item and push F5 [UNLOAD] to execute this function.
These programs are deleted temporarily and they are loaded to DRAM again when
they are selected.
This function can be used after 7dc2 software.
Memory limit This item decides the total memory size of SHADOW, SHADOW ONDEMAND and
FILE programs that can be loaded into DRAM. If the total memory size goes over
the setting value, an alarm occurs.
You can set the value from –1 to 10000. The default value is –1. So there is no
limitation. Usually, please do not change this value.
END Finish Program Configuration screen and go back to Select screen.
MOVE Move programs at a time according to the storage types set in “Move From To”.
REFRESH Update FILE program list according to TP files in the directory specified in “File
Path”. After this operation, there are updated FILE programs displayed in Select
screen.
NOTE
The usage of TEMP is different from that displayed in Program Configuration
screen. When you load a program into DRAM, it uses three times as much TEMP
as the value of the memory displayed in Program Configuration screen.
NOTE
When Default Storage is SHADOW, storage of new programs is set SHADOW.
But storage of program could be set CMOS automatically because of shortage of
DRAM memory. In this case, please delete unnecessary programs in DRAM. And
please recreate the program or change storage individually.
NOTE
These settings are reflected soon after changed.
- 235 -
29. TP DRAM/FILE STORAGE FUNCTION B-83284EN-2/05
Program Configuration
1/8
Storage Total Loaded Used Memory
CMOS 8 8 44k 700k
SHADOW 8 8 28k 28k
SHAD ONDE 20 1 12k 240k
FILE 30 1 12k
File Path:
MC:\
2 Move From:[CMOS ] TO:[SHADOW ]
3 Default Storage: [SHADOW ]
4 Force defaults: [OFF ]
5 Backup FILE programs: [OFF ]
Move 2 programs
NOTE
Please confirm that there is enough memory space available in the new storage. If
not, an alarm occurs and stops moving. Then, programs that are already moved
do not go back the original storage. When you move large number of programs,
please make backup in advance.
Program name:
1 TEST1
2 Sub Type: [None ]
3 Comment: [ ]
4 Group Mask: [1,*,*,*,*,*,*,* ]
5 Write protect: [OFF ]
6 Storage: [SHADOW ]
7 Ignore pause: [OFF ]
8 Stack size: [ 300 ]
4 When the storage is changed from FILE, “Delete <file name>?” is displayed.
If F4 YES is selected, program file on file path is deleted.
If F5 NO is selected, program file on file path is remained.
6 Storage: [SHADOW ]
7 Ignore pause: [OFF ]
8 Stack size: [ 300 ]
Delete TEST1.TP?
YES NO
NOTE
Sometimes, the storage goes back to original storage soon after you change the
storage. In such case, please confirm if the program is in edit, there is enough
memory space in the new storage, or “File Path” is specified if FILE.
- 236 -
B-83284EN-2/05 29. TP DRAM/FILE STORAGE FUNCTION
Program Configuration
1/8
Storage Total Loaded Used Memory
CMOS 8 8 44k 700k
SHADOW 8 8 28k 28k
SHAD ONDE 20 1 12k 240k
FILE 30 0 0k
File Path:
MC:\
2 Move From:[CMOS ] TO:[SHADOW ]
3 Default Storage: [SHADOW ]
4 Force defaults: [OFF ]
5 Backup FILE programs: [OFF ]
File program list refreshed
Select Select
700000 bytes free 700000 bytes free 8/16
No. Program name REFRESH No. Program name
Storage Storage
7 TEST01 [SHADOW 7 TEST01 [SHADOW ]
8 TEST02 [SHADOW 8 TEST02 [SHADOW ]
9 TEST03 [FILE ]
10 TEST04 [FILE ]
11 TEST05 [FILE ]
12 TEST06 [FILE ]
13 TEST07 [FILE ]
14 TEST08 [FILE ]
15 TEST09 [FILE ]
16 TEST10 [FILE ]
FILE programs are added on the list
[ TYPE ] CREATE DELETE MONITO [ TYPE ] CREATE DELETE MONITOR [ATTR ] >
Please refer to the following process to delete FILE and SHADOW ONDEMAND program.
1 Move cursor to the program and press F3 DELETE.
2 When program is loaded to DRAM, “Delete program from memory?” is displayed.
- 237 -
29. TP DRAM/FILE STORAGE FUNCTION B-83284EN-2/05
Select
700000 bytes free 8/16
No. Program name Storage
7 TEST01 [SHADOW ONDEMAND ]
8 TEST02 [SHADOW(DRAM) ONDE]
9 TEST03 [SHADOW ]
10 TEST04 [SHADOW(CMOS) ]
11 TEST05 [SHADOW ]
12 TEST06 [FILE ]
13 TEST07 [FILE(DRAM) ]
14 TEST08 [SHADOW ]
15 TEST09 [SHADOW ]
16 TEST10 [SHADOW ]
Delete program from memory?
YES NO >
Select
700000 bytes free 8/16
No. Program name Storage
7 TEST01 [SHADOW ONDEMAND ]
8 TEST02 [SHADOW(DRAM) ONDE]
9 TEST03 [SHADOW ]
0 TEST04 [SHADOW(CMOS) ]
11 TEST05 [SHADOW ]
12 TEST06 [FILE ]
13 TEST07 [FILE(DRAM) ]
14 TEST08 [SHADOW ]
15 TEST09 [SHADOW ]
16 TEST10 [SHADOW ]
Delete TEST07.TP?
YES NO >
5 If F4 YES is selected, list of the programs in Select screen are also deleted.
For FILE programs, program files on file path are also deleted.
For SHDOW ONDEMAND programs, programs in DRAM are also deleted.
If F5 NO is selected, list of the programs in Select screen are remained. And program files on file path
or programs in DRAM are not deleted. When the programs are accessed, they can be loaded into
DRAM again because programs on file path or in DRAM are remained.
- 238 -
B-83284EN-2/05 29. TP DRAM/FILE STORAGE FUNCTION
NOTE
”ASCII UPLOAD” option is necessary to load LS files.
NOTE
”R709 TP DRAM/FILE Storage” option is necessary to load LS files that include
“STORAGE” item. To load LS files into the controller without this option, you need
to delete “STORAGE” item in advance.
TEST01
1/5
1: CALL TEST02
2: CALL TEST03
3: CALL TEST04
4: CALL TEST05
[End]
When TEST01 is executed, all the programs (TEST02~TEST05) that are called from TEST001 are loaded
into DRAM.
If the size of a FILE program is large, it takes time to load it. So there is a time lag.
If these FILE programs are loaded in advance, TEST01 will start immediately.
- 239 -
29. TP DRAM/FILE STORAGE FUNCTION B-83284EN-2/05
Select Select
700000 bytes free 700000 bytes free 7/16
No. Program name Execute TEST01No.
Storage Program name Storage
7 TEST01 [SHADOW 7 TEST01 [SHADOW ]
8 TEST02 [FILE 8 TEST02 [FILE(DRAM) ]
9 TEST03 [FILE 9 TEST03 [FILE(DRAM) ]
10 TEST04 [FILE 10 TEST04 [FILE(DRAM) ]
11 TEST05 [FILE 11 TEST05 [FILE(DRAM) ]
12 TEST06 [FILE 12 TEST06 [FILE ]
13 TEST07 [FILE 13 TEST07 [FILE ]
14 TEST08 [FILE 14 TEST08 [FILE
TEST02 ~ TEST05 ]
15 TEST09 [FILE 15 TEST09 [FILE ]
are loaded at a time
16 TEST10 [FILE 16 TEST10 [FILE ]
[ TYPE ] CREATE DELETE MONITO [ TYPE ] CREATE DELETE MONITOR [ATTR ] >
Select Select
700000 bytes free 700000 bytes free 13/16
No. Program
Selectname
TEST07 Storage No. TEST07
Programisname
loaded, Storage
and TEST03
7 TEST01 [SHADOW 7 returns
TEST01to SHADOW[SHADOW
ONDEMAND ]
8 TEST02 [SHADOW 8 TEST02 [SHADOW ]
9 TEST03 [SHAD(DRAM 9 TEST03 [SHADOW ONDEMAND ]
10 TEST04 [SHAD(DRAM 10 TEST04 [SHAD(DRAM) ONDEM ]
11 TEST05 [SHAD(DRAM 11 TEST05 [SHAD(DRAM) ONDEM ]
12 TEST06 [SHAD(DRAM 12 TEST06 [SHAD(DRAM) ONDEM ]
13 TEST07 [SHADOW OND 13 TEST07 [SHAD(DRAM) ONDEM ]
14 TEST08 [FILE 14 TEST08 [SHADOW ]
15 TEST09 [FILE 15 TEST09 [SHADOW ]
16 TEST10 [FILE 16 TEST10 [SHADOW ]
[ TYPE ] CREATE DELETE MONITO [ TYPE ] CREATE DELETE MONITOR [ATTR ] >
29.6 PRECAUTION
- 240 -
B-83284EN-2/05 29. TP DRAM/FILE STORAGE FUNCTION
NOTE
When this alarm occurs, the program is loaded to CMOS.
- 241 -
30. CYCLE TIME LOGGING B-83284EN-2/05
NOTE
The cycle time PROCESS, APPL, HOMIO, and IDLE is recorded only when the
program is run by SOP cycle start, UOP_START, or PROD_START.
- 242 -
B-83284EN-2/05 30. CYCLE TIME LOGGING
Item Description
[CATGRY] This function key allows you to choose which set of cycle time information is displayed. You can
choose Total which displays the total of all of the categories and the cycle time for each individual
category. Or, you can choose an individual category to be displayed. When an individual category
is displayed, depending on the currently selected mode, the category name will be displayed on
the top of right corner, and cycle time information for that category will be only displayed.
You can choose to display the following categories: TOTAL, MOTION, PROCESS, APPL, WAIT,
DELAY, KAREL, LOGIC, HOMIO, IDLE, FAULT.
[PAGE] This function key allows you to display cycle time data in a variety of formats. To display cycle time
data on the teach pendant, Cycle Graphics should be displayed. Other formats include Cycle Text,
and Average Text. Line Text is only available in line-by-line mode. If you select Cycle Text or
Average Text, the .DG files will be displayed. CYCLES.DG displays the cycle data, and
CYCAVE.DG displays the hourly data. These files can be displayed using the Web Server on the
teach pendant.
[UPDATE] This function key is used for the 4 operations in the following. Each detail is described in 30.3.3.
Load Cycle Data: Load the cycle time data.
Clear Cycle Data: Clear the cycle time data.
Clear Line Data: Clear the line data in line-by-line mode.
Collect Line Data: Get the line data in line-by-line mode.
RECORD This function key records the specific cycle time of a program. “RECORD” is displayed only in
cycle mode when an individual category is selected. Detail is described in 30.3.5.
5.40
4.50
3.42
3.60
2.70
1.56
1.80
0.96
0.90
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
- 243 -
30. CYCLE TIME LOGGING B-83284EN-2/05
5.40 categories.
4.50
3.60
2.70
1.80
0.90
0.00
11 12 13 14 15 16 17 18 19 20
- 244 -
B-83284EN-2/05 30. CYCLE TIME LOGGING
After that,
1. In STATUS Cycle Time screen, press NEXT, press F3, [UPDATE] and select Collect Line Data.
2. Execute a program of which you want the cycle time.
3. In STATUS Cycle Time screen, press NEXT, press F2, [PAGE] and select Line Text.
4. The cycle time of each line is displayed in the Web Server as follows.
Step
1. Press [MENU] key.
2. Press STATUS.
3. Press F1, [TYPE].
4. Select Cycle Time.
5. Set the name of the program whose cycle time you want to display. By default, all programs are
selected. To select a single program to display, press F2, [PROG], and select the name of the program.
6. To change the cycle time display between cycles and hours, press F3, [ZOOM] and select the kind of
cycle time you want to display. After you have made a display selection (cycles or hours) you can
quickly change the display by using the arrow keys. The up and down arrow keys move from one cycle
or hour, to ten cycles or hours, then a hundred cycles or hours. The left and right arrow keys can move
forward or backward through the cycles or hours. To move forward and backward quickly, press
SHIFT and the left or right arrow key. If you are in ten cycle mode it will move by 5. If in one hundred
cycle mode, it will move by 30.
7. To display cycle time for a specific program category, press F4, [CATGRY] and select the category
you want to display.
NOTE
Text data is displayed on Web Server screen.
- 245 -
30. CYCLE TIME LOGGING B-83284EN-2/05
- 246 -
B-83284EN-2/05 30. CYCLE TIME LOGGING
4.50
3.42
Gold Target Line
3.60
2.70
1.56
1.80
0.96
0.90
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
1. In STATUS Cycle Time screen, press F2, [PROG] and select the program whose cycle time you want
to record.
2. Press NEXT, and confirm that F4, RECORD is displayed and press it.
3. You will be prompted to answer whether or not you want to overwrite. Select YES and the cycle time
will be recorded.
4. Press F4, [CATGRY] and select a category you want to display. DELAY is selected in the following
example.
5. The recorded cycle time is displayed as a blue line. (not displayed when TOTAL is selected.)
4.40
2.70
1.80
0.90
0.00
11 12 13 14 15 16 17 18 19 20
- 247 -
30. CYCLE TIME LOGGING B-83284EN-2/05
WELDTEST
1/7
1: J P[1] 100% FINE
2: L P[2] 2000mm/sec CNT50
: SPOT[SD=1,P=1,S=1,ED=1]
3: L P[2] 2000mm/sec CNT50
: SPOT[SD=1,P=1,S=1,ED=1]
4: L P[2] 2000mm/sec CNT50
: SPOT[SD=1,P=1,S=1,ED=1]
5: L P[2] 2000mm/sec CNT50
: SPOT[SD=1,P=1,S=1,ED=1]
6: J P[1] 100% FINE
[End]
WELDTEST has 4 Spot instructions. In this example, the setting of welding time is 250 ms per one Spot
instruction. So the total welding time is expected to 1 second and recorded as PROCESS cycle time.
The following HOME_IO program is also used. It has only one instruction of “WAIT 1.00 (sec)” and other
statements are all comment. This is to make HOMIO cycle time easy to estimate. HOME_IO is
automatically executed when the robot reaches the home position set in Reference Position screen and the
program ran by SOP, UOP, or PROD_START ends. The execution time of HOME_IO is recorded as
HOMIO cycle time. So, in this example, HOMIO is expected to be 1 second.
HOME_IO
1/9
1: WAIT 1.00(sec)
2: !*******************************
3: !MACRO SET AT HOME I-O
4: !Example Housekeeping Routine
5: !Insert Appropriate Commands
6: !Where Necessary
7: !*******************************
8:
[End]
REF POSN
Reference Position 1/13
Ref.Position Number: 1
1 Comment: [*****************]
2 Enable/Disable: ENABLE
3 Is a valid HOME: TRUE
4 Signal definition: DO [ 0]
5 Choose
J1: ENABLE
0.000for “Enable/Disable”.
+/- 0.000
6 J2: 0.000
Choose TRUE for “Is a +/- 0.000
valid HOME”.
7 J3: 0.000 +/- 0.000
8 J4: 0.000 +/- 0.000
9 J5: 0.000 +/- 0.000
10 J6: 0.000 +/- 0.000
[ TYPE ] RECORD
- 248 -
B-83284EN-2/05 30. CYCLE TIME LOGGING
The following figure is the cycle time of WELDTEST.
As expected, PROCESS cycle time is 1.03 second and HOMIO cycle time is 1.08 second.
Here, IDLE cycle time is recorded with the value 0.95 second. IDLE cycle time records the time that the
robot stays idle until next program starts after the program ends. In this example, WELDTEST was restarted
soon after it ended. This cycle time data shows that it took 0.95 second to restart WELDTEST after it ended.
The Total cycle time includes MOTION and PROCESS cycle times. HOMIO, IDLE, and FAULT are not
included in TOTAL cycle time.
- 249 -
31. MATH FUNCTION INSTRUCTION B-83284EN-2/05
- 250 -
B-83284EN-2/05 31. MATH FUNCTION INSTRUCTION
(Variable) = (SIN[(Argument)])
DO[i] R[j]
R[i] AR[j]
F[i]
GO[i]
SO[i]
AO[i]
$...
PR[i,j]
UO[i]
RO[i]
Timer[i]
(Variable) = (ATAN2[(Argument1),(Argument2)])
R[j]
AR[j]
• A mixed logic instruction expression can be used in the conditional statement of a conditional branch
command.
• If the result of conditional statement is ON, the executable statement of the conditional branch
command is executed.
• The argument of math functions is “Register “ and “Argument Register”.
• Constant is not used directly.
- 251 -
31. MATH FUNCTION INSTRUCTION B-83284EN-2/05
R[j]
AR[j]
• A mixed logic expression can be specified in the conditional statement of a wait command.
• Wait until the specified condition is satisfied.
• The argument of math functions is “Register “ and “Argument Register”.
• Constant is not used directly.
1 : R[1] = 4
2 : R[2] = 2
3 : R[3] = (SQRT[R[1]])
4 : R[4] = (SQRT[R[2]])
R[3] = 2
R[4] = 1.41421
- 252 -
B-83284EN-2/05 31. MATH FUNCTION INSTRUCTION
R[3] = 1
R[4] = 0.70710
R[3] = 0
R[4] = 0.70710
R[3] = 0
R[4] = 1
If the argument equals to 180*n+90 and execute, then the following Error will be posted.
- 253 -
31. MATH FUNCTION INSTRUCTION B-83284EN-2/05
1 : R[1] = 1
2 : R[2] = 0.5
3 : R[3] = (ASIN[R[1]])
4 : R[4] = (ASIN[R[2]])
R[3] = 90
R[4] = 30
If the argument ranges are x>1 or x<-1 and execute program, then the following Error will be posted.
R[3] = 0
R[4] = 60
If the argument ranges are x>1 or x<-1 and execute program, then the following Error will be posted.
R[3] = 153.4349
R[4] = -63.43
- 254 -
B-83284EN-2/05 31. MATH FUNCTION INSTRUCTION
R[3] = 45
R[4] = 26.56
31.3.9 Exponent
Function name: EXP[x]
Argument: An integer or a real value to calculate EXP.
This function calculates a value equal to e (approximately 2.71828) raised to the power specified by the
argument.
Example:
1 : R[1] = 0
2 : R[2] = 1
3 : R[3] = (EXP[R[1]])
4 : R[4] = (EXP[R[2]])
R[3] = 1
R[4] = 2.71828
R[3] = 0
R[4] = 1
If the argument is x <= 0 and the program execute, then the following Error will be posted.
- 255 -
31. MATH FUNCTION INSTRUCTION B-83284EN-2/05
31.3.11 Absolute(ABS)
Function name: ABS[x]
Argument: An integer or a real value to calculate ABS.
This function calculates the absolute value of the argument.
Example:
1 : R[1] = 5.5
2 : R[2] = -5.2
3 : R[3] = (ABS[R[1]])
4 : R[4] = (ABS[R[2]])
R[3] = 5.5
R[4] = 5.2
31.3.12 Truncate(TRUNC)
Function name: TRUNC[x]
Argument: A real value to calculate TRUNC.
This function converts the real argument to an integer by removing fractional part of the real value.
Example:
1 : R[1] = 5.5
2 : R[2] = -5.2
3 : R[3] = (TRUNC[R[1]])
4 : R[4] = (TRUNC[R[2]])
R[3] = 5
R[4] = -5
- 256 -
B-83284EN-2/05 31. MATH FUNCTION INSTRUCTION
R[3] = 6
R[4] = -5
• The scanning time of Math function is 2 or 3 times of normal items, because Math function instruction
needs more time to calculate.
• The scanning time of ATAN2 instruction is 3 times of normal items.
• The other math function instructions of scanning time are 2 times of normal items.
- 257 -
31. MATH FUNCTION INSTRUCTION B-83284EN-2/05
Register statement 1
1 ...=...
2 ...=...+...
3 ...=...-...
4 ...=...*...
5 ...=.../...
6 ...=...DIV...
7 ...=...MOD...
8 ...=(...)
4 Select register “R[ ]”. Then the cursor moves in the square bracket.
5 Input index 1.
PROGRAM
1/2
1: R[1]=(...)
[End]
8 Then the cursor moves in the square bracket. And the default value R[…] is selected.
Arguments are “Register “ and “Argument Register”. (Not Constant)
The “Register” is default value of argument.
So to use “Argument Register”, press F3, [CHOICE] then select “Argument Register”.
9 For example Register[2] is used here. Input value 2 then the cursor moves to the right parentheses.
PROGRAM
1/2
1: R[1]=(SIN[R[...]])
[End]
Enter value
- 258 -
B-83284EN-2/05 31. MATH FUNCTION INSTRUCTION
10 Move cursor to finish teaching.
11 Teaching of SIN[R[2]] function completed.
PROGRAM
1/2
1: R[1]=(SIN[R[2]])
[End]
1 : R[1] = (SIN[R[2]])
2 : R[2] = (COS[AR[3]])
3 : R[3] = (SIN[R[4]] + COS[R]4)])
R[1] = (SIN[90])
* Input constant directly.
R[3] = (SQRT[SIN[R[4]] * SIN[R[4]] + COS[R[4]]*COS[R[4]]])
* SIN and COS are in SQRT.
• Math function might have a negligible calculation error of 10-7 due to internal calculation error
because math function follows the same specification of KAREL Built-Ins.
• For example the result of COS[R[1]] (when R[1]=90), may be 10-8 that is not exactly zero. This
behavior can be avoided by rounding off the result using ROUND function.
- 259 -
31. MATH FUNCTION INSTRUCTION B-83284EN-2/05
• If the variables are divided by zero then, the following error will be occurred.
Example :R[1] / SIN[R[2]] (R[2] = 0)
:10/COS[R[3]] (R[3] = 90)
INTP-208 Divide by 0
- 260 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
32.1.3 Restrictions
Restrictions matters
• Switching is possible only between servo tools that are set within the same motion group.
• Because servo tools that do not have a battery for tool axis pulse value backup require calibration after
they are attached, these tools require longer processing time for tool change than battery-equipped
tools.
• The motor of the tool change must be controlled by the same amp.
• The tool change instruction can not be used by multi task. (The tool change instruction can not be
executed by plural tasks at the same time.)
• Installing both the servo tool change function and servo gun change function cannot be done.
• On a system with the servo tool change function installed, the dynamic brake release function cannot
be used for servo guns.
• The motion group that the tool change function is enabled must be used a final group in the system.
Prohibition matters
• Do not force to detach the tool while the controller is off.
• The line tracking can not be used with the tool change function.
• When calibration motion type 5 or 6 is selected, a detection switch such as a limit switch must be
installed in the tool.
For details of the calibration motion types, see Section 32.4, "TOOL CHANGE SETUP".
NOTE
When a Pulsecoder αiAR128(A860-2010-T341) shipped until May of 2006 is
used, alarm SRVO-068(DTERR) occurs at turning power on and executing TOOL
ATTACH instruction. Implement either of following countermeasures.
1. Replace Pulsecoder αiAR128 with one shipped after June of 2006.
2. Change system valuables as follows.
• $SHC_ITF[#].$WAITTM_PCHK = 270
• $SHC_ITF[#].$WAITTM_PWUP = 550
• $SHC_ITF[#].$SVON_DELAY = 230
• $SHC_ITF[#].$WAITTM_STRT = 650
# is group number of servo tool group using Servo Tool Change Function.
When you implement 2nd countermeasure, tool attach process is extended by
about 2 seconds.
- 262 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
Detach/Attach Tool
J1 J2 J3 J4
(Max4)
Motion group 2
Robot
Controller
You can replace the servo tool with the air tool by switching on the controller.
- 263 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
[TYPE] LIST
SYSTEM Master/Cal
TORQUE = [ON ]
1 FIXTURE POSITION MASTER
Refpos setup Perform reference position setup. 2 ZERO POSITION MASTER
3 QUICK MASTER
4 SINGLE AXIS MASTER
5 SET QUICK MASTER REF
6 CALIBRATE
1.
2. TOOL_ATTACH[ 1 ]
Check whether tool number is :
Teaching
correct or not. 10. TOOL_DETACH[ 1 ]
:
NOTE
These setup must be done at the beginning of system installation. These setup
must be done only one time.
These setup is done at the controlled start. See Subsections 32.11.1, 32.11.2 and 32.11.3 for detailed
information.
NOTE
Only when the tool change software is installed in a system in which servo tools
have already been operated and a tool used previously is left attached, the tool is
attached. In this case, preliminary tool attach steps 1 to 9 explained below are
unnecessary.
When using a tool for the first time, be sure to follow the steps below to perform the preliminary attach
operation, then proceed to Section 32.4, "TOOL CHANGE SETUP".
6 On the tool change setup detail screen, temporarily set the battery to ON. (Even when the actual tool
has no battery, select ON in this step. This item is to be set again after the preliminary attach operation
is completed.)
SETUP TOOL CAHNGE
Tool Change / Group:2 Tool:1 4/4
1 Comment: [Part A ]
2 Attach signal: DI [ 1]
3 Identify signal: DI [ 2]
4 Battery: ON
- 265 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
1/2
1: TOOL_ATTACH[1]
[End]
Enter value
10 After the TOOL ATTACH instruction is executed, the following are issued:
SRVO-075 Pulse not established
SRVO-062 BZAL alarm
11 On the calibration screen, press F3, RES_PCA, and select YES.
SYSTEM Master/Cal
TORQUE = [ON ]
1 FIXTURE POSITION MASTER
2 ZERO POSITION MASTER
3 QUICK MASTER
4 SINGLE AXIS MASTER
5 SET QUICK MASTER REF
6 CALIBRATE
SYSTEM Master/Cal
TORQUE = [ON ]
1 FIXTURE POSITION MASTER
2 ZERO POSITION MASTER
3 QUICK MASTER
4 SINGLE AXIS MASTER
5 SET QUICK MASTER REF
6 CALIBRATE
15 After completing tool change setup and reference position setting for the first tool, detach the first tool
by using the TOOL DETACH instruction, then perform the preliminary attach operation for the
second and subsequent tools.
- 266 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
[ TYPE ] LIST
Common setup
Comment Comment for each tool.
Attach signal This signal used for tool set verification.
Available I/O type = DI / RI
• This signal is check before tool attach/detach instruction. If this signal is OFF, the error occurs.
• If the index is zero, the above checking is canceled.
Identify signal This signal used for tool identification.
Available I/O type = DI / RI / GI
• This signal is check before tool attach/detach instruction. If this signal is OFF, the error occurs.
• If the index is zero, the above checking is canceled.
Battery Select battery type.
ON = Battery backup type
OFF = Batteryless type
NOTE
To change multi-axis servo tool, Battery must be set to ON.
- 267 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
(Select the following when Battery is set to OFF in the common settings.)
Calibration Motion Type On battery-less tools, the position (pulse value) is lost when the tool is detached. So,
calibration must be carried out when tool is attached. Calibration involves the following two
operations:
• Turning the motor two turns for positioning the Pulsecoder
(This operation is simply referred to as "positioning" from here on.)
• Calibrating at a preset reference position
The user selects from the following types, 1 to 6, to suit the user's particular system
requirements.
(See Table 32.4 and Fig. 32.4.)
NOTE
With type 1 and 2, if calibration is interrupted by a hold or emergency stop,
reference position data is lost. In such a case, see Subsection 32.13.2, "The
Robot Stopped during Calibration".
When these types are set, the position where the tool is detached is automatically memorized as the
reference position, and calibration is carried out at that position after the tool is attached. For this reason, the
position when the tool is attached must be the same as position when it is detached.
The allowable errors of the detach and attach positions must fall within the respective following ranges for
the direct-acting axis and rotary axis:
Direct-acting axis:
±(gear ratio/2) mm or less around the detach position
Rotary axis:
±((360/gear ratio)/2) deg or less around the detach position
Note that positional misalignment occurs during tool attachment if the above ranges are exceeded.
The difference between types 1 and 2 is in the operating direction during calibration. (See Table 32.4 and
Fig. 32.4.)
Type 1:
Specify this type when the tool is detached at a position where it is impossible to move the tool in the
positive direction of manual feed by two or more turns of the motor.
Type 2:
Specify this type when the tool is detached at a position where it is impossible to move the tool in the
negative direction of manual feed by two or more turns of the motor.
- Types 3, 4
Select these types on systems not capable of holding the tool detachment position as a result of the
servo tool axis motor not having a brake up to the next servo tool attachment. On such a system, the
reference position must be set to another position as the tool detachment position cannot be used as the
reference position.
With these types, contact of the tool axis with the open limit is detected by using the motor torque, and
the contact position is set as the reference position. (This is because, in the standard setting, the
calibration motion causes the tool axis to move in the negative direction of manual feed.) For details on
how to set the reference position, see Section 32.5, "SETTING THE REFERENCE POSITION".
- 268 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
The difference between types 3 and 4 is in the operating direction during calibration. (See Table 32.4
and Fig. 32.4.)
Type 3:
Specify this type when the tool is detached at a position where the distance to the open limit is two or
more turns of the motor.
Type 4:
Specify this type when the tool is detached at a position where the distance to the open limit is two or
less turns of the motor.
NOTE
1 In the calibration, to move the tool axis in the positive direction of manual feed (to
use the limit on the positive side of manual feed), change the following system
variable to 0:
$SVTCTOOLxx.$CLOSDIR = 1 → 0 (xx: Tool number)
2 With types 3 and 4, it is necessary to expand the stroke limit so that the tool axis
touches the open limit.
- Types 5, 6
Like types 3 and 4, specify these types on systems not capable of holding the tool detachment position
as a result of the servo tool axis motor not having a brake up to the next servo tool attachment. With
types 5 and 6, however, a detection signal must be provided on the tool by means of a limit switch, and
the contact position must be set as the reference position. Install the detection switch in such a place
that the detection switch is turned on when the tool axis is moved in the negative direction of manual
feed (this is because, in the standard setting, the calibration motion causes the tool axis to move in the
negative direction of manual feed). For details on how to set the reference position, see Section 32.5,
"SETTING THE REFERENCE POSITION".
The difference between types 5 and 6 is in the operating direction during calibration. (See Table 32.4
and Fig. 32.4.)
Type 5:
Specify this type when the tool is detached at a position where the distance to the position where the
detect signal turns ON is two or more turns of the motor.
Type 6: Specify this type when the tool is detached at a position where the distance to the position where
the detect signal turns ON is two or less turns of the motor.
NOTE
1 In the calibration, to move the tool axis in the positive direction of manual feed,
change the following system variable to 0:
$SVTCTOOLxx.$CLOSDIR = 1 → 0 (xx: Tool number)
2 With types 5 and 6, a switch such as a limit switch must be installed in the tool.
- 269 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
NOTE
1 Tool master data is lost if the operation is canceled due to a hold or an emergency
stop during calibration that is carried out during the tool change sequence when
types 1 or 2 are selected. If this happens, manually carry out zero position
mastering.
2 With types 1 and 2, the system automatically memorizes the position where the
servo tool is detached as the reference position. This memorized reference
position is used in calibration when the same tool is next attached. For this reason,
when types 1 or 2 are selected, the detachment position and the attachment
position must be the same. Do not select types 1 or 2 when a motor without a
brake is used for the servo tool axis.
Type 1 Type 2
When the tool is moved in the negative direction first When the tool is moved in the positive direction first
Position
Position when tool is
when tool is detached
detached
2 turns of motor 2 turns of motor 2 turns of motor 2 turns of motor
(negative ) (positive direction) (positive direction) (negative )
Type 3 Type 4
When the tool is moved in the negative direction only When the tool is moved in the positive direction then moved
Torque in the negative direction
Torque
Detection
Detection
Reference
2 turns of motor position Reference
2 turns of motor 2 turns of motor position
(negative ) setting (positive direction) (negative ) setting
position position
during quick during
mastering quick
mastering
- 270 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
Type 5 Type 6
When the tool is moved in the negative direction only When the tool is moved in the positive direction then moved
in the negative direction
Input signal
Input
ON
ON
OFF OFF
Detection Detection
The positive and negative directions in the above figure are determined on the assumption that
$SVTCTOOLxx.$CLOSDIR = 1 is set. If this system variable is set to 0, the directions are reversed.
- 271 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
(4) Detection signal setting (Set as follows when types 5 or 6 are set in the Calibration Setup.)
Detection signal Type and No. of input signal for detecting arrival at the reference position
• DI
• RI
Specify a No. available for each of the signals as the signal No.
Types 1, 2
The system automatically sets the reference position when the servo tool is detached.
Types 3, 4
Create a program for detecting the reference position using the touch torque, and execute
this program to calculate the reference position. For details, refer to Subsection 32.12.1.
Types 5, 6
Create a program for detecting the reference position using the detection signal, and execute
this program to calculate the reference position. For details, refer to Subsection 32.12.2.
- 272 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
Line marking or
alignment mark
Format
TOOL DETACH[i]
i : Tool number (1 to 4)
Specify the tool number which you want to detach.
R[ ] and AR[ ] can be used.
Ex) TOOL DETACH[1]
TOOL DETACH[R[2]]
TOOL DETACH[AR[1]]
Format
TOOL ATTACH[i]
i : Tool number (1 to 4)
Specify the tool number which you want to detach.
R[ ] and AR[ ] can be used.
Ex) TOOL ATTACH[4]
TOOL ATTACH[R[3]]
TOOL ATTACH[AR[1]]
NOTE
The above is merely a sample program. Create programs to suit the requirements
of your system.
3. Calibration motion
(Tool axis only)
NOTE
In the case of calibration motion type is Type 1 or Type 2, if the motion is stopped
by e-stop or HOLD during the calibration motion, the mastering data is lost. If the
mastering data is lost, please do the zero mastering and calibration by manual
again.
Otherwise,
1) The current position on TP is not matched to the actual position.
2) If the motion instruction is executed, the following alarm is occurred.
“MOTN-049 Attempt to move w/o calibrated”
3) The TOOL DETACH instruction does not work until manual mastering and
calibration are finished.
In the case of TOOL DETACH instruction, both robot and servo tool do not move at all.
- 274 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
ON
Robot lock of servo tool OFF
motion group is ON
SRDY of servo tool motor
ON
OFF
Pulsecoder line
+5V Attach
Detach
Pulsecoder line
0V Attach
Detach
Detach/Attach status Tool Attach Non tool Non tool Tool attach
Tool Tool
Detaching Attaching
[ TYPE ] GROUP
- 275 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
AXS The axis number of the motion group which is assigned to the current motion group.
Tool The tool number which is assigned to the above axis.
Status Tool status
ATTACH : The tool is attached.
DETACH : The tool is detached.
Comment The comment of each tool.
32.9 TEACHING
In the tool change system, please note the following points.
Please note that this position data has not only tool 1 data but also tool 2 and tool 3 data. This means this
position data can move tool 2 and tool 3. If tool 2 is attached, tool 2 moves to 0mm position. This
specification is for the flexibility of the program. But, if the user attaches different tool, it may cause
interfere of tool. To prevent this problem, please specify different tool number to the tool close direction for
each tool.
By this function, the position data for each tool has the different tool number. Because of this, even if the
user executes the program with different tool, the program is stopped by “INTP-253 Tool frame number
mismatch”.
- 276 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
NOTE
This is sample program. Create the program related to your system.
F3:TOOL_CFG F2:END
SETUP SCREEN
6. SETUP Tool Change
MENU F1[TYPE]
- 277 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
STATUS SCREEN
4. STATUS Tool Change
MENU F1[TYPE]
Group1
Group 2
F3:TOOL
Tool change status screen Tool change status screen F2:GROUP
NOTE
The setup procedure explained below is required just once when the system is
installed. Once settings are made, they need not be changed in ordinary use.
1 Turn off the power. While holding [PREV] key and [NEXT] key, turn on the power.
2 After a while, the following screen will be displayed. Select 3, Controlled start.
System version: V8.1035 2/10/2012
1. Hot start
2. Cold start
3. Controlled start
4. Maintenance
Select >
[ TYPE ] HELP
Motion Group Input the operation group number with which servo tools are set.
Tool Change Enable or disable the tool change function.
1 Motion group: 2
2 Tool Change: ENABLE
The tool change function switches servo tools that are set within the same operation group. Note that it is
impossible to switch between tools that are set in different operation groups.
6 Press F3, TOOL_CFG, then the servo tool configuration screen will be displayed.
[ TYPE ] END
Set the items listed below for the tool axes included in the selected operation group.
If there is no problem with using the standard settings, the standard settings need not be modified.
To change multi-axis servo tool, assign the tool number to multiple axes.
NOTE
• The tool number must be assigned to successive axes for multi-axis servo tool
change.
• Four (or more)-axis servo tool cannot be changed.
• The servo tool cannot be changed to the one with a different number of axes.
NOTE
The setting 1 must be done for all servo gun equipment.
NOTE
Only the servo tool axis operation group can be used as the operation group of the
program to be used for setting the reference position.
Example) When the servo tool axis operation group is the 2nd group:
The operation group becomes [*,1,*,*,*,*,*,*].
NOTE
The above is merely a sample program. Create programs to suit the requirements
of your system.
g: Operation group number of currently attached tool
ga: Axis number of currently attached tool
If the currently attached servo tool axis is taken as the 1st axis of the 2nd group,
then g and ga are as follows: g=2, ga=1
- 280 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
The sign of touch torque is the sign that is currently displayed at Touch torque in the following
Calibration Setup screen.
NOTE
After confirming the sign in this screen, teach it to the program. Do not make a
mistake when entering the sign. If you do so, contact with the open limit may not
be detected.
[ TYPE ] LIST
- 281 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
[ TYPE ] LIST
NOTE
Only the servo tool axis operation group can be used as the operation group of the
program to be used for setting the reference position.
Example)
When the servo tool axis operation group is the 2nd group: The operation group
becomes [*,1,*,*,*,*,*,*].
NOTE
The above is merely a sample program. Create programs to suit the requirements
of your system.
[ TYPE ] LIST
1 Press [FCTN] key to select 3 CHANGE GROUP. Change the operation group to the desired servo tool
group (e.g. 2nd group).
2 Press [MENU] key to display the screen menu.
3 Press 0 NEXT and 6 SYSTEM.
4 Press F1, [TYPE] to display the Screen Selection menu.
5 If Master/Cal is not displayed in the menu, select Variables to display the system variables screen. Set
the $MASTER_ENB system variable to "1".
- 283 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
T1 G2 JOINT 10%
SYSTEM Master/Cal
TORQUE = [ON ]
1 FIXTURE POSITION MASTER
2 ZERO POSITION MASTER
3 QUICK MASTER
4 SINGLE AXIS MASTER
5 SET QUICK MASTER REF
6 CALIBRATE
32.13 TROUBLESHOOTING
Remedy 1
1 Turn the machine lock ON in the servo tool operation group (normally, group 2) in the Test Cycle
screen.
2 Move the robot by manual feed so that the robot and tool are physically attached.
3 Cycle power of the controller.
- 284 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
Battery mounted tool
10 The tool is attached and positioned, so it can be used as it is.
Remedy 2
1 Directly change the system variable to detach the tool. To do this, set the following system variable to
"0":
$SCR_GRP[servo tool operation group No. (normally, 2)].$AXISORDER[all 1 to 9] = 0
2 Cycle power of the controller.
3 The robot starts up with the tool in a detached state. Move the robot by manual feed to physically
attach the robot and tool.
4 Execute the attach instruction to attach the tool.
5 The tool can be used as it is after it is attached regardless of the battery type.
Remedy
Calibration motion types 1, 2
1 The tool pulse values and mastering data are lost. So, first move the tool by manual feed to cancel the
"SRVO-075 Pulse not established" alarm.
This alarm may not be occurring. If so, skip this step and proceed to step 2.
2 Then, carry out tool zero position mastering and calibration manually.
Remedy 1
Carry out steps 6 to 9 of Subsection 32.13.1 Remedy 1.
Remedy 2
Same as Remedy 2 of Subsection 32.13.1.
- 285 -
32. SERVO TOOL CHANGE FUNCTION B-83284EN-2/05
Remedy
The following describes an example where tool 2 (actually attached tool) is attached to tool 1 (tool No.
taught by the attach instruction).
1 In this state, the tool cannot be detached from the robot by the detach instruction. So, directly change
the system variable to detach the tool. To do this, set the following system variable to "0":
5 Tool 1 can be used as it is by executing the attach instruction to attach the tool.
Remedy 1
Same as Remedy 1 of Subsection 32.13.1
Remedy 2
Same as Remedy 2 of Subsection 32.13.1
- 286 -
B-83284EN-2/05 32. SERVO TOOL CHANGE FUNCTION
The allowable error must fall within the respective following ranges for the direct-acting axis and rotary
axis:
Direct-acting axis: ±(gear ratio/2)mm or less around the detach position
Rotary axis: ±((360/gear ratio)/2)deg or less around the detach position
Other instances:
No problem has occurred.
Remedy
Battery-less tool (calibration motion types 1, 2):
1 Execute the attach instruction to attach the tool.
2 If misalignment occurs, carry out tool zero position mastering and calibration manually.
Remedy
1 Change the battery with the tool attached.
2 The tool can be used as it is.
32.13.8 The Battery Ran Low while the Tool was Detached.
Symptom
The "SRVO-062 BZAL" and "SRVO-075 Pulse not established" alarms occurred when the tool was
attached.
Remedy
When the reference position has not been set:
1 Press F3:RES_PCA in the Calibration screen, and select YES.
2 Cycle power of the controller.
3 Move the tool by manual feed to cancel the "SRVO-075 Pulse not established" alarm.
4 Carry out tool zero position mastering and calibration manually.
- 287 -
33. OPERATION WITHOUT SHIFT FUNCTION B-83284EN-2/05
- The spec of the way to move the robot by jog feed differs with spec that is described in “Procedure
33-1 Moving the robot by jog feed” in basic canto of operator manual in case either “Robot operation
without shift key function (J591)” or “Jog operation without shift function” is installed.
- The spec of the way of test execution differs with spec that is described in “Procedure 33-2 Step test”
and “Procedure 33-3 Continuous test (using the teach pendant)”in basic canto of operator manual in
case either “Robot operation without shift key function (J591)” is installed.
Procedure 33-1 Moving the robot by jog feed (in case robot operation without shift
key function or jog operation without shift key function is installed)
Condition
- The teach pendant must be enabled.
- The system must be in the operation enable state.
- Do not enter the operating area. Do not put any obstacles within the work area.
- Option software “J591 Robot operation without shift” or “J739 Jog operation without shift” is installed.
WARNING
Before you jog the robot be sure that all safety requirements for the work area are
satisfied. Otherwise, injury or property damage could occur.
Step
1 Press [COORD] key to display a desired manual-feed coordinate system on the teach pendant.
2 Press the override key to adjust the jog feed rate displayed on the teach pendant.
3 Hold the teach pendant and press the deadman switch on the back of the teach pendant. Continue
pressing the deadman switch during jog feed.
4 Turn on the teach pendant enable switch.
NOTE
1 If the deadman switch is released when the teach pendant enable switch is on, an
alarm occurs. To reset the alarm, press and hold down the deadman switch again,
then press the RESET key on the teach pendant.
2 If the operator is not accustomed to the operation of the robot or is not sure about
the robot motions, low federate overrides should be set.
- 288 -
B-83284EN-2/05 33. OPERATION WITHOUT SHIFT FUNCTION
WARNING
The robot starts its motion in the next step. If the jog feed of the robot needs to be
stopped in an emergency in the order to avoid danger, the operator should release
the deadman’s switch or press the emergency stop button.
5 To move the robot by jog feed, press the jog key correspond to the desired robot motion direction. It is
not necessary to press [SHIFT] key. And robot is stopped if all jog keys are released but robot isn’t
stopped even if [SHIFT] key is released.
NOTE
When the override is FINE or VFINE, press the jog key and release it every time
for each motion.
Procedure 33-2 Step test (in case robot operation without shift key function is
installed)
Condition
- Option software “J591 Robot operation without shift” is installed.
- The teach pendant must be enabled.
- The single-step must be set.
- The system must be in the operation enable state.
- No one must be in the operation area. No obstacle must be placed in the operation area.
Step
1 Press [SELECT] key. The program selection screen will be displayed.
2 Select the program to be tested and press [ENTER] key. The program edit screen will be displayed.
3 Press the STEP key to select the step mode. The STEP LED lights. (Check that the STEP LED lights
when the STEP key is pressed.)
4 Move the cursor to the program start line.
5 Press and hold down the deadman switch, then turn on the teach pendant enable switch.
- 289 -
33. OPERATION WITHOUT SHIFT FUNCTION B-83284EN-2/05
WARNING
The execution of the program instructions starts in the next step. The execution
causes the robot to make a motion, witch may produce unpredictable results. The
operator should check that no persons and no unnecessary equipment is in the
work area and that each part of the protective fence is sound. Otherwise, injury or
property damage would occur. If the program needs to be stopped before it
terminates, the operator should release the [FWD]/[BWD] key or deadman switch
or press [HOLD] key or emergency stop button.
Procedure 33-3 Continuous test (using the teach pendant) (in case robot operation
without shift key function is installed)
Condition
- The teach pendant must be enabled.
- The continuous mode must be set.
- The system must be in the operation enable state.
- No one must be in the operation area. No obstacle must be placed in the operation area.
- Option software “J591 Robot operation without shift” is installed.
Step
1 Press [SELECT] key. The program selection screen will be displayed.
2 Select the program to be tested and press [ENTER] key. The program edit screen will be displayed.
3 Set the continuous mode. Check that the STEP LED is off. (If the STEP lamp is on, press the STEP key
to turn it off.)
4 Move the cursor to the program start line.
5 Press and hold down the deadman switch, then turn on the teach pendant enable switch.
WARNING
The execution of the program instructions starts in the next step. The execution
causes the robot to make a motion, witch may produce unpredictable results. The
operator should check that no persons and no unnecessary equipment is in the
work area and that each part of the protective fence is sound. Otherwise, injury or
property damage would occur. If the program needs to be stopped before it
terminates, the operator should release the [FWD] key or deadman switch or
press the HOLD or emergency stop button.
6 Press and hold down [FWD] key (it is not necessary to press [SHIFT] key). Hold down [FWD] key
until the execution of the program is completed. When [FWD] key is released, the program is halted.
The program is executed to the end, then forcibly terminated. The cursor is returned to the first line of
the program.
- 290 -
B-83284EN-2/05 34. HIGH SPEED SHIFT KEY FUNCTION
To use this function, high speed SHIFT key function (J592) is required. In addition, to use high speed shift
jog operation, robot operation without shift key function (J591) or jog operation without shift function
(J739) is required.
NOTE
Speed override is clamped to upper limit in case there is setting upper limit of
speed override and value of $HSP_SHIFT.$HSP_OVRD is higher than this value.
The speeds at the tool tip and flange surface are limited to 250 mm/sec or slower
at T1 mode. So there is no situation that speed exceed 250 mm/sec by this
function.
NOTE
This operation is operation as its premise of installing option software “J591 Robot
operation without shift function” or “J739 Jog operation without shift”, so this
operation differs from normal spec.
Step
1 Hold the teach pendant and press the deadman switch on the back of the teach pendant. Continue
pressing the deadman switch during jog feed.
2 Turn on the teach pendant enable switch.
3 Release [SHIFT] key in case [SHIFT] key is pressed and hold.
- 291 -
34. HIGH SPEED SHIFT KEY FUNCTION B-83284EN-2/05
WARNING
Next operation changes the speed of robot moving. Next operation must be
executed after you ensure safety. Stop robot moving immediately in case the robot
moves with speed that you don’t forecast.
4 Press [SHIFT] key during jog operation. Speed override will be change to value of system variable
$HSP_SHIFT.$HSP_OVRD ( default value is 100) with back color is changed from green to yellow
during [SHIFT] key is being pressed. This operation is called for “high speed SHIFT jog operation”.
NOTE
It is impossible to operate high speed SHIFT jog operation in case speed override
is “FINE” or “VFINE”. Because “FINE” or “VFINE” jog is called inching jog, so these
jogs are not sequence jog operation.
Override changing operation (ex. Pressing override key) is canceled during high
speed SHIFT operation.
5 High speed SHIFT operation is end and speed override is restored to the value of override before high
speed SHIFT operation if [SHIFT] key is released or jog operation is end during high speed shift
operation. But high speed SHIFT operation is end without speed override is restored in case the value
of override before high speed SHIFT operation is higher than during high speed SHIFT operation.
NOTE
This operation is operation as its premise of installing option software “J591 Robot
operation without shift function”, so this operation differs with normal spec.
Step
1 Press [SELECT] key, The program selection screen will be displayed.
2 Select the program to be tested and press [ENTER] key. The program edit screen will be displayed.
3 Move the cursor to the program start line.
4 Press and hold down the deadman switch, then turn on the teach pendant enable switch.
5 Execute program by Pressing and holding down [FWD]/[BWD] key.
6 Release [SHIFT] key in case [SHIFT] key is pressed and hold.
WARNING
Next operation may change the speed of robot moving. Next operation must be
executed after you ensure safety. Stop robot moving immediately in case the robot
moves with speed that you don’t forecast.
7 Press [SHIFT] key during test execution operation. Speed override will be change to value of system
variable $HSP_SHIFT.$HSP_OVRD ( default value is 100) with back color is changed from green to
- 292 -
B-83284EN-2/05 34. HIGH SPEED SHIFT KEY FUNCTION
yellow during [SHIFT] key is being pressed. This operation is called for “high speed SHIFT execution
operation”.
NOTE
Override changing operation (ex. Pressing override key) is canceled during high
speed SHIFT operation.
8 High speed SHIFT operation is end and speed override is restored to the value of override before high
speed SHIFT operation if [SHIFT] key or [FWD]/[BWD] key is released during high speed shift
operation. But high speed SHIFT operation is end without speed override is restored in case the value
of override before high speed SHIFT operation is higher than during high speed SHIFT operation.
- 293 -
35. iRDIAGNOSTICS B-83284EN-2/05
35 iRDIAGNOSTICS
iRDiagnostics function consists of following three functions.
Robot Condition Detection Warn the users when abnormalities are detected in the reducers.
Servo Diagnosis Diagnose servo alarms to show possible causes of alarms.
Motion Profiler Show motion data (OVC, overheat, power consumption) of each program.
35.1.1 Setup
“CREATE”
This function requires creation of diagnostic program.
Create diagnostic program with following procedure.
1 Jog the robot to the base position, where diagnostic program starts and ends.
2 Press [MENU] key.
3 Select “UTILITIES”.
4 Press F1, [TYPE].
5 Select “Robot Condition”.
Robot Condition
Detection Program Creation 1/9
Base Program Name
DIAG
Group Number: 1
Payload Schedule: 0
Base Position: (not recorded)
Motion Range
MIN(rel) BASE MAX(rel)
J1:- 0.000<- 0.000->+ 0.000
J2:- 0.000<- 0.000->+ 0.000
J3:- 0.000<- 0.000->+ 0.000
J4:- 0.000<- 0.000->+ 0.000
J5:- 0.000<- 0.000->+ 0.000
J6:- 0.000<- 0.000->+ 0.000
[ TYPE ] CREATE
- 294 -
B-83284EN-2/05 35. iRDIAGNOSTICS
6 Enter to “Base Program Name” the name of the diagnostic program to be created.
Group number will be added to the base name to create program name.
Please make the base program name not more than 34 letters.
7 Enter to “Group Number” the number of the group for analysis.
8 Enter to "Payload Schedule" the number of the payload setting.
9 Move the cursor over “Base Position”, and press F4, RECORD with [SHIFT] key.
10 Enter allowable motion range of each axis in degrees.
For each axis, enter allowable motion range relative to the base position, both MIN and MAX.
The robot will move axis by axis, one axis at a time.
The axis without wide enough motion range cannot be analyzed.
The axis that is set motion range of 0 degree will not be analyzed.
11 Set to AUTO mode and disable TP.
12 Set override to 100%.
13 Press F2, CREATE with [SHIFT] key.
A program will be created with group number added to the Base Program Name.
NOTE
Please run the program with low override to assure safety of the program.
“MASTER”
Next, follow the procedure for the registration of the initial data.
1 Run the created program with 100% override (run with low override beforehand to assure safety).
2 Press [MENU] key.
3 Select “STATUS”.
4 Press F1, [TYPE].
5 Select “Robot Condition”.
Robot Condition
Detection Status
GRP[1]
J1 : NORMAL
J2 : NORMAL
J3 : NORMAL
J4 : NORMAL
J5 : NORMAL
J6 : NORMAL
6 If upper right display of GRP[] does not show the group for analysis, press F2, GROUP and enter the
group number.
7 Press F4, MASTER key.
8 Enter –1 (all axes) when prompted to enter the axis number.
9 A message will ask to confirm removal of previous data and use of current data as base data.
“Please confirm to use current data as baseline data? Please note previous history will be removed
after master.”
Select [YES].
The latest analysis data is registered as base line data.
The axis not registered, shown with *s was not given enough motion range to analyze the condition.
- 295 -
35. iRDIAGNOSTICS B-83284EN-2/05
NOTE
Please note the followings, for they may prevent the function from working properly.
• Do not edit the created program.
• Creating the program with the same name will overwrite the old program. If
overwritten after “MASTER,” the function does not work properly. If the program
needs to be changed during setup, go through both “CREATE” and “MASTER”.
• Different programs may be created with arbitrary base positions. However, an
axis can be analyzed with only one program. With different programs analyzing
the same axis, the function does not work properly because of different
characteristics of the data collected. When tried to analyze an axis with a
program different from the one used for “MASTER,” following warning will be
posted.
"DIAG-008 Baseline prog changed (G:g A:a)"
where g is the group number and a is the axis number.
• Basically, go through “MASTER” only with initial setup and when replacing
reducer.
• If it becomes impossible to use the program for some reason, such as moving
the system, it would be necessary to go through “CREATE” and “MASTER”.
However, if there is a reducer already reaching an end of its operating life, the
function may not work properly.
If "Warning I/O Output" DO is set, the specified DO turns ON when abnormality is detected.
If "Reset I/O Input" DI is set, the "Warning I/O Output" DO is cleared (i.e. turns OFF) when the specified
DI turns ON.
- 296 -
B-83284EN-2/05 35. iRDIAGNOSTICS
5 Some of the causes text have a hyperlink. As the hyperlink is tapped, the diagram about the cause is
shown. (7DC2 or later)
- 297 -
35. iRDIAGNOSTICS B-83284EN-2/05
35.3.1 Setup
Set up Motion Profiler with following procedure.
1 Press [MENU] key.
2 Select “STATUS”.
3 Press F1, [TYPE].
4 Select “Motion Profiler”.
With software prior to 7DC1/06, please set up Motion Profiler with following procedure.
1 Press [MENU] key.
2 Select “SETUP”.
3 Press F1, [TYPE].
4 Select “Motion Profiler”.
Motion profiler function will be turned off automatically after the selected program is aborted. Please
enable the function again if the program needs to be analyzed again.
- 299 -
35. iRDIAGNOSTICS B-83284EN-2/05
It is important that ambient temperature, special hardware option, and robot connection cable (RCC) length
for each robot group are entered correctly. The prediction and calculation result will be affected by these
settings.
Table 35.3.1 Menu items and descriptions for motion profiler’s setup menu
Item Description
Status Enable or disable Motion Profiler. This status will change to
disable automatically after the main program is aborted.
Main Program The main TP program to be used for Motion Profiler
Detail Settings Group Number Group number
Ambient Temperature The ambient temperature for this robot
Robot Connection Cable The length of robot connection cable (RCC) for this robot This
Length number may be printed on the robot connection cable.
Hardware Configuration Any special hardware configuration for this robot. For example,
motor fan, motor cover, etc.
35.3.2 Results
The results of Motion Profiler function can be reviewed in either Status menu or directly go to the “related
view” from TP editor.
• Status screen
1 Press [MENU] key.
2 Select “STATUS”.
3 Press F1, [TYPE].
4 Select “Motion Profiler” to show Main page.
5 Select data and press F3, DETAIL to display the detail bar chart with program name: line number as
horizontal axis, or data of each axis.
Profiler/Main
Settings: 1/9
1 Status: DISABLE
Main Program:
2 TEST
3 Detail Settings
Results: 1234/05/06 12:34:56
4 Cycle Time: 7.762s
5 Reducer Load Monitor: 95.8%(G1 J1)
6 Reducer Est. Life: 6206.9hr(G1 J1)
7 Steady-State OVC: 27.38%(G1 J3)
8 Long term Overheat: 81.44%(G1 J3)
9 Power Consumption: 5.973Wh
Regen Pwr (opt): 1.524Wh
• Related view
- 300 -
B-83284EN-2/05 35. iRDIAGNOSTICS
35.3.2.1 Detail
Main page displays summarized data of analyzed program. With cursor over each item, pressing F3,
DETAIL shows detailed data of each item.
[Cycle Time]
Shows execution time of the analyzed program. In DETAIL, bar chart shows execution time of each
program line. The lines with very short execution time will not be shown, including some of command
lines.
When load level is over 100%, “DIAG-005 Reducer load excess” warning would be posted in addition
to the display in this option.
[Joint Load Monitor] (For certain models only. Shown only for supported models)
Displays load level to joints. If it exceeds 100%, “MOTN-522 Joint load excess” alarm will stop the
robot. There is no DETAIL.
[M430 Load Monitor] (For certain models only. Shown only for supported models)
Calculates load to reducers in different way from Reducer Load Monitor. If “warning” is displayed, it
means that “MOTN-520 J(number of axis)TqOver” is posted. Change the program in the same way as
Reducer Load Monitor so that the warning would not be posted. There is no DETAIL.
[Reducer Estimated Life] (Some axes are not targeted. Shown only for supported models)
Displays L10 life of reducers if analyzed program is executed repeatedly using new reducers. Main
page shows the shortest L10 life, its group and axis. In DETAIL, L10 life of each axis is shown. Also
in DETAIL, production data, operating hours per day and operating days per year, which would be
used for L10 life calculation, ca be changed.
L10 life is the time after which 10% of reducers fail. Evaluate the L10 life in the context of intended
use.
- 302 -
B-83284EN-2/05 35. iRDIAGNOSTICS
NOTE
Reducer Load Monitor, Joint Load Monitor, M430 Load Monitor, and Reducer Estimated Life require
that the payload is set correctly. Otherwise, they do not work properly.
Also, the calculations are done with the assumption that there is no contact between robot and other
objects. Therefore, a program that includes contact and causes external force (such as pushing a work
piece while mounting) will not be analyzed properly.
[Steady-State OVC]
Shows estimation of OVC value(The ratio of the motor temperature simulated by the software to the
alarm threshold) when analyzed program was run repeatedly. In Main, the largest value among the
axes is shown. In DETAIL, the values of each axis are shown. The value over 100% shows estimated
result of "SRVO-046 OVC alarm (Group:i Axis:j)" occurring.
[Overheat]
Actual overheat alarm(SRVO-067 OHAL2 alarm (Grp:i Ax:j)) is triggered by sensor in the motor, but
this function estimates if overheat alarm would occur, by comparing electric current data to
experimental data. In Main, the largest value among the axes is shown. In DETAIL, the values of each
axis are shown. The values represent the ratio of calculated value against the thresholds. The value
over 100% shows estimated result of overheat alarm occurring. The estimation is affected by Ambient
Temperature and Hardware Configuration set in Detail Settings. Please set them accurately.
NOTE
Steady-State OVC and Overheat are results of estimation, and their accuracies are not guaranteed.
Please use them only as guides.
[Power Consumption]
- 303 -
35. iRDIAGNOSTICS B-83284EN-2/05
Shows power consumption while executing the analyzed program. In DETAIL, power consumption
per axis is shown. They are estimated results and not measured data. In cases such as unsupported
group included in motion groups of the program, the results do not include their power consumption.
The results are affected by Robot Connection Cable Length set in Detail Settings. Please set it
accurately.
[Regenerative Power]
Shows the estimation of regenerated energy while executing the analyzed program, if the hardware
option is installed. The result is affected by Robot Connection Cable Length set in Detail Settings.
Please set it accurately. There is no DETAIL.
- 304 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
4: IF R[21]=1,CALL MOVEPRCH
5: End Prompt Box YN
Move to perch?
[YES] NO
Fig.36 Example for teach pendant program that uses menu utility function
Above example is in case position of robot isn’t in safe area. If macro program in line 1 “Prompt box
Msg(‘NotAtPerch’)” is implemented, prompt box message screen is displayed so that to make sure the
operator is aware of something. And if macro program in line 2 “Prompt Box YN(1.21)” is implemented,
prompt box yes/no screen is displayed, so that the teach pendant program pauses until the operator selects
YES or NO and presses ENTER. In this case, teach pendant program “MOVEPRCH” is called by line 3 is
implemented if YES is selected and teach pendant program “ABORT” is called by line 4 is implemented if
NO is selected. In this way prompt box message or menu is displayed so that it is possible to prompt the
operator to be caution or let the operator do work smoothly.
Each menu type corresponds with macro program as following table 1, so each behavior of macro program
will be changed if each setting of menu type is changed.
- 305 -
36. MENU UTILITY FUNCTION B-83284EN-2/05
Parameter 1: menu
This is the menu number or menu name. The menu can be chosen by number or name.
Usage example:
Example 1 (setting menu number to parameter):
PROG TEST1
1: Prompt Box Msg(2)
- 306 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
2 Set cursor to “1 Prompt box msg” and press F2, DETAIL so that Prompt box msg menu will be
displayed. You will see a screen similar to the following.
3 Press F3, CREATE if you want to create new menu. Press F2, DETAIL if you want to change menu
that already exists. You will see a screen similar to the following.
4 Input menu name and message that you want to display. (ex. Setting menu no.2 as menu name
“NotAtPerch”)
- 307 -
36. MENU UTILITY FUNCTION B-83284EN-2/05
5 Press F3, TEST if you want to confirm the message that will be displayed. You will see a screen
similar to the following.
Move to PERCH?
[YES] NO
Parameter 1: menu
This is the menu number or menu name. The menu can be chosen by number or name.
Parameter 2: answer_reg
This is the register that will contain the answer from the operator.
Usage example:
Example 1 (setting menu number to parameter):
PROG TEST1
1: Prompt Box YN(2, 2)
- 308 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
2: IF R[2] = 0, CALL ABORTIT
2 Set cursor to “2 Prompt box yes/no” and press F2, DETAIL so that Prompt box yen/no menu will be
displayed. You will see a screen similar to the following.
3 Press F3, CREATE if you want to create new menu. Press F2, DETAIL if you want to change menu
that already exists. You will see a screen similar to the following.
- 309 -
36. MENU UTILITY FUNCTION B-83284EN-2/05
4 Input menu name and message that you want to display. (ex. Setting menu no.2 as menu name
“IsItSafe”)
5 Press F3, TEST if you want to confirm the message that will be displayed. You will see a screen
similar to the following.
- 310 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
USER
Cycle Interrupt
1 Continue
2 Abort Production
3 Select New Product
Parameter 1: menu
This is the menu number or menu name. The menu can be chosen by number or name.
Parameter 2: answer_reg
This is the register that will contain the answer from the operator.
Usage example:
Example 1:
PROG TEST1
1: List Menu (2,21)
2: SELECT R[21] = 1, CALL TOOL1
3: = 2, CALL TOOL2
4: = 3, JMP LBL[2]
5: ELSE, CALL ABORTIT
Example 2:
PROG TEST2
1: List Menu (‘ErrorRecov’,2)
2: SELECT R[2] = 1, JMP LBL[2]
3: = 2, CALL MOVEMANT
4: = 3, CALL MOVEPRCH
5: ELSE, CALL ABORTIT
- 311 -
36. MENU UTILITY FUNCTION B-83284EN-2/05
2 Set cursor to “3 Select from a list” and press F2, DETAIL so that Prompt box will be displayed. You
will see a screen similar to the following.
3 Press F3, CREATE if you want to create new menu. Press F2, DETAIL if you want to change menu
that already exists. You will see a screen similar to the following.
4 Input menu name to line “Menu name” and text to each line. Line that is input text becomes item when
list menu is displayed. Set cursor to Action TP and press F4, CHOICE and select teach pendant
program if you want to associate an Action TP program with a list item.
- 312 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
SETUP Menu Utility
LIST menu no: 2 1/11
Menu name: CycleInterup
Line Text ActionTP
TITLE: Cycle Interrupt
1
2 Continue
3 Abort Production ABORTIT
4 Select New Product
5
6
7
8
PROMPT:Enter Selection. Press ENTER
[ TYPE ] [ ALPH ] TEST
5 Press F3, TEST if you want to confirm the screen that will be displayed. You will see a screen similar
to the following.
USER
Cycle Interrupt
1 Continue
2 Abort Production
3 Select New Product
[TYPE]
STATUS Program
ProductionStatus
Current Program TEST
Current Routine TEST
Current Line 101
Status RUNNING
TIME 13-MAR-12 19:30
Parameter 1: menu
This is the menu number or menu name. The menu can be chosen by number or name.
Usage example:
Example 1:
PROG TEST1
- 313 -
36. MENU UTILITY FUNCTION B-83284EN-2/05
Example 2:
PROG TEST2
1: Status Menu (‘ProductionStatus’)
2 Set cursor to “4 Status menus” and press F2, DETAIL so that Prompt box will be displayed. You will
see a screen similar to the following.
3 Press F3, CREATE if you want to create new menu. Press F2, DETAIL if you want to change menu
that already exists. You will see a screen similar to the following.
- 314 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
SETUP Menu Utility
LIST menu no: 2 1/10
Menu name/Title:
Line Text
1 Display:
2 Display:
3 Display:
4 Display:
5 Display:
6 Display:
7 Display:
8 Display:
4 Set cursor to line that you want to edit, and press F2, DETAIL. You will see a screen similar to the
following.
5 Setup each item. It is possible to setup if you set cursor objective item and press F4, [CHOICE]. Please
refer to following table and setup each item.
- 315 -
36. MENU UTILITY FUNCTION B-83284EN-2/05
ITEM DESCRIPTION
REG+IO This item allows you to specify the number of the register or the I/O signal, when the variable type
is R[ ],DIN[ ],DOUT[ ],RI[ ],RO[ ],GIN[ ], or GOUT[ ].
KAREL Program This item allows you to specify the name of the KAREL program that contains the variable you
are displaying, when the variable type is KAREL VAR.
Variable Name This item allows you to specify the name of the variable you are displaying.
System Variable This item allows you to specify the name of the system variable you are displaying, when the
variable type is SYSTEM VAR.
Data Type This item allows you to specify the variable data types:
・ NONE
・ INTEGER
・ REAL
・ TEXT
・ BOOLEAN
6 Press F3, TEST if you want to confirm the screen that will be displayed in the step 3. You will see a
screen similar to the following.
STATUS Program
ProductionStatus
Current Program TEST
Current Routine TEST
Current Line 101
Status RUNNING
TIME 13-MAR-12 19:30
USER
Check Chute
1 Is part in chute? NO
2 How many parts in chute? 0
Parameter 1: menu
This is the menu number or menu name. The menu can be chosen by number or name.
- 316 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
Usage example:
Example 1:
PROG TEST1
1: Status Menu (2)
Example 2:
PROG TEST2
1: Status Menu (‘ProductionStatus’)
2 Set cursor to “5 Operator entry” and press F2, DETAIL so that Prompt box will be displayed. You will
see a screen similar to the following.
3 Press F3, CREATE if you want to create new menu. Press F2, DETAIL if you want to change menu
that already exists. You will see a screen similar to the following.
- 317 -
36. MENU UTILITY FUNCTION B-83284EN-2/05
4 Set cursor to line that you want to edit, and press F2, DETAIL. The following screen will be displayed.
5 Setup each item. It is possible to setup if you set cursor objective item and press F4, [CHOICE] or
[ENTER] key. Please refer to following table and setup each item.
- 318 -
B-83284EN-2/05 36. MENU UTILITY FUNCTION
ITEM DESCRIPTION
Data Type This item allows you to specify the variable data types:
・ NONE
・ INTEGER
・ REAL
・ TEXT
・ BOOLEAN
Variable Minimum This item allows you to specify the minimum value allowed for the INTEGER or REAL variables.
Variable This item allows you to specify the maximum value allowed for the INTEGER or REAL variables.
Maximum
6 Press F3, TEST if you want to confirm the screen that will be displayed in the step 3. The following
screen will be displayed.
USER
Check Chute
1 Is part in chute? NO
2 How many parts in chute? 0
- 319 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
37 4D GRAPHICS FUNCTION
In 4D graphics function, robots, tools, parts and various work cells can be displayed as 3D models.
And internal data such as positions taught in a program can be visualized as 4th dimensional information.
4D means the fusion of 3D robot model and 1D internal data as 4th dimension of information.
The robot model moves as the real robot moves. In machine lock, only the robot model can be moved and
the direction of the movement of the robot can be previewed.
WARNING
When moving the robot with the pendant enabled, be sure to watch the robot
instead of watching the TP screen. After the robot is in a safe state you can
examine the pendant graphics.
WARNING
4D graphics might no be an accurate representation of the real world, so actual
program verification with the robot arm is still required.
- 320 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
37.1 OVERVIEW
Robot model
A graphic model of ordered robot is displayed.
Internal data
Various data such as positions taught in a program or tool center point are displayed.
Cell floor
A reference floor with a 1 meter grid. The position of cell floor can be set in SETUP Frames screen.
Peripheral devices
Peripheral device graphic models such as a works, fences and tools can be located anywhere in 4D
GRAPHICS scene by using 4D Editor function in ROBOGUIDE. Please refer to section 37.3 4D Editor
Function for details.
ZOOM
ZOOM consists of changing the magnification. Increasing the magnification makes the objects larger but
the field of view is narrow. Press F3, ZOOM to set the system to zoom mode. Then, the label F3, ZOOM
turns blue in color.
There are two ways for ZOOM operation. One is the iPendant key input and the other is touch panel
operation.
- 321 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
PAN
PAN consists of moving the view up, down, left and right. Press F4, PAN to set the system to PAN mode.
Then, the label F4, PAN turns blue in color.
There are two ways for PAN operation. One is the iPendant key input and the other is touch panel operation.
ROTATE
- 322 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
ROTATE consists of rotating the view up, down, left and right. Press F5, ROTATE to set the system to
ROTATE mode. Then, the label F5, ROTATE turns blue in color.
There are two ways for ROTATE operation. One is the iPendant key input and the other is touch panel
operation.
Preset Views
4D GRAPHICS screen provides seven preset views. The default view provides a view from 45 degree. This
view is good starting point for setting the view. It also put information back on the screen in the case where
it has inadvertently been lost. All preset views will center the floor in the middle of the view.
- Default Set the view to default
- Front Set the view in front of the robot
- BackSet the view behind the robot
- Top Set the view right above the robot
- Bottom Set the view right below the robot
- Left Set the view on the left side of the robot
- Right Set the view on the right side of the robot
To select Preset Views, press NEXT key and press F2, [VIEWS]. Select one of the preset views above.
User Views
4D GRAPHICS screen provides eight user views. These views can be recorded and then retrieved by
selecting them.
- 323 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
4 Select one of User Views you want to record and press F4, [RECORD].
When User View was recorded, “***” displayed the right of the User View was removed.
Once a User View is recorded, it is available to be retrieved at any time.
Press F5, [RENAME] on one of User Views, then User View can be named.
Pressing F1, [TYPE] in any 4D GRAPHIC scene and selecting one of them display the selected scene.
- 324 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
The red, green and blue axes correspond to the X, Y and Z directions.
Each joint has an indicator consisting of a semi-transparent fan with a needle showing the current position.
The fan is usually green and turns red as the robot is jogged closer to the limit.
Pressing i key and COORD key simultaneously turn this function on and off.
- 325 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
Cartesian Jog Preview shows a single arrow indicating the direction that the robot will move. Depending on
the setting of the speed override, the size of the arrow will change. The figure shows an example when i key
and +Z jog key.
Joint Jog Preview shows a single red arrow tangent to the fan indicating the direction that the joint will
move. Depending on the setting of the speed override, the size of the arrow will change. The figure shows
an example when i key and +J1 jog key.
For example, selecting 4D Edit Node Map adds the node map in the scene. Selecting the same item again to
make the element invisible. In the following figure, the node map and frame elements are added.
- 326 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
NOTE
When there are too much information displayed, the performance of 4D
GRAPHICS function declines.
In that case, make unnecessary data invisible.
NOTE
Node Map connects two nodes in the program in descending order. Therefore, it is
sometimes different from the real motion path.
NOTE
When INC, OFFSET or Position Register is used in a motion statement or when
frame number is changed in a program, the node will be displayed in the different
position from the actual position.
Each node is colored in blue, green or yellow. The blue node means normal, the green one means the
position focused in EDIT screen and the yellow one means the position is unspecified, such as the position
register. The line between nodes is usually colored in gray or red. The red one means there is an unspecified
position between the two nodes.
Edit node map and select node map are functionally a little different from each other.
- 327 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
In 4D GRAPHICS Edit Node Map scene, the currently selected program is displayed. It is linked to EDIT
screen. So the focused position is displayed as a green node in node map. As the cursor is moved in EDIT
screen, the green node also changes. The node map will be updated every time the program is edited.
SELECT Data
Selecting a node can make the cursor in EDIT screen move to the corresponding line. To select a node,
touch the screen near the node. To use this functionality, select F2, SELECT. Then, the label F2, SELECT
turns blue in color.
In 4D GRAPHICS Select Node Map scene, the currently focused program in SELECT screen is displayed.
It is linked to SELECT screen. As the cursor is moved in SELECT screen, displayed node map also changes.
When a program is selected in SELECT screen, EDIT screen of the program is displayed. Then, 4D
GRAPHICS Edit Node Map is also displayed automatically.
- 328 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
- 329 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
NOTE
The path provided in 4D GRAPHICS TCP Trace are possibly different from actual
path.
- 330 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
SELECT Data
Selecting a node can make the cursor in Position Register screen move to the corresponding line. To select
a node, touch the screen near the node. To use this functionality, select F2, SELECT. Then, the label F2,
SELECT turns blue in color.
NOTE
Registers are always considered to be in the “current” frame. The register
graphical display reflects the position of the register in the current frame. This may
not be how the register is used. Changing the current frame will be reflected in the
position of the register triad in the graphics display.
- 331 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
NOTE
Any register which has been set to joint representation will not be displayed.
37.3.1 OVERVIEW
Peripheral device graphic models such as a works, fences and tools can be located anywhere in 4D
GRAPHICS scene by using 4D Editor function in ROBOGUIDE. This section describes the screen using
4D Editor function.
Please refer to the ROBOGUIDE helps of 4D Editor for details of 4D Editor function.
- 332 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
4D Editor function enabled to display graphics more closely to the real system.
37.4.1 OVERVIEW
By this function, 4D graphics screen can be displayed on a PC.
This function requires the Internet Conn/Cust (R558) and R764 4D GRAPHICS function and (R764)
option.
NOTE
For early releases, display of 4D information requires that the PC have an advanced
graphics card capable of displaying OpenGL. If your PC does not work, updating
your PC graphics drivers might fix it.
- 333 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
37.4.2 Setup
37.4.2.1 Requirements
The following are the requirements for Full Screen 4D Display.
• PC must have Microsoft® Internet Explorer 5.5 or greater installed.
• PC must have the iPendant Controls installed. Please refer to section 15.2 iPENDANT CONTROLS
INSTALLATION in R-30iA/R-30iA Mate/R-30iB CONTROLLER Ethernet Function
OPERATOR’S MANUAL (B-82974EN) for installation instructions.
• PC must have an advanced graphics card capable of displaying OpenGL.
• PC must be connected to a network, and be properly configured to allow a TCP/IP connection to the
Robot Controller with the iPendant connected.
• The robot controller must be connected to a network and be properly configured for Network access to
the above PC.
• The robot controller must have the Internet Conn/Custo (R558) option installed.
• The robot controller must have the 4D Graphics (R764) option installed. And the robot controller must
have the DCS Pos./Speed check (J567) option installed to display 4D DCS Display.
• The HTTP Authentication must be properly configured on the robot to allow iPendant access. Please
refer to section 15.2 HTTP AUTHENTICATION in R-30iA/R-30iA Mate/R-30iB CONTROLLER
Ethernet Function OPERATOR’S MANUAL (B-82974EN) for configuration information.
37.4.3 Operation
After you have properly configured Internet Explorer ® and verified that you can connect to the robot, you
can now display the Full Screen 4D Display screen. The following sections detail the operation and the
limitations of this feature.
- 334 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
3 From the HOME page, when you select Full Screen 4D Display, 4D graphics display screen similar to
the one shown in Figure 37.4.3.1(b) is displayed on your PC.
- 335 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
2 Use either mouse button to select the view adjustment mode you want:
• Pan - To move the view up and down and side to side.
• Rotate - To rotate the view.
• Zoom - To zoom the view in and out.
- 336 -
B-83284EN-2/05 37. 4D GRAPHICS FUNCTION
Click anywhere outside the menu to dismiss the menu.
3 Use the left (primary) mouse button to adjust the view according to the selection.
2 Use the left or right mouse button to select the scene you want to toggle:
• To change visible/invisible status of each data, select them.
• When you select multiple items in the scene information, the all selected scene will be displayed
in 4D screen.
Please refer to section 37.2 4D GRAPHICS SCENE for details of each scene.
For example, at the system like Fig. 37.4.3.3, when you select 4D Select Node Map, the node map is
displayed on your PC.
- 337 -
37. 4D GRAPHICS FUNCTION B-83284EN-2/05
NOTE
If DCS Pos./Speed check (J567) option is not loaded, the item “4D DCS Display” is
not displayed.
- 338 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
This function enables you to transfer data between robots over Ethernet.
By calling KAREL program, you can transfer register and position register between robot controllers.
R[ ]
Call of program to set register
Ethernet
Controller A Controller B
J740 is ordered. J740 is not ordered.
In Fig. 38, controller A runs program to get register from controller B. In addition, Controller A call
program to transfer register to controller B.
In Fig. 38, only controller A starts data transfer. Controller B is just responding to request from controller A.
In this case, only controller A needs this option.
NOTE
In case that robot controller to communicate with (controller B in Fig. 38.1) is
R-30iA or R-30iA Mate controller, series of the system software of that controller
must be 7DA5 or later.
This function also provides KAREL built-in for data transfer. By KAREL programming you can transfer
register and comment of I/O of remote controller. You can also read and write value of I/O. KAREL is
program language for robot. It is used to for construction of robot system. For more detail on KAREL,
please refer to “R-30iA/R-30iA Mate controller KAREL function OPERATOR’S MANUAL”
(B-83144EN). Please refer to “38.7 KAREL built-in” for built-in routines provided by this function.
38.1 TERMINOLOGY
To simplify and clarify explanation of this function we use following term.
Client
Client is a robot controller that starts communication by this function. In Fig. 38.1, controller A is client.
Client runs program to request various service to another controller.
Server
Server is a robot controller that receives request from client and serve for it. In Fig. 38.1, controller B is
server.
- 339 -
38. DATA TRANSFER BETWEEN ROBOTS FUNCTION B-83284EN-2/05
38.2 SETUP
Connect robot controllers by Ethernet. Set TCP/IP parameters so that controllers can communicate over
Ethernet by TCP/IP.
1 Press [MENU] key.
2 Select SETUP.
3 Select Host Comm.
4 Input host name (Robot name) and IP address and those of controllers to communicate with.
5 Cycle power.
For more detail, please refer to “R-30iA/R-30iA Mate/R-30iB/R-30iB Mate Ethernet Function
OPERATOR’S MANUAL (B-82974EN)”, Chapter2 “Setting up TCP/IP”.
NOTE
Don’t use underscore (“_”) in host name.
Ethernet
Host Name (LOCAL) Internet Address Host Name (LOCAL) Internet Address
1 RC1 190.168.0.2 1 RC1 190.168.0.2
2 RC2 190.168.0.3 2 RC2 190.168.0.3
3 ********** ****************** 3 ********** ******************
4 ********** ****************** 4 ********** ******************
[TYPE] PORT PING HELP > [TYPE] PORT PING HELP >
Following figure is an example of TCIP/IP setup for ROBOGUIDE. There are two robot controllers in your
work cell. Host name of the 1st one is RC1 and the 2nd one is RC2.
- 340 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
Host Name (LOCAL) Internet Address Host Name (LOCAL) Internet Address
1 RC1 127.0.0.2 1 RC1 127.0.0.2
2 RC2 127.0.0.3 2 RC2 127.0.0.3
3 ********** ****************** 3 ********** ******************
4 ********** ****************** 4 ********** ******************
[TYPE] PORT PING HELP > [TYPE] PORT PING HELP >
If you run following program, value and comment of R [1] of RC1 is transferred to R [5] of RC2.
1: CALL RGETNREG('RC1',1,5,0) ;
RGETNREG is KAREL program this function provides. For more detail, please refer to Section 38.4
STANDARD DATA TRANSFER PROGRAM.
- 341 -
38. DATA TRANSFER BETWEEN ROBOTS FUNCTION B-83284EN-2/05
NOTE
If arguments are not proper, it causes error. Followings are example of wrong
arguments.
- Type of argument (integer, string and the like) is wrong.
- The number of arguments is less than expected.
- Content of argument is wrong.
Please call program with proper argument.
When you restart execution of program, please move cursor to 1 line before CALL
and restart from the line.
Value Description
0 Value and comment are got.
1 Value is got.
2 Comment is got.
Detail
If there isn’t R [src_idx] on server, “DTBR-014 Bad variable or register index (host name, index)” is posted.
If there isn’t R [dest_idx] on client, “VARS-024 Bad variable or register index" is posted.
Example
Execution of following program gets value and comment of R [10] of Host “SERVER”.
Syntax
RSETNREG (host_name, dest_idx, src_idx, option)
Input/Output parameters
The 1st parameter: [IN] String of host name or IP address of server.
The 2nd parameter: [IN] Index of destination register. This integer is index of register of server.
The 3rd parameter: [IN] Index of source register. This integer is index of register of client.
The 4th parameter: [IN] This integer specifies function of this program.
- 342 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
Value Destination
0 Value and comment are set.
1 Value is set.
Detail
If there isn’t R [dest_idx] on server, “DTBR-014 Bad variable or register index (host name, index)” is
posted.
If there isn’t R [src_idx] on client, “VARS-024 Bad variable or register index" is posted.
Example
Execution of following program sets value and comment of R [20] of client to R [10] of host “SERVER”.
Value Description
0 Value and comment are got.
1 Value is got.
2 Comment is got.
Detail
If contents of the 2nd through the 5th parameters are wrong, following errors are posted.
Error Cause
DTBR-014 Bad variable or register index (host name, index) There isn’t PR [(the 2nd parameter) src_idx] on
server.
DTBR-015 Illegal group number (host name, index) There isn’t group “(the 3rd parameter) src_grp” on
server.
VARS-024 Bad variable or register index There isn’t PR [(the 4th parameter) dest_idx ] on
client.
ROUT-026 Illegal group number There isn’t group “(the 5th parameter)dest_grp”on
client.
- 343 -
38. DATA TRANSFER BETWEEN ROBOTS FUNCTION B-83284EN-2/05
NOTE
Position data of specified groups of client and server may be different in its
components. For example, following points may differ.
- The number of axes
- Configuration of Cartesian position
- Type of axis (rotary or linear)
You may not be able to use position register that is got or set as it is. Please be
careful to use transferred data.
NOTE
Even if Cartesian position data is got and stored to client’s group that does not
support Cartesian data (independent axis for example), Cartesian data is set.
Example
Execution of following program by client transfers position data of group 2 of PR [10] of host “SERVER”
to client’s group 1 of PR[20]. Comment is not acquired.
Value Description
0 Position data and comment is set.
1 Position data is set.
Detail
If contents of the 2nd through 5th parameters are wrong, following errors are posted.
Error Cause
DTBR-014 Bad variable or register index (host name, index) There isn’t PR [(the 2nd parameter) dest_idx] on
server.
DTBR-015 Illegal group number(host name, index) There isn’t group”(the 3rd parameter) dest_grp” on
server.
VARS-024 Bad variable or register index There isn’t PR [(the 4th parameter) src_idx] on
client.
ROUT-026 Illegal group number There isn’t group “(the 5th parameter) src_grp” on
client.
- 344 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
NOTE
Position data of specified groups of client and server may be different in its
components. For example, following points may differ.
- The number of axes
- Configuration of Cartesian position
- Type of axis (rotary or linear)
You may not be able to use position register that is got or set as it is. Please be
careful to use transferred data.
NOTE
Even if Cartesian position data is set to server’s group that does not support
Cartesian data (independent axis for example), Cartesian data is set.
Example
Execution of following program by client transfers position data of group 1 of PR [20] of client to group 2
of PR [10] of host “SERVER”.
AA_002
PAUSED 2/3
1:
2: CALL RGETNREG(SR[2],1,11,0)
[End]
Please check if the controller (client) can always, stably communicate with specified host (server).
You can perform “PING” in PING screen of Host Comm setup screen.
Please improve network traffics.
If standard data transfer program or built-in of this function are used very often, please lessen
frequency.
If standard data transfer program or built-in of this function is executed consecutively, there should be
interval. If there is already interval, please lengthen it.
When program is resumed without moving cursor, the same transfer is performed again.
If parameter and TCIP/IP setup has no problem and network had trouble, resume after removal of
network problem can be successful.
After modification of arguments, please move cursor to 1 line before CALL and resume from the line.
VARS-024 Bad variable or register index
RGETNREG LINE 139 T2 PAUSED G1 JOINT
10%
AA_002
PAUSED 2/3
1:
2: CALL RGETNREG(SR[2],1,221,0)
[End]
AA_002
PAUSED 1/3
1:
2: CALL RGETNREG(SR[2],1,11,0)
[End]
Built-in Description
RGET_PORTCMT gets I/O comment.
RGET_PORTSIM gets I/O simulation status.
RGET_PORTVAL gets I/O value.
RGET_PREGCMT gets comment of position register.
RGET_REG gets register.
RGET_REG_CMT gets comment of register.
RGET_SREGCMT gets comment of string register.
RGET_STR_REG gets string register.
RNREG_RECV transfers server’s register to client’s register.
RNREG_SEND transfers client’s register to server’s register.
RPREG_RECV transfers server’s position register to client’s position register.
RPREG_SEND transfers client’s position register to server’s position register.
RSET_INT_REG sets INTEGER to register.
RSET_PORTCMT sets I/O comment.
RSET_PORTSIM simulates I/O.
RSET_PORTVAL sets I/O value.
RSET_PREGCMT sets comment of position register.
- 346 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
Built-in Description
RSET_REALREG sets REAL value to register.
RSET_REG_CMT sets comment of register.
RSET_SREGCMT sets comment of string register.
RSET_STR_REG sets string register.
Example:
Following program gets comment of DO[10] of host RC1.
PROGRAM RGTPCMT
%COMMENT='RC1 DO[10] CMT'
%NOLOCKGROUP
%ENVIRONMENT RPCC
%INCLUDE kliotyps
VAR
status : INTEGER
comment : STRING[16]
BEGIN
RGET_PORTCMT('RC1', io_dout, 10, comment, status)
END RGTPCMT
[in]port_no: INTEGER
[out]simulated: BOOLEAN
[out]status: INTEGER
%ENVIRONMENT Group: RPCC
Detail:
- “host_port” is IP address or host name of remote robot controller.
- “port_type” specifies the code for the type of port whose simulation status is returned. Codes are
defined in kliotyps.kl.
- “port_no” specifies the port number whose simulation status is being returned.
- “simulated” returns TRUE if the port is being simulated, FALSE otherwise.
- “status” explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following program gets simulation status of DI[8] of host RC1.
PROGRAM RGTPSIM
%COMMENT = 'RC1 DIN[8] SIM'
%NOLOCKGROUP
%ENVIRONMENT RPCC
%include kliotyps
VAR
status : INTEGER
sim_stat: BOOLEAN
BEGIN
RGET_PORTSIM('RC1', io_din, 8, sim_stat, status)
END RGTPSIM
Example:
Following program gets value of RO [3] of host RC1.
- 348 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
PROGRAM RGTPVAL
%COMMENT='GET RC1 RO[3]'
%NOLOCKGROUP
%ENVIRONMENT RPCC
%include kliotyps
VAR
status : INTEGER
port_val: INTEGER
BEGIN
RGET_PORTVAL('RC1', io_rdo, 3, port_val, status)
END RGTPVAL
Example:
Following program gets comment of PR [5] of host RC1.
PROGRAM RGTPRCMT
%COMMENT='RC1 PR[5] CMT'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
comment : STRING[16]
BEGIN
RGET_PREGCMT('RC1', 5, comment, status)
END RGTPRCMT
[out]int_value: INTEGER
[out]real_value: REAL
[out]status: INTEGER
%ENVIRONMENT Group: RPCC
Detail:
- “host_port” is IP address or host name of remote robot controller.
- “register_no” specifies the register to get.
- “real_flag” is set to TRUE and “real_value” is set to the register content if the specified register has a
real value. Otherwise, “real_flag” is set to FALSE and “int_value” is set to the contents of the register.
- “status” explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following program gets value of R [2] of host RC1.
PROGRAM RGTNREG
%COMMENT='GET RC1 R[2]'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
is_real : BOOLEAN
int_val : INTEGER
real_val : REAL
BEGIN
RGET_REG('RC1', 2, is_real, int_val, real_val, status)
END RGTNREG
Example:
Following program gets comment of R [2] of host RC1.
- 350 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
PROGRAM RGTNRCMT
%COMMENT='GET RC1 R[2] CMT'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
comment : STRING[16]
BEGIN
RGET_REG_CMT('RC1', 2, comment, status)
END RGTNRCMT
Examples:
Following program gets comment of SR [20] of host RC1.
PROGRAM RGTSRCMT
%NOLOCKGROUP
%COMMENT = 'GET CMT SR[20]'
%ENVIRONMENT RPCC
VAR
status : INTEGER
comment : STRING[16]
BEGIN
RGET_SREGCMT('RC1', 20, comment, status)
END RGTSRCMT
Example:
Following program gets value of SR [10] or host RC1.
PROGRAM RGTSREG
%NOLOCKGROUP
%ENVIRONMENT RPCC
%COMMENT = 'GET SR[10]'
VAR
status : INTEGER
sreg_val : STRING[253]
BEGIN
RGET_STR_REG('RC1', 10, sreg_val, status)
END RGTSREG
Value Description
0 Value and comment are got.
1 Value is got.
2 Comment is got.
- “status” explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following program gets value and comment of R [3] of RC1 and set them to R [12].
- 352 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
PROGRAM RNREGRCV
%COMMENT='RC1 R3->12'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
STATUS : INTEGER
BEGIN
RNUMREG_RECV('RC1', 3, 12, 0, STATUS)
END RNREGRCV
Value Descrition
0 Value and comment is set.
1 Value is set.
2 Comment is set.
- “status” explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following program sends value of R [11] to R [2] of host RC1.
PROGRAM RNREGSND
%COMMENT='R11->RC1 R1'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
STATUS : INTEGER
BEGIN
RNUMREG_SEND('RC1', 2, 11, 1, STATUS)
END RNREGSND
Syntax:
RPOSREG_RECV (host_port, src_idx, src_grp, dest_idx, dest_grp, option, status)
Input/Output parameters
[in]host_port: STRING
[in]src_idx: INTEGER
[in]src_grp: INTEGER
[in]dest_idx: INTEGER
[in]dest_grp: INTEGER
[in]option: INTEGER
[in]status: INTEGER
%ENVIRONMENT Group: RPCC
Detail:
- “host_port” is IP address or host name of remote robot controller.
- “src_idx” specifies index of position register of server.
- “src_grp” specifies group number of server. Position data of specified group is transferred.
- “dest_idx” specifies index of position register of client. The specified position register stores acquired
data.
- “dest_grp” specifies group number of client. Position data of specified group of PR [“dest_idx”] is
changed to received data.
- “option” specifies function of this built-in.
Value Description
0 Position data and comment are got.
1 Position data is got.
2 Comment is got.
- “status” explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following example program performs following transfer. Comment is transferred, too.
From: Group 1 of PR [5] of host RC1
To: Group 2 of PR [6]
PROGRAM RPREGRCV
%COMMENT='RC1 PR5G1->PR6G2'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
STATUS : INTEGER
BEGIN
RPOSREG_RECV('RC1', 5, 1, 6, 2, 0, STATUS)
END RPREGRCV
Value Description
0 Position data and comment are set.
1 Position data is set.
- status explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following example program performs following transfer. Comment is transferred, too.
From: Group 2 of PR [7] of client
To: Group1 of PR [8] of host RC1
PROGRAM RPREGSND
%COMMENT='PR7G2->RC1 PR8G1'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
STATUS : INTEGER
BEGIN
RPOSREG_SEND('RC1', 8, 1, 7, 2, 0, STATUS)
END RPREGSND
- 355 -
38. DATA TRANSFER BETWEEN ROBOTS FUNCTION B-83284EN-2/05
Example:
Following program sets 100 to R[20] of host RC1.
PROGRAM RSTNRI
%COMMENT = 'RC R[20]=100'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
BEGIN
RSET_INT_REG('RC1', 20, 100, status)
END RSTNRI
Example:
Following program sets comment to DO [10] of host RC1.
PROGRAM RSTPCMT
%COMMENT ='RC1 DO[10] cmt'
%NOLOCKGROUP
%ENVIRONMENT RPCC
%INCLUDE kliotyps
VAR
status : INTEGER
BEGIN
RSET_PORTCMT('RC1', io_dout, 10, 'RC1 DOUT[10]', status)
END RSTPCMT
- 356 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
[in]host_port: STRING
[in]port_type: INTEGER
[in]port_no: INTEGER
[in]value: INTEGER
[out]status: INTEGER
%ENVIRONMENT Group: RPCC
Detail:
- “host_port” is IP address or host name of remote robot controller.
- “port_type” specifies the code for the type of port to be simulated. Codes are defined in kliotyps.kl.
- “port_no” specifies port number to be simulated.
- “value” specifies the initial value to set.
- “status” explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following program sets GO [3] of RC1 simulated and set its initial simulated value to 5.
PROGRAM RSTPSIM
%COMMENT ='RC1 SIM GO[3], 5'
%NOLOCKGROUP
%ENVIRONMENT RPCC
%INCLUDE kliotyps
VAR
status : INTEGER
BEGIN
RSET_PORTSIM('RC1', io_gpout, 3, 5, status)
END RSTPSIM
Example:
Following program sets DO [3] of host RC1 to ON.
- 357 -
38. DATA TRANSFER BETWEEN ROBOTS FUNCTION B-83284EN-2/05
PROGRAM RSTPVAL
%COMMENT ='RC1 DO[3]=ON'
%NOLOCKGROUP
%ENVIRONMENT RPCC
%INCLUDE kliotyps
VAR
status : INTEGER
BEGIN
RSET_PORTVAL('RC1', io_dout, 3, 1, status)
END RSTPVAL
Example:
Following program sets comment “RC1 PR[5]” to PR [5] of host RC1.
PROGRAM RSTPRCMT
%COMMENT ='RC1 PR[5] CMT'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
BEGIN
RSET_PREGCMT('RC1', 5, 'RC1 PR[5]', status)
END RSTPRCMT
Detail:
- “host_port” is IP address or host name of remote robot controller.
- “register_no” specifies the register into which “real_value” will be stored.
- “status” explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following program sets -12.3 to R [20] of RC1.
PROGRAM RSTNRR
%COMMENT = 'RC1 R[20]=-12.3'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
BEGIN
RSET_REALREG('RC1', 20, -12.3, status)
END RSTNRR
Example:
Following program set comment “RC1 R[15]” to R [15] of host RC1.
PROGRAM RSTNRCMT
%COMMENT ='RC1 R[15] CMT'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
BEGIN
RSET_REG_CMT('RC1', 15, 'RC1 R[15]', status)
END RSTNRCMT
- 359 -
38. DATA TRANSFER BETWEEN ROBOTS FUNCTION B-83284EN-2/05
Syntax:
RSET_SREGCMT (host_port, register_no, comment_str, status)
Input/Output parameters
[in]host_port: STRING
[in]register_no: INTEGER
[in]comment_str : STRING
[out]status: INTEGER
%ENVIRONMENT Group:RPCC
Detail:
- “host_port” is IP address or host name of remote robot controller.
- register_no specifies string register to set.
- comment_str contains the comment to set to the specified string register.
If the comment_str exceeds more than 16 characters, the built-in will truncate the string.
- status explains the status of the attempted operation. If not equal to 0, then an error occurred.
Example:
Following program sets comment “RC1_STRING_REG_3” to SR[3] of host RC1.
PROGRAM RSTSRCMT
%COMMENT ='RC1 SR[3] CMT'
%NOLOCKGROUP
%ENVIRONMENT RPCC
VAR
status : INTEGER
BEGIN
RSET_SREGCMT('RC1', 3, 'RC1_STRING_REG_3', status)
END RSTSRCMT
Example:
Following program sets SR [4] of host RC1.
- 360 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
PROGRAM RSTSREG
%COMMENT ='Set RC1 SR[4]'
%NOLOCKGROUP
%ENVIRONMENT rpcc
CONST
ERR_SUCCESS = 0
VAR
status : INTEGER
BEGIN
RSET_STR_REG('RC1', 4, 'RC1 of SR[4] was set by remote host', status)
END RSTSREG
38.8 LIMITATIONS
A) Performance of communication is not guaranteed. It depends network traffic and load of CPU of
controller.
B) This function affects to performance of other functions that uses Ethernet and vise versa.
C) Request from multiple tasks (programs) doesn’t cause parallel execution of data transfer.
They are actually processed sequentially.
D) In case that the controller to communicate with (server) is R-30iAor R-30iA Mate controller. series of
the system software of that controller must be 7DA5 or later.
E) You cannot restrict data transfer by the other functions, for example password function.
F) A robot controller cannot send request to itself by this function.
G) Transfer of position register pays attention to the number of axis or extended axis so that data to be set
to destination does not exceeds axes destination controller has. However, the other elements of
position data are not considered.
For example, followings are not considered.
- Whether robot can have Cartesian data or not.
- Axis limit
- Configuration of position available and range of turn number.
- Type of axis (rotary or linear)
H) Pause or force abort of program does not stop communication once it started.
Next request should be issued after completion of previous one.
- 361 -
38. DATA TRANSFER BETWEEN ROBOTS FUNCTION B-83284EN-2/05
38.9 CAUTION
A) This function can not be used instead of hardwired I/O, field network.
This function offers ability to read/write I/O value of remote controller. However, hardwired I/O and
field network I/O is always far faster.
B) Cyclic execution increases load of network and CPU of controller. Consecutive or cyclic execution of
data transfer should be avoided.
C) Caution of transfer of position register
Content of position register depends on type of robots and configuration of position.
Please be careful for use of transferred position register.
Especially, you should be very careful when you use transferred position register as destination point
of motion statement.
Robot of server and client are not always robot of the same type. Interpretation of position register
depends on currently selected tool and user frame.
If both server and client write to the same data, they overwrite value written by the other controller. This
might look as if data transfer was not working properly.
Especially, if timing of write by client and server is very close, the earlier one may not be recognizable.
Conflict
Controller A Controller B
When client writes register, position register or string register of server, value and comment is acquired first.
Then the client overwrites necessary part of acquired data and request server to write the updated value as a
whole.
If server writes slightly before client, value or comment may be changed back to those were got by client.
- 362 -
B-83284EN-2/05 38. DATA TRANSFER BETWEEN ROBOTS FUNCTION
If standard data transfer program or built-in of this function is executed consecutively, there should be
interval. If there is already interval, please lengthen it.
In this case, the 2nd RGETNREG times out after about 2 times longer times than usual has passed.
By default setting, it is about 12 seconds.
Once communication is started, waiting for completion or error would be better lather than forcing abort.
Position register screen doesn’t display “R” unless data of all groups are initialized.
Standard transfer program and built-in transfers only specified group.
- 364 -
B-83284EN-2/05 39. TOUCH SENSING
39 TOUCH SENSING
Touch sensing allows the robot to change a path automatically to compensate for object displacement.
Touch sensing consists of two phases: Search Motion phase and Touch Offset phase.
To use this function, Touch sensor function (A05B-2600-J536) is required. This function was originally
developed for ArcTool. Therefore, explanations and figures on this chapter are close to arc welding. But, it
is also possible to use this function for HandlingTool.
Search Motion
Search Motion can detect the current position of workpiece.
- Move touch sensor part (on arc welding robot, the top of wire = TCP) toward the workpiece using
pre-defined robot motion, speed, and direction.
- Use an input signal to indicate that the robot has come into the contact with the object.
- Store the found location of the workpiece, or position offset information, in position registers.
Teaching Path
Teaching Path
SIDE VIEW
Teaching Path
Teaching Path
SIDE VIEW
- 365 -
39. TOUCH SENSING B-83284EN-2/05
SEARCH Y 1
SEARCH Y 2
SEARCH X 1
SEARCH X 2
Fig. 39(c) Search motion for detecting shift of X, Y directions and Z rotation
Touch Offset
Shift one or more teaching positions in your welding program by using the stored position the stored
position offset information.
After finishing the above preparations, please perform the following setups by referring to this chapter.
• Assignment of Touch Sensing I/O (Section 39.1)
Assign I/O to enable and use the electrical interface circuit.
• Setup of Touch Sensing Frame (Section 39.2)
Create Touch Sensing Frame to decide search direction during search motion.
• Setup of Touch Sensing Schedule (Section 39.4)
Set the method to approach the workpiece (Search Pattern) and define the storing type of obtained
position information (absolute position or position offset).
• Create Touch Sensing Program (Section 39.5)
Create touch sensing program by using Search instructions and Touch Offset instructions.
• Execute Touch Sensing Program (Section 39.6)
Execute Search Motion with Master Flag ON and obtain the master position. After that, set Master
Flag OFF.
TOUCH_SENSING_1
13/13
1:J P[1] 50% FINE Teach Home Position
2: Search Start[3] PR[3] Start Search Motion. Use Touch Sch 3, PR[3]
3:J P[2] 50% FINE Teach a search start position
4:J P[3] 50% FINE Search[Y] Search to Y direction
5:J P[4] 50% FINE Teach an another search start position
6:J P[5] 50% FINE Search[X] Search to X direction
7: Search End Finish Search Motion.
8:J P[6] 50% FINE (If needed) Teach an intermediate point
9: Touch Offset PR[3] Following points will be offset by PR[3]
10:L P[7] 100mm/sec FINE P[7] is offset by PR[3]
: Weld Start[1,1]
11:L P[8] 80cm/min FINE P[8] is offset by PR[3]
: Weld End[1,2]
12: Touch Offset End Finish offset of positions
[End]
- 366 -
B-83284EN-2/05 39. TOUCH SENSING
NOTE
To use touch sensor circuit on welding power supply for Touch Sensing function,
specify the port number of I/O of Touch Sensing signal on Touch sensing setup
screen after confirming them on Weld I/O screen.
Step
1 Press [MENU] key.
2 Select SETUP.
3 Press F1, [TYPE] and then select Touch I/O. You will see a screen similar to the followings.
NOTE
This screen shows the settings of the currently selected motion group. To view the
settings of another motion group, change the motion group by selecting an
auxiliary menu item CHANGE GROUP.
NOTE
After deciding Touch Sensing I/O, please enter the comment which indicates that
this signal is used for Touch Sensing. This operation should be performed on each
I/O signal screen.
NOTE
The ArcTool software checks the validity of the port type and port number when
running your program that includes touch sensing. If the port type or number is
invalid, the system displays an I/O invalid error message.
Step
1 Move the robot near the workpiece by jog operation.
2 Display the Output Signal screen for Touch Sensing Output signal set by Procedure 39-1 (If port type
is DO, display Digital Output Signal screen). Move the cursor on the line of the port number for Touch
Sensing Output signal and then press F4, ON key. The signal is output and Touch Sensing circuit
becomes Enabled.
3 Jog the robot and touch the touch sensor part to the workpiece. In this operation, you must set low
override value.
4 Display the Input Signal screen for Touch Sensing Detect signal set by Procedure 39-1 (If port type is
DI, display Digital Input Signal screen). Next, check the status of port number for Touch Sensing Input
signal. If the status is ON, Touch Sensing will correctly work. If the status is OFF even when the touch
sensor part touches to the workpiece, please check hardware connection or assignment of Touch
Sensing I/O by Procedure 39-1.
5 Move the cursor on the output signal set ON by Step 2 and then press F5, OFF.
WARNING
If Touch Sensing Output signal is set to ON by Step 2, current flow is generated in
Touch Sensing Circuit. Therefore, do not touch the touch sensor part (on ArcTool,
the top of wire). Additionally, do not forget to return the output signal to OFF.
- 368 -
B-83284EN-2/05 39. TOUCH SENSING
NOTE
You can set up a maximum of 32 touch frames for each robot group. Touch frames
are set up using the touch frame screen in the Setup menu.
NOTE
You must define a touch frame before you perform a search motion in a program.
There are two ways to define touch frames: The teaching method and the direct entry method. The teaching
method defines the touch frame by recording three points. The direct entry method defines the touch frame
by the rotation angle value you enter in the touch sense setup screen.
Normally, Reference Group in Touch frame setup screen should be the same group number with Robot
Group (Touch frame relates to the WORLD frame of the robot).
In coordinated motion system, if you want to define touch frame to the coordinated (reference) group, you
should set leader group number to Reference Group and follower group number to Robot Group.
Table 39.3 lists and describes the items you must set to define the touch frame. About more detail, refer to
Section 39.10.
Table 39.2 Touch frame setup items
ITEM DESCRIPTION
Frame Number This item specifies the number of the touch frame you want to define.
Reference Group This item specifies the reference group you want to make the relationship to
Touch Frame.
Normally, you should set the same group number of below Robot Group item.
If you want to perform Coordinated Touch Sensing, setup the item by referring to
Section 39.10.
Robot Group This item specifies a motion group for which the touch frame is used. You cannot
select non-robot group (Ex: positioner group).
In single group system, always 1 should be set.
- 369 -
39. TOUCH SENSING B-83284EN-2/05
ITEM DESCRIPTION
Direct Entry (Procedure 39-4)
Rotate about X This item specifies the rotation about X for the touch frame.
Rotate about Y This item specifies the rotation about Y for touch frame.
Rotate about Z This item specifies the rotation about Z for touch frame.
Teach Method (Procedure 39-3)
Origin This item allows you to record the origin of the touch frame.
+X direction This item allows you to define the +X direction of the touch frame.
+Y direction This item allows you to define the +Y direction of the touch frame.
Use Procedure 39-3 to define your touch frame by using the teaching method. Use Procedure 39-4 to define
your touch frame by using the direct entry method.
Teach Method:
Origin : UNINIT
+X direction : UNINIT
+Y direction : UNINIT
5 Move the cursor to Robot Grp. Enter the robot group number and press [ENTER] key.
6 Move the cursor to Frame Number. Enter the number of the frame to define and press [ENTER] key.
7 Move the cursor to Ref Grp. Normally, enter the group number which is the same as Robot Group item,
and then press ENTER. If you want to perform Coordinated Touch Sensing, enter the group number of
leader group.
8 Define the origin point of the Touch Frame.
a Move the cursor to Origin.
b Jog the Robot TCP to the desired starting point (origin).
c Press F2, RECORD. (Then, UNINIT will be changed to RECORDED.)
9 Define the +X direction.
a Move the cursor to +X direction.
b Jog the robot TCP to a point along the +X axis of the touch frame.
c Press F2, RECORD.
10 Define the +Y direction.
a Move the cursor to +Y direction.
b Jog the robot in the +Y direction of the touch frame, to a point on the X-Y plane.
c Press F2, RECORD.
11 Press F5, DONE to complete the definition of the frame. (Then, RECORDED will be changed to
USED.)
- 370 -
B-83284EN-2/05 39. TOUCH SENSING
Teach Method:
Origin : UNINIT
+X direction : UNINIT
+Y direction : UNINIT
5 Move the cursor to Robot Grp. Enter the robot group number and press ENTER.
6 Move the cursor to Frame Number. Enter the number of the frame to define and press ENTER.
7 Move the cursor to Ref Grp. Normally, enter the group number which is the same as Robot Group item,
and then press ENTER. If you want to perform Coordinated Touch Sensing, enter the group number of
leader group.
8 Define the rotation angle about X.
a Move the cursor to Rotate about X.
b Enter the value (in degrees).
9 Define the rotation angle about Y.
a Move the cursor to Rotate about Y.
b Enter the value (in degrees).
10 Define the rotation angle about Z.
a Move the cursor to Rotate about Z.
b Enter the value (in degrees).
11 Press F5, DONE to complete the definition of the frame. (UNINIT will be changed to USED.)
CAUTION
Do not forget DONE operation at the last timing of Procedure 39-3 and 39-4. If you
forget this operation, touch frame can not be defined.
NOTE
If you change the value of Ref Grp for an initialized frame at Step 7 of Procedure
39-3 and 39-4, the following warning message will be displayed:
- 371 -
39. TOUCH SENSING B-83284EN-2/05
Search Pattern
Four types of search patterns are available. You should select one of following search patterns by the shape
of workpiece.
- Simple search
- Fillet/lap search
- V-Groove search
- Outside/inside diameter search
By selected search pattern, the position data type stored to a position register is defined. The type becomes
Absolute position or offset value.
If you select Fillet/lap search, you should also select search type by the possibility of shift directions of
workpiece.
Simple Search
For a simple search, a two-dimensional search is executed to find the actual location of one position on a
workpiece. A simple search stores the found absolute position (x, y, z, w, p, r) into a position register PR[ ].
Once completed, the robot is programmed to move to the position stored in that position register.
The first search defines the positional information for that search direction only (x, for example). The
second search defines the other direction positional information (z, for example). The starting position of
the second search defines the remaining positional information, (y, w, p, r, for example) that determines the
torch angle for welding and, in this case, the Y value.
Simple search is typically used to find the starting point of a weld path that uses the Thru-Arc Seam
Tracking (TAST) option or Automatic Voltage Control (AVC) Tracking option.
A two-dimensional search is programmed in the software as the only valid search pattern type when a
simple search is used. Changing the search pattern type has no effect.
WARNING
Do not use simple search when you use the multipass option with touch sensing
because both simple search and multipass use position registers. Simple search
stores the computed position in a position register. Multipass cannot use position
registers to plan paths. Use the 2D fillet search pattern when using multipass with
touch sensing.
See Fig. 39.3(a) for an illustration of a simple search routine. Refer to Section 39.5 for example programs
using simple search.
- 372 -
B-83284EN-2/05 39. TOUCH SENSING
Fig. 39.3 (a) Simple search routine using searches in two directions
Fillet/Lap Search
For Fillet/Lap Search a one, two, or three-dimensional searches are executed to obtain positional offset
information. Fillet/Lap Search stores positional offset information in a positional register PR[ ]. This offset
can be applied to one or more positions in a programmed path.
1D Shift, 2D Shift, 3D Shift, 1D + Rot, 2D + Rot, 3D + Rot can be used as Search Pattern Type for
Fillet/Lap Search. You can offset for on, two or three dimensions. Additionally, rotational offset for
compensation can be also used.
For example, when 1D + Rot is selected as Search Pattern Type, the fillet search can offset for a rotation
about Z by searching 2 points to X direction. Note that is this type of search, the first touch point is used as
the arc start point. See Fig. 39.3(b).
X SEARCH 1
X SEARCH 2
Fig. 39.3 (b) Fillet search in one direction (x) with rotation about z
When 2D + Rot is selected as Search Pattern Type, the fillet search can offset for a rotation about Z by
searching 2 points per one direction to X and Y directions. See Fig. 39.3(c).
- 373 -
39. TOUCH SENSING B-83284EN-2/05
Y SEARCH 1
Y SEARCH 2
X SEARCH 1
X SEARCH 2
Fig. 39.3 (c) Fillet search in two directions (X and Y) with rotation about Z
When 3D + Rot is selected as Search Pattern Type, the fillet search can offset for rotations about all
directions by searching 3 points to another direction in addition to 2D + Rot search motion. See Fig. 39.3(d).
Taught Path
Z SEARCH 1
Z SEARCH 3
Y SEARCH 1
Z SEARCH 2
Y SEARCH 2
Taught Path
X SEARCH 1
X SEARCH 2
TOP VIEW
Fig. 39.3 (d) Fillet search in three directions (X, Y, Z) with rotation about all directions
V-Groove Search
For V-Groove Search a one-dimensional search is executed to obtain positional offset information. A
V-Groove Search stores positional offset information in a positional register [PR]. This offset can be
applied to one or more positions in a programmed path. Only 1D Search Pattern Type is allowed for
V-Groove Search.
See Fig. 39.3(e) for an illustration of a V-Groove Search. Refer to Section 39.6 for example programs using
V-Groove Search.
- 374 -
B-83284EN-2/05 39. TOUCH SENSING
Table 39.4 shows a matrix of possible search pattern and valid pattern types. Select a combination that you
would like to use on your application and verify that it will provide the proper results.
- 375 -
39. TOUCH SENSING B-83284EN-2/05
Thirty-two touch schedules are available. You can access touch schedules from the DATA menu. There are
two screens associated with touch schedules: the SCHEDULE screen and the DETAIL screen.
The SCHEDULE screen allows you to view and set limited information for all schedules at once. DETAIL
allows you to view and set the complete information for a single schedule.
Table 39.4 lists and describes each DETAIL screen condition. The items of SCHEDULE screen are also
included in touch sensing DETAIL screen.
Use Procedure 39-5 to define touch schedules.
CAUTION
A search motion is programmed as a motion option at the end of a
motion instruction. The speed at which the robot will move is
determined by the search speed, not by what is indicated in the
motion instruction. During testing, when dry run is in effect, this
search speed is also used. The dry run speed has no effect.
Search Distance This item defines how far the robot can move when it is performing a search. Error code
Default = 100 mm “THSR-017 No contact with part.” is posted when this distance is reached without making
contact with the workpiece.
Touch Frame This item defines the touch frame number to be used in the touch schedule. This
Default = 1 determines the X, Y, and Z directions for the search motion. The same touch frame can be
used in more than one touch schedule.
Search Pattern This item defines the type of object to be searched and causes the ArcTool software to
Default = SIMPLE compute the found position or positional offset information dependent on the search
pattern selected. The computed data is stored in a position register.
There are four available search patterns:
- Simple Search
- Fillet/Lap Search
- V-Groove Search
- OD/I D Search
About more detail, refer to the Section 39.4.
- 376 -
B-83284EN-2/05 39. TOUCH SENSING
ITEM DESCRIPTION
Pattern Type This item selects the type of offset to be stored in the position register with Fillet/Lap
Default = 1_D Shift Search Pattern. Six pattern types are available:
• 1_D Shift Stores a one-dimensional offset. Offsets can be in the X, Y, or Z direction.
• 2_D Shift Stores a two-dimensional offset. Offsets can be in two of the X, Y, or Z direction.
• 3_D Shift Stores a three-dimensional offset to a program. Offsets are in the all of X, Y, and Z
directions.
• 1_D + Rot Stores a one-dimensional offset with rotation about the axis of which the search is not
performed.
• 2_D + Rot Stores a two-dimensional offset with rotation about the axis of which no searches are
performed. For example, if the workpiece is being searched for an offset in both the X and
Y directions, a 2_D Shift & Rotate search can offset for a rotation about the z axis. Stores
• 3_D + Rot a three-dimensional offset with rotation about the all axes are performed.
NOTE: Simple, OD/ID, and V-Groove search patterns are pre-defined. Changing the
pattern type for these searches has no effect. See Table 39.4 for valid pattern
types for selected search patterns.
Incremental Search Offsets the starting position of the second etc. search in a search routine by the amount of
Default = ON offset found by the first search motion. If set to OFF, the robot returns to the original
starting position. The following illustration shows how the incremental search affects the
search routine. Incremental search requires a different position number for each search.
Without incremental search, the robot found the X-offset but cannot find the Z-offset.
NOTE
Simple search does not support incremental search.
Auto Return This item moves the robot back to the search start position when contact is made with the
Default = ON object. If set to OFF, the robot stops at the contact point and moves straight to the next
position.
Return Speed This item specifies the speed at which the robot will return to the search start position upon
Default = 100 mm/sec making contact with the part.
Return Distance When Auto Return is set to ON, Return Distance specifies the distance the robot will return
Default = 2000 mm automatically. If the return distance passes the initial search start position, the robot will
return to the initial start position.
- 377 -
39. TOUCH SENSING B-83284EN-2/05
ITEM DESCRIPTION
Reference Group This item specifies how the offset is recorded.
When Search Pattern is not Simple Search, you should specify the same group number as
Ref Grp on selected Touch Frame.
When Search Pattern is Simple Search, you should specify the same group number as
Robot Group item on this schedule.
NOTE
When search pattern is not simple search, if Reference Group is not
equal to Ref Grp on Touch Frame, an error message "THSR-039
Reference grp mismatch," will be posted.
When search pattern is simple search, if Reference Group is not the
same as the specified number of Robot Group on this touch schedule,
an error message, "THSR-037 Illegal motion ref. grp," will be posted.
Return Term Type This item specifies the termination type the robot will use to return to the search start
Default = FINE position. Four Return Term Types are available:
- FINE
- CNT20
- CNT40
- CNT100
Contact Record PR The search output position register is used as a temporary buffer to hold the last search
Default = 32 contact position. The purpose for this temporary position register buffer is to provide the
ability to look at the positional data of an individual search, or to extract data from the
buffer in a program. By default, this register is position register 32.
CAUTION
The data in the position register is overwritten at each search motion
so the same position register should not be used to store the final
positional data from the search motion. Also, the contents of this
temporary buffer is a real position, not an offset. Do not program
motion instructions to use this position register data as an offset.
Error on Failure This item posts error code “THSR - 017 No contact with part”, if the search move exceeds
Default = ON the distance set in Search Distance. When this item is OFF, the program execution
continues with the next instruction even if the Search Distance is exceeded.
Programming Hint: If this is set to OFF, the next instruction in the program looks at the
contents of the Error Register and branch accordingly.
Error Register Number When Error On Failure is set to OFF, this register is set to 1 when the search distance is
Default = 32 exceeded. A successful search sets this register to 0.
Robot Group This item specifies the robot group that uses the touch sensing schedule.
Default = [1,∗,∗,∗,∗,∗,∗,∗]
- 378 -
B-83284EN-2/05 39. TOUCH SENSING
3 Select Touch Sched. You will see a screen similar to the following.
d Enter the schedule number to which you want to copy the data.
e Press ENTER. The data will be copied, but the comment will not be copied.
5 To clear the information you have entered for a schedule:
a Move the cursor to the schedule.
b Press NEXT key.
c Press F3, CLEAR. Following message is displayed. If F4, Yes is pressed, the data will be cleared,
but the comment will remain.
Clear this schedule? [NO]
Yes No
- 379 -
39. TOUCH SENSING B-83284EN-2/05
NOTE
Touch Schedule is only for defining method of Touch Sensing, and information of
master positions is never saved on Touch Schedule (the information is saved on
TP program). Therefore, you can use one Touch Schedule in multiple programs
and multiple places.
WARNING
Recorded positions and position registers are affected by UFRAME, and
UFRAME has an affect during playback. If you change UFRAME, any recorded
positions and position registers will also change.
NOTE
Any changes to the tool frame affects the search start position.
Additionally, following instruction is used as additional motion instruction between Search Start – Search
End instructions.
- Search [ ] (Search instruction)
CAUTION
Do not use Replace in (EDCMD) menu on program edit screen to the program that
has Touch Sensing instructions. This will cause memory write error. If you want to
replace motion instructions, insert Touch Sensing instructions after deleting the
motion instruction that you want to replace.
- 380 -
B-83284EN-2/05 39. TOUCH SENSING
One Search End instruction is required for one Search Start instruction. If you want to execute Search Start
instruction again for new search motion, you must execute Search End instruction for finishing previous
search motion.
Search End
Example 1: Search End
Search instruction must be taught between this Search Start instruction and Search End instruction.
Step
1 Press [NEXT] key and press F1, INST. Following menu will be displayed.
Instruction 4
1 Stick Detect
2 String
3 Touch Sensor
4
5
6
7
8
9
0 --next page--
2 Select Touch Sensor. List of touch sensing instructions are displayed. If you teach Search Start
instruction, select Search Start.
- 381 -
39. TOUCH SENSING B-83284EN-2/05
Touch Sensor 1
1 Search Start
2 Search End
3 Touch Offset
4 Touch Offset End
5
6
7
8
3 Enter Touch Schedule number to [] just after Search Start. Additionally, enter position register number
to [] of PR.
4 If you teach Search End instruction, select Search End on Step 2.
Search Instruction
There is one Touch Sensing motion option: Search [ ]..The Search [ ] motion option directs the motion of the
robot (in a positive or negative X,Y or Z direction) to search for the object. The X, Y and Z vectors are
defined by the touch frame assigned in the touch schedule.
The taught position in motion instruction that has the search instruction does not has actual meaning, so
motion to the search start position must be taught by a separate motion instruction. See Fig. 39.6(c).
Additionally, motion speed in motion instruction that has the search instruction does not have actual
meaning, either. Instead of this, Search Speed in Touch Schedule (refer to Table 39.5) is used as motion
speed. When the touch sensor part touches the workpiece during Search Motion, current position is
recorded to Contact Record PR.
TOUCH_SENSING_1
13/13
3:J P[2] 50% FINE Move to Search Start Position
4:J P[3] 50% FINE Search[-X] Search Motion (P[3] is never used)
[End]
Fig. 39.5(c) Program example using search instruction as additional motion instruction
Motion Modify 1
1 No option
2 Weld Start[ ]
3 Search
4 Weld End[ ]
5 ACC
6 Skip,LBL[]
7 BREAK
8 --next page--
4 Select Search.
5 Select the direction of the search to be performed and press [ENTER] key.
- 382 -
B-83284EN-2/05 39. TOUCH SENSING
Search 1
1 X
2 Y
3 Z
4 -X
5 -Y
6 -Z
7
8
CAUTION
Teach Search instruction at the last position of additional motion instruction.
Additionally, motion instruction for moving to search start position (motion
instruction which is taught just before motion instruction which has Search
instruction) must use FINE termination type. If CNT termination type is used for
their instructions, correct offset information cannot be calculated.
Step
1 Press [NEXT] key and press F1, INST. Following menu will be displayed.
Instruction 4
1 Stick Detect
2 String
3 Touch Sensor
4
5
6
7
8
9
0 --next page--
- 383 -
39. TOUCH SENSING B-83284EN-2/05
2 Select Touch Sensor. List of touch sensing instructions are displayed. If you teach Touch Offset Start
instruction, select Touch Offset.
Touch Sensor 1
1 Search Start
2 Search End
3 Touch Offset
4 Touch Offset End
5
6
7
8
CAUTION
Do not use CALL instruction between Touch Offset Start – End instructions. On
the motion instructions after the execution of CALL instruction, Touch Offset
becomes invalid.
Since this is a real position, the robot will be commanded to move to the position in the position register.
Example: J PR [4] 100% FINE Weld Start [1,1]
Above example shows where position register 4 is the position register specified in the simple search
routine.
SIMPLE_SEARCH
13/13
1:J P[1] 50% FINE Teach Home Position
2: Search Start[4] PR[4] Start Search Motion. Use Touch Sch 4, PR[4]
3:J P[2] 50% FINE Teach a search start position
4:J P[3] 50% FINE Search[Y] Search to Y direction
5:J P[4] 50% FINE Search[-Z] Search to -Z direction
6: Search End Finish Search Motion
7:J PR[4] 50% FINE Move the robot to PR[4] position,
: Weld Start[1,1] And start Arc Welding
- 384 -
B-83284EN-2/05 39. TOUCH SENSING
1D_SEARCH
12/13
1:J P[1] 50% FINE Teach Home Position
2: Search Start[1] PR[1] Start Search Motion. Use Touch Sch 1, PR[1]
3:J P[2] 50% FINE Teach a search start position
4:J P[3] 50% FINE Search[Y] Search to Y direction
6: Search End Finish Search Motion
7:J P[4] 50% FINE (If needed) Teach an intermediate point
9: Touch Offset PR[1] Following points will be offset by PR[1]
10:J P[5] 100mm/sec FINE P[5] is offset by PR[1]
: Weld Start[1,1]
11:L P[6] 80cm/min FINE P[6] is offset by PR[1]
: Weld End[1,2]
12: Touch Offset End Finish offset of positions
Fig. 39.5(g) Program example of 1D search (Fillet/Lap search and V-Groove search)
2D_SEARCH
12/13
1:J P[1] 50% FINE Teach Home Position
2: Search Start[1] PR[2] Start Search Motion. Use Touch Sch 1, PR[2]
3:J P[2] 50% FINE Teach a search start position
4:J P[3] 50% FINE Search[Y] Search to y direction
5:J P[4] 50% FINE Teach an another search start position
6:J P[5] 50% FINE Search[X] Search to X direction
7: Search End Finish Search Motion
8:J P[6] 50% FINE (If needed) Teach an intermediate point
9: Touch Offset PR[2] Following points will be offset by PR[2]
10:L P[7] 100mm/sec FINE P[7] is offset by PR[2]
: Weld Start[1,1]
11:L P[8] 80cm/min FINE P[8] is offset by PR[2]
: Weld End[1,2]
12: Touch Offset End Finish offset of positions
2D+ROT_SEARCH
25/26
1:J P[1] 50% FINE Teach Home Position
2: Search Start[3] PR[3] Start Search Motion. Use Touch Sch 3, PR[3]
3:J P[2] 50% FINE Teach a search start position
4:J P[3] 50% FINE Search[X] Search to X direction
5:J P[4] 50% FINE Teach an another search start position
6:J P[5] 50% FINE Search[X] Search to X direction
7:J P[6] 50% CNT100 Teach an intermediate position
8:J P[7] 50% FINE Teach an another search start position
9:J P[8] 50% FINE Search[Y] Search to Y direction
10:J P[9] 50% FINE Teach an another search start position
11:J P[10] 50% FINE Search[Y] Search to Y direction
12: Search End Finish Search Motion
13:J P[1] 50% FINE Move to Home Position
14: Touch Offset PR[3] Following points are offset by PR[3]
15:L P[11] 100mm/sec FINE P[11] is offset by PR[3]
: Weld Start[1,1]
16:L P[12] 80cm/min CNT100 P[12] is offset by PR[3]
17:L P[13] 80cm/min FINE P[13] is offset by PR[3]
: Weld End[1,2]
18: Touch Offset End Finish offset of positions
- 385 -
39. TOUCH SENSING B-83284EN-2/05
3D+ROT_SEARCH
25/26
1:J P[1] 50% FINE Teach Home Position
2: Search Start[3] PR[3] Start Search Motion. Use Touch Sch 3, PR[3]
3:J P[2] 50% FINE Teach a search start position
4:J P[3] 50% FINE Search[X] Search to X direction
5:J P[4] 50% FINE Teach an another search start position
6:J P[5] 50% FINE Search[X] Search to X direction
7:J P[6] 50% CNT100 Teach an intermediate position
8:J P[7] 50% FINE Teach an another search start position
9:J P[8] 50% FINE Search[Y] Search to Y direction
10:J P[9] 50% FINE Teach an another search start position
11:J P[10] 50% FINE Search[Y] Search to Y direction
12:J P[11] 50% CNT100 Teach an intermediate position
13:J P[12] 50% FINE Teach an another search start poison
14:J P[13] 50% FINE Search[Z] Search to Z direction
15:J P[14] 50% FINE Teach an another search start poison
16:J P[15] 50% FINE Search[Z] Search to Z direction
17:J P[16] 50% FINE Teach an another search start poison
18:J P[17] 50% FINE Search[Z] Search to Z direction
19: Search End Finish Search Motion
20:J P[1] 50% FINE Move to Home Position
21: Touch Offset PR[3] Following points are offset by PR[3]
22:L P[18] 100mm/sec FINE P[18] is offset by PR[3]
: Weld Start[1,1]
23:L P[19] 80cm/min CNT100 P[19] is offset by PR[3]
24:L P[20] 80cm/min FINE P[20] is offset by PR[3]
: Weld End[1,2]
25: Touch Offset End Finish offset of positions
CAUTION
For Fillet/Lap, V-Groove, OD/ID search pattern programs, you should perform
Search Motion (Search Start – Search End section) first with Master Flag ON to
saving information of master positions into TP program. You must establish
master positions for all search motion. Then execute Touch Sensing program with
Master Flag OFF.
If the program has ever been executed with Master Flag ON, the Touch Sensing
program cannot work correctly (Refer to Section 39.6).
- 386 -
B-83284EN-2/05 39. TOUCH SENSING
NOTE
A simple search does not require mastering since it produces an absolute position
stored in a position register.
Step
1 Display Touch Schedule Detail screen for used Touch Schedule number by referring to Procedure
39-5.
2 Move the cursor on Master Flag and then press F4, ON. Master Flag becomes ON.
3 Display the program edit for mastering.
4 Execute program between Search Start – Search End instruction (it is also OK with Single Step).
Mastering position is stored to the TP program. Then, data in specified position register in Search Start
instruction become all zero.
5 Display Touch Schedule Detail screen, move the cursor on Master Flag, and then press F5, OFF.
Master Flag becomes OFF.
NOTE
Incremental search is disabled while the Master Flag is turned ON. If incremental
search is not performed, check Master Flag.
- 387 -
39. TOUCH SENSING B-83284EN-2/05
2D_FILLET_SEARCH
12/13
1:J P[1] 50% FINE
2: Search Start[3] PR[1]
3:J P[2] 50% FINE
4:J P[3] 50% FINE Search[X]
5:J P[2] 50% FINE
6:J P[4] 50% FINE Search[-Z]
7: Search End
8:
9: Touch Offset PR[1]
10:J P[5] 50% FINE
11:L P[6] 50cm/min CNT100
12:L P[7] 50cm/min FINE
13: Touch Offset End
Fig. 39.6(c) Part with one touch start position, 2, and three points along a path, 5, 6, 7
• After finishing Mastering, Mastering position and current position (Offset position) obtained by
Search Motion are compared and offset data is calculated when Search Motion (between Search Start
– End instruction) is performed with Master Flag OFF. The offset data obtained by this Search Motion
becomes relative data between Mastering position and Offset position.
• After the execution of Search End instruction, offset data is set to position register specified on Search
Start instruction.
- 388 -
B-83284EN-2/05 39. TOUCH SENSING
• After that, compensated motion for current workpiece position is done by applying offset data to all
motion instruction placed between Touch Offset Start – End instructions (position 5, 6 and 7 on
Program Example).
Remastering
The touch up procedure described in Section 39.8 should work for most instances where the search start
positions do not need to be moved or if the parts do not change drastically.
Remastering is required if the search start positions must be taught again. If the path must be altered
significantly, it is recommended to remaster to ensure a correct path.
The procedure of Remastering is not different from normal Mastering (refer to Procedure 39.9). After
finishing Remastering, turn Master Flag OFF.
- 389 -
39. TOUCH SENSING B-83284EN-2/05
Fig. 39.7 (b) New master path after touch up of position 6 and 7
Procedure 39-10 shows the method to touch up the robot on Touch Sensing program. Additionally, Fig.
39.8(c) shows the example which requires Procedure 39-10 during touch up.
2D_FILLET_SEARCH
9/14
9: Touch Offset PR[1]
10:J P[5] 50% FINE When you touch up these positions,
11:L P[6] 50cm/min CNT100 Procedure 39-10 is required.
12:L P[7] 50cm/min CNT100
13: Touch Offset End
Step
1 Execute Search Motion (between Search Start – End instructions) and store the offset data to position
register.
2 Execute Touch Offset Start instruction.
3 Forward the program to motion instruction whose position is required to touch up with Single Step.
4 Jog the robot to the position which you want to touch up. Then, move the cursor to position number of
current line and press [SHIFT] key and F5, TOUCHUP key. Touch up is done.
5 Touch up all required position between Touch Offset Start – End instructions by Step 4.
CAUTION
Do not touch up after BWD execution during execution between Touch Offset
Start – End instructions with Single Step. Otherwise, offset data will become
wrong value.
- 390 -
B-83284EN-2/05 39. TOUCH SENSING
Incorrect Touch Up
A common error is to alter the path without the correct offset being applied. Touch up must be done after
executing the search and while the Touch Offset is applied.
An example of an incorrect touch up is as follows:
- Execute the program without executing Search Motion.
- Perform touch up the positions between Touch Offset Start – End instructions without executing
Touch Offset Start instruction.
- Perform touch up with the position register which has incorrect offset data.
If incorrect touch up is performed, new master position become wrong. Therefore, you cannot obtain the
correct compensated path even if Search Motion and Touch Offset are properly done.
Fig. 39.7(e) Moving a search start position along the search direction
- 391 -
39. TOUCH SENSING B-83284EN-2/05
Fig. 39.7(f) Search start position Is separated from original search direction axis
The following program example shown in Fig. 39.9(a) shows two searches that can be performed for
complex shapes. When search is performed for that complex workpiece, Search Motion may not be able to
complete by one Touch Frame. Therefore, multiple searches are required.
- The first search stores the offset data in position register 1 with positions 10, 11, 12 using the offset.
- The second search stores offset data in position register 2 with positions 13, 14, 15 using the offset.
MULTIPLE_SEARCHES
25/26
1:J P[1] 50% FINE
2: Search Start[3] PR[1]
3:J P[2] 50% FINE
4:J P[3] 50% FINE Search[X]
5:J P[4] 50% FINE Search[-Z]
6: Search End
7:J P[5] 50% FINE
8: Search Start[4] PR[2]
9:J P[6] 50% FINE
10:J P[7] 50% FINE Search[-X]
11:J P[8] 50% FINE
12:J P[9] 50% FINE Search[-Z]
13: Search End
14:
15: Touch Offset PR[1]
16:J P[10] 50% FINE
17:L P[11] 50cm/min CNT100
18:L P[12] 50cm/min CNT100
19: Touch Offset End
20:
21: Touch Offset PR[2]
22:J P[13] 50% FINE
23:L P[14] 50cm/min CNT100
24:L P[15] 50cm/min CNT100
25: Touch Offset End
If a position of the taught path is to be touched up, the corresponding search must be performed.
- 392 -
B-83284EN-2/05 39. TOUCH SENSING
- 393 -
39. TOUCH SENSING B-83284EN-2/05
Additionally, “Ref Grp” number and “Robot Grp” number on Touch Frame must be also entered on Touch
Schedule. Set the robot group for Touch Sensing to “Robot Group Mask” item in Touch Schedule Detail
screen. Next, enter Touch Frame number to “Touch Frame” item. Then, enter the same number as “Ref
Grp” number (Leader group number) on Touch Frame to “Reference Group” item.
Fig. 39.9(c) Setup example of touch frame and touch schedule (Coord, except simple search)
Fig. 39.9(d) is the program example. Search direction is derived from the direction of leader group
(positioner in the figure). Even if leader group moves, search direction is not changed relatively. It is also
possible to teach the motion instruction which is not related to Search Motion (refer to Line 7 of Fig.
39.9(d)). The offset data obtained by Search Motion is compensated by the direction of leader group.
- 394 -
B-83284EN-2/05 39. TOUCH SENSING
NOTE
When reference group setup is performed for coordinated motion, mastering
information of all groups related to reference group are stored in TP program. If
you change reference group on Touch Frame or Touch Schedule, please perform
remastering.
In Touch Schedule for Simple Search, reference group number must be the same number as Robot Group
Mask.
Following Fig. 39.9(e) is the program example of Simple Search with coordinated motion.
CAUTION
Search Motions and Touch Offsets for coordinated motion cannot be mixed with
non-coordinated motion. That is, you cannot do searches for coordinated motion,
then do searches for non-coordinated motion, and then use the offset from the
coordinated motion search. You must use the offsets for coordinated motion
searches before doing any non-coordinated searches. Similarly, you must use any
offsets from non-coordinated motion searches before doing any coordinated
motion searches.
NOTE
The leader group is not allowed to move between the searches.
- 395 -
40. TOUCH SKIP FUNCTION B-83284EN-2/05
Note that system variable $MISC_MSTR.$HPD_ENB must be TRUE when Touch skip is used. (This
variable is FALSE by default.)
If $MISC_MSTR.$HPD_ENB is not TRUE, please set it to TRUE by system variable screen or parameter
instruction, and cycle power.
• Show Touch skip screen by the operation of [MENU] key → "SETUP" → F1 key → "Touch Skip".
Sch.No. [10]
Max. threshold(A)/ Min. threshold(A)
J1: 0.00,[dis ]/ 0.00,[dis ]
J2: 0.00,[dis ]/ 0.00,[dis ]
J3: 17.80,[enb ]/ 0.00,[dis ]
J4: 0.00,[dis ]/ 0.00,[dis ]
J5: 0.00,[dis ]/ -1.78,[enb ]
J6: 0.00,[dis ]/ 0.00,[dis ]
[TYPE]
In the example above, a condition of "J3 disturbance is larger than 17.8[A] or J5 disturbance is smaller than
–1.78[A]" is set.
• SETSKCOL(s, g)
This is a program to set schedule No. [s], which is set on touch skip screen, to threshold of group [g].
- 396 -
B-83284EN-2/05 40. TOUCH SKIP FUNCTION
• CLSKP_Gg
These are programs to set skip condition as "disturbance exceeds threshold in an axis of group [g]".
AAA
3/178
3: CALL SETSKCOL(10,1)
4: CALL CLSKP_G1
5:
6: J P[12] 10% CNT3 Skip,LBL[9],
: PR[5]=LPOS
7: JUMP LBL[8]
8:
9: LABEL[8:detected touch]
10: J P[13] 10% FINE
11: PAUSE
12:
13: LABEL[9:did not detect touch]
14: J P[14] 10% FINE
[CHOICE]
• In line3, schedule No. [10] which is set on touch skip screen is set on threshold of group [1].
• In line4, skip condition "disturbance exceeds threshold in an axis of group [1]" is set.
Same as SKIP CONDITION instruction, this condition has been effective until program ends or
another condition is set.
• A motion with high-speed skip instruction in line6 works all the same as high-speed skip instruction of
standard function.
When disturbance exceeds threshold in an axis of group [1], the robot stops and then the next line
(line7) is executed.
When disturbance does not exceed threshold in any axis of group [1] and the robot reaches destination
point, the jump to the label [9] is executed.
40.3 CAUTIONS
• To decrease impact of stopping when skip condition is satisfied, speed limit is set for the motion with
touch skip instruction. The speed limit is adjusted for each robot models. When taught speed exceeds
the limit, speed limit works automatically. When speed limit works, the following warning is
displayed.
• Some robot models decreased stop when high-speed skip instruction is executed. With such a robot,
touch skip function can not be used. When touch skip function is executed with such a robot, the
following alarm is displayed.
• Touch skip can not be used with skip instruction (Skip, LBL). When touch skip is executed with skip
instruction (Skip, LBL), the following alarm is displayed. When you use touch skip function, you must
teach high-speed skip instruction (Skip, LBL, PR).
- 397 -
41. MROT INSTRUCTION B-83284EN-2/05
41 MROT INSTRUCTION
MROT (Minimal Rotation) is a motion option to be used with the Joint motion type, or Cartesian motion
with the WJNT option. It generates the shortest joint angle move for the wrist axes within axes limits during
Joint and WJNT motion, and ignores the turn numbers of the wrist. For example, the start and destination
angles are 150° and -130°, respectively. In the case, the shortest move is the motion from 150° to 230°.
Because, 230° and -130° are the same position for the axis physically.
41.2 LIMITATIONS
The MROT motion option has following limitations.
• This function is supported only in Handling Tool.
• Before MROT can take effect, the destination position of the Joint or WJNT motion must be
represented in Cartesian space. Otherwise, if the destination position is represented in Joint angles, the
system will attempt to reach the specified destination joint angles regardless of the MROT option.
• MROT generates shortest joint move within axes limits. For example, the upper limit of wrist axis is
180°, and the start and destination angle are 150° and -130°, respectively. In this case, a warning
massage "MOTN-330 MROT Limit Warn" will be posted and the axis will move from 150° to -130°.
Because 230° is out of limit.
• Single step Backward motion may not be the same as forward motion.
- 398 -
B-83284EN-2/05 41. MROT INSTRUCTION
For example:
1: J P[1] 100% FINE
2: J P[2] 100% FINE MROT
3: J P[3] 100% FINE
If the actual reached joint angles at P[2] are different from the taught joint angles (in terms of turn
number), then backward motion from P[3] to P[2] would be different from the forward motion from
P[2] to P[3]. Because the backward motion from P[3] to P[2] is not MROT motion, the arrival position
is taught position of P[2].
- 399 -
42. ROBOT ISOLATION FUNCTION B-83284EN-2/05
This function is usable if the hardware of the switch for Robot Isolation is attached. No software option is
required.
42.1.1 Specification
• Isolated state
Robot turns into machine lock state by isolating. Servo power is turned off and robot comes into
unmoving state. And the user can’t teach new point to isolated robot. By unlocking isolated state, robot
turns into normal state.
• Method of operating
Isolation switch is prepared up to 4 on the operation panel. And by Isolation switch, the user can
change certain robot state between isolated and connected. When robot is isolated, robot turns into
machine lock state after alarm is displayed. And when robot is connected, robot turns into normal state
after alarm is displayed.
NOTE
1 If robot state is changed from isolated to connected in power-off, robot remains in
machine lock state after power is turned on. In this instance, it is needed to change
robot state by the Teach Pendant to be normal state.
2 If robot state is changed from connected to isolated in power-off, robot turns into
machine lock state during power up after power is turned on.
• Setting
Each Isolation switch corresponds certain motion group. User can see correspondence between
Isolation switch and motion group by system variable $ROBOT_ISOLC.
$ROBOT_ISOLC have 4 alignment, and each one corresponds one Isolation switch. If the number of
Isolation switch is smaller than 4, $ROBOT_ISOLC alignments are available as many as the number of
Isolation switch, and the other alignments is ineffective.
SW1: $ROBOT_ISOLC[1]
SW2: $ROBOT_ISOLC[2]
SW3: $ROBOT_ISOLC[3]
SW4: $ROBOT_ISOLC[4]
For example, the default values of $ROBOT_ISOLC are set as the following, it is assumed that one
Isolation switch is equivalent to one motion group.
Example1 (Default)
SW1: $ROBOT_ISOLC[1] = 1
SW2: $ROBOT_ISOLC[2] = 2
SW3: $ROBOT_ISOLC[3] = 4
SW4: $ROBOT_ISOLC[4] = 8
- 401 -
42. ROBOT ISOLATION FUNCTION B-83284EN-2/05
Example 2
SW1: $ROBOT_ISOLC[1] = 5
SW2: $ROBOT_ISOLC[2] = 10
SW3: $ROBOT_ISOLC[3] = 0
SW4: $ROBOT_ISOLC[4] = 0
Then, the message that informs isolated group can’t be taught is displayed.
SYST-168 Robot(G:1) is isolated
SAMPLE1 Line 0 ABORTED JOINT 10%
SAMPLE1
1/2
1: J P[1] 100% FINE
2: J P[2] 100% FINE
[End]
POINT TOUCHUP
- 402 -
B-83284EN-2/05 43.ANTI-DEFLECTION FOR EXTERNAL FORCE
NOTE
Only M-900iB/700 is supported.
When robot is acted by external force, TCP is displaced by RV reducer torsion and so on. This function
estimates displacement of TCP and compensates it.
NOTE
No special hardware is required.
GETBQCUR ( n )
n: Group number of target robot.
CALTANG ( n, m )
n: Group number of target robot.
Set same number with group number assigned at GETBQCUR.
m: Position register number for output compensation amount
- 403 -
43.ANTI-DEFLECTION FOR EXTERNAL FORCE B-83284EN-2/05
SAMPLE_1
1/9 Assign approach direction.
L1: J P[1] 100% FINE Offset,PR[1] Approach direction is same with pressing direction. In
L2: J P[1] 100% FINE other word, approach direction is opposite to direction
of reactive force.
L3: CALL GETBQCUR(1) ÅGet data before
pressing
↓Compensation motion
L7: J P[1] 100% FINE Offset,PR[10]
CAUTION
Data type of compensation amount output at position register is JOINTPOS.
- 404 -
B-83284EN-2/05 43.ANTI-DEFLECTION FOR EXTERNAL FORCE
Step
1 Press [MENU] key.
2 Press [0 NEXT] and select [6 SYSTEM].
3 Press F1 [TYPE], and select [SYSTEM Variable] from the menu.
4 Place the cursor on $KAREL_ENB, then key in “1” and press [ENTER] key.
5 Select CALTANG of KAREL program in SELECT screen.
6 Press [DATA] key.
7 Press F1, [ TYPE ] and select “KAREL Vars”.
Please refer to Subsection 9.20.6 of B-83284EN R-30iB/R-30iB Mate Controller Operator’s manual
(Basic operation) for details of KAREL variable screen.
CAUTION
When restarting controller, listed above KAREL variables return to uninitialized
variables. These variables return to default when KAREL program CALTANG is
executed. If you want to use variables before restarting, please reconfigure it.
43.4 RESTRICTIONS
(1) It does not need to calculate compensation amount each time if the condition and motion is
thoroughly same. However, it is needed to calculate compensation amount periodically because
compensation amount changes depending on temperature and so on.
(2) It is needed to calculate compensation amount in the case where position is changed or approach
direction is changed.
(3) Accuracy of position at TCP is influenced by tool rigidity. If tool rigidity is low, that might prevent
to suppress the replacement of TCP.
(4) If offset_mode = 1, then this function does not work near singular points. In this case, ‘Convert
offset fail’ is displayed on status window.
- 405 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
You can setup buttons by setup screen. Labels and signals for example.
You can put buttons on panel to display and change value of I/O.
Please refer to Section 44.77 ”TYPE OF BUTTON” for type of buttons.
This function can use button (which can be pressed) and lamp (which cannot be pressed).
In this document both button and lamp are often referred as button.
Hardware Requirement
iPendant with touch panel is required.
- 406 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
Software Requirement
This function is optional (J741). This function is supported by system software version of 7DC2/02 or
later.
At first, there is no buttons on panels. You have to setup buttons to place them on panels.
Press F3 to display button type setup screen. You can select position you place button and type of button.
Properties of buttons are setup in button detail setup screen.
For button type setup screen and button detail setup screen, please refer to Section 44.4 and 44.6
respectively.
- 407 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
This section explains elements that compose panel and condition to press button.
Page number
It is number displayed on title bar. In the figure above, title bar displays 1/3. It means this is the 1st page
out of 3 pages.
Enable switch
This is a button that is on the 1st row and the last column (right upper corner). By default setting, you
have to turn on this button to press any button on panel.
When [SHIFT] key is not pressed, the button is displayed like the following figure.
When [SHIFT] key is pressed, the button is displayed like the following figure.
Panel enable switch is turned off when screen is changed. It is also true when page of pane is changed.
Please refer to section 44.9, “OPERATION CONDITION” for detail of operation condition and its setup
screen.
- 408 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
By default setting, operation condition of momentary button is checked only when it is pressed. Lamp
does not have operation condition setup screen because it cannot be pressed.
Button
Interface panel is grid like panel. On each tile, button can be placed. Each tile has position number.
Following figure shows position numbers of the 1st page of 7 column panel.
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 32 33 34
When you setup a button, you have to decide where to place it by selecting position number. Then type of
the button on the position must be set. After the button is setup by detail screen, the button is displayed on
panel on the position.
For setup, please refer to Section 44.3 ”INTERFACE PANEL SETUP SCREEN", 44.44 ” BUTTON
TYPE SETUP SCREEN" and 44.5 ”SETTING OF TYPE OF BUTTON”.
Error button
If setup is wrong, button is displayed as error button. They are similar to the following figure.
- The button displays position number and I/O that can not be read.
- If the button has 2 signals and both cannot be read, both signals are displayed.
Button type 3 (2 contact point switch) displays only the 1st signal if index of the 2nd signal is 0.
- Button type 6 and 7 (digital switch and digital lamp) displays only the 1st found signal that cannot
be read.
- If signal is specified and enabled as operation condition, and if the signal cannot be read, error
button is displayed
Signal for actual operation (output signal for example) is also wrong, it has priority.
- Press of the button displays detail setup screen.
F3 SETUP
Pressing the function key displays button type setup screen of the same page. For button type setup screen,
please refer to section 44.4, “BUTTON TYPE SETUP SCREEN”.
- 409 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
Miscellaneous setup
NOTE
Panel is setup for each language separately. When language is changed, setup
for new language is used. Suppose that you setup panel in English only. If you
change language to Japanese, there are no buttons on panels for Japanese.
Setup in External I/F panel and Misc. setup screen don’t depend on language.
You can display Interface panel setup screen by the following procedure.
1 Press [MENU] key.
2 Select SETUP.
3 Press F1 [ TYPE ].
4 Select I/F panel setup.
If this is the first visit to the screen since the last power up, you will see a screen similar to following
figure.
- 410 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
Numbers in white boxes show the type of button of the position. Number just above each white box is
position number.
Press of arrows on the right side of the screen changes pages.
The arrows are displayed when cursor is on a position number.
- 411 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
Cursor
In the figure above, blue rectangle that encloses “1” is cursor. You can move the cursor by arrow keys.
Position number
On the left side of the screen, there are many numbers. White box and the number above it are pair.
Position numbers are the number above white boxes. When cursor is on a position number, arrow buttons
to change page are displayed on the right side of screen. When cursor is on a position number, shift+ up
arrow or down arrow key can be used to change pages.
Following figure shows position number of the 1st page of 7 column panel.
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 32 33 34
Likewise, left upper corner of the 2nd page is position number 35. Right lower corner corresponds to 68.
You can display button detail setup screen if you press ENTER when cursor is on a position number.
This is white box on the left side of the screen. The box displays button type of corresponding position
number, which is displayed above each white box. In the figure above, position 7 and 9 are type 5 (lamp).
Position 8 is type 7 (digital lamp). From position 10 to 13 are type 0. It means the positions are not used.
- 412 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
When cursor is on type code field, explanation of type code is shown on the right side of the screen.
F2 BACK
The highest level screen, Interface panel setup screen is displayed.
F3 PANEL
By pressing F3 PANEL, panel of the same page is displayed.
F3 PANEL
F3 SETUP
F3 SETUP of panel displays back to button type setup screen of the same page.
Even in this case, F2 BACK always displays interface panel setup screen (the highest level screen).
F4 COPY
You can use this function key to copy a button. Please refer to Subsection 44.5.1 for more details.
- 413 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
Type code you are inputting is displayed in white box at the bottom of the screen.
5 Press ENTER to complete input.
It is reflected to type code field of the position you selected.
- 414 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
In the figure above, the button of position 96 (type 5, lamp) is copied
4 Press F4, COPY.
F5 PASTE is displayed. If you have copied another button before, PASTE must be already displayed
before you press F4 copy. Copy data is overwritten to previous data.
5 Move cursor to position to paste.
The button was copied. You can paste the same data repeatedly.
NOTE
You cannot copy button of type 0 (not used). Warning message is displayed as
following figure. When you set type code to 0, input 0 one by one, confirming if
the button can be cleared.
You cannot paste if current language is different from the one selected at copy. Suppose that you copied a
button when English was selected. You cannot paste the data if the other language is selected.
- 415 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
4 Press ENTER.
Screen for the button on the position (position number) is displayed. According to type of button,
proper screen is displayed. In the following figure, screen for type 5 (lamp) is displayed.
NOTE
After change of button type, index of input or output signals are defaulted to 0.
Preview of button always shows error.
- 416 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
- 417 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
NOTE
You cannot press a button displayed as preview of button detail setup screen.
The button doesn’t respond.
When “Display based on I/O” button is not pressed, preview is not displayed as error button.
When setup item is changed but the changed item still causes error, message is displayed on error line.
This error message is not displayed just after display of detail screen.
When setup item is changed successfully, the error message is cleared. In the above figure, any color
change would clear error message on error line. However, preview still shows error button.
- 418 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
When operation condition signal cannot be read, preview displays error button. Signal for actual
operation (output signal for example) is also wrong, it has priority.
In the figure above, error button shows DI 0 is wrong. But DI[0] is not specified in the screen. It is
specified in operation condition setup screen. When error button is displayed, please check operation
condition screen, too.
Overview of properties that is common to some button types are explained in the next section.
- 419 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
Digital switch doesn’t have ON/OFF status. There are only Foreground, Background and color for
disabled button.
Colors of “Button enabled” column are for when button can be pressed (when button is enabled).
“Button disabled” column is for when button can NOT be pressed (when button is disabled).
Please refer to section 44.9 ”OPERATION CONDITION” for conditions to press a button.
Item Description
Background(ON) Background color for when signal is ON. It depends on button type which signal decides
color.
Left column is for when button is enabled (when button is enabled). Right column is for
when button is disabled.
Background(OFF) Background color for when signal is OFF.
Foreground(ON) Foreground color for when signal is ON.
Foreground(OFF) Foreground color for when signal is OFF.
Color for disabled Enable
button Color of button Is changed according to whether button can be pressed or not.
Disable
Colors of “Button enabled” column are always used.
OFF
NOTE
If “Color for disabled button” is disabled, colors of “Button enabled” column are
always used.
Operation condition
This item exists in detail screen of button type that can be pressed. You can display operation condition
setup screen by pressing detail button on the row of operation condition. Please refer to section 44.9
OPERATION CONDITION for more information.
Lamp (type 5) and Digital lamp (type 7) don’t support operation condition. They are lamp and cannot be
pressed.
- 421 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
- 422 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
Disable
The conditions above aren’t checked.
I/O Disable Enable
At press of button, value of signal specified by item “Type and
index” (Operation condition signal) is checked. If the value
isn’t equal to value specified by item “Value to allow
operation”, button cannot be pressed. If pressed, “IFPN-022
Condition signal is OFF” or “IFPN-023 Condition signal is ON”
is posted.
Disable
Signal specified by “Type and index” is not checked.
Type and index DI and 0 This item is used only when item “I/O” is enabled.
Signal to check at press (Operation condition signal) is specified.
Value to allow ON This item is used only when item “I/O” is enabled.
operation This item decides operation condition signal should be ON or OFF
to press the button.
- 423 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
NOTE
If button type is momentary (default), specified output signal turns off when;
- The panel is displayed.
- Screen is changed to another one, including another page of panel.
- Any operation that re-displays panel
(Refresh pane of FCTN menu, Zoom for example)
- 424 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
Foreground and background color is decided by status signal (input signal). If button type is alternate,
button is pressed state when output signal is on. Button is released state when output signal is off.
Status signal Released state Pressed state
OFF
ON
- 425 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
NOTE
If button type is momentary (default), specified output signal turns off when;
- The panel is displayed.
- Screen is changed to another one, including another page of panel.
- Any operation that re-displays panel
(Refresh pane of FCTN menu, Zoom for example)
This type of button has another display format, up-down. If you use up-down format, the number of
labels are 3. Following figures are example of up-down format with same signals specified.
- DO [3] is ON and DO [4] is OFF (left figure)
- DO [3] is OFF and DO [4] is ON (right figure)
If both signals are ON or OFF, you will see button similar to the following figure.
NOTE
The 2 signals setup for 2 contact point switch should not be ON (or OFF) at the
same time.
It is not proper state for the type of button. If this is not expected in your system,
please confirm design of your system. I/O configuration and TP program for
example. If it is expected status, don’t use 2 contact point switch for the signals.
- 426 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
If you press the button in this status, signal (left) (up) is changed. If it is OFF, it is turned on. If it is ON, it
is turned off.
- 427 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
44.13 LAMP
Type code is 5. This is lamp to show status of signal.
ON
- 428 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
- 429 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
- 430 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
- 431 -
44.INTERFACE PANEL FUNCTION B-83284EN-2/05
NOTE
1 8 column mode can display more buttons than 7 column mode can. However,
width of button is narrower.
2 Change of the number of columns causes the change of layout of buttons.
Please refer to explanation in this section.
3 Don’t change the number of columns and pages when the other panes are
displaying Interface panel or its setup screens.
- 432 -
B-83284EN-2/05 44.INTERFACE PANEL FUNCTION
After the number of columns is changed to 8, panel looks like following figure.
Setup of each buttons is common to both display. Both panels display buttons sequentially from position
number 1. The number of buttons displayed on each panel is different.
For example, the 1st page of 7 column panel displays from position number 1 to 34. That of 8 column
displays from position number 1 to 39.
When the number of columns is 8, the last 5 buttons of the 1st page are buttons that were the first 5
buttons on the 2nd page of 7 column panel.
NOTE
Cycle power is needed for change to take effect.
IFP0**.XML
- This file contains setup of panel.
Position number, type and parameters for buttons are saved into these files.
- Contents of panels are saved into file for each language.
- IFP**.XML can be restored at cold start.
NOTE
1 Don’t load the XML file when panel or setup screens are displayed.
2 Setup of type setup screen and button detail setup screens are saved at exit
from the screens. Backup after exiting from the screens.
44.19 LIMITATIONS
1 iPendant with touch panel is required.
2 Buttons and lamp of this function only support digital type signal.
Digital type signal means signals that have ON/OFF value, DI/DO and RI/RO for example.
This function does not support I/O type that has integer value, GI/GO and AI/AO for example.
The other data of robot such as register and system variable cannot be handled by buttons of this
function.
3 You cannot use “<” and “>” in string of label.
4 After pressing a button, release it after confirming change of color and pressed/released status of
button.
5 After pressing a button, release touch panel on the same button.
If you drag your finger and release touch panel on another button or empty place, button doesn’t
work properly.
Especially, momentary button doesn’t turn off specified signal.
Press and release the button again, properly.
6 Display panel and all setup screens in single pane mode.
Otherwise, whole screen cannot be displayed. Cursor may be displayed outside of screen.
Changed setup items that is not saved may be lost by display or operation on another pane.
You cannot change focus by touching panel and type setup screen. Use DISP key.
7 Setup of type setup screen and button detail setup screens are saved at exit from screen.
Exit from the screens before display panel, power off or backup.
8 Zoom function does not zoom text and image of button.
- 434 -
B-83284EN-2/05 45. SPECIAL JOG SEQUENCE
45.1 USAGE
When this function is valid, Jog operation is possible in the following conditions.
Press only Jog keys:
The robot moves in the speed corresponds to override 5%. When the override is less than 5%, the robot
moves in the speed corresponds to the override.
Press both Jog keys and [SHIFT] key:
The robot moves in the normal Jog speed. The Jog speed corresponds to the override specified in
Teach Pendant.
When this function is invalid, Jog operation is possible in the following conditions.
Press only Jog keys:
The robot does not move and the following message is displayed.
Press both Jog keys and [SHIFT] key:
The robot moves in the normal speed. The Jog speed corresponds to the override specified by
Teach Pendant.
45.2 SETUP
This function can be set up by the following system variable.
$JOG_SP_MODE:
0: This function is invalid.
1-100: This function is valid. When only Jog key is pressed, the robot moves in the speed corresponds
to the override specified here.
WARNING
If large value is specified in this system variable, the robot possibly moves in high
speed. For secure use, the value of this system variable should be less than 5.
45.3 APPLICATION
Automatic Override setup when changing frames:
Normally, override is automatically initialized to 10% when Jog frame is changed in Teach Pendant. With
this function, as you can confirm the direction in low speed, you may want to make this automatic override
setup invalid.
Setting the following system variable, the current override can be kept when frame is changed.
When the current override is larger than the value specified here, the override is changed into the value
specified here.
- 435 -
46. MOTION INSTRUCTION ENHANCED EDITING B-83284EN-2/05
46.1.1 Usage
Function keys are displayed as follows in EDIT screen.
PROGRAM
PROGRAM
3. F4, YES and F5, NO will be displayed. Press YES to delete. When NO is pressed, the deleted is
cancelled and edit screen will be displayed .
- 436 -
B-83284EN-2/05 46. MOTION INSTRUCTION ENHANCED EDITING
PROGRAM
PROGRAM
PROGRAM
3. Motion line is inserted, and the cursor moves to the next line.
PROGRAM
46.1.2 Precautions
- Standard motion instruction that is selected in F1, POINT menu is inserted. This is the same motion
instruction that is taught by pressing [SHIFT] key and POINT.
- When Circular motion is selected as standard motion instruction, Circular motion is inserted. In this
case, current position is recorded in passing point and the target point is unspecified.
- After operations with this function, you cannot undo the operation by Undo in [EDCMD].
- 437 -
46. MOTION INSTRUCTION ENHANCED EDITING B-83284EN-2/05
USER
ABORT
3 To convert a whole program, input “1”. Then go to step 5. To convert a part of a program, input “2”.
Then go to step 4.
- 438 -
B-83284EN-2/05 46. MOTION INSTRUCTION ENHANCED EDITING
USER
<< Motion parameter >>
ABORT
USER
<< Motion parameter >>
ABORT
5 Select target motion type or All (Rate specify). If you select All (Rate specify), go to step 11.
USER
<< Motion parameter >>
---- Target motion type ----
1 JOINT
2 Linear
3 Circular
4 All (Rate specify)
Select?
ABORT
USER
<< Motion parameter >>
---- Method ----
1 Offset
2 Absolute
3 Rate
Select?
ABORT
7 Input the offset. When you want to decrease the value, input negative value. The unit is % when Joint
motion or mm/sec when Linear motion or Circular motion. Go to step 12.
- 439 -
46. MOTION INSTRUCTION ENHANCED EDITING B-83284EN-2/05
USER
<< Motion parameter >>
Offset(%):
ABORT
8 Input “1” to convert all the motion instructions. Then go to step 10.Input “2” to convert only the
motion instructions whose current feed rate is equal to the value specified by operation 9. Then go to
step 9.
USER
<< Motion parameter >>
Old data
1 All
2 Specify
Select?
ABORT
9 Input current feed rate of the motion instructions that you convert. The unit is % when Joint motion or
mm/sec when Linear or Circular motion.
USER
<< Motion parameter >>
Old data(%):
ABORT
10 Input new value of feed rate. The unit is % when Joint motion or mm/sec when Linear or Circular
motion. Go to step 12.
USER
<< Motion parameter >>
New data(%):
ABORT
USER
<< Motion parameter >>
Rate(%):
ABORT
12 Input “1” to convert the program. Input “0” to cancel the conversion.
USER
<< Motion parameter >>
ABORT
- 440 -
B-83284EN-2/05 46. MOTION INSTRUCTION ENHANCED EDITING
- You can convert a whole or part of the program you are editing.
- You can specify the offset to current position data.
- You can convert the position data of all motion instructions into specified value regardless of current
position data.
- You can convert the motion instructions whose current position data is equal to specified value into the
value you want.
- You can specify the number of user frame to specify the value.
- You can select the type, Cartesian (X, Y, Z, W, P, R) or Joint (J1 to J9).
- Only one element of X, Y, Z, W, P, R or J1 to J9 can be converted at once.
PROGRAM
2 Input “1” to select “2 Position (Direct XYZWPR). Input “2” to select “3 Position (Direct JOINT).
USER
ABORT
3 Input “1” to convert a whole program. Then go to step 5. Input “2” to convert a part of a program. Then
go to step 4.
USER
<< Position (Direct XYZWPR) >>
ABORT
USER
<< Position (Direct XYZWPR) >>
ABORT
ABORT
ABORT
6 Input “1” to specify the offset to current position data. Then go to step 7. Input “2” to specify the
position data into specified value. Then go to step 8.
USER
<< Position (Direct XYZWPR) >>
ABORT
7 Input the offset. When you want to decrease the value, input negative value. The unit is mm when X, Y,
Z or deg when W, P, R. Go to step 11.
USER
<< Position (Direct XYZWPR) >>
Offset(%):
ABORT
8 Input “1” to convert all the motion instructions. Then go to step 10. Input “2” to convert only the
motion instructions whose current feed rate is equal to the value specified by operation 9. Then go to
step 9.
- 442 -
B-83284EN-2/05 46. MOTION INSTRUCTION ENHANCED EDITING
USER
<< Position (Direct XYZWPR) >>
Old data
1 All
2 Specify
Select?
ABORT
9 Input the current position data of the motion instruction that you convert. The unit is mm when X, Y, Z
or deg when W, P, R.
USER
<< Position (Direct XYZWPR) >>
Old data(%):
ABORT
USER
<< Position (Direct XYZWPR) >>
New data(%):
ABORT
11 Input the user frame number that is the base of conversion. When world frame is used, input “0”.
USER
<< Position (Direct XYZWPR) >>
ABORT
12 Input “1” to convert the program. Input “0” to cancel the conversion.
USER
<< Motion parameter >>
ABORT
- 443 -
46. MOTION INSTRUCTION ENHANCED EDITING B-83284EN-2/05
ABORT
3 Input “1” to convert a whole program. Then go to step 5. Input “2” to convert a part of a program. Then
go to step 4.
USER
<< Position (2point teach) >>
ABORT
USER
<< Position (2point teach) >>
ABORT
USER
<< Position (2point teach) >>
Move the robot to the original position
Then enter 1:
ABORT
- 444 -
B-83284EN-2/05 46. MOTION INSTRUCTION ENHANCED EDITING
6 Input “1” after moving the robot to the destination position.
USER
<< Position (2point teach) >>
Move the robot to the destination position
Then enter 1:
ABORT
USER
<< Position (2point teach) >>
Translation is the following
(XYZ:World.WPR:Tool)
X: 32.167
Y: -2.049
Z: 105.409
W: -0.034
P: 1.045
R: 2.340
46.2.4 Precautions
- After operations with this function, you cannot undo the operation by Undo in [EDCMD].
- The original program is copied to YFDTOFBK. When you want to use the original program, copy
YFDTOFBK.
- A program whose name is YFDTOFBK is overwritten after conversion. Please do not create
YFDTOFBK.
- In the multi group system, only the position data of first group can be converted.
- When the position data is converted in a system with extended axes, only the position data of robot
axes are converted. The position data of extended axes are not converted.
- When another screen is displayed (ex current position display) during the operation of data offset
function, you can return to the operation of data offset function by pressing EDIT key, or selecting “9
USER” in MENU.
- Press F1, ”ABORT” when you want to abort data offset function and return to EDIT screen. When you
press F2, “OFFSET” again after this operation, you can restart data offset function from the beginning.
- When teach pendant is disabled, data offset function does not work by pressing F2, “OFFSET”. When
teach pendant is turned disabled during the operation of data offset function, the operation is aborted
and EDIT screen is displayed.
- When the position data is singular point or out of stroke limit after conversion, the position data will be
unspecified data. In this case, the number of the unspecified data will be displayed and displayed as
follows “Error occurred(1:OK 0:Cancel)”. When you select 1, the position data that have no error will
be normally converted and the position data that have errors will be unspecified data. When you select
0, the conversion will be canceled.
- In conversion of position data by “Position (Direct XYZWPR)” or “Position (2point teach)”, the
amount of the change in all axes is automatically adjusted not to exceed plus and minus 180 degree.
- When position data is converted, the position data is recorded as Cartesian coordinates.
- 445 -
46. MOTION INSTRUCTION ENHANCED EDITING B-83284EN-2/05
- When position register is used in the motion instruction, this function does not convert the position
data of the position register.
- This function does not convert the position data of Palletizing function.
- This function does not convert the position data of Asynchronous operation group instruction or
Synchronous operation group instruction.
- This function does not convert the position data of Incremental instruction correctly. Please do not use
this function to convert the position data of Incremental instruction.
- This function does not change the feed rate of the following motion instruction correctly. Please do not
use this function to change the feed rate of the following motion instruction.
- Feed rate is specified by a register.
- Feed rate unit of Joint motion instruction is not %.
- Feed rate unit of motion instruction except Joint is not mm/sec.
- 446 -
B-83284EN-2/05 47. FINISHING FUNCTION PACKAGE
NOTE
Finishing Function Package can be used only in handling tool.
- Please refer to Chapter 45 SPECIAL JOG SEQUENCE on this manual if you want to know about
“Special Jog Sequence(J559)”.
- Please refer to Chapter 46 MOTION INSTRUCTION ENHANCED EDITING on this manual if you
want to know about “Motion instruction Enhanced Editing(J560)”.
- 447 -
48. JOINT POSITION OUTPUT FUNCTION B-83284EN-2/05
- $SV_GUN_CTRL[n].$OUTPUT_ENB
This is the flag to enable or disable this function. When this variable is TRUE, this function is
enabled.
- $SV_GUN_CTRL[n].$GROUP_NUM
This is used to specify the group number.
- $SV_GUN_CTRL[n].$AXIS_NUM
This is used to specify the axis number.
- $SV_GUN_CTRL[n].$GO_VALUE
This is used to specify the index of GO.
- $SV_GUN_CTRL[n].$IO_SCALE
This is used to change precision of the value which stored in GO. You need to set this system
variable to a positive integer. The default value of this system variable is “10”. The specified axis
value is multiplied by this system variable and decimals are omitted from the result. The absolute
value of the result is stored in GO.
“n” is integer from 1 to 5. It is possible to specify up to 5 axes freely with the above system variables.
48.1.2 Note
- Up to 5 axes can be specified.
- You need to assign 16 digital signals for the specified GO in advance.
- If a specified axis is linear axis, the unit is [mm]. If a specified axis is rotary axis, the unit is [deg].
- Default value of $SV_GUN_CTRL[n].$IO_SCALE is 10, so default precision is 0.1[mm] or 0.1[deg].
- The specified axis value is multiplied by this system variable and decimals are omitted from the result.
The absolute value of the result is stored in GO. When the specified axis value is negative, it is defined
by [32768 + (the absolute value of the result)].
- The specified axis value is multiplied by this system variable and decimals are omitted from the result.
When the absolute value of the result exceeds 32767, GO is not updated.
- 448 -
B-83284EN-2/05 48. JOINT POSITION OUTPUT FUNCTION
$SV_GUN_CTRL[1].$OUTPUT_ENB = TRUE
$SV_GUN_CTRL[1].$GROUP_NUM = 2
$SV_GUN_CTRL[1].$AXIS_NUM = 1
$SV_GUN_CTRL[1].$GO_VALUE = 5
$SV_GUN_CTRL[1].$IO_SCALE = 10
If position of the axis is 125.64[mm], the value of GO[5] should be “1256”. If position of the axis is
-80.56[mm], the value of GO[5] will be “33573 (= 32768 + 805)”.
- 449 -
49. EXPANDED REGISTERS FUNCTION B-83284EN-2/05
When this option was loaded, the numbers of numeric and position register were expanded as table 49.1
automatically. And expanded numbers of registers are available in all registers instructions. Please refer to
section 4.5 REGISTER INSTRUCTIONS of R-30iB/R-30iB CONTROLLER OPERATOR’S
MANUAL (Basic Operation) (B-83284EN) for details of numeric and position registers function.
NOTE
This option function requires 3MB SRAM memory.
Procedure 49-1 Setup the maximum numbers of numeric and position register
Step
1 Turn ON the controller with [PREV] and [NEXT] key pressed. Then select [3 Controlled start].
2 Press [MENU] key.
3 Select “0 – NEXT --” and select “1 PROGRAM SETUP”, so Program Limits screen will be displayed.
1 User Tasks 9
2 Numeric Registers 5000
3 Position Registers 2000
4 String Registers 25
5 Macros 150
6 User Alarm 10
7 Trace Length 200
8 Num. Dig. Ports 512
9 Error Severity Table 20
10 Program Adjust Schedule 10
[ TYPE ]
- 450 -
B-83284EN-2/05 49. EXPANDED REGISTERS FUNCTION
4 Put the cursor on numeric registers or position registers and input new value.
5 Perform a cold start.
WARNING
If the number of numeric or position register is decreased, reduced registers data
are lost. For example the number of numeric registers decrease from 5,000 to
4,000, numeric registers data from 4,001 to 5,000 are lost.
However, there are some limitations to load these files. These limitations are described in following
subsections.
However, in this case, the numbers of numeric and position registers are translated to the numbers of loaded
files.
WARNING
When you load these files, if the warning message “VARS-206 ***REG.VR will
load at startup” is output, you have to reboot the controller to apply the registers
data.
NOTE
At Program Limits screen in controlled start, the number of registers can be
changed again. Please refer to Subsection 49.1 SETTING THE NUMBER OF
REGISTERS for changing.
However, the numbers of numeric and position registers are translated to the numbers of loaded files if the
number of registers is changed.
WARNING
When you load these files, if the warning message “VARS-206 ***REG.VR will
load at startup” is output, you have to reboot the controller to apply the registers
data.
- 451 -
49. EXPANDED REGISTERS FUNCTION B-83284EN-2/05
NOTE
At Program Limits screen in controlled start, the number of registers can be
changed again. Please refer to Subsection 49.1 SETTING THE NUMBER OF
REGISTERS for changing.
However, in the system loading Expanded Registers, if the numbers of registers are set below the values of
the table 49.2, the saved file is enabled to load.
The numbers of numeric and position registers are translated to the number of loaded file.
WARNING
When you load these files, if the warning message “VARS-206 ***REG.VR will
load at startup” is output, you have to reboot the controller to apply the registers
data.
NOTE
At Program Limits screen in controlled start, the number of registers can be
changed again. Please refer to Subsection 49.1 SETTING THE NUMBER OF
REGISTERS for changing.
- 452 -
B-83284EN-2/05 50. STITCH FUNCTION
50 STITCH FUNCTION
For stitch-like sealing and laser welding, stitch function enables easy teaching of such sealing/welding
part (as ON interval and OFF interval) and turning signal on/off in each interval.
P[1] P[2]
OFF speed
ON speed
Speed
ON interval OFF interval ON interval OFF interval ON interval
50.1 SPECIFICATION
50.1.1 Instruction
Following two instructions specify an interval in which stitch function is used.
This interval is referred as stitch interval hereafter.
• STITCH[i]
¾ Start stitch process (change of speed, signal control) according to stitch condition.
¾ Stitch process doesn’t stop until “STITCH END” instruction is executed.
¾ Stitch condition is specified in data screen. Please refer to 50.1.2)
¾ This instruction is taught as usual instruction only. This cannot be taught as motion option.
• STITCH END
¾ By this instruction, stitch process is stopped. Signal is turned off.
Example
1: J P[1] 100% FINE
2: STITCH[1] Stitch interval.
3: L P[2] 2000mm/sec CNT100 Only linear and circular motions are available. If joint motion
4: L P[3] 2000mm/sec FINE type is used, error is posted
5: STITCH END
- 453 -
50. STITCH FUNCTION B-83284EN-2/05
- 454 -
B-83284EN-2/05 50. STITCH FUNCTION
Speed
(1)
Speed
(2) Speed
(3)
Distance
Work
…(N)
Step 1 Step 2 Step 3
NOTE
z Do not change ON speed and OFF speed during executing the program.
Change them after pause. If it is changed during the program execution. There is
the case that a robot does not work at designated speed.
z If stitch motion is performed by the controller installed TCP speed estimation
function, warning “TCPP-018 Begin Error Mode at line” or “TCPP-019 Speed
Ovrd Mode at line” could occur. No remedy is required for these warning.
Equipment enable Only when specified signal is ON, equipment signal is DI/RI
turned on. If this is OFF, only speed control is done. 1-32766
It index is 0, it corresponds to signal ON.
Speed unit Unit of Signal OFF speed and ON speed is specified here. cm/min
mm/sec
inch/min
STITCH[I]
- 455 -
50. STITCH FUNCTION B-83284EN-2/05
2 When distance which TCP traveled after STITCH[i] exceeds {approach distance – ON delay
(converted to distance) }, R-30iA output signal.
CAUTION) If STITCH[i] instruction is executed before complete of motion, like STITCH[I] just
after CNT motion, approach distance is shorter than expected.
STITCH[i] STITCH[i]
3 After this, change of speed and ON/OFF of signal is done according to accumulated distance TCP
traveled.
4 If motion statement doesn’t complete after completion of all steps, TCP moves at OFF speed until
STITCH END instruction is executed.
- 456 -
B-83284EN-2/05 50. STITCH FUNCTION
that is before STITCH[i] instruction and run halted (aborted) program.
50.2 ADJUSTMENT
Change of speed needs time for acceleration and deceleration. For this reason, it is desired in order to
maintain specified speed in ON interval:
1:to accelerate/decelerate with short acceleration/deceleration time
2:to start deceleration at appropriate timing
Speed of robot depends on specified speed. Appropriate acceleration/deceleration time depends on pose
of robot even if specified speed is same.
We recommend users to adjust acceleration/deceleration time and timing of deceleration for improved
performance.
CAUTION:
When Constant path function is valid ($CPCFG.$CP_ENABLE=TRUE), you
can't adjust acceleration/deceleration between stitch ON and OFF using
ACC instruction. If you need to adjust acceleration/deceleration, disable
Constant path function ($CPCFG.$CP_ENABLE=FALSE) and cycle power
of the controller. However, motion path is changed by speed override if you
disable Constant path function.
CAUTION:
DEC_RATE value should be in the range from 0 to 100.
- 457 -
50. STITCH FUNCTION B-83284EN-2/05
DEC_NUM=2
DEC_RATE[1]=100, DEC_RATE=[2]=0
OFF speed
ON speed
Actual speed
DEC_NUM=4
DEC_RATE[1]=100, DEC_RATE=[2]=50, DEC_RATE=[3]=25, DEC_RATE=[4]=0
OFF speed
ON speed
Actual speed
50.3 LIMITATIONS
After E-stop, distance cannot be calculated correctly. After resume distance that TCP moved is
calculated. But there may be errors due to overrun after E-stop.
JOG doesn’t accumulate distance of stitch intervals.
In stitch interval, following operations are not available.
JOINT motion
Change of tool frame and user frame.
Stitch function cannot be used with following functions.
9 Continuous turn
9 Line tracking
9 Coordinated motion
9 Remote TCP
9 Robots which doesn’t have Cartesian coordination (Independent axis)
9 Extended axis
9 Distance Before (In stitch interval, Distance Before is not available.)
- 458 -
B-83284EN-2/05 50. STITCH FUNCTION
9 Constant path function
50.4 APPENDIX
Appendix1 Structure of screens for stitch function
DATA REGISTERS
Data
R[1: ] = 0 STITCH DATA DETAIL JOINT 10 %
Data No:1
1 Comment: [MAIN FRAME ]
Registers 2 Equipment condition: GO[ 0]
Position Reg 3 Signal ON delay time(msec): 0
Stitch 4 Signal OFF delay time(msec): 0
5 Approach distance(mm) 10
[ TYPE ] 6 Signal OFF speed (cm/min): 1200.0
Step ON_dst Speed OFF_dst Count Cond.
(1) 20 600.0 20 [ 1] [ 1]
(2) 9999 1200.0 9999 [99] [9999]
(3) 0 0.1 0 [ 1] [ 0]
STITCH DATA LIST JOINT 10%
F4 DETAIL (4) 0 0.1 0 [ 1] [ 0]
(5) 0 0.1 0 [ 1] [ 0]
No. Comment (6) 0 0.1 0 [ 1] [ 0]
1 [MAIN FRAME ] (7) 0 0.1 0 [ 1] [ 0]
2 [ ] F3 LIST (8) 0 0.1 0 [ 1] [ 0]
3 [ ] or (9) 0 0.1 0 [ 1] [ 0]
: PREV (10) 0 0.1 0 [ 1] [ 0]
20 [ ]
[ TYPE ] DATA LIST
[ TYPE ] COMMON DETAIL COPY
F1 F2 F3 F4 F5 >
F1 F2 F3 F4 F5 >
F3 COMMON or PREV
F1 F2 F3 F4 F5 >
- 459 -
51. VISUAL DIAGNOSTICS B-83284EN-2/05
51 VISUAL DIAGNOSTICS
Visual Diagnostics uses the iPendant animated picture display capability to provide a rich visual
presentation of status information. A Visual Diagnostic (VD) screen is one that displays a reference image
as the background, and small indicator images strategically placed and activated in the foreground. The
appearance of the indicator images is driven by the state of information within the controller. This can be
useful, for example, in an application in which the robot is welding. Each weld position could be monitored
and visually represented so that the success or failure of a weld is reported by green and red indicators. See
Fig.51 for another example.
Indicator
Fig.51 Simple Gripper Example
The background is a picture of a gripper with several actuators. In the foreground near many of the actuators
are status indicators which are pictures of an LED to indicate the status of the actuator. The LED is green
when the actuator is open and red when it is closed.
The foreground indicators are not limited to pictures of red and green LEDs. In fact, each indicator can have
multiple states, each with a unique picture to display the state graphically. For example, a clamp indicator
could use images of the clamp in the opened, closed and intermediate positions. If properly scaled and
oriented, the clamp on the VD screen would appear to represent the configuration of the clamp accurately.
An indicator is displayed on or near an associated detail in the background image to specify its status. An
indicator can have up to four states and each state can be represented by a different image. A Visual
Diagnostic screen can have as many indicators as you want. However, be careful when adding indicators
because each takes controller resources in terms of space and time, as well as screen clutter.
An indicator can have up to four states. An indicator’s state is defined by the value of its one or two state
control elements at run-time. If only one state control element (SCE) is defined (ie: number 2 is marked
“**”) then it can be a Boolean I/O (0=False, 1=True), Numeric I/O, Data Register or iRvision Register.
When the state control element is a vision register VR[x], the model ID from view 1 is used. If, at run-time,
a numeric state control element evaluates to a number other than 0 through 3, the base 4 modulus of the
number is used. If both state control elements are used, then they must both be Boolean I/O types. The
indicator state is then determined as shown in Table 51.
- 460 -
B-83284EN-2/05 51. VISUAL DIAGNOSTICS
Table 51 Indicator States
SCE2 SCE1 State
0 0 0
0 1 1
1 0 2
1 1 3
Each of the four indicator states has an associated image that is displayed. If there is no state image
associated with the number evaluated, the no image is shown and the background image shows through.
The State Image: fields enable you to set up this state-to-image relationship.
The most common place to store these images is on FR:. If these are stored on MC:, then the memory
card must be inserted to view the Visual Diagnostic screen properly.
The screen area allocated for the background image is 630 pixels wide by 330 pixels high. For
maximum performance, the background image should not be larger than this.
Steps
1 Press [MENU] key.
2 Select SETUP.
3 Press F1, [TYPE].
4 Select Visual Diagnostics. If this is the first time you are creating a Visual Diagnostic screen, the
following screen will be displayed.
If this is not the first time you have created a Visual Diagnostic screen, thumbnails of Visual
Diagnostic screens currently configured on the controller are listed. To edit an existing screen, select
the screen and press F3, EDIT, go to Step 6.
5 To create new screen, press F2, NEW. You will see a screen similar to the one shown in Fig.51.2(b).
Refer to Table 51.1(a) and Table 51.1(b) to set up the new screen.
The red box on the screen indicates the selected field. You can select a field using the arrow keys. If
you have a touch screen-enabled iPendant, you can select a field by touching it. The function keys are
adjusted to reflect operations that can be performed on the selected field. F3 is always DONE which,
along with PREV, returns you to the previous SETUP screen.
Table 51.1 (a) SETUP Visual Diagnostics Screen Settings Setup Items
Item Description
Name The item is the text that shows up on the SETUP and STATUS list screens so it must
be unique. It can be from 1 to 40 characters and it can contain spaces. You can
modify the name directly on the SETUP Visual Diagnostics Screen Settings screen.
Background Image The large picture that covers most of the Visual Diagnostic screen is called the
background image. It is stored as a file. When set, the file name is shown on the
SETUP Visual Diagnostics Screen Setting screen.
Number of Indicators This item specifies the number of indicators that have been set up. You cannot
modify the number directly. Only the function keys are active when you are on this
field.
Selected Indicator Only one indicator can be configured at a time. The Selected Indicator field specifies
which one is currently selected.
- 462 -
B-83284EN-2/05 51. VISUAL DIAGNOSTICS
Item Description
Custom Logic Program You can identify a program that will run each time the Visual Diagnostic screen is
refreshed. Use this feature if complex logic is required to determine the state of an
indicator.
A typical custom logic program will combine the status of various elements in the
controller and set the indicators state control elements accordingly. A custom logic
program can be implemented in either TPP or KAREL. It must not contain any
motion statements.
BUSY_LAMP_OFF = 3;
ABORT_REQUEST = 3;
PAUSE_REQUEST = 7;
DEFAULT_GROUP = *, *, *, *, *, *, *, *
• The program must run quickly and terminate. If the program takes more than 1
second to complete an warning alarm will be posted but Visual Diagnostics will
proceed. One second is very long. A typical program should complete in less
than a millisecond.
- 463 -
51. VISUAL DIAGNOSTICS B-83284EN-2/05
b. The red box on the screen indicates the item with focus. Use the arrow keys to move the red box
when more than one item is displayed. Press ENTER or F4 SELECT to select the item with focus.
If you have a touch screen iPendant, touching the item gives it focus and selects it in one step.
Selecting the green arrow displays the images and folders in the parent folder. The top most
parent is a list of devices. See Fig. 51.1 (d). Selecting a folder or a device displays the folders and
image files within it. Selecting an image file returns that name to the field being edited in the
Visual Diagnostics setup screen.
- 464 -
B-83284EN-2/05 51. VISUAL DIAGNOSTICS
b. F4, POS and F5, SIZE act like sticky radio buttons. Only one or the other is active at a time.
When F4, POS is active, the arrow keys reposition the indicator image. When F5, SIZE is active,
the up and down arrow keys grow and shrink the height of the image. The right and left arrow
keys grow and shrink the width.
c. To position or resize the graphic in larger increments, press [SHIFT] key and then use the arrow
keys.
d. To complete the operation, press F3, DONE or [PREV] key.
9 To add in indicator, select the Number of Indicators field and press F2, NEW. A new indicator with
default settings will be created and you will immediately be placed into the edit mode as described
below and shown in Fig. 51.1 (f).
10 To edit an existing indicator,
a. Select the Selected Indicator field and press F2, EDIT.
b. Only one indicator can be edited at a time. If the name of the indicator you want to edit is not the
one displayed, press F4, [CHOICE] and select it from the displayed list.
Indicator editing is done on a screen similar to the one shown in Fig. 51.1 (f).
Refer to Table 51.2(b) for information on setting up items on the Indicator Setting screen.
- 465 -
51. VISUAL DIAGNOSTICS B-83284EN-2/05
- 466 -
B-83284EN-2/05 51. VISUAL DIAGNOSTICS
The position adjustment is relative to the grid location chosen for the indicator. These
adjustments apply to the specific indicator state on the specific Visual Diagnostic screen being set
up. They do not alter the indicator image file itself.
c. F4, POS and F5, SIZE act like sticky radio buttons. Only one or the other is active at a time.
When F4, POS is active, the arrow keys reposition the indicator image. When F5, SIZE is active,
the up and down arrow keys grow and shrink the height of the indicator image. The right and left
arrow keys grow and shrink the width. To position or resize the graphic in large increments, press
SHIFT and then use the arrow keys.
d. Press F3, DONE or PREV to complete the operation.
17 When you are finished setting up the indicators on the screen, press F3, DONE or PREV. This will
return you to the Screen Setting page on which the following procedures are performed.
18 To remove the selected indicator from a screen,
a. Select the Selected Indicator field and press F5, REMOVE.
b. A confirmation box will be displayed so that you are aware that the indicator will be permanently
removed by this function.
19 To assign a custom logic program,
- 467 -
51. VISUAL DIAGNOSTICS B-83284EN-2/05
a. Select the Custom Logic Program field and press F4, [CHOICE]. This will display the list of
programs currently loaded on the controller.
b. Select the program you want from this list, and press ENTER. See the Fig.51.1 (i) for an example.
20 To clear the Custom Logic Program assignment, select the Custom Logic Program field and press F5,
CLEAR.
If the selected item is currently being displayed in any other iPendant pane, the EDIT and REMOVE
function keys will not let you operate on it.
- 468 -
B-83284EN-2/05 51. VISUAL DIAGNOSTICS
5 To remove a screen, press F4, REMOVE. A confirmation box will be displayed so that you are aware
that the screen will be permanently removed by this function.
6 To reposition a screen,
a. Press F5, MOVE. The following screen will be displayed.
b. Use the arrow keys to move the selected screen to its new position.
c. Press F3, DONE to finish the operation and return to the screen selection page.
7 To make a new screen as an exact copy of the currently selected screen but with a different screen
name,
a. Press >, NEXT, and then press F2, COPY. A new screen will be created and the Screen Settings
page shown so that you can edit the new screen.
b. Use Procedure 51-1 to edit the screen.
8 To load Visual Diagnostic screens developed on another controller onto this controller,
a. Press >, NEXT and then press F3, LOAD.
b. Using the file browser, find and select the file named “vmscreens.xml” on any file device. When
selected, the system merges the screens defined in it with the screens that currently reside on the
controller. The file named “vmscreens.xml” is saved by the file backup operation in FILE screen.
When the file backup operation is done in FILE screen, if “Application” or “All of above” is
selected in the backup menu, the file named “vmscreens.xml” is saved to the designated device.
c. If a duplicate screen name is encountered, you are prompted with the option of replacing or
keeping the one resident on the controller.
- 469 -
51. VISUAL DIAGNOSTICS B-83284EN-2/05
Use this menu item to display a Visual Diagnostic screen. Thumbnails of the set of screens configured
on the controller are shown on the list selection screen.
The red box on the screen indicates the selected screen. You can select a screen using the arrow keys.
If you have a touch screen-enabled iPendant, you can select a screen by touching it. The numbers in
the upper right hand corner indicate how many screens are available and which is currently selected.
5 To display a screen, select it and press F3, SHOW.
If the selected item is currently being edited in any other iPendant pane, F3, SHOW will not let you
view it.
6 If the screen you have selected has an invalid signal set, the following screen will be displayed.
- 470 -
B-83284EN-2/05 51. VISUAL DIAGNOSTICS
The top line displays the title of the screen. In this example, the title is Gripper1.
Adjustments (since controller power up) to the magnification and picture center are remembered for
each Visual Diagnostic screen. So, if you leave the screen and then return, the view is restored.
8 To increase magnification of the image,
a. Press F4, ZOOM+.
b. The magnification is increased keeping the point of the image in the center of the display fixed in
place.
9 To decrease magnification of the image,
a. Press F5, ZOOM-. The point of the picture in the center of the display is kept in place until one of
the edges of the image touches the edge of the display area. The image will then be shifted in that
direction to keep the image edge touching the display edge.
b. Magnification will not be reduced below 100%.
c. F2, FULL, restore the image to full view.
10 To adjust how the image is centered in the display when the magnification is greater than 100%,
a. Press the right and left arrow keys to shift the view to the right and left.
b. Press the up and down arrow keys to shift the view up and down.
c. To move the view in larger increments, hold [SHIFT] key while pressing the arrow key.
11 To display the Visual Diagnostic Screen list selection page, press F3, LIST. This key has the same
function as [PREV] key.
- 471 -
52. PDF VIEWER FUNCTION B-83284EN-2/05
WARNING
It is required to change the display type of the file screen to “Wide” before selecting
file name when pdf file size is larger than 10 Mbyte. Press NEXT key, press
F5[VIEW] and select “Wide” to change to “Wide” screen.
WARNING
It may take a lot of time to display or scroll when pdf file size is very large.
- 472 -
B-83284EN-2/05 52. PDF VIEWER FUNCTION
Three function keys are available when the PDF Viewer has focus.
FIT PAGE Zoom so that the entire page is visible within the PDF Viewer window. this
mode allows quick navigation between pages of a document.
ZOOM The up and down arrow key will increase and decrease the zoom level
respectively.
PAN The arrow keys will pan the display. Touch screen gestures will always pan
the display.
JUMP Table of contents will be displayed and can jump to each page if PDF file
has the table of contents.
- 473 -
53. HELP AND DIAGNOSTICS DISPLAY B-83284EN-2/05
● If DIAG/HELP key is pressed, help for the current screen will be displayed.
● If DIAG/HELP key is pressed while holding down [SHIFT] key, diagnostics for an active alarm or the
specified alarm is displayed.
To return to the previous screen, press [PREV] key or DIAG/HELP key. You can also display the previous
screen by pressing DIAG/HELP key with [SHIFT] key.
- 474 -
B-83284EN-2/05 53. HELP AND DIAGNOSTICS DISPLAY
1 In case that the alarm screen (the active alarm screen or the alarm log screen) is displayed, the cause
and remedy for the specified alarm by the cursor in the alarm screen is displayed.
2 In case that the active alarm screen is displayed, if no alarm is displayed in the screen, the cause and
remedy for the selected alarm in the alarm list is displayed.
3 In case that the screen other than the alarm screen is displayed, when an alarm occurs, the cause and
remedy for the active alarm is displayed.
4 In case that the screen other than the alarm screen is displayed, when no alarm occurs, the cause and
remedy for the selected alarm in the alarm list is displayed.
To return to the previous screen, press [PREV] key or [DIAG/HELP] key. You can also display the
previous screen by pressing [DIAG/HELP] key with [SHIFT] key.
Procedure 53-2 Diagnostics display when the active alarm screen is displayed and no
alarm is displayed in the screen.
Conditions
● The active alarm screen is displayed.
● No alarm is displayed in the screen.
Steps
1 Press [DIAG/HELP] key while holding down [SHIFT] key.
2 The list screen for DIAG alarm is displayed as follows.
- 475 -
53. HELP AND DIAGNOSTICS DISPLAY B-83284EN-2/05
4 You can display the list of the alarm that you want to display the cause and remedy by selecting facility
name in this screen.
5 Select the alarm to display the cause and remedy in the alarm list screen.
Procedure 53-3 Diagnostics display when the screen other than alarm screen is
displayed and an alarm occurs.
Conditions
● The screen other than the alarm screen is displayed.
● An alarm occurs.
Steps
1 Press [DIAG/HELP] key while holding down [SHIFT] key.
2 The following popup screen will be displayed.
Program Status
Cause Code
- 476 -
B-83284EN-2/05 53. HELP AND DIAGNOSTICS DISPLAY
3 In case that the “CONTINUE” button is pressed, the cause and remedy for the active alarm is
displayed as follows. In case that the “CANCEL” button is pressed, the popup screen disappears and
the previous screen will be displayed.
Procedure 53-4 Diagnostics display when the screen other than alarm screen is
displayed and no alarm occurs.
Conditions
● An alarm does not occur.
● The screen other than the alarm screen is displayed.
Steps
1 Press [DIAG/HELP] key while holding down [SHIFT] key.
2 The following popup screen will be displayed.
3 In case that the “CONTINUE” button is pressed, the list screen for DIAG alarm is displayed. Please
refer to Procedure 53-2 to display the alarm cause and remedy from this screen. In case that the
“CANCEL” button is pressed, the popup screen disappears and the previous screen will be
displayed .
- 477 -
53. HELP AND DIAGNOSTICS DISPLAY B-83284EN-2/05
If the window on the teach pendant is divided, the Help/Diagnostics screen will be displayed as follows.
DISPLAY 1 DISPLAY 2
1 Single 1 Status/Single
2 Double 2 Menu History
3 Triple 3 User View
4 TreeView 4 Menu Favorites
+ 5 Single Wide 5 Related Views
6 Double Horizontal 6 Maximize/Restore
7 Triple Horizontal 7 Zoom
8 Help/Diagnostics 8
9 EDIT <--> EDIT 9
0 -- NEXT -- 0 -- NEXT --
(The items in the menu and the order of the items may differ depending on
the software series and version.)
Fig. 53.4 (a) DISAPLY menu
When the Help/Display item is selected in the DISPLAY menu, the Help/Diagnostics menu will be
displayed.
- 478 -
B-83284EN-2/05 53. HELP AND DIAGNOSTICS DISPLAY
Help/Diagnostics 1
1 Help
2 Context Help
3 Diagnostics
4 Diagnostics Home
5 Menu Help
6 Password Help
Table 53.4 describes the displayed screen by selecting each item is the Help/Diagnostics menu.
- 479 -
54. MAINTENANCE REMINDER B-83284EN-2/05
54 MAINTENANCE REMINDER
Maintenance Reminder reminds users of periodic maintenances or part replacement for a robot system.
By notifying preconfigured and customized maintenances with TP warnings, output to DO, and
Notification Icon (software versions 7DC3/10 and later), it helps to maintain with appropriate intervals.
Maintenance items can be configured by the user. Some robot models have predefined items setup for
recommended maintenance tasks (Required Maintenances). To use this function, Maintenance Reminder
option (J771) is required. Also, when used in conjunction with iRConnect, the maintenances can be
checked on mobile devices.
Maintenance Reminder
Group: 1
Days Elapsed: 7.0 days
Robot Running Time: 16.7 h
Next Maintenance:
1st mechanical check in 2.8 mo.
or running 943.3 h
If multiple groups exist, press F2 [GROUP] and the group number to change the group to show.
On software versions 7DC3/10 and later, pressing [NEXT] key then F3 “OUT LIST” key displays
Monitored Out screen, F4 “RECORD” key displays Maintenance Record screen. They will be described in
later sections.
54.2 SETUP
• There are settings common to groups and items, such as when to send reminder notice.
• There are settings individual to each maintenance items, such as maintenance intervals.
• If passcode, described in the next section, is set, showing setup menu asks for the passcode. Set the
passcode for the cases such as if the maintenance personnel and operators differ.
- 480 -
B-83284EN-2/05 54. MAINTENANCE REMINDER
Maintenance Reminder
SETUP 1/17
Maintenance notice
Days in advance: 10 day
Running Time: 160 h
DO/RO ON time: 160 h
Register value: 100
Joint movement: 100 k
Warning Interval
1 day
Running 16 h
DO/RO ON time 16 h
Register value 10
Joint movement 10 k
DO to prompt maintenance: DO[ 0]
Contact Data
[TYPE] INTERVAL
- 481 -
54. MAINTENANCE REMINDER B-83284EN-2/05
Item Description
change passcode Select this item and press ENTER to set passcode. (If passcode is already set,) After entering
the current passcode, enter the new code twice to set the new passcode. Set “1111” to disable
passcode protection. Do not forget the passcode, or settings cannot be changed and “DONE”
operation, to be explained in the later section, cannot be executed.
ID-number Any text up to 10 letters can be set as ID of the controller. When set, it will be displayed on the
main menu in the Section 54.1. (It will not be displayed when no ID is set.) It can be used for
any purpose, such as for maintenance management.
Minimal DO after DI On software versions 7DC3/10 and later, maintenance items can be reset by DI, which will be
reset described in later section. This item sets the minimal time length of DO output when DI reset is
done. When checking the DO by external PLC and such, set the length to be longer than the
cycle length of the checking. The actual time length of DO output may be longer depending on
the processing status of the controller.
There are two types of maintenance item, Required Maintenances and Supplemental Maintenances.
Required Maintenances are prepared for the robot models, and any maintenance can be added to
Supplemental Maintenances. The configurability of two types differs, but they act in the same way after the
setup.
If multiple groups exist, press F2 [GROUP] and the group number to change the group to setup.
- 482 -
B-83284EN-2/05 54. MAINTENANCE REMINDER
On software versions 7DC3/10 and later, press F3 DETAIL key displays Maintenance Item Setup screen,
where type of interval and notification details can be setup.
Maintenance Reminder
Maintenance Item Setup 1/12
Group: 1
Maintenance Name
Days Elapsed: 3 mo. ENB
Maintenance notice
Days in advance: **** day
running time: **** h
Warning interval
**** day
running time: **** h
- 483 -
54. MAINTENANCE REMINDER B-83284EN-2/05
Item Description
Maintenance This item sets timings to post warnings and output DO. The timing for “Days Elapsed” and for the
Notice enabled type of interval can be set. When the remaining time or value to the next maintenance
reaches the set time, warnings, DO, and Notification screen start to remind maintenances. If not
set, the common settings described in 54.2.1 will be used.
Warning Set interval to post warnings after the maintenance notice time, explained above, has been
interval reached. If not set, the common settings described in 54.2.1 will be used.
Pressing F3 “OUT LIST” displays the list of DO/ROs, of which ON time is counted. This screen is same
screen as the one displayed when “OUT LIST” is pressed in Main Menu.
Maintenance Reminder
Monitored Out
DO[ 1] 0.0 h
RO[ 1] 0.0 h
DO[ 2] 0.0 h
DO[ 3] 0.0 h
DO[ 4] 0.0 h
[TYPE]
Maintenance Reminder
Next Maintenance 1/2
Group: 1
<Required Maintenances>
1st mechanical check in 3.0 mo.
or running 960.0 h
1st controller check in 3.0 mo.
or running 960.0 h
Last Maintenance: no data
In detail menu, all the enabled items in the group are displayed with remaining time, beginning with
Required Maintenances followed by Supplemental Maintenances. Upper lines represent the remaining time
in “Days Elapsed” and the lower lines represent the remaining time in “Robot Running Time”. On software
versions 7DC3/10 and later, the lower line shows “Robot Running Time”, “DO/RO ON Time”, “Register
value”, or “Joint movement”. If only one type of the counter is enabled, the other type will display *’s.
If multiple groups exist, press F2 [GROUP] and the group number to change the group to show.
- 484 -
B-83284EN-2/05 54. MAINTENANCE REMINDER
NOTE
This function only posts warning for the maintenance with the shortest remaining time per group. Even
if several maintenances are within “Maintenance notice”, the warning for other maintenances will not
be posted, unless the maintenance with the shortest remaining time is processed “done”.
On software versions 7DC3/10 and later, all maintenance items post warnings.
If an item is processed “done” by mistake, without completing the maintenance, it can be canceled for once.
Undo the “done” process with following procedures.
1. Display the detail menu in the Subsection 54.3.1.
2. Select the item, which is processed “done” by mistake.
3. Press F4 [UNDO].
4. The prompt line will ask, “undo the last maintenance?” Press F4 [yes].
If wrong item is selected, press F5 [no].
5. The remaining time changes back to as if it was not processed “done”.
After processing the item as “done,” selecting the item in the detail menu displays the date of “done” at the
bottom of the screen after “Last Maintenance:”. If the item is never “done” or “done” is canceled with
UNDO, it displays “no data”. When it displays “no data”, it cannot be undone.
- 485 -
54. MAINTENANCE REMINDER B-83284EN-2/05
On software versions 7DC3/10 and later, the completion of the maintenance can be processed by
Completion Signal DI input. When the DI set in 54.2.2 is input, the item will be processed done. DI needs to
be input until the process is confirmed. If the Notification Signal DO is ON, it will be OFF when the process
is finished. If it is OFF, it will be ON when the process is finished, then OFF after “Minimal DO after DI
reset” time set in 54.2.1. In either case, the process can be confirmed by detecting falling edge of
Notification Signal DO.
Fig. 54.3.3 shows the flow of the system user should set up to utilize the completion process by DI input. If
maintenance is done after the notification, with DO ON, DI should be input until DO turns OFF. If
maintenance is done before the notification, with DO OFF, DI should be input until DO turns ON, then OFF.
The DO would be ON at least for the time set in ”Minimal DO after DI reset”. It should be long enough so
that the user system can detect DO ON. Since the signal for stopping DI input is always the DO change from
ON to OFF, the user system for completion process can be set up as inputting DI until detecting falling edge
of corresponding DO, regardless of whether DO was ON at the maintenance.
If Completion Signal DI is input by mistake, it needs to be “UNDONE” by operating the TP as described
above.
54.4 iRConnect
iRConnect is a function that sends email with information on the controller, which can be viewed with
iRConnect mobile application. Using in conjunction with iRConnect, maintenance time can be checked on
mobile devices. By sending periodic and reminder emails to the configured address, it enables checks on
mobile devices. Please refer to the chapter on iRConnect from Ethernet Function Operator’s Manual for the
use of iRConnect, such as setup. iRConnect requires software option, iRConnect (R818).
- 486 -
B-83284EN-2/05 54. MAINTENANCE REMINDER
Maintenance Reminder
iRConnect settings 1/3
Send iRConnect message: DISABLE
Send iRConnect message alert: DISABLE
Periodic Timer: 24 h
Last Email Sent: not sent
- 487 -
54. MAINTENANCE REMINDER B-83284EN-2/05
Maintenance Reminder
Maintenance Record
Output File: UD1:\maintenances.xml
Maintenance Reminder
Maintenance Record Detail
Group: 1
Name: 1st mechanical check
Due Date: YYYYMM/DD HH/MM
or Running hh.h h
1st Warning: YYYY/MM/DD HH/MM
Done : YYYY/MM/DD HH:MM
-dd.d days
-hh.h hours RUN
[TYPE]
- 488 -
B-83284EN-2/05 54. MAINTENANCE REMINDER
Node/Element Description
Type The type of the maintenance item expressed in numbers. 1: “Days Elapsed” only. 2: “Robot
Running Time” is set. 3: “DO/RO ON Time” is set. 4: “Register value” is set. 5: “Axis motion”
is set.
HIST The record of maintenance
DueAct Due date and time in terms of “Days Elapsed”
DueOther Due in other types of timer. The negative value means time/value till the due. The positive
value means time/value past due. If the item is “done”, it is same as DonePast.
DueType The type of the timer that reached due, expressed in number. 0:Not due. 1: “Days Elapsed”.
2: “Robot Running Time”. 3: “DO/RO ON Time”. 4: “Register value”. 5: “Axis motion”.
Warn The date and time of the first warning.
DoneDate The date and time when it is “done”.
DonePast The difference between due and the timer when it is “done”. It is same as DueOther.
Example:
<?xml version="1.0"?>
<MAINT_RECORD>
<CONT ID="TEST ">
<ROBOT Group="1" Model="R-2000iC/165F">
<ITEM ID="1" Name=" 1st mechanical check" Type="2">
<HIST DueAct="2016/3/16 16:08" DueOther="-3839.8 hours RUN" DueType="0" Warn=""
DoneDate="2015/03/18 15:44:38" DonePast="-3839.8 hours RUN"/>
</ITEM>
<ITEM ID="11" Name="TEST1" Type="5">
<HIST DueAct="" DueOther=" -100.0 kRev J[1]" DueType="0" Warn="2015/03/18 15:43:50"
DoneDate="2015/03/18 15:44:06" DonePast=" -100.0 kRev J[1]"/>
</ITEM>
</ROBOT>
</CONT>
</MAINT_RECORD>
- 489 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
HMI DEVICE can design the screen by putting lumps, switches and so on. The assignment of robot data to
the lumps, switches and so on can be defined by user. For example, if robot register is assigned to the
display panel on HMI device, the register value can be displayed on the screen of HMI device.
RS-232-C or 123
R[1] = 123 Ethernet
When "Standard setting (R651)" is selected, this function is standard. When "North America Setting
(R650)" is selected, "HMI device (R553)" option is needed to use this function.
WARNING
This function checks the received data and performs the proper process only
when the robot controller receives the data sent from HMI device. This function
cannot detect the situation that the communication from HMI device is stopped
accidentally. Therefore, this function must not be used to transfer the safety data.
For example, when HMI device sends STOP request to robot, there is no
guarantee that the robot is stopped by the request. It is very dangerous to make
safety system by using this function.
NOTE
When this function is used to communicate with HMI device, please test the whole
robot system including the HMI device.
- 490 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
A-cabinet
The cable of the ROBOT CONTROLLER side is connected to JRS16 or JD17 connector on the main
board.
Main board
HMI device Robot side
side 20 pin female
CD
RD 11 SD
SD 1 RD
ER 15 RS
5 CS
JRS16
3 DR
or JD17
13 ER
SG 2 SG
DR 4 SG
RS 6 SG
CS 12 SG
14 SG
16 SG
B-cabinet
The D-Sub 25pin is connected to the RS-232-C port in front side of ROBOT CONTROLLER operator
panel or JD17 connector on the main board.
ROBOT
HMI device Robot side CONTROLLER
side 25pin male (B-cabinet)
CD Operator panel
RD 2 SD
SD 3 RD
ER 4 RS RS-232-C Port
5 CS
6 DR or JD17 on the main
SG 7 SG board
DR 8 CD
RS 20 ER
CS
Specification of the connectors and the cable are as following (Operator panel):
• Connector D-Sub25pin male DBM-25P (ANSI/EIA-232)
• Housing DB-C2-J9 (ANSI/EIA-232)
• Shielding quality Entirely shielded twisted pair cable is recommended.
- 491 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
For protection against the noise, the twisted pair wire should be used for
pairs of RD and SG, SD and SG.
R-30iB Mate
The cable of the ROBOT CONTROLLER side is connected to JRS27 connector on the main board.
Main board
HMI device Robot side
side 20 pin female
CD
RD 11 SD
SD 1 RD
ER 15 RS
5 CS JRS27
3 DR
13 ER
SG 2 SG
DR 4 SG
RS 6 SG
CS 12 SG
14 SG
16 SG
Port Init
1/2
Connector Comment
1 JRS16 RS-232-C P2: [Maintenance Cons ]
2 JD17 RS-232-C P3: [KCL/CRT
]
[ TYPE ] DETAIL
3 Set cursor on "JRS16 RS-232-C P2:" line, and press F3(DETAIL) key. The detail menu of "JRS16
RS-232-C P2:" is displayed.
Port Init
JRS16 RS-232-C P2: 1/5
1 Device [Maintenance Cons]
2 Speed [9600 ]
3 Parity bit [None ]
4 Stop bit [1bit ]
5 Time out value (sec) [ 0]
- 492 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
4 Set cursor on "Device" line, and press F4[CHOICE], and select "HMI dev(MODBUS)" from the list.
There are "HMI device" and "HMI dev(MODBUS)" in the list. It is necessary to set "HMI
dev(MODBUS)" for MODBUS communication. It is not possible to use "HMI device" and "HMI
dev(MODBUS)" at the same time.
Port Init
JRS16 RS-232-C P2: 1/5
1 Device [HMI dev(MODBUS)]
2 Speed [19200]
3 Parity bit [Even ]
4 Stop bit [1bit ]
5 Time out value (sec) [ 0]
5 Setup "Speed", "Parity bit" and "Stop bit" as same with the HMI device.
Unit ID
Robot controller does not use Unit ID in MODBUS TCP communication data. Robot controller responds all
requests from HMI device regardless of Unit ID.
Port number
The port number of this function is set in the system variable $SNPX_PARAM.$MODBUS_PORT. The
default value is 502. The port number of this function can be changed by this system variable.
- 493 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
When the address that is not used or the corresponded robot data is not assigned is read from HMI device,
the read value is always 0. When the address is written from HMI device, the request is ignored. In these
cases, this function does not return error to the HMI device.
The address range 1 ~ 16384 of Holding Registers can be assigned to various Robot data. (→ Assignment of
Holding Registers)
HMI device cannot write to the signals corresponded to Discrete input and Input Registers. It is possible to
write these signals via Holding Registers by assigning these signals to Holding Registers. (→ Assign I/O
data and simulation status)
- 494 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
In this function, address range is specified as 1 ~ 65536. But some HMI devices specify as 0000 ~ FFFF
(start from 0 and specified as hexadecimal). In this case, please convert the specified address as subtraction
of 1 and change to hexadecimal.
The assignment between Robot data and Holding Registers is defined by setting of $SNPX_ASG. The
$SNPX_ASG is 80 arrays of $SNPX_ASG[1]~[80], every element has the following variables. Various
robot data can be assigned to the Holding Registers by setting $SNPX_ASG.
- 495 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
The following figure shows a example that robot register R[1~4] are assigned to Holding Register address 1
~ 4 and X,Y,Z of robot position register PR[1] are assigned to Holding Register address 5 ~ 10.
- 496 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
WARNING
If Integer data is written to the Holding Registers of Real data type, the assigned
robot data may be set to the value that is too big or cannot be processed. And it
may cause serious effect such as the robot moves to unexpected position
because the assigned position register has abnormal position data. Please set
$MULTIPLY to the value of not 0 normally, and assign 32 bit signed integer data to
Holding Registers.
- 497 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
If “@1.1” is added just after the string, the number of Holding Registers for one
register is changed from 2 to 1. In this case, accessing data size becomes 16 bits.
Example: R[1]@1.1
“R[1]” part means to assign robot registers from index 1.
“@1.1” part means one register is accessed as 16 bits data.
$MULTIPLY Meaning: The value accessed by HMI device is multiplied by $MULTIPLY.
When $MULTIPLY is 0, it means that HMI can access Holding Registers as 32bits
REAL data.
When it is not 0, HMI accesses Holding Registers as 32bits signed integer. And value
is rounded off to no decimal place.
Range: 0.0001~10000, 0
Example: Register value is 123.45.
When $MULTIPLY is 1, Holding Register is 123
When $MULTIPLY is 10, Holding Register is 1235.
When $MULTIPLY is 0.1, Holding Register is 12.
When $MULTIPLY is 0, Holding Register is 123.45 of REAL
In this case, address of Holding Registers are corresponded to robot registers as follows.
Address Assigned data
1 R[1] as 16bits signed integer.
2 R[2] as 16bits signed integer.
3-4 R[1] multiplied by 100 as 32bits signed integer.
5-6 R[2] multiplied by 100 as 32bits signed integer.
7-8 R[1] divided by 10 as 32bits signed integer.
9-10 R[2] divided by 10 as 32bits signed integer.
11-12 R[1] as 32bits REAL
$SNPX_ASG[1] defines that 2 Holding Registers from address 1 to 2 are assigned to robot registers from
R[1] multiplied by 1 as 16 bits signed integer. One Holding Register address is 16 bits data, and one register
uses one Holding Register. So, address 1 is assigned to R[1] as 16 bits signed integer and address 2 is
assigned to R[2] as 16bits signed integer.
$SNPX_ASG[2] defines that 4 Holding Registers from address 3 to 6 are assigned to robot registers from
R[1] multiplied by 100 as 32 bits signed integer. One robot register uses 2 Holding Registers. So, addresses
3-4 are assigned to R[1] multiplied by 100 as 32 bits signed integer and address 5-6 are assigned to R[2]
multiplied by 100 as 32 bits signed integer.
$SNPX_ASG[3] defines that 4 Holding Registers from 7 to 10 are assigned to robot registers from R[2]
divided by 10 as 32 bits signed integer. One robot register uses 2 Holding Registers. So, addresses 7-8 are
- 498 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
assigned to R[2] divided by 10 as 32 bits signed integer and address 9-10 are assigned to R[3] divided by 10
as 32 bits signed integer.
$SNPX_ASG[4] defines that 2 Holding Registers from 11 to 12 are assigned to robot register R[1] as 32bit
REAL. So, addresses 11-12 are assigned to R[1] as 32bits REAL
In multi group system, PR[1] means group 1 data of PR[1]. Please set PR[G2:1] to assign
group 2 data of PR[1].
If “@” is added just after the string, the specified part of the position register is assigned.
This is explained later.
$MULTIPLY Meaning: The value accessed by HMI is multiplied by $MULTIPLY.
Only REAL values are effected by this setting.
When $MULTIPLY is 0, it means special that HMI can access Holding Registers as 32bits
REAL data.
When it is not 0, HMI accesses Holding Registers as 32bits signed integer. And value is
rounded off to no decimal place.
Range: 0.0001~10000, 0
Example: Position register member value is 123.45.
When $MULTIPLY is 1, Holding Register is 123
When $MULTIPLY is 10, Holding Register is 1235.
When $MULTIPLY is 0.1, Holding Register is 12.
When $MULTIPLY is 0, Holding Register is 123.45 of REAL
WARNING
If Integer data is written to the Holding Registers of Real data type, the assigned
robot data may be set to the value that is too big or cannot be processed. And it
may cause serious effect such as the robot moves to unexpected position
because the assigned position register has abnormal position data. Please set
$MULTIPLY to the value of not 0 normally, and assign 32 bit signed integer data to
Holding Registers.
- 499 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
NOTE
When the position register is locked by LOCK PREG instruction, the writing to the
position register by this function is ignored. To confirm if the writing is succeeded
or not, please read the position data just after the writing and confirm the read
data.
One position register uses 50 Holding Registers. Contents of the 50 Holding Registers are the following.
Address Description Effect of $MULTIPLY
Cartesian data
1-2 X 32bits signed integer or real (mm) Yes
3-4 Y 32bits signed integer or real (mm) Yes
5-6 Z 32bits signed integer or real (mm) Yes
7-8 W 32bits signed integer or real (deg) Yes
9-10 P 32bits signed integer or real (deg) Yes
11-12 R 32bits signed integer or real (deg) Yes
13-14 E1 32bits signed integer or real (mm, deg) Yes
15-16 E2 32bits signed integer or real (mm, deg) Yes
17-18 E3 32bits signed integer or real (mm, deg) Yes
19 FLIP 16bits signed integer (1:Flip, 0:Non flip) No
20 LEFT 16bits signed integer (1:Left, 0:Right) No
21 UP 16bits signed integer (1:Up, 0:Down) No
22 FRONT 16bits signed integer (1:Front, 0:Back) No
23 TURN4 16bits signed integer (-128~127) No
24 TURN5 16bits signed integer (-128~127) No
25 TURN6 16bits signed integer (-128~127) No
26 VALIDC 16bits signed integer (→note1) No
Joint data
27-28 J1 32bits signed integer or real (mm, deg) Yes
29-30 J2 32bits signed integer or real (mm, deg) Yes
31-32 J3 32bits signed integer or real (mm, deg) Yes
33-34 J4 32bits signed integer or real (mm, deg) Yes
35-36 J5 32bits signed integer or real (mm, deg) Yes
37-38 J6 32bits signed integer or real (mm, deg) Yes
39-40 J7 32bits signed integer or real (mm, deg) Yes
41-42 J8 32bits signed integer or real (mm, deg) Yes
43-44 J9 32bits signed integer or real (mm, deg) Yes
45 VALIDJ 16bits signed integer (→note2) No
Frame number
46 UF 16bits signed integer (-1~62) (→note3) No
47 UT 16bits signed integer (-1~30) (→note4) No
48-50 Reserve No
Note1: VALIDC shows whether the position data is valid for Cartesian or not. This becomes 0 at the
following situation, and it becomes 1 in the other situation.
- Position data has uninitialized data (displayed as “******” on Teach Pendant).
- Position data is Joint representation and it can not be converted to Cartesian.
If HMI device writes any data to VALIDC, position representation is changed to Cartesian.
Note2: VALIDJ shows whether the position data is valid for Joint or not. This becomes 0 at the following
situation, and it becomes 1 in the other situation.
- Position data has uninitialized data (displayed “******” on Teach Pendant).
- Position data is Cartesian representation and it can not be converted to Joint.
If HMI device writes any data to VALIDJ, position representation is changed to Joint.
Note3: UF is user frame number.
If UF is 0, world frame is used.
If UF is -1, the current selected user fame is used.
- 500 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
UF of Position Register is always -1.
This value can not be changed.
Note4: UT is tool frame number
If UT is 0, mechanical interface frame is used.
If UT is -1, the current selected tool fame is used.
UT of Position Register is always -1.
This value can not be changed.
- Position register has 2 representations, Cartesian or Joint. If detail of the position register is displayed
as X,Y,Z,W,P,R, it is Cartesian representation. If it is displayed as J1-6, it is Joint representation.
- HMI device can always access to any member without regarding to current representation. Position
representation is changed by reading from HMI. But if the representation of position resister and the
representation of accessed member from HMI are different, please note the following.
- If the position data is out of stroke limit or there is uninitialized member, this position data cannot be
converted to another representation. In this case, the all members in the part of another representation
becomes 0.
For example, a position register is Cartesian representation and X is 10000, it is out of stroke limit,
J1-J9 is read as 0 by HMI device. In this case, the members of Cartesian part or UF/UT part can be read
correctly.
- If the representation of position resister and the representation of accessed member from HMI device
are different, communication response time is increased. Because position representation conversion
takes much time. If HMI device reads many position registers, this conversion time may make big
effect to response time.
Uninitialized member of position data is displayed as “******” on position register menu of Teach Pendant.
These members are read as 0 from HMI device. Please read VALIDC or VALIDJ to check whether the
value is 0 or uninitialized. If position data has uninitialized member, VALIDJ and VALIDC are 0.
If you write data to the member in Cartesian part from HMI device, the position representation becomes
Cartesian. If you write data to member in Joint part from HMI, the position representation becomes Joint. If
you write data to UF or UT from HMI device, position representation is not changed.
For example, you need to access only X, Y and Z of PR[1-3]. In this case, normally the setting of
$SNPX_ASG is the following.
$ADDRESS $SIZE $VAR_NAME $MULTIPLY
$SNPX_ASG[1] 1 150 PR[1] 1
The following is the correspondence between position registers and Holding Registers of this setting.
Address Assigned data
1-2 X of PR[1] as 32bits signed integer
3-4 Y of PR[1] as 32bits signed integer
5-6 Z of PR[1] as 32bits signed integer
51-52 X of PR[2] as 32bits signed integer
53-54 Y of PR[2] as 32bits signed integer
55-56 Z of PR[2] as 32bits signed integer
101-102 X of PR[3] as 32bits signed integer
103-104 Y of PR[3] as 32bits signed integer
105-106 Z of PR[3] as 32bits signed integer
- 501 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
Actual read data are only 18 Holding Registers, but this assignment occupies 150 Holding Registers. And,
some HMI accesses address 7-50 of Holding Registers that is not necessary to read, because reading one big
data is more efficient than reading several small data from the communication point of view. But the address
27-45 includes Joint representation part, and if position data is Cartesian representation, representation
conversion is needed to read this unnecessary data.
The following is the correspondence between position registers and Holding Registers of this setting.
Address Accessed data
1-2 X of PR[1] as 32bits signed integer
3-4 Y of PR[1] as 32bits signed integer
5-6 Z of PR[1] as 32bits signed integer
7-8 X of PR[2] as 32bits signed integer
9-10 Y of PR[2] as 32bits signed integer
11-12 Z of PR[2] as 32bits signed integer
13-14 X of PR[3] as 32bits signed integer
15-16 Y of PR[3] as 32bits signed integer
17-18 Z of PR[3] as 32bits signed integer
The change of $SNPX_ASG is that “@1.6” is added in $VAR_NAME and $SIZE is changed from 150 to
18. By this change, the number of Holding Registers for one position register is changed from 50 to 6. The
“6” in ”@1.6” means the number of Holding Registers for one position register. And the “1” in “@1.6”
means the starting address of extracting part in position data structure.
By specifying “@” in $VAR_NAME, you can extract the specified part of position data structure.
@1.6
The size of extracting part (The number of Holding Registers for one position )
The starting address of extracting part in position data structure.
You can specify “@” not only for position register, but also for all data that is assigned by $SNPX_ASG.
- 502 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
If “@” is added just after the string, the specified part of the String Register is
assigned.
Example: SR[1]@1.50
“SR[1]” means to assign String Registers from index 1.
“@1.50” means the first 100 characters of String Register data are assigned.
$MULTIPLY Meaning: Specify byte order of string.
Range: 1,-1
When user frame number is 0, the Current Position on World frame is assigned.
When user frame number is -1, the Current Position on the User frame that is
currently selected.
When user frame number is 1-61, the Current Position on the specified user frame.
In multi group system, POS[0] means current position group 1 robot. Please set
POS[G2:0] to assign current position of group 2 robot.
If “@” is added just after the string, the specified part of current position is assigned.
- 503 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
Current position uses 50 Holding Registers, and data structure is the same as position register.
UT of current position is always -1.
UF of current position is the specified user frame number in $VAR_NAME.
Current position is not assigned continuously. For example, the following setting of $SNPX_ASG assigns
current position of user frame 1 to address 1-50, but current position of user frame 2 is not assigned to
address 51-100. Please set “POS[2]” in another $SNPX_ASG.
$ADDRESS $SIZE $VAR_NAME $MULTIPLY
$SNPX_ASG[1] 1 100 POS[1] 1
“ALM[1]” assigns active alarm. Alarms displayed in active alarm menu are assigned.
“ALM[E1]” assigns alarm history. Alarms displayed in alarm history menu are
assigned.
“ALM[M1]” assigns motion alarm history. Alarm displayed in motion alarm menu are
assigned.
“ALM[S1]” assigns system alarm history. Alarm displayed in system alarm menu are
assigned.
“ALM[P1]” assigns password log. Password log displayed in password log menu are
assigned.
- 504 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
One alarm uses 100 Holding Registers. Contents of the 100 Holding Registers are the following.
Address Description
1 Facility code 16 bits signed integer
When alarm is “SRVO-001”, facility code is 11 that means “SRVO”. Please refer the
Operator's manual (Alarm Code List) about alarm ID about facility code.
2 Alarm number 16 bits signed integer
When alarm is “SRVO-001”, alarm number is 1.
3 Facility code of Cause Code 16bits signed integer
When alarm occurs, alarm message is displayed on top of teach pendant. Sometimes a
message is also displayed on the second line, it is cause code.
This shows facility code of the cause code. If the alarm does not have cause code, this
becomes 0.
4 Alarm number of cause code 16 bits signed integer
Alarm number of cause code. If the alarm does not have cause code, this becomes 0.
5 Alarm severity 16 bits signed integer
The value shows alarm severity.
NONE 128
WARN 0
PAUSE.L 2
PAUSE.G 34
STOP.L 6
STOP.G 38
SERVO 54
ABORT.L 11
ABORT.G 43
SERVO2 58
SYSTEM 123
6 Occurred Time (year) 16 bits signed integer
7 Occurred Time (month) 16 bits signed integer
8 Occurred Time (day) 16 bits signed integer
9 Occurred Time (hour) 16 bits signed integer
10 Occurred Time (minutes) 16 bits signed integer
11 Occurred Time (second) 16 bits signed integer
12-51 Alarm message 80 characters string
Alarm message string. It shows the string as the same as that is displayed on top line of
teach pendant.
52-91 Cause code alarm message 80 characters string
Alarm message of cause code.
92-100 Alarm severity word 80 characters string
String of alarm severity such as “WARN”.
Facility code and alarm number of “RESET” is read as 0. Alarm message is “RESET”.
When there is 2 lines on active alarm menu, all members of alarms after ALM[3] are 0.
One alarm uses 100 Holding Registers, if you would like to read only facility code and alarm number,
almost of 100 Holding Registers area is not used. To communicate efficiently, please use “@”.
The correspondence of address and alarm data of this setting is the following.
Address Assigned data
1 Alarm ID of alarm1
2 Alarm number of alarm1
3 Alarm ID of cause code of alarm1
4 Alarm number of cause code of alarm1
5 Alarm ID of alarm2
6 Alarm number of alarm2
7 Alarm ID of cause code of alarm2
8 Alarm number of cause code of alarm2
9 Alarm ID of alarm3
10 Alarm number of alarm3
11 Alarm ID of cause code of alarm3
12 Alarm number of cause code of alarm3
In multi task system, when 2 tasks are running at the same time, PRG[1] and PRG[2]
shows the execution status of each task.
Which task is PRG[1] is decided by timing of execution and communication. But the
task that is read as PRG[1] is always read as PRG[1] until it is aborted.
$MULTIPLY Meaning: Specify byte order of string.
Range: 1,-1
Note: Program execution status is read only. If you write it, nothing occurs.
One task uses 18 Holding Registers. Contents of the 18 Holding Registers are the following.
Address Description
1-8 Program name 16 characters string
Name of running program.
When sub program is called, it shows sub program name.
9 Line number 16bits signed integer.
Execution line number.
When sub program is called, it shows line number of sub program.
10 Execution status 16bits signed integer
Aborted 0
Paused 1
Running 2
- 506 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
Address Description
11-18 Parent program name 16 characters string
Name of the started program
When sub program is not called, it is the same as program name.
By assigning each strings to $VAR_NAME, the type of the program can be selected. And the meaning of
line number is changed depending on the situation.
$VAR_NAME Program name and line number
PRG[1] Program name
Name of running program.
Line number
Execution line number.
PRG[M1] Program name
When running program is MACRO program, it shows name of parent program that calls the
running program.
When the parent program is also MACRO program, it shows name of parent program that is
not MACRO program.
Line number
Line number of CALL instruction that calls the running program. When all parent programs
are MACRO program. It becomes 0.
PRG[K1] Program name
When running program is KAREL program, it shows name of parent program that calls the
running program.
When the parent program is also KAREL program, it shows name of parent program that is
not KAREL program.
Line number
Line number of CALL instruction that calls the running program. When all parent programs
are KAREL program. It becomes 0.
PRG[MK1] Program name
or When running program is MACRO or KAREL program, it shows name of parent program that
PRG[KM1] calls the running program.
When the parent program is also MACRO or KAREL program, it shows name of parent
program that is not MACRO nor KAREL program.
Line number
Line number of CALL instruction that calls the running program. When all parent programs
are MACRO or KAREL program. It becomes 0.
The correspondence of address and program execution status of this setting is the following.
Address Accessed data
1 Line number of task 1
2 Execution status of task 1
3 Line number of task 2.
4 Execution status of task 2.
- 507 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
To access to system variable, data type of assigned Holding Registers and meaning of $MULTIPLY are
changed according to data type of system variable. The following is the list of data type of system variables
that can be assigned to Holding Registers, and it also explain the number of Holding Registers and meaning
of $MULTIPLY.
The number of
Data type of Holding Registers
Meaning of $MULTIPLY
system variables for one system
variable
INTEGER The data is multiplied by $MULTIPLY.
2 The data is accessed as 32 bits signed integer. And value is
32bits signed integer
rounded off to no decimal place.
SHORT If $MULTIPLY is 0, it is same as $MULTIPLY is 1.
2
16bits signed integer
BYTE
2
8bits signed integer
The data is multiplied by $MULTIPLY.
If $MULTIPLY is 0, it means that the data is accessed as 32 bits
REAL
2 REAL data.
32bits real
If it is not 0, the data is accessed as 32 bits signed integer. And
value is rounded off to no decimal place
$MULTIPLY is not used for this data type.
The data is accessed as 32bit signed integer.
BOOLEAN If value is TRUE, Holding Register is 1. If it is 0, Holding Register
2
TRUE/FALSE is 0.
If 0 is written, the system variable becomes FALSE. If not 0 is
written, the system variable becomes TRUE.
POSITION Data structure is the same as position register.
50
Position data Meaning of $MULTIPLY is also same as position register.
STRING Specify byte order of string.
40
String data
- 508 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
INTEGER, SHORT and BYTE are accessed by the same way. The system variable that integer value is
displayed in system variable menu on teach pendant is INTEGER, SHORT or BYTE.
The variable that real value is displayed in system variable menu on teach pendant is REAL.
The variable that TRUE or FALSE is displayed in system variable menu on teach pendant is BOOLEAN.
The variable that string is displayed on system variable menu on teach pendant is STRING.
The variable that is displayed as POSITION in system variable menu on teach pendant is POSITION.
WARNING
The system variable that is protected in system variable menu on teach pendant
can be changed by HMI device. If illegal value is set to system variable, system
may be harmed seriously. Please check value enough to write system variables.
WARNING
If Integer data is written to the Holding Registers of Real data type, the assigned
robot data may be set to the value that is too big or cannot be processed. And it
may cause serious effect such as the robot moves to unexpected position
because the assigned POSITION type variable has abnormal position data.
Please set $MULTIPLY to the value of not 0 normally, and assign 32 bit signed
integer data to Holding Registers.
- 509 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
Register R[C1]
Position register PR[C1]
String register SR[C1]
DI DI[C1]
DO DO[C1]
RI RI[C1]
RO RO[C1]
UI UI[C1]
UO UO[C1]
SI SI[C1]
SO SO[C1]
WI WI[C1]
WO WO[C1]
WSI WSI[C1]
WSO WSO[C1]
GI GI[C1]
GO GO[C1]
AI AI[C1]
AO AO[C1]
If “@” is added just after the string, the specified part of the comment is assigned.
Example: R[C1]@1.5
“R[C1]” means to assign comment of registers from index 1.
“@1.5” means the first 10 characters of comment are assigned.
$MULTIPLY Meaning: Specify byte order of string.
Range: 1,-1
- 510 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
You can select by $MULTIPLY setting whether one I/O data is assigned to one Holding Register or 16 I/O
data are assigned to one Holding Register.
When $MULTIPLY is 1, one I/O data or one simulation status are assigned to one Holding Register. When
the value is ON, the corresponded Holding Register is set to 1. When the value is OFF, the corresponded
Holding Register is set to 0.
When $MULTIPLY is 0, 16 I/O data or 16 simulation status are assigned to one Holding Register. When
the value is ON, the corresponded bit of Holding Register is set to 1. When the value is OFF, the
corresponded bit of Holding Register is set to 0. I/O of lower index is assigned to lower bit of Holding
Register.
Example: When DI[1-16] is assigned to Holding Register, if only DI[1] is ON and the others are OFF, the
Holding Register is 1. If only DI[16] is ON and the others are OFF, the Holding Register is 32768 (in case
of unsigned 16 bit integer).
- 511 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
NOTE
When K900.4 (Change address value) is 0, writing to PMC address data is ignored.
To check if the writing is ignored or not, please read the PMC address after writing
and confirm the read value.
Note: Address of DCS safety PMC is read only. If you write it, nothing occurs.
The correspondence between Holding Registers and robot data by this setting is the following.
Bit address is assigned to the address 1 - 2, therefore 1 bit of PMC address is assigned to 1 Holding Register
continuously.
Byte address is assigned to the address 3 - 4, therefore 2 bytes of PMC address is assigned to 1 Holding
Register continuously.
Address Assigned robot data
1 R0.0
2 R0.1
3 D0 - D1 (Lower byte:D0, Upper byte:D1)
4 D2 - D3 (Lower byte:D2, Upper byte:D3)
- 512 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
Note: Symbol and comment of Integrated PMC are read only. If you write it, nothing occurs.
The correspondence between Holding Registers and robot data by this setting is the following.
Address Assigned robot data
1-5 Symbol of R0.0
6-10 Symbol of R0.1
11-15 Comment of D0
16-20 Comment of D1
55.3.13 Hints
Assigned data is not read correctly
If HMI device reads Holding Register that is not assigned to any data, this Holding Register is always read
as 0. If Holding Register that the problem occurs is not 0, this Holding Register is assigned to the other data.
For example, when $SNPX_ASG is set as follows, addresses 101-150 of Holding Registers are assigned by
both $SNPX_ASG[1] and $SNPX_ASG[2].
- 513 -
55. HMI DEVICE COMMUNICATION B-83284EN-2/05
Therefore, addresses 101-150 are assigned to R[101]-R[150], and PR[1] can not be accessed by HMI
device.
If the read data of Holding Register is 0, there may also be duplicated assignment as above. Please check
duplication of $SNPX_ASG.
If $SNPX_ASG setting has problem even though assignment is not duplicated, please check $VAR_NAME
of $SNPX_ASG.
The following list shows the correct format of $VAR_NAME setting. If the setting is not match to them,
robot data is not assigned.
Correct format Note
“R[n]”
“PR[n]” If you specify group number, “:” must be specified between
“PR[Gn:n] group number and index.
“SR[n]”
“POS[n]” If you specify group number, “:” must be specified between
“POS[Gn:n] group number and index.
“ALM[n]” Alarm line number must be specified just after E, M, A, S or P.
“ALM[En]” The ":" must not be specified.
“ALM[Pn]
“PRG[n]” Index must be specified just after M, K, MK or KM. The ":" must
“PRG[Mn]”, “PRG[Kn]” not be specified.
“PRG[MKn]”, “PRG[KMn]”
System variable name The first character of system variable must be “$”.
$[KAREL program name]variable name Specify KAREL program name just after ‘$[‘, then specify ‘]’ and
specify KAREL variable name just after ‘]’.
“DI[n]”, “DI[Sn]”, “DI[Cn]” Index must be specified just after S or C. The ":" must not be
“DO[n]”, “DO[Sn]”, “DO[Cn]” specified.
“RI[n]”, “RI[Sn]”, “RI[Cn]”,
“RO[n]”, “RO[Sn]”, “RO[Cn]”
“UI[n]”, “UI[Cn]”
“UO[n]”, “UO[Cn]”
“SI[n]”, “SI[Cn]”
“SO[n]”, “SO[Cn]”
“WI[n]”, “WI[Sn]”, “WI[Cn]”,
“WO[n]”, “WO[Sn]”, “WO[Cn]”
“WSI[n]”, “WSI[Sn]”, “WSI[Cn]”
“WSO[n]”, “WSO[Sn]”, “WSO[Cn]”
“GI[n]”, “GI[Sn]”, “GI[Cn]”
“GO[n]”, “GO[Sn]”, “GO[Cn]”
“AI[n]”, “AI[Sn]”, “AI[Cn]”
“AO[n]”, “AO[Sn]”, “AO[Cn]”
“F[n]”, “F[Cn]”
“M[n]”, “M[Cn]”
PMC<path>:address The <path> is from 1 to 5 or "S". The ":" must be specified just
PMC<path>:address.bit after PMC path. And PMC address must be specified just after
PMC<path>:S:address the ":". For symbol or comment, ":S" or ":C" must be specified
PMC<path>:S:address.bit just after PMC path.
PMC<path>:C:address
PMC<path>:C:address.bit
- If there is space character in $VAR_NAME, data is not assigned. If you specify “@”, please do not add
any space before “@”.
- If you use continuous array assignment, the number of Holding Registers for one element is defined
according to data type, please check explanation of the assigned robot data.
- The format of “@” is “@n.n”. A “.” must be specified between starting address and the number of
Holding Registers. A “@” must be specified just after variable name.
- 514 -
B-83284EN-2/05 55. HMI DEVICE COMMUNICATION
- 515 -
56. FAULT & INCIDENT REPORT B-83284EN-2/05
This function is optional function. To use this function, “FAULT & INCIDENT REPORT option (R544) is
required.
Alarms whose severity are NONE or WARN are not displayed on this screen.
INCIDENT
The top 5 faults by incident are displayed. Faults are located in order of the number occurred in the past.
Each value and bar graph means the number of incident. This number is counted when the target fault is
occurred at AUTO mode. (However, only alarms “SYST-038 Operation mode T1 Selected” and
“SYST-039 Operation mode T2 Selected” are counted at T1mode, T2mode too)
Total Time(T_TIME)
The top 5 faults by Total Time are displayed. Faults are located in order of the total time occurred in the past.
Each value and bar graph means the total time (unit is 1/10 minute). The incident time means time after the
target fault is occurred at AUTO mode before you press the fault reset key. And the total time means sum of
the incident times. (However, only alarms “SYST-038 Operation mode T1 Selected” and “SYST-039
Operation mode T2 Selected” are recorded at T1mode, T2mode too)
- 516 -
B-83284EN-2/05 56. FAULT & INCIDENT REPORT
Largest Time(L_TIME)
The top 5 faults by Largest Time are displayed. Faults are located in order of the largest time occurred in the
past. Each value and bar graph means the largest time (unit is 1/10 minute). The incident time means time
after the target fault is occurred at AUTO mode before you press the fault reset key. And the largest time
means the largest time in the incident times. (However, only alarms “SYST-038 Operation mode T1
Selected” and “SYST-039 Operation mode T2 Selected” are recorded at T1mode, T2mode too)
- 517 -
B-83284EN-2/05 INDEX
INDEX
ASSIGNMENT OF HOLDING REGISTERS.............495
<Number> ASSIGNMENT OF TOUCH SENSING I/O ...............367
2 CONTACT POINT SWITCH ...................................426 ATPERCH ...................................................................126
4D EDITOR FUNCTION ............................................332 ATTENTION...............................................................112
4D GRAPHICS DCS ...................................................332 AUTOMATIC ERROR RECOVERY FUNCTION ......22
4D GRAPHICS Display...............................................324 AUXILIARY AXIS SERVO OFF (LOCAL STOP)
4D GRAPHICS edit node map.....................................327 FUNCTION..............................................................107
4D GRAPHICS Frame Display....................................329 Available iPendant Controls ........................................158
4D GRAPHICS FUNCTION .......................................320
4D GRAPHICS Node Map ..........................................327 <B>
4D GRAPHICS Position Register ................................330 BACKGROUND OPERATION OF MATH
4D GRAPHICS SCENE...............................................324 FUNCTION..............................................................257
4D GRAPHICS select node map..................................328 BACKUP AND RESTORE .........................................434
4D GRAPHICS TCP Trace..........................................330 Backup/Restore ............................................................180
Backward Execution ....................................................274
<A> Basic Specification.......................................................261
A Different Tool from that Specified by the Attach Battery-less Type Tools ...............................................272
Instruction is Attached..............................................286 Battery-Mounted Type Tools.......................................272
Abort KAREL Program ...............................................197 BRAKE CHECK FUNCTION.....................................152
Abort Program by UOP................................................130 BUTTON DETAIL SETUP SCREEN.........................416
ABOUT MANUAL..........................................................1 BUTTON TYPE SETUP SCREEN .............................411
Absolute(ABS)........................................................256 Button Types Supported...............................................421
Accessing The Full Screen 4D Display........................334
Addition of Button Change Control .............................163 <C>
Addition of Command Button Control.........................166 Calibration Motion Failed. ...........................................285
Addition of Edit Box Control.......................................167 CALIBRATION PROCEDURE (for 6-Axis Robots) ....61
Addition of Label Control ............................................168 Cause and Remedy for Alarm Occurrence...................240
Addition of Toggle Button Control ..............................168 CAUTION...................................................... 154,226,362
Addition of Toggle Lamp Control................................170 Caution for Creation of KAREL Program ...................177
ADJUSTMENT............................................................457 CAUTIONS ..................................................... 56,100,397
ADVANCED CONSTANT PATH ................................89 CAUTIONS / RESTRICTIONS ....................................13
After Replacement .......................................................297 Change Display Format of Cycle Time Data ...............245
ALARM CAUSE/REMEDY DISPLAY FUNCTION .475 CHANGING CONDITIONS FOR EXECUTING THE
Alarm ID ......................................................................137 RESUME PROGRAM ...............................................43
Alarm Number .............................................................138 Check Maintenance Time ............................................484
ALARMS REPORTING SCREEN..............................516 CHECK MAINTENANCE TIME AND COMPLETE
ANTI-DEFLECTION FOR EXTERNAL FORCE ......403 MAINTENANCE.....................................................484
APPENDIX ..................................................................459 CMDENBL#1 to #N ....................................................125
APPLICATION............................................................435 CMOS Programs ..........................................................232
ASCII File Example .....................................................222 COL DETECT ON / COL DETECT OFF .....................53
ASCII File General Event Information ........................216 COL GUARD ADJUST.................................................54
ASCII File Specific Event Information........................217 COLLISION GUARD SETUP SCREEN ......................52
Assign Alarm History ..................................................504 COMMON PROPERTIES...........................................419
Assign comment of R[ ], PR[ ] , SR[ ] and I/O ............509 Common Setting ..........................................................481
Assign Current Position ...............................................503 Configuring Microsoft® Internet Explorer ..................334
Assign I/O data and simulation status ..........................510 CONFLICT BETWEEN DATA WRITES ..................362
Assign Integrated PMC address data............................512 CONNECTION OF HMI DEVICE .............................491
Assign Position Registers.............................................499 CONSTRAINTS ..........................................................109
Assign Program Execution Status ................................506 CONSTRUCTION OF SERVO TOOL CHANGE
Assign Robot Registers ................................................497 SCREEN ..................................................................277
Assign String Registers ................................................502 CONTINUOUS ROTATION FUNCTION....................15
Assign Symbol and Comment of Integrated PMC COORDINATED TOUCH SENSING.........................393
address......................................................................513 Copy and Paste.............................................................414
Assign System Variables..............................................508 Copy Programs.............................................................239
Assigning Tool Numbers to Servo Tool Axes..............278 CORNER REGION .......................................................92
i-1
INDEX B-83284EN-2/05
i-2
B-83284EN-2/05 INDEX
Inverse Trigonometric Function(ACOS) ................254 MAX SPEED .................................................................97
Inverse Trigonometric Function(ASIN)..................253 MEANING OF ALARM CODE..................................135
Inverse Trigonometric Function(ATAN) ................255 MENU UTILITY FUNCTION ....................................305
Inverse Trigonometric Function(ATAN2) ..............254 METHOD OF OPERATING .......................................400
iRConnect ....................................................................486 MIRROR IMAGE OF EXTENDED AXES ................186
iRDIAGNOSTICS .......................................................294 MIRROR IMAGE USING EXISTING FRAMES AND
MIRROR PLANES, WITH CONTROLLED
<J> ORIENTATION.......................................................185
JOG OPERATION WITHOUT SHIFT........................288 MISCELLANEOUS SETTING SCREEN...................431
Jog preview ..................................................................325 MODBUS COMMUNICATION .................................494
JOINT / CARTESIAN SOFTFLOAT..............................5 MODBUS data model ..................................................494
JOINT POSITION OUTPUT FUNCTION ..................448 MODBUS Function Code ............................................495
Modification and Addition of Signal ...........................122
<K> Modification of Control ...............................................173
KAREL BUILT-IN ......................................................346 Modification of Page....................................................175
KAREL CONFIG.........................................................195 Modification of Panel...................................................171
KAREL Config Screen.................................................195 MOTION INSTRUCTION ENHANCED EDITING...436
KAREL Program Example...........................................221 MOTION INSTRUCTION INSERT AND
KAREL PROGRAM EXECUTION HISTORY INSTRUCTION DELETE FUNCTION ..................436
RECORD..................................................................205 MOTION PROFILER..................................................299
KNOWHOW OF CARTESIAN SOFTFLOAT .............12 MOTION SCREEN .......................................................69
KNOWHOW OF SOFTFLOAT ....................................11 MROT INSTRUCTION...............................................398
MULTI UOP INTERFACE FUNCTION ....................119
<L> MULTIPLE SEARCHES.............................................392
LAMP ..........................................................................428
Limitation and Caution of KAREL Config ..................200 <N>
Limitation of the Specifiable CR Value .........................93 Natural Logarithm........................................................255
LIMITATIONS ........................... 66,91,94,97,98,100,154, NAVIGATING WITH THE PDF VIEWER................473
............................................... 226,227,361,398,434,458 “Normal Mastering” and “GC Mastering” .....................70
LINEAR DISTANCE ....................................................89 Note..............................................................................448
Line-by-Line Mode ......................................................244 Notice for Teaching .....................................................276
List Menu .....................................................................310
List Selected Tasks Screen...........................................211 <O>
LOAD ESTIMATION ...................................................57 ONLINE HELP FUNCTION.......................................474
LOAD ESTIMATION PROCEDURE (for 6-Axis OPENING A PDF DOCUMENT.................................472
Robots) .......................................................................57 OPERATING PROCEDURE ........................................57
LOADING EXPANDED xxxREG.VR ........................451 Operation .....................................................................334
LOADING NOT EXPANDED xxxREG.VR...............451 OPERATION CONDITION ........................................421
LOADING PROCESS IN PROGRAM EXECUTION 239 Operation Condition Setup Screen...............................422
LOGGING CYCLE TIME...........................................245 OPERATION GROUP DO OUTPUT FUNCTION ......20
LOGGING EVENTS ...................................................215 OPERATION LOG BOOK............................................73
Logging Events to an ASCII File .................................216 Operation Panel............................................................400
Operation Procedure ....................................................321
<M> OPERATION WITHOUT SHIFT FUNCTION...........288
MAIN MENU ..............................................................480 OPERATIONS...............................................................79
MAINT_PROG INSTRUCTION...................................27 Operator Entry Menu ...................................................316
Maintenance Item Setting.............................................482 Other ............................................................................131
MAINTENANCE RECORD .......................................487 OTHER RELATED MATTERS....................................64
Maintenance Record File .............................................488 Other Specifications.....................................................456
Maintenance Remind ...................................................485 OTHER SPECIFICATIONS AND RESTRICTIONS ...44
MAINTENANCE REMINDER...................................480 OUTLINE ....................................................................261
Make Backup of Programs ...........................................239 Outline of Installation ..................................................264
MANAGING SCREENS .............................................468 OVERVIEW .......................... 3,155,201,220,321,332,333
MANUAL OPERATION SCREEN OF THE RESUME
PROGRAM FUNCTION ...........................................40 <P>
MASTERING ................................................................70 PANEL WIZARD........................................................155
Mastering Procedure ......................................................71 PARALLEL MIRROR IMAGE...................................182
MATH FUNCTION INSTRUCTION..........................250 PATH SWITCHING FUNCTION ...............................101
i-3
INDEX B-83284EN-2/05
i-4
B-83284EN-2/05 INDEX
SETTING OF THE AUTOMATIC ERROR Teach Pendant Program Example ................................221
RECOVERY FUNCTION..........................................30 TEACHING .................................................................276
Setting of the Number of UOP Set ...............................121 Teaching to Motion Instruction....................................402
SETTING OF TYPE OF BUTTON .............................414 TERMINOLOGY ........................................................339
Setting System Variables .............................................279 TEST EXECUTION OPERATION WITHOUT SHIFT289
SETTING THE NUMBER OF REGISTERS ..............450 The Attach Instruction is Executed when the Tool is not
SETTING THE REFERENCE POSITION..................272 Attached. ..................................................................284
SETTING UP ...............................................................155 The Attached Tool has been Detached by Mistake
SETTING UP BOOK.....................................................78 (without Using the Detach Instruction). ...................286
Setting up Events .........................................................215 The Battery Ran Low while the Tool was Detached....287
Setting up Fast Label....................................................159 The Battery Voltage has Fallen....................................287
Setting up Fast Lamp ...................................................160 The Robot Stopped during Calibration. .......................285
Setting up Fast Switch..................................................162 The Tool Axis of a Detached Tool has Moved. ...........286
SETTING UP TCP SPEED OUTPUT .........................228 TIME OUT AND RETRY ...........................................361
Setting Up the KAREL Program Execution History TOOL ATTACH Instruction........................................273
Record ......................................................................206 TOOL CHANGE INITIAL SETUP.............................278
SETTINGS..............................................................51,109 TOOL CHANGE INSTRUCTION ..............................273
SETUP ..................... 48,83,117,294,299,334,340,435,480 TOOL CHANGE REFERENCE POSITION SETUP
SETUP ABOUT MENU UTILITY..............................305 METHOD (BATTERY-LESS TYPE) .....................280
SETUP AND OPERATIONS ......................................206 TOOL CHANGE SEQUENCE....................................275
SETUP CUSTOMIZATION ........................................405 TOOL CHANGE SETUP ............................................267
SETUP FOR HIGH SPEED SHIFT KEY FUNCTION291 TOOL CHANGE STATUS .........................................275
Setup for Maintenance Reminder.................................487 TOOL DETACH Instruction........................................273
SETUP OF TOUCH FRAME ......................................369 TORQUE LIMIT FUNCTION ....................................223
Severity of Alarm.........................................................136 TORQUE LIMIT FUNCTION FEATURE..................224
SHADOW ONDEMAND Programs ............................233 TORQUE LIMIT MULTI-AXIS SETUP FUNCTION225
SHADOW Programs ....................................................232 TOUCH SCHEDULE ..................................................376
SINGULARITY AVOIDANCE FUNCTION................99 TOUCH SENSING ......................................................365
SOFT LIMIT SETTING ................................................86 TOUCH SENSING PROGRAMMING .......................380
SOFTFLOAT FUNCTION ..............................................5 TOUCH SKIP FUNCTION .........................................396
Software .......................................................................205 TOUCH SKIP PROGRAM..........................................396
SPECIAL JOG SEQUENCE........................................435 TOUCH SKIP SCREEN ..............................................396
SPECIFICATION .............................. 51,107,134,400,453 TOUCHING UP OF TOUCH SENSING PROGRAM 389
Square Root(SQRT)................................................252 TP DRAM/FILE STORAGE FUNCTION ..................232
STANDARD DATA TRANSFER PROGRAM ..........341 Trigonometric Function(COS)................................253
START BRAKE CHECK ............................................153 Trigonometric Function(SIN) .................................252
Start Mode Config of KAREL program .......................198 Trigonometric Function(TAN) ...............................253
START#1 to #N ...........................................................124 TROUBLE SHOOTING ..............................................362
Starting Custom Menu .................................................201 TROUBLESHOOTING ...............................................284
Status Menu..................................................................313 Truncate(TRUNC) ..................................................256
Stitch Condition ...........................................................453 TYPE OF BUTTON ....................................................419
STITCH FUNCTION...................................................453 TYPE OF MATH FUNCTIONS..................................250
Stop Logging Tasks Screen..........................................209 Types of Alarms...........................................................134
STOP PROGRAM .......................................................130
STORAGE CONFIGURATION..................................233 <U>
STORAGES .................................................................232 Update Cycle Time Data..............................................246
SYSRDY#1 to #N ........................................................125 Upon Completion of Maintenance ...............................485
System Configuration...................................................263 USAGE .......................................................... 178,435,436
SYSTEM VARIABLE: $ROBOT_ISOLC ..................401 Use KAREL Config Screen .........................................195
SYSTEM VARIABLES.................................................69
SYSYTEM VARIABLES............................................131 <V>
View Adjustment Mode ...............................................336
<T> VIEWING VISUAL DIAGNOSTIC SCREENS .........469
Task Selection Screen ..................................................208 VISUAL DIAGNOSTICS............................................460
TCP SPEED OUTPUT.................................................227 Visual jog .....................................................................324
TCP SPEED OUTPUT INSTRUCTION .....................230
TCP/IP SETUP FOR ROBOGUIDE............................340 <W>
TEACH MATH FUNCTION INSTRUCTION ...........257 WARNINGS (Be sure to read this section for safety.)...45
i-5
B-83284EN-2/05 REVISION RECORD
REVISION RECORD
Edition Date Contents
• Following new functions have been added.
VISUAL DIAGNOSTICS, PDF VIEWER FUNCTION, HELP AND DIAGNOSTICS
05 Sep.,2015
DISPLAY, MAINTENANCE REMINDER, HMI DEVICE COMMUNICATION
• Correction of errors
04 Aug.,2013 Addition of new software series 7DC2 (V8.20).
03 Mar.,2013 Addition of R-30iB Mate.
• Following new functions have been added.
PAYLOAD OVER AND PAYLOAD SETTING CONFIRM FUNCTION,
DATA TRANSFER BETWEEN ROBOTS FUNCTION, TOUCH SENSING,
TOUCH SKIP FUNCTION, MROT INSTRUCTION, ROBOT ISOLATION FUNCTION
• The function names have been modified in the following functions.
02 Nov.,2012 SINGULARITY AVOIDANCE FUNCTION, CYCLE TIME LOGGING
• The chapter of COLLISION DETECTION FOR AUXILIARY AXIS has been moved to
"FANUC Robot series R-30iB CONTROLLER OPERATOR'S MANUAL (Basic Operation)"
(B-83284EN).
• Specifications have been modified in some functions.
• Some errors in writing have been corrected.
01 Sep., 2012
r-1
B-83284EN-2/05
* B- 8 3 2 8 4 EN- 2 / 0 5 *