iRCalibration R30iB
iRCalibration R30iB
+RCalibration
OPERATOR'S MANUAL
B-83724EN/02
• 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-83724EN/02 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-83724EN/02
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 motion range.
(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 motion range.
(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-83724EN/02 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-83724EN/02
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-83724EN/02 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 motion range.
(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
R-30iB are on the
controller maintenance 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 motion range, 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 motion range 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 motion range.
(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.
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.
s-6
B-83724EN/02 SAFETY PRECAUTIONS
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 motion range
and that there are no abnormal conditions in the robot motion range.
(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.
(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 motion range 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-83724EN/02 SAFETY PRECAUTIONS
s-10
B-83724EN/02 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.
The following table indicates the Stop pattern according to the controller type or option configuration.
Option R-30iB/ R-30iB Mate
Standard A (*)
Controlled stop by E-Stop (A05B-2600-J570) C (*)
(*) 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.
150626
s-12
B-83724EN/02 TABLE OF CONTENTS
TABLE OF CONTENTS
SAFETY PRECAUTIONS............................................................................s-1
1 PREFACE................................................................................................ 1
1.1 ABOUT THIS MANUAL ................................................................................. 1
2 OVERVIEW ............................................................................................. 3
2.1 COMPONENTS ............................................................................................. 4
2.2 SOFTWARE .................................................................................................. 6
3 BASIC VISION FUNCTION OPERATION............................................... 7
3.1 CONNECTING A CAMERA ........................................................................... 7
3.1.1 Setting SONY XC-56 ...............................................................................................7
3.1.2 Connecting the Camera to the Robot Controller or the iPendant .............................7
3.2 DISPLAYING THE RUNTIME MONITOR...................................................... 9
3.3 ADJUSTING THE LENS ................................................................................ 9
3.4 VISION DATA SETUP SCREEN ................................................................. 10
3.4.1 Menu Structure of Vision Data Setup Screen.........................................................11
3.4.2 List Screen..............................................................................................................12
3.4.3 Detail Screen ..........................................................................................................16
3.4.4 Model Training Screen ...........................................................................................18
3.4.4.1 Adjusting the exposure time ··························································19
3.4.4.2 Operating the model training screen ·················································20
3.4.5 Parameter Setting Screen........................................................................................24
3.4.5.1 Detection parameters ···································································25
3.4.5.2 Adjusting detection parameters ·······················································25
3.5 USING iRVision CAMERA........................................................................... 27
3.6 SAVING AND READING VISION DATA...................................................... 29
4 VISION MASTERING ............................................................................ 30
4.1 VISION MASTERING .................................................................................. 30
4.2 SYSTEM CONFIGURATION ....................................................................... 30
4.2.1 Overall Configuration.............................................................................................30
4.2.2 Outline of the Vision Mastering Procedure............................................................31
4.2.3 Features of the Vision Mastering Function, Including Adjustment of Gravity
Compensation Parameters ......................................................................................32
4.3 MEASURING POSES FOR VISION MASTERING...................................... 32
4.3.1 Outline of Measuring Poses ...................................................................................32
4.3.2 Determining the Reference Pose ............................................................................33
4.3.3 Examples of Reference Pose ..................................................................................34
4.4 INSTALLATION OF THE CAMERA AND TARGET..................................... 35
4.4.1 Installing the Camera..............................................................................................35
4.4.2 Installing the Target................................................................................................37
4.5 OPERATION OF VISION MASTERING WITH THE GRAVITY
COMPENSATION FUNCTION UNAVAILABLE........................................... 38
4.5.1 Outline of the Operation Procedure........................................................................38
4.5.2 Displaying the Vision Mastering Screen................................................................40
4.5.3 Setup on Vision Mastering Screen .........................................................................40
4.5.4 Generating a Measurement Program ......................................................................41
4.5.5 Executing the Measurement Program.....................................................................51
c-1
TABLE OF CONTENTS B-83724EN/02
c-6
B-83724EN/02 1.PREFACE
1 PREFACE
iRCalibration is a generic term for the functions supporting the startup of a robot system. This manual
describes the following iRCalibration functions:
• iRCalibration Vision Mastering
• iRCalibration Genkotsu Vision Mastering
• iRCalibration Vision Master Recovery
• iRCalibration Vision Axis Master
• iRCalibration All-Axis Vision Mastering
• iRCalibration Wrist-Axis Vision Mastering
• iRCalibration Vision TCP Set
• iRCalibration Vision Frame Set
• iRCalibration Vision Shift
• iRCalibration Vision Multi-Cal
CAUTION
This manual is based on R-30iB / R-30iB Mate system software version
7DC3/02(8.30P/02). Note that the functions and settings not described in this
manual may be available, and some notation differences are present, depending
on the software version.
Chapter Description
Chapter 2, "OVERVIEW" Outline of the iRCalibration suite.
Chapter 3, "BASIC VISION FUNCTION Describes the camera connection, image display, teaching of a
OPERATION" model to be detected, and the parameter setting for detection.
Chapter 4, "VISION MASTERING" Describes the setting and operation of Vision Mastering.
Chapter 5, "GENKOTSU VISION MASTERING" Describes the setting and operation of Genkotsu Vision
Mastering.
Chapter 6, "VISION MASTER RECOVERY" Describes the setting and operation of Vision Master Recovery.
Chapter 7, "VISION AXIS MASTER" Describes the setting and operation of Vision Axis Master.
Chapter 8, "ALL-AXIS VISION MASTERING" Describes the setting and operation of All-Axis Vision
Mastering.
Chapter 9, "Wrist-Axis Vision Mastering" Describes the setting and operation of Wrist-Axis Vision
Mastering.
Chapter 10, "VISION TCP SET" Describes the setting and operation of Vision TCP Set.
Chapter 11, "VISION FRAME SET" Describes the setting and operation of Vision Frame Set.
-1-
1.PREFACE B-83724EN/02
Chapter Description
Chapter 12, "VISION SHIFT" Describes the setting and operation of vision shift and the shift
of a program.
Chapter 13, "VISION MULTI-CAL" Describes the setting and operation of Vision Multi-Cal.
Related manuals
R-30iB / R-30iB Mate OPERATOR’S Topics: Robot functions, operations, programming, interfaces
MANUAL (Basic Operation) Use: Applicable design, robot installation, teaching, adjustment
B-83284EN
R-30iB / R-30iB Mate OPERATOR’S Topics: alarms
MANUAL (Alarm Code List) Use: Installation, start-up, connection, teaching, adjustment,
B-83284EN-1 maintenance
R-30iB/R-30iB Mate CONTROLLER Topics: Description of the software optional functions.
Optional Function OPERATOR’S Use: Applicable design, robot installation, teaching, adjustment
MANUAL
B83284EN-2
R-30iB / R-30iB Mate iRVision Topics: Outline of iRVision, basic operation, sensor calibration,
OPERATOR’S MANUAL (Reference) description of each function, programming
B-83304EN Use: Teaching, adjustment
R-30iB CONTROLLER Topics: Installation and set-up, connection to peripheral equipment,
MAINTENANCE MANUAL maintenance of the system
B-83195EN Use: Installation, start-up, connection, maintenance
R-30iB Mate CONTROLLER Topics: Installation and set-up, connection to peripheral equipment,
MAINTENANCE MANUAL maintenance of the system
B-83525EN Use: Installation, start-up, connection, maintenance
R-30iB Mate CONTROLLER Open Air Topics: Installation and set-up, connection to peripheral equipment,
MAINTENANCE MANUAL maintenance of the system
B-83555EN Use: Installation, start-up, connection, maintenance
R-30iB Sensor Mechanical -Control Topics: Connection of the sensors, robot, and control devices,
unit OPERATOR'S MANUAL maintenance of the sensors
B-83434EN Use: Connection and maintenance of the sensors
-2-
B-83724EN/02 2.OVERVIEW
2 OVERVIEW
iRCalibration Vision Mastering, Genkotsu Vision Mastering, Vision Master Recovery, Vision Axis
Master, Wrist-Axis Vision Mastering, Vision TCP Set, Vision Frame Set, Vision Shift, Vision Multi-Cal,
and All-Axis Vision Mastering are options for supporting the startup and integration of a robot system by
using a camera (vision system).
If the position of a workpiece or fixture has changed because the robot system is moved or reinstalled, or
a robot program created with the offline programming system is applied to a robot, vision shift can
modify taught robot positions easily and efficiently.
-3-
2.OVERVIEW B-83724EN/02
2.1 COMPONENTS
Overall configuration
The following components are mainly used:
• Camera
• Lens
• Camera cable
• Robot controller
• Teach pendant iPendant
A camera is attached to the robot end of arm tooling (EOAT) or fix mounted, perhaps mounted to a
commercially available tripod.
For details, see the chapter describing each function.
NOTE
The customer is to provide mounting hardware to attach a camera to the tool of
the robot, or to mount the camera on the floor.
Camera
Use a following camera.
Specification Quantity
SONY CCD camera XC-56 1
BASLER iPendant USB camera acA640-20um 1
NOTE
• Vision Axis Master uses a special camera unit instead of the camera listed
above.
• All-Axis Vision Mastering uses the special camera fixture.
See the chapter describing each function for details.
-4-
B-83724EN/02 2.OVERVIEW
NOTE
• BASLER acA640-20um requires the system software version is 7DC3/02 or
later.
• BASLER acA640-20um requires iPendant firmware version V8.3037 or later. If
the i Pendant firmware version is old, images can’t be snapped and the alarm
‘TP firmware version is too old’ is posted when trying to snap image.
• If the FROM size of the robot controller is 64MB or more, executing controlled
start and cold start of the controller successively allows the i Pendant firmware
to update automatically. For details on controlled start and cold start of the
controller, see “B.1. start mode” of “R-30iB/R-30iB Mate CONTROLLER
OPERATOR’S MANUAL (Basic Operation)”.
• If the FROM size of the robot controller is less than 64MB, contact FANUC
service center to update the i Pendant firmware.
NOTE
If “Teach Pendant Disconnect Function” or “Teach Pendant Hot Swap Function”
is available, do not disconnect iPendant from the controller while snapping
images with the USB camera as displaying the live images.
Lens
Use a C-mount lens for a 1/3-inch CCD camera.
Specification Quantity
C-mount lens for a 1/3-inch CCD camera f=12mm 1
NOTE
• Vision Axis Master uses special camera unit instead of the camera and the
lens listed above.
• All-Axis Vision Mastering uses the special camera fixture.
• In addition, Genkotsu Vision Mastering uses an extension ring.
See the chapter describing each function for details.
Camera cable
A cable for connecting the SONY CCD camera XC-56 to the robot controller is required. Select one of
four types of cables: 7 m long, 14 m long, 20 m long, or 25m long.
If a BASLER iPendant USB camera is used, prepare a USB3.0 cable with a male A-type connector and a
male micro-B-type connector.
Tips
For controllers with 7DC2/02(8.20P/02) or later software: The iRCalibration
options can share the camera data with iRVision if iRVision is installed.
Refer to "3.5 USING iRVision CAMERA" for more details.
-5-
2.OVERVIEW B-83724EN/02
2.2 SOFTWARE
Vision Mastering, Vision Axis Master, Vision TCP Set, Vision Frame Set, Vision Shift, and Vision
Multi-Cal are robot options. To use these functions, the following software options are required
respectively:
-6-
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
1 O
2 N
3
4
5
6
7
8
9
0
(2) (3)
Change the setting of switches 7 and 8 of the DIP switch (1) to ON (right side) from the factory settings
of the camera. Do not change the settings of the other switches from the factory settings.
-7-
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
MAIN Board
JRL7 port
Camera Cable
Camera
CAUTION
Turn off the power to the controller, before you connect a camera or camera
cable.
After using each iRCalibration function, return the connection to the previous state.
Tips
For controllers with 7DC2/02(8.20P/02) or later software: the iRCalibration
options can share the camera data with iRVision if iRVision is installed.
Refer to "3.5 USING iRVision CAMERA" for more details.
USB cable
(A connector)
USB cable
(micro B connector)
-8-
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
NOTE
If “Teach Pendant Disconnect Function” or “Teach Pendant Hot Swap Function”
is available, do not disconnect iPendant from the controller while snapping
images with the USB camera as displaying the live images.
Step
1 Press the MENU key, then select "UTILITIES" from the screen menu.
2 Press the F1 [TYPE] key, then select "iRCalibration" from the menu.
The UTILITIES iRCalibration screen is displayed. If a detail screen of an iRCalibration function is
displayed here, press the PREV key multiple times until the list screen of iRCalibration functions is
displayed.
3 Press the F2 (DISP_IMG) key.
The iPendant configuration displays "Double" pane mode, and the runtime monitor screen
(hereinafter referred to as the runtime monitor) is displayed on the right-hand screen.
-9-
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
FUNCTION 3
1 REFRESH PANE
4 LIVE/SNAP
5 VISION SETUP
6
iRCalibration
Vision Data Setup List 1/8
- 10 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
F3 (DETAIL)
iRCalibration
Vision Data Setup Detail 1/4
Vision Data Setup Screen - Detail Screen
Vision Data: VSFT1
Status: Not Trained
1 Comment: [ ]
2 Camera Type: SONY XC-56
3 Model: <Detail>
4 Param: <Detail>
Select Item 2.
Vision Data Setup Screen -Detail Screen
• Choose camera type.
PREV key or
F4 [CHOICE]
- 11 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
iRCalibration
Vision Data Setup Model 1/5
- 12 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
iRCalibration
Vision Data Setup List 1/8
In the Vision Data Setup List Screen, users can check the status and comment for each vision data item.
However, the "Status" and "Comment" cannot be changed in this screen. You can modify the
"Comment" in the Detail Screen of the Vision Data Setup Screen. For details, refer to "3.4.3 Detail
Screen". The "Status" shows whether or not a model is trained for the vision data. The "Status" has
the following value:
• Not Trained
The model of a vision data is not trained.
• Trained
The model of a vision data is trained.
• Reserved
The data is already in use and iRCalibration should not use it. If "Status" is "Reserved", the Detail
Screen cannot be opened. In addition, you cannot copy or initialize this vision data.
Procedure 3-2 Display the Detail Screen of the Vision Data Setup Screen
Step
1 Move the cursor by using the ↑ key or the ↓ key to select a vision data from any one of the
vision data from VSFT1 to VSFT8.
iRCalibration
Vision Data Setup List 1/8
iRCalibration
Vision Data Setup Detail 1/4
3 Model: <Detail>
4 Param: <Detail>
| |DISP_IMG| LIVE | |
iRCalibration
Vision Data Setup List 1/8
iRCalibration iRCalibration
Vision Data Setup Copy 1/1 Vision Data Setup Copy 1/1
--- Copy Vision Data --- --- Copy Vision Data ---
From: From:
VSFT1 VSFT1
To: To:
VSFT3
VSFT VSFT2
4 Press the F4 [CHOICE] key, and choose the destination vision data from VSFT1~VSFT8.
- 14 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
5 Press the F1 (YES) key to copy vision data from the source to the destination. However, if the
source and destination has the same name, no copy is made.
Press the F2 (NO) key to return to the previous screen without copying the vision data.
6 The following is an example of copying vision data from VSFT1 to VSFT3.
iRCalibration
Vision Data Setup List 1/8
iRCalibration
Vision Data Setup List 1/8
iRCalibration
Vision Data Setup List 1/8
- 15 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
iRCalibration
Vision Data Setup List 1/8
iRCalibration
Vision Data Setup Detail 1/4
3 Model: <Detail>
4 Param: <Detail>
| |DISP_IMG| LIVE | |
Press the NEXT key ([>]) on the TP to see function keys in the next page, as it is shown below. Press
the NEXT key ([>]) again to return to previous page.
iRCalibration
Vision Data Setup Detail 1/4
| | SNAP | | | FIND
- 16 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
There are two function keys in the next page:
F2 (SNAP) : Snaps an image.
F5 (FIND) : Finds the target mark according to the currently displayed parameters.
(A model needs to be trained beforehand.)
Vision Data
The name of the vision data.
Status
The vision data status. The status can be either “Trained” if the model has been trained, or “Not Trained”
if the model has not been trained before.
Comment
The vision data can have up to 10 characters as its comment.
Camera Type
The camera types that are used when the vision data is selected. The camera type can be selected from the
following list.
SONY XC-56
The default camera type. Choose this when using "SONY XC-56" camera that connects to JRL7
port on the main board or JRL7A port on the multiplexer.
BASLER acA640-20um
Choose this when BASLER iPendant USB camera ac640-20um is used.
KOWA SC36MF
Choose this when KOWA iPendant USB camera SC36MF is used.
iRVision Camera
Choose this camera type when using a camera that has been set up by the iRVision setup screen.
For details, refer to "3.5 USING iRVision CAMERA".
Model
Move the cursor to this item and press the ENTER key to display the Model Training Screen.
Param
Move the cursor to this item and press the ENTER key to display the Parameter Setting Screen.
Step
1 Move the cursor to "2 Camera Type" by using the ↑ key or ↓ key.
- 17 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
iRCalibration
Vision Data Setup Detail 1/4
Vision Data: VSFT1
Status: Not Trained
1 Comment: [ ]
2 Camera Type: SONY
SONYXC-56
XC-56
3 Model: <Detail>
4 Param: <Detail>
2 Press the F4 [CHOICE] key to display the pop-up menu of the camera type.
iRCalibration
Vision Data Setup Detail 1/4
Vision Data: 1 VSFT1
1 SONY XC-56
Status: Not Trained
2 BASLER acA640-20um
1 Comment: [ ]
3 2 Camera
KOWA Type:
SC36MF SONY XC-56
4 iRVision camera
5 3 Model: <Detail>
6 4 Param: <Detail>
7
8
| |DISP_IMG| LIVE |[CHOICE]|
3 Select the desired camera type from the displayed pop-up menu.
iRCalibration
Vision Data Setup Model 1/5
Vision Data: VSFT1
Status: Not Trained
Camera Type: SONY XC-56
1 Exposure Time: 33.33 ms
2 Multi Exposures: 3
3 Train Window Radius: 64 pix
4 Pos.(Up Down): 240 pix
5 Pos.(Left Right): 320 pix
Vision Data
The item indicates the name of the vision data for model training.
- 18 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
Status
The item indicates the status of the vision data for parameter setting. In the case of the model of the
target mark is trained, "Trained" is displayed. In the case of the model of the target mark is not trained,
"Not Trained" is displayed.
Camera Type
The item indicates the camera type of the vision data. The type of the camera which is used when this
vision data is selected.
Other items
The Model Training Screen enables the items below to be set.
Adjust the exposure time so that the image is not pure white but rather gray in the area around the target
mark. Then, adjust the exposure time so the white background and black mark can be clearly
distinguished.
Target mark image with Target mark image with Target mark image with
too short exposure time appropriate exposure time too long exposure time
- 19 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
NOTE
Before modifying exposure time, the focus and the aperture of lens should be
adjusted as followings.
Step 1: Press the F2 (DISP_IMG) key to display the Model Training Screen of
the Vision Data Setup Screen and the runtime monitor on the iPendant side by
side in dual panes mode.
Step 2: Press the F1 (STD.) key to set the Exposure Time to the default value.
Step 3: Press the F3 (LIVE) key to display the live camera image on the
runtime monitor.
Step 4: Adjust aperture ring on the lens to display the live camera image with
proper brightness.
Step 5: Open the aperture by aperture ring and adjust the Exposure Time to
display the live camera image with proper brightness.
Step 6: Adjust the focus ring so the target is clearly displayed in the live image. .
Step 7: Move aperture handle to the position adjusted by Step 4 and press the
F1 (STD.) key to reset the Exposure Time to the default value.
- 20 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
Specify the size and position of the circular training window with the function keys then enclose the
target and train the model.
Adjust the Exposure Time so the edges of the target can be detected. Next, adjust the radius and
position of the training window to enclose the target, and then press the function key to train the model
([TRAIN]). The target in the window is trained as a reference model for vision detection.
Use the function keys to move the window position, perform LIVE/SNAP operation, display, train, and
detect a model.
- 21 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
F1 (STD.) : Resets the vertical position of the window to the default value.
F2 (DISP_IMG) : Changes the iPendant display to "Double" pane mode.
The runtime monitor screen is displayed in the right pane.
F3 (LIVE) : Displays a live image.
F4 (UP) : Moves the position of the training window in the upward direction
(minus direction of Vt).
F5 (DOWN) : Moves the position of the training window in the downward direction
(plus direction of Vt).
Select "5 : POS.(Left Right)" on the Model Training Screen by moving the cursor with the ↑ key or the
↓ key. The definition of the function keys is listed below.
F1 (STD.) : Resets the horizontal position of the window to the default value.
F2 (DISP_IMG) : Changes iPendant configuration to "Double" pane mode.
Displays the runtime monitor screen on the right-hand screen.
F3 (LIVE) : Displays a live image.
F4 (LEFT) : Moves the position of the training window in the left direction
(minus direction of Hz).
F5 (RIGHT) : Moves the position of the training window in the right direction
(plus direction of Hz).
Use the function keys to enclose the target for the model training in the run time monitor screen, as shown
below:
Training a model
Press the NEXT key ([>]) on the TP to access the next page of function keys.
- 22 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
Press F4 (TRAIN) to train the target within the training window as the model.
NOTE
Follow the steps listed below to return to the screen before the vision data setup
screen was displayed.
1, Press the PREV key to return to the Detail Screen.
2, Press the PREV key to return to the List Screen.
3, Press the PREV key to exit the Vision Data Setup Screen and return to the
prior screen.
Fig. 3.4.4.2 (a) Example 1 of a target Fig. 3.4.4.2 (b) Example 2 of a target
- 23 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
• A contour that makes it easy to recognize rotation within a 45 degree range. (The cross in the
above examples.)
Also, train the model with the surface of the target flat and lined up square to the camera.
Tips
The surface of the target should be flat and lined up square to the camera.
Visual accuracy is sufficient to line up the target flat to the camera.
iRCalibration
Vision Data Setup Parameter 1/7
Vision Data
This item indicates the name of the vision data for parameter setting.
Status
This item indicates the vision data status. The status can be either “Trained” if the model has been trained,
or “Not Trained”, if the model has not been trained before.
Camera Type
This item indicates the camera type used for the vision data.
iRCalibration
Vision Data Setup Detail 1/4
Vision Data: VSFT1
Status: Not Trained
1 Comment: [ ]
2 Camera Type: SONY XC-56
3 Model: <Detail>
4 Param: <Detail>
|DISP_IMG| LIVE | |
- 24 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
2 Press the ENTER key. The Parameter Setting Screen is displayed.
iRCalibration
Vision Data Setup Parameter 1/7
- 25 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
iRCalibration
Vision Data Setup Parameter 1/7
Vision Data: VSFT1
Status: Not Trained
Camera Type: SONY XC-56
1 Exposure Time: 33.33 ms
2 Multi Exposures: 3
3 Distance Range: (+/-) 25.0 %
4 Rotation Angle: (+/-) 46.0 deg
5 Tilt Angle: 35.0 deg
6 Score: 70.0
7 Contrast: 15.0
STD. |DISP_IMG| LIVE | + | - | >
NOTE
Pressing the F2 or the F3 key while holding down the SHIFT key changes the
value at a faster rate.
Pressing the NEXT key ([>]) on the TP shows the function keys in the next page, as shown below.
Pressing the NEXT key ([>]) again returns the function keys to the current page.
iRCalibration
Vision Data Setup Parameter 1/7
Vision Data: VSFT1
Status: Not Trained
Camera Type: SONY XC-56
1 Exposure Time: 33.33 ms
2 Multi Exposures: 3
3 Distance Range: (+/-) 25.0 %
4 Rotation Angle: (+/-) 46.0 deg
5 Tilt Angle: 35.0 deg
6 Score: 70.0
7 Contrast: 15.0
| | SNAP | | | FIND | >
- 26 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
NOTE
Follow the steps listed below to return to the screen before the vision data setup
screen was displayed.
1, Press the PREV key to return to the Detail Screen.
2, Press the PREV key to return to the List Screen.
3, Press the PREV key to exit the Vision Data Setup Screen and return to the
prior screen.
iRVision should create the camera data before sharing it with iRCalibration options, To create iRVision
camera data , refer to "R-30iB / R-30iB Mate iRVision OPERATOR’S MANUAL (Reference)".
The iRVision camera data can be used in the measurement program generation screen of the Vision
Mastering and the Vision Master Recovery, and the Detail Screen of the Vision Data Setup Screen.
The following is an example of using iRVision camera data in the Detail Screen of the Vision Data Setup
menu.
1, In the Detail Screen of the Vision Data Setup menu, move the cursor to the item 2 "Camera Type",
and press the F4 [CHOICE].
Choose "iRVision Camera" in the popup menu.
iRCalibration
Vision Data Setup Detail 2/4
ビジョンデータ:1 VSFT1
1 状態:
SONY XC-56 Not Trained
2 1BASLER
コメント: acA640-20um [ ]
3 2KOWA
カメラのタイプ:
SC36MF iRVision Camera
iRVision Camera
4 iRVision Camera
5 3 モデル: <Detail>
6 4 パラメータ: <Detail>
7
8
|DISP_IMG| LIVE |[CHOICE]|
2, After chosen "iRVision Camera" for item 2, the camera data of iRVision can be selected by moving
the cursor done to next item:
- 27 -
3.BASIC VISION FUNCTION OPERATION B-83724EN/02
iRCalibration
Vision Data Setup Detail 2/5
Vision Data: VSFT1
Status: Not Trained
1 Comment: [ ]
2 Camera Type: iRVision Camera
3
4 Model: <Detail>
5 Param: <Detail>
3, Press the F4 [CHOICE] and a popup menu of iRVision camera data is displayed. (The vision data
"ANALOG", "MONOCR", and "COLOR" were created in the setup screen of iRVision)
iRCalibration
Vision Data Setup Detail 3/5
4, Select the camera data. Now iRCalibration can do target training and target detection using the
iRVision camera data chosen in the item 3.
iRCalibration
Vision Data Setup Detail 1/5
Vision Data: VSFT1
Status: Not Trained
1 Comment: [ ]
2 Camera Type: iRVision Camera
3 ANALOG
4 Model: <Detail>
5 Param: <Detail>
- 28 -
B-83724EN/02 3.BASIC VISION FUNCTION OPERATION
Saving data
By executing an All files backup on the file menu, the iRCalibration vision data is saved to the file I/O
devices together with the programs and other data files.
Reading data
The saved iRCalibration vision data VSFT1.VD to VSFT8.VD, ~XC56.VD, and so on can be read back
to the controller using the File menu. Therefore, other controllers can share the iRCalibration's vision
data trained by one controller.
CAUTION
1. The R-30iB/R-30iB Mate controller’s vision data is incompatible with the vision
data of R-30iA/R-30iA Mate controller.
Do not load R-30iA/R-30iA Mate vision data to an R-30iB/R-30iB Mate
controller, and vice versa.
2. For R-30iB/R-30iB Mate controllers with later system software
(7DC2/02(8.20P/02) or later), reading vision data that was created by earlier
R-30iB controller (the series 7DC1(8.10P), 7DD0(8.13P) or 7DC2/01(8.20P/01)),
you need to do the following.
After reading the vision data, open the Detail Screen in the Vision Data Setup
menu, and change the "Camera Type" to the camera type that is to be used.
- 29 -
4.VISION MASTERING B-83724EN/02
4 VISION MASTERING
4.1 VISION MASTERING
What is Vision Mastering?
Vision Mastering automatically measures a fixed target by using a camera attached to the tool tip of a
robot while changing the posture of the robot, and adjusts J2 through J5 axis mastering data and J2
through J6 axis spring constants. The spring constants can be adjusted only when the Gravity
Compensation Function (used as an optional function) is enabled. This function can enhance robot
position precision through TCP setting, vision shifting in offline programming, general vision
compensation, and so forth.
Automated operations:
Operations other than camera installation are performed automatically. Manual operations are therefore
simplified, and the operation results do not depend on the skill of the operator.
Camera Cable
Camera
Target
NOTE
The customer is to prepare hardware such as a camera with lens, a target, a jig
for holding the camera, and a jig for holding the target.
Tips
For controller with 7DC2/02(8.20P/02) or later software. Vision Mastering can
share camera data with iRVision if iRvision is installed. You can use cameras
and lenses that are not listed in “2.1 COMPONENTS” when share camera data
with iRVision. For more details, please refer to "3.5 USING iRVision CAMERA".
- 31 -
4.VISION MASTERING B-83724EN/02
CAUTION
The Gravity Compensation function is an option. You have to set the mass and
center of gravity of the payload accurately for this option to work. You can use
another option, the Payload Identification option, to identify the mass and center
of the gravity of the payload. For details on the Gravity Compensation and
Payload Identification functions, please refer to "R-30iB/R-30iB Mate
CONTROLLER Optional Function OPERATOR’S MANUAL".
Standoff
Vision Mastering uses 27 measuring poses. These measuring poses are automatically generated based
on a reference pose (initial value).
The measuring poses are generated as detailed below:
• A total of 27 measuring poses are generated by combining three different swing angles, (a positive
maximum swing angle, negative maximum swing angle, and 0), about each axis of orientation (W, P,
R) of the reference pose. (Thus 3 times 3 times 3 = 27)
• Each robot measuring pose is adjusted so that the standoff (the distance between the camera and
target) remains constant.
- 32 -
B-83724EN/02 4.VISION MASTERING
As the robot is used to cover a wide work area, in general, it may be difficult to determine the central pose
of the robot. In such cases, focus on an area which requires the highest position accuracy.
If the robot used in its actual pose can interfere with the surroundings, try the following measures:
1 Change only the value of the J1 axis with respect to the reference pose of the robot, move the robot
hand section to a place where it can move more easily, then determine the current pose as the new
reference pose.
J1
Target
2 Move the robot hand section to a place where it can move more easily without changing its pose
with respect to the reference pose of the robot, then determine the current pose as the new reference
pose.
- 33 -
4.VISION MASTERING B-83724EN/02
Target
Fig. 4.3.2(c) Adjusting the reference pose without changing the wrist pose
CAUTION
When the wrist flange surface of the robot faces laterally, generated multiple
measuring poses may cross singularity in some reference poses. In that case,
adjust the robot pose so that the reference pose does not approach singularity.
Fig. 4.3.3(a) Reference pose in which the robot can operate relatively easily
- 34 -
B-83724EN/02 4.VISION MASTERING
Mount the camera such that the camera lens center line is offset at least 100 mm from the center line of
axis six. The recommended offset is at least 100 mm and the recommended standoff (distance between the
camera and target) is 400 mm.
Offset is more than 100mm
Standoff is more than 400mm
Standoff
- 35 -
4.VISION MASTERING B-83724EN/02
Keep the camera and the tool away from the base section of the robot and tilt the J3 arm downward as
shown below, so that the wrist section hardly causes interference.
Hardly Interfere
Fig. 4.4.1 (b) Wrist pose in which the camera hardly interferes with the robot
If the camera or tool is close to the base section of the robot or if the J3 arm is tilted upward in contrast,
the wrist section is liable to cause interference. In that case, the swing angle of measuring pose must be
reduced, involving a risk of degrading mastering results.
Interference
Fig. 4.4.1 (c) Wrist pose in which the camera is liable to interfere with the robot
Check these examples for reference to appropriately install the camera and select the reference pose of the
robot.
NOTE
The reference pose in which the camera is close to the base section of the robot,
as shown in Fig4.4.1(d), can improve the quality of the set of measuring poses
which are generated by using the reference pose.
Fig. 4.4.1 (d) Wrist pose in which the camera is close to the base section
- 36 -
B-83724EN/02 4.VISION MASTERING
Camera
Lens
Target
NOTE
The calibration grid should be placed near the center of the field of view.
Roughly placing the calibration in the center of the field of view is sufficient, its
placement doesn’t require a high level of precision.
- 37 -
4.VISION MASTERING B-83724EN/02
Connect the camera to the con troller or the iPendant with the camera cable.
Mount the camera on the robots end of arm tooling, and secure the target to a
fixed surface.
Display the measurement program generation screen from the Vision mastering
screen.
For d etails, refer to Subsection 4.5.4, “Generating a Measurement Program”.
Measuring the camera position and the target position that are used for
generating the TP program.
- 38 -
B-83724EN/02 4.VISION MASTERING
Set swing angles which are used for generating the measurement program.
- 39 -
4.VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
1/2
1 Vision Mastering
2 Vision Master Recovery
5 Move the cursor to "Vision Mastering", then press the F3 (DETAIL) or the ENTER key.
The following "Vision Mastering" screen appears on teach pendant.
UTILITIES iRCalibration
Vision Mastering 1/6
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Create Program (Not Done)
4 Run: VMAST11 (Not Done)
5 Update Master CT (Not Done)
6 View Result
[ TYPE ]DISP_IMG
Select and execute each item on the screen sequentially from the top so that the mastering parameters can
be adjusted.
- 40 -
B-83724EN/02 4.VISION MASTERING
UTILITIES iRCalibration
Vision Mastering 1/6
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Create Program (Not Done)
4 Run: VMAST11 (Not Done)
5 Update Master CT (Not Done)
6 View Result
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Mastering 2/6
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Create Program (Not Done)
4 Run: VMAST11 (Not Done)
5 Update Master CT (Not Done)
6 View Result
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Mastering 3/6
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Create Program (Not Done)
4 Run: VMAST11 (Not Done)
5 Update Master CT (Not Done)
6 View Result
- 41 -
4.VISION MASTERING B-83724EN/02
The teach pendant displays a measurement program generation screen as shown below.
UTILITIES iRCalibration
Vision Mastering: Create Program 1/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
UTILITIES iRCalibration
Vision Mastering: Create Program 1/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
UTILITIES iRCalibration
Vision Mastering: Create Program 2/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
- 42 -
B-83724EN/02 4.VISION MASTERING
UTILITIES iRCalibration
Vision Mastering: Create Program 3/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
UTILITIES iRCalibration
Vision Mastering: Create Program 4/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
Refer to Subsection 3.2 "DISPLAYING THE RUNTIME MONITOR" so that an image and the
Generating Measurement Program screen can be seen simultaneously. The following explains an
example of displaying an image and the Generating Measurement Program screen simultaneously on
iPendant. The display on the teach pendant is shown below.
- 43 -
4.VISION MASTERING B-83724EN/02
NOTE
When the F2 or the F3 is pressed while holding down the SHIFT key, the rate of
the value change becomes larger.
NOTE
Vision mastering uses the exposure time set in this screen.
The exposure time set in "Parameter Setting Screen" or "Model Training Screen"
of Vision Data Setup Screen does not applied to Vision Mastering.
Calibration grid image with Calibration grid image with Calibration grid image with
too short exposure time appropriate exposure time too long exposure time
- 44 -
B-83724EN/02 4.VISION MASTERING
6 Move the robot and teach the reference pose so that the origin of the target is near the center of the
camera image.
Move the cursor to "Reference Pose" on the measurement program generation screen, and then press
the SHIFT key and the F5 (RECORD) together.
The current position is stored as reference pose. The display on the teach pendant is shown below.
NOTE
You can move the robot to the “Reference Pose” if the position is “RECORDED”
by pressing F4(MOVE TO) while holding down the SHIFT key.
- 45 -
4.VISION MASTERING B-83724EN/02
7 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, and then measure
the camera position. If T1 mode is selected, the override can be improved more than 30%.
The camera position is measured while the robot automatically moves into multiple poses, with the
reference pose as a measurement start pose, in which the pose is changed by several centimeters in
the directions orthogonal to X, Y, and Z and by about 15 degrees in the pose directions of W, P, and
R. The camera position and calibration grid position are calculated based on the results of the
vision measurement.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering: Create Program 6/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Not Done)
Camera Position:
X: 0.0 Y: 0.0 Z: 0.0
W: 0.0 P: 0.0 R: 0.0
Calibration Grid Position:
X: 0.0 Y: 0.0 Z: 0.0
7 Swing Angle W: 20.0 deg
8 P: 20.0 deg
9 R: 30.0 deg
10 Create Program (Not Done)
Evaluation Index of Program: 99.9
[ TYPE ] SELECT
Move the cursor to "Measure Camera Position", then press the SHIFT key and the F4(SELECT)
together.
The camera position will be measured. During measurement, the teach pendant displays the
following screen.
- 46 -
B-83724EN/02 4.VISION MASTERING
VCMTVTCP: 5/8 T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering: Create Program 6/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Not Done)
Camera Position:
X: 0.0 Y: 0.0 Z: 0.0
W: 0.0 P: 0.0 R: 0.0
Calibration Grid Position:
X: 0.0 Y: 0.0 Z: 0.0
7 Swing Angle W: 20.0 deg
8 P: 20.0 deg
9 R: 30.0 deg
10 Create Program (Not Done)
Evaluation Index of Program: 99.9
Camera position is being measured
[ TYPE ]
NOTE
1 If the camera attachment position or the calibration grid position is changed,
measure the camera position again.
2 Keep pressing the SHIFT key during the measurement. For 7DC3/09
(V8.30P/09) or earlier software, if pressing the SHIFT key is interrupted,
resuming the measurement makes it restart from the beginning. For 7DC3/10
(V8.30P/10) or later software, when you resume the measurement after the
interruption, if a part of the measurement has been completed, a confirmation
message to select “RESUME” or “RESTART” is displayed. Then, if “RESUME” is
selected, the measurement is resumed. If “RESTART” is selected, the
measurement is restarted from the beginning. If the camera attachment position
or the calibration grid position is changed, select "RESTART".
3 An attempt to perform camera position measurement during execution of
another program causes an error with the following error message displayed:
"INTP-313 (Z_VCLIB2,384) Motion statement failed, PROG-040 Already locked
by other task"
In this case, select "ABORT (ALL)" on the FCTN menu to terminate the program.
When the measurement is finished, the display on the teach pendant screen is as follows:
• The "Measure Camera Position" status is "Done".
• A message "Camera position is measured" appears in the prompt window.
• The result of the measurement is displayed.
Measurement result:
• Camera Position: Position of visual TCP
• Calibration Grid Position: Origin position of calibration grid
- 47 -
4.VISION MASTERING B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering: Create Program 6/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
[ TYPE ] SELECT
8 Set the swing angles W, P, and R of measuring poses for Vision Mastering. For details on
measuring poses, please refer to "4.3.1 Outline of Measuring Poses".
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering: Create Program 7/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
[ TYPE ] DISP_IMG
- 48 -
B-83724EN/02 4.VISION MASTERING
NOTE
Increasing the swing angle improves the accuracy of adjustment of mastering
parameters but requires a wider operating range.
NOTE
If swing angle W or P exceeds 45 degrees, it may be impossible to perform
vision measurement. Do not allow swing angle W or P to exceed 45 degrees.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering: Create Program 10/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
[ TYPE ] SELECT
Upon completion of the generation of the measurement program, the screen on the teach pendant
changes as shown below.
• The "Create Program" status becomes "Done".
• The message "Program is created" is displayed.
- 49 -
4.VISION MASTERING B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering: Create Program 10/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
[ TYPE ] SELECT
When robot group is 1, TP program VMAST11 and VMDATA11 are generated. The first number
following VMAST and VMDATA indicates a robot group; the second one indicates a payload
number.
10 Check the evaluation index and, if it is greater than 4.2, start at Step 8 over again and increase the
values of Swing Angle. If the Evaluation Index still is not improved, teach the reference pose to set
the camera away from the target, and start at Step 6 again.
NOTE
Smaller value of Evaluation Index of Program means higher accuracy of Vision
Mastering result may be achieved by using this program.
If a measurement program is generated with one already existing, the teach pendant displays the
following message.
- 50 -
B-83724EN/02 4.VISION MASTERING
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering: Create Program 10/10
Robot Group[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
[ TYPE ] YES NO
11 When generating is finished, select the PREV key to return to Vision Mastering screen.
Step
1 Move the cursor to "RUN", then press the F4 (SELECT) or the ENTER key.
- 51 -
4.VISION MASTERING B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering 4/6
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Create Program (Done )
4 Run: VMAST11 (Not Done)
5 Update Master CT (Not Done)
6 View Result
T2 30 %
VMAST11 iRVision Runtime Display
1/113
1: UTOOL_NUM=9
2: UFRAME_NUM=0
3:
4:J @P[28] 30% FINE
5:
6:L P[1] 500mm/sec FINE
7: CALL VCMT_VT(1,1)
8:L @P[28] 500mm/sec CNT0
9:
10:L P[2] 500mm/sec FINE
11: CALL VCMT_VT(2,1)
12:L @P[28] 500mm/sec CNT0
13:
14:L P[3] 500mm/sec FINE
15: CALL VCMT_VT(3,1)
16:L @P[28] 500mm/sec CNT0
17:
18:L P[4] 500mm/sec FINE
19: CALL VCMT_VT(4,1)
20:L @P[28] 500mm/sec CNT0
21:
2 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, then run the
program displayed. If T1 mode is selected, the override can be improved more than 30%.
- 52 -
B-83724EN/02 4.VISION MASTERING
NOTE
If the robot cannot move to any of positions [1] to [27] during execution of the
measurement program, make sure that the calibration grid resides within the
field of view of the camera, then re-teach a position to which the robot can move,
and continue the measurement from the re-taught position.
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “4.7.1 TP Program”.
For 7DC3/10 (V8.30P/10) or later software, when the measurement is
interrupted by the release of the SHIFT key, the occurrence of an alarm or other
reasons, re-execute the TP program after moving the cursor to the first line. If a
part of the measurement has been completed, a message “Press 0 (restart) or 9
(resume)” appears. Press the 0 key to restart the measurement from the
beginning or the 9 key to resume the measurement.
NOTE
If the camera attachment position or the calibration grid position is changed,
measure the camera position and generate the measurement program in “4.5.4
Generating a Measurement Program” again.
3 When the measurement has been completed, please refer to "4.5.2 Displaying the Vision Mastering
Screen" to display the Vision Mastering screen.
Step
1 Move the cursor to "Update Master CT", then press the F4 (SELECT) or the ENTER key.
UTILITIES iRCalibration
Vision Mastering 5/6
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Create Program (Done )
4 Run: VMAST11 (Done )
5 Update Master CT (Not Done)
6 View Result
The teach pendant displays the mastering data update screen as shown below.
- 53 -
4.VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
Vision Mastering: Update Master CT
Robot Group[ 1]
Compensation Angles:
J1: 0.000 J2: -0.025
J3: 0.048 J4: -0.003
J5: -0.020 J6: 0.000
NOTE
Mastering parameters are not updated at this point.
2 Confirm the items displayed. If there is no problem, press the F3 (UPDATE) while holding down
the SHIFT key to update mastering data.
Confirmation
• Confirm that Compensation Angles is 1° or less.
If Compensation Angles is exceeding 1°, update mastering data and run the measurement program
again, then confirm that the value of Compensation Angles displayed on Updating Mastering Data
screen becomes smaller.
• If you do not adjust Gravity Compensation parameters, check whether the evaluation index is 4.2 or
less.
If Evaluation Index is exceeding 4.2, there is a possibility that the calculation error of mastering
parameters is large. Re-generate the measurement program with the maximum swing angle increased
on the "Create Program" screen, then re-execute the program.
• Confirm the Max Error of Calibration.
The approximate maximum error of calibration is as follows:
• When the transportable mass of the robot is 100 kg or less, "Max Error of Calibration" is 1.5
mm or less.
• When the transportable mass of the robot is 200 kg or less, "Max Error of Calibration" is 2 mm
or less.
If the maximum error of calibration is considerably larger than the above value, possible causes are that
the lens or camera is not secured, the lens is out of focus, and that the target is not secured. Check these
causes again.
- 54 -
B-83724EN/02 4.VISION MASTERING
NOTE
With a heavy payload, "Max Error of Calibration" can be larger than the above
approximate value. In this case, update mastering data, run the measurement
program again, and confirm "Compensation Angles" and "Max Error of
Calibration" on Updating Mastering Data screen again. Even though "Max Error
of Calibration" has not changed, if "Compensation Angles" becomes smaller, the
result of Vision Mastering is fine.
3 After updating the mastering data, set the reference position for Quick Mastering again, preparing
for future Quick Mastering. If it has not been set, set it as all the axes’ angles are 0 degree. For
details of Quick Mastering, please refer to "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic
Operation)" and “Mechanical Unit Operator’s Manual”.
UTILITIES iRCalibration
Vision Mastering 6/6
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Create Program (Done )
4 Run: VMAST11 (Done )
5 Update Master CT (Done )
6 View Result
The teach pendant displays the mastering result display screen as shown below.
UTILITIES iRCalibration
Vision Mastering: View Result Page 1
Robot Group[ 1]
Compensation Angles:
J1: 0.000 J2: -0.025
J3: 0.048 J4: -0.003
J5: -0.020 J6: 0.000
Function key
F4 (NEXTPAGE): Go to the next page.
F5 (OUTPUT): Save VCMT_LOG.TXT, the Vision Mastering results logging file to the file I/O
devices (a memory card, an USB memory, etc). For details of selecting the file
I/O devices in the file menu, please refer to "R-30iB / R-30iB Mate
OPERATOR’S MANUAL(Basic Operation)".
- 55 -
4.VISION MASTERING B-83724EN/02
NOTE
If VCMT_LOG.TXT already exists, the new results are appended to the current
contents.
NOTE
If the adjusted Gravity Compensation parameters do not improve positioning
accuracy, you need to reset the Gravity Compensation parameters back to their
default values and redo the Vision Master again.
NOTE
With just one light payload, the measurement and update of Vision Mastering
should be repeated until compensation results become small. For details,
please refer to "4.6.7, Updating Mastering Data".
- 56 -
B-83724EN/02 4.VISION MASTERING
Connect the camera to the controller or the iPendant with the camera cable.
Mount the camera on the robot’s end of arm tooling, and secure the target to a
fixed surface.
Display the measurement program generation screen from the Vision mastering
screen.
For details, refer to Subsection 4.6.5, “Generating a measurement program”.
Measuring the camera position and the target position that are used for
generating the TP program.
- 57 -
4.VISION MASTERING B-83724EN/02
Set swing angles which are used for generating the measurement program.
- 58 -
B-83724EN/02 4.VISION MASTERING
UTILITIES iRCalibration
1/2
1 Vision Mastering
2 Vision Master Recovery
5 Move the cursor to "Vision Mastering", then press the F3 (DETAIL) or the ENTER key.
The following "Vision Mastering" screen appears on teach pendant.
UTILITIES iRCalibration
Vision Mastering with Gravity Com 1/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: FALSE
4 PAYLOAD number: 0
5 Camera Position(1-3): 0
6 Create Program (--------)
7 Run: VMAST11 (--------)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ]DISP_IMG
Select and execute each item on the screen sequentially from the top so that the mastering parameters can
be adjusted.
NOTE
If Gravity Compensation is loaded, the menu’s title shows “Vision Mastering with
Gravity Com”. If the controller has the Gravity Compensation option loaded but it is
disabled, you can enable the Gravity Compensation by setting
$PARAM_GROUP[n].$SV_DMY_LNK[8] (n: robot group) to "TRUE", and then cycle
the power.
- 59 -
4.VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
Vision Mastering with Gravity Com 1/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: FALSE
4 PAYLOAD number: 0
5 Camera Position(1-3): 0
6 Create Program (--------)
7 Run: VMAST11 (--------)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Mastering with Gravity Com 2/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: FALSE
4 PAYLOAD number: 0
5 Camera Position(1-3): 0
6 Create Program (--------)
7 Run: VMAST11 (--------)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ]DISP_IMG
Select Payload
Move the cursor to "Select Payload" corresponding to the payload to be used for Vision Mastering, then
press the F4 (TRUE).
- 60 -
B-83724EN/02 4.VISION MASTERING
UTILITIES iRCalibration
Vision Mastering with Gravity Com 3/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: FALSE
4 PAYLOAD number: 0
5 Camera Position(1-3): 0
6 Create Program (--------)
7 Run: VMAST11 (--------)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ] TRUE FALSE
The screen on the teach pendant changes as follows, indicating that the measurement using the selected
payload can be performed. You can disable that payload by pressing the F5 (FALSE).
UTILITIES iRCalibration
Vision Mastering with Gravity Com 3/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: TRUE
4 PAYLOAD number: 0
5 Camera Position(1-3): 0
6 Create Program (Not Done)
7 Run: VMAST11 (Not Done)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ] TRUE FALSE
UTILITIES iRCalibration
Vision Mastering with Gravity Com 4/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: TRUE
4 PAYLOAD number: 1
5 Camera Position(1-3): 0
6 Create Program (Not Done)
7 Run: VMAST11 (Not Done)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ]
CAUTION
1 The meaning of "PAYLOAD number" is as same as the "PAYLOAD number" in
the motion performance menu
2 The payload should be set correctly in the motion performance menu before
executing Vision Mastering.
3 "PAYLOAD number" is used as the value of "PAYLOAD" command in
measurement program. See section "4.7.1 TP program" for detail.
- 61 -
4.VISION MASTERING B-83724EN/02
ヒ ゙シ ゙ ョン マ スタ リ ンク ゙( 重 力 補正 機 能有 効 )
UTILITIES iRCalibration
5/19
Vision Mastering with Gravity Com 5/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: TRUE
4 PAYLOAD number: 1
5 Camera Position(1-3): 1
6 Create Program (Not Done)
7 Run: VMAST11 (Not Done)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ]
NOTE
If the robot is used in multiple payload conditions, for example, in which the robot
holds different types of workpieces, use two or more payloads in Vision
Mastering as well. Vision Mastering can be executed with up to three types of
payloads.
CAUTION
1 When the camera position does not change even though different payloads are
used, specify the same "Camera Position" value for each of the payloads.
2 If the camera position changes for each of different payloads to be used, be sure
to specify different "Camera Position" values.
ヒ ゙シ ゙ ョン マ スタ リ ンク ゙( 重 力 補正 機 能有 効 )
UTILITIES iRCalibration
5/19
Vision Mastering with Gravity Com 6/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: TRUE
4 PAYLOAD number: 1
5 Camera Position(1-3): 1
6 Create Program (Not Done)
7 Run: VMAST11 (Not Done)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
[ TYPE ] SELECT
The teach pendant displays a measurement program generation screen as shown below.
- 62 -
B-83724EN/02 4.VISION MASTERING
ヒ ゙シ ゙ ョン マ スタ リ ンク ゙( 重 力 補正 機 能有 効 )
UTILITIES iRCalibration
5/19
Vision Mastering with Gravity Com 1/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
ヒ ゙シ ゙ ョン マ スタ リ ンク ゙( 重 力 補正 機 能有 効 )
UTILITIES iRCalibration
5/19
Vision Mastering with Gravity Com 1/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: UNINIT
6 Measure Camera Position (Not Done)
Camera Position [1]:
[ TYPE ] [CHOICE]
ヒ ゙シ ゙ ョン マ スタ リ ンク ゙( 重 力 補正 機 能有 効 )
UTILITIES iRCalibration
5/19
Vision Mastering with Gravity Com 2/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
- 63 -
4.VISION MASTERING B-83724EN/02
ヒ ゙シ ゙ ョン マ スタ リ ンク ゙( 重 力 補正 機 能有 効 )
UTILITIES iRCalibration
5/19
Vision Mastering with Gravity Com 3/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
ヒ ゙シ ゙ ョン マ スタ リ ンク ゙( 重 力 補正 機 能有 効 )
UTILITIES iRCalibration
5/19
Vision Mastering with Gravity Com 4/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: UNINIT
6 Measure Camera Position (Not Done)
Camera Position [1]:
[ TYPE ] TIME+ TIME- LIVE FIND
Refer to Subsection 3.2 "DISPLAYING THE RUNTIME MONITOR" so that an image and the
Generating Measurement Program screen can be seen simultaneously. The following explains the
example of displaying an image and the Generating Measurement Program screen simultaneously on
iPendant. The display on the teach pendant is shown below.
- 64 -
B-83724EN/02 4.VISION MASTERING
Set Exposure Time on this screen by using function keys.
Function key functions
F2 (TIME+): Increases the "Exposure Time" value.
F3 (TIME-): Decreases the "Exposure Time" value.
F4 (LIVE): Displays the live image.
F5 (FIND): Detects the calibration grid. If the detection has succeeded, a + mark is displayed
on the dot detected. If the detection has failed, an error message is displayed.
NOTE
Holding down SHIFT key when pressing F2 or F3 the value changes in
larger increment..
NOTE
Vision Mastering uses the exposure time set in this screen. Vision Mastering
does not use exposure time setting in "Parameter Setting screen" or "Mode
Teach screen" of "Vision Setup"..
6 Move the robot and teach the reference pose so that the origin of the target is in the center of the
camera image.
Move the cursor to "Reference Pose" on the measurement program generation screen, then press the
SHIFT key and the F5 (RECORD) together.
The current position is stored as reference pose. The display on the teach pendant is shown below.
- 65 -
4.VISION MASTERING B-83724EN/02
NOTE
If the “Reference Pose” is “RECORDED”, you can move the robot to the
recorded position by holding down the SHIFT key and press F4 (MOVE_TO)
when the cursor is at the “Reference Pose”.
7 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, and then measure
the camera position. If T1 mode is selected, the override can be improved more than 30%.
The camera position is measured while the robot automatically moves into multiple poses, with the
reference pose as a measurement start pose, in which the pose is changed by several centimeters in
the directions orthogonal to X, Y, and Z and by about 15 degrees in the pose directions of W, P, and
R. The camera position and calibration grid position are calculated based on the results of the vision
measurement.
CAUTION
Measuring a camera position influences all the payload conditions using the
same camera position number. If you re-measure an already measured
camera position, you have to generate and execute the measurement program
again for all the payloads which use that camera position number.
- 66 -
B-83724EN/02 4.VISION MASTERING
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 6/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ] SELECT
Move the cursor to "Measure Camera Position", then press SHIFT key and the F4(SELECT)
together.
The camera position will be measured. During measurement, the teach pendant displays the
following screen.
VCMTVTCP: 5/8 T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 6/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ]
- 67 -
4.VISION MASTERING B-83724EN/02
NOTE
1 If the camera attachment position or the calibration grid position is changed,
measure the camera position again.
2 Keep pressing the SHIFT key during the measurement. For 7DC3/09
(V8.30P/09) or earlier software, if pressing the SHIFT key is interrupted,
resuming the measurement makes it restart from the beginning. For 7DC3/10
(V8.30P/10) or later software, when you resume the measurement after the
interruption, if a part of the measurement has been completed, a confirmation
message to select “REMSUME” or “RESTART” is displayed. Then, if “RESUME”
is selected, the measurement is resumed. If “RESTART” is selected, the
measurement is restarted from the beginning. If the camera attachment position
or the calibration grid position is changed, select "RESTART".
3 An attempt to perform camera position measurement during execution of
another program causes an error with the following error message displayed:
"INTP-313 (Z_VCLIB2,384) Motion statement failed, PROG-040 Already locked
by other task "
In this case, select " ABORT (ALL)" on the FCTN menu to terminate the program
being executed.
When the measurement is finished, the display on the teach pendant screen becomes as follows:
• The status of "Measure Camera Position" becomes "Done".
• The message "Camera position is measured" appears.
• The result of the measurement is displayed.
Measurement result:
• Camera Position: Position of visual TCP
• Calibration Grid Position: Origin position of calibration grid
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 6/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position [1]:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
7 Swing Angle W: 20.0 deg
8 P: 20.0 deg
9 R: 30.0 deg
10 Create Program (Not Done)
Evaluation Index of Program: 99.9
Camera position is measured
[ TYPE ] SELECT
8 Set the swing angles W, P, and R of measuring poses for Vision Mastering. For details on
measuring poses, please refer to "4.3.1 Outline of Measuring Poses".
- 68 -
B-83724EN/02 4.VISION MASTERING
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 7/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position [1]:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
7 Swing Angle W: 20.0 deg
8 P: 20.0 deg
9 R: 30.0 deg
10 Create Program (Not Done)
Evaluation Index of Program: 99.9
[ TYPE ] DISP_IMG
NOTE
Increasing the swing angle improves the accuracy of adjustment of mastering
parameters but requires a wider operating range.
NOTE
If swing angle W or P exceeds 45 degrees, it may be impossible to perform
vision measurement. Do not allow swing angle W or P to exceed 45 degrees.
- 69 -
4.VISION MASTERING B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 10/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position [1]:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
7 Swing Angle W: 20.0 deg
8 P: 20.0 deg
9 R: 30.0 deg
10 Create Program (Not Done)
Evaluation Index of Program: 99.9
[ TYPE ] SELECT
Upon completion of generation of the measurement program, the screen on the teach pendant
changes as shown below.
• The "Create Program" status becomes "Done".
• The message "Program is created" is displayed.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 10/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position [1]:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
7 Swing Angle W: 20.0 deg
8 P: 20.0 deg
9 R: 30.0 deg
10 Create Program (Done )
Evaluation Index of Program: 4.9
Program is created
[ TYPE ] SELECT
When robot group is 1, TP program VMAST11 and VMDATA11 are generated. The first number
following VMAST and VMDATA indicates a robot group; the second one indicates a payload
number.
- 70 -
B-83724EN/02 4.VISION MASTERING
10 Check the evaluation index and, if it is greater than 4.2, start at Step 8 over again and increase the
values of Swing Angle. If the Evaluation Index still is not improved, teach the reference pose to set
the camera away from the target, and start at Step 6 again.
NOTE
Smaller value of Evaluation Index of Program means higher accuracy of Vision
Mastering result may be achieved by using this program.
If a measurement program is generated with one already existing, the teach pendant displays the
following message.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 10/10
Create Program for Payload 1
Robot Group[ 1] PAYLOAD[ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Done )
Camera Position [1]:
X: 275.4 Y: 0.0 Z: 0.0
W: 0.0 P: -0.0 R: 0.0
Calibration Grid Position:
X: 1674.8 Y: -0.0 Z: 884.8
7 Swing Angle W: 45.0 deg
8 P: 45.0 deg
9 R: 45.0 deg
10 Create Program (Done )
Evaluation Index of Program: 4.9
OK to Delete & Re-generate program?
[ TYPE ] YES NO
11 When generating is finished, select the PREV key to return to Vision Mastering screen.
Step
1 Move the cursor to "RUN", then press the F4 (SELECT) or the ENTER key.
- 71 -
4.VISION MASTERING B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Mastering with Gravity Com 7/19
1 Robot Group: 1
2 Work Tool Frame Number: 9
Payload 1
3 Select Payload 1: TRUE
4 PAYLOAD number: 1
5 Camera Position(1-3): 1
6 Create Program (Done )
7 Run: VMAST11 (Not Done)
Payload 2
8 Select Payload 2: FALSE
9 PAYLOAD number: 0
10 Camera Position(1-3): 0
11 Create Program (--------)
12 Run: VMAST12 (--------)
Payload 3
13 Select Payload 3: FALSE
14 PAYLOAD number: 0
15 Camera Position(1-3): 0
16 Create Program (--------)
17 Run: VMAST13 (--------)
[ TYPE ] SELECT
T2 30 %
VMAST11 iRVision Runtime Display
1/114
1: UTOOL_NUM=9
2: UFRAME_NUM=0
3: PAYLOAD[1]
4:
5:J @P[28] 30% FINE
6:
7:L P[1] 500mm/sec FINE
8: CALL VCMT_VT(1,1)
9:L @P[28] 500mm/sec CNT0
10:
11:L P[2] 500mm/sec FINE
12: CALL VCMT_VT(2,1)
13:L @P[28] 500mm/sec CNT0
14:
15:L P[3] 500mm/sec FINE
16: CALL VCMT_VT(3,1)
17:L @P[28] 500mm/sec CNT0
18:
19:L P[4] 500mm/sec FINE
20: CALL VCMT_VT(4,1)
21:L @P[28] 500mm/sec CNT0
2 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, then run the
program displayed. If T1 mode is selected, the override can be improved more than 30%.
- 72 -
B-83724EN/02 4.VISION MASTERING
NOTE
If the robot cannot move to any of positions [1] to [27] during execution of the
measurement program, make sure that the calibration grid resides within the
field of view of the camera, then re-teach a position to which the robot can move.
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “4.7.1 TP Program”.
For 7DC3/10 (V8.30P/10) or later software, when the measurement is
interrupted by the release of the SHIFT key, the occurrence of an alarm or other
reasons, re-execute the TP program after moving the cursor to the first line. If a
part of the measurement has been completed, a message “Press 0 (restart) or 9
(resume)” appears. Press the 0 key to restart the measurement from the
beginning or the 9 key to resume the measurement.
NOTE
If the camera attachment position or the calibration grid position is changed,
measure the camera position and generate the measurement program in “4.6.5
Generating a Measurement Program” again.
3 When the measurement has been completed, refer to Subsection 4.6.3, "Displaying the Vision
Mastering Screen" to display the Vision Mastering screen.
Step
1 Move the cursor to "Updating mastering data", then press the F4 (SELECT) or the ENTER key.
UTILITIES iRCalibration
Vision Mastering with Gravity Com 18/19
11 Create Program (--------)
12 Run: VMAST12 (--------)
Payload 3
13 Select Payload 3: FALSE
14 PAYLOAD number: 0
15 Camera Position(1-3): 0
16 Create Program (--------)
17 Run: VMAST13 (--------)
18 Update Master CT (Not Done)
19 View Result
[ TYPE ]DISP_IMG SELECT
The teach pendant will display the prompt "OK to Update Gravity Comp. parameters?".
- 73 -
4.VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
Vision Mastering with Gravity Com 18/19
11 Create Program (--------)
12 Run: VMAST12 (--------)
Payload 3
13 Select Payload 3: FALSE
14 PAYLOAD number: 0
15 Camera Position(1-3): 0
16 Create Program (--------)
17 Run: VMAST13 (--------)
18 Update Master CT (Not Done)
19 View Result
OK to Update Gravity Comp. parameters?
[ TYPE ] YES NO
CAUTION
When Vision Mastering is performed with only mastering parameters adjusted,
only one type of payload can be selected. In that case, do not set the status of
more than one payload to "TRUE".
UTILITIES iRCalibration
Vision Mastering: Update Master CT
Robot Group[ 1]
Update GC Paramters: TRUE
Compensation Angles:
J1: 0.000 J2: -0.065
J3: 0.148 J4: -0.023
J5: -0.022 J6: 0.000
[ TYPE ] UPDATE
- 74 -
B-83724EN/02 4.VISION MASTERING
UTILITIES iRCalibration
Vision Mastering: Update Master CT
Robot Group[ 1]
Update GC Paramters: FALSE
Compensation Angles:
J1: 0.000 J2: -0.035
J3: 0.158 J4: -0.013
J5: -0.020 J6: 0.000
[ TYPE ] UPDATE
NOTE
Mastering parameters are not updated at this point.
2 Confirm the items displayed. If there is no problem, press the F3 (UPDATE) while holding down
the SHIFT key to update mastering data.
Confirmation
• Confirm that maximum of Compensation Angles is 1° or less.
If maximum of Compensation Angles is exceeding 1°, update mastering data and run the
measurement program again, then confirm that the value of Compensation Angles displayed on
Updating Mastering Data screen becomes smaller.
• If you do not adjust Gravity Compensation parameters, check whether the evaluation index is 4.2 or
less.
If Evaluation Index is exceeding 4.2, there is a possibility that the calculation error of mastering
parameters is large. Re-generate the measurement program with the maximum swing angle increased
on the "Create Program" screen, then re-execute the program.
• If you adjust Gravity Compensation parameters, check whether the evaluation index is 5.5 or less.
If the evaluation index exceeds 5.5, mastering parameters may have a substantial calibration error.
After increasing the maximum swing value and generating a measurement program again, run the
program on "Create Program" screen.
• Confirm the Max Error of Calibration.
The approximate maximum error of mastering is as follows:
• When the transportable mass of the robot is 200 kg or less, "Max Error of Calibration" is 1.5
mm or less.
- 75 -
4.VISION MASTERING B-83724EN/02
If the maximum error of mastering is considerably larger than the above value, possible causes are that
the lens or camera is not secured, the lens is out of focus, and that the target is not secured. Check these
causes again.
NOTE
1 If the Gravity Compensation parameters are adjusted as well and only one type
of payload is applied, it’s necessary to execute measurement and update of
Vision Mastering twice.
2 Please confirm that maximum of Compensation Angles of second calibration is
around 0.020. However the value 0.020 is affected by robot type and payload,
so if the value is bigger than 0.020, please execute measurement again and
check if the value is static.
NOTE
With heavy payload, the "Max Error of Calibration" can be larger than the
approximate value. For this case, please update mastering data, run the
measurement program, and check "Compensation Angles" and "Max Error of
Calibration" on Updating Mastering Data screen again. If "Max Error of
Calibration" does not change, but "Compensation Angles" is smaller, the robot is
mastered...
3 When Vision Mastering is performed with Gravity Compensation parameters adjusted, pressing the
F3 (UPDATE) while holding down the SHIFT key in the above procedure displays the following
screen on the teach pendant. Follow the on-screen instruction to turn the controller back on.
UTILITIES iRCalibration
Vision Mastering: Update Master CT
CAUTION
4 After updating the mastering data, set the reference position for Quick Mastering again, preparing
for future Quick Mastering. If it has not been set, set it as all the axes’ angles are 0 degree. For
details of Quick Mastering, please refer to "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic
Operation)" and “Mechanical Unit Operator’s Manual”.
- 76 -
B-83724EN/02 4.VISION MASTERING
UTILITIES iRCalibration
Vision Mastering with Gravity Com 19/19
11 Create Program (--------)
12 Run: VMAST12 (--------)
Payload 3
13 Select Payload 3: FALSE
14 PAYLOAD number: 0
15 Camera Position(1-3): 0
16 Create Program (--------)
17 Run: VMAST13 (--------)
The teach pendant displays the mastering result display screen as shown below.
UTILITIES iRCalibration
Vision Mastering: View Result Page 1
Robot Group[ 1]
Update GC Paramters: FALSE
Compensation Angles:
J1: 0.000 J2: -0.035
J3: 0.158 J4: -0.013
J5: -0.020 J6: 0.000
Function key
F4 (NEXTPAGE): Go to the next page.
F5 (OUTPUT): Pressing this with a memory card plugged in the controller writes
VCMT_LOG.TXT, a log file saving the Vision Mastering results, to the
memory card.
NOTE
If VCMT_LOG.TXT already exists, the new results are appended to the current
contents.
- 77 -
4.VISION MASTERING B-83724EN/02
4.7.1 TP Program
TP Program for Measurement
VMASTnx(n: robot group, x: payload number)
0 LINE
G1 JOINT 10 %
1: UTOOL_NUM=9 ;
2: UFRAME_NUM=0 ;
3: PAYLOAD[1] ;
4: ;
5:J P[28] 30% FINE ;
6: ;
7:L P[1] 500mm/sec FINE ;
8: CALL VCMT_VT(1,1) ;
9:L P[28] 500mm/sec CNT0 ;
10: ;
11:L P[2] 500mm/sec FINE ;
12: CALL VCMT_VT(2,1) ;
13:L P[28] 500mm/sec CNT0 ;
14: ;
・・・
107:L P[26] 500mm/sec FINE ;
108: CALL VCMT_VT(26,1) ;
109:L P[28] 500mm/sec CNT0 ;
;
111:L P[27] 500mm/sec FINE ;
112: CALL VCMT_VT(27,1) ;
113:L P[28] 500mm/sec CNT0 ;
[END]
NOTE
If Gravity Compensation function is available and PAYLOAD number is set as 0,
there is not a command of PAYLOAD[ ](line 3).
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program VCRSM_CHECK, label
instructions, and jump instructions are added to the TP program as below so that efficient resuming of the
measurement can done.
- 78 -
B-83724EN/02 4.VISION MASTERING
0 LINE
G1 JOINT 10 %
1: CALL VCRSM_CHECK('START') ;
2: UTOOL_NUM=9 ;
3: UFRAME_NUM=0 ;
4: PAYLOAD[1] ;
5: ;
6: IF $VCRSM_CFG.$STEP_NUM>=2,
JMP LBL[2] ;
7: CALL VCRSM_CHECK(1) ;
8:J P[28] 30% FINE ;
9:L P[1] 500mm/sec FINE ;
10: CALL VCMT_VT(1,1) ;
11: ;
12: LBL[2] ;
13: IF $VCRSM_CFG.$STEP_NUM>=3,
JMP LBL[3] ;
14: CALL VCRSM_CHECK(2) ;
15:L P[28] 500mm/sec CNT0 ;
16:L P[2] 500mm/sec FINE ;
17: CALL VCMT_VT(2,1) ;
・・・
180: LBL[26] ;
181: IF $VCRSM_CFG.$STEP_NUM>=27,
JMP LBL[27] ;
182: CALL VCRSM_CHECK(26) ;
183:L P[28] 500mm/sec CNT0 ;
184:L P[26] 500mm/sec FINE ;
185: CALL VCMT_VT(26,1) ;
186: ;
187: LBL[27] ;
188: CALL VCRSM_CHECK(27) ;
189:L P[28] 500mm/sec CNT0 ;
190:L P[27] 500mm/sec FINE ;
191: CALL VCMT_VT(27,1) ;
192: ;
193: CALL VCRSM_CHECK('END') ;
194:L P[28] 500mm/sec CNT0 ;
[END]
0 LINE
G1 JOINT 10 %
1: UTOOL_NUM=9 ;
2: UFRAME_NUM=0 ;
3: PAYLOAD[1] ;
4: ;
5:L P[1] 500mm/sec FINE ;
6:L P[2] 500mm/sec FINE ;
・・・
30: L P[26] 500mm/sec FINE ;
31: L P[27] 500mm/sec FINE ;
[END]
- 79 -
4.VISION MASTERING B-83724EN/02
NOTE
If Gravity Compensation function is available and PAYLOAD number is set as 0,
there is not a command of PAYLOAD[ ](line 3).
Gravity Compensation: ON
Update GC Parameter: TRUE
Number of PAYLOAD: 1
PAYLOAD[ 1]
Payload: 8.000kg
Payload Center:
X: 5.772mm
Y: 0.000mm
Z: 10.456mm
Camera Position:1
X: 105.376 Y: 213.557 Z: 1030.357
W: .132 P: 3.223 R: 180.342
Compensation Angles:
[1]: 0.000 [2]: 0.200 [3]: 0.300
[4]: 0.400 [5]: 0.500 [6]: 0.000
- 80 -
B-83724EN/02 4.VISION MASTERING
Grid spacing
Fig. 4.8.1 Calibration Grid
All of the black circles are arranged so that they are uniformly spaced horizontally and perpendicularly.
Four larger black circles placed in the vicinity of the center indicate the origin and directions of a
coordinate system as shown. The ratio of the diameter of a large circle to that of a small circle is about
10:6.
The size of the calibration grid should be selected to fit the view field of the camera.
The aim of selection is set as below:
When the standoff (the distance between the lens of the camera and the target) is set as about 400mm,
the longest distance among three larger black circles along the X-axis is equal to 1/3 to 1/4 of the length
of the view filed of the camera.
- 81 -
5.GENKOTSU VISION MASTERING B-83724EN/02
Teach Pendant
Camera Cable
NOTE
1 The camera (SONY XC-56, BASLER acA640-20um, or KOWA SC36MF), the 12mm
Fanuc lens, the target for Genkotsu Vision Mastering, and a positional pin are available
from FANUC.
2 The customer should prepare a jig for holding the camera such as a tripod, a magnetic
stand, or other device.
- 82 -
B-83724EN/02 5.GENKOTSU VISION MASTERING
VCGMM05S
VCGMM05S JOINT 10%
1/29
1: !Genkotsu Vision Mastering
2: !Program for M-1iA/0.5S
3:
4: !Set Camera Type
5: ! 1: SONY XC-56
6: ! 2: BASLER acA640-20um
Set the camera type
7: ! 3: KOWA SC36MF
8: CALL VT_M05S(‘CAMERA’, 1)
9: !Set Group Number
Set robot group number
10: CALL VT_M05S(‘GROUP’, 1)
11: !Set Exposure Time (msec) Set exposure time of camera
12: CALL VT_M05S(‘EXPOS’, 80)
13: !Display Image iPendant configuration turns into “Double” pane and the
14: CALL VT_M05S(‘DISPLAY’) runtime monitor screen is displayed on the right-hand screen.
15: PAUSE
16:
17: !Start Measurement
18: OVERRIDE=30%
19: CALL VT_M05S(‘MOVE’, 1)
20: PAUSE Execute vision measurement at camera position 1
21: CALL VT_M05S(‘VTOUCH’, 1)
22: PAUSE
23: CALL VT_M05S(‘MOVE’, 2)
Execute vision measurement at camera position 2
24: PAUSE
25: CALL VT_M05S(‘VTOUCH’, 2)
26: PAUSE
27: CALL VT_M05S(‘MOVE’, 3)
Execute vision measurement at camera position 3
28: PAUSE
29: CALL VT_M05S(‘VTOUCH’, 3)
30: PAUSE
31: CALL VT_M05S(‘MOVE’, 4)
32: PAUSE Execute vision measurement at camera position 4
33: CALL VT_M05S(‘VTOUCH’, 4)
[End]
CAUTION
The TP program “VCGMM05S” is paused sometimes when the program is running.
Please don’t jog the robot or execute the other programs when this program is pausing.
- 83 -
5.GENKOTSU VISION MASTERING B-83724EN/02
Co nnect the camera to the robot controller or the iPendant with the
camera cable, and install the lens and the extension ring to the camera.
For details, refer to subsection 5.3.2, “Preparing the Camera”.
Setting the parameters for measurement and displaying the runtime monitor
・ Resu me the paused program to move the robot to the base position of
camera position 1 .
・ The live image is displayed and the TP program is p aused after
mo ving the robot to the base position.
- 84 -
B-83724EN/02 5.GENKOTSU VISION MASTERING
Set the p hase of J4 drive shaft in the “Genkotsu Vision Mastering” screen.
If the error of target position is more than 0.2mm or the error of drive
shaft is more than 0.2º, update kinematic parameters, re-execute vision
measurement, and update kinematic parameters again.
- 85 -
5.GENKOTSU VISION MASTERING B-83724EN/02
Install the target of Genkotsu Vision Mastering for M-1iA/0.5S as shown in Fig. 5.3.3(b) (The robot is at
the zero position). Insert the positioning pin and the target into the flange of the robot securely, and
tighten the four screws.
Procedure 5-1 Setting parameters for measurement and display the runtime
monitor
Step
1 Display the edit screen of the TP program “VCGMM05S” by displaying the program list screen and
selecting “VCGMM05S” from the program list.
2 Move the cursor to the part which is surrounded by the frame at “CALL VT_M05S(‘CAMERA’, 1)”
of the following figure, and enter the camera type number. Camera type numbers corresponds to the
cameras as follows.
1: SONY XC-56
2: BASLER acA640-20um
3: KOWA SC36MF
VCGMM05S
VCGMM05S JOINT 10%
8/34
1: !Genkotsu Vision Mastering
2: !Program for M-1iA/0.5S
3:
4: !Set Camera Type
5: ! 1: SONY XC-56
6: ! 2: BASLER acA640-20um
7: ! 3: KOWA SC36MF
8: CALL VT_M05S(‘CAMERA’, 1)
9: !Set Group Number
10: CALL VT_M05S(‘GROUP’, 1)
[INST] [EDCMD]
NOTE
The values that are set in the TP program cannot be changed if the teach pendant is
disabled. Change the value with the teach pendant is enabled.
3 Move the cursor to the part which is surrounded by the frame at “CALL VT_M05S(‘GROUP’, 1)”
of the following figure, and enter the group number of the robot that is to perform Genkotsu Vision
Mastering.
- 87 -
5.GENKOTSU VISION MASTERING B-83724EN/02
VCGMM05S
VCGMM05S JOINT 10%
10/34
6 ! 2: BASLER acA640-20um
7: ! 3: KOWA SC36MF
8: CALL VT_M05S(‘CAMERA’, 1)
9: !Set Group Number
10: CALL VT_M05S(‘GROUP’, 1)
11: !Set Exposure Time (msec)
12: CALL VT_M05S(‘EXPOS’, 80)
13: !Display Image
14: CALL VT_M05S(‘DISPLAY’)
15: PAUSE
[INST] [EDCMD]
4 Move the cursor to the part which is surrounded by the frame at “CALL VT_M05S(‘EXPOS’, 80)”
of the following figure, and enter the exposure time of the camera (unit: ms) if it should be adjusted.
VCGMM05S
VCGMM05S JOINT 10%
12/34
6 ! 2: BASLER acA640-20um
7: ! 3: KOWA SC36MF
8: CALL VT_M05S(‘CAMERA’, 1)
9: !Set Group Number
10: CALL VT_M05S(‘GROUP’, 1)
11: !Set Exposure Time (msec)
12: CALL VT_M05S(‘EXPOS’, 80)
13: !Display Image
14: CALL VT_M05S(‘DISPLAY’)
15: PAUSE
[INST] [EDCMD]
NOTE
Start vision measurement and set the exposure time to 80 ms. If the image obtained
during the measurement is too bright or too dark, change the exposure time and restart
the vision measurement.
5 Move the cursor to the top line of the TP program and run the TP program “VCGMM05S”.
VCGMM05S
VCGMM05S JOINT 10%
1/34
1: !Genkotsu Vision Mastering
2: !Program for M-1iA/0.5S
3:
4: !Set Camera Type
5: ! 1: SONY XC-56
6: ! 2: BASLER acA640-20um
7: ! 3: KOWA SC36MF
8: CALL VT_M05S(‘CAMERA’, 1)
9: !Set Group Number
10: CALL VT_M05S(‘GROUP’, 1)
[INST] [EDCMD]
- 88 -
B-83724EN/02 5.GENKOTSU VISION MASTERING
The entered group number and exposure time will be reflected on the robot controller and the TP program
will be paused. The iPendant displays “Double” pane mode and the right pane displays the runtime
monitor screen.
VCGMM05S
VCGMM05S JOINT 10%
PAUSED 16/34
8: CALL VT_M05S(‘CAMERA’, 1)
9: !Set Group Number
10: CALL VT_M05S(‘GROUP’, 1)
11: !Set Exposure Time (msec)
12: CALL VT_M05S(‘EXPOS’, 80)
13: !Display Image
14: CALL VT_M05S(‘DISPLAY’)
15: PAUSE
16:
17: !Start Measurement
[INST] [EDCMD]
CAUTION
Be sure that the target and the robot do not interfere with peripheral devices during
robot movement.
NOTE
1 The home position is the position such as (J1,J2,J3,J4) = (25º, 25º, 25º, 0º).
2 The base position of camera position 1 is the position as (J1,J2,J3,J4) = (-6º, -27º,
-34º, -165º) (These values are the value before applying kinematic parameters which
are calculated by Genkotsu Vision Mastering, and are rounded to integers.)
The teach pendant is shown as follows while moving to the home position.
- 89 -
5.GENKOTSU VISION MASTERING B-83724EN/02
The teach pendant is shown as follows while moving to the base position of the camera position 1.
2 After moving to the base position, “Set camera under target.” is displayed on the top line of the teach
pendant, the live image is displayed on the runtime monitor, and the TP program is paused.
CAUTION
Do not jog the robot or execute the other program while the TP program “VCGMM05S”
is paused.
- 90 -
B-83724EN/02 5.GENKOTSU VISION MASTERING
3 Mount the camera under the target. The position of the camera needs to satisfy the following
conditions:
• Locate the camera so that the distance between the target and the tip of the lens is in following
range.
• Locate the camera as the camera and target face each other squarely as possible. The tilt of the
camera relative to the target needs to be within 3 degrees.
110-130mm
(SONY XC-56)
Lens
Camera
• Position the camera so that the center dot is located near the intersection of the red crosshairs in the
camera’s image, while watching the live camera image on the display.
- 91 -
5.GENKOTSU VISION MASTERING B-83724EN/02
NOTE
1 If outlines of the dots are blurred, check the focus and aperture setting on the
lens. Make sure the lens and the extension ring are securely installed to the
camera (For details of lens setting, refer to subsection 5.3.2, “Preparing
camera”.)
2 If the target image is too bright, check the aperture setting of the lens and/or reduce the
exposure time.
4 Resume the paused TP program to start the vision measurement of camera position 1 after setting the
camera.
CAUTION
1 Be sure that the target and the robot do not interfere with the peripheral devices while
the robot is moving .
2 Do not move the fixed camera, and set the robot override to 30% or less while executing
vision measurement.
At first, the vision measurement checks whether the camera position and the target position are valid.
Subsequently, vision measurement is executed at twelve postures by moving the robot as the target is
rotated by 30º from 0º to 330º on the optical axis of the camera.
The number that indicates which posture is measured by vision is displayed on the top line of the teach
pendant as shown in the following screen. (In case of the following screen, the third posture is measured
by vision.)
When the measurement is completed, “[1/4] Measurement has been completed.” is displayed on the top
line of the teach pendant.
- 92 -
B-83724EN/02 5.GENKOTSU VISION MASTERING
NOTE
1 The base position of camera position 2 is the position as (J1,J2,J3,J4) = (12º, 33º, 23º,
-165º).
2 The base position of camera position 3 is the position as (J1,J2,J3,J4) = (-44º, -16º, 14º,
-165º).
3 The base position of camera position 4 is the position as (J1,J2,J3,J4) = (40º, 17º, -25º,
-165º).
(These values are the value before applying kinematic parameters which are calculated by
Genkotsu Vision Mastering, and are rounded to integers.)
3 Move the cursor to “Genkotsu Vision Mastering” and press the F3[DETAIL] key or the ENTER
key.
- 93 -
5.GENKOTSU VISION MASTERING B-83724EN/02
[TYPE] DETAIL
The “Genkotsu Vision Mastering” screen is displayed on the teach pendant as follows.
4 Move the cursor to “Phase of J4 Drive Shaft” and press the F4[SELECT] key.
[TYPE] SELECT
5 Select the phase of J4 drive shaft from “-60”, “-30”, “0”, “+30”, “+60”, or “+90” in the displayed
pop-up list. The phase of the J4 drive shaft can be judged by moving the J4 axis of the robot to 0º
and viewing the end of the J4 drive shaft which is indicated in Fig. 5.3.6(a) from the front.
Fig.5.3.6(a) The end of J4 drive shaft to judge the phase of the drive shaft
- 94 -
B-83724EN/02 5.GENKOTSU VISION MASTERING
The Fig. 5.3.6(b) is the diagram of the shape of the end of the drive shaft that is viewed by the front when
the J4 is 0º. Move the J4 axis of the robot to 0º, and select the phase of the drive shaft based on
Fig.5.3.6(b). Enter the phase of the drive shaft into the Phase of Drive shaft field.
Fig.5.3.6(b) The shape of the end and the phase of J4 drive shaft
[TYPE] SELECT
- 95 -
5.GENKOTSU VISION MASTERING B-83724EN/02
Kinematic parameters of the robot are calculated, and the “Update Kinematic Parameters” screen is
displayed if the calculation is completed successfully.
NOTE
When “Calculation has failed.” is displayed on the bottom line of the teach pendant, the
“Update Kinematic Parameters” screen can’t be displayed. Check if the attachment of
the target and the setting of the camera and lens are correct again and re-execute
vision measurement.
2 Check if the displayed settings of the group number and the phase of J4 drive shaft are correct, and
press the F3[UPDATE] key while holding down the SHIFT key to update kinematic parameters.
Compensation Angles:
J1: -0.12deg J2: 0.42deg
J3: 0.46deg J4: 1.59deg
[TYPE] UPDATE
NOTE
When either “Error of target position is too big”, “Error of drive shaft rotation is too big”,
or “Calculated parameters are invalid” are displayed on the bottom line of the teach
pendant, Kinematic parameters can’t be updated. Check if the attachment of the target
and the setting of the camera and lens are correct again and re-execute vision
measurement.
“Kinematic parameters has been updated” is displayed in the bottom line of the teach pendant after
kinematic parameters is updated.
Compensation Angles:
J1: -0.12deg J2: 0.42deg
J3: 0.46deg J4: 1.59deg
- 96 -
B-83724EN/02 5.GENKOTSU VISION MASTERING
NOTE
1 Mastering data (The values of $DMR_GRP[g].$MASTER_COUN[a]) are not changed by
applying Genkotsu Vision Mastering.
2 If the error of the target position is more than 0.2mm or the error of drive shaft rotation is
more than 0.2mm, vision measurement may not have been executed correctly.
Therefore, in this case, re-execute vision measurement and update kinematic
parameters againafter you update kinematic parameters.
1 Create a TP program as following screen. When the program “VT_M05S” is called, set the first
parameter to ‘RESET’, and the second parameter to the group number of the robot that is to be reset
kinematic parameters.
RESET
RESET JOINT 10%
1/2
1: CALL VT_M05S(‘RESET’, 1)
[End]
- 97 -
6.VISION MASTER RECOVERY B-83724EN/02
- 98 -
B-83724EN/02 6.VISION MASTER RECOVERY
Camera Cable
Camera
iPendant Robot Controller
Lens
Calibration Grid
NOTE
1 FANUC standard cameras, lenses, and calibration grids are available in several
sizes.
2 The customer is responsible for fabricating a jig for holding the camera and a jig
for holding the calibration grid.
Tips
With 7DC/02 (V8.20/P02) or later system software and iRVision option installed,
Vision Master Recovery can use camera data created by iRVision which
includes cameras and lenses are not listed in "2.1 COMPONENTS". For
details, please refer to "3.5 USING iRVision CAMERA".".
- 99 -
6.VISION MASTER RECOVERY B-83724EN/02
あ部品交換前の計測プログラムの実行 0.
Install the camera and the calibration grid
あ部品交換前の計測プログラムの実行 0. error
Execute the measurement program for reference
- 100 -
B-83724EN/02 6.VISION MASTER RECOVERY
Standoff
Vision Master Recovery uses two or more measuring poses. These poses are automatically generated
based on a reference pose (initial value).
The measuring poses are generated as detailed below.
• A total of 27 measuring poses are generated by adding three different swing angles, or a positive
maximum swing angle, negative maximum swing angle, and 0, to each of the postures (W, P, R) of
the reference pose.
• The robot is adjusted so that the standoff (the distance between the camera and the calibration grid)
at each measurement pose matches the reference pose standoff.
Fig. 6.3.2 Reference pose in which the robot can operate relatively easily
- 101 -
6.VISION MASTER RECOVERY B-83724EN/02
NOTE
The camera can be set to arbitrary position on the tool. Fix it securely so that it
does not move during the operation of Vision Master Recovery.
Install the camera such that the dash line (the visual TCP indicated below) is offset from the center line of
the J6 axis (solid line). An offset of at least 100 mm is recommended.
The recommended value of standoff (distance between the camera and the calibration grid) is 500 mm.
Standoff
Visual TCP
Offset
Keep the camera and the tool away from the base section of the robot and tilt the J3 arm downward as
shown below, so that the wrist section hardly causes interference.
Hardly interfere
Fig. 6.4.1(b) Wrist pose in which the camera hardly interferes with the robot
If the camera or tool is close to the base section of the robot or if the J3 arm is tilted upward in contrast,
the wrist section is liable to cause interference. In that case, the swing angle of measuring pose must be
reduced, involving a risk of degrading recovering results of mastering status.
- 102 -
B-83724EN/02 6.VISION MASTER RECOVERY
Liable to interfere
Fig. 6.4.1 (c) Wrist pose in which the camera is liable to interfere with the robot
Check these examples for reference to appropriately install the camera and select the reference pose of the
robot.
Camera
Lens
Calibration Grid
Fig. 6.4.2 Installation of calibration grid
- 103 -
6.VISION MASTER RECOVERY B-83724EN/02
NOTE
The calibration grid should be placed near the center of the field of view.
Roughly placing the calibration in the center of the field of view is sufficient; its
placement does not require a high level of precision.
NOTE
Install the calibration grid securely so that it does not move during the operation
of Vision Master Recovery.
- 104 -
B-83724EN/02 6.VISION MASTER RECOVERY
Connect the camera to the controller or the iPendant with a camera cable.
Mount the camera o n the robots end of arm to oling, and secure the
calibration grid to a fixed surface.
Display the “Set Ro bot Axes to Recover” screen fro m the “Vision Master
Recovery” screen.
For details, refer to subsection 6 .5.4, “Setting Robot Axes to Recover”.
詳細 「 復 す 軸 定 を参照 さ
- 105 -
6.VISION MASTER RECOVERY B-83724EN/02
Teach the reference pose of the measuring program. (The reference pose is
also used as a start position when measuring the camera position.)
Measure the camera position and the calibration grid position that are
used for generating the TP program.
Set swing angles which are used for generating the measurement program.
Display the “Check the Measurement for Reference” screen from the
“Vision Master Recovery” screen.
For details, refer to subsection 6.5.7, “Executing the Measurement
Program for Check”.
- 106 -
B-83724EN/02 6.VISION MASTER RECOVERY
Replace robot parts. Please do not change installed or fixed positions of the
camera and the calibration grid during replacement of robot parts. After
replacing robot parts, set temporary mastering data to the axes the
mastering status of which are invalid.
For details, refer to subsection 6.5.8, “Replacing Robot Parts and Set
Temporary Mastering Data”.
- 107 -
6.VISION MASTER RECOVERY B-83724EN/02
UTILITIES iRCalibration
2/2
1 Vision Mastering
2 Vision Master Recovery
5 Move the cursor to “Vision Master Recovery”, then press the F3 (DETAIL) or the ENTER key.
The following “Vision Master Recovery” screen is displayed on the teach pendant.
UTILITIES iRCalibration
Vision Master Recovery 1/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Not Done)
4 Create Program (Not Done)
5 Run for Reference:VMRCV1 (Not Done)
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
[ TYPE ]DISP_IMG
Select and execute each item on the screen sequentially from the top so that the mastering status can be
recovered. Robot parts will be replaced between “Check the Measurement for Reference” and “Run for
Recovery”.
- 108 -
B-83724EN/02 6.VISION MASTER RECOVERY
UTILITIES iRCalibration
Vision Master Recovery 1/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Not Done)
4 Create Program (Not Done)
5 Run for Reference:VMRCV1 (Not Done)
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Master Recovery 2/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Not Done)
4 Create Program (Not Done)
5 Run for Reference:VMRCV1 (Not Done)
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Master Recovery 3/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Not Done)
4 Create Program (Not Done)
5 Run for Reference:VMRCV1 (Not Done)
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
The teach pendant displays the “Set Robot Axes to Recover” screen as shown below.
- 109 -
6.VISION MASTER RECOVERY B-83724EN/02
UTILITIES iRCalibration
Vision Master Recovery 1/6
Set Robot Axes to Recover
1 Recover J1-Axis: FALSE
2 Recover J2-Axis: FALSE
3 Recover J3-Axis: FALSE
4 Recover J4-Axis: FALSE
5 Recover J5-Axis: FALSE
6 Recover J6-Axis: FALSE
2 The axis to recover can be set by moving the cursor to the axis and pressing the SHIFT key and the
F4 (TRUE) key together. Plural axes can be set as the axes to recover. The setting of the axis to
recover can be cancelled by pressing the SHIFT key and the F5 (FALSE) key together.
UTILITIES iRCalibration
Vision Master Recovery 6/6
Set Robot Axes to Recover
1 Recover J1-Axis: FALSE
2 Recover J2-Axis: TRUE
3 Recover J3-Axis: TRUE
4 Recover J4-Axis: FALSE
5 Recover J5-Axis: FALSE
6 Recover J6-Axis: TRUE
3 When setting robot axes to recover is completed, press the PREV key to display the “Vision
Master Recovery” screen.
- 110 -
B-83724EN/02 6.VISION MASTER RECOVERY
UTILITIES iRCalibration
Vision Master Recovery 4/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Done )
4 Create Program (Not Done)
5 Run for Reference:VMRCV1 (Not Done)
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
The teach pendant displays the “Create Program” screen as shown below.
UTILITIES iRCalibration
Vision Master Recovery 1/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: UNINIT
6 Measure Camera Position (Not Done)
Camera Position:
[ TYPE ] [CHOICE]
UTILITIES iRCalibration
Vision Master Recovery 1/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: UNINIT
6 Measure Camera Position (Not Done)
Camera Position:
[ TYPE ] [CHOICE]
- 111 -
6.VISION MASTER RECOVERY B-83724EN/02
UTILITIES iRCalibration
Vision Master Recovery 2/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: UNINIT
6 Measure Camera Position (Not Done)
Camera Position:
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Master Recovery 3/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: UNINIT
6 Measure Camera Position (Not Done)
Camera Position:
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Master Recovery 4/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: UNINIT
6 Measure Camera Position (Not Done)
Camera Position:
[ TYPE ] TIME+ TIME- LIVE FIND
Refer to subsection 3.2 “DISPLAYING THE RUNTIME MONITOR” so that an image and the
“Create Program” screen can be seen simultaneously. The following explains an example of
displaying an image and the “Create Program” screen simultaneously on iPendant. The display on
the teach pendant is shown below.
- 112 -
B-83724EN/02 6.VISION MASTER RECOVERY
NOTE
Pressing the F2 or the F3 key while holding down the SHIFT key changes the
value at a faster rate.
NOTE
Vision Master Recovery uses the exposure time set in this screen.
The exposure time setting in “Parameter Setting Screen” or “Mode Teaching
Screen” of the Vision Data Setup Screen does not apply here.
- 113 -
6.VISION MASTER RECOVERY B-83724EN/02
Calibration grid image with Calibration grid image with Calibration grid image with
too short exposure time appropriate exposure time too long exposure time
6 Move the robot and teach the reference pose so that the origin of the calibration grid is near the
center of the camera image.
Move the cursor to “Reference Pose” on the “Create Program” screen, and then press the SHIFT key and
the F5 (RECORD) key together.
The current position is stored as reference pose. The display on the teach pendant is shown below.
- 114 -
B-83724EN/02 6.VISION MASTER RECOVERY
NOTE
If the “Reference Pose is “Recorded”, you can move the robot to the reference
position by pressing the F4 (MOVE_TO) key while holding down the SHIFT
key ..
7 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, and measure the
camera position. If T1 mode is selected, the override can be improved more than 30%.
The camera position is measured while the robot automatically moves into multiple poses, with the
reference pose as a measurement start pose. The robot automatically moves several centimeters in the
directions orthogonal to X, Y, and Z and by about 15 degrees in the pose directions of W, P, and R. The
camera position and calibration grid position are calculated based on the results of the vision
measurement.
- 115 -
6.VISION MASTER RECOVERY B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 6/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
2 Focal Distance: 12.0 mm
3 Grid Spacing: 15.0 mm
4 Exposure Time: 33.33 ms
5 Reference Pose: RECORDED
6 Measure Camera Position (Not Done)
Camera Position:
X: 0.0 Y: 0.0 Z: 0.0
W: 0.0 P: 0.0 R: 0.0
Calibration Grid Position:
X: 0.0 Y: 0.0 Z: 0.0
7 Swing Angle W: 20.0 deg
8 P: 20.0 deg
9 R: 30.0 deg
10 Create Program (Not Done)
Evaluation Index of Reference: *****
[ TYPE ] SELECT
Move the cursor to “Measure Camera Position”, then press the SHIFT key and the F4(SELECT) key
together.
The camera position will be measured. During measurement, the teach pendant displays the following
screen.
VCMRVTCP: 5/8 T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 6/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ]
- 116 -
B-83724EN/02 6.VISION MASTER RECOVERY
NOTE
1 If the camera attachment position or the calibration grid position is changed,
measure the camera position again.
2 Keep pressing the SHIFT key during the measurement. For 7DC3/09
(V8.30P/09) or earlier software, if pressing the SHIFT key is interrupted,
resuming the measurement makes it restart from the beginning. For 7DC3/10
(V8.30P/10) or later software, when you resume the measurement after the
interruption, if a part of the measurement has been completed, a confirmation
message to select “RESUME” or “RESTART” is displayed. Then, if “RESUME” is
selected, the measurement is resumed. If “RESTART” is selected, the
measurement is restarted from the beginning. If the camera attachment position
or the calibration grid position is changed, select "RESTART".
3 An attempt to perform camera position measurement during execution of
another program causes an error with the following error message displayed:
"INTP-313 (Z_VCLIB2,384) Motion statement failed, PROG-040 Already locked
by other task"
In this case, select "ABORT (ALL)" on the FCTN menu to terminate the program.
When the measurement is finished, the display on the teach pendant screen is as follows:
• The status of “Measure Camera Position” becomes “Done”.
• The message “Camera position is measured” appears.
• The result of the measurement is displayed.
Measurement result:
• Camera Position: Position of visual TCP
• Calibration Grid Position: Origin position of calibration grid
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 6/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ] SELECT
8 Set the swing angles W, P, and R of measuring poses for Vision Master Recovery. For details on
measuring poses, see subsection 6.3.1, “Outline of Measuring Poses”.
- 117 -
6.VISION MASTER RECOVERY B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 7/10
Create Program
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ] DISP_IMG
NOTE
Increasing the swing angle improves the recovery accuracy of the mastering
status but requires a wider operating range.
NOTE
If swing angle W or P exceeds 45 degrees, it may be impossible to perform
vision measurement. Do not allow swing angle W or P to exceed 45 degrees.
9 Move the cursor to “Create Program”, then press the F4 (SELECT) key or the ENTER key to
generate a measurement program.
- 118 -
B-83724EN/02 6.VISION MASTER RECOVERY
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 10/10
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ] SELECT
Upon completion of the generation of the measurement program, the screen on the teach pendant changes
as shown below.
• The “Create Program” status becomes “Done”.
• The message “Program is created” is displayed.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 10/10
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ] SELECT
- 119 -
6.VISION MASTER RECOVERY B-83724EN/02
When robot group is 1, TP program VMRCV1, VMRDAT11, VMRDAT12, and VMRDAT13 are
generated. The first number of VMRCV1, VMRDAT11, VMRDAT12, and VMRDAT13 indicates a
robot group.
10 Check the evaluation index of reference and the evaluation index of recovery. If the evaluation index
of reference and/or the evaluation index of recovery are/is greater than 4.2, start at Step 8 over again.
If the Evaluation Indices still are not improved, re-teach the reference pose to set the camera away
from the calibration grid, and start at Step 6 again.
If a measurement program is generated with one already existing, the teach pendant displays the
following message.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 10/10
Robot Group [ 1]
Work Tool Frame[ 9]
1 Camera Type: SONY XC-56
[ TYPE ] YES NO
11 When generating is finished, select the PREV key to display the “Vision Master Recovery” screen.
- 120 -
B-83724EN/02 6.VISION MASTER RECOVERY
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 5/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Done )
4 Create Program (Done )
5 Run for Reference:VMRCV1 (Not Done)
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
T2 30 %
VMRCV1 iRVision Runtime Display
1/113
1: UTOOL_NUM=9
2: UFRAME_NUM=0
3:
4:J @P[28] 30% FINE
5:
6:L P[1] 500mm/sec FINE
7: CALL VCMR_VT(1)
8:L @P[28] 500mm/sec CNT0
9:
10:L P[2] 500mm/sec FINE
11: CALL VCMR_VT(2)
12:L @P[28] 500mm/sec CNT0
13:
14:L P[3] 500mm/sec FINE
15: CALL VCMR_VT(3)
16:L @P[28] 500mm/sec CNT0
17:
18:L P[4] 500mm/sec FINE
19: CALL VCMR_VT(4)
20:L @P[28] 500mm/sec CNT0
21:
2 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, and run the
program displayed. If T1 mode is selected, the override can be improved more than 30%.
- 121 -
6.VISION MASTER RECOVERY B-83724EN/02
NOTE
If the robot cannot move to any of positions [1] to [27] during execution of the
measurement program, make sure that the calibration grid resides within the
field of view of the camera, then re-teach a position to which the robot can move.
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “6.6.1 TP Program”.
For 7DC3/10 (V8.30P/10) or later software, when the measurement is
interrupted by the release of the SHIFT key, the occurrence of an alarm or other
reasons, re-execute the TP program after moving the cursor to the first line. If a
part of the measurement has been completed, a message “Press 0 (restart) or 9
(resume)” appears. Press the 0 key to restart the measurement from the
beginning or the 9 key to resume the measurement.
NOTE
If the camera attachment position or the calibration grid position is changed,
measure the camera position and generate the measurement program in “6.5.5
Generating a Measurement Program” again.
3 When the measurement has been completed, display the “Vision Master Recovery” screen (see
Section 6.5.2, “Displaying the “Vision Master Recovery” screen”).
- 122 -
B-83724EN/02 6.VISION MASTER RECOVERY
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 6/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Done )
4 Create Program (Done )
5 Run for Reference:VMRCV1 (Done )
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
The teach pendant displays the “Check the Measurement for Reference” screen as shown below.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 1/1
Check the Measurement for Reference
Robot Group [ 1]
1 Run For Check: VMRCV1 (Not Done)
Evaluation Index of Reference: *****
Mean Measurement Error: *****
Max Measurement Error: *****
[ TYPE ] SELECT
- 123 -
6.VISION MASTER RECOVERY B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 1/1
Check the Measurement for Reference
Robot Group [ 1]
1 Run For Check: VMRCV1 (Not Done)
Evaluation Index of Reference: *****
Mean Measurement Error: *****
Max Measurement Error: *****
[ TYPE ] SELECT
T2 30 %
VMRCV1 iRVision Runtime Display
1/113
1: UTOOL_NUM=9
2: UFRAME_NUM=0
3:
4:J @P[28] 30% FINE
5:
6:L P[1] 500mm/sec FINE
7: CALL VCMR_VT(1)
8:L @P[28] 500mm/sec CNT0
9:
10:L P[2] 500mm/sec FINE
11: CALL VCMR_VT(2)
12:L @P[28] 500mm/sec CNT0
13:
14:L P[3] 500mm/sec FINE
15: CALL VCMR_VT(3)
16:L @P[28] 500mm/sec CNT0
17:
18:L P[4] 500mm/sec FINE
19: CALL VCMR_VT(4)
20:L @P[28] 500mm/sec CNT0
21:
3 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, then run the
displayed program. If T1 mode is selected, the override can be improved more than 30%.
CAUTION
Please don’t re-teach positions [1] to [27] of measurement program when this
program is executed for check.
- 124 -
B-83724EN/02 6.VISION MASTER RECOVERY
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “6.6.1 TP Program”.
For 7DC3/10 (V8.30P/10) or later software, when the measurement is
interrupted by the release of the SHIFT key, the occurrence of an alarm or other
reasons, re-execute the TP program after moving the cursor to the first line. If a
part of the measurement has been completed, a message “Press 0 (restart) or 9
(resume)” appears. Press the 0 key to restart the measurement from the
beginning or the 9 key to resume the measurement.
NOTE
If the camera attachment position or the calibration grid position is changed,
measure the camera position and generate the measurement program in “6.5.5
Generating a Measurement Program”, and execute the measurement program
for reference in "6.5.6 Executing the Measurement Program for Reference"
again.
4 When the measurement has been completed, display the “Vision Master Recovery” screen (see
Section 6.5.2, "Displaying the “Vision Master Recovery” screen").
5 Move the cursor to “Check the Measurement for Reference”, then press the F4 (SELECT) key or the
ENTER key to display the “Check the Measurement for Reference” screen again.
The values of evaluation index of reference, mean measurement error, and max measurement error are
displayed on the teach pendant.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 1/1
Check the Measurement for Reference
Robot Group [ 1]
1 Run For Check: VMRCV1 (Done )
Evaluation Index of Reference: 3.5
Mean Measurement Error: .030
Max Measurement Error: .050
[ TYPE ] SELECT
- 125 -
6.VISION MASTER RECOVERY B-83724EN/02
Confirmation
• Confirm that the evaluation index of reference is 4.2 or less.
If the evaluation index of reference exceeds 4.2, there is a possibility that the calculation error of
mastering parameters is large. Re-generate the measurement program with the maximum swing
angle increased on the “Create Program” screen, and execute the program for reference and the
program for check again.
• Confirm that the max measurement error is about 0.5mm or less.
If the max measurement error is considerably larger than the above value, possible causes are that
the lens or camera is not secured, the lens is out of focus, and that the calibration grid is not secured.
Check these causes and execute the program for reference and the program for check again.
6 When the confirmation of evaluation index of reference, mean measurement error, and max
measurement error have been finished, press the PREV key to display the “Vision Master Recovery”
screen.
Step
1 Replace robot parts. For details on replacing robot parts, contact your local FANUC representative.
CAUTION
Installed or fixed positions of the camera and the calibration grid when executing
the measurement program for reference and installed or fixed positions of the
camera and the calibration grid when executing the measurement program for
recovery must be equal respectively. Please do not change installed or fixed
positions of the camera and the calibration grid during replacement of robot
parts.
2 After replacement of robot parts, set temporary mastering data to the axes the mastering status of
which are/is invalid by using single axis mastering etc., and perform calibration.
- 126 -
B-83724EN/02 6.VISION MASTER RECOVERY
NOTE
Temporary mastering does not require a high level of precision.
Step
1 Move the cursor to “Run for Recovery”, and press the F4 (SELECT) key or the ENTER key.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Master Recovery 7/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Done )
4 Create Program (Done )
5 Run for Reference:VMRCV1 (Done )
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Not Done)
8 Recover Master CT (Not Done)
9 View Result
- 127 -
6.VISION MASTER RECOVERY B-83724EN/02
T2 30 %
VMRCV1 iRVision Runtime Display
1/113
1: UTOOL_NUM=9
2: UFRAME_NUM=0
3:
4:J @P[28] 30% FINE
5:
6:L P[1] 500mm/sec FINE
7: CALL VCMR_VT(1)
8:L @P[28] 500mm/sec CNT0
9:
10:L P[2] 500mm/sec FINE
11: CALL VCMR_VT(2)
12:L @P[28] 500mm/sec CNT0
13:
14:L P[3] 500mm/sec FINE
15: CALL VCMR_VT(3)
16:L @P[28] 500mm/sec CNT0
17:
18:L P[4] 500mm/sec FINE
19: CALL VCMR_VT(4)
20:L @P[28] 500mm/sec CNT0
21:
2 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, then run the
displayed program. If T1 mode is selected, the override can be improved more than 30%.
CAUTION
Please do not re-teach positions [1] to [27] of the measurement program when
this program is executed for recovery.
NOTE
If the result of temporary mastering differs too much from the status of mastering
before replacement of robot parts, one of four big circles may be out of the field
of view. The error, “CVIS-20 Big circles cannot be distinguished” is posted. If
such a case occurs, please retry setting temporary mastering data.
CAUTION
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “6.6.1 TP Program”.
For 7DC3/10 (V8.30P/10) or later software, when the measurement is
interrupted by the release of the SHIFT key, the occurrence of an alarm or other
reasons, re-execute the TP program after moving the cursor to the first line. If a
part of the measurement has been completed, a message “Press 0 (restart) or 9
(resume)” appears. Press the 0 key to restart the measurement from the
beginning or the 9 key to resume the measurement.
3 When the measurement has been completed, display the “Vision Master Recovery” screen (see
Section 6.5.2, "Displaying the “Vision Master Recovery” screen").
- 128 -
B-83724EN/02 6.VISION MASTER RECOVERY
Step
1 Move the cursor to “Recover Master CT”, and press the F4 (SELECT) or the ENTER key.
UTILITIES iRCalibration
Vision Master Recovery 8/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Done )
4 Create Program (Done )
5 Run for Reference:VMRCV1 (Done )
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Done )
8 Recover Master CT (Not Done)
9 View Result
The teach pendant displays the “Recover Master CT” screen as shown below.
UTILITIES iRCalibration
Vision Master Recovery
Recover Master CT
Robot Group [ 1]
Evaluation Index of Recovery: .7
Mean Recovery Error: .002
Max Recovery Error: .030
Compensation Angles:
J1: 0.000 J2: -0.000
J3: 0.000 J4: 0.000
J5: 0.000 J6: -0.000
[ TYPE ] UPDATE
NOTE
The mastering status is not recovered yet at this point.
2 Confirm the items displayed. If there is no problem, update mastering data by pressing the F3
(UPDATE) key while holding down the SHIFT key.
- 129 -
6.VISION MASTER RECOVERY B-83724EN/02
Confirmation
• Confirm that absolute values of compensation angles are 1° or less.
If either absolute values of compensation angle are exceeding 1°, update mastering data and
execute the measurement program for recovery again, and confirm that the absolute value of
compensation angles displayed on “Recover Master CT” screen becomes smaller.
• Confirm that the max recovery error is about 0.5mm or less.
If the max recovery error is considerably larger than the above value, possible causes are that
the lens or camera is not secured, the lens is out of focus, and that the calibration grid is not
secured. Check these causes and execute the program for recovery again.
NOTE
“Max Recovery Error” can be larger than the above approximate value in these
cases:
• Tool attached to the robot is heavy.
• Robot holds heavy workpieces.
• Individual difference between the robot parts before replacement and the
robot parts after replacement is large.
• Update mastering data.
• Execute the measurement program for recovery.
• Confirm “Compensation Angles” and “Max Recovery Error” on “Recover
Master CT” screen.
Even though “Max Recovery Error” has not changed, if “Compensation Angles”
becomes smaller, the result of Vision Master Recovery can be regarded as OK.
3 After updating the mastering data, set the reference position for Quick Mastering again, preparing
for future Quick Mastering. If it has not been set, set it as all the axes’ angles are 0 degree. For
details of Quick Mastering, please refer to "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic
Operation)" and “Mechanical Unit Operator’s Manual”.
- 130 -
B-83724EN/02 6.VISION MASTER RECOVERY
UTILITIES iRCalibration
Vision Master Recovery 9/9
1 Robot Group: 1
2 Work Tool Frame Number: 9
3 Set Robot Axes to Recover (Done )
4 Create Program (Done )
5 Run for Reference:VMRCV1 (Done )
6 Check the Measurement for Reference
7 Run for Recovery: VMRCV1 (Done )
8 Recover Master CT (Done )
9 View Result
The teach pendant displays the “View Result” screen as shown below.
UTILITIES iRCalibration
Vision Master Recovery
View Result Page 1
Robot Group [ 1]
Check the Measurement for Reference
Evaluation Index of Reference: 3.5
Mean Measurement Error: .030
Max Measurement Error: .050
Recover Master CT
Evaluation Index of Recovery: .7
Mean Recovery Error: .002
Max Recovery Error: .030
Function key
F4(NEXTPAGE): Displays the next page.
F5(OUTPUT): Saves the results of Vision Master Recovery to VCMR_LOG.TXT. You can
use the File I/O menu to set the device (memory card or USB memory) where
the file is located. For details of using the file I/O menu, please refer to
"R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic Operation)".
NOTE
If VCMR_LOG.TXT already exists, the new results are appended to the current
contents.
- 131 -
6.VISION MASTER RECOVERY B-83724EN/02
6.6.1 TP Program
TP Program for Measurement
VMRCVn(n: robot group)
0 LINE
G1 JOINT 10 %
1: UTOOL_NUM=9 ;
2: UFRAME_NUM=0 ;
3: ;
4:J P[28] 30% FINE ;
5: ;
6:L P[1] 500mm/sec FINE ;
7: CALL VCMR_VT(1) ;
8:L P[28] 500mm/sec CNT0 ;
9: ;
10:L P[2] 500mm/sec FINE ;
11: CALL VCMR_VT(2) ;
12:L P[28] 500mm/sec CNT0 ;
13: ;
・・・
106:L P[26] 500mm/sec FINE ;
107: CALL VCMR_VT(26) ;
108:L P[28] 500mm/sec CNT0 ;
;
110:L P[27] 500mm/sec FINE ;
111: CALL VCMR_VT(27) ;
112:L P[28] 500mm/sec CNT0 ;
[END]
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program VCRSM_CHECK, label
instructions, and jump instructions are added to the TP program as below so that efficient resuming of the
measurement can done.
- 132 -
B-83724EN/02 6.VISION MASTER RECOVERY
0 LINE
G1 JOINT 10 %
1: CALL VCRSM_CHECK('START') ;
2: UTOOL_NUM=9 ;
3: UFRAME_NUM=0 ;
4: ;
5: IF $VCRSM_CFG.$STEP_NUM>=2,
JMP LBL[2] ;
6: CALL VCRSM_CHECK(1) ;
7:J P[28] 30% FINE ;
8:L P[1] 500mm/sec FINE ;
9: CALL VCMR_VT(1,0) ;
10: ;
11: LBL[2] ;
12: IF $VCRSM_CFG.$STEP_NUM>=3,
JMP LBL[3] ;
13: CALL VCRSM_CHECK(2) ;
14:L P[28] 500mm/sec CNT0 ;
15:L P[2] 500mm/sec FINE ;
16: CALL VCMR_VT(2,0) ;
・・・
179: LBL[26] ;
180: IF $VCRSM_CFG.$STEP_NUM>=27,
JMP LBL[27] ;
181: CALL VCRSM_CHECK(26) ;
182:L P[28] 500mm/sec CNT0 ;
183:L P[26] 500mm/sec FINE ;
184: CALL VCMR_VT(26,0) ;
185: ;
186: LBL[27] ;
187: CALL VCRSM_CHECK(27) ;
188:L P[28] 500mm/sec CNT0 ;
189:L P[27] 500mm/sec FINE ;
190: CALL VCMR_VT(27,0) ;
191: ;
192: CALL VCRSM_CHECK('END') ;
193:L P[28] 500mm/sec CNT0 ;
[END]
0 LINE
G1 JOINT 10 %
1: UTOOL_NUM=9 ;
2: UFRAME_NUM=0 ;
3: ;
4:L P[1] 500mm/sec FINE ;
5:L P[2] 500mm/sec FINE ;
・・・
29: L P[26] 500mm/sec FINE ;
30: L P[27] 500mm/sec FINE ;
[END]
- 133 -
6.VISION MASTER RECOVERY B-83724EN/02
Robot Gro up [ 1]
Robot Mod el: R-20 00iB /165F
Robot Num ber: F000 00
Soft Vers ion: V8.2 0P/1 2
Measu re T ime: 28-M AR-1 4 21: 35
Log T ime: 28-M AR-1 4 21: 35
- 134 -
B-83724EN/02 6.VISION MASTER RECOVERY
Grid Spacing
Fig. 6.7.1 Calibration Grid
All of the black circles are arranged so that they are uniformly spaced horizontally and perpendicularly.
Four larger black circles placed in the vicinity of the center indicate the origin and directions of a
coordinate system as shown. The ratio of the diameter of a large circle to that of a small circle is about
10:6.
The size of the calibration grid should be selected to fit the view field of the camera.
The aim of selection is set as below:
When the standoff (the distance between the lens of the camera and the calibration grid) is set as about
500mm, the longest distance among three larger black circles along the X-axis is equal to 1/4 to 1/5 of the
length of the view filed of the camera.
- 135 -
7.VISION AXIS MASTER B-83724EN/02
iPendant AMU
Camera Cable
Robot Controller
L R
Target Mark
- 136 -
B-83724EN/02 7.VISION AXIS MASTER
J3 axis
J2 axis
J1 axis
CAUTION
Please do not peel the target stickers from the robot.
- 137 -
7.VISION AXIS MASTER B-83724EN/02
• Target fixtures are attached to the robot by screws or magnets. The target fixtures are attached only
when the measurement is executed, not to be broken or dirty, and not to be interfered with cables.
Target fixtures can be shared between robots of the same type.
NOTE
The specification of the target mark depends on the type of the robot and the
axis for measurement. For details, refer to the “Mechanical Unit Operator’s
Manual”.
Part B
L R
Part A
- 138 -
B-83724EN/02 7.VISION AXIS MASTER
CV number
Fig. 7.2.2(e) CV number of target fixture (part A for J4 axis of R-2000iB/250F)
Built-in Camera
LED Light
Camera Cable
Fig. 7.2.3(a) AMU attached bracket for measurement from front side
- 139 -
7.VISION AXIS MASTER B-83724EN/02
• As shown in Fig. 7.2.3(c), the operator manually holds the AMU in place. The bracket allows the
operator to maintain the proper standoff distance and tilt angle with respect to part A.
Part B
Part A
Place the tip of the bracket with slight pressure on the target mark
Target Mark
• The axis will move automatically to align the Part B dot with the Part A dots. Vision provides
feedback to the program for measurements that move the axis in the correct direction.
• The marks oscillate until a minimum threshold is satisfied and the adjustment is considered
complete.
- 140 -
B-83724EN/02 7.VISION AXIS MASTER
Gap
L R L R
Fig. 7.2.4(b) Measurement from front side (moving to reference position)
Fig. 7.2.4(c) Position of AMU during measurement from right side and left side
The front measurement bracket ensures the AMU is at a zero degree tilt, however the AMU can still be
off centered. Knowing the step interval value allows a perspective correction for the off center value.
Step Interval
Fig. 7.2.4(d) Step interval is measured by measurement from right side and left side
- 141 -
7.VISION AXIS MASTER B-83724EN/02
NOTE
1 Reference data of a robot consists of “reference data 1”, “reference data 2”, … ,
“reference data 10”.
2 Each reference data stores the measured reference data for all axes.
3 The reference positions that are set in the FANUC robot factory (mentioned
above) are stored in reference data 10. (Known as the factory data.)
4 The reference data number should correspond with the tool number.
NOTE
Reference data setting cannot be executed if the mastering status of at least
axis is invalid.
NOTE
1 1-axis mastering cannot be applied if a robot arm or the wrist unit is replaced.
2 To reduce the influence of the tool weight on the mastering status, use reference
data that was set with the same tool.
- 142 -
B-83724EN/02 7.VISION AXIS MASTER
NOTE
1 Encoder mastering cannot be applied if a robot arm, the wrist unit, a reducer, a
motor, or a pulse coder is replaced.
2 To reduce the influence of the tool weight on the mastering status of the axis to
be recovered, use reference data that was defined with the same tool.
NOTE
1 The step interval will be changed if a robot arm or a reducer is replaced,
therefore the step measurement function will need to be executed again.
2 The step measurement cannot be executed if there is at least one axis with an
invalid mastering status.
3 No tool is attached to the robot when the step measurement is executed.
4 The all reference positions of the axis should be set again after the step
measurement function is performed.
- 143 -
7.VISION AXIS MASTER B-83724EN/02
Connect the AMU and the robot controller with the camera cable.
Detach the cover plates of the target stickers of the axes for measurement
and attach the target jigs of the axes for measurement to the robot. For
details, refer to subsection 7.3.2, “Installation of AMU and target marks”.
Reset alarms
If the alarm “Servo 062 BZAL” or “Servo 075 Pulse not established (G:i
A:j)” is posted, reset this alarm. For details, refer to subsection 7.3.4,
“Resetting Alarms”.
Set countdown
Set the period of the countdown. For details, refer to subsection 7.3.5,
“Setting Countdown”.
Set the robot group number. For details, refer to subsection 7.3.6, “Setting
Robot Group Number”.
- 144 -
B-83724EN/02 7.VISION AXIS MASTER
Display the “Select Reference Data” screen from the “Vision Axis
Master” screen. For details, refer to subsection 7.3.7, “Operation in the
“Select Reference Data” Screen”.
The “View Reference Data” screen can be displayed from the “Select
Reference Data” screen.
Display the “View Reference Data” screen from the “Select Reference
Data” screen. For details, refer to subsection 7.3.8, “Operation in the
“View Reference Data” Screen”.
Display the “Select Axis Number” screen from the “Vision Axis Master”
screen. For details, refer to subsection 7.3.9, “Operation in the “Select
Axis for Number” Screen”.
The reference data can refer to the factory data (the reference position of
the reference data 10).
- 145 -
7.VISION AXIS MASTER B-83724EN/02
Execute measurement
Display the “View Result / Update Data” screen from the “Vision Axis
Master” screen. Fo r details, refer to subsection 7.3.14, “Viewing Result /
Upd ating Data”.
Update data
Complete
- 146 -
B-83724EN/02 7.VISION AXIS MASTER
NOTE
Make sure that the LED light of the AMU is illuminated on after the AMU is
connected on the robot controller and that the robot controller is on.
Detach the cover plates of the target stickers of the axes for measurement and attach the target fixtures to
the axes for measurement. The specification of target fixtures depends on the robot model and the axis for
measurement. For details, refer to “Mechanical Unit Operator’s Manual”.
2 Press the F1[TYPE] key, move the cursor to “iRCalibration”, and press the ENTER key.
UTILITIES iRCalibration
6/6
1 Vision TCP Set
2 Vision Mastering
3 Vision Frame Shift
4 Vision Frame Set
5 Vision Master Recovery
6 Vision Axis Master
[ TYPE ]DISP_IMG DETAIL
3 Move the cursor to “Vision Axis Master” and press the F3(DETAIL) key or the ENTER key.
The window of the teach pendant is divided in two automatically, and the ”Vision Axis Master” screen
and the image screen are displayed simultaneously, as shown below.
- 147 -
7.VISION AXIS MASTER B-83724EN/02
2 To reset the alarm “Servo 075 Pulse not established (G:i A:j)”, jog the axis which is indicated by the
alarm message by about 10 degrees in either direction.
- 148 -
B-83724EN/02 7.VISION AXIS MASTER
[ TYPE ]
[ TYPE ]
- 149 -
7.VISION AXIS MASTER B-83724EN/02
[ TYPE ] DETAIL
The teach pendant displays the “Select Reference Data” screen as shown below.
The selected reference data number is displayed in the bottom of the screen.
- 150 -
B-83724EN/02 7.VISION AXIS MASTER
The status of reference data 10 is [Set] from the beginning because it is set in the FANUC factory. For
details, refer to “Setting reference data” of subsection 7.2.5, “Basic Functions”.
- 151 -
7.VISION AXIS MASTER B-83724EN/02
The date when reference data has been finally updated is displayed in “Update” list.
2 Press the F2(SELECT) key to display “Enter reference data number” in the bottom of the screen,
enter a reference data number which is to be selected, and press the ENTER key.
- 152 -
B-83724EN/02 7.VISION AXIS MASTER
CAUTION
Step measurement can be executed only if the selected reference data number
is 10.
3 The “View Reference data” screen can be displayed by moving the cursor to the number of the
reference data which you want to view and pressing the F3(VIEW) key. For details, refer to
subsection 7.3.8, “Operation in “View Reference Data” Screen”.
4 The reference data (reference positions of all axes) status of which is “Set” or “Setting” can be
cleared by moving the cursor to reference data which you want to clear, pressing the F5(CLEAR)
key, and pressing the F4(YES) key subsequently.
- 153 -
7.VISION AXIS MASTER B-83724EN/02
[ TYPE ] YES NO
5 If the reference data has been selected, press the PREV key to display the “Vision Axis Master”
screen.
- 154 -
B-83724EN/02 7.VISION AXIS MASTER
The teach pendant displays the “View Reference Data” screen as shown below.
Referene Position
J1 -0.007 deg (Factory)
J2 0.001 deg
J3 ******** deg
J4 -0.002 deg (Factory)
J5 ******** deg
J6 ******** deg
[ TYPE ]
• The value of the reference position is displayed in the Reference Position area if set.
• “********” is displayed in the Reference Position area when not set.
• “(FACTORY)” is displayed on right side of the Reference Position area if reference data of the axis
refers to factory data.
Referene Position
J1 -0.007 deg (Factory)
J2 0.001 deg
J3 ******** deg
J4 -0.002 deg (Factory)
J5 ******** deg
J6 ******** deg
[ TYPE ]
- 155 -
7.VISION AXIS MASTER B-83724EN/02
NOTE
The time to set reference data can be shortened by referring factory data instead
of setting reference data to the axis that is hardly bended by the weight of the
tool. (For example, the J1 axis of a serial link type robot such as the R-2000iB).
The setting of referring to factory data can be done on the “Axis for
Measurement” screen.
2 The comment of reference data can be edited by pressing the ENTER key, entering new comment,
and pressing the ENTER key again.
Referene Position
J1 -0.007 deg (Factory)
J2 0.001 deg
J3 ******** deg
J4 -0.002 deg (Factory)
J5 ******** deg
J6 ******** deg
[ TYPE ]
NOTE
The comment of reference data should be the name of tool.
3 Display the “Select Reference Data” screen by pressing the PREV key.
- 156 -
B-83724EN/02 7.VISION AXIS MASTER
[ TYPE ] DETAIL
The teach pendant displays the “Select Axis Number” screen as shown below.
“********” is displayed in the line of the axis the reference data of which is not set.
Reference Position
1 J1 ******** deg
2 J2 ******** deg
3 J3 ******** deg
4 J4 ******** deg
5 J5 ******** deg
6 J6 ******** deg
2 Press the F2(SELECT) key to display “Enter Axis Number”, enter the number of the axis for
measurement, and press the ENTER key.
Reference Position
1 J1 ******** deg
2 J2 ******** deg
3 J3 ******** deg
4 J4 ******** deg
5 J5 ******** deg
6 J6 ******** deg
If the number of the axis for measurement is selected, the selected number is displayed in the bottom line
of the screen as shown below.
- 157 -
7.VISION AXIS MASTER B-83724EN/02
Reference Position
1 J1 ******** deg
2 J2 ******** deg
3 J3 ******** deg
4 J4 ******** deg
5 J5 ******** deg
6 J6 ******** deg
3 The reference position, which is indicated by the cursor, can be set to refer to factory data by
pressing the F3(FACTORY) key. (Factory data is the reference position of reference data 10)
Reference Position
1 J1 ******** deg
2 J2 ******** deg
3 J3 ******** deg
4 J4 ******** deg
5 J5 ******** deg
6 J6 ******** deg
NOTE
The time to set reference data can be shortened by referring factory data instead
of setting reference data to the axis that is hardly bended by the weight of the
tool. (For example, J1 axis of a serial link type robot as R-2000iB).
If the reference position is set to refer to the factory data, the value of the reference position (same value
as factory data) and “(FACTORY)” are displayed on the line such as below.
- 158 -
B-83724EN/02 7.VISION AXIS MASTER
Reference Position
1 J1 -0.001 deg (Factory)
2 J2 ******** deg
3 J3 ******** deg
4 J4 ******** deg
5 J5 ******** deg
6 J6 ******** deg
4 The value of the reference position which is indicated by the cursor can be cleared by pressing the
F5(CLEAR) key and then pressing the F4(YES) key.
Reference Position
1 J1 -0.001 deg (Factory)
2 J2 ******** deg
3 J3 ******** deg
4 J4 ******** deg
5 J5 ******** deg
6 J6 ******** deg
Reference Position
1 J1 -0.001 deg (Factory)
2 J2 ******** deg
3 J3 ******** deg
4 J4 ******** deg
5 J5 ******** deg
6 J6 ******** deg
5 If the axis for measurement is selected, press the PREV key to display the “Vision Axis Master”
screen.
- 159 -
7.VISION AXIS MASTER B-83724EN/02
[ TYPE ]
Step
1 If at least one target fixture with the CV number on it is used for measurement, the CV number of
the target fixture must be entered. Move the cursor to “Enter CV Number of Fixture” on the “Vision
Axis Master” screen and enter the F3(DETAIL) key or the ENTER key.
[ TYPE ] DETAIL
The teach pendant displays the “Enter CV Number of Fixture” screen shown below. If two parts of the
target mark are target fixtures, two CV numbers need to be entered, and if either one part of the target
mark is target fixture, one CV number needs to be entered. The following screen displays when two parts
of the target mark are target fixtures.
- 160 -
B-83724EN/02 7.VISION AXIS MASTER
1 A4-
2 B4-
[ TYPE ]
2 Press the ENTER key, enter the CV number which is printed on the sticker which is stuck on the
target fixture to the line which is indicated by the cursor, and press the ENTER key again.
1 A4-
2 B4-
[ TYPE ]
NOTE
Please include hyphens for CV number.
1 A4-123-456
2 B4-789
[ TYPE ]
3 After entering the CV numbers of target fixtures, display the “Vision Axis Master” screen by
pressing the PREV key and make sure that the status of “Enter CV Number of Fixture” is changed to
“Done”.
- 161 -
7.VISION AXIS MASTER B-83724EN/02
[ TYPE ] DETAIL
• Attach the gauging bracket for step measurement to the AMU when step measurement is executed.
- 162 -
B-83724EN/02 7.VISION AXIS MASTER
measurement position before measurement. For details of measurement position, refer to the mechanical
unit operator’s manual.
NOTE
1 Reference Data 10 is set without any tooling at the factory before shipping.
The robot is measured by the measurement position that is mentioned in the
mechanical unit operator’s manual.
2 The positional accuracy of jogging to the measurement position does not require
a high level of precision.
NOTE
Jog the axis for measurement so that the dot on Part B is within the
pre-positioning range of Part A. (see the figure below)
Jog axis
Part A L R L R
Part A
T2 20 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Axis Master 7/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[4]
6 Enter CV Number of Jig [ Done ]
7 Execute Measurement
8 View Result / Update Data
- 163 -
7.VISION AXIS MASTER B-83724EN/02
2 Start the measurement for reference data setting, 1-axis mastering, or encoder mastering.
• To execute the measurement for reference data setting, press the F2(REF. SET) key while
holding down the SHIFT key.
• To execute the measurement for 1-axis mastering, press the F3(1-AXIS) key while holding
down the SHIFT key.
• To execute the measurement for encoder mastering, press the F4(ENCODER) key while
holding down the SHIFT key.
T2 20 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Axis Master 7/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[4]
6 Enter CV Number of Jig [ Done ]
7 Execute Measurement
8 View Result / Update Data
CAUTION
1 The measurement for reference data setting cannot be executed when any
mastering status is invalid.
2 The measurement for 1-axis mastering and encoder mastering can’t be executed
if the reference position of the axis for measurement is not set in selected
reference data.
3 When the mastering of plural axes is executed, the mastering of each axis needs
to be executed in order of the axis number. (The smaller axis number must be
executed first.)
4 The axis for measurement moves automatically during the measurement. For
the safety of the operator, the override of the robot will be forced to 20 percent if
the override is over 20 percent. When the override is 20 percent, the moving
speed of the target mark of each axis is around 3mm/sec. When less than 20%,
the speed is not changed.
5 If the Jog/Program override function is valid, active override is changed to
“PROG” automatically when the measurements started, and active override and
the value of override will be returned to those before the measurement
automatically when the measurement is completed or cancelled.
6 The SHIFT key needs to be held down during the measurement. If the
measurement is cancelled by releasing the SHIFT key, the measurement needs
to be restarted from the beginning.
7 An attempt to start measurement during execution of another program causes
an error with the following error message displayed.
“INTP-313 (VCAXMAST) motion statement failed, PROG-040 Already locked by
other task”
In this case, the other executed program will be terminated compulsory,
therefore please restart the measurement.
- 164 -
B-83724EN/02 7.VISION AXIS MASTER
3 The countdown will be started when the measurement is started. Place the tip of the gauging bracket
for the AMU on the target mark with slight pressure from the front side by the end of the
countdown.
T2 20 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Axis Master 7/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[4]
6 Enter CV Number of Jig [ Done ]
7 Execute Measurement
8 View Result / Update Data
[ TYPE ]
4 During vision measurement, the relative position of the AMU to the target mark must be kept
appropriately by watching the image display. For details, refer to subsection “7.4 IMAGE DISPLAY
DURING VISION MEASUREMENT”. “Detecting …” or “Robot is moving …” is displayed
alternately in the bottom of the screen during the measurement.
NOTE
The tip of the gauging bracket for the AMU should be placed on the target mark
with slight pressure during the measurement.
Target Mark
- 165 -
7.VISION AXIS MASTER B-83724EN/02
T2 20 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Axis Master 7/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[4]
6 Enter CV Number of Jig [ Done ]
7 Execute Measurement
8 View Result / Update Data
Condition
• Make sure that setting robot group number, selecting reference data, selecting axis for measurement,
and entering CV number of fixture, are completed before executing measurement.
Step
1 Set TRUE to the system variable $VCAX_REF_GR[g].$REF_STEP[a].$STEP_MS_ENB. (g: group
number of the robot for measurement, a: axis number for measurement)
2 Move the cursor to “Execute Measurement” in the “Vision Axis Master” screen and reset alarms to
execute the measurement.
T2 20 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Axis Master 7/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[2]
6 Enter CV Number of Jig [Not Needed]
7 Execute Measurement
8 View Result / Update Data
3 Start step measurement by pressing the F5(STEP) key while holding down the SHIFT key.
- 166 -
B-83724EN/02 7.VISION AXIS MASTER
T2 20 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Axis Master 7/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[2]
6 Enter CV Number of Jig [Not Needed]
7 Execute Measurement
8 View Result / Update Data
CAUTION
1 Step measurement is executed without an attached tool.
2 When step measurement is executed, “10” needs to be selected as thereference
data number.
3 The step measurement cannot be executed if the mastering status of at least
one axis is invalid.
4 The axis for measurement moves automatically during the measurement. For
the safety of the operator, the override of the robot will be forced to 20 percent if
the override is over 20 percent. When the override is 20 percent, the moving
speed of the target mark of each axis is around 3mm/sec. When less than 20%,
the speed is not changed.
5 If the Jog/Program override function is valid, active override is changed to
“PROG” automatically when the measurements started, and active override and
the value of override will be returned to those before the measurement
automatically when the measurement is completed or cancelled.
6 The SHIFT key needs to be held down during the measurement. If the
measurement is cancelled by releasing the SHIFT key, the measurement needs
to be restarted from the beginning.
7 An attempt to start measurement during execution of another program causes
an error with the following error message displayed.
“INTP-313 (VCAXMAST) motion statement failed, PROG-040 Already locked by
other task”
In this case, the other executed program will be terminated, therefore please
restart step measurement.
4 To measure step data, The measurement from the front side, the measurement from right side, and
the measurement from left side needs to be repeated two or three times. During the measurement, the
measurement is stopped temporarily and “Press [CONTINUE] and move Cam to FRONT”, “Press
[CONTINUE] and move Cam to RIGHT”, or “Press [CONTINUE] and move Cam to LEFT” is
displayed on the bottom of the screen. Press the F4(CONTINUE) key while holding down the
SHIFT key in this timing to start countdown, and place the AMU on the target mark with slight
pressure from the direction that is indicated by the bottom of the screen by the end of the
countdown.
- 167 -
7.VISION AXIS MASTER B-83724EN/02
5 During vision measurement, the relative position of the AMU to the target mark must be kept
appropriately by watching the image display. For details, refer to subsection “7.4 IMAGE DISPLAY
DURING VISION MEASUREMENT”. “Detecting …” or “Robot is moving …” is displayed
alternately in the bottom of the screen during the measurement.
NOTE
The tip of the gauging bracket for the AMU should be placed on the target mark
with slight pressure during the measurement.
T2 20 %
UTILITIES iRCalibration iRVision Runtime Display
Vision Axis Master 7/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[2]
6 Enter CV Number of Jig [Not Needed]
7 Execute Measurement
8 View Result / Update Data
CAUTION
If the step measurement failed, check if the target fixture is attached to the robot
securely, and re-execute the measurement.
- 168 -
B-83724EN/02 7.VISION AXIS MASTER
UTILITIES iRCalibration
Vision Axis Master 8/8
1 Setup
2 Count Down: 5 sec
3 Robot Group Number: 1
4 Select/View Reference Data
[ 2:REFERENCE 2 ]
5 Select Axis for Measurement[2]
6 Enter CV Number of Jig [Not Needed]
7 Execute Measurement
8 View Result / Update Data
[ TYPE ] DETAIL
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Ref. Data Setting] 2014/04/07 16:45
Reference Data of Measured Axis:
Previous Value: ******** deg
Current Value: .139 deg
Measured Value: .006 deg
Diff. Of Above 2: -.132 deg
NOTE
Reference data has not yet been updated.
- 169 -
7.VISION AXIS MASTER B-83724EN/02
Step
1 Check the displayed items, press the F3(UPDATE) key, and press the F4(YES) key subsequently to
update reference data.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Ref. Data Setting] 2014/04/07 16:45
Reference Data of Measured Axis:
Previous Value: ******** deg
Current Value: .139 deg
Measured Value: .006 deg
Diff. Of Above 2: -.132 deg
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Ref. Data Setting] 2014/04/07 16:45
Reference Data of Measured Axis:
Previous Value: ******** deg
Current Value: .139 deg
Measured Value: .006 deg
Diff. Of Above 2: -.132 deg
[ TYPE ] YES NO
The screen will be updated after updating the mastering data as shown below.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Ref. Data Setting] 2014/04/07 16:45
Reference Data of Measured Axis:
Previous Value: .139 deg
Current Value: .006 deg
Measured Value: .006 deg
Diff. Of Above 2: 0.000 deg
[ TYPE ] OUTPUT
- 170 -
B-83724EN/02 7.VISION AXIS MASTER
2 If the F5(OUTPUT) key is pressed with the file I/O device (a memory card, a USB memory, etc)
which is selected in the file screen plugged in the controller, VAMLOG.TXT, a log file saves the
results to the file I/O device. For details of the method of selecting the file I/O device in the file
screen, please refer to the "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic Operation)"
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Ref. Data Setting] 2014/04/07 16:45
Reference Data of Measured Axis:
Previous Value: .139 deg
Current Value: .006 deg
Measured Value: .006 deg
Diff. Of Above 2: 0.000 deg
[ TYPE ] OUTPUT
NOTE
IF VAMLOG.TXT already exists, the new results are appended to the current
contents.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[1-Axis Mastering] 2014/04/07 18:45
Mastering Count of Measured Axis:
Previous Value: ************
Current Value: 2224789
Measured Value: 2226259
Diff. Of Above 2: .003 deg
NOTE
After executing 1-axis mastering, the difference between measured value and
the current value of the mastering count is displayed as “Diff. Of Above2”. (This
value is converted into degrees.)
NOTE
Mastering data has not yet been updated.
- 171 -
7.VISION AXIS MASTER B-83724EN/02
Step
1 Check the displayed items, press the F3(UPDATE) key, and then press the F4(YES) key to update
mastering data.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[1-Axis Mastering] 2014/04/07 18:45
Mastering Count of Measured Axis:
Previous Value: ************
Current Value: 2224789
Measured Value: 2226259
Diff. Of Above 2: .003 deg
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[1-Axis Mastering] 2014/04/07 18:45
Mastering Count of Measured Axis:
Previous Value: ************
Current Value: 2224789
Measured Value: 2226259
Diff. Of Above 2: .003 deg
[ TYPE ] YES NO
The screen will be updated after updating the mastering data as shown below.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[1-Axis Mastering] 2014/04/07 18:45
Mastering Count of Measured Axis:
Previous Value: 2224789
Current Value: 2226259
Measured Value: 2226259
Diff. Of Above 2: 0.000 deg
[ TYPE ] OUTPUT
- 172 -
B-83724EN/02 7.VISION AXIS MASTER
2 If the F5(OUTPUT) key is pressed with a file I/O device plugged in the controller, VAMLOG.TXT,
a log file, saves the results to the file I/O device.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[1-Axis Mastering] 2014/04/07 18:45
Mastering Count of Measured Axis:
Previous Value: 2224789
Current Value: 2226259
Measured Value: 2226259
Diff. Of Above 2: 0.000 deg
[ TYPE ] OUTPUT
NOTE
IF VAMLOG.TXT already exists, the new results are appended to the current
contents.
3 After updating the mastering data, set the reference position for Quick Mastering again, preparing
for future Quick Mastering. If it has not been set, set it as all the axes’ angles are 0 degree. For
details of Quick Mastering, please refer to "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic
Operation)" and “Mechanical Unit Operator’s Manual”.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Encoder Mastering] 2014/04/07 19:45
Mastering Count of Measured Axis:
Previous Value: 2224789
Current Value: 2226259
Measured Value: 7469139
Diff. Of Above 2: 10 rot
NOTE
After executing encoder mastering, The difference between the measured value
and the current value of the mastering count is displayed as “Diff. Of Above2”.
(This value is converted into rotational number of the motor)
- 173 -
7.VISION AXIS MASTER B-83724EN/02
NOTE
Mastering data has not yet been updated.
Step
1 Check the displayed items, press the F3(UPDATE) key, and then press the F4(YES) key to update
mastering data.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Encoder Mastering] 2014/04/07 19:45
Mastering Count of Measured Axis:
Previous Value: 2224789
Current Value: 2226259
Measured Value: 7469139
Diff. Of Above 2: 10 rot
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Encoder Mastering] 2014/04/07 19:45
Mastering Count of Measured Axis:
Previous Value: 2224789
Current Value: 2226259
Measured Value: 7469139
Diff. Of Above 2: 10 rot
[ TYPE ] YES NO
The screen will be updated after updating mastering data as shown below.
- 174 -
B-83724EN/02 7.VISION AXIS MASTER
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Encoder Mastering] 2014/04/07 19:45
Mastering Count of Measured Axis:
Previous Value: 2226259
Current Value: 7469139
Measured Value: 7469139
Diff. Of Above 2: 0 rot
[ TYPE ] OUTPUT
2 If the F5(OUTPUT) key is pressed with a file I/O device plugged in the controller, VAMLOG.TXT,
a log file, saves the results to the file I/O device.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/1
Robot Group [1]
Reference Data [ 2:REFERENCE 2 ]
Measured Axis [2]
[Encoder Mastering] 2014/04/07 19:45
Mastering Count of Measured Axis:
Previous Value: 2226259
Current Value: 7469139
Measured Value: 7469139
Diff. Of Above 2: 0 rot
[ TYPE ] OUTPUT
NOTE
IF VAMLOG.TXT already exists, the new results are appended to the current
contents.
3 After updating the mastering data, set the reference position for Quick Mastering again, preparing
for future Quick Mastering. If it has not been set, set it as all the axes’ angles are 0 degree. For
details of Quick Mastering, please refer to "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic
Operation)" and “Mechanical Unit Operator’s Manual”.
- 175 -
7.VISION AXIS MASTER B-83724EN/02
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/2
Robot Group [1]
Reference Data [**:************]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: ******** mm
Current Value: .325 mm
Measured Value: .494 mm
Diff. Of Above 2: .169 mm
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 2/2
Robot Group [1]
Reference Data [10:FACTORY DATA]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: ******** deg
Current Value: .604 deg
Measured Value: .152 deg
Diff. Of Above 2: -.451 deg
NOTE
Step data and reference data have not yet been updated.
2 Check the displayed items, press the F3(UPDATE) key, and then press the F4(YES) key to update
the step data and reference data.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/2
Robot Group [1]
Reference Data [**:************]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: ******** mm
Current Value: .325 mm
Measured Value: .494 mm
Diff. Of Above 2: .169 mm
- 176 -
B-83724EN/02 7.VISION AXIS MASTER
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/2
Robot Group [1]
Reference Data [**:************]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: ******** mm
Current Value: .325 mm
Measured Value: .494 mm
Diff. Of Above 2: .169 mm
[ TYPE ] YES NO
3 If either reference position of the axis for measurement is set in reference data 1, reference data 2, …,
or reference data 9, you can choose to initialize these data or not. Please press the F4(YES) key or
the F5(NO) key.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/2
Robot Group [1]
Reference Data [**:************]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: ******** mm
Current Value: .325 mm
Measured Value: .494 mm
Diff. Of Above 2: .169 mm
[ TYPE ] YES NO
NOTE
After resetting the step data, Initializing other reference data of the measured
axis is recommended. If other reference data are initialized, please set these
reference data again.
The screen will be updated after updating step data and reference data as shown below.
- 177 -
7.VISION AXIS MASTER B-83724EN/02
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/2
Robot Group [1]
Reference Data [**:************]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: .325 mm
Current Value: .494 mm
Measured Value: .494 mm
Diff. Of Above 2: 0.000 mm
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 2/2
Robot Group [1]
Reference Data [10:FACTORY DATA]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: .604 deg
Current Value: .152 deg
Measured Value: .152 deg
Diff. Of Above 2: 0.000 deg
4 If the F5(OUTPUT) key is pressed with a file I/O device plugged in the controller, VAMLOG.TXT,
a log file, saves the results to the file I/O device.
UTILITIES iRCalibration
Vision Axis Master:
View Result Page 1/2
Robot Group [1]
Reference Data [**:************]
Measured Axis [2]
[Step Measurement] 2014/04/07 20:45
Step Data of Measured Axis:
Previous Value: .325 mm
Current Value: .494 mm
Measured Value: .494 mm
Diff. Of Above 2: 0.000 mm
NOTE
IF VAMLOG.TXT already exists, the new results are appended to the current
contents.
- 178 -
B-83724EN/02 7.VISION AXIS MASTER
- 179 -
7.VISION AXIS MASTER B-83724EN/02
- 180 -
B-83724EN/02 7.VISION AXIS MASTER
Image display when the AMU is too far from the target mark
When the AMU is too far from the target mark, red and green concentric circles are displayed in the
image (Red one is smaller than green one) as shown in Fig. 7.4(d). In this case, place the tip of the
gauging bracket on the part A of the target mark so that the distance between the AMU and the target
mark will be appropriate.
Image display when the AMU is too close to the target mark
When the AMU is too close to the target mark, red and green concentric circles are displayed in the image
(Red one is bigger than green one) as shown in Fig. 7.4(e). In this case, attach the gauging bracket to the
AMU before vision measurement so that the AMU will not be too close to the target mark.
- 181 -
7.VISION AXIS MASTER B-83724EN/02
AMU
- 182 -
B-83724EN/02 7.VISION AXIS MASTER
- 183 -
7.VISION AXIS MASTER B-83724EN/02
- 184 -
B-83724EN/02 8.ALL-AXIS VISION MASTERING
Stand
Bracket
Grid
Camera cable
- 185 -
8.ALL-AXIS VISION MASTERING B-83724EN/02
Measurement
- 186 -
B-83724EN/02 8.ALL-AXIS VISION MASTERING
5 Select “iRCalibration”.
6 Select “All-Axis Vision Mastering”.
“All-Axis Vision Mastering” screen is displayed.
TIP
1 All-Axis Vision Mastering’s operations should be made with enabling the Teach
Pendant.
2 When the All-Axis Vision Mastering screen is selected from iRCalibration screen,
the window of the teach pendant is divided in two automatically and All-Axis Vision
Mastering screen and Image screen are displayed.
3 Even if the window configuration is changed, the All-Axis Vision Mastering screen
and the Image screen can be displayed again in similar fashion by pressing F2
(DISP_IMG) on the All-Axis Vision Mastering screen.
Step
1 On the All-Axis Vision Mastering screen, specify the motion group number of the robot, to which
All-Axis Vision Mastering will be applied, at the item of ”Robot: Group”.
- 187 -
8.ALL-AXIS VISION MASTERING B-83724EN/02
Procedure 12-4 Adjusting aperture and focus of lens, and exposure time of camera.
NOTE
Depending on the robot model, used parts are different, and the procedure might
be slightly different from what is shown below.
For more information, please refer to the procedure manual for each robot
model.
Step
1 Set the aperture of the lens to 16.
Point A
- 188 -
B-83724EN/02 8.ALL-AXIS VISION MASTERING
2 Move the cursor to “Exposure Time” on the All-Axis Vision Mastering screen, and press the F4
(LIVE) key in order to start LIVE mode. And, adjust the exposure time in order that the LIVE image
becomes moderately bright.
If the LIVE image is still dark even with up to 100ms exposure time, set the aperture to the point
between 16 and 8 (point A in the picture), or set the aperture to 8, and adjust the exposure time. If it
is still dark, increase ambient lighting condition.
Remember the results of the aperture and the exposure time as they will be used in a later step.
UTILITIES iRCalibration
All-Axis Vision Mastering 2/4
1 Robot Group: 1
2 Exposure Time: 33.3 ms
3 Cal. Camera pos:
4 Move to Start pos
Measure: Not Done
Update Master CT
[ TYPE ] TIME+ TIME- LIVE FIND
Fig. 8.6 (d) Exposure Time
The exposure time can be input with numerical value directly. Also, it can be changed with the
following function keys.
F2 (TIME+)
Increases the exposure time. If pressing with SHIFT key, the value changes in bigger
increments.
F3 (TIME-)
Decreases the exposure time. If pressing with SHIFT key, the value changes in bigger
decrements.
Also, the following operations are possible with the function keys.
F4 (LIVE)
Toggles between starting displaying LIVE image and stopping LIVE.
F5 (FIND)
Detects the calibration grid.
3 Once, set the aperture to 1.4, then, the LIVE image becomes bright. And, adjust the exposure time in
order that the LIVE image becomes moderately bright.
4 Adjust the focus in order that the LIVE image becomes clear. In this time, fix the aperture handle
and move the focus handle only.
5 Put the aperture and the exposure time back as adjusted at the step 2. And, tighten the screws to lock
the aperture and the focus rings.
- 189 -
8.ALL-AXIS VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
All-Axis Vision Mastering 3/5
1 Robot Group: 1
2 Exposure Time: 33.3 ms
3 Cal. Camera pos: 2013/12/20
4 Move to Start pos
5 Measure: Not Done
Update Master CT
[ TYPE ]DISP_IMG CAL
Fig. 8.7 Cal. Camera pos
UTILITIES iRCalibration
All-Axis Vision Mastering 4/5
1 Robot Group: 1
2 Exposure Time: 33.3 ms
3 Cal. Camera pos: 2013/12/20
4 Move to Start pos
5 Measure: Not Done
Update Master CT
[ TYPE ]DISP_IMG MOVE_TO LIVE FIND
Fig. 8.8 (a) Move to Start pos
Step
1 Move the cursor to “Move to Start pos” on All-Axis Vision Mastering screen and press the F4
(LIVE) key in order to start LIVE mode.
2 Adjust the position of the grid so that the origin of the grid approximately goes to the center of the
LIVE image as shown.
Separate location
grid
3 Move the cursor to “Move to Start pos” and press the F5 (FIND) key Then, the amount of
deviation of the distance between the camera and the grid is displayed at the lower part of the screen
in such a manner as "Z=xx.x". Its unit is mm and larger value means a longer distance.
- 191 -
8.ALL-AXIS VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
All-Axis Vision Mastering 4/5
1 Robot Group: 1
2 Exposure Time: 33.3 ms
3 Cal. Camera pos: 2013/12/20
4 Move to Start pos
5 Measure: Not Done
Update Master CT
Z = 11.7
[ TYPE ]DISP_IMG MOVE_TO LIVE FIND
Fig. 8.8 (d) Distance between grid and camera
4 Change the position of the grid so as that the above distance value becomes close to 0. And, adjust
the position of the grid to within ±50mm by repeating the step 1∼3.
8.9 MEASUREMENT
Let the robot execute visual measurements of the grid from various angles.
Because the robot changes its posture greatly during the measuring, it needs large space around the robot.
UTILITIES iRCalibration
All-Axis Vision Mastering 5/5
1 Robot Group: 1
2 Exposure Time: 33.3 ms
3 Cal. Camera pos: 2013/12/20
4 Move to Start pos
5 Measure: Not Done
Update Master CT
[ TYPE ]DISP_IMG MEASURE
Fig. 8.9 Measure
CAUTION
1 The robot changes its posture variously while measuring. Pay attention to the
camera cable so as not to interfere the measurement.
2 With the robot model that uses two grids, if the separately located grid moves
while measuring, restart measuring from the beginning.
3 You must keep pressing the SHIFT key during the measurement. If the SHIFT
key is released, measuring is stopped.
4 Just after measuring is stopped, you can resume measuring by pressingthe
SHIFT and F3 (MEASURE) keys together When the SHIFT and F3 (MEASURE)
keys are pressed together, the confirmation message for resuming is displayed.
Then, if “RESUME” is selected, measuring is resumed. If “RESTART” is
selected, measuring is restarted from the beginning.
5 If the camera image is dark and vision detection fails and measuring is stopped,
you should try changing “Exposure Time” in order to take a bright camera image.
And, you can resume measuring.
- 192 -
B-83724EN/02 8.ALL-AXIS VISION MASTERING
CAUTION
6 If the Gravity Compensation function is enabled, the confirmation message if
payload setting is correct is displayed. Please refer to the procedure manual for
each robot model. And, set the correct payload data before measuring.
7 If Gravity Compensation status is different between now and when the last
mastering was done, the confirmation message if you execute mastering is
displayed. If you are sure to execute mastering, please select “Yes” and go
ahead with measuring.
UTILITIES iRCalibration
All-Axis Vision Mastering 6/6
1 Robot Group: 1
2 Exposure Time: 33.3 ms
3 Cal. Camera pos: 2013/12/20
4 Move to Start pos
5 Measure: Done
6 Update Master CT
[ TYPE ]DISP_IMG DETAIL
Fig. 8.10 (a)Update Master CT
2 The results of measurement and identification are displayed. The values in () are standard ranges of
errors.
If there is no problem, press the SHIFT and F3 (UPDATE) keys together in order to update the
mastering data.
Also, if there is an item that is out of its standard range, its notification message is displayed at the
lower part of the screen. In addition, updating the mastering data is available even if there is an item
that is out of its standard range.
- 193 -
8.ALL-AXIS VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
All-Axis Vision Mastering 1/6
Update Master CT
Robot Group: 1
1 Compensation Angles [deg]
J1: 0.300 J2: -0.254
J3: 0.172 J4: -0.239
J5: -0.082 J6: 0.326
2 Residual Error [mm]: 0.58 ( 1.50)
3 VTCP Error [mm]
X: 0.10 (± 1.50)
Z: 0.10 (± 1.00)
4 Grid Pattern Error [mm]
X: 0.20 (± 1.00)
Z: -0.54 (± 1.50)
5 Residual Error 2 [mm]: 0.58 ( 1.50)
6 VTCP Error 2 [mm]
X: 0.10 (± 1.50)
Z: 0.10 (± 1.00)
[ TYPE ] UPDATE
Fig. 8.10 (b)Update Master CT screen
About items
Compensation Angles
This item indicates the compensation angles from the previous mastering data.
Residual Error
This item indicates an index of precision if the mastering data is updated with the results of
measurement and identification.
In the case of using two grids, it is the value from the measurement of the separately located grid.
If this value is much higher than the standard range, the measurement might have not been done
properly.
Check if assemblies of the parts are loose and if the lens is out of focus. And, make another try.
VTCP Error
This is an error of TCP for Vision measurement. It is a difference between the identified value and
the design value.
If you are using two grids, it is the value from the measurement of the separately located grid.
If this value is much higher than the standard range, assembly of the bracket might have not been
proper or assembly of the grid at ”CALIBRATING THE CAMERA POSITION” might have not
been proper.
Check if there is anything wrong, and, make another try.
Residual Error 2
If you are not using a separately located grid, it can be neglected.
An index of precision if the mastering data is updated with the results of measurement and
identification.
It is the value from the measurement of the grid assembled at the robot base.
If this value is much higher than the standard range, the measurement might have not been done
properly.
Check if assemblies of the parts are loose and if the lens is out of focus. And, make another try.
VTCP Error 2
- 194 -
B-83724EN/02 8.ALL-AXIS VISION MASTERING
If you are not using a separately located grid, it can be neglected.
It is an error of TCP for Vision measurement. It is a difference between the identified value and the
design value.
It is the value from the measurement of the grid assembled at the robot base.
If this value is much higher than the standard range, the assembly of the bracket might have not been
done properly or the assembly of the grid at ”CALIBRATING THE CAMERA POSITION” might
have not been done properly.
Check if there is anything wrong and try again.
3 After updating the mastering data, set the reference position for Quick Mastering again, preparing
for future Quick Mastering. If it has not been set, set it as all the axes’ angles are 0 degree. For
details of Quick Mastering, please refer to "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic
Operation)" and “Mechanical Unit Operator’s Manual”.
- 195 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
- 196 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
Lens
Camera Cable
NOTE
1 The customer is to prepare hardware such as a camera with lens, a
measurement target and a jig for holding the camera.
2 Because the measurement target has to be mounted on the end effector
mounting face of the robot directly, tools have to be detached from the end
effector mounting face.
Tips
Wrist-Axis Vision Mastering can share camera data with iRVision if iRVision is
installed. You can use cameras that are not listed in “2.1 COMPONENTS” when
sharing camera data with iRVision. For more details, refer to "3.5 USING
iRVision CAMERA". You can use only FANUC lenses.
There are four larger circles in the vicinity of the center in the grid. In the following, the center of the
circle indicated by an arrow as shown below is called the center of the grid.
- 197 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
Attach the measurement target in such direction as shown below (The robot is at the zero position). Insert
the positioning pins and the measurement target into the end effector mounting face of the robot securely
and tighten the screws at specified positions.
- 198 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
standoff
Wrist-Axis Vision Mastering uses several types of concepts or terms regarding robot poses: Initial Pose,
Reference Pose and Measurement Poses.
• Initial Pose
A robot pose determined through jogging operation of the robot by an operator at the very first step.
Reference Pose below is automatically generated based on the Initial Pose.
• Reference Pose
A robot pose close to the Initial Pose, where the center of the grid coincides with the center of
camera view and the robot joint angles meet a certain condition. The pose is automatically searched
by the function through visual detection of the grid by the camera and the robot movement.
• Measurement Poses
When Wrist-Axis Vision Mastering starts the measurement for mastering, the robot moves to 9 poses
including the Reference Pose itself and 8 derivations from it, poses with orientation variation in W, P
and R angles, and visual measurement by the camera is done at each robot pose. The 9 robot poses
are called Measurement Poses.
NOTE
The lower and upper limits vary by the robot type.
- 199 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 1/4
Robot Group [1]
1 Camera Type: SONY XC-56
NOTE
If the angle of J2 or J3 axis can not be between the lower and upper limit shown
in Fig. 9.2.3.1 (a) in order to avoid interference between the robot and
peripherals for example, then examine that move of the robot to another position
by turning J1 axis where the angles of J2 and J3 axis can be between the limits,
and then record the position as the initial pose.
If you can not do that, the position where the angle of J2 or J3 axis is not
between the limits can be recorded as the initial pose, but as the result, it runs
the risk of degrading mastering results.
• Keep the measurement target away forward from the base section of the robot and tilt the J3 arm
downward as shown below so that the wrist section hardly causes interference.
Hardly interfere
Fig. 9.2.3.1 (b) Wrist pose in which the camera hardly interferes with the robot
• If the measurement target is close backward to the base section of the robot or if the J3 arm is tilted
upward in contrast, the wrist section is liable to cause interference. In that case, the swing angles of
measuring poses must be reduced, involving a risk of degrading mastering results.
- 200 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
Liable to interfere
Fig. 9.2.3.1 (c) Wrist pose in which the camera is liable to interfere with the robot
• For example, if the upper and lower limits of each axis are shown in Fig. 9.2.3.1 (a) with floor mount
type robot, the pose (J1, J2, J3, J4, J5, J6) = (0 deg, 0 deg, -10 deg, 0 deg, -80 deg, 0 deg) as shown
below is a candidate of the initial pose.
• Check the above for reference to select the initial pose of the robot appropriately.
standoff
• The optical axis of the camera should be almost perpendicular with the face of the grid on the
measurement target.
- 201 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
• The recommend standoff (the distance between the camera and the measurement target) is about
400mm.
• The center circle of the grid on the measurement target should be near the center of the camera view.
NOTE
Although there are no installation precision requirements imposed on relative
position between the camera and the measurement target, try to fix them
securely so that they do not move during measurement.
- 202 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
Connect the camera to the controller or the iPendant with the camera cable.
- 203 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
Determine the initial pose that meets a prescribed condition and record it.
The reference pose will be created in vicinity in the initial pose later.
- 204 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
Referring to Fig. 9.2.3.1 (a, mount the measurement target on the end effector mounting face.
UTILITIES iRCalibration
1/5
1 Vision Master Recovery
2 Wrist-Axis Vision Mastering
5 Move the cursor to "Wrist-Axis Vision Mastering", then press the F4 (DETAIL) or the ENTER key.
The following "Wrist-Axis Vision Mastering" screen appears on teach pendant.
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 1/5
1 Robot Group: 1
2 Create Reference Pose (Not Done)
3 Run : VCMTMAST (Not Done)
4 Update Master CT (Not Done)
5 View Result
[ TYPE ]DISP_IMG
Select and execute each item on the screen sequentially from the top so that the mastering parameters can
be adjusted.
- 205 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 1/5
1 Robot Group: 1
2 Create Reference Pose (Not Done)
3 Run : VCMTMAST (Not Done)
4 Update Master CT (Not Done)
5 View Result
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 2/5
1 Robot Group: 1
2 Create Reference Pose (Not Done)
3 Run : VCMTMAST (Not Done)
4 Update Master CT (Not Done)
5 View Result
The teach pendant displays Creating Reference Pose screen as shown below.
- 206 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 1/4
Robot Group [1]
1 Camera Type: SONY XC-56
Focal Distance: 12.0 mm
Initial Pose Confirmation [deg]
Lower Limit Current Upper Limit
J2:[ -10.000][ 0.000][ -10.000]
J3:[ -20.000][ 0.000][ 0.000]
J4:[ -5.000][ 0.000][ -5.000]
J5:[ -95.000][ -90.000][ -85.000]
J6:[ -5.000][ 0.000][ -5.000]
2 Initial Pose UNINIT
3 Exposure Time: 33.33 ms
4 Create Reference Pose (Not Done)
[ TYPE ] [CHOICE]
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 1/4
Robot Group [1]
1 Camera Type: SONY XC-56
- 207 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 1/4
Robot Group [1]
1 Camera Type: SONY XC-56
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 1/4
Robot Group [1]
1 Camera Type: SONY XC-56
The initial pose should be determined so that all the joint angles from J2 to J6 are between each
lower/upper limits. If the robot and peripherals could interfere with each other, investigate to
change the J1 angle to avoid it. In case that the interference can not be avoided in any way, avoid
the interference by allowing J2 and J3 angles to exceed the limits.
NOTE
It runs a risk of degrading mastering results if the angle of J2 or J3 axis of the
initial pose is not between the limits.
- 208 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 2/4
Robot Group [1]
1 Camera Type: SONY XC-56
Move the cursor to "Initial Pose" on the Creating Reference Pose screen, and move the robot to the
position to be initial pose with reference to each axis "Lower Limit" and "Upper Limit" on the
screen. And then press the SHIFT key and the F5 (RECORD) together.
The current position is recorded as the initial pose. The display on the teach pendant is shown below.
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 2/4
Robot Group [1]
1 Camera Type: SONY XC-56
Standoff
- 209 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
Set the optical axis of the camera almost perpendicular to the face of the calibration grid on the
measurement target.
The recommended standoff (distance between the camera and measurement target) is about 400mm.
Set the center of the grid on the measurement target near the center of the camera image.
NOTE
Although there are no installation precision requirements imposed on the
camera, try to fix it securely so that it does not move during measurement.
Set the exposure time on this screen by using function keys. Before setting the exposure time adjust
the lens focus of the camera so that the grid on the measurement target can be clearly viewed at the
initial pose.
NOTE
Pressing the F2 or the F3 key while holding down the SHIFT key changes the
value at a faster rate.
- 210 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
NOTE
Wrist-Axis Vision Mastering uses the exposure time set in this screen.
The exposure time set in "Parameter Setting Screen" or "Model Training Screen"
of Vision Data Setup Screen does not applied to Wrist-Axis Vision Mastering.
- 211 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Wrist-Axis Vision Mastering 4/4
Robot Group [1]
1 Camera Type: SONY XC-56
Focal Distance: 12.0 mm
Initial Pose Confirmation [deg]
Lower Limit Current Upper Limit
J2:[ -10.000][ 0.000][ -10.000]
J3:[ -20.000][ 0.000][ 0.000]
J4:[ -5.000][ 0.000][ -5.000]
J5:[ -95.000][ -90.000][ -85.000]
J6:[ -5.000][ 0.000][ -5.000]
2 Initial Pose RECORDED
3 Exposure Time: 33.3 ms
4 Create Reference Pose (Not Done)
Move the cursor to "Create Reference Pose", then press the SHIFT key and the F5(CREATE) keys
together. The creating the reference pose routing begins. During measurement, the teach pendant
displays the following screen.
T2 30 %
UTILITIES iRCalibration iRVision Runtime Display
Wrist-Axis Vision Mastering 4/4
Robot Group [1]
1 Camera Type: SONY XC-56
Focal Distance: 12.0 mm
Initial Pose Confirmation [deg]
Lower Limit Current Upper Limit
J2:[ -10.000][ 0.000][ -10.000]
J3:[ -20.000][ 0.000][ 0.000]
J4:[ -5.000][ 0.000][ -5.000]
J5:[ -95.000][ -90.000][ -85.000]
J6:[ -5.000][ 0.000][ -5.000]
2 Initial Pose RECORDED
3 Exposure Time: 33.3 ms
4 Create Reference Pose (Not Done)
- 212 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
NOTE
1 Keep pressing the SHIFT key during the measurement. If pressing the SHIFT
key is interrupted, restart the measurement from the beginning.
2 An attempt to perform camera position measurement during execution of
another program causes an error with the following error message displayed:
"INTP-313 (VCWMCOMM, 202) Motion statement failed, PROG-040 Already
locked by other task"
In this case, select "ABORT (ALL)" on the FCTN menu to terminate the program.
When the measurement is finished, the display on the teach pendant screen is as follows:
• The "Create Reference Pose" status is "Done".
• A message "Reference pose has been created" appears in the prompt window.
If the error message "J* is near Stroke limit", * is an axis number, appears, the measurement
program may stop along the way. It is recommended to re-record another initial pose with a larger
margin for J* axis and re-create another reference pose. If there is no space to move the robot to
such a position by the surroundings, try to turn J1 axis and move the robot to a place where it can
move more easily, and then record the current pose as the new initial pose.
NOTE
1 You can move the robot to the reference pose if “Create Reference Pose” is
“Done” by pressing the F4(MOVE TO) key while holding down the SHIFT key.
2 If angles of the initial pose are between the lower and upper limits, it is not a
problem if ones of the reference pose are not between the limits.
8 When the pose generation is finished, select the PREV key to return to Wrist-Axis Vision Mastering
screen.
- 213 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
Step
1 Move the cursor to "RUN", then press the F4 (SELECT) key or the ENTER key.
- 214 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
T2 30 %
VCWMMAST iRVision Runtime Display
1/16
1: OVERRIDE =30%
2:
3: !Measure by Vision
4: CALL VCWM_VT(1, 1)
5: CALL VCWM_VT(2, 1)
6: CALL VCWM_VT(3, 1)
7: CALL VCWM_VT(4, 1)
8: CALL VCWM_VT(5, 1)
9: CALL VCWM_VT(6, 1)
10: CALL VCWM_VT(7, 1)
11: CALL VCWM_VT(8, 1)
12: CALL VCWM_VT(9, 1)
13:
14: !Display iRCalibration screen
15: CALL VCWM_VT(‘iRCalib’)
[END]
[ INST ] [EDCMD]
2 Set the override of the robot to 30% or less when T2 or AUTO mode is selected, and then run the
displayed program. If T1 mode is selected, the override can be improved more than 30%.
NOTE
In case that for any reason the robot can not move to any of the measurement
poses during execution of the measurement program, change and re-teach the
initial pose and re-create the reference pose
For example, in the case that an operator stops the robot because the robot is
going to interfere with the surroundings, re-teach a new initial pose further away
from the surroundings. Or in the case that “SRVO-115 Limit error (G:g, A:a)” (g:
robot group number, a: axis number) occurs and the robot stops, re-teach a new
initial pose with a larger margin of “a” axis. When re-teaching the initial pose and
re-creating the reference pose, start at Step 4 of 9.3.5 “Creating the Reference
Pose” over again.
In the case that such a new reference pose can not be re-created at the robot’s
current position, try jogging J1 axis to move the robot to a new place where the
robot can move more easily, examine, re-teach the new initial pose and
re-create the reference pose there.
If a new reference pose still can not be created after the investigations above,
gradually reduce the second argument value of VCWM_VT from one to near
zero. The smaller the value is, the smaller the swing angles at the measurement
pose is. As the number gets closer to zero, the accuracy of the mastering is
reduced. For best results, keep the number as close to one as possible.
3 After the measurement completes, the Wrist-Axis Vision Mastering screen is displayed automatically.
- 215 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
Step
1 Move the cursor to "Update Master CT", then press the F4 (SELECT) key or the ENTER key.
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 4/5
1 Robot Group: 1
2 Create Reference Pose (Done )
3 Run : VCWMMAST (Done )
4 Update Master CT (Not Done)
5 View Result
The teach pendant displays the mastering data update screen as shown below. The values in
parenthesis () are standard ranges of errors. If there is an item that is out of its standard range, its
notification message is displayed at the lower part of the screen. Also, updating the mastering data is
available even if there is an item that is out of its standard range.
UTILITIES iRCalibration
Wrist-Axis Vision Mastering: 1/4
Update Master CT
Robot Group [1]
Compensation Angles: [deg]
J4: 0.400
J5: 0.500
J6: 0.600
NOTE
Mastering parameters are not updated at this point.
2 Confirm the items displayed. If there is no problem, press the F3 (UPDATE) key while holding down
the SHIFT key to update mastering data.
NOTE
This function compensates mastering data to match following positional information 1
and 2 with respect to a robot coordinate system as much as possible about each
measurement pose.
1: the position of the center of the grid measured by vision
2: the position of the center of the grid calculated by the joint angles in performing vision
measurement
- 216 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
3 When updating is finished, select the PREV key to return to Wrist-Axis Vision Mastering screen.
4 After updating the mastering data, set the reference position for Quick Mastering again, preparing for
future Quick Mastering. If it has not been set, set it as all the axes’ angles are 0 degree. For details of
Quick Mastering, please refer to "R-30iB / R-30iB Mate OPERATOR’S MANUAL(Basic
Operation)" and “Mechanical Unit Operator’s Manual”.
UTILITIES iRCalibration
Wrist-Axis Vision Mastering 5/5
1 Robot Group: 1
2 Create Reference Pose (Done )
3 Run : VCMTMAST (Done )
4 Update Master CT (Done )
5 View Result
The teach pendant displays the mastering result display screen as shown below.
- 217 -
9.WRIST-AXIS VISION MASTERING B-83724EN/02
UTILITIES iRCalibration
Wrist-Axis Vision Mastering
View Resutl Page 1
Robot Group [1]
Compensation Angles:
J4: 0.400 deg
J5: 0.500 deg
J6: 0.600 deg
Mean Error of Calibration: 0.10 mm
Max Error of Calibration: 0.20 mm
Target position Error X: 0.30 mm
Target position Error Z: 0.40 mm
[ TYPE ] NEXTPAGE OUTPUT
Function key
F4 (NEXTPAGE): Displays the next page.
F5 (OUTPUT): Save VCWM_LOG.TXT, the Wrist-Axis Vision Mastering results logging file
to the file I/O devices (a memory card, an USB memory, etc). For details of
selecting the file I/O devices in the file menu, refer to the "R-30iB / R-30iB
Mate OPERATOR’S MANUAL(Basic Operation)".
NOTE
If VCWM_LOG.TXT already exists, the new results are appended to the current
contents.
9.4.1 TP Program
TP Program for Measurement
VCWMMAST
0 LINE
G1 JOINT 10 %
1: OVERRIDE=30%;
2:
3: !Measure by Vision
4: CALL VCWM_VT(1, 1)
5: CALL VCWM_VT(2, 1)
6: CALL VCWM_VT(3, 1)
7: CALL VCWM_VT(4, 1)
8: CALL VCWM_VT(5, 1)
9: CALL VCWM_VT(6, 1)
10: CALL VCWM_VT(7, 1)
11: CALL VCWM_VT(8, 1)
12: CALL VCWM_VT(9, 1)
13:
14: !Display iRCalibration screen
15: CALL VCMT_VT(‘iRCalib’)
[END]
- 218 -
B-83724EN/02 9.WRIST-AXIS VISION MASTERING
(swing angles at the measurement pose) = (Argument 2) times (maximum
swing angles)
And in case Argument 1 is ‘iRCalib’ and Argument 2 is not used as "VCWM_VT(‘iRCalib’) ", if
measurements at all measurement position are done, Wrist-Axis Vision Mastering screen will be
displayed.
Compensation Angles:
[4]: 0.400 [5]: 0.500 [6]: 0.600
- 219 -
10.VISION TCP SET B-83724EN/02
Robot
Camera
Camera cable
Lens
Target
(set at TCP position)
- 220 -
B-83724EN/02 10.VISION TCP SET
Target
Set a target mark to be detected by the vision function at the tool tip position where TCP is to be set.
Ensure that the target does not move during execution of Vision TCP Set.
Setting of TP program Set the parameters for creating a TP program for TCP
creation setting.
Teaching of model
Execution of TCP setting Create the TP program and execute it to set TCP.
- 221 -
10.VISION TCP SET B-83724EN/02
10.3.2 Preparation
1 Connect the camera to the robot controller or the iPendant.
2 Check that a camera image can be displayed on the iPendant, according to the procedure described
in Chapter 3, "BASIC VISION FUNCTION OPERATION".
3 Secure a target to the tool tip of the robot.
4 Secure the camera. Although there is no exact specification as to the position where the camera is
to be installed, make sure the camera is fixed securely so that it does not move during measurement.
The following examples are recommended as marks for the target, including a combination of a circle and
a cross as shown below.
NOTE
Glossy materials are not recommended.
If a metal target is required, use one with a frosted surface, such as anodized
aluminum(duralumin).
A handy way to attach a target mark is to affix a sticker with that mark printed on
it.
- 222 -
B-83724EN/02 10.VISION TCP SET
Target
mark
about
400mm
Camera
about
400mm
- 223 -
10.VISION TCP SET B-83724EN/02
To return to the Vision TCP Set screen when another screen is displayed after the Vision TCP Set screen
was displayed, steps 1 through 5 above can be used.
- 224 -
B-83724EN/02 10.VISION TCP SET
When you have finished Vision TCP Set, exit the Vision TCP Set screen. Exiting the Vision TCP Set
screen does not lose the values set while the screen was displayed.
UTILITIES iRCalibration
Vision TCP Set 1/5
1 Robot: Group [1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VTCP1
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision TCP Set 2/5
1 Robot: Group [1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VTCP1
[ TYPE ]DISP_IMG
2. Check the contents of the setup screen, and make changes as required.
When you have completed the setup, press the PREV key to display the Vision TCP Set screen.
- 225 -
10.VISION TCP SET B-83724EN/02
UTILITIES iRCalibration
Vision TCP Set: Setup 1/5
1 Program Name: VTCP1 Group[1]
2 Vision Data: VSFT1
3 UTool Number : 1
4 Register (status) : R[ 50]
5 Pos. Register (work): PR[100]
[ TYPE ]
Details of settings
Program Name
This item specifies the name of a TP program to serve for execution of Vision TCP Set.
The TP program having this name will be created later; Vision TCP Set will be performed by
executing the program. (Default value: VTCP1)
Vision Data
This item specifies the name of model data to which to teach a target mark model.
If a target mark model is taught to model data different from the one specified here later, correct this
setting before creating the TP program. (Default value: VSFT1)
Utool Number
This item specifies the number of a tool frame you want to set the position of a target mark on.
The tool frame having the number specified here is set by Vision TCP Set. (Default value: 1)
Register (status)
This item specifies the number of the register to be used for storing a vision detection processing
status. (Default value: 50)
UTILITIES iRCalibration
Vision TCP Set 3/5
1 Robot: Group [1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VTCP1
[ TYPE ]DISP_IMG
- 226 -
B-83724EN/02 10.VISION TCP SET
UTILITIES iRCalibration
Vision TCP Set 4/5
1 Robot: Group [1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VTCP1
[ TYPE ]DISP_IMG
- 227 -
10.VISION TCP SET B-83724EN/02
UTILITIES iRCalibration
Vision TCP Set 5/5
1 Robot: Group [1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VTCP1
[ TYPE ]DISP_IMG
4 The screen changes to the edit screen, displaying the created TP program.
If you execute the program there, Vision TCP Set is performed. That is, the measured position of the
target mark is set in the specified tool frame.
NOTE
If the “CVIS-021 Exceed VisPool” error stops the execution of the TP program,
cycle controller power and run the TP program again.
NOTE
For 7DC3/10 (V8.30P/10) or later software, in the case of 6-axis robot, call
instructions of the program VCRSM_CHECK, label instructions, and jump
instructions are added to the TP program so that efficient resuming of the
measurement can be done. When the measurement is interrupted by the release
of the SHIFT key, the occurrence of an alarm or other reasons, re-execute the
TP program after moving the cursor to the first line. If a part of the measurement
has been completed, a message “Press 0 (restart) or 9 (resume)” appears.
Press the 0 key to restart the measurement from the beginning or the 9 key to
resume the measurement.
You have now completed Vision TCP Set, but if it is necessary to improve the accuracy of TCP, refer to
Section 10.5 “IMPROVING THE ACCURACY OF TCP”.
To change the TCP position or the direction of a coordinate axis of the obtained tool frame, use the
KAREL program VTOFSTUT described later.
- 228 -
B-83724EN/02 10.VISION TCP SET
To change the TCP position or the direction of a coordinate axis of the obtained tool frame, use the
KAREL program VTOFSTUT described later.
Usage
VTOFSTUT is a KAREL subprogram installed on the robot controller together with the automatic TCP
set function. A TP program calls VTOFSTUT to use it.
Operation
VTOFSTUT offsets the tool frame that belongs to the group specified in "grp_num" and has the number
specified in "src_ut" by the offset amount specified in "dx, dy, dz, dw, dp, and dr".
The result is set in the tool frame that has the number specified in "dest_ut".
• The same tool frame number may be specified in "src_ut" and "dest_ut". (In this case, the current
tool frame data is overwritten.)
• To offset the TCP position only, the specification of angular displacements (dw, dp, and dr) may be
omitted.
• The first argument (for group number specification) must not be omitted. Even if the system has
only one robot group, specify "1".
Examples
<Example 1> The Z direction of the tool frame is reversed (without changing the
X-axis direction)
This example reverses the direction of the Z-axis without changing the direction of the X-axis.
The current tool frame is rotated 180° about the X-axis to reverse the direction of the Z-axis without
changing the direction of the X-axis of the current tool frame.
- 229 -
10.VISION TCP SET B-83724EN/02
<Example 2> The Z direction of the tool frame is reversed (without changing the
Y-axis direction)
This example reverses the direction of the Z-axis without changing the direction of the Y-axis.
The current tool frame is rotated 180° about the Y-axis to reverse the direction of the Z-axis without
changing the direction of the Y-axis of the current tool frame.
This means:
vtofstut(grp_num, 1, 2, dx,dy,dz, dw,dp,dr) has the effect of executing vtofstut in succession in the
order from <1> to <4> as indicated below.
vtofstut(grp_num, 1, 2, dx, dy, dz, 0, 0, 0) <-- <1>
vtofstut(grp_num, 2, 2, 0, 0, 0, 0, 0, dr) <-- <2>
vtofstut(grp_num, 2, 2, 0, 0, 0, 0, dp, 0) <-- <3>
vtofstut(grp_num, 2, 2, 0, 0, 0, dw, 0, 0) <-- <4>
<1> Shift of the TCP by (dx,dy,dz) (without changing the tool coordinate system direction)
<2> Rotation by dr about the Z-axis of the current tool coordinate system
<3> Rotation by dp about the Y-axis of the new tool coordinate system created by <2>
<4> Rotation by dw about the X-axis of the new tool coordinate system created by <3>
- 230 -
B-83724EN/02 10.VISION TCP SET
Usage
To call this subprogram, specify the arguments below. Arguments 2 through 4 are optional and may be
omitted.
Argument 1: Specify a vision data name (model name) by using a character string.
This argument must be specified at all times.
Argument 2: (Optional) Specify the number of a register for storing the result of detection.
When this argument is omitted, register No.50 (R[50]) is used.
Argument 3: (Optional) Specify the name of a position register for storing a vision detection
position. When this argument is omitted, position register No.100 (PR[100]) is used.
Argument 4: (Optional) Specify the group number of a robot used for TCP setting.
When this argument is omitted, group 1 is used. This argument may be omitted when the
system has only one robot group.
When VSETTCP is executed, the robot with the specified group number moves.
Argument 1
Argument 2 (optional)
Argument 3 (optional)
Example) When a robot group other than group 1 is specified in argument 4 in a system with multiple
robots
• When a position register number (argument 3) is specified, a register number (argument 2) must also
be specified.
• When a robot group number (argument 4) is specified, a register number (argument 2) and a position
register number (argument 3) must also be specified.
Operation
When VSETTCP is called, the robot in the group specified in the fourth argument (group 1 by default)
automatically performs the vision measurement to calculate TCP and set the specified tool frame active.
The operation differs between 6-axis robot and 4-axis/5-axis robot.
- 231 -
10.VISION TCP SET B-83724EN/02
Usage
To call this subprogram, specify the arguments below. Arguments 2 and 3 are optional and may be
omitted.
Argument 1: Specify a vision data name (model name) by using a character string.
This argument must be specified at all times.
Argument 2: (Optional) Specify the group number of a robot used for TCP setting.
When this argument is omitted, group 1 is used. This argument may be omitted when the
system has only one robot group.
When VTCPSET is executed, the robot with the specified group number moves.
Argument 3: (Optional) Specify the measurement number of VTCPSET.
For 6-axis robot, the measurement is completed by executing this program with this
argument from 1 to 10.
• When a measurement number (argument 3) is specified, a robot group number (argument 2) must
also be specified.
Operation
When VTCPSET is called, the robot of the group specified in the second argument (group 1 by default)
automatically performs the (argument 3)-th vision measurement to calculate TCP and set the specified
tool frame active. If the third argument is omitted, all the measurements to calculate TCP and set the
specified tool frame active are performed. The operation differs between 6-axis robot and 4-axis/5-axis
robot.
In any case, the robot moves while keeping the target placed at the center of a camera image.
The values of above moving distance, rotation angle and tilt angle differ between M-1iA/0.5A and the
robot other than M-1iA/0.5A. The following table lists the values of the parameters for M-1iA/0.5A and
the robot other than M-1iA/0.5A.
Table 10.4.3 The default values of the parameters for the operation of VTCPSET
M-1iA/0.5A Other than M-1iA/0.5A
Moving distance along the optical axis of the camera +/-15 mm +/-25 mm
Rotation angle about the optical axis of the camera +/-5 deg +/-15 deg
Tilt angle relative to the optical axis of the camera +/-5 deg +/-15 deg
- 232 -
B-83724EN/02 10.VISION TCP SET
Caution
Increasing rotation angle can cause interference with the surroundings, cable
cutoff , and stroke limit. It is necessary to operate carefully by setting the
override lower. To reduce the possibility of these problems, set the initial robot
position at approximately the center of the robot motion.
Table 10.5.1 Parameters for improving the accuracy for X and Y components of TCP
Parameter Explanation Default value Recommended value
MOVE_DIST_R Rotation angle about the optical 15 deg 60 ~ 90 deg
axis of the camera
DIV_NUM_R Division number for rotating about 1 2~3
the optical axis of the camera
These two parameters are set by calling the program VTCPINIT. Set the arguments described below.
Argument 1: Specify the name of parameter to set.
Argument 2: Specify the value to be set.
Argument 1 Argument 2
Add the process to call VTCPINIT as follows. Here is the example of setting MOVE_DIST_R to 90 deg
and DIV_NUM_R to 3.
Add following 2 lines after the call instruction of VTCPINIT without an argument in the TP program
created in “10.3.9 Executing Vision TCP Set”, if the software version is 7DC3/10 (V8.30P/10) or later.
- 233 -
10.VISION TCP SET B-83724EN/02
Add 2 lines
Perform the following operations, if the software version is 7DC3/09 (V8.30P/09) or earlier.
1 Move the cursor to VSETTCP.MR and press F2 (DETAIL) on the program list screen of the teach
pendant.
2 Set “Write protect” to “OFF” on the detail screen.
3 Move the cursor to VSETTCP.MR on the program list screen and select it.
4 Add following 2 lines after the call instruction of VTCPINIT without an argument.
5 Reopen the detail screen for VSETTCP.MR, and set “Write protect” to “ON”.
Table 10.5.2 Parameters for improving the accuracy for Z component of TCP
parameter Explanation Default value for Default value for Recommended
M-1iA/0.5A the robot other value
than M-1iA/0.5A
MOVE_DIST_W Tilt angle 1 relative to the 5 deg 15 deg 35 ~ 45 deg
optical axis of the
camera
MOVE_DIST_P Tilt angle 2 relative to the 5 deg 15 deg 35 ~ 45 deg
optical axis of the
camera
DIV_NUM_WP Division number for tilting 1 1 2 ~ 4
relative to the optical axis (Don’t set to
of the camera more than 5)
- 234 -
B-83724EN/02 10.VISION TCP SET
These three parameters are set by calling the program VTCPINIT. Set the arguments described below.
Argument 1: Specify the name of parameter to set.
Argument 2: Specify the value to be set.
Argument 1 Argument 2
Add the process to call VTCPINIT as follows. Here is the example of setting MOVE_DIST_W to 45 deg,
MOVE_DIST_P to 45 deg and DIV_NUM_R to 2.
Add following 3 lines after the call instruction of VTCPINIT without an argument in the TP program
created in “10.3.9 Executing Vision TCP Set”, if the software version is 7DC3/10 (V8.30P/10) or later.
Add 3 lines
Perform the following operations, if the software version is 7DC3/09 (V8.30P/09) or earlier.
1 Move the cursor to VSETTCP.MR and press F2 (DETAIL) on the program list screen of the teach
pendant.
2 Set “Write protect” to “OFF” on the detail screen.
3 Move the cursor to VSETTCP.MR on the program list screen and select it.
4 Add following 3 lines after the call instruction of VTCPINIT without an argument.
5 Reopen the detail screen for VSETTCP.MR, and set “Write protect” to “ON”.
NOTE
For 7DC1/10(V8.10P/10) or later software, please set DIV_NUM_WP to 5 or
less. The same setting applies to the Mate controller with 7DD0/03(V8.13P/03)
or later software.
- 235 -
10.VISION TCP SET B-83724EN/02
10.6 TROUBLESHOOTING
¾ Add 5 lines of the instructions after the instruction for calling VTCPSET with no argument as the
figure below.
¾ Set ’MOVE_DIST_W’, ’MOVE_DIST_P’, ’MOVE_DIST_R’, ’MOVE_DIST_FW’
or ’MOVE_DIST_FP’ as the first argument of each instruction respectively. And set a value
between 5 and 15 to the second argument of each instruction. Note that the smaller these values
are, the less the setting accuracy of the TCP could be, so these values should not be reduced too
much.
¾ Each default value of ’MOVE_DIST_W’, ’MOVE_DIST_P’, ’MOVE_DIST_R’,
’MOVE_DIST_FW’, and ’MOVE_DIST_FP’ is 15.
CALL VTCPINIT
CALL VTCPINIT('MOVE_DIST_W', 15)
CALL VTCPINIT('MOVE_DIST_P', 15)
CALL VTCPINIT('MOVE_DIST_R', 15)
CALL VTCPINIT('MOVE_DIST_FW', 15)
CALL VTCPINIT('MOVE_DIST_FP', 15)
CALL VTCPSET('VSFT1', 1, 1)
NOTE
For 7DC3/09(V8.30P/09) or earlier software, the instruction for calling VTCPSET
with no argument is described in VSETTCP.MR. “Write protect” in the detail
screen of the program list screen needs to be set to “OFF” temporarily in order to
modify VSETTCP.MR.
- 236 -
B-83724EN/02 11.VISION FRAME SET
Set target marks on three positions including the origin on a fixture for which you want to set a user frame
in advance, measure the target marks with the camera attached to a robot, and set a user frame according
to the target marks.
During the execution of Vision Frame Set, the robot moves to snap images of the target from various
positions with various poses. Execute Vision Frame Set in a place where enough clearance is available
around the target so that the robot does not collide with any object around it when moving.
Robot
Lens
The camera must be attached to the tool tip of the robot. The customer must provide the necessary items
including an attachment adaptor to mount the camera.
NOTE
The customer is to prepare a camera, lens, camera cable, camera attachment
adaptor, and so forth.
Target mark
Set target marks to three positions on a fixture for which you want to set a user frame in advance.
Set target marks to the following three positions in the user frame while aligning the center of each target
mark to the corresponding position:
(1) Origin
- 237 -
11.VISION FRAME SET B-83724EN/02
NOTE
Glossy materials are not recommended.
If a metal target is required, use one with a frost surface, such as anodized
aluminum(duralumin).
A handy way to attach a target mark is to affix a sticker with that mark printed on
it.
11.2.1 Preparation
1 Plug the camera cable into the robot controller or the iPendant.
2 Check that a camera image can be displayed on the iPendant, according to the procedure described
in Chapter 3, “BASIC VISION FUNCTION OPERATION”.
3 Secure the camera to the tool tip of the robot.
No precision is imposed on the position of camera attachment. However, secure the camera firmly
so that the camera does not move during the period from the start to end of the measurements.
4 Teach a mark model to be detected then check that the model can be detected. For the procedure,
please refer to "3.4.4 Model Training Screen".
Keep track of the model taught in this step as it is to be used in the subsequent procedure.
- 238 -
B-83724EN/02 11.VISION FRAME SET
5 Select the user frame you want to set with Vision Frame Set.
Before opening the vision frame set screen, select the user frame number you want to set as the
current user frame.
6 Disable the single step mode.
Before opening the vision frame set screen, disable the single step mode.
NOTE
Before opening the vision frame set screen, select the number of a user frame
you want to set. Check that the current user frame number is not 0. A user
frame with number 0 cannot be modified.
Step
1 Press the MENU key on the teach pendant.
2 Select “UTILITIES”.
3 Press the F1 [TYPE] key.
4 Select “iRCalibration”.
The UTILITIES iRCalibration screen is displayed.
5 Select “Vision Frame Set”.
The vision frame set screen is displayed.
Step
On the vision frame set screen, press the PREV key to exit from the screen.
- 239 -
11.VISION FRAME SET B-83724EN/02
11.2.4 Setup
Set conditions for Vision Frame Set.
- 240 -
B-83724EN/02 11.VISION FRAME SET
UFrame Number
This item specifies the number of a user frame to be set.
When the vision frame set screen is opened, the currently selected user frame number is
automatically set.
Calibration Mode
This item specifies the calibration mode.
Select “New”. (Default: New)
Vision Schedule
For settings related to target mark measurement, 10 types of schedules are available.
Move the cursor to the schedule number, then enter a number to change the schedule number.
Move the cursor to “Vision Schedule”, then press the F4 (SELECT) key to display the Vision
Schedule detail screen.
(See Subsection 11.2.5, “Setup – Vision Schedule“.)
DONE
- 241 -
11.VISION FRAME SET B-83724EN/02
Details of settings
Vision Status Register
This item specifies the register number for storing the vision detection processing state. (Default:
10)
Vision Program
This item specifies the name of model data to which a target mark model is taught.
When the TP program is run, target marks are detected using model data specified for this item.
(Default: VSFT1)
The vision program is set in “Vision Data Setup” Screen. For detail, see “3.4 VISION SET UP
SCREEN”.
NOTE
The customer does not have to set the value of “Tool Frames / Calibrated Utool
Number” in advance. This tool frame is used temporally by Vision Frame Set.
NOTE
The customer does not have to set the value of “Tool Frames / Position Utool
Number” in advance. This tool frame is used temporally by Vision Frame Set.
Camera Position
This item sets the camera position with respect to the robot faceplate. Set the camera position in X,
Y, and Z. Set the optical axis direction of the camera in W, P, and R.
The required precision of the position is within about +/-50 mm. The required precision of
direction is within about +/-15 degrees.
(Default for each of X, Y, Z, W, P, and R: 0)
CAUTION
When setting the camera position, ensure that the optical axis (lens center axis)
of the camera is the Z-axis, and the direction from the camera toward a
measurement target is the Z+ direction.
If the direction of the Z-axis or the camera position is incorrect, a measurement
target can move to the outside of the field of view of the camera when the robot
moves during measurement.
- 242 -
B-83724EN/02 11.VISION FRAME SET
Vision Speed
This item specifies the operation speed at which to perform vision detection several times with
different positions and poses during target mark measurement. (Default: 50)
Vision R Distance
This item specifies the rotation angle about the optical axis of the camera. (Default: 30)
Vision WP Distance
This item specifies the tilt angle relative to the optical axis of the camera. (Default: 15)
Vision Z Distance
This item specifies the moving distance along the optical axis of the camera. (Default: 30)
NOTE
The Vision R Distance, Vision WP Distance and Vision Z distance are displayed
in the following software version:
• 7DC1/12 (V8.10P/12) or later
• 7DD0/07 (V8.13P/07) or later
Earlier software versions do not support modification of these variables.
- 243 -
11.VISION FRAME SET B-83724EN/02
NOTE
By opening “Points screen”, the tool frame number automatically shifts to the
number of “Tool Frames / Position Utool Number” on the Vision Schedule detail
screen. Teach the four positions with this tool frame. You don’t have to set user
frame number to a specific number.
NOTE
1 Teach the four positions with the same user frame number and tool frame
number.
2 Select the same user frame number and tool frame number when you create TP
programs later. To avoid confusion, after teaching the four positions, proceed to
the creation of the TP program without changing the user frame number and tool
frame number.
X Direction Point
In the user frame for calibration, the position where the following can be measured:
(2) Target mark set on a point on the X-axis of which the X component is positive
Y Direction Point
In the user frame for calibration, the position where the following can be measured:
(3) Target mark set on a point on the XY plane of which the Y component is positive
NOTE
For software versions equal to or earlier than 7DC1/11 (V8.10P/11), 7DD0/06
(V8.13P/06), the “Orient Origin Point”, “X Direction Point” and “Y Direction Point”
are displayed as “Position 1”, “Position 2”, “Position 3”, but the meaning of these
parameters is the same.
- 244 -
B-83724EN/02 11.VISION FRAME SET
F2 (LOAD)
When a TP program for Vision Frame Set has already been created, pressing the F2 (LOAD) key
teaches corresponding position data in the TP program as position data on this screen.
F3 (RECORD)
Pressing the SHIFT and F3 (RECORD) keys together teaches position data at the cursor as the
current position.
F4 (MV_JNT)
Pressing SHIFT and F4 (MV_JNT) keys together moves the robot to the cursor position in the
joint mode.
F5 (MV_LIN)
Pressing the SHIFT and F5 (MV_LIN) keys together moves the robot to the cursor position in
the linear mode.
A confirmation message may be displayed in some cases. Perform the operation as instructed in
the message.
- 245 -
11.VISION FRAME SET B-83724EN/02
CAUTION
During execution, the robot moves to snap images of the target from various
positions with various poses.
Run the program in a place where enough clearance is available around the
taught positions so that the robot does not collide with any object around it when
moving.
NOTE
Even if “CVIS-021 Exceed VisPool” occurs while the TP program is running, it is
no problem if it is normally completed.
If that error stops the TP program, please cycle the power of the robot controller
and run the TP program again.
- 246 -
B-83724EN/02 11.VISION FRAME SET
UPDATE
Calibration Result confirmation screen
When the user frame is updated, the “Update UFrame” status is updated to “Done”.
Now, the execution of Vision Frame Set is completed.
On the vision frame set screen, move the cursor to “View Result” then press the F4 (SELECT) key.
Then, the newest calibration result is displayed.
- 247 -
11.VISION FRAME SET B-83724EN/02
On this screen, press the F4 (VIEW LOG) key to display several older calibration results.
VIEW LOG
On this log display screen, the log can be output to a text file and an old calibration result can be applied
to the user frame.
Press the F2 (SAVE) key to output log data text file ufrm_log.dt to the currently selected file device.
Press the F3 (APPLY) key to apply the calibration result at the cursor to the user frame.
Press the F4 (CLEAR) key to erase all log data on this screen. When these operations are performed, a
confirmation message is displayed. Perform the operation as instructed in the message.
- 248 -
B-83724EN/02 11.VISION FRAME SET
Three
target marks
Three
target marks
Z
Z
X X
User frame
on the fixture
Y Wanted
Y
user frame
on the fixture
With the relativity between the target marks and the user frame
on the offline system, calculate back to an user frame for a real
robot from measurement results of real target marks.
This section describes the procedure for modifying the user frame set offline for the user frame for a real
robot according to the actual measurement result in an environment in which the target marks are set in
the same positions in the offline and real systems.
11.3.1 Preparation
1 Plug a camera cable into the robot controller or the iPendant.
2 Check that a camera image can be displayed on the iPendant, according to the procedure described
in Chapter 3, “BASIC VISION FUNCTION OPERATION”.
3 Secure the camera to the tool tip of the robot.
No precision is imposed on the position of the camera attachment. However, secure the camera
firmly so that the camera does not move during the period from the start to the end of the
measurements.
4 Teach a mark model to be detected, then check that the model can be detected. For the procedure,
refer to "3.4.5 Model Training Screen".
Remember the data name of the model taught in this step since it is to be used in the subsequent
procedure.
5 Check the positions of the target marks set offline.
Since the positions of the target marks in the user frame set offline are used in the subsequent
procedure, check them.
6 Select a user frame you want to set with Vision Frame Set.
Before opening the vision frame set screen, select the user frame with a number you want to set as
the current user frame.
7 Disable the single step mode.
Before opening the vision frame set screen, disable the single step mode.
NOTE
Before opening the vision frame set screen, select the number of a user frame
you want to set and check that the current user frame number is not 0. A user
frame with number 0 cannot be set.
- 249 -
11.VISION FRAME SET B-83724EN/02
- 250 -
B-83724EN/02 11.VISION FRAME SET
11.3.4 Setup
Set conditions for Vision Frame Set.
- 251 -
11.VISION FRAME SET B-83724EN/02
Details of settings
Program Name
This item specifies the name of a TP program to be run in Vision Frame Set.
A TP program with this name is created in the subsequent procedure and is internally run to perform
frame calibration. (Default: VFRM_Gx. x: Group number)
UFrame Number
This item specifies the number of a user frame to be set.
When the vision frame set screen is opened, the currently selected user frame number is
automatically set.
Calibration Mode
This item specifies the calibration mode.
Select “Nominal”. (Default: New)
Vision Schedule
For settings related to target mark measurement, 10 types of schedules are available.
Move the cursor to the schedule number then enter a number to change the schedule number.
Move the cursor to “Vision Schedule” then press F4 (SELECT) to display the Vision Schedule
detail screen.
(See Subsection 11.2.5, “Setup – Vision Schedule“.)
Nominal Data
Set the positions of the target marks set offline.
Move the cursor to “Nominal Data” then press F4 (SELECT). The Nominal Data screen as shown
below is displayed.
DONE
Nominal Data screen
On this screen, set the values of the positions of the target marks viewed from the origin of the user
frame. In other words, set the positions of the target marks in the user frame set offline.
Set position data of the target marks for each of the “Frame Origin”, “X-Direction”, and
“Y-Direction” parts. Then, press the F1 (DONE) key to return to the Setup screen.
- 252 -
B-83724EN/02 11.VISION FRAME SET
- 253 -
11.VISION FRAME SET B-83724EN/02
X Direction Point
This item indicates the position where the target mark set on reference point 2 can be measured
Y Direction Point
This item indicates the position where the target mark set on reference point 3 can be measured
NOTE
For software versions equal or earlier than 7DC1/11 (V8.10P/11), 7DD0/06
(V8.13P/06), the “Orient Origin Point”, “X Direction Point” and “Y Direction Point”
are displayed as “Position 1”, “Position 2”, “Position 3”, but the meaning of these
parameters is same.
F2 (LOAD)
When a TP program for Vision Frame Set has already been created, pressing the F2 (LOAD) key
teaches corresponding position data in the TP program as position data on this screen.
F3 (RECORD)
Pressing the SHIFT and F3 (RECORD) keys together teaches position data at the cursor as the
current position.
F4 (MV_JNT)
Pressing the SHIFT and F4 (MV_JNT) keys together moves the robot to the cursor position in the
joint mode.
F5 (MV_LIN)
Pressing the SHIFT and F5 (MV_LIN) keys together moves the robot to the cursor position in the
linear mode.
- 254 -
B-83724EN/02 11.VISION FRAME SET
A confirmation message can be displayed in some cases. Perform the operation as instructed in the
message.
- 255 -
11.VISION FRAME SET B-83724EN/02
CAUTION
1 During the execution, the robot moves to snap images of the target from various
directions.
Run the program in a place where enough clearance is available around the
taught positions so that the robot does not collide with any object around it when
moving.
2 You must keep pressing the SHIFT key during the measurement. If the SHIFT
key is released, the measurement is stopped.
3 If the camera image is too dark or too bright and vision detection fails and the
measurement is stopped, try changing the exposure time. Refer to “3.4.4.1
Adjusting the Exposure Time” for more details.
4 For 7DC3/10 (V8.30P/10) or later software, when you resume the measurement
after interruption, if a part of the measurement has been completed, the
confirmation message to select “RESUME” or “RESTART” is displayed. Then, if
“RESUME” is selected, the measurement is resumed. If “RESTART” is selected,
the measurement is restarted from the beginning.
NOTE
Even if “CVIS-021 Exceed VisPool” occurs while the TP program is running, it is
no problem if it is normally completed.
If that error stops the TP program, cycle controller power, ¥ and run the TP
program again.
- 256 -
B-83724EN/02 11.VISION FRAME SET
UPDATE
Calibration Result confirmation screen
When the user frame is updated, the “Update UFrame” status is updated to Done.
Now, the execution of Vision Frame Set is completed.
Three
target marks
Three
target marks
Z
Z
X X
Existent correct
user frame
Wanted user frame
Y Y to be restored after
relocation
Before relocation, the relativity between the target marks and the existent
correct user frame is measured and memorized.
After relocation, with that relativity, calculate back to an user frame from
measurement results of target marks.
This function is useful for relocating a system operating with the existing correct user frame.
Set the user frame after relocation of the fixture based on the target with vision by using the relationship
between the targets and the user frame before relocation.
Since the positions of the target marks are handled as reference points, any point does not need to match
the origin of the user frame. Set the positions of the three target marks so that they are not on the same
straight line, however.
This section describes the procedure for performing measurement before relocation and modifying the
user frame after relocation with Vision Frame Shift.
- 257 -
11.VISION FRAME SET B-83724EN/02
11.4.1 Preparation
1. Connect a camera to the robot controller or the iPendant.
2. Check that a camera image can be displayed on the iPendant, according to the procedure described
in Chapter 3, “BASIC VISION FUNCTION OPERATION”.
3. Secure the camera to the tool tip of the robot.
No precision is imposed on the position of camera attachment. However, secure the camera firmly
so that the camera does not move during the period from the start to the end of the measurements.
4. Teach a mark model to be detected, then check that the model can be detected. For the procedure,
refer to "3.4.4 Model Training Screen".
Remember the data name of the model taught in this step since it is to be used in the subsequent
procedure.
5. Select a user frame you want to set with Vision Frame Shift.
Before opening the vision frame shift screen, select the user frame number you want to set as the
current user frame.
6 Disable the single step mode.
Before opening the vision frame set screen, disable the single step mode.
NOTE
Before opening the vision frame shift screen, select the number of a user frame
you want to set and check that the current user frame number is not 0. A user
frame with number 0 cannot be set.
Creating TP
program
If there isn't a target mark within the view of the
camera after relocation, the taught point for
measuring must be modified. However,
Measuring before relocation
(Run TP program) Don’t re-teach points on the vision frame shift screen.
Don’t re-create TP program on the vision frame shift
screen.
Relocation of system
Instead, please open the EDIT screen of the TP program,
and modify the position data of the move instruction directly.
Measuring after relocation
(Run TP program) If points are re-taught on the vision frame shift screen or the
TP program is re-created on the vision frame shift screen,
measuring after relocation can not be executed.
CAUTION
After the relocation of the system, if it is necessary to modify a taught measurement
position, open the TP program on the EDIT screen and directly modify the taught
position.
After the relocation of the system, do not modify a taught position or re-create a TP
program from the vision frame shift screen. If a TP program is re-created after the
completion of the measurement before relocation, the measurement after relocation
cannot be performed, resulting in a Vision Frame Shift failure.
- 259 -
11.VISION FRAME SET B-83724EN/02
11.4.5 Setup
Set conditions for Vision Frame Shift.
- 260 -
B-83724EN/02 11.VISION FRAME SET
Details of settings
Program Name
Specify the name of a TP program to be run in Vision Frame Shift.
A TP program with this name is created in the subsequent procedure and is internally run to perform
frame calibration. (Default: VFRM_Gx. x: Group number)
UFrame Number
Specify the number of a user frame to be set.
When the vision frame shift screen is opened, the currently selected user frame number is
automatically set.
Calibration Mode
Specify the calibration mode.
Normally, select “Standard”.
When the target user frame for Vision Frame Shift is a Dynamic UFrame, select
“Dynamic_UFrame”. In this case, also set “CD Pair Number” in UFrame Schedule described later.
(Default: Standard)
UFrame Schedule
For settings related to behaviors of Vision Frame Shift, 10 types of schedules are available.
Move the cursor to the schedule number then enter a number to change the schedule number.
Move the cursor to “UFrame Schedule” then press the F4 (SELECT) key to display the UFrame
Schedule detail screen.
(See Subsection 11.4.6, “Setup – UFrame Schedule”.)
Vision Schedule
For settings related to target mark measurement, 10 types of schedules are available.
Move the cursor to the schedule number then enter a number to change the schedule number.
Move the cursor to “Vision Schedule” then press the F4 (SELECT) key to display the Vision
Schedule detail screen.
(See Subsection 11.2.5, “Setup – Vision Schedule“.)
- 261 -
11.VISION FRAME SET B-83724EN/02
UFrame Schedule
1/9
Schedule Number[ 1]
1 Auto Update: TRUE
2 Store Offset: FALSE
3 In PR[0 ]
4 Max. XYZ Offset: 30.000 mm
5 Report on DOUT[ 0]
6 Max. Orient Offset: 5.000 deg
7 Fit Error Register: 0
8 Max. Dev. Register: 0
9 CD Pair Number: 0
TRUE FALSE
Details of settings
Auto Update
No setting is required.
Leave the default.
Store Offset
When this item is valid, the amount of shift of the measurement result after relocation from the
measurement result before relocation is output to the position register with the number specified for
“In PR” below. (Default: FALSE)
In PR
This item specifies the register number to output the amount of shift above. When a value of 0 is
specified, no data is output. (Default: 0)
Report on DOUT
If the shift amount described above exceeds “Max. XYZ Offset” above or “Max. Orient Offset”
below, a digital I/O can be turned on for 500 ms. This item specifies the number of the digital I/O
output. When a value of 0 is specified, no data is output. (Default: 0)
- 262 -
B-83724EN/02 11.VISION FRAME SET
This item specifies the register number to output the maximum amount of shift (mm) between the
measurement result of each target mark before relocation and that after relocation. When a value of
0 is specified, no data is output. (Default: 0)
CD Pair Number
When the target user frame for Vision Frame Shift is a Dynamic UFrame, specify its CD_pair
number. (Default: 0)
- 263 -
11.VISION FRAME SET B-83724EN/02
X Direction Point
This item indicates the position where the target mark set on reference point 2 can be measured
Y Direction Point
This item indicates the position where the target mark set on reference point 3 can be measured
NOTE
For software versions equal or earlier than 7DC1/11 (V8.10P/11), 7DD0/06
(V8.13P/06), the “Orient Origin Point”, “X Direction Point” and “Y Direction Point”
are displayed as “Position 1”, “Position 2”, “Position 3”, but the meaning of these
parameters are same.
F2 (LOAD)
When a TP program for Vision Frame Shift has already been created, pressing the F2 (LOAD) key
teaches corresponding position data in the TP program as position data on this screen.
F3 (RECORD)
Pressing the SHIFT and F3 (RECORD) keys together teaches position data at the cursor as the
current position.
F4 (MV_JNT)
Pressing the SHIFT and F4 (MV_JNT) keys together moves the robot to the cursor position in the
joint mode.
F5 (MV_LIN)
Pressing the SHIFT and F5 (MV_LIN) keys together moves the robot to the cursor position in the
linear mode.
- 264 -
B-83724EN/02 11.VISION FRAME SET
A confirmation message may be displayed in some cases. Perform the operation as instructed in
the message.
CAUTION
Create a TP program as described in this step only before relocation; never
after relocation.
If a TP program is re-created after relocation, the steps from measurement
before relocation must be repeated, otherwise Vision Frame Shift fails.
If the TP program has already been run before relocation (“Run” is already set to Done) at this time,
a confirmation message is displayed, which asks whether the TP program is to be run after relocation.
Since the TP program is to be run before relocation in this step, press the F5 (REMASTER) key.
Another confirmation is displayed, which asks whether to overwrite mastering data. Press the F2
(YES) key and proceed to the next step.
Then, a confirmation message is displayed. Pressthe SHIFT and F2 (YES) keys together to run
the TP program.
When the execution is normally completed, the “Run” status is updated to “Done”.
- 265 -
11.VISION FRAME SET B-83724EN/02
CAUTION
1 During the execution, the robot moves to snap images of the target from various
directions.
Be sure there is enough clearance around the taught positions to avoid collisions
with other fixtures.
2 You must keep pressing the SHIFT key during the measurement. If the SHIFT
key is released, the measurement is stopped.
3 If the camera image is too dark or too bright and vision detection fails and the
measurement is stopped, you should try changing exposure time. Refer to
“3.4.4.1 Adjusting the Exposure Time” for more details.
4 For 7DC3/10 (V8.30P/10) or later software, when you resume the measurement
after interruption, if a part of the measurement has been completed, the
confirmation message to select “RESUME” or “RESTART” is displayed. Then, if
“RESUME” is selected, the measurement is resumed. If “RESTART” is selected,
the measurement is restarted from the beginning.
NOTE
Even if “CVIS-021 Exceed VisPool” occurs while the TP program is running, it is
no problem if it is completed normally.
If that error stops the TP program, cycle controller, and run the TP program
again.
Then, a confirmation message is displayed. Press the SHIFT and F2 (YES) keys together to run
the TP program.
- 266 -
B-83724EN/02 11.VISION FRAME SET
CAUTION
1 Do not run the TP program after relocation if remastering is performed. The
stored remastering data is overwritten and Vision Frame Shift will fail.
2 During execution, the robot moves to snap images of the target from various
directions.
Be sure there is enough clearance to avoid colliding with other fixtures in the
workcell.
3 You must keep pressing the SHIFT key during the measurement. If the SHIFT
key is released, the measurement is stopped.
4 If the camera image is too dark or too bright and vision detection fails and the
measurement is stopped, try changing the exposure time. Refer to “3.4.4.1
Adjusting the Exposure Time” for more details.
5 For 7DC3/10 (V8.30P/10) or later software, when you resume the measurement
after interruption, if a part of the measurement has been completed, the
confirmation message to select “RESUME” or “RESTART” is displayed. Then, if
“RESUME” is selected, the measurement is resumed. If “RESTART” is selected,
the measurement is restarted from the beginning.
NOTE
Even if “CVIS-021 Exceed VisPool” occurs while the TP program is running, it is
no problem if it is normally completed.
If that error stops the TP program, cycle controller power, and run the TP
program again.
- 267 -
11.VISION FRAME SET B-83724EN/02
UFrame Offset[G:1, 1]
X: -0.485 Y: 0.009 Z: -0.001
W: -0.003 P: 0.000 R: 0.007
UPDATE
Calibration Result confirmation screen
When the user frame is updated, the “Update UFrame” status is updated to “Done”.
Now, the execution of Vision Frame Shift is completed.
NOTE
For a Dynamic UFrame, the user frame setting is not updated directly.
The Leader Frame setting is updated according to the calibration result.
To update the Leader Frame to the Dynamic UFrame, turn the power to the
controller off, then on again.
- 268 -
B-83724EN/02 12.VISION SHIFT
12 VISION SHIFT
12.1 ABOUT VISION SHIFT
Vision shift
Vision shift has two separate functions.
• The taught positions of a program can be modified if the system is moved or reinstalled.
• The positions of a robot program created with the offline programming system can be modified
on the factory floor.
The positions of three reference points set on a fixture or workpiece are measured with the camera
attached to a robot. The positional relationship between the robot and fixture or workpiece is calculated
accurately. The TP program data is shifted.
Program shift
The six reference points (three points before reinstallation and three points after reinstallation) are stored
in position registers. The positions are measured with Vision shift. These reference points are used in a
position shift operation. Use the program edit screen’s online shift function to specify a shift.
The online shift function is divided into two types:
• three-point shift function using three reference points
• one-point shift function using the difference between the teach position on the current line and
the current robot position.
Program teaching can be checked easily. Use the three-point shift operation result of the Vision shift
measurement. Afterwards, check and adjust the teach position using the one-point shift operation.
- 269 -
12.VISION SHIFT B-83724EN/02
Robot
Lens
The camera must be attached to the robot’s EOAT securely. The customer must provide the necessary
hardware to mount the camera to the robot’s EOAT.
NOTE
1 The user is responsible for the camera, lens, camera cable, camera attachment
adaptor, and other camera support equipment.
2 For multiple group systems, Vision shift only supports robots in group 1.
3 Vision shift only supports 6-axis robots.
Target mark
Two recommended targets are shown below. The second target is a combination of a circle and a cross.
NOTE
Glossy materials are not recommended.
If a metal target is required, use one with frosted surface, such as anodized
aluminum(duralumin).
A handy way to attach a target mark is to affix an affixing sticker with that mark
printed on it.
- 270 -
B-83724EN/02 12.VISION SHIFT
You should place the three targets such that
• The targets are as far away from each other as possible.
• The targets do not form a straight line. (All inner angles of the triangle made by the three points
must be over 30 degrees.)
Setting initial setting Set position register number and so on from the initial
setting screen.
Creating and confirming TP Select the measurement method and teach three or four
program points where the target is measured by the camera.
Confirm the created TP program. (The measurement
method can be selected by the sub-program called by TP
program)
Fig. 12.2.2(a) Outline of the procedure for shift operation based on reinstallation
- 271 -
12.VISION SHIFT B-83724EN/02
Setting camera and target Connect the camera then set a target and the camera.
Setting vision data Move to a position where the target is measured by the
camera and then teach a model for vision detection.
Creating and confirming TP Select the measurement method and teach three or four
program points where the target is measured by the camera.
Confirm the created TP program. (The measurement
method can be selected by the sub-program called by TP
program)
Setting reference points in Input the position of reference points in off-line into position
off-line register.
Changing status of reference Set the status of reference points for before reinstallation
points DONE.
- 272 -
B-83724EN/02 12.VISION SHIFT
Table 12.2.3 Selectable measurement method by version of system software
System software Stereo measurement method Visual touch-up method
7DC2(V8.20P) or later
7DC1(V8.10P) P10 or later • •
7DD0(V8.13P) P03 or later
7DC1(V8.10P) P09 or earlier
•
7DD0(V8.13P) P02 or earlier
As shown in Fig. 12.2.3, both measurement methods perform camera position calibration as its first step,
and then performs reference point measurement. Camera position calibration can be performed by the
target mark which is mounted at arbitrary places, but reference point measurement must be performed by
the target mark which is mounted on the workpiece or fixture.
For the stereo measurement method, the robot does not perform the extra orientation change during
camera position calibration, but adds extra orientations during the reference point measurements. For the
visual touch-up method, the robot adds extra orientations during the camera position calibration, but does
not have extra motion during reference point measurement. If the workspace is limited, use the visual
touch-up method. Use the stereo measurement method if there is sufficient space.
- 273 -
12.VISION SHIFT B-83724EN/02
12.3.1 Preparation
1 Plug the camera cable into the robot controller or the iPendant.
2 Check that the camera image can be displayed on the iPendant, according to the procedure described
in "3 BASIC VISION FUNCTION OPERATION".
3 Secure the camera to the tool tip of the robot.
No precision requirement is imposed on the position of camera attachment. However make sure the
camera is secure and does not move when measuring.
You can return to the Vision shift screen anytime using steps 1 through 5 (above).
Upon completion of measurement based on Vision shift, close the Vision shift screen. Measurement
results are not lost.
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Not yet)
2: Vision Setup
0: Exit
3 Check the contents of the initial setting screen and make modifications if necessary.
• If no modification is required, press the PREV key.
• If a modification is required, move the cursor to the item to be modified, then change the value.
Next, press the F5 (MODIFY) key.
• When using two or more areas, set each area by pressing the
F2 (AREA) key to switch the area.
UTILITIES iRCalibration
Vision Shift 1/16
Setting Data : Area 1
Tool Frame
1 Result of calibration 8
2 Camera position 9
Number of shift area 1
Camera position (TOOL)
4 Camera position X = 1300.000
5 Camera position Y = 200.000
6 Camera position Z = -130.000
7 Camera position W = 0.000
8 Camera position P = 0.000
9 Camera position R = 0.000
Details of settings
Tool Frame/Result of Calibration
This item specifies the number of the tool frame used to store the found camera attachment position
(found by program). (Default: 8)
This item specifies the number of the tool frame used to store the initial (rough) camera attachment
position (entered by user). (Default: 9)
Number of shift area
This item specifies the number of areas to be measured. Up to five areas can be specified.
(Default: 1)
If there are multiple areas to be measured, pressing F2 (AREA) displays the settings of the next
area. The number of the currently displayed area is displayed on the top line of the teach pendant.
CAUTION
When setting a camera tool coordinate system, make sure the tool z axis is
aligned with the camera lens center line. The positive Z axis goes into the
camera.
If the Z-axis direction or the camera position is incorrect, the robot may move
outside of the field of view of the target during calibration.
NOTE
“Camera position(TOOL)”, “Stereo move direction (TOOL)” and “Position
Register (Reference points)” needs to be set for each area.
When using multiple areas, check the settings of each area by pressing the F2
(AREA) key to switch the area.
Upon completion of initial setting confirmation, the processing selection screen of Vision shift displays
items other than the initial setting items.
- 276 -
B-83724EN/02 12.VISION SHIFT
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Not yet)
6: Status of ref pos
7: Display convert matrix
0: Exit
Select operation :
[ TYPE ]DISP_IMG
NOTE
The settings made on the initial setting screen are saved as comment
statements in the TP programs VSMAIN and VSSUB1 through VSSUB5.
For details of TP programs, see "SPECIFICATIONS OF TP PROGRAMS FOR
VISION SHIFT".
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Not yet)
Select operation :
[ TYPE ]DISP_IMG
2 Teach the model on the Vision Data Setup Screen. (For the procedure, please refer to "3.4.4 Model
Training Screen".)
- 277 -
12.VISION SHIFT B-83724EN/02
VSFIND0 is a sample program for Stereo measurement method and VSFINDA is a simple program for
Visual touch-up method. You can use these sample programs as template in creating your own TP
programs.
The contents of VSFIND0 and VSFINDA are shown below. Teach three or four points before calling the
above subprograms. The taught points should meet the following criteria:
• The target must be at the central of the image.
• The distance between the camera and target is about 400 mm.
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “12.5.5 Details of TP Programs”.
In the above example, in case of Stereo measurement method the reference point for camera position
calibration is the same as the one for measuring one of reference points, and in case of Visual touch-up
method the reference point for camera position calibration is different form the one for measuring one of
reference points. For both measurement methods, the teaching point before VSCAMCLB or VSF_TCP
can be the same or different as the one before VSFNDREF or VSF_REF.
- 278 -
B-83724EN/02 12.VISION SHIFT
NOTE
1 Vision shift does not create VSFIND1 to VSFIND TP programs. Users have to
create them using VSFIND0 or VSFINDA as template.
2 For detail information about of VSFIND1 to VSFIND5, see "12.5
SPECIFICATIONS OF TP PROGRAMS FOR VISION SHIFT".
Testing programs
Test the TP programs to be used for reference point measurement.
Step
1 Select “3: Test robot program” on the Vision shift screen.
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Not yet)
6: Status of ref pos
7: Display convert matrix
0: Exit
Select operation :
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Shift
Test robot program
Test robot program for operation
Please push F4(NEXT) to start
robot program test
NEXT CANCEL
3 The screen display switches to the edit screen, and the program (from VSFIND1 to VSFIND5)
corresponding to the selected area is displayed.
Execute the program to perform a reference point measurement test operation (Camera position
calibration).
Modify, add, or delete taught positions as needed.
- 279 -
12.VISION SHIFT B-83724EN/02
NOTE
1 Execute “CALL VSINIT” or “CALL VSFINIT” first.
2 Adjust each taught reference position so that the target is at the central position
of the screen. Also, adjust the distance between the camera and reference
points to about 400 mm (+/-50 mm).
3 Re-teach the measurement position if an interference occurred with peripheral
or reached robot motion limit.
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “12.5.5 Details of TP Programs”.
For 7DC3/10 (V8.30P/10) or later software, if the measurement is interrupted by
the release of the SHIFT key, the occurrence of an alarm or other reasons,
re-execute the TP program after moving the cursor to the first line. If a part of the
measurement has been completed, a message “Press 0 (restart) or 9 (resume)”
appears. Press the 0 key to restart the measurement from the beginning or the 9
key to resume the measurement.
4 Upon completion of program execution, the Vision shift operation screen is displayed. After
checking the program, press the F5 (CANCEL) key The Vision shift screen is displayed.
To continue checking the program, press the F4 (NEXT) key.
UTILITIES iRCalibration
Vision Shift
Test robot program
Test robot program for operation
Please push F4(NEXT) to start
robot program test
NEXT CANCEL
- 280 -
B-83724EN/02 12.VISION SHIFT
NOTE
“Test robot program” is used to teach a measurement motion to VSFINDi and to
test the motion, but does not actually measure the reference points.
Step
1 Adjust the lens focus, aperture setting, and shutter speed so that reference points can be clearly
viewed at a measurement position.
CAUTION
Adjust the lens focus and aperture setting before executing a reference point
measurement. Do not change the focus and aperture settings during reference
point measurement.
2 Select “4: Get ref pos [BEFORE]” on the Vision shift screen.
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Not yet)
Select operation :
[ TYPE ]DISP_IMG
- 281 -
12.VISION SHIFT B-83724EN/02
UTILITIES iRCalibration
Vision Shift
Get Reference Points [BEFORE] / Area 1
Ref pos measurement will be
started
Please push F4(NEXT) to start
ref pos measurement
NEXT CANCEL
4 The screen display switches to the edit screen, and the program (from VSFIND1 to VSFIND5)
corresponding to the selected area is displayed.
Execute the program from the first line to the last to perform a reference point measurement.
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “12.5.5 Details of TP Programs”.
For 7DC3/10 (V8.30P/10) or later software, if the measurement is interrupted by
the release of the SHIFT key, the occurrence of an alarm or other reasons,
re-execute the TP program after moving the cursor to the first line. If a part of the
measurement has been completed, a message “Press 0 (restart) or 9 (resume)”
appears. Press the 0 key to restart the measurement from the beginning or the 9
key to resume the measurement.
5 Upon completion of program execution, please return to the Vision shift operation screen.
Then, the next screen is displayed.
Pressthe F4 (NEXT) key. The Vision shift screen is displayed
- 282 -
B-83724EN/02 12.VISION SHIFT
UTILITIES iRCalibration
Vision Shift
Get Reference Points [BEFORE] / Area 1
Ref pos measurement was done
NEXT
If multiple areas are measured, the system asks you whether to measure the reference points of the
next area. Press the F4 (YES) key to continue measurement.
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Done)
5: Get ref pos [AFTER] (Not yet)
6: Status of ref pos
7: Display convert matrix
0: Exit
Select operation :
[ TYPE ]DISP_IMG
When Item 5 (“Get ref pos [AFTER]”) is displayed, reference point measurement before reinstallation is
completed.
Step
1 Select “5: Get ref pos [AFTER]” on the Vision shift screen.
- 283 -
12.VISION SHIFT B-83724EN/02
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Done)
5: Get ref pos [AFTER] (Not yet)
6: Status of ref pos
7: Display convert matrix
0: Exit
Select operation :
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision Shift
Get Reference Points [AFTER] / Area 1
Ref pos measurement will be
started
Please push F4(NEXT) to start
ref pos measurement
NEXT CANCEL
3 The screen display switches to the edit screen, and the program (from VSFIND1 to VSFIND5)
corresponding to the selected area is displayed.
Execute the program from the first line to the last to perform a reference point measurement.
- 284 -
B-83724EN/02 12.VISION SHIFT
NOTE
• If a reference point is not within the field of view of the camera or at the edge of
an image, modify the taught measurement position so that the reference point
can be viewed in the central area of the camera image.
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “12.5.5 Details of TP Programs”.
For 7DC3/10 (V8.30P/10) or later software, if the measurement is interrupted by
the release of the SHIFT key, the occurrence of an alarm or other reasons,
re-execute the TP program after moving the cursor to the first line. If a part of the
measurement has been completed, a message “Press 0 (restart) or 9 (resume)”
appears. Press the 0 key to restart the measurement from the beginning or the 9
key to resume the measurement.
4 Upon completion of reference point measurement, return to the Vision shift operation screen.
Then, the screen below is displayed.
The distances between the reference points before reinstallation and the reference points measured
this time are displayed.
Press F4 (NEXT) . The Vision Shift Processing Selction screen is displayed
UTILITIES iRCalibration
Vision Shift
Get Reference Points [AFTER] / Area 1
Ref pos measurement was done
NEXT
If multiple areas are measured, the system asks you whether to measure the reference points of the
next area. Press the F1 (YES) key to continue measurement.
- 285 -
12.VISION SHIFT B-83724EN/02
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Done)
5: Get ref pos [AFTER] (Done)
6: Status of ref pos
7: Display convert matrix
0: Exit
Select operation :
[ TYPE ]DISP_IMG
When “Done” is displayed in Item 5 (“Get ref pos [AFTER]”), reference point measurement after
reinstallation is completed.
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Done)
5: Get ref pos [AFTER] (Done)
6: Status of ref pos
7: Display convert matrix
0: Exit
Select operation :
[ TYPE ]DISP_IMG
2 The screen shown below is displayed to indicate whether reference point measurements before and
after reinstallation are completed or uncompleted for each measurement area.
- 286 -
B-83724EN/02 12.VISION SHIFT
UTILITIES iRCalibration
Vision Shift
Status of Reference Points
BEFORE AFTER
Area 1 : Done [123] Done [123]
Area 2 : Done [123] Not yet[---]
MODIFY
• In the example above, two areas are measured. The screen shows that the reference points of
area 2 after reinstallation are not measured yet.
• A number in [ ] indicates a reference point already measured. A hyphen in [ ] indicates
a reference point not measured yet. For example, [1--] indicates that point 1 has been
measured but point 2 and point 3 are not measured yet.
To remeasure reference points, the measurement state of the reference points needs to be set to the
uncompleted state by using this function.
UTILITIES iRCalibration
Vision Shift
Status of Reference Points
BEFORE AFTER
Area 1 : Done [123] Done [123]
Area 2 : Done [123] Not yet[---]
MODIFY
3 Enter 1 to change the state before reinstallation. Enter 0 to change the state after reinstallation.
- 287 -
12.VISION SHIFT B-83724EN/02
BEFORE/AFTER (1:BEFORE,0:AFTER):
CANCEL
In the example below, the measurement state of the reference points in area 1 is changed from the
completed state to the uncompleted state so that the reference points can be remeasured.
UTILITIES iRCalibration
Vision Shift
Status of Reference Points
BEFORE AFTER
Area 1 : Done [123] Not yet[123]
Area 2 : Done [123] Not yet[---]
MODIFY
• If the measurement state is changed from “Done (completed)” to “Not yet (uncompleted)”, the
measurement state of each reference point is saved ([123] remains unchanged). If one point is
remeasured in this state then the program is terminated, the measurement state is set to the completed
state again.
• If the measurement state is changed from “Done (completed)” to “Not yet (uncompleted)”, the
measurement state of each reference point is set to the completed state ([123]). When setting
reference point position data before reinstallation directly in position registers by performing an
operation such as an offline shift operation, set the data in the position registers then change the
measurement state before reinstallation from the uncompleted state to the completed state.
CAUTION
The reference points (before reinstallation) can be modified as long as the
workcell has not been reinstalled. If reference points (before reinstallation) are
remeasured after workcell has been reinstalled then the original data is
overwritten and Vision shift is disabled. Never change the measurement state of
reference points (before reinstallation) to the uncompleted state after workcell
reinstallation.
If the measurement state of reference points (before reinstallation) is
inadvertently changed to the uncompleted state after workcell reinstallation,
change the state back to the completed state again. (Even if the state is
changed to the uncompleted state with this function, the reference point
measurement data is not deleted.)
- 288 -
B-83724EN/02 12.VISION SHIFT
UTILITIES iRCalibration
Vision Shift
1: Check setting data (Done)
2: Vision Setup
3: Test robot program
4: Get ref pos [BEFORE] (Done)
5: Get ref pos [AFTER] (Done)
6: Status of ref pos
7: Display convert matrix
0: Exit
Select operation :
[ TYPE ]DISP_IMG
2 The conversion matrix of each area, and the distances between reference points before reinstallation
and reference points after reinstallation are displayed.
USER
Vision Shift
Display convert matrix
Area 1
X: 150.04 Y: 20.87 Z: 110.20
W: 0.00 P: 0.00 R: 0.00
VSMAIN
Common settings used with Vision shift
VSSUB1 to VSSUB5 (as many as the number of measurement areas)
Settings for each measurement area (tool coordinate system, position register numbers for
storing reference point detection positions, and so forth)
VSFIND1 to VSFIND5 (as many as the number of measurement areas)
Teach positions for reference point measurement
Upon completion of measurement before reinstallation, back up, for safety, the programs above and the
data of position registers before reinstalling the robot.
In particular, the reference point position data stored in position registers are important.
- 289 -
12.VISION SHIFT B-83724EN/02
In offline shift operation, reference points before reinstallation are not measured. The positions of
reference points are calculated using the offline programming system. The calculated positions are set
as reference point position data before reinstallation in position registers.
On the factory floor, reference points are set at the same positions as specified with the offline
programming system then the reference points after reinstallation are measured with the camera attached
to the robot.
The steps of “1: Check setting data”, “2: Vision Setup” and “3: Test robot program” remain unchanged in
offline shift operation.
Setting reference point positions
Instead of measuring reference points before reinstallation, the positions of reference points are
determined with the offline programming system according to the procedure below, then the positions are
set in position registers as the detected positions of reference points before reinstallation.
In offline shift operation, reference points to be measured with Vision shift are examined on the offline
programming system.
1 With the offline programming system, determine at which positions those reference points to be
measured are to be set. Three reference points are needed for each area.
Determine those positions on a workpiece or fixture to secure a workpiece that enable reference
points to be set on the factory floor.
2 Calculate the positions of three reference points on the offline programming system. Find the
three-dimensional position (X,Y,Z) of each reference point when viewed from the base coordinate
system of the robot. The three-dimensional positions of three reference points are represented as
P1(X1, Y1, Z1), P2(X2, Y2, Z2), and P3(X3, Y3, Z3).
3 Set the found positions of the three reference points, P1, P2, and P3, in three position registers for
storing the positions of reference points before reinstallation.
In a position register, three of the six components, X, Y, Z, W, P, and R, can be entered. In X, Y,
and Z, set the calculated values of Pi(Xi, Yi, Zi) (i = 1 to 3). In W, P, and R, enter an arbitrary
value (for example, 0). (The values of W, P, and R of a position register have no effect on program
shift operation.)
1 Set the positions of reference points in position registers then select “6: Status of ref pos” on the
Vision shift screen.
2 Press the F5 (MODIFY) key.
3 Set a desired area number (from 1 to 5) (only when multiple areas are used).
4 Enter 1: BEFORE in “BEFORE/AFTER” prompt.
5 Check that the measurement state of reference points before reinstallation is set to “Done”.
6 If multiple areas are used, set the measurement state before reinstallation for each area to “Done”.
7 Press PREV to return to the processing selection screen.
- 290 -
B-83724EN/02 12.VISION SHIFT
8 Select “5: Get ref pos [AFTER]” on the Vision shift processing selection screen, and perform Vision
shift measurement.
Online shift
Two types of online shift functions are available:
• Three-point shift function
• One-point shift function
The three-point shift function shifts the taught positions of a program before reinstallation (or a program
created offline) according to the actual condition on the factory floor by using the position data of three
reference points measured using Vision shift.
After performing a three-point shift operation, execute the program then check the position of each taught
point. Make a fine position adjustment if necessary.
At this time, a fine teach position adjustment can be made in a shorter time by using the one-point shift
function.
When the position of a taught point is modified after moving the robot manually to the taught point, the
one-point shift function can reflect the amount of modification at the taught point in other taught points of
the program as well, thus modifying multiple taught points at a time.
By combining the three-point shift function and one-point shift function, programmed taught positions
could be modified in a short time by a simple operation.
With the online three-point shift function and one-point shift function:
• A shift range can be specified on the program edit screen.
• An error that has occurred during shift operation can be checked later.
• A shift operation can be canceled.
NOTE
Be sure to select a program to be shifted, from the program list.
When a subprogram is being called, the subprogram cannot be shifted with the online
shift function.
To shift a subprogram, select the subprogram from the program list beforehand.
- 291 -
12.VISION SHIFT B-83724EN/02
This function compensates for an installation position error between before and after system reinstallation,
and also compensates for an installation position error between the offline programming system and the
actual positions on the factory floor.
Shift operations based on reinstallation calculates an installation position error. The position error is
between the offline object (before reinstallation) and the real workcell object (after the reinstallation).
The error is used to shift the taught positions of the robot program to match the state after reinstallation.
TEST01
1/7
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
POINT TOUCHUP>
[ INST ] [EDCMD]>
User
Online Shift 1/34
1 Shift Type 3PT SFT
2 Shift result auto output ENABLE
1 point shift setup
3 Shift data POS_ORI
3 point shift setup
4 Number of shift area 2
Area1 [Source]
5 Ref pos 1 PR[ 50]
6 Ref pos 2 PR[ 51]
7 Ref pos 3 PR[ 52]
Area1 [Destination]
8 Ref pos 1 PR[ 53]
9 Ref pos 2 PR[ 54]
10 Ref pos 3 PR[ 55]
START 1PT SFT 3PT SFT
- 292 -
B-83724EN/02 12.VISION SHIFT
• For the number of areas and position register numbers used for three-point shift operation, the
settings made on the initial setting screen of Vision shift are automatically reflected. This
means that no particular setting is needed.
3 The second page of the edit screen displays the F2 through F4 keys for online shift operation.
Press F4 (3PT SFT).
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
The specified shift start line is displayed after "STR" of the F2 key.
- 293 -
12.VISION SHIFT B-83724EN/02
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
7 Upon completion of conversion, the F2 through F4 keys disappear, and a message indicating that
program shift operation is completed is displayed together with the number of errors that occurred
during conversion.
Check whether errors occurred.
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
• To stop using the online shift function, press the [PREV] key. The F2 through F4 keys for online
shift operation disappear.
• To check the details of errors that occurred during conversion, see Subsection 12.4.4, "Checking the
Result of Shift Operation".
- 294 -
B-83724EN/02 12.VISION SHIFT
NOTE
If an online shift operation is performed once by pressing F4 (CONV), the F2
through F4 keys for online shift operation disappear.
To perform an online shift operation again, pressthe F5 [EDCMD] key, then
select “Online sft”.
NOTE
In a one-point shift operation, a shift amount is determined from the differential
between the current robot position and the teach position (on the line where the
cursor is placed at shift start time).
If a position modification is made at a teach position to be modified, the current
position and the teach position match each other, so that the differential
becomes 0, disabling the shift operation.
- 295 -
12.VISION SHIFT B-83724EN/02
TEST01
1/7
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
POINT TOUCHUP>
[ INST ] [EDCMD]>
User
Online Shift 1/34
1 Shift Type 1PT SFT
2 Shift result auto output ENABLE
1 point shift setup
3 Shift data POS_ORI
3 point shift setup
4 Number of shift area 2
Area1 [Source]
5 Ref pos 1 PR[ 50]
6 Ref pos 2 PR[ 51]
7 Ref pos 3 PR[ 52]
Area1 [Destination]
8 Ref pos 1 PR[ 53]
9 Ref pos 2 PR[ 54]
10 Ref pos 3 PR[ 55]
START 1PT SFT 3PT SFT
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
4 Move the robot in step mode to the line where a teach position is to be modified. In this example,
the robot is moved to the line 4 specifying the position P[2].
5 Move the current robot position manually to the position to be modified.
- 296 -
B-83724EN/02 12.VISION SHIFT
6 Press the F4 (1PT SFT) key
When the F4 key is pressed, the differential between the teach position and the current robot position
is automatically recorded as a shift amount.
NOTE
In a one-point shift operation, a shift amount is determined from the difference
between the current robot position and the teach position (on the line where the
cursor is placed when the F4 key (1PT SFT) is pressed). Do not make a
position modification before pressing the F4 key (1PT SFT).
Otherwise, the current position and the teach position match each other, so that
the differential becomes 0, disabling the shift operation.
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
7 Specify a shift start line. Move the cursor to a desired shift start line then press the F2 (STR)
key.
The specified shift start line is displayed after the "STR" text above of the F2 key.
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
- 297 -
12.VISION SHIFT B-83724EN/02
8 Next, specify a shift end line. Move the cursor to a desired shift end line then press the F3 (END)
key.
The specified shift end line is displayed after the "END" text above the F3 key.
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
10 Upon completion of conversion, the F2 through F4 keys disappear, and a message indicating that
program shift operation is completed is displayed together with the number of errors that occurred
during conversion.
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
If an online shift operation is performed once, the F2 through F4 keys for online shift operation disappear.
To perform an online shift operation again, press the F5 key ([EDCMD]) then select “Online sft”.
To stop using the online shift function, press the [PREV] key. The F2 through F4 keys for online shift
operation disappear.
To check the details of errors that occurred during conversion, see Subsection 12.4.4, "Checking the
Result of Shift Operation".
- 298 -
B-83724EN/02 12.VISION SHIFT
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
Conversion information and details of errors that occurred during conversion are displayed.
If one page cannot display all errors that occurred during conversion, F4 displays "NextPage".
Press F4 to display details of errors that cannot be displayed on the first page.
USER
Online Shift
Shift Result
Program : TEST01
Lines : 4 – 6
Error occurred at following points
6 P[4] Position is not reachable
- 299 -
12.VISION SHIFT B-83724EN/02
TEST01
1: R[1]=0
2: J P[1] 80% FINE
3: WAIT DI[1]=ON
4: L P[2] 1000mm/sec CNT100
5: L P[3] 800mm/sec FINE
6: L P[4] 500mm/sec FINE
[End]
4 Pressing the F1 (Yes) key returns the program to the state immediately before the last shift
operation.
USER
Online Shift
Cancel prev shift
Program : TEST01
Recover program just before
previous shift
CAUTION
1. If the last shift operation is canceled using this function, the program returns to
the state immediately before the last shift operation. Note that all modifications
made after the last shift operation are lost.
2. This function can cancel only the last shift operation performed.
VSMAIN, VSSUB
VSMAIN and VSSUB1 through VSSUB5 are used to save the settings made on the initial setting screen
of Vision shift. In VSMAIN and VSSUB1 through VSSUB5, settings are taught as comment
statements.
- 300 -
B-83724EN/02 12.VISION SHIFT
Vision shift reads VSMAIN and VSSUB1 through VSSUB5, if present at initial setting time, and sets the
data specified by VSMAIN and VSSUB1 through VSSUB5 in the controller.
If settings are modified on the initial setting screen of Vision shift, VSMAIN and VSSUB1 through
VSSUB5 are updated according to the modified data. The Vision shift settings on one controller can be
set on another controller by copying VSMAIN and VSSUB1 through VSSUB5.
VSFIND
VSFIND1 through VSFIND5 are used for Camera position calibration and vision measurement of
reference points.
VSFIND1 through VSFIND5 call the following subprograms:
The KAREL subprograms above are installed on the robot controller if the Vision shift option is
specified.
The TP programs and KAREL subprograms above use a tool coordinate system, register, and position
registers. A tool coordinate system number, register number, and position register numbers can be
specified using all of VSMAIN and VSSUB1 through VSSUB5. These settings can be checked or
modified on the initial setting screen of Vision shift.
If modifications are made to settings on the initial setting screen, the modifications are reflected in
VSMAIN and VSSUB1 through VSSUB5.
- 301 -
12.VISION SHIFT B-83724EN/02
USER
Vision Shift
1: Check setting data (Done)
2: Test robot program
3: Get ref pos [BEFORE] (Not yet)
VSMAIN
Enter “1”
Setting data 1: !UTN1 UT(Calib) No. : 8
2: !UTN2 UT(Camera) No. : 9
Vision Shift 3: !REGN Reg(Result of oprt) : 50
4: !PRGN PReg(Work area) : 100
Setting Data : Area 1 1/18
5: !ANUM Num of shift area : 1
Tool Frame [End]
1 Result of calibration 8
2 Camera position 9 VSSUB1~5
Register (Result of operation) R[ 50]
Pos register (work area) PR[ 100]
Number of shift area 1 1: !UT2X UT(Camera) X : 1300.000
2: !UT2Y UT(Camera) Y : 200.000
Camera position(TOOL) 3: !UT2Z UT(Camera) Z : -130.000
6 Camera position X = 1300.000 4: !UT2W UT(Camera) W : 0.000
7 Camera position Y = 200.000 5: !UT2P UT(Camera) P : 0.000
8 Camera position Z = -130.000
9 Camera position W = 0.000 6: !UT2R UT(Camera) R : 0.000
10 Camera position P = 0.000 7: !STDR Stereo move dir(UT) : W
11 Camera position R = 0.000 8: !PRB1 Bef Ref pt 1 : 50
9: !PRB2 Bef Ref pt 2 : 51
Stereo move direction (Tool) W 10: !PRB3 Bef Ref pt 3 : 52
Position Register (Reference points) 11: !PRA1 Aft Ref pt 1 : 53
Before 12: !PRA2 Aft Ref pt 2 : 54
13 Reference point 1 PR[ 50] 13: !PRA3 Aft Ref pt 3 : 55
14 Reference point 2 PR[ 51] [End]
15 Reference point 3 PR[ 52]
After
16 Reference point 1 PR[ 53]
17 Reference point 2 PR[ 54]
18 Reference point 3 PR[ 55] When F5,[Modify] is pressed, current value is
saved in VSMAIN and VSSUB1-5
EXIT AREA MODIFY
- 302 -
B-83724EN/02 12.VISION SHIFT
- 303 -
12.VISION SHIFT B-83724EN/02
VSMAIN
1: !UTN1 UT(Calib) No. : 8
2: !UTN2 UT(Camera) No. : 9
3: !REGN Reg(Result of oprt) : 50
4: !PRGN PReg(Work area) : 100
5: !ANUM Num of shift area : 1
[End]
- 304 -
B-83724EN/02 12.VISION SHIFT
VSSUB1 through VSSUB5
The first four characters after the “!” are used to determine the meaning of the data.
The portion from the fifth character to the ":" is ignored when Vision shift reads the data. Do not
include ":" in this portion.
Do not change the order of the data. The meaning of the data is judged by the order of teaching.
Create VSSUBi (i = 1 to 5) programs as many as the number of areas to be measured. Specify the
position register numbers to store the positions of reference points for an area in the corresponding
VSSUB* program. If the same position register number is specified for multiple areas, an error is
indicated on the processing selection screen of Vision shift.
If a value in VSMAIN/VSSUB1 through VSSUB5 is directly modified after the initial setting using
Vision shift, a mismatch occurs between the data set with Vision shift and the data set in
VSMAIN/VSSUB1 through VSSUB5.
After the initial setting, do not directly modify any value in VSMAIN and VSSUB1 through
VSSUB5. When a modification is required, make the modification on the initial setting screen of Vision
shift.
VSFINDi (i=1 to 5)
VSFIND1 through VSFIND5 are TP programs used to teach the motion positions of the robot performing
camera attachment position calibration and measuring the positions of reference points.
You need to create VSFINDi .
VSFINDi format
As indicated in the example below, teach three positions that enable reference points to be viewed in the
central area of an image then call VSCAMCLB or VSF_TCP and VSFNDREF or VSF_REF at those
positions.
Any other operation sequences can be set. An original point and intermediate point can be added.
- 305 -
12.VISION SHIFT B-83724EN/02
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program VCRSM_CHECK, label
instructions, and jump instructions are added to the sample program in “12.3.5 Creating and Testing
Programs for Vision Shift Measurement” as below so that efficient resuming of the measurement can be
done.
- 306 -
B-83724EN/02 12.VISION SHIFT
NOTE
Be sure to execute VSFINDi (i = 1 to 5) on the Vision shift screen. No vision
measurement is taken if VSFINDi (i = 1 to 5) is executed on the program list
screen.
- 307 -
12.VISION SHIFT B-83724EN/02
VSINIT
VSINIT is the subprogram that makes settings required for Vision shift by using the data specified on the
initial setting screen.
Usage
VSFINDi must always call this subprogram at the start of the program.
When this subprogram is called, no argument is used.
CALL VSINIT
Operation
VSINIT has the following settings that perform calibration and make measurements with Vision shift:
• It sets the number of the selected user coordinate system to 0.
• It sets the values specified on the initial setting screen in the tool coordinate system for camera
position setting.
VSCAMCLB
VSCAMCLB is the subprogram that performs Camera position calibration.
Usage
VSFINDi (i = 1 to 5) calls this subprogram at a position that enables the first reference point to be viewed
from the camera.
When calling this subprogram, specify the following argument:
Argument 1: Specify a vision data name (model name) by using a character string.
CALL VSCAMCLB(‘VSFT1’)
Argument 1
Operation
When VSCAMCLB is called, the robot moves ± 50 mm in the Z-axis direction from the current position
in the tool coordinate system then rotates ±30° about the Z-axis in the tool coordinate system to perform
Camera position calibration. The result of Camera position calibration is stored (set) in “Tool
Frame/Result of Calibration” specified by initial setting.
VSFNDREF
VSFNDREF is the subprogram that measures the positions of reference points.
- 308 -
B-83724EN/02 12.VISION SHIFT
VSFINDi (i= 1 to 5) teaches operation statements (for three points) to enable the reference points to be
viewed. At each of the three points, call this subprogram.
Usage
When calling this subprogram, specify the following arguments:
Argument 1: Specify the number (1 to 3) of the reference point among the three reference points.
Argument 2: Specify a vision data name (model name) by using a character string.
Argument 3: (Optional) Specify the direction of inclination by using a character ('W'/'P').
If this argument is not specified, the direction specified by the initial setting is used.
Argument 1
Argument 2
CALL VSFNDREF(1,’VSFT1’,’P’)
Operation
When VSFNDREF is called, an inclination of ±15° is made in the direction specified by initial setting to
measure the position of a reference point by Stereo measurement method.
The measured reference position is stored in a position register.
VSFINIT
VSFINIT initializes data setting for the Visual touch-up method.
Usage
VSFINDi should call this subprogram without an argument at the beginning of the program.
CALL VSFINIT
Argument 1 Argument 2
Operation
VSFINIT without an argument does the following:
• It sets the user coordinate system to 0.
• It sets the initial values for camera position
VSFINIT with arguments is used to set parameters for camera position calibration. For camera position
calibration, it is possible to improve the accuracy of the calibration by increasing tilt angle and division
- 309 -
12.VISION SHIFT B-83724EN/02
number relative to the optical axis of the camera. The relevant parameters are shown below. For example,
if MOVE_DIST_R is set to 90 deg and DIV_NUM_R is set to 3, vision measurements are executed with
the rotation angle about the optical axis of the camera -90, -60, -30, 0, +30, +60 and +90 deg.
VSF_TCP
VSF_TCP performs camera position calibration for the Visual touch-up method.
Usage
VSFINDi (i = 1 to 5) calls this subprogram to find a target’s position.
When calling this subprogram, specify the following argument:
Argument 1: Specify a vision data name (model name) by using a character string.
CALL VSF_TCP(‘VSFT1’)
Argument 1
Operation
When VSF_TCP is called, the robot performs the following:
1 Moves to a position so the target is at the center of the image.
2 Moves up and down along the optical axis of the camera.
3 Rotates around the optical axis of the camera.
4 Tilts relative to the optical axis.
5 Store camera position calibration result in “Tool Frame/Result of Calibration” specified by the initial
setting.
During step 2 through 4, robot moves around the target and keeps the target at the center of the camera’s
image.
VSF_REF
Visual touch-up method uses VSF_REF to measure the reference positions.
Usage
When calling this subprogram, specify the following arguments:
Argument 1 Argument 2
Operation
VSF_REF does a small movement to take a measurement of a reference point
The measured position of a reference point is stored in a position register specified by initial setting.
VCRSM_CHECK
VCRSM_CHECK is the subprogram related to the resuming of the measurement.
This subprogram is for 7DC3/10 (V8.30P/10) or later software. For 7DC3/10 (V8.30P/10) or later
software, the measurement is divided into some steps, and this subprogram controls the step number of
the measurement.
Usage
When calling this subprogram, specify the following arguments:
Argument 1 Argument 2
CALL VCRSM_CHECK(2, 1)
Operation
• If the argument 1 is ‘START’, the step number is checked, and you can choose whether to restart
from the beginning or to resume when this subprogram is called after the measurement interruption.
• If the argument 1 is ‘END’, the step number is reset.
• If the argument 1 is the step number, the step number is updated. If the argument 2 is the robot group
number, the robot with the specified group number records the position when the measurement is
executed in order, and returns back to the recorded position when the measurement is resumed.
12.6 TROUBLESHOOTING
General
Symptom
The program list screen does not display the names of the KAREL subprograms (VSINIT, VSCAMCLB
and VSFNDREF, or VSFINIT, VSF_TCP and VSF_REF).
Action
Set the system variable $KAREL_ENB to 1 on the system variable screen then select "All" in F1 [TYPE]
on the program list screen.
- 311 -
12.VISION SHIFT B-83724EN/02
Action
The position register number is already used. Change the position register number to make it unique.
Action
Execute VSFINDi on the processing selection screen of Vision shift. The alarm above is issued if
VSFINDi is directly selected on the TP program list screen and executed.
Symptom
“CVIS-021 Exceed VisPool” occurs.
Action
It is no problem if it is normally completed.
If that error stops the TP program, please cycle the power of the robot controller and run the TP program
again.
Symptom
The alarm “Not yet calibrate Camera” occurs.
Action
This alarm occurs when VSFNDREF is called before VSCAMCLB or VSF_REF is called before
VSF_TCP. Reverse the calling sequence.
Symptom
The alarm “Use previous Camera calibration data” occurs.
Action
The message is to confirm for using calibration data which was done in another measurement area or
different timing (before or after reinstallation). If the position to attach a camera is the same as the camera
position calibration, you can execute the program. If it is not, please execute the camera position
calibration (VSCAMCLB or VSF_TCP) again.
Symptom
The alarm “Vision data name is not same as VSF_TCP” occurs.
Action
The vision data for VSF_REF must be the same as the one for VSF_TCP. Set the same vision data.
Program shift
Symptom
No program shift operation occurs.
Action
1 When the teach pendant is placed in the “Disable(OFF)” state, the program shift operation is not
performed. Perform program shift when the teach pendant is placed in the “Enable(ON)” state.
2 When the program is being edited, the program shift operation cannot be executed. Press the FCTN
key and end the edit of the program.
- 312 -
B-83724EN/02 12.VISION SHIFT
Symptom
Pressing an F key on the teach pendant has no effect.
Action
Hold down a key on the teach pendant for a rather long time. If a key is pressed for a very short time, it
might not be recognized.
- 313 -
13.VISION MULTI-CAL B-83724EN/02
13 VISION MULTI-CAL
13.1 ABOUT VISION MULTI-CAL
13.1.1 Overview
Vision Multi-Cal is a function that defines the relationship between two robots, or between a robot and a
positioner coordinated by a single controller.
Coordinated motion control requires that the relative position relationship between the leader group and
follower group be set correctly for the coordinated pair. Vision Multi-Cal automatically obtains
calibration data for this coordinated motion control through the use of a vision sensor.
NOTE
Vision Multi-Cal is only supported on 6-axis robot. It can not be used for 4-axis
and 5-axis robots.
Target mark
Camera
Camera cable
iPendant
Target
Camera
mark
Calibration data
(Relative position From one robot to another robot) Robot controller
If you are using coordinated motion with a robot and a positioner, Vision Multi-Cal defines the
relationship between a robot and a positioner, with a camera attached to the tool tip of one robot and a
mark to be detected by the vision function (target mark) attached to the tabletop axis of the positioner.
- 314 -
B-83724EN/02 13.VISION MULTI-CAL
Camera
Camera cable
Target mark
iPendant
Camera
Target mark
Robot controller
Calibration data
(Relative position From a positioner to a robot)
Fig. 13.1.2(b) System configuration of Vision Multi-Cal(One robot and one positioner)
Limitation
• The two robots, or a robot and a positioner need to be controlled by a single robot controller.
• Vision Multi-Cal for a robot and a positioner supports unknown point calibration only.
Target mark
Two recommended targets are shown below. The second target is a combination of a circle and a cross.
- 315 -
13.VISION MULTI-CAL B-83724EN/02
NOTE
Glossy materials are not recommended.
If a metal target is required, use one with a frosted surface, such as anodized
aluminum (duralumin).
A handy way to attach a target mark is to affix a sticker with that mark printed on
it.
Installation of the camera and Connect the camera to the controller or the iPendant, and
target mark then attach
The target mark and camera to the robots respectively.
Setting of vision data Move the robot to the position where calibration is to be
performed, so that the target mark comes into the field of view
of the camera.
Teach a model to be used for the vision function to detect the
target mark.
Creation of a TP program Check that the robot is at a position where the target mark is
within the field of view of the camera (calibration start
position). Move the robot if necessary.
Create a TP program for calibration.
Update of the calibration result Set the calibration result in the coordinated pair data.
Then, turn off the controller power and turn it back on to cold
start the controller.
A calibration TP program for a robot and a positioner has to be created manually. The procedure is
outlined below.
- 316 -
B-83724EN/02 13.VISION MULTI-CAL
Installation of the camera and Connect the camera to the controller or the iPendant, and
target mark then attach the target mark and camera to the robots
respectively.
Setting of vision data Move the robot to the position where calibration is to be
performed, so that the target mark comes into the field of view
of the camera.
Teach a model to be used for the vision function to detect the
target mark.
Execution of vision measurement Run the TP program to perform vision measurement for each
point.
Calibration and Calculate calibration data and between the robot and the
update of the result positioner. Set the calibration result in the coordinated pair
data.
Then, turn off the controller power and turn it back on to cold
start the controller.
The following section describes the detail of the method for Vision Multi-Cal. To set the calibration data
between two robots, refer to “13.2 PROCESS FOR VISION MULTI-CAL (TWO ROBOTS)”. To set the
calibration data between a robot and a positioner, refer to “0 This section describes the content of the
Vision Multi-Cal TP program and how the robots move when this program is run.
The content of the Vision Multi-Cal TP program is as follows.
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program VCRSM_CHECK, label
instructions, and jump instructions are added to the TP program as below so that efficient resuming of the
measurement can be done.
- 317 -
13.VISION MULTI-CAL B-83724EN/02
VMCAL_1
1: CALL VCRSM_CHECK('START') ;
2: UFRAME_NUM=0 ;
3: UTOOL_NUM=9 ;
4: ;
5: IF $VCRSM_CFG.$STEP_NUM>=2,
JMP LBL[2] ;
6: CALL VCRSM_CHECK(1) ;
7:J P[1] 30% FINE ;
8: CALL VTCPINIT('INIT',0) ;
9: CALL VTCPINIT ;
10: CALL VTCPSET('VSFT1',1) ;
11: ;
12: LBL[2] ;
13: IF $VCRSM_CFG.$STEP_NUM>=3,
JMP LBL[3] ;
14: CALL VCRSM_CHECK(2,1,2) ;
15: CALL VTCPSET('VSFT1',2) ;
16: ;
17: LBL[3] ;
18: CALL VCRSM_CHECK(3,1,2) ;
19: CALL VTHSCLB(1) ;
20: CALL VCRSM_CHECK('END') ;
[End]
Here is the explanation for each line of the TP program. The line number for 7DC3/10 (V8.30P/10) or
later software is noted in parentheses. The following is the explanation for 7DC3/09 (V8.30P/09) or
earlier software, so read the line number in parentheses if the software version is 7DC3/10 (V8.30P/10) or
later.
Line 1 (Line 2): The user frame number is always 0.
Line 2 (Line 3): The tool frame number is changed to that set in the schedule.
Line 4 (Line 7): This is the calibration start position. The two robots move in relation to this position.
Line 5 (Line 9): The initialization subprogram VTCPINIT is executed.
Line 6 (Line 10): The TCP of the leader group (group 1 in this example) is set.
Line 7 (Line 15): The TCP of the follower group (group 2 in this example) is set.
Line 8 (Line 19): The calibration data is calculated. The VTHSCLB parameter indicates the schedule
number.
If necessary, the intermediate point between the original point and the calibration start position may be
added before line 3 and the return operation to the original point after calibration and other instructions
may be added after line 7.
- 318 -
B-83724EN/02 13.VISION MULTI-CAL
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
Target
mark Camera
Leader group
Follower group
Installation example) In arc welding coordinated motion, it is common for the leader group to hold the
workpiece and for the follower group to hold the torch. In that case, the installation is easy to do if the
target mark is attached to the hand of the leader group or the workpiece held by it and the camera is
attached to the welding torch of the follower group.
To which robot to install the camera and to which robot to install the mark is left to the discretion of the
personnel. The system may be configured so that the leader group holds the camera and the follower
group holds the target mark.
Line 6: The TCP of the leader group (group 1 in this example) is set.
- 319 -
13.VISION MULTI-CAL B-83724EN/02
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
The first VTCPSET parameter VSFT1 indicates the vision data name specified in the schedule.
The second parameter indicates the group number of the robot.
The robot of only the leader group moves so that the mark is seen from many different directions from the
camera. The robot of the follower group does not move.
Set the TCP of the leader group at the center of the target mark.
Leader group
Follower group
(Move)
(Hold)
Line 7: The TCP of the follower group (group 2 in this example) is set.
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
- 320 -
B-83724EN/02 13.VISION MULTI-CAL
The robot of only the follower group moves so that the mark is seen from many different directions from
the camera. The robot of the leader group does not move.
Set the TCP of the follower group at the center of the reference mark.
Leader group
Follower group
(Hold)
(Move)
Line 8: The calibration data is calculated. The VTHSCLB parameter indicates the schedule number.
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
The subprogram VTHSCLB is executed. The robots of both the leader group and follower group move.
The leader group moves in the X, Y, and Z directions (tool frame of the camera), and the follower group
moves according to the leader group.
The calibration data (position and posture of the base coordinate system of the leader group relative to
that of the follower group) is calculated.
- 321 -
13.VISION MULTI-CAL B-83724EN/02
Leader group
Follower group
(Move)
(Move)
13.2.1 Preparation
Connecting and installing camera
Connect the camera to the robot controller or the iPendant.
Check that the camera image is properly displayed, as instructed in "3 BASIC VISION FUNCTION
OPERATION".
Secure the camera to the tool tip of either the leader group or follower group. Although there is no exact
specification as to the position where the camera is to be installed, make sure the camera is fixed securely
so that it does not move during measurement.
The camera may be installed on either the leader group robot or follower group robot.
- 322 -
B-83724EN/02 13.VISION MULTI-CAL
4 Select ”iRCalibration”.
UTILITIES iRCalibration
1/2
1 Vision MultiCal
2 Vision Master Recovery
5 Move the cursor to "Vision Multi-arm Frame Set" and press the F3 (DETAIL) or ENTER key.
The teach pendant displays the Vision Multi-Cal screen as shown below.
UTILITIES iRCalibration
Vision MultiCal 1/6
1 Schdule Number : [ 1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : ********
6 Show Result/Update
[ TYPE ]DISP_IMG
Schedule Number
The settings necessary for Vision Multi-Cal calibration and the calibration result are stored in system
variables called schedules. There are 10 schedules, from 1 to 10, allowing up to 10 different sets of
calibration setting and calibration result data. Here, specify the number of the schedule to be used
for calibration.
The settings and calibration results stored in schedules are retained even after the power of the
controller is turned off.
Setup
This item sets up the schedule necessary to perform calibration.
- 323 -
13.VISION MULTI-CAL B-83724EN/02
Vision Setup
This item teaches a model used for the vision function to detect the target, and adjust the parameters
used for target detection by the vision function.
Create Program
This item automatically creates a TP program for calibration according to the settings of the
schedule.
Run
The teach pendant displays the calibration TP program.
If the TP program is executed from the teach pendant, Vision Multi-Cal calibration is performed to
obtain the data on the relative position relationship between the robots.
Show Result/Update
This item displays the calibration result obtained by executing the TP program (data on the relative
position relationship between the robots).
The calibration result is set in the coordinated pair data (or in the user frame if the coordinated pair
option is not available).
UTILITIES iRCalibration
Vision MultiCal 1/6
1 Schdule Number : [ 1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : ********
6 Show Result/Update
[ TYPE ]DISP_IMG
- 324 -
B-83724EN/02 13.VISION MULTI-CAL
UTILITIES iRCalibration
Vision MultiCal 2/6
1 Schdule Number : [ 1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : ********
6 Show Result/Update
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Vision MultiCal: Setup 1/6
Schedule Number[ 1]
1 CD Pair : [1]
Leader Group : 0
Follower Group : 0
2 Program Name : ********
3 Vision Data : VSFT1
4 Utool Number : 9
5 Mean Error Register : R[ 0]
6 Max. Error Register : R[ 0]
[ TYPE ]
2 Move the cursor to "CD Pair", and enter the number of the desired coordinated pair.
The "Leader Group" and "Follower Group" fields respectively display the group numbers of the
leader group and follower group set for the coordinated pair corresponding to the specified number.
NOTE
This screen does not allow you to change the leader group number or the
follower group number. Use the coordinate pair setup screen to change the
leader group and follower group.
3 Move the cursor to "Program Name", and enter the name of the TP program for calibration.
4 Move the cursor to "Vision Data", and press F4 (SELECT). From the resulting list, select the name
of the vision data.
- 325 -
13.VISION MULTI-CAL B-83724EN/02
5 Move the cursor to "UTool Number", and enter the number of the tool frame to be used by the
calibration TP program.
NOTE
Execution of the calibration program changes the tool frame data in the tool.
Make sure the Utool Number is not used by other programs.
6 Move the cursor to "Mean Error Register", enter the number of the register to which to output the
mean error. If the mean error is not to be output to any register, enter 0 as the register number.
7 Move the cursor to "Max. Error Register", enter the number of the register to which to output the
maximum error. If the maximum error is not to be output to any register, enter 0 as the register
number.
The following is an example of the screen that might be displayed when the schedule setup is complete.
UTILITIES iRCalibration
Vision MultiCal: Setup 1/6
Schedule Number[ 1]
1 CD Pair : [1]
Leader Group : 1
Follower Group : 3
2 Program Name : VMCAL_1
3 Vision Data : VSFT1
4 Utool Number : 9
5 Mean Error Register : R[ 50]
6 Max. Error Register : R[ 51]
[ TYPE ]
The following table lists the items to be set on the setup screen when the coordinated pair option is
available.
- 326 -
B-83724EN/02 13.VISION MULTI-CAL
Item Explanation
UTool Number This item indicates the number of the tool frame to be used by the calibration TP program
Both the leader group and follower group use the same tool frame.
Note) The data of the specified tool frame is changed when the TP program is
executed.
Mean Error Register This item indicates the number of the register in which the mean calibration position error
(Default: 0) (mm) is to be set. When the register number is 1 or larger, the mean error is set in the
specified register when calibration is complete. When the register number is 0, the error
is not set in any register.
Max. Error Register This item indicates the number of the register in which the maximum calibration position
(Default: 0) error (mm) is to be set. When the register number is 1 or larger, the maximum error is
set in the specified register when calibration is complete. When the register number is 0,
the error is not set in any register.
UTILITIES iRCalibration
Vision MultiCal: Setup 1/8
Schedule Number[ 2]
1 UFrame Number(Calib Data): [ 0]
2 Leader Group : 0
3 Follower Group : 0
4 Program Name : ********
5 Vision Data : VSFT1
6 UTool Number : 9
7 Mean Error Register : R[ 0]
8 Max. Error Register : R[ 0]
[ TYPE ]
The calibration result (position and direction of the base coordinate system of the leader group relative to
that of the follower group) is set in the user frame of the follower group. In this screen, specify the
number of the user frame in which to set the calibration result, leader group number, and follower group
number, instead of a coordinated pair number. The other items are the same as when the schedule is set
up for a coordinated pair.
By default, 0 is shown in the "UFrame Number", "Leader Group", and "Follower Group" fields. Be sure
to set 1 or a larger number in these fields.
The "Program Name" field is blank by default. Enter a TP program name.
The following is an example of the screen that may be displayed when the schedule setup is complete.
- 327 -
13.VISION MULTI-CAL B-83724EN/02
UTILITIES iRCalibration
Vision MultiCal: Setup 1/8
Schedule Number[ 2]
1 UFrame Number(Calib Data): [ 2]
2 Leader Group : 1
3 Follower Group : 3
4 Program Name : VMCAL_2
5 Vision Data : VSFT1
6 UTool Number : 9
7 Mean Error Register : R[ 50]
8 Max. Error Register : R[ 51]
[ TYPE ]
The following table lists the items to be set on the setup screen when the coordinated pair option is not
available.
- 328 -
B-83724EN/02 13.VISION MULTI-CAL
UTILITIES iRCalibration
Vision MultiCal 3/6
1 Schdule Number : [ 1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : ********
6 Show Result/Update
[ TYPE ]DISP_IMG
The teach pendant displays the Vision Data Setup Screen as shown below.
iRCalibration
Vision Data Setup List 1/8
Teach the vision data corresponding to the data name specified on the schedule setup screen.
The Vision Data Setup Screen is the same as that displayed when "VISION SETUP" is selected from the
FCTN key menu. For details, refer to ”3 BASIC VISION FUNCTION OPERATION”.
- 329 -
13.VISION MULTI-CAL B-83724EN/02
UTILITIES iRCalibration
Vision MultiCal 4/6
1 Schdule Number : [ 1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VMCAL_1
6 Show Result/Update
[ TYPE ]DISP_IMG
UTILITIES iRCalibration
Message:
Program: VMCAL_1
is generated.
Press (NEXT).
NEXT
If there is any existing program that has the same name as the program being created, the teach pendant
displays a confirmation screen as shown below.
To create a new program by overwriting the existing program, press the F2 (YES) key.
To quit creating the program, press the F3 (NO) key.
UTILITIES iRCalibration
Message:
Program: VMCAL_1
OK to Delete & Re-generate program?
YES NO
- 330 -
B-83724EN/02 13.VISION MULTI-CAL
UTILITIES iRCalibration
Vision MultiCal 5/6
1 Schdule Number : [ 1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VMCAL_1
6 Show Result/Update
[ TYPE ]DISP_IMG
T2 30%
VMCAL_1
1/9
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',3)
8: CALL VTHSCLB(1)
[End]
POINT TOUCHUP
NOTE
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program
VCRSM_CHECK, label instructions, and jump instructions are added to the TP
program so that efficient resuming of the measurement can be done. For details,
refer to “13.3 VISION MULTI-CAL TP PROGRAM (TWO ROBOTS)”.
For 7DC3/10 (V8.30P/10) or later software, if the measurement is interrupted by
the release of the SHIFT key, the occurrence of an alarm or other reasons,
re-execute the TP program after moving the cursor to the first line. If a part of the
measurement has been completed, a message “Press 0 (restart) or 9 (resume)”
appears. Press the 0 key to restart the measurement from the beginning or the 9
key to resume the measurement.
- 331 -
13.VISION MULTI-CAL B-83724EN/02
When the program ends, the calibration data (position and posture of the master relative to the slave) is
stored in the schedule data. Also, the data is output to the specified registers if the mean error register and
maximum error register numbers are specified.
To display the Vision Multi-Cal screen after completing the program execution, press the MENU key and
select "UTILITIES" and then "iRCalibration" from the menu.
NOTE
If the TP program generates a “CVIS-021 Exceed VisPool” error but completed
its execution, the error can be safely ignored. However, if the “CVIS-021” error
stops program execution, cycle controller power and rerun the TP program
again.
Move the cursor to "Vision Multi-arm Frame Set", and press the F3 (DETAIL) key or the ENTER key.
UTILITIES iRCalibration
1/2
1 Vision MultiCal
2 Vision Master Recovery
Move the cursor to "Show Result/Update" on the Vision Multi-Cal screen, and press the ENTER key.
UTILITIES iRCalibration
Vision MultiCal 6/6
1 Schdule Number : [ 1]
2 Setup
3 Vision Setup
4 Create Program
5 Run : VMCAL_1
6 Show Result/Update
[ TYPE ]DISP_IMG
The calibration result display/update screen shown below will be displayed. The screen to be displayed
differs depending on whether the coordinated pair option is available or not.
- 332 -
B-83724EN/02 13.VISION MULTI-CAL
UTILITIES iRCalibration
Vision MultiCal: Update
CD Pair [1]
[ TYPE ] UPDATE
The screen displays the calibration result and the coordinated pair number for which the result is to be set.
UTILITIES iRCalibration
Vision MultiCal: Update
UFrame [G:3, 2]
[ TYPE ] UPDATE
The screen displays the calibration result, the group number, and the user frame number for which the
result is to be set.
NOTE
In order for the updated calibration data of the coordinated pair to take effect, the
controller needs to be cold started by turning its power off and then turning it
back on.
- 333 -
13.VISION MULTI-CAL B-83724EN/02
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
For 7DC3/10 (V8.30P/10) or later software, call instructions of the program VCRSM_CHECK, label
instructions, and jump instructions are added to the TP program as below so that efficient resuming of the
measurement can be done.
VMCAL_1
1: CALL VCRSM_CHECK('START') ;
2: UFRAME_NUM=0 ;
3: UTOOL_NUM=9 ;
4: ;
5: IF $VCRSM_CFG.$STEP_NUM>=2,
JMP LBL[2] ;
6: CALL VCRSM_CHECK(1) ;
7:J P[1] 30% FINE ;
8: CALL VTCPINIT('INIT',0) ;
9: CALL VTCPINIT ;
10: CALL VTCPSET('VSFT1',1) ;
11: ;
12: LBL[2] ;
13: IF $VCRSM_CFG.$STEP_NUM>=3,
JMP LBL[3] ;
14: CALL VCRSM_CHECK(2,1,2) ;
15: CALL VTCPSET('VSFT1',2) ;
16: ;
17: LBL[3] ;
18: CALL VCRSM_CHECK(3,1,2) ;
19: CALL VTHSCLB(1) ;
20: CALL VCRSM_CHECK('END') ;
[End]
Here is the explanation for each line of the TP program. The line number for 7DC3/10 (V8.30P/10) or
later software is noted in parentheses. The following is the explanation for 7DC3/09 (V8.30P/09) or
earlier software, so read the line number in parentheses if the software version is 7DC3/10 (V8.30P/10) or
later.
Line 1 (Line 2): The user frame number is always 0.
Line 2 (Line 3): The tool frame number is changed to that set in the schedule.
- 334 -
B-83724EN/02 13.VISION MULTI-CAL
Line 4 (Line 7): This is the calibration start position. The two robots move in relation to this position.
Line 5 (Line 9): The initialization subprogram VTCPINIT is executed.
Line 6 (Line 10): The TCP of the leader group (group 1 in this example) is set.
Line 7 (Line 15): The TCP of the follower group (group 2 in this example) is set.
Line 8 (Line 19): The calibration data is calculated. The VTHSCLB parameter indicates the schedule
number.
If necessary, the intermediate point between the original point and the calibration start position may be
added before line 3 and the return operation to the original point after calibration and other instructions
may be added after line 7.
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
Target
mark Camera
Leader group
Follower group
Installation example) In arc welding coordinated motion, it is common for the leader group to hold the
workpiece and for the follower group to hold the torch. In that case, the installation is easy to do if the
target mark is attached to the hand of the leader group or the workpiece held by it and the camera is
attached to the welding torch of the follower group.
To which robot to install the camera and to which robot to install the mark is left to the discretion of the
personnel. The system may be configured so that the leader group holds the camera and the follower
group holds the target mark.
- 335 -
13.VISION MULTI-CAL B-83724EN/02
Line 6: The TCP of the leader group (group 1 in this example) is set.
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
The first VTCPSET parameter VSFT1 indicates the vision data name specified in the schedule.
The second parameter indicates the group number of the robot.
The robot of only the leader group moves so that the mark is seen from many different directions from the
camera. The robot of the follower group does not move.
Set the TCP of the leader group at the center of the target mark.
Leader group
Follower group
(Move)
(Hold)
Line 7: The TCP of the follower group (group 2 in this example) is set.
- 336 -
B-83724EN/02 13.VISION MULTI-CAL
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
The robot of only the follower group moves so that the mark is seen from many different directions from
the camera. The robot of the leader group does not move.
Set the TCP of the follower group at the center of the reference mark.
Leader group
Follower group
(Hold)
(Move)
Line 8: The calibration data is calculated. The VTHSCLB parameter indicates the schedule number.
VMCAL_1
1: UFRAME_NUM=0
2: UTOOL_NUM=9
3: $VSHIFT_CFG.$VISION_TYPE=0
4:J @P[1] 30% FINE
5: CALL VTCPINIT
6: CALL VTCPSET('VSFT1',1)
7: CALL VTCPSET('VSFT1',2)
8: CALL VTHSCLB(1)
[End]
The subprogram VTHSCLB is executed. The robots of both the leader group and follower group move.
The leader group moves in the X, Y, and Z directions (tool frame of the camera), and the follower group
moves according to the leader group.
- 337 -
13.VISION MULTI-CAL B-83724EN/02
The calibration data (position and posture of the base coordinate system of the leader group relative to
that of the follower group) is calculated.
Leader group
Follower group
(Move)
(Move)
13.4.1 Preparation
Connecting and installing a camera
Connect the camera to the robot controller or the iPendant.
Check that the camera image is properly displayed, as instructed in "3 BASIC VISION FUNCTION
OPERATION".
Secure the camera to the tool tip of the robot. Although there is no exact specification as to the position
where the camera is to be installed, make sure the camera is fixed securely so that it does not move during
measurement.
- 338 -
B-83724EN/02 13.VISION MULTI-CAL
iRCalibration
Vision Data Setup List 1/8
- 339 -
13.VISION MULTI-CAL B-83724EN/02
VCMGCAL2
1: CALL VCRSM_CHECK('START') ;
2: UFRAME_NUM=0 ;
3: UTOOL_NUM=1 ;
4: ;
5: IF $VCRSM_CFG.$STEP_NUM>=2,JMP LBL[2] ;
6: CALL VCRSM_CHECK(1) ;
7:J P[1] 100% FINE ;
8: CALL VTCPINIT('INIT',0) ;
9: CALL VTCPINIT ;
10: CALL VTCPSET('VSFT1',1) ;
11: PAUSE ;
12: ;
13: LBL[2] ;
14: IF $VCRSM_CFG.$STEP_NUM>=3,JMP LBL[3] ;
15: CALL VCRSM_CHECK(2,1,2) ;
16: CALL VTOUCH(1,'VSFT1',3) ;
17: ;
18: !J1 Axis ;
19: LBL[3] ;
20: IF $VCRSM_CFG.$STEP_NUM>=4,JMP LBL[4] ;
VCMGCAL1 21:J P[1] 100% FINE ;
1: CALL VCRSM_CHECK('START') ; 22: CALL VCRSM_CHECK(3) ;
2: UFRAME_NUM=0 ; 23: CALL VTOUCH(1,'VSFT1',0) ;
3: UTOOL_NUM=1 ; 24: CALL VTRECP(1,1,1) ;
4: ; 25: ;
5: IF $VCRSM_CFG.$STEP_NUM>=2,JMP LBL[2] ; 26: LBL[4] ;
6: CALL VCRSM_CHECK(1) ; 27: IF $VCRSM_CFG.$STEP_NUM>=5,JMP LBL[5] ;
7:J P[1] 100% FINE ; 28:J P[2] 100% FINE ;
29: CALL VCRSM_CHECK(4) ;
8: CALL VTCPINIT('INIT',0) ;
30: CALL VTOUCH(1,'VSFT1',0) ;
9: CALL VTCPINIT ;
31: CALL VTRECP(1,1,2) ;
10: CALL VTCPSET('VSFT1',1) ;
32: ;
11: PAUSE ;
33: LBL[5] ;
12: ;
34: IF $VCRSM_CFG.$STEP_NUM>=6,JMP LBL[6] ;
13: LBL[2] ;
35:J P[3] 100% FINE ;
14: IF $VCRSM_CFG.$STEP_NUM>=3,JMP LBL[3] ;
36: CALL VCRSM_CHECK(5) ;
15: CALL VCRSM_CHECK(2,1,2) ;
37: CALL VTOUCH(1,'VSFT1',0) ;
16: CALL VTOUCH(1,'VSFT1',3) ;
38: CALL VTRECP(1,1,3) ;
17: ;
39: ;
18: !J1 Axis ;
40: !J2 Axis ;
19: LBL[3] ;
41: LBL[6] ;
20: IF $VCRSM_CFG.$STEP_NUM>=4,JMP LBL[4] ;
42: IF $VCRSM_CFG.$STEP_NUM>=7,JMP LBL[7] ;
21:J P[1] 100% FINE ;
43:J P[4] 100% FINE ;
22: CALL VCRSM_CHECK(3) ;
44: CALL VCRSM_CHECK(6) ;
23: CALL VTOUCH(1,'VSFT1',0) ;
45: CALL VTOUCH(1,'VSFT1',0) ;
24: CALL VTRECP(1,1,1) ;
46: CALL VTRECP(1,2,1) ;
25: ;
47: ;
26: LBL[4] ;
48: LBL[7] ;
27: IF $VCRSM_CFG.$STEP_NUM>=5,JMP LBL[5] ;
49: IF $VCRSM_CFG.$STEP_NUM>=8,JMP LBL[8] ;
28:J P[2] 100% FINE ;
50:J P[5] 100% FINE ;
29: CALL VCRSM_CHECK(4) ; 51: CALL VCRSM_CHECK(7) ;
30: CALL VTOUCH(1,'VSFT1',0) ;
52: CALL VTOUCH(1,'VSFT1',0) ;
31: CALL VTRECP(1,1,2) ; 53: CALL VTRECP(1,2,2) ;
32: ; 54: ;
33: LBL[5] ; 55: LBL[8] ;
34:J P[3] 100% FINE ; 56:J P[6] 100% FINE ;
35: CALL VCRSM_CHECK(5) ; 57: CALL VCRSM_CHECK(8) ;
36: CALL VTOUCH(1,'VSFT1',0) ; 58: CALL VTOUCH(1,'VSFT1',0) ;
37: CALL VTRECP(1,1,3) ; 59: CALL VTRECP(1,2,3) ;
38: ; 60: ;
39: CALL VCRSM_CHECK('END') ; 61: CALL VCRSM_CHECK('END') ;
[End] [End]
- 340 -
B-83724EN/02 13.VISION MULTI-CAL
The motion group in each sample program is [1, 1, *, *, *, *, *, *].
If the configuration of the motion group is the same as that of the sample program, copy the sample
program, and perform the following operations.
• Set the first argument of VTCPSET to the vision data name in "13.4.2 Setting of Vision Data", and
the second argument of VTCPSET to the robot group number in line 10.
• Refer to the example of TP program for a two-axis rotary table described later, teach the positions
and set the arguments of VTOUCH and VTRECP.
If the configuration of the motion group is not the same as that of the sample program, create a new TP
program, paste the copied contents of the sample program, and perform the following operations.
• Set the first argument of VTCPSET to the vision data name in "13.4.2 Setting of Vision Data", and
the second argument of VTCPSET to the robot group number in line 10.
• Set the second argument of VCRSM_CHECK to the robot group number and the third argument of
VCRSM_CHECK to the positioner group number in line 15.
• Refer to the example of TP program for a two-axis rotary table described later, teach the positions
and set the arguments of VTOUCH and VTRECP.
NOTE
For 7DC3/10 (V8.30P/10) or later software, VSETTCP can not be used. Replace
the VSETTCP program in line 4 with the following 3 lines.
CALL VTCPINIT('INIT',0) ;
CALL VTCPINIT ;
CALL VTCPSET('VSFT1',1) ;
1 Teach the initial position for measurement. This position is recommended to satisfy the following
conditions.
• The target is viewed near the center of a camera image.
• The target plane is almost parallel to the lens of the camera.
• The distance between the camera and the target is about 400 mm.
• A sufficient space is available to prevent peripheral interference during execution of the TP
program.
1: UFRAME_NUM=0 ;
2: UTOOL_NUM=2 ;
3:J P[1:J1-1] 100% FINE ;
4: CALL VSETTCP('VSFT1',50,100,1) ;
5: CALL VTOUCH(1,'VSFT1',3) ;
2 Call the program VSETTCP. During execution of this program, the robot automatically changes the
position and posture of the tool to show the target in different orientations to the camera. For details
of the arguments and the movement of VSETTCP, refer to “10.4.1 Vision TCP Set Program
(7DC3/09 (V8.30P/09) or earlier)”. For 7DC3/10 (V8.30P/10) or later software, VSETTCP is not
- 341 -
13.VISION MULTI-CAL B-83724EN/02
available, so replace VSETTCP with VTCPINIT and VTCPSET as the above note. For details of the
arguments and the operation by VTCPSET, refer to “10.4.2 Vision TCP Set Program (7DC3/10
(V8.30P/10) or later)”.
1: UFRAME_NUM=0 ;
2: UTOOL_NUM=2 ;
3:J P[1:J1-1] 100% FINE ;
4: CALL VSETTCP('VSFT1',50,100,1) ;
5: CALL VTOUCH(1,'VSFT1',3) ;
3 Call the program VTOUCH. This program performs the initial setting for measurement of the
reference points later. Specify the arguments below.
Argument 1: Specifies the group number of a robot used for VTOUCH.
Argument 2: Specify a vision data name (model name) by using a character string.
Argument 3: Specify the mode for VTOUCH.
In this case, Set 3 to execute initial setting and vision measurement.
1: UFRAME_NUM=0 ;
2: UTOOL_NUM=2 ;
3:J P[1:J1-1] 100% FINE ;
4: CALL VSETTCP('VSFT1',50,100,1) ;
5: CALL VTOUCH(1,'VSFT1',3) ;
After deciding the teaching points for the positioner, decide the teaching points for the robot. Set
target measurement positions as follows:
• The target is viewed near the center of a camera image.
• The target plane is almost parallel to the lens of the camera.
• The distance between the camera and the target is about 400 mm.
• A sufficient space is available to prevent peripheral interference during execution of the TP
program.
5 Change the storage form of the position data to Joint, if the position data is represented by Cartesian
coordinates.
- 342 -
B-83724EN/02 13.VISION MULTI-CAL
8: !J1 Axis ;
9:J P[1:J1-1] 100% FINE ;
10: CALL VTOUCH(1,'VSFT1',0) ;
11: CALL VTRECP(1,1,1) ;
12: ;
13:J P[2:J1-2] 100% FINE ;
14: CALL VTOUCH(1,'VSFT1',0) ;
15: CALL VTRECP(1,1,2) ;
16: ;
17:J P[3:J1-3] 100% FINE ;
18: CALL VTOUCH(1,'VSFT1',0) ;
19: CALL VTRECP(1,1,3) ;
20: ;
21: !J2 Axis ;
22:J P[4:J2-1] 100% FINE ;
23: CALL VTOUCH(1,'VSFT1',0) ;
24: CALL VTRECP(1,2,1) ;
25: ;
26:J P[5:J2-2] 100% FINE ;
27: CALL VTOUCH(1,'VSFT1',0) ;
28: CALL VTRECP(1,2,2) ;
29: ;
30:J P[6:J2-3] 100% FINE ;
31: CALL VTOUCH(1,'VSFT1',0) ;
32: CALL VTRECP(1,2,3) ;
NOTE
1 When calibrating axes, you must start from the J1 axis and follow the axis
order...
2 To get better calibration results, make each measurement position as far away
from each other as possible.
3 For positioners, calibrate one axis at a time. The other axes must remain at their
zero positions.
4 The angle for the second point must be larger than that for first point, and the
angle for third point must be larger than that for second point.
6 Call the program VTOUCH and perform vision measurement at the reference points. Specify the
arguments below.
Argument 1: Specifies the group number of a robot used for VTOUCH.
Argument 2: Specifies a vision data name (model name) by using a character string.
Argument 3: Specifies the mode for VTOUCH.
In this case, Set 0 to execute vision measurement.
8: !J1 Axis ;
9:J P[1:J1-1] 100% FINE ;
10: CALL VTOUCH(1,'VSFT1',0) ;
11: CALL VTRECP(1,1,1) ;
12: ;
13:J P[2:J1-2] 100% FINE ;
14: CALL VTOUCH(1,'VSFT1',0) ;
15: CALL VTRECP(1,1,2) ;
16: ;
17:J P[3:J1-3] 100% FINE ;
18: CALL VTOUCH(1,'VSFT1',0) ;
19: CALL VTRECP(1,1,3) ;
20: ;
21: !J2 Axis ;
22:J P[4:J2-1] 100% FINE ;
23: CALL VTOUCH(1,'VSFT1',0) ;
24: CALL VTRECP(1,2,1) ;
25: ;
26:J P[5:J2-2] 100% FINE ;
27: CALL VTOUCH(1,'VSFT1',0) ;
28: CALL VTRECP(1,2,2) ;
29: ;
30:J P[6:J2-3] 100% FINE ;
31: CALL VTOUCH(1,'VSFT1',0) ;
32: CALL VTRECP(1,2,3) ;
- 343 -
13.VISION MULTI-CAL B-83724EN/02
NOTE
Before the execution of VTOUCH whose third argument is 0, execute VTOUCH
whose third argument is 3, the line 6 in the above example.
7 Call the program VTRECP and record the position of reference points. Specify the arguments below.
Argument 1: Specifies the group number for the coordinated pair.
Argument 2: Specifies the axis number of the positioner to set.
Argument 3: Specifies the reference number corresponding to the number of positioner to set.
8: !J1 Axis ;
9:J P[1:J1-1] 100% FINE ;
10: CALL VTOUCH(1,'VSFT1',0) ;
11: CALL VTRECP(1,1,1) ;
12: ;
13:J P[2:J1-2] 100% FINE ;
14: CALL VTOUCH(1,'VSFT1',0) ;
15: CALL VTRECP(1,1,2) ;
16: ;
17:J P[3:J1-3] 100% FINE ;
18: CALL VTOUCH(1,'VSFT1',0) ;
19: CALL VTRECP(1,1,3) ;
20: ;
21: !J2 Axis ;
22:J P[4:J2-1] 100% FINE ;
23: CALL VTOUCH(1,'VSFT1',0) ;
24: CALL VTRECP(1,2,1) ;
25: ;
26:J P[5:J2-2] 100% FINE ;
27: CALL VTOUCH(1,'VSFT1',0) ;
28: CALL VTRECP(1,2,2) ;
29: ;
30:J P[6:J2-3] 100% FINE ;
31: CALL VTOUCH(1,'VSFT1',0) ;
32: CALL VTRECP(1,2,3) ;
NOTE
The sample program above has points to start measurement only, but the user
may add intermediate points before going to the measurement position.
NOTE
If the TP program is created by copying the sample program, call instructions of
the program VCRSM_CHECK, label instructions, and jump instructions are
added to the TP program so that efficient resuming of the measurement can be
done. If the measurement is interrupted by the release of the SHIFT key, the
occurrence of an alarm or other reasons, re-execute the TP program after
moving the cursor to the first line. If a part of the measurement has been
completed, a message “Press 0 (restart) or 9 (resume)” appears. Press the 0
key to restart the measurement from the beginning or the 9 key to resume the
measurement.
- 344 -
B-83724EN/02 13.VISION MULTI-CAL
If the screen for the unknown point calibration is not displayed, press the F2 [C_TYP] key and select
"Unknown Pt”.
After displaying the screen for unknown type calibration, confirm if all reference points for the
positioners are marked as RECORDED. If there is any reference point whose status is UNINIT, re-try the
vision measurement.
After confirming all reference points are marked as RECORDED, press the SHIFT key and F3 [EXEC]
key together.
SETUP Coord
1/6
Unknown type calibration Coord Pair: 1
Group Number Leader: 2 Follower: 1
X: ******** Y: ******** Z: ********
W: ******** P: ******** R: ********
Axis Number: 1 (Total: 2)
Axis Type: ROTARY
Axis Direction: +Y
Point 1 : RECORDED
Point 2 : RECORDED
Point 3 : RECORDED
By the calculation of calibration data, the following message is displayed. The data is retained even after
robot controller poweris turned off, until the calibration program is executed again.
SETUP Coord
1/6
Unknown type calibration Coord Pair: 1
Group Number Leader: 2 Follower: 1
X: 1435.026 Y: 0.001 Z: -181.155
W: 180.000 P: 0.302 R: 0.000
Axis Number: 1 (Total: 2)
Axis Type: ROTARY
Axis Direction: +Y
Point 1 : USED
Point 2 : USED
Point 3 : USED
NOTE
In order for the updated calibration data of the coordinated pair to take effect, the
controller needs to be cold started by turning its power off and then turning it
back on.
- 345 -
13.VISION MULTI-CAL B-83724EN/02
13.5 TROUBLESHOOTING
- 346 -
B-83724EN/02 INDEX
INDEX
Displaying the “Vision Axis Master” Screen................ 147
<A> Displaying the ”Vision Master Recovery" Screen ........ 107
ABOUT THIS MANUAL.................................................1 DISPLAYING THE RUNTIME MONITOR.................... 9
ABOUT VISION FRAME SET.................................... 237 Displaying the Vision Mastering Screen.................... 40,59
ABOUT VISION MULTI-CAL.................................... 314 Displaying the Wrist-Axis Vision Mastering Screen .... 205
ABOUT VISION SHIFT............................................... 269
Additional preparation for 4-axis/5-axis Robot............. 224 <E>
Additional Preparation for M-1iA/0.5A ........................ 224 Entering the CV Number of the Target Fixture............. 160
Adjusting detection parameters ....................................... 25 Example of Reference Pose .......................................... 101
ADJUSTING THE CAMERA ...................................... 187 Examples of Reference Pose ........................................... 34
Adjusting the exposure time............................................ 19 Execute the Measurement Program for Check.............. 122
ADJUSTING THE LENS .................................................9 Executing Measurement................................................ 163
ALL-AXIS VISION MASTERING.............................. 185 Executing Program........................................................ 331
An alarm occurs during executing the TP program....... 236 Executing the Measurement Program ................. 51,71,214
An alarm occurs during executing VTCPSET .............. 346 Executing the Measurement Program for Recovery ..... 127
Attaching Gauging Bracket for AMU ........................... 162 Executing the Measurement Program for Reference..... 120
Attaching the Measurement Target ............................... 197 Executing Vision Measurement ...................................... 89
Attaching the Target........................................................ 86 Executing Vision TCP Set ............................................ 227
AUTOMATIC MEASUREMENT................................ 231 Execution of TP Program.............................................. 344
Automatic Measurement for 4/5-axis Robot ................. 233
Automatic Measurement for 6-axis Robot .................... 232 <F>
AVAILABLE TARGET .......................................... 81,135 Features of the Vision Mastering Function, Including
Adjustment of Gravity Compensation Parameters ...... 32
<B>
Backing up Data............................................................ 289 <G>
Basic Functions ............................................................. 142 Generating a Measurement Program................... 41,62,110
BASIC VISION FUNCTION OPERATION ....................7 GENKOTSU VISION MASTERING............................. 82
<C> <I>
CALIBRATING THE CAMERA POSITION .............. 190 IMAGE DISPLAY DURING VISION
Calibration Grid ....................................................... 81,135 MEASUREMENT..................................................... 179
Canceling a Shift Operation .......................................... 299 IMPROVING THE ACCURACY OF TCP .................. 233
Checking Initial Settings ............................................... 274 Improving the Accuracy of X and Y Components of
Checking the Result of Shift Operation......................... 298 TCP ........................................................................... 233
COMPONENTS................................................................4 Improving the Accuracy of Z Component of TCP........ 234
CONNECTING A CAMERA ...........................................7 Initial Pose .................................................................... 199
Connecting the Camera to the Robot Controller or the Installation of AMU and Target Marks......................... 147
iPendant.........................................................................7 INSTALLATION OF THE CAMERA AND
Coordinated calibration setup........................................ 324 CALIBRATION GRID ............................................. 102
Creating and Testing Programs for Vision Shift INSTALLATION OF THE CAMERA AND TARGET. 35
Measurement ............................................................. 277 INSTALLATION OF THE SPECIAL SET OF PARTS186
Creating the Reference Pose ......................................... 206 Installing the Calibration Grid ...................................... 103
Creating the TP Program for Vision Frame Set ..... 245,254 Installing the Camera ............................................... 35,102
Creating the TP Program for Vision Frame Shift.......... 264 Installing the Target ........................................................ 37
Creation of TP Program ................................................ 339
<L>
<D> List of Data Used for Vision Shift ................................ 303
Detail Screen ................................................................... 16 List Screen ...................................................................... 12
Details of TP Programs ................................................. 304 Log File............................................................. 80,134,219
DETAILS OF TP PROGRAMS AND LOG FILE78,132,218 LOG FILE DETAILS ................................................... 183
Detection parameters....................................................... 25
Determining the Reference Pose ..................................... 33 <M>
DISPLAYING ALL-AXIS VISION MASTERING MEASUREMENT ........................................................ 192
SCREEN.................................................................... 186 MEASUREMENT BASED ON VISION SHIFT ......... 274
Displaying and Updating Calibration Result................. 332 MEASURING POSES FOR VISION MASTER
RECOVERY ............................................................. 101
i-1
INDEX B-83724EN/02
MEASURING POSES FOR VISION MASTERING ..... 32 Preparing the Camera and Measurement Target ........... 205
Measuring Reference Points after Reinstallation .......... 283 PROCESS FOR VISION MULTI-CAL (ONE ROBOT
Measuring Reference Points before Reinstallation ....... 281 AND ONE POSITIONER)........................................ 338
Menu Structure of Vision Data Setup Screen.................. 11 PROCESS FOR VISION MULTI-CAL (TWO
Model Training Screen.................................................... 18 ROBOTS).................................................................. 322
MODIFYING A UFRAME ON A REAL ROBOT Program Creation .......................................................... 329
BASED ON A UFRAME OF AN OFFLINE ROBOT PROGRAM SHIFT (ONLINE SHIFT FUNCTION).... 291
................................................................................... 248
Moving Axis to Measurement Position ......................... 162 <R>
MOVING TO THE START POSITION....................... 190 Recovering Mastering Status ........................................ 129
Reference Pose.............................................................. 202
<O> Relationship between Vision Shift and TP Programs ... 301
Offline Shift Operation ................................................. 290 Re-mastering after Replacement of Mechanical Parts .... 97
Offsetting the Tool Frame with VTOFSTUT................ 229 Replacing Robot Parts and Set Temporary Mastering
One-Point Shift Operation............................................. 295 Data ........................................................................... 126
Operating the model training screen ............................... 20 Resetting Alarms........................................................... 148
Operation in “Genkotsu Vision Mastering” Screen......... 93 Resetting Kinematic Parameters ..................................... 97
Operation in the “Select Axis Number” Screen ............ 156 Result of Vision TCP Set for 4-axis/5-axis Robot ........ 229
Operation in the “Select Reference Data” Screen ......... 150 Result of Vision TCP Set for a 6-axis Robot ................ 228
Operation in the “View Reference Data” Screen .......... 154 Robot Poses................................................................... 199
OPERATION OF GENKOTSU VISION MASTERING Running the TP Program for Vision Frame Set ..... 246,255
..................................................................................... 84 Running the TP Program for Vision Frame Shift (after
OPERATION OF VISION AXIS MASTER................. 144 relocation) ................................................................. 266
OPERATION OF VISION MASTER RECOVERY .... 105 Running the TP Program for Vision Frame Shift
OPERATION OF VISION MASTERING WITH THE (perform before relocation) ....................................... 265
GRAVITY COMPENSATION FUNCTION
ENABLED .................................................................. 56 <S>
OPERATION OF VISION MASTERING WITH THE SAFETY PRECAUTIONS ............................................ s-1
GRAVITY COMPENSATION FUNCTION Sample TP Program ...................................................... 301
UNAVAILABLE ........................................................ 38 SAVING AND READING VISION DATA................... 29
OPERATION OF WRIST-AXIS VISION Selecting a Vision Multi-Cal Schedule ......................... 324
MASTERING............................................................ 203 Selecting the Robot Motion Group .......... 225,240,250,260
Operation Procedure.......................................... 84,105,144 Selection of the measurement method........................... 272
Other Operations ........................................................... 286 Setting Camera.............................................................. 201
Outline of Measuring Poses ..................................... 32,101 Setting Countdown........................................................ 149
OUTLINE OF OPERATION ........................................ 186 Setting for TP Program ................................................. 225
Outline of the Operation Procedure.......................... 38,203 Setting of Vision Data................................................... 338
Outline of the Procedure ............................................... 259 Setting Parameters for Measurement and Display the
Outline of the TCP Set Procedure ................................. 221 Runtime Monitor ......................................................... 87
Outline of the Vision Master Recovery Procedure........ 100 Setting Robot Axes to Recover ..................................... 109
Outline of the Vision Mastering Procedure................ 31,57 Setting Robot Group Number ................................ 149,206
Outline of the Vision Multi-Cal Procedure ................... 316 Setting SONY XC-56........................................................ 7
Outline of TP Programs Used for Vision Shift.............. 300 Setting up a Vision Multi-Cal Schedule........................ 324
OUTLINE OF VISION SHIFT ..................................... 269 Setting up Vision.................................................... 277,329
Overall Configuration .................................. 30,98,196,220 Setup ............................................................... 240,251,260
OVERVIEW .............................................................. 3,314 Setup – UFrame Schedule............................................. 262
Overview of AMU ........................................................ 139 Setup – Vision Schedule ............................................... 241
OVERVIEW OF GENKOTSU VISION MASTERING. 82 Setup on the ”Vision Master Recovery” Screen ........... 108
Overview of Target Mark.............................................. 137 Setup on Vision Mastering Screen ............................. 40,60
OVERVIEW OF VISION AXIS MASTER.................. 136 SOFTWARE ..................................................................... 6
Overview of Vision Measurement................................. 140 SPECIFICATIONS OF TP PROGRAMS FOR VISION
SHIFT........................................................................ 300
<P> Specifying a Program for Shift Operation..................... 291
Parameter Setting Screen ................................................ 24 Starting and Ending Measurement Based on Vision
PARTS FOR ALL-AXIS VISION MASTERING ........ 185 Shift........................................................................... 274
PREFACE .........................................................................1 Subprograms Called from VSFINDi ............................. 308
Preparation .......................... 222,238,249,258,274,322,338 SYSTEM CONFIGURATION ....... 30,82,98,136,196,220,
Preparing the Camera ...................................................... 86 ..................................................................... 237,269,314
i-2
B-83724EN/02 INDEX
<T>
Teach Points.................................................... 243,253,263
Three-Point Shift Operation .......................................... 291
TP Program ....................................................... 78,132,218
TP Program to Execute Vision Measurement ................. 83
TROUBLESHOOTING .................................. 236,311,346
<U>
Uncoordinated calibration setup.................................... 327
Update of the Calibration Result ................................... 345
Updating Kinematic Parameters...................................... 95
Updating Mastering Data ............................. 53,73,193,216
Updating the User Frame ................................ 246,256,267
USING iRVision CAMERA ........................................... 27
<V>
Viewing and Saving Mastering Results .............. 55,77,217
Viewing and Saving Recovering Results ...................... 131
Viewing Results and Updating data .............................. 168
Viewing the Past Results............................................... 247
VISION AXIS MASTER.............................................. 136
VISION DATA SETUP SCREEN .................................. 10
VISION FRAME SET .................................................. 237
VISION FRAME SET PROCEDURE .......................... 238
Vision Frame Set Screen ........................................ 239,250
VISION FRAME SHIFT............................................... 257
Vision Frame Shift Screen ............................................ 258
Vision Function Setting................................................. 226
VISION MASTER RECOVERY.................................... 98
VISION MASTERING ................................................... 30
Vision Mastering Functions, Including Adjustment of
Gravity Compensation Parameters .............................. 56
VISION MULTI-CAL .................................................. 314
Vision Multi-Cal Screen................................................ 322
VISION MULTI-CAL TP PROGRAM (TWO
ROBOTS).................................................................. 334
VISION SHIFT ............................................................. 269
Vision shift procedure ................................................... 271
VISION TCP SET......................................................... 220
VISION TCP SET PROCEDURE ................................ 221
Vision TCP Set Program (7DC3/09 or earlier) ............. 231
Vision TCP Set Program (7DC3/10 or later)................. 232
Vision TCP Set Screen.................................................. 224
<W>
WRIST-AXIS VISION MASTERING ......................... 196
i-3
B-83724EN/02 REVISION RECORD
REVISION RECORD
Edition Date Contents
02 Sep., 2015 • Applied to 7DC3/10 (V8.30P/10)
01 Aug., 2014
r-1
B-83724EN/02
* B - 8 3 7 2 4 E N / 0 2 *