Denso Wincaps
Denso Wincaps
Denso Wincaps
WINCAPSII GUIDE
(Ver. 1.95)
Copyright © DENSO WAVE INCORPORATED, 2002
All rights reserved. No part of this publication may be reproduced in any form or by any means without
permission in writing from the publisher.
Specifications are subject to change without prior notice.
All products and company names mentioned are trademarks or registered trademarks of their
respective holders
Preface
Thank you for purchasing the WINCAPSII. It is designed for efficient program development and
verification of the DENSO robot on your PC connected to the robot controller (NetwoRC).
WINCAPSII also makes it possible to verify robot programs and data at a remote location via
telephone line.
On your PC, WINCAPSII allows you to simulate robot motions, variables, I/Os or manage
program files in units of project, helping you easily develop and manage programs.
Before using WINCAPSII, read this manual carefully to safely get the maximum benefit from
your WINCAPSII system.
WINCAPSII version is printed on the label of the WINCAPSII floppy disk or compact
disk. For the checking procedure of robot controller OS version, refer to the OWNER'S
MANUAL of your robot.
i
Contents of WINCAPS II
Important
To ensure operator safety, be sure to read the precautions and instructions in "SAFETY
PRECAUTIONS" pages 1 through 9.
NOTICE TO USER
DENSO WAVE INCORPORATED grants you a non-exclusive, non-transferable license to use
WINCAPSII ("Software").
1. COPYRIGHT
(1) The Software is protected by copyright laws and international copyright treaties, as well as
other intellectual property laws and treaties.
(2) All title and copyrights in and to the Software, the accompanying printed materials, and any
copies of the Software are owned by DENSO WAVE INCORPORATED.
2. GRANT OF LICENSE
(1) You may use one copy of the Software on a single computer at one time.
(2) You may either make one copy of the Software solely for backup or archival purposes, or
install the Software on a single computer provided you keep the original solely for backup or
archival purposes.
4. LIMITED WARRANTY
(1) If the Software disk is defective or the accompanying documentation is defective (e.g.,
omissions), the entire and exclusive liability and remedy shall be limited to either the repair or
replacement of the Software. This warranty is limited to two month period following your
receipt of the Software.
(2) In no event shall DENSO WAVE INCORPORATED be liable for any consequential,
incidental or special damages, including any lost profits or lost savings, even if a DENSO
WAVE INCORPORATED representative has been advised of the possibility of such
damages, or for any claim by any third party.
ii
Contents of WINCAPS II
iii
Before Using WINCAPS II
iv
How the documentation set is organized
BEGINNER’S GUIDE
Explains the outline of DENSO robot, operation with the teach pendant, and programming
with WINCAPS II by giving practical examples. Use this guidebook when you want to know
the fundamental usage of the robot.
SETTING-UP MANUAL - operation of the teach pendant, mini-pendant and operating panel -
Explains the basic operations and auxiliary functions of your robot, and operation of optional
equipment.
PROGRAMMER’S MANUAL
Explains the programming language (PAC), programming method with PAC, and command
specifications.
v
How this book is organized
This book is just one part of the documentation set. It consists of SAFETY PRECAUTIONS, ten
chapters, appendices, and index
SAFETY PRECAUTIONS
Defines safety terms and related symbols and provides precautions to be observed. Be sure to read
this section before operating your robot.
Describes the configuration of the personal computer teaching system and its features.
Describes how to make connections and setting of the personal computer teaching system.
Describes the procedures for starting and terminating the personal computer teaching system and
outlines the functions of each Manager.
Describes the functions and operation of the system manager that constitutes the nucleus of
WINCAPSII software to be used for the personal computer teaching system.
vi
How this book is organized
Index
vii
SAFETY PRECAUTIONS
SAFETY PRECAUTIONS
Be sure to observe all of the following safety precautions.
Strict observance of these warning and caution indications are a MUST for preventing accidents, which
could result in bodily injury and substantial property damage. Make sure you fully understand all
definitions of these terms and related symbols given below, before you proceed to the text itself.
Task program: Refers to a set of instructions for motion and auxiliary functions that define the specific
intended task of the robot system. (Quoted from the RIA Committee Draft.)
1
1. Introduction This section provides safety precautions to be observed during
installation, teaching, inspection, adjustment, and maintenance
of the robot.
2. Installation Precautions
2.1.1 For standard type The standard type has not been designed to withstand
explosions, dust-proof, nor is it splash-proof. Therefore, it
should not be installed in any environment where:
(1) there are flammable gases or liquids,
(2) there are any shavings from metal processing or other
conductive material flying about,
(3) there are any acidic, alkaline or other corrosive gases,
(4) there is cutting or grinding oil mist,
(5) it may likely be submerged in fluid,
(6) there is sulfuric cutting or grinding oil mist, or
(7) there are any large-sized inverters, high output/high
frequency transmitters, large contactors, welders, or other
sources of electrical noise.
2.1.2 For dust-proof, splash- The dust-proof, splash-proof type is an IP54-equivalent dust-
proof type proof and splash-proof structure, but it has not been designed
to withstand explosions. (The wrist of the VM-D-W or VS-E-W
is an IP65-equivalent dust-proof and splash-proof structure.)
Note that the robot controller is not a dust- or splash-proof
structure. Therefore, when using the robot controller in an
environment exposed to mist, put it in an optional protective
box.
The dust-proof, splash-proof type should not be installed in any
environment where:
(1) there are any flammable gases or liquids,
(2) there are any acidic, alkaline or other corrosive gases,
(3) there are any large-sized inverters, high output/high
frequency transmitters, large contactors, welders, or other
sources of electrical noise,
(4) it may likely be submerged in fluid,
(5) there are any grinding or machining chips or shavings,
(6) any machining oil other than DENSO authorized oil is in
use, or
Note: DENSO authorized oil: Yushiron Oil No. 4C (non-
soluble)
(7) there is sulfuric cutting or grinding oil mist.
2.2 Service space The robot and peripheral equipment should be installed so that
sufficient service space is maintained for safe teaching,
maintenance, and inspection.
2
SAFETY PRECAUTIONS
2.3 Control devices The robot controller, teach pendant, and operating panel should
outside the robot's be installed outside the robot's restricted space and in a place
where you can observe all of the robot’s movements when
restricted space
operating the robot controller, teach pendant, or operating
panel.
2.4 Positioning of gauges Pressure gauges, oil pressure gauges and other gauges should
be installed in an easy-to-check location.
3
2.8 Setting-up the safety A safety fence or enclosure should be set up so that no one can
fence or enclosure easily enter the robot's restricted space. If it is impossible,
utilize other protectors as described in Section 2.9.
(1) The fence or enclosure should be constructed so that it
cannot be easily moved or removed.
(2) The fence or enclosure should be constructed so that it
cannot be easily damaged or deformed through external
force.
(3) Establish the exit/entrance to the fence or enclosure.
Construct the fence or enclosure so that no one can easily
get past it by climbing over the fence or enclosure.
(4) The fence or enclosure should be constructed to ensure
that it is not possible for hands or any other parts of the
body to get through it.
(5) Take any one of the following protections for the entrance/
exit of the fence or enclosure:
1) Place a door, rope or chain across the entrance/exit of
the fence or enclosure, and fit it with an interlock that
ensures the emergency stop device operates
automatically if it is opened or removed.
2) Post a warning notice at the entrance/exit of the fence
or enclosure stating "In operation--Entry forbidden" or
"Work in progress--Do not operate" and ensure that
workers follow these instructions at all times.
When making a test run, before setting up the fence or
enclosure, place an overseer in a position outside the
robot’s restricted space and one in which he/she can
see all of the robot’s movements. The overseer should
prevent workers from entering the robot's restricted
space and be devoted solely to that task.
2.9 Positioning of rope or If it is not possible to set up the safety fence or enclosure
chain described in Section 2.8, hang a rope or chain around the
perimeter of the robot’s restricted space to ensure that no one
can enter the restricted space.
(1) Ensure the support posts cannot be moved easily.
(2) Ensure that the rope or chain’s color or material can easily
be discerned from the surrounds.
(3) Post a warning notice in a position where it is easy to see
stating "In operation--Entry forbidden" or "Work in progress
--Do not operate" and ensure that workers follow these
instructions at all times.
(4) Set the exit/entrance, and follow the instructions given in
Section 2.8, (3) through (5).
4
SAFETY PRECAUTIONS
2.10 Setting the robot's The area required for the robot to work is called the robot's
motion space operating space.
If the robot’s motion space is greater than the operating space,
it is recommended that you set a smaller motion space to
prevent the robot from interfering or disrupting other equipment.
Refer to the "INSTALLATION & MAINTENANCE GUIDE"
Chapter 4.
2.11 No robot modification Never modify the robot unit, robot controller, teach pendant or
allowed other devices.
2.12 Cleaning of tools If your robot uses welding guns, paint spray nozzles, or other
end-effectors requiring cleaning, it is recommended that the
cleaning process be carried out automatically.
2.14 Protection from objects If there is any risk of workers being injured in the event that the
thrown by the end- object being held by the end-effector is dropped or thrown by
the end-effector, consider the size, weight, temperature and
effector
chemical nature of the object and take appropriate safeguards
to ensure safety.
5
3. Precautions Touching the robot while it is
while robot is Warning in operation can lead to
running serious injury. Please ensure
the following conditions are
maintained and that the
cautions listed from Section
3.1 onwards are followed
when any work is being
performed.
1) Do not enter the robot's restricted space when the robot
is in operation or when the motor power is on.
2) As a precaution against malfunction, ensure that an
emergency stop device is activated to cut the power to
the robot motor upon entry into the robot's restricted
space.
3) When it is necessary to enter the robot's restricted
space to perform teaching or maintenance work while
the robot is running, ensure that the steps described in
Section 3.3 "Ensuring safety of workers performing jobs
within the robot's restricted space" are taken.
3.1 Creation of working When entering the robot’s restricted space to perform teaching
regulations and or maintenance inspections, set "working regulations" for the
following items and ensure workers adhere to them.
assuring worker
adherence (1) Operating procedures required to run the robot.
(2) Robot speed when performing teaching.
(3) Signaling methods to be used when more than one worker
is to perform work.
(4) Steps that must be taken by the worker in the event of a
malfunction, according to the contents of the malfunction.
(5) The necessary steps for checking release and safety of the
malfunction status, in order to restart the robot after robot
movement has been stopped due to activation of the
emergency stop device
(6) Apart from the above, any steps below necessary to
prevent danger from unexpected robot movement or
malfunction of the robot.
1) Display of the control panel (See Section 3.2 on the
following page)
2) Assuring the safety of workers performing jobs within
the robot's restricted space (See Section 3.3 on the
following page)
3) Maintaining worker position and stance
Position and stance that enables the worker to confirm
normal robot operation and to take immediate refuge if
a malfunction occurs.
6
SAFETY PRECAUTIONS
3.2 Display of operation To prevent anyone other than the worker from accessing the
panel start switch or the changeover switch by accident during
operation, display something to indicate it is in operation on the
operating panel or teach pendant. Take any other steps as
appropriate, such as locking the cover.
3.3 Ensuring safety of When performing jobs within the robot’s restricted space, take
workers performing any of the following steps to ensure that robot operation can be
stopped immediately upon a malfunction.
jobs within the robot's
restricted space (1) Ensure an overseer is placed in a position outside the
robot’s restricted space and one in which he/she can see
all robot movements, and that he/she is devoted solely to
that task.
Q An emergency stop device should be activated
immediately upon a malfunction.
R Do not permit anyone other than the worker engaged
for that job to enter the robot’s restricted space.
(2) Ensure a worker within the robot's restricted space carries
the portable emergency stop switch so he/she can press it
(the robot stop button on the teach pendant) immediately if
it should be necessary to do so.
7
3.4 Inspections before Before starting work such as teaching, inspect the following
commencing work items, carry out any repairs immediately upon detection of a
malfunction and perform any other necessary measures.
such as teaching
(1) Check for any damage to the sheath or cover of the
external wiring or to the external devices.
(2) Check that the robot is functioning normally or not (any
unusual noise or vibration during operation).
(3) Check the functioning of the emergency stop device.
(4) Check there is no leakage of air or oil from any pipes.
(5) Check there are no obstructive objects in or near the
robot’s restricted space.
3.5 Release of residual air Before disassembling or replacing pneumatic parts, first release
pressure any residual air pressure in the drive cylinder.
3.6 Precautions for test Whenever possible, have the worker stay outside of the robot's
runs restricted space when performing test runs.
8
SAFETY PRECAUTIONS
3.8 Precautions in repairs (1) Do not perform repairs outside of the designated range.
(2) Under no circumstances should the interlock mechanism
be removed.
(3) When opening the robot controller's cover for battery
replacement or any other reasons, always turn the robot
controller power off and disconnect the power cable.
(4) Use only spare tools authorized by DENSO.
4. Daily and periodical (1) Be sure to perform daily and periodical inspections. Before
starting jobs, always check that there is no problem with the
inspections robot and related equipment. If any problems are found,
take any necessary measures to correct them.
(2) When carrying out periodical inspections or any repairs,
maintain records and keep them for at least 3 years.
5. Management of (1) Carefully handle and store the "Initial settings" floppy disks
packaged with the robot, which store special data
floppy disks exclusively prepared for your robot.
(2) After finishing teaching or making any changes, always
save the programs and data onto floppy disks.
Making back-ups will help you recover if data stored in the
robot controller is lost due to the expired life of the back-up
battery.
(3) Write the names of each of the floppy disks used for storing
task programs to prevent incorrect disks from loading into
the robot controller.
(4) Store the floppy disks where they will not be exposed to
dust, humidity and magnetic field, which could corrupt the
disks or data stored on them.
9
10
CONTENTS
Preface.................................................................................................................................................................................i
Outline of Personal
Computer Teaching
System
1-1
1.2.1 RS232C Connection
This connection method uses an RS232C standard serial communication port.
Figure 1-1 shows the position of the RS232C communication port on the robot
controller.
Use the cross cable that conforms to the specifications described in
“Communication Cable” of Owner’s Manual (Installation & Maintenance).
Communication port
1-2
Chapter 1 Outline of Personal Computer Teaching System
Figure 1-2 shows the configuration of the personal computer teaching system
connected with RS232C.
Robot
Personal computer
RS232C cable
Robot controller
Power cable
Printer
Operating panel Teach pendant
CD-ROM
Fig. 1-2 Configuration of Personal Computer Teaching System Connected with RS232C
1-3
1.2.2 Ethernet Connection
This connection method uses an Ethernet communication network.
To effect this connection, ensure that the personal computer is compatible with
Ethernet and can be connected to the network.
The robot controller must be equipped with an Ethernet board (option).
Ethernet
1-4
Chapter 1 Outline of Personal Computer Teaching System
Robot
Robot controller
Power cable
Printer
Operating panel
Teach pendant
Straight cable
Example 2 - Straight cable communication
Personal computer
Robot
Straight cable Straight cable
communication communication
Robot controller
Power cable
Fig. 1-4 Configuration of Personal Computer Teaching System Connected with Ethernet
1-5
1.2.3 Modem Connection
This subsection describes how to connect the robot with a remote personal
computer through the telephone by connecting a modem to the RS232C
communication port of the robot controller.
This connection method requires a serial communication port obtained by
connecting a modem to the personal computer.
Figure 1-5 shows the RS232C communication port of the robot controller to
which the modem is connected.
Refer to “Communication Cable” in Owner’s Manual (Installation &
Maintenance) regarding the communication cable for connection with a
modem. Select the cable that meets the specifications of the modem to be
used.
Robot
Modular wall
Robot controller
Cable to
the main body
Modem
Operating panel
Teach pendant
TEL
1-6
Chapter 1 Outline of Personal Computer Teaching System
Figure 1-6 shows the configuration of the personal computer teaching system
connected with a modem.
Telephone
Network
Modem Modem
Telephone Telephone
set set
Robot controller
Personal
computer
Cable to
the main body
Power cable
Printer
Operating panel
Teach pendant
Fig. 1-6 Configuration of Personal Computer Teaching System Connected with a Modem
1-7
1.3 Security
For data control security reasons, the personal computer teaching system
divides users into two levels to limit operation and information that can be can
accessed.
Higher order users are identified via password to allow access to higher
operation and information.
Note: The range of accessible information varies with the user level. If
necessary information is not printed by printing operation, select
Re-Login from the Tools menu of the System Manager to change
the user level and proceed with printing again. For information
regarding Re-Login, refer to “4.3.3 Re-Log In”.
1-8
Chapter 1 Outline of Personal Computer Teaching System
1.3.2 Password
The user will be prompted to enter a password in the following cases:
• When starting WINCAPSII
• Immediately upon selecting Set in each Manager
• Immediately upon selecting Print in each Manager
Once correctly entered, the password will not be requested before the session
is over.
When a password is required, the Password window as shown in Fig. 1-7 will
appear. Select the user level from the popup menu and enter the password
correctly as required. Press OK to proceed.
When using the system for the first time, enter an optional password. It will be
automatically registered.
Note: A distinction is made between upper and lower case letters in the
password.
To change the user level during processing, select Re-Login from the Tools
menu of the System Manager, change the user level and enter the password
again.
1-9
Fig. 1-9 Password
1-10
Chapter 2
Setting Personal
Computer Teaching
System
2-1
2.1.1 Installation Procedures
Install the WINCAPS II according to the following procedure.
Note: f you install the WINCAPS II from the floppy disks, proceed
to the STEP 3.
Click Start at Windows 95 and then click Run. Type the WINCAPS II
"STEP 3 installer name in the Open box and click OK.
Note: When loading software from floppy disks, insert DISK-1 into
a floppy disk drive and then select Setup.exe file.
2-2
Chapter 2 Setting Personal Computer Teaching System
"STEP 5
The directory where WINCAPSII will be installed is indicated at
Directory.
If OK, click on button to start setup. Proceed to STEP 13.
To change the directory (not recommended), click on Change
Directory.
2-3
Enter a desired directory for installation. Click on OK to start
"STEP 6 Installation.
Hereafter, proceed with your operation interactively according to the
messages displayed on the screen.
2-4
Chapter 2 Setting Personal Computer Teaching System
2-5
2.1.2 Uninstall
Note: Always quit all the applications currently running before you install
or uninstall software. Shared components, if they are running,
cannot be installed or uninstalled. If a shared component that
WINCAPSII is to use is being used by another application, the
install/uninstall process may fail.
Click on Start at Windows 95 and select and open Control Panel from
"STEP 1 the Settings menu.
2-6
Chapter 2 Setting Personal Computer Teaching System
2-7
Uninstall begins.
"STEP 6 If the Shared Component window appears in the middle of the screen,
click on Remove None. (Shared components are not deleted.)
2-8
Chapter 2 Setting Personal Computer Teaching System
Note: Always turn both the personal computer and the controller OFF
before proceeding with connection work. Otherwise the equipment
may be damaged.
2.2.1 RS232C
This subsection describes RS232C connection. Use the COM2 port on the
robot controller for communication with the personal computer.
For connection between the computer and other peripheral equipment, refer to
respective instruction manuals.
"STEP 1
Connect an RS232C communication cross-cable to the robot
controller. Insert it securely in the controller and tighten the screws.
2-9
Connect the other end of the RS232C communication cross-cable to
"STEP 2 the communication port on the personal computer. Insert it securely
in the computer and tighten the screws.
2-10
Chapter 2 Setting Personal Computer Teaching System
2-11
Press F4 Set Com.
"STEP 2 The Communications Setting Menu appears on the screen.
"STEP 3
Press F2 Serial IF.
The Set RS-232C window appears on the screen.
2-12
Chapter 2 Setting Personal Computer Teaching System
"STEP 6
Check the display contents and press OK.
The set transfer rate becomes valid.
2-13
Press F1 Permit. in the Communications Setting Menu window.
"STEP 7
"STEP 8
Select COM2 and press F5 Change.
The Change Permission Settings window appears on the screen.
2-14
Chapter 2 Setting Personal Computer Teaching System
Note: You cannot select Read/Write Enabled for both RS232C and
Ethernet simultaneously.
2-15
Check the display contents and press OK.
"STEP 10 The permission setting is enabled.
2-16
Chapter 2 Setting Personal Computer Teaching System
"STEP 2
Click on Set communication button .
The ROBOTalk Manager starts up and the ROBOTalk Manager window
appears on the screen.
If a password has not been input, the Password dialog box will appear on
the screen. Enter the password. For the method of entering a password,
refer to “1.3.2 Password”.
Setting communication
2-17
Select RS232C(R) in the Communication Device column.
"STEP 4 Set the data as shown below in the Optional Settings column.
Timeout : 4000 msec
Retry : 5 times
Communication retry : 5 times
Click on OK.
"STEP 6 The ROBOTalk Manager window closes.
2-18
Chapter 2 Setting Personal Computer Teaching System
When the respective managers are started from the system manager button
and set for connection, corner marks will appear on each manager button.
For information on how to connect each manager, read the descriptions on the
operation of each manager in chapters 5 through 10.
2-19
2.2.2 Telephone Line
A telephone line needs to be set up for the personal computer and robot
controller for telephone communication.
2-20
Chapter 2 Setting Personal Computer Teaching System
2-21
Press F3 Modem.
"STEP 3 The Set Modem window appears on the screen.
2-22
Chapter 2 Setting Personal Computer Teaching System
"STEP 1
Click on Setting communication button of the System Manager.
The ROBOTalk Manager starts and the ROBOTalk Manager window
appears on the screen.
If a password is not yet input, the Password dialog box appears. In this
case, input the password. For the method of entering a password, refer to
“1.3.2 Password”.
Enter each item by referring to the descriptions in Table 2-1 and click
"STEP 3 on OK.
Items Description
2-23
2.2.2.4 Connecting to Robot Controller
Upon selecting the telephone line for the communication device as a result of
the setting operation in the preceding item “2.2.2.3 Setting the Personal
Computer, the Setting communication button of the System Manager will
appear as shown below:
When the respective managers are started from the system manager button
and set for connection, corner marks will appear on each manager button.
For information on how to connect each manager, read the descriptions on the
operation of each manager in chapters 5 through 10.
2-24
Chapter 2 Setting Personal Computer Teaching System
2.2.3 Ethernet
Setting is required to enable communication between the personal computer
and the robot controller by connecting them via Ethernet.
2-25
2.2.3.2 Setting Robot Controller
Set the robot controller to use the Ethernet port for the personal computer
teaching system. Make this setting using the teach pendant.
Specify the permission setting.
In the present stage, you cannot set the IP address (your IP address) and gate
address (gateway IP address).
2-26
Chapter 2 Setting Personal Computer Teaching System
Press F1 Permit.
"STEP 3 The Communication Permission Settings window appears on the screen.
2-27
Select Read/Write.
"STEP 5
Note: You cannot select Read/Write Enabled for both RS232C and
Ethernet simultaneously.
2-28
Chapter 2 Setting Personal Computer Teaching System
2-29
Press F4 Set Address.
"STEP 7 The Set Controller IP Address window appears.
2-30
Chapter 2 Setting Personal Computer Teaching System
"STEP 1
Click on the Setting communication button of the System
Manager.
The ROBOTalk Manager starts and the ROBOTalk Manager window
appears on the screen.
If a password is not yet input, the Password dialog box appears on the
screen. In such a case, enter the password. For information regarding how
to enter a password, refer to “1.3.2 Password” on page 1-9.
2-31
Enter data in Controller IP, Connection Port, and Local Port at
"STEP 3 Optional Setting and then click on OK.
Controller IP is the IP address of the party at the destination. Match it to
the desired party for connection. (For example, an IP address such as
192.168.0.1).
Communication Port is the local port number of the opposite party at
destination. Match it to the desired party for connection. (For example,
4112).
Local Port is the port number for own use. In principle it should be over
1024 and may be freely set if it does not infringe on others within the same
network.
Items Description
2-32
Chapter 2 Setting Personal Computer Teaching System
Select Settings and Control Panel in this order from the START of
"STEP 1 Windows 95.
The Control Panel window will appear on the screen.
2-33
Click on Network in the Control Panel window.
"STEP 2 The Network dialog box will appear on the screen.
Click on the Configuration tab. If the TCP/IP item is not found in the
"STEP 3 currently installed network components, click on Add.
If TCP/IP exists, jump to STEP 6.
2-34
Chapter 2 Setting Personal Computer Teaching System
The Select Network Protocol dialog box will appear on the screen.
"STEP 5 Select Microsoft from Manufacturers. Select TCP/IP in Network
Protocols that appears on the right-hand side and click on OK.
This results in the addition of the TCP/IP protocol.
2-35
Again select the Configuration tab in the Network dialog box. Then,
"STEP 6 select the TCP/IP item from the following installed network
components and click on Properties.
2-36
Chapter 2 Setting Personal Computer Teaching System
2-37
Lastly select Identification tab and input a computer name and a
"STEP 8 workgroup.
The computer name may be entered as desired, but give it the same name
here as the login name entered at Windows startup.
The work group will be tentatively made to read fa.denso.co.jp.
Click on OK.
This completes the network environment setting.
Refer to the Windows 95 instruction manual or ask the network
administrator for further information.
2-38
Chapter 2 Setting Personal Computer Teaching System
When the respective managers are started from the system manager button
and set for connection, corner marks appear on each manager button. For
information regarding how to connect each manager, read the descriptions on
the operation of each manager in chapters 5 through 10.
2-39
Chapter 3
Starting Teaching
System and
Knowing Each
Manager
All these function modules are controlled by the System Manager. That is, all
the functions of WINCAPS II should be called from the System Manager before
they are implemented.
To use the personal computer teaching system, start the System Manager first.
Click Start at Windows 95. Point to Programs, and then click System
"STEP 1 Manager in the WINCAPS II folder.
3-1
The WINCAPS II Information window appears. Read the information and
"STEP 2 click OK.
Note: If you click the check box “Omit this message” at the lower
left of the screen, the above window will not appear from the
next startup operation.
The License Information window does not appear until you enter your
"STEP 3 license key. Enter User ID printed in the license card and click OK.
Note: For detail on entering the license key, refer to 4.5.3 License
Key. Once you enter your license key, this window will not
appear from the next startup operation.
When starting the System Manger after initial installation of WINCAPS II,
"STEP 4 create a program bank.
You need to create a project when activating the WINCAPS II for the first
"STEP 5 time after installation, because no system project has been defined.
3-2
Chapter 3 Starting Teaching System and Knowing Each Manager
"STEP 6 When the WINCAPS II is activated the second time and after, the dialog
box "Open Project" appears. Select a desired project. The default is the
previously used project.
The Password window appears. Select the user level from the pop-up
"STEP 7 menu, enter the password if necessary, and then click OK.
The dialog box appears with the message “Connect with the controller? ”.
"STEP 8 Click No.
3-3
3.2 Terminating Personal Computer
Teaching System
To terminate the personal computer teaching system, you need to terminate
the programs of both personal computer and Robot Controller.
3-4
Chapter 3 Starting Teaching System and Knowing Each Manager
3-5
Manager Functions Reference
Variable Manager: 1. Monitor the variables. 6.4
Backs up or 2. Operates the variables data. 6.1.3
monitors the
variables used by 3. Prints the variables table. 6.2.6
the Robot 4. Backs up data in the variables table. 6.2.4
Controller.
5. Creates a macro definition file for variables. 6.2.7
6. Transfers the variables table between personal 6.2.5
computer and the Controller.
7. Sends messages via RS232C. 6.5.2
DIO Manager: 1. Monitors the I/O status. 7.4.3
Monitors the I/O 2. Changes the I/O status according to dummy input. 7.4.4
status and sets
dummy I/O data 3. Prints the I/O table. 7.2.6
4. Backs up the I/O table data. 7.2.3
5. Creates the macro definition file for assigning I/O data. 7.2.7
6. Transfers the I/O table between the personal computer 7.2.5
and the controller.
Arm Manager: 1. Monitors the current position of robot arm. 8.4
Monitors the current 2. Views the work number and the tool number. 8.5
robot arm position,
work number, and 3. Gets the current position into pose data. 6.4.4
tool number. 4. Simulates robot movements. 8.6.2
5. Sets the parameters related with the robot arm. 8.6.1
6. Defines the tool coordinate system. 8.6.1
7. Defines the work coordinate system. 8.6.1
8. Defines the area. 8.6.1
9. Object tree 8.6.3
* Defines the object drawn in the robot display.
10. Converts pose data. 8.6.4
* Type conversion among P, J, T type data
3-6
Chapter 3 Starting Teaching System and Knowing Each Manager
3-7
Chapter 4
System Manager
The System Manager makes controls the overall data files controlled by other
managers, as a system project. It also controls communication setting and
password setting.
Respective managers can be used by calling them from the System Manager.
To start the System Manager, select the System Manager program with the
Start key of Windows. When started, the main screen of WINCAPSII and the
System Manager window appear on the screen.
For starting procedure details, refer to Chapter 3 “3.3.1 Starting System
Manager” in this manual.
4-1
4.1.2 Tool Bar
Tool bar
Communication
PAC Program set button
Manager button
4-2
Chapter 4 System Manager
4-3
4.1.3 System Project Management
When developing a program using WINCAPSII, in addition to the program
data, a number of data such as variables and parameters that accompany the
operation of the program have to be processed.
With WINCAPSII, the System Manager manages programs and the related
groups of data, in terms of a system project. This management information is
stored in the system project file (SPJ file). The system project file controls all
information needed for operating a unit of the robot.
Note: Each Manager has a current folder. These Managers output their
respective control files to their current folders.
Immediately after newly creating a system project, all the
Managers use the same current folder.
When respective Managers newly create files, the current folder
will not be changed, unless the folder is changed.
If the current folder is changed, a reference path for the input file
will be required using #INCLUDE statement and other file input
commands.
4-4
Chapter 4 System Manager
System Manager
(including
communication
setting)
System project file
∗.SPJ (including communication setting)
var_tab
∗.BNK ∗.PPJ
.h
∗.MDL Model
Program Program Micro data file
bank file project file arm_cnf
definition file com_chf
.h
.h
Arm configuration
macro definition file Configuration macro
definition file
∗.LNK
*.LNK ∗.PAC Program file
dio_tab Micro
Make file .h Definition file
vis_tab
.h
Macro
∗.RIC Intermediate file definition file
dio_cnf
.h
vis_chf Configuration
Configuration macro .h macro
definition file definition file
∗.MAP ∗.NIC
4-5
Desktop
Personal computer
(C:)
Program files
Wincaps 2
Ira-0000
∗SPJ
System project file
(including communication setting)
∗PAC
Program file
∗.h
Macro definition file
4-6
Chapter 4 System Manager
4-7
4.1.4 Menu List
The System Manager command menu has the following tree structure:
File
New Project
Open Project
Save Project
Save Project As
Transfer Project
Project information
Exit
Tools
Set Communication
Change Password...........(Programmer Level)
Re-Login
Read FD Images
Write FD Images
Window
PAC Manager
Variable Manager
DIO Manager
Arm Manager
Vision Manager
LOG Manager
Help
License Key
System Extension
About System Manager
4-8
Chapter 4 System Manager
Note: The New Project and Open Project menu commands are invalid
when any of PAC, DIO Arm, Vision and LOG Managers is
connected.
4-9
• Robot Series: Select a desired robot series.
• Type: Select a robot type from "Robot Series."
• Environment: Select environment according to the selected robot.
• Additional Axis: Select whether there is an additional axis.
• Stroke: Displayed for each robot type as required. Select this
item according to the selected robot.
• Project Name: Enter the project name.
• Folder: Describes a folder for storing the project. You can
select a folder path by clicking the Folder button.
• Output Code: Sets a version of the execution program to be created
according to the version of the connected controller.
• Facility Type: Select a facility type. A program library necessary for
the type selected here is automatically added to the
PAC program manager. If Standard is selected,
nothing will be added.
• New Folder: After clicking, the New Folder Window appears. The
new folder can be created by entering the folder name.
4-10
Chapter 4 System Manager
The files that contain the project management information have the extension
file name “.spj”. Select a file having the “.spj” extension for the project name.
Click on the Move up one holder level button or the folder in the display
box, and you can change the path.
When you click on a file having an “.spj” extension, the file name is entered in
the File name box. Click on Open to opens the project.
To close the dialogue box without opening the project, click on Cancel.
4-11
4.2.5 Transfer Project
This command transmits the system project data. In the Robot Controller, this
command is used for backing up the data.
Data may be transmitted in a batch, or may be transmitted in parts by selecting
each Manager data from the transmission table.
4.2.7 Exit
This command terminates the WINCAPSII application software.
The functional managers opened from the System Manager are simultaneously
terminated.
4-12
Chapter 4 System Manager
4-13
Fig. 4-13 ROBOTalk Manager Window
Note: The OK and UPDATE (A) buttons are invalid when one of the PAC,
Variable, DIO, Arm, Vision or LOG Managers is in connection or the
user level is set to “0-Operator”.
4-14
Chapter 4 System Manager
[ 1 ] ROBOTalk
Click on ROBOTalk tab in the ROBOTalk Manager window, and the screen
shown in Fig. 4-14 appears.
Communication Device
Select a communication device to use for communication with the Robot
Controller by clicking on a desired device.
The Set Communication button icon in the System Manager changes to the
communication device selected here.
RS232C is selected.
Ethernet is selected.
Setting Option
Timeout: Sets the waiting time, for error judgment when no
response is received from the Robot Controller.
Default: 4000 msec.
Retry: Sets the number of retries, when a timeout error is
generated in communication.
Default: 5 times
Communication retry: Sets the number of retries when an error is generated
in communication.
Default: 5 times
4-15
[ 2 ] RS232C
Click on RS232C tab of the ROBOTalk Manager window to display the screen
shown in Fig. 4-15.
Set the required data on this screen to enable connection between the
personal computer and the Robot Controller directly with the RS232C cable.
COM Port
Select the communication port to be used on the personal computer. When you
click on the arrow , the options appear in a pull-down menu.
Baud Rate
Select the baud (communication) rate. When you click on the arrow , the
options appear in a pull-down menu.
Note: The faster the communication speed, the more frequently the
communication error tends to occur.
Parity Bit
Select the parity check bit. Click on the arrow to display the options in a
pull-down menu.
4-16
Chapter 4 System Manager
Normal
Set all RS232C related items to normal settings.
Communication port : COM1
Baud rate : 19200
Parity bit : N-No parity
Data bit length :8
Stop bit length :1
[ 3 ] Telephone
Click on Telephone tab in ROBOTalk Manager dialogue box to display the
screen shown in Fig. 4-16.
Set the required data on this screen to enable connection between the
personal computer and Robot Controller using a telephone line.
Modem
The above dialog box shows the currently selected modem. Click on the arrow
to display the options in a pull-down menu.
By clicking on Modem icon in the control panel, you can select a registered
modem.
For how to use the Modem in the control panel, refer to the instruction manual
for Windows 95.
Location
Select the location where the personal computer is used. Clicking on the arrow
to display the options in a pull-down menu.
You can select a registered location by the following dial settings:
4-17
TEL Number
Enter the telephone number of the other party to which you intend to connect.
Only enter the numerical characters. Hyphen, bracket, or the other signs are
not usable for entry of telephone number.
Automatic Answer
If you put a checkmark in Automatic Answer check box, the personal computer
automatically answer the calls.
Set Modem
This column shows the property of the selected modem.
For details on modem property setting, refer to the instruction manual for
Windows 95.
Set Dial
This column displays the dial property.
For details on dial property setting, refer to the instruction manual for Windows
95.
ONHOOK
Press the ONHOOK button to disconnect the telephone connection.
Note: Connection with a telephone line is possible only when the modem
is installed. For details on modem installation, refer to Chapter 2
“2.2.2 Telephone Line” in this manual.
4-18
Chapter 4 System Manager
[ 4 ] Ethernet
Click on Ethernet tab on the ROBOTalk Manager dialogue box to display the
screen shown in Fig. 4-17.
Set the required data on this screen to enable connection between the
personal computer and Robot Controller using Ethernet.
Controller IP
Enter the IP address or the host name of the opposite station.
Connection Port
Enter the port number of the opposite station. Always set this number to 4112.
Local Port
Enter the port number of the personal computer.
Always set this number to 0 (zero).
4-19
[ 5 ] Communication Log
Click on Comm. Log tab on the ROBOTalk Manager dialogue box to display
the screen shown in Fig. 4-18.
The communication log function is used for checking the communication state.
Use this function for checking the line condition, should you have a
communication error.
Note: If timeout occurs for reasons other than connection failure, extend
the timeout duration as noted in Chapter 4 “Setting Option” on
page 4-15.
4-20
Chapter 4 System Manager
At User Changed to, select the user level whose password is to be changed.
At Old Password, enter the previous password.
At New Password, enter a new password.
At Verify New Password, re-enter the new password for verification.
After correctly entering all the items, click on OK.
To cancel change of password, click on Cancel.
4-21
4.3.3 Re-Log In
Use this function when changing the user level.
4-22
Chapter 4 System Manager
4-23
Click on Next.
"STEP 2
Creating new system project: A folder and a system project file are
newly created. The read data is
merged in that project.
Merging to existing project: The read date is merged in the
existing project.
Reference: Select an existing system project.
Back: Return to the initialize the screen.
Next: Proceed to the read a data object
select screen.
Cancel: End
4-24
Chapter 4 System Manager
If the floppy disk has different data from the object being read, a message
appears prompting you to change disks. Replace with the correct disk and
click on OK. Clicking on Cancel returns the display to the object data
select screen.
When the correct disk is inserted, the object data is read. Reading
progress is indicated with a bar graph.
4-25
When the data is read normally, an indication to that effect appears.
"STEP 5 Click on Complete.
4-26
Chapter 4 System Manager
Click on Next.
"STEP 2
4-27
The following message appears requesting you to insert formatted
"STEP 4 floppy disk. Insert a formatted floppy disk into the floppy drive and
click on OK.
If the inserted floppy disk already has data on it, the system asks if it is OK
to delete it.
Clicking on Yes deletes the file on the floppy disk.
Clicking on No returns the display to the object data select screen.
When the correct disk is inserted, the object data is read. Reading
progress is indicated with a bar graph.
4-28
Chapter 4 System Manager
4-29
4.4 Window Menu
4-30
Chapter 4 System Manager
4-31
4.5 Help Menu
The Help menu provides useful information on how to use WINCAPSII.
4-32
Chapter 4 System Manager
Enter the User ID printed in the license card and click Add.
"STEP 1
Confirm that the entered User ID is displayed in the license key list
"STEP 2 and then click OK.
4-33
4.5.2 System Extension
Even in WINCAPSII Version 1.9 or later, you may resist or delete optional
functions that the robot controller will use.
When WINCAPSII and the controller are in connection, select the “System
Extension” of the Help Menu. The System Extension screen appears.
After inputting the specified ID Number, resist or delete the optional function by
pressing the “Add” or “Remove” button.
4-34
Chapter 5
Operating PAC
Program Manager
Tool bar
5-1
SAVE PROJECT Button
Saves the state of all programs and projects currently being edited.
TRANSMIT Button
Transmits data between the Robot Controller and the personal computer.
Note: For the group setting, refer to Chapter 5 “5.2.5.4 Group” in this
manual.
STOP Button
Stops the creation of the execution program.
HELP Button
Displays the descriptions of commands (COMMAND HELP).
5-2
Chapter 5 Operating PAC Program Manager
Start
Start monitor
Refer to “5.6.4 Program Monitor”.
End
5-3
Start
No
Number of
errors = 0
Yes
No
Motion OK?
Yes
End
5-4
Chapter 5 Operating PAC Program Manager
Program
Manager
∗.RIC Intermediate
file
Cross
reference file
5-5
5.1.4.1 Program Project File (*.PPJ)
Program Project refers to a group of programs used simultaneously.
Only one program project can be opened at a time.
The Program project file saves the program source file reference information,
included in the program project.
The program project file extension is “.PPJ”.
The System Manager controls which program project to use with the currently
selected system project. The System Manager specifies which program
project file to use when it starts the program manager.
When the program project is changed with PAC Program Manager, data
concerning the System Manager program project file is automatically changed.
5-6
Chapter 5 Operating PAC Program Manager
5-7
5.1.5 Menu List (PAC Program Manager)
The PAC Program Manager command menu has the following tree structure:
File
New Project (Programmer Level) *1
Open Project (Programmer Level) *1
Save Project
Save Project As (Programmer Level) *1
Set Project
Transmit Project (Programmer Level)
Print
Make Exec. Program
Make Macro Definition File
Close
Edit
Undo
Cut
Copy
Paste
Delete
Select All
Search
Replace
Jump line No
Program
New
Save
Save As
Add
Release
Check
Import
Export
Rearrange
File Name
File Date
Program Name
Actions
Show
Hide
Stop
Tools
Options
Program Bank
Command Builder
Program Monitor
Help
About PAC Manager
*1 Displayed only when the display option file extension menu is checked. To
set the display option, first login again at Programmer level, then select
Tool, Options, and View and check the option file extension menu.
5-8
Chapter 5 Operating PAC Program Manager
5-9
5.2.5 Set Project (Programmer Level)
Creates project settings.
Upon selecting Set Project from FILE menu, the Set Project dialog box
appears.
Click on OK to register the change content. To erase the change content, click
on Cancel.
5.2.5.1 Document
Click the Document tab to enter the document name used when creating the
project.
5-10
Chapter 5 Operating PAC Program Manager
5.2.5.2 Program
Click the Program tab to set the variable parameters to be used by the project.
For details on the parameters, refer to “Appendix” in Owner’s Manual
(Programming).
Note: The asterisks (*) under the property are the parameters of which
settings are prohibited because of the programmer level selected
when you log in to the WINCAPS II.
5-11
5.2.5.3 Interpreter
Click the Interpreter tab to set the parameters to be used by the project
execution program.
Set the variable parameters to be used by the project. For details on the
parameters, refer to “Appendix” in Owner’s Manual (Programming).
5.2.5.4 Group
Click the Group tab to group the programs.
After setting the groups, all the programs registered to the groups can be
handled as action objects.
5-12
Chapter 5 Operating PAC Program Manager
5-13
If you put a checkmark at Open with Special Text Editor, the dedicated text
editor is used. If the application software used to create the file is not defined,
the file is opened with the normal editor.
5-14
Chapter 5 Operating PAC Program Manager
5-15
5.2.7 Print
Prints the program list and the parameter table of the PAC Program Manager.
Supplement: If you wish to print only the specified page, see preview
and click on the print button .
Note: Preview is not usable if several objects are selected for printing.
5-16
Chapter 5 Operating PAC Program Manager
5-17
5.2.7.2 Option
Selecting the Option tab displays print options.
5-18
Chapter 5 Operating PAC Program Manager
Message Pane
Fig. 5-19 Message Pane
5.2.10 Close
Ends the PAC Program Manager and closes the PAC Manager window.
5-19
5.3 Edit Menu (PAC Program Manager)
This Edit menu functions as a standard editing menu, adopted from application
software for Windows 95. The editing object consists of character strings,
handled in the program editing window.
5.3.1 Undo
Cancels the previous operation and restored the initial state.
5.3.2 Cut
Cuts out selected range data. The cut data can be used with the PASTE
command.
5.3.3 Copy
Temporarily memorizes selected range data. The temporarily memorized data
can be used with the PASTE command.
5.3.4 Paste
Pastes the cut data or temporarily memorized data, by copying to a specified
location.
5.3.5 Delete
Deletes selected range data. The cut data cannot be used with the PASTE
command.
5-20
Chapter 5 Operating PAC Program Manager
5.3.7 Search
When you select Search from the Edit menu, the Search dialog box appears
on the screen.
Specify the necessary items and click on Find Next. The specified character
string is then searched for.
The found character string is displayed in reverse video.
To close the dialog, click on Cancel.
5-21
5.3.8 Replace
This function replaces the specified character string with a separately specified
character string.
When the Replace dialog box appears, specify the necessary items and click
on Find Next. The found character string is displayed in reverse video.
Click on Replace, and the found character string is replaced.
If you click on Replace All, all the occurrences of the selected character string
will be replaced.
5-22
Chapter 5 Operating PAC Program Manager
5.3.9 Jump To
Displays a specified line of a specified program.
When the Jumping Line No. dialog box appears on the screen, specify all
necessary items and click on GOTO. The specified program is displayed and
the cursor is set to the head of the specified line.
• Program Name: When clicked on, the program file names appear in a
pulldown menu for selection.
• Line Number: Input to specify a line number.
5-23
5.4 Program Menu
Manages the program files.
5.4.1 New
Creates a new program file and adds it to the project.
A new file is added to the end of the PAC Program Manager file name list and
the Edit window automatically opens.
The same function is available by clicking on the new program button .
5.4.2 Save
Saves the selected program file.
5-24
Chapter 5 Operating PAC Program Manager
5.4.3 Save As
Saves a program file with a new file name.
When the Save Project As dialog box appears, specify the path, program name
and click on Save to save the program.
Note: To newly save the program, save the current content to a program
source file under a separate name. Update the program project
reference information so that is references the new program
source file. If retaining the program project reference information,
as it was and creating a file under a separate name, use Export.
For details, refer to Chapter 5 “5.4.8 Export” in this manual.
5-25
5.4.4 Add
This function adds the existing program to the current project.
When the Adding program dialog box appears, specify the path, program name
and click on Open.
The same function is available by clicking on the add program button .
When specifying several programs simultaneously, click on the files while
pressing the shift key or the control key.
Note: When sharing one program among several program projects, use
the Add Program function. If the program is changed but you do
not want to affect other projects, use Import. For details, refer to
Chapter 5 “5.4.7 Import” in this manual.
5.4.5 Release
Releases the currently selected program file in the program project.
The program file remains as it is, but it is no longer contained in the project.
Reference information for the program is deleted from the program project
reference information.
5-26
Chapter 5 Operating PAC Program Manager
5.4.7 Import
Registers a specified file name to the program project after copying it to the
folder in which the project is contained.
If imported, the program is not shared with other program projects.
Note: When sharing one program among several program projects, use
the Add Program function. For details, refer to Chapter 5 “5.4.4
Add” in this manual. In this case, note that change of the shared
program in a project will affect the other projects.
5.4.8 Export
Saves a selected program as a new program source file, under a specified file
name.
5.4.9 Rearrange
Changes the order of the displayed program files.
According to your selection, the files are arranged in the order of file name, file
date, or program name.
5-27
5.4.9.1 File Name
Rearranges the program files in order of file name; the file names are listed
according to the ASCII code.
5-28
Chapter 5 Operating PAC Program Manager
5.5.1 Show
Displays the edit window of the program selected from the Select action object
list.
The edit window also appears when you double-click on the program file name
in the list.
5.5.2 Hide
Closes the active edit window of the program selected from the Select action
object list.
The edit window is also closed when you click on the close box in the Edit
window.
5.5.3 Stop
Stops program creation specified by Make Exec. Program in the File menu.
When stopped in the middle, the message pane shows “Interrupted”.
The stop button has the same function as the Stop command.
5-29
5.6 Tools Menu (PAC Program Manager)
5.6.1 Options
Used to set the operating conditions of PAC Program Manager.
After selecting Options from the Tools menu, the Options dialog box appears
on the screen.
Note: Items that can be edited differ by user level. For restrictions by
user level, refer to Chapter 1 “1.3 Security”. To change the access
level in the middle of program editing, refer to Chapter 4 “4.3.3 Re-
Log In” in this manual.
5-30
Chapter 5 Operating PAC Program Manager
5.6.1.1 Editor
• Font Name: Specifies the font to use for text editing. Clicking on
the arrow displays the list of selection items.
• Size: Specifies the font size. Clicking on the arrow displays
the list of selection items.
• Foreground: Specifies the color of the foreground. Clicking on the
arrow displays the list of selection items.
• Background: Specifies the color of the background. Clicking on the
arrow displays the list of selection items.
• Tab Intervals: Specifies the distance (in millimeters) from one tab
position to the next.
• Program Jump: If you execute Search by Key in the File menu with
this option set at valid by specifying the program
name or label name, the specified program name or
label name is displayed.
• Automatic Quick Hint: With this option switch ON, a quick hint appears to
help your text input.
• Automatic Compile: With this option switch ON, the Program Manager
automatically checks the syntax after the program is
stored.
5-31
<Program name>
<Label name>
Quick hint
5-32
Chapter 5 Operating PAC Program Manager
5.6.1.2 Make
Click the Make tab to set the conditions for execution program.
• Execution Filename: Specifies a file name when renaming the execution file.
By default, a program project file name having the
extension “nic” is specified. If you do not wish to
overwrite this file or wish to unify all the projects in an
executable file name, change this value.
• Date Inspection: If this switch is checked, only the changed programs are
converted into execution form by depression of Make
Exec. Program, shortening the program creation time.
• Symbol Table: Sets the size of working range for storing information on
symbols.
• Name Table: Sets the size of working range for registering information
on names such as label name. This range is used to
register information on all names handled by the program
files included in the executable file.
• Rearrange Table: Sets the size of working range for determining the
absolute addresses.
5-33
If execution file is not specified
(default)
ira-0000.ppj ira-0000.nic
5-34
Chapter 5 Operating PAC Program Manager
5.6.1.3 Compiler
Click the Compiler tab to Make settings for creating an execution program.
• Explicit Type Declaration: Error will occur unless local variables are
explicitly declared with a specification statement
or postfix. If this option is found invalid, without
explicit descriptions, it will be regarded as a
single accuracy variable.
• Inspect Constant Range: Checks the range of an argument with the
statement described as constant when creating
the execution program.
• Output Code: Sets the software version of the robot controller. Depending
upon the version, the output codes of the execution program
will differ. If the version specified here is different from the
actual software version of the connected controller, an error
will occur at the time of communication.
• Block Table: Sets the size of working range for storing the nested state of
loops and conditional statement, etc.
• Line Table: Sets the size of working range for registering line information.
The numerical value of this table is equal to the number of all
the lines that can be compiled. The same value is equal to the
nest level allowed for compiling.
• IO Table: Sets the size of working range for registering information on
IO variables. The numerical value of this table is equal to the
number of defined IO variables.
• Dim Table: Sets the size of working range for registering information on
array variables. The numerical value of this table is equal to
the number of array variables that can be defined.
• Free Chain: Sets the size of working range for registering information
address link. This is the range used for solving label
addresses, jumping address of branch and loop commands,
and global variables.
• Name Table: Sets the size of working range for registering information
concerning label and other names. This is the range used for
registering information on reserved words and user-defined
labels, etc.
5-35
5.6.1.4 Display (Programmer Level)
Makes the SHOW/HIDE settings of display options.
• File Expansion Menu: Used to extend FILE (F) menu of the PAC Program
Manager. For details, refer to Subsection 5.1.5,
“Menu List” in this chapter.
• Batch Transfer of PAC Programs:
This option allows you to select all the PAC programs
so that the project can be transferred at a time. To
transfer the programs one by one, set this check box
empty.
5-36
Chapter 5 Operating PAC Program Manager
Input character string of desired input
Program title
Name of program
maker
Shows the
argument type
Shows the argument used in the
name in the selected selected
program
Shows the
default
argument value
in the selected
program
5-37
Displays the
descriptions of the
selected program.
Writing enabled.
5-38
Chapter 5 Operating PAC Program Manager
Select a class.
"STEP 1
Select a program.
"STEP 2
"STEP 3
Click on the button.
STEP 3 STEP 2
STEP 1
Select a class.
"STEP 1
"STEP 2
Click on the button.
5-39
Click on Register.
"STEP 4
STEP 2 STEP 1
STEP 3 STEP 4
Click on Yes.
"STEP 3 STEP 2
STEP 1
STEP 3
5-40
Chapter 5 Operating PAC Program Manager
When you update WINCAPSII to a newer version, you need to import program
bank related contents customized in the old version into the newer one.
WINCAPSII Version 1.9 or later allows you to do it easily by providing the Auto
and Manual importing facilities.
If you use either of those facilities, WINCAPSII will unconditionally import class
libraries added or customized in the old version into the current program bank.
If the importing facility finds a class library that has the same name as
"STEP 2 one already stored in the current program bank but has different
contents, then the following message appears, prompting you to
confirm overwriting.
If you want to use the old library, select the “Yes” button.
5-41
[ 2 ] Manual importing facility
The manual importing facility is executed by clicking the “Merge Program Bank”
button.
"STEP 1
Click the button on the tool bar of the program bank.
"STEP 2
The “Open Program Bank” screen appears/
Select the program bank that you want to merge.
If the importing facility finds a class library that has the same name as
"STEP 3 one already stored in the current program bank but has different
contents, then the following message appears, prompting you to
confirm overwriting.
If you want to use the old library, select the “Yes” button.
5-42
Chapter 5 Operating PAC Program Manager
Select a class.
5-43
5.6.3.2 Basic Usage
This subsection describes the method of editing program using the command
builder. The following is an example program line:
Open the command builder and select the Robot control statement
"STEP 2 from the class selection list.
"STEP 5
Click on the button.
The command is entered in the cursor-located position of the program
being edited. (Enter comments from the keyboard.)
MOVE P, P1, S = 50
5-44
Chapter 5 Operating PAC Program Manager
5.6.4.1 Outline
This command monitors the execution progress of programs. As shown below,
the running step is displayed in red, helping you debug efficiently.
5.6.4.2 Menu
The command menu of the Program Monitor is shown below.
Project *1
Program
Display
Hide
Actions *1
Tools
Settings
5-45
5.6.4.3 Program menu
The Program menu of the Program Monitor is shown below.
Monitor tab: Sets the timer intervals at which the program monitor gets data
from the controller. The initial value is 1000 ms.
Note: If you set the monitor intervals short, the frequent communications
operations with the controller may load the Program Monitor. If
the Program Monitor cannot operate smoothly, set the monitor
intervals longer. (Recommended value: 1000 ms)
5-46
Chapter 5 Operating PAC Program Manager
Monitor: Determines whether or not the Program Monitor will get the latest
data stored in the controller every time the controller changes the mode.
5-47
5.6.4.5 Operating procedure
This section describes how to monitor the program [PRO1].
5-48
Chapter 5 Operating PAC Program Manager
5-49
Chapter 6
Operating Variable
Manager
6-1
6.1.1.6 Type P (Position Type) Variables
Clicking on the Type P tab displays a list of Type P (Position type) variables.
INPUT POSE button. For functions, refer to Chapter 6 “6.4.4 “Get Pose” in
this manual.
6-2
Chapter 6 Operating Variable Manager
Start
End
6-3
When monitoring
Start
End
6-4
Chapter 6 Operating Variable Manager
6-5
n Setting with PAC Program Manager
You can set the number of variables by selecting [Tools], [Set], and [Variable]
in this order.
Refer to “6.5.1.2 Variables”.
6-6
Chapter 6 Operating Variable Manager
"STEP 1
Click on button to establish a connection to the Robot Controller.
button is displayed in the pressed state.
STEP 1 STEP 2
"STEP 2
Click on button and acquire the variable information, instan-
taneously indicated from the Robot Controller.
The values of the Robot Controller variables are indicated in the grid.
Select the variable grid you wish to change and input the new values.
"STEP 3
STEP 3
6-7
[ 2 ] Editing Personal Computer Variable Table
Select the variable grids to change and input the new values.
"STEP 2
STEP 2
6-8
Chapter 6 Operating Variable Manager
Transmit the variable table from the personal computer to the Robot
"STEP 2 Controller according to the procedure described in 6.2.5 “Transfer
File” on page 6-14. The values of the robot controller variable table
change to the new values that have been transmitted from the
personal computer.
6-9
[ 4 ] Backing Up Controller Variable Table
Save the personal computer variable table as a VAR file, following the
"STEP 2 instructions in Chapter 6, subsection 6.2.3 “Save File” on page 6-13 of
this instruction manual.
By using button, select which grid to edit. The personal computer or the
controller? When the value of a grid changes, the content of the object variable
table changes. Pressing the monitor button displays the contents of the variable
table on the opposite end. (No change is enabled during monitoring.)
Data transmission between the personal computer and the controller is affected
by respective variable tables. Variable data, received by the personal computer,
can be saved as a “*.VAR” file with “Save”. Existing data may be referenced with
“OPEN”.
Grid
Monitor button
: Acquires data in
succession
: Acquires data for one
time
: Selects connection
OPEN-SAVE Transmission
Transmission
6-10
Chapter 6 Operating Variable Manager
Variable
Manager
var_tab
*.var h.
Macro
Variable file
definition file
6-11
6.1.5 Menu List
The Variable Manager command menu has the following tree structure:
File
New (Programmer Level) *1
Open (Programmer Level) *1
Save
Save As (Programmer Level) *1
Transfer
Print
Make Macro Define File
Import Macro Define File
Close
Edit
Copy
Paste
Search on Grid
Actions
Connect
Snapshot
Monitor
Get Pose
Move
Tools
Options
RS232C Dummy Input
Calculator
Help
About Variable Manager
*1: Displayed only when the file extension display option menu is checked.
To set the display option, log-in again, at the programmer level. Select
Tools, Options, and View and check the optional file extension menu.
6-12
Chapter 6 Operating Variable Manager
6.2.3 Save
Saves the current state to the currently selected VAR file.
6-13
6.2.4 Save As (Programmer Level)
Saves the variable information (variable table) to a new VAR file.
The standard Windows dialogue box appears. Select the path, input the file
name and click on SAVE to save data.
6.2.5 Transfer
When the communication with the Robot Controller is ON, the variable table
data may be transmitted or received.
The variable table refers to an array of variable data.
When the Transfer Variable Table dialogue appears on the screen, select the
respective variable types tables and click on either Transmit or Receive to
transmit data.
6-14
Chapter 6 Operating Variable Manager
6.2.6 Print
Prints variable tables for respective variable types.
TIP: To print specified pages only, click the printer button after
previewing. You may specify the print range in the printing
preview.
Note: If you select more than one object to be printed, Preview is not
usable.
6-15
Fig. 6-9 Preview Window
6-16
Chapter 6 Operating Variable Manager
6.2.6.2 Option
Selecting the Option tag will display the print options.
6.2.9 Close
Ends Variable Manager and closes the Variable Manager window.
6-17
6.3 Edit Menu (Variable Manager)
6.3.1 Copy
Temporarily stores the same data as that in the selected range. Data
temporarily stored by copying can be used with the Paste command.
6.3.2 Paste
Pastes temporarily stored data by cutout or copying to a specified location.
6-18
Chapter 6 Operating Variable Manager
6-19
6.4 Actions Menu (Variable Manager)
The commands in this actions menu can be specified also with the buttons.
6.4.1 Connect
Establishes communication with the Robot Controller.
During connection with the Robot Controller, a checkmark appears in the
menu.
button has the same function as the connect button. When connected, the
button is displayed in the pressed state.
6.4.2 Snapshot
Acquires variable data of the moment from the Robot Controller.
button has the same function as the snapshot command.
Set the communication conditions before executing the snapshot command.
6.4.3 Monitor
Acquires variable data in succession from the Robot Controller.
button has the same function as the monitor command.
Set the communication conditions before running the monitor command.
The personal computer acquires the data only of the variables displayed on the
screen from the Robot Controller during continuous monitoring, and does not
acquire the variable data not displayed on the screen. You can, therefore,
specify the data acquisition range by displaying the variables to be monitored.
6-20
Chapter 6 Operating Variable Manager
6.4.5 Move
The values of the currently selected variable types P, J, and T are written to the
Arm Manager as the current robot position. (In the Variable Manager window,
variable types and numbers are displayed in reverse.) At this time, the robot
does not move to the specified position even if the Arm Manager is connected.
However, only the virtual arm of the Arm Manager moves to the specified
position.
button has the same function as the MOVE command.
6-21
6.5 Tools Menu (Variable Manager)
6.5.1 Options
Used to set the operating conditions of Variable Manager.
When you select Options from the Tools menu, the Options dialogue box
appears on the screen.
Note: Items that can be edited differ by user level. For restrictions, by
user level, refer to Chapter “1.3 Security” in this manual.
For how to change the access level in the middle, refer to Chapter
4 “4.3.3 Re-Log In” in this manual.
6.5.1.1 Monitor
6-22
Chapter 6 Operating Variable Manager
• Click the variable tab to sets the number of variables for each type.
If you modify the number of variables, take the following procedure to bring the
modified result into the internal data of the robot.
6-23
6.5.1.3 Display (Programmer Level)
Click the display tab to set the display option for Show/Hide.
A display tab is indicated when the user level is higher than the programmer.
• File Expansion Menu: Used to extend FILE (F) menu of the PAC Program
Manager. For details, refer to Subsection 6.1.5, "Menu
List” in this chapter.
• Automatic refresh (Automatic snapshot): If selected, this option automatically
monitors the current status as a snapshop when the
communication gets linked or when you change the
window size during connection or scroll the screen.
6-24
Chapter 6 Operating Variable Manager
The message entered in the dialogue box is transmitted to the Robot Controller
via RS232C.
Use this function when debugging the program.
If you execute RS232C Dummy Input command without connecting the robot,
the personal computer teaching system behaves as if it has transmitted the
data to the RS232C of Robot Controller.
You can choose a delimiter from between [CR+LF] and [CR] as an end code
attached to the output character string.
6.5.3 Calculator
Displays the standard Windows calculator. If the calculator is not installed, a
message reading “Could not find the file” appears on the screen.
6-25
6.6 Help Menu
Descriptions on how to use WINCAPSII can be read by using the help menu.
6-26
Chapter 7
Operating DIO
Manager
7-1
7.1.2 Tool Bar
CONNECT button to make connection with the Robot Controller.
SNAPSHOT button to input the I/O status of the Robot Controller a single
time only.
DISPLAY SELECT list for specifying the format of the I/O status
display.
RETURN button to select the preceding page when the number of I/Os to
monitor stretches over multiple pages.
NEXT button to select the following page when the number of I/Os to
monitor stretches over multiple pages.
7-2
Chapter 7 Operating DIO Manager
7-3
7.1.4 Basic Usage
When designing
Start
Setting of respective
I/O number application Refer to “7.1.1 Outline of Functions”.
and macro name
End
7-4
Chapter 7 Operating DIO Manager
When monitoring
Start
Connect to Robot
Controller Refer to “7.4.1 Connect”.
End
7-5
7.1.5 Files to Be Managed
Fig. 7-3 shows the types of files managed by the DIO Manager:
DIO
Manager
dio_tab dio_cnf
∗.DIO .h .h
7-6
Chapter 7 Operating DIO Manager
File
New (Programmer Level) *1
Open (Programmer Level) *1
Save
Save As (Programmer Level) *1
Transfer
Print
Make Macro Define File
Import Macro Define File
Close
Edit
Copy
Paste
Find on Grid
Selected Range All ON
Selected Range All OFF
Actions
Connect
Snapshot
Monitor
Pseudo input/output
Display Style
Tools
Options
DIO Command Viewer
Help
About DIO Manager
*1: Displayed only when the file extension menu of the display option is
checked. To set the display option, (re) login on the Programmer level
and then select Tools, Options and View, and check the option file
extension menu.
7-7
7.2 File Menu (DIO Manager)
The DIO Manager has the DIO files for saving I/O data. The File menu of DIO
Manager is used for managing the DIO files.
7.2.3 Save
Saves the current status in the presently selected DIO file.
7-8
Chapter 7 Operating DIO Manager
7.2.5 Transfer
When the Robot Controller is connected for communication, it is capable of
transmitting or receiving the environmental table data.
The environmental table refers to an array of data the robot needs to operate.
When the Transfer Environment Table dialog appears on the screen, select the
table and click on either Transfer or Receive to transmit data.
7-9
7.2.6 Print
Prints the DIO Manager environment table and I/O layout table.
TIP: If you wish to print only the specified page, see preview and click
on the print button .
Note: If you select more than one object to be printed, Preview is not
usable.
7-10
Chapter 7 Operating DIO Manager
7-11
7.2.6.2 Option
Selecting the Option tag will display the print options.
7.2.9 Close
Ends DIO Manager and closes the DIO Manager window.
7-12
Chapter 7 Operating DIO Manager
7.3.1 Copy
Temporarily stores a specified range of data. Data temporarily stored by
copying can be used by the Paste command.
7.3.2 Paste
Pastes the temporarily stored data by cutting or copying to a specified location.
This operation is enabled in the “Application” and “Macro name” fields only.
7-13
7.3.3 Search on Grid
Searches for a specified character string from either the application or macro
name field.
When the SEARCH ON GRID dialog box appears on the screen, specify the
necessary items and click on FIND NEXT. The line containing a found
character string is displayed in reverse video.
7-14
Chapter 7 Operating DIO Manager
7-15
7.4 Actions Menu (DIO Manager)
The Actions menu commands are also issued by depression of the tool
buttons.
7.4.1 Connect
Connects the communication line with the Robot Controller.
When connected, check mark is attached to the menu.
button works the same as the Connect command. When connected it is
displayed as if depressed.
7.4.2 Snapshot
Acquires the data of the moment from the Robot Controller.
button has the same function as the Snapshot command.
Before executing the Snapshot command, ensure that the Manager is
connected with the Robot Controller.
7-16
Chapter 7 Operating DIO Manager
7.4.3 Monitor
Acquires data in succession from the Robot Controller.
button has the same function as the Monitor command.
Before executing the Monitor command, ensure that the Manager is connected
with the Robot Controller.
During monitoring, the DIO Manager acquires the data only of I/O numbers
displayed on the screen from the Robot Controller, and does not acquire the
I/O number data not displayed on the screen. You can, therefore, specify the
data acquisition range by displaying the I/O numbers to be monitored.
Monitor intervals can be set with the timer intervals. Refer to “7.5.1.1 Monitor”.
Note: DeviceNet input slot number may be referred to with the hardware.
If DeviceNet is not installed, the range will be only 34-55 (Standard
mode) or 21-55 (Interchange mode).
The DIO Manager has three methods for displaying I/O statuses.
Select Display Style from Actions menu, and the three display styles appear
on the right: Table, Oscilloscope, and Panel. Select a required one.
You can also select the display style by clicking on Display selection list
and displaying the pull-down menu.
7-17
7.4.5.1 Table
When you select the table type display, the I/O states are displayed in the table
type as shown in the list.
In the table type display, I/Os are displayed in different colors depending on the
classification group. Tables 7-1 and 7-2 outline the colors and classifications in
the standard mode and compatible mode for the conventional type.
7-18
Chapter 7 Operating DIO Manager
DeviceNet input Green 512 512 System DSINxx SINxx (517 and 518 are
(256 points) input missing.)
551 547 (34 points) (548 to 551 are missing.)
552 552 User DUINxx Extensible in unit of 8 points
input
7-19
Table 7-2 I/O Colors and Classifications (Previous Model − compatible Mode)
DeviceNet input Green 512 512 System DSINxx SINxx (517 and 519 are
input missing.)
(256 points)
535 534 (21 points) (535 is missing.)
536 536 User DUINxx Extensible in unit of 8 points
input
7-20
Chapter 7 Operating DIO Manager
7.4.5.2 Oscilloscope
Upon selecting the oscilloscope display type, the I/O statuses are displayed in
graphical form as on an oscilloscope.
When displayed in the table type, turn the Monitor SW grid of the desired I/O
display to ON.
The maximum number of I/Os that can be displayed simultaneously is 8.
Clicking the Return button or Next button scrolls the list by one page.
7-21
7.4.5.3 Panel
Upon selecting the panel display type, the I/O states are displayed in panel.
When displayed in the table type, turn the Monitor SW grid of the desired I/O
display to ON.
The maximum number of I/Os that can be displayed simultaneously is 32.
Clicking on the Return button or Next button scrolls the list by one page.
7-22
Chapter 7 Operating DIO Manager
Note: The items that can be edited differ depending on the user level.
For restrictions by user level refer to 1.3 “Security”. For
information on how to change the access level, refer to 4.3.3 “Re-
Log In”.
7.5.1.1 Monitor
• Timer intervals: Sets the intervals for acquiring data through continuous
monitoring. Default is 500 msec.
7-23
7.5.1.2 Oscilloscope
7.5.1.3 Panel
7-24
Chapter 7 Operating DIO Manager
7.5.1.4 Hardware
Click the Hardware tab to set various parameters needed for DIO operation.
For the meanings and element numbers of parameters, refer to “Appendix” in
PROGRAMMER’S MANUAL.
The left side of the I/O layout frame displays I/O device, the right side displays
I/O layout.
I/O device I/O layout
7.5.1.5 M-DNet
Click the M-DNet tab to set the parameters needed for establishing the Device
Net master mode. For the meanings and element numbers of parameters, refer
to the instruction manual for Device Net master.
7-25
7.5.1.6 Display
Click the Display tab to set SHOW/HIDE option for display.
This display tab appears when the user level is higher than the programmer.
• File extension menu: Extends the Files menu of the DIO Manager. For
details, refer to 7.1.6 “Menu List”.
• Auto Update (automatic acquisition of snapshot):
If you change the window size or scroll the screen
when the DIO Manager is connected or in the process
of connection to the Robot Controller, the Manager
automatically monitors the snapshot.
7-26
Chapter 7 Operating DIO Manager
7-27
7.6 Help Menu
The Help menu provides explanations on how to use WINCAPSII.
7-28
Chapter 8
Operating Arm
Manager
Y-axis rotation
8-1
8.1.2 Tool Bar (Arm Manager)
8-2
Chapter 8 Operating Arm Manager
8-3
8.1.3 Basic Application
This subsection describes the flow of off-line point teaching.
During designing
Start
Monitor
Monitorstarted
startedwithout Refer to “8.4.3 Monitor”.
connection
without connection
No
All points
completed
Yes
End
8-4
Chapter 8 Operating Arm Manager
During Monitoring
Start
End
8-5
8.1.4 Files to Manage
Fig. 8-2 shows the files that the Arm Manager manages. The following are the
description of each file.
Arm Manager
arm_cnf
*.ARM .h
8-6
Chapter 8 Operating Arm Manager
File
New (Programmer level) *1
Open (Programmer level) *1
Save
Save As (Programmer level) *1
Transfer
Print
Close
Edit
Cut
Copy
Paste
Rename
Rebuild
Actions
Connect
Snapshot
Monitor
View
Arm
Tool
Work
Area
Obstacle
Tools
Options
Remote Operation
Object Trees
Pose Conversion
Help
About Arm Manager
*1: Displayed only when the file extension menu of the display option is
checked. To set the display option first re-login on the programmer level.
Then select Tools, Options, and View and check the option file
extension menu.
8-7
8.2 File Menu (Arm Manager)
The Arm Manager has an ARM file to save information on trajectory
generation. The Arm Manager File menu is used for managing the ARM files.
8.2.3 Save
Saves the current status in the currently selected ARM file.
8-8
Chapter 8 Operating Arm Manager
8.2.5 Transfer
When communication with the Robot Controller is ON, this enables it to
transmit or receive the environmental table data.
The environmental table refers to the arrangement of data necessary for the
robot to operate.
When the Transfer Environment Table dialog box appears on the screen,
select the table, and click on either Transmit or Receive to transmit data.
The items in the transfer table are the contents set in 8.6 “Tools Menu”.
8-9
8.2.6 Print
Prints the Arm Manager environmental table.
• Select All: Selects all of the environmental tables as the object for
simultaneous printing.
• Set: Displays the printer SET dialog box and makes various
printer settings.
• Preview: Enables viewing of the print status prior to actual printing.
• Cancel: Closes the dialog box without printing.
• Print: Prints the table.
• Option: Print options appear.
8-10
Chapter 8 Operating Arm Manager
8-11
8.2.6.2 Option
Selecting the Option tag will display the print options.
8.2.7 Close
Ends Arm Manager and closes the Arm Manager window.
8-12
Chapter 8 Operating Arm Manager
8.3.1 Cut
Cuts data out of the selected range. The cutout data can be used with the
Paste command.
Note: Only the selected data is cut out. Note that the data that exists on
the lower level than the selected data will be also deleted.
8.3.2 Copy
Temporarily stores the same data as in the selected range. Data temporarily
stored by copying can be used in the PASTE command.
8.3.3 Paste
Pastes temporarily stored data by cutout or copying to a specified location.
8.3.4 Rename
Open the object tree, specify an object and use RENAME to change the name
of the object.
8.3.5 Reconfigure
Re-draws the display of the object tree and displays only the root object.
8-13
8.4 Actions Menu (Arm Manager)
The Actions menu commands can be also issued by depression of the buttons
on the tool bar.
8.4.1 Connect
Connects communication between the Robot Controller.
When connected the menu is attached with a check mark.
The connect button works the same as the Connect command. When
connected it is displayed as if depressed.
8.4.2 Snapshot
Acquires the data of the moment from the Robot Controller.
The snapshot button has the same function as the Snapshot command.
Before executing the snapshot command, ensure that the Arm Manager is
connected with the Robot Controller.
8.4.3 Monitor
Acquires data in succession from the Robot Controller.
The monitor button has the same function as the Monitor command.
Before executing the monitor command in succession, ensure that the Arm
Manager is connected with the Robot Controller.
8-14
Chapter 8 Operating Arm Manager
Arm
Work
Obstacle
Tool Area
8-15
8.5.1 Arm
Specifies display of the robot arm. When Arm on the menu is check-marked,
the robot arm is displayed.
8.5.2 Tool
Specifies display of the tool coordinates. When Tool on the menu is check-
marked, the tool is displayed.
8.5.3 Work
Specifies display of the work coordinates. When Work on the menu is check-
marked, the work coordinates are displayed.
8.5.4 Area
Specifies display of the area. When AREA on the menu is check-marked, the
area is displayed.
Define the area with Object Tree in the Tools menu. Refer to “8.6.3 Object
Trees”.
8.5.5 Obstacle
Specifies display of an object. When Obstacle in the menu is check-marked the
obstacle object is displayed.
Define the obstacle with Object Tree in the Tools menu. Refer to “8.6.3 Object
Trees”.
8-16
Chapter 8 Operating Arm Manager
8.6.1 Options
Makes various settings that are necessary for Arm Manager.
Select Options from the Tools menu to display the Options dialog box. Click
on the tab and set the required data at the respective items.
When you put a checkmark at Create Header File, the macro definition file
(arm_cnf.h) for arm configuration is created.
Note: The items that can be edited vary with the user level. For
restrictions by user level, refer to “1.3 Security”.
For information on how to change the access level, refer to “4.3.3
Re-Log In”.
8-17
8.6.1.1 Monitor
• Timer intervals: Sets the intervals for acquiring data on the monitor. Default
is 500 msec.
• Action history: When drawing the trajectory of a robot, this specifies how
many points of position data to draw. Default is 10 points.
8-18
Chapter 8 Operating Arm Manager
8.6.1.2 Configuration
Click the Config. tab to set various parameters that affect acceleration,
deceleration, and positioning. For the meaning of each parameter, refer to “4.6
Control Sets of Motion Optimization”, “4.7 Setting the Master Control
Parameters in User Preferences” and “Appendices” in the Programmer’s
Manual.
8-19
8.6.1.4 Servo
Click the Servo tab to set various parameters necessary for the robot arm
servo system.
Change parameters by rewriting the set value grid in the list.
For the meaning of parameters, refer to “Appendix” in Owner’s Manual
(Programming).
8.6.1.5 Tool
Click the Tool tab to define the tool coordinates to be displayed on the robot
display.
Clicking on the tool coordinate system set button will open the same
Options dialog box.
8-20
Chapter 8 Operating Arm Manager
8.6.1.6 Work
Click the work tab to define the work coordinates to display on the robot
display.
Clicking on the work coordinate system set button will open the same
Options dialog box.
8.6.1.7 Area
Click the Area tab to define the area to display on the robot display.
Clicking on the area set button will open the same SET dialog box.
8-21
8.6.1.8 Display
Click the Display tab to set the display option between Show and Hide.
This display tab appears when the user level is higher than the programmer.
• File extension menu: Extends the Files menu of the Arm Manager. For
details, refer to 8.1.5 “Menu List”.
• Auto Update (automatic acquisition of snapshot):
If you change the window size or scroll the screen
when the Arm Manager is connected or in the process
of connection to the Robot Controller, the Manager
automatically monitors the snapshot.
8-22
Chapter 8 Operating Arm Manager
Note: Use the Arm Manager in the disconnected state. For reasons of
safety, the robot is designed not to move even if the Robot
Controller is connected.
8-23
8.6.3 Object Trees
Defines the object to draw on the robot display.
Select Object Tree from the Tools menu to display the Object Tree dialog box.
Corresponding axis
Moving direction and scale
Additional buttons
• [+] mark: Indicates that the hierarchical structure of the lower order of the
object tree is hidden. Clicking will show the hierarchical structure
of the lower order.
• [−] mark: Indicates that the hierarchical structure of the lower order is
displayed. Clicking will hide the hierarchical structure of the lower
order.
• Additional buttons: Use these buttons to add an object with the specified
shape as a subdirectory of the currently selected object.
• Close: Closes the Object Tree dialog box.
• Relative Position: Inputs the position of relative object in the event
coordinate system
• X/Y/Z: Refers to x/y/z components of the relative position of the object.
Units in millimeters.
• RX/RY/RZ: Angle of rotation of the object around x/y/z axes.
Specified in degrees.
• Size(L): Inputs the size of the object.
• X/Y/Z: Refers to the length (size) in the direction of x/y/z. Units in
millimeters.
• Color(C): Selects and inputs the color of the object.
• REDRAW: Refreshes the robot display.
• Display: When check-marked it is displayed on the robot display.
• Corresponding axis: It is possible to move the object in combined motion with
the selected robot axis. Select the corresponding axis
and its moving direction and scale.
Cautions: (1) Even if the property of the object is changed, it will not be
reflected unless the REDRAW button is depressed.
(2) Positions of the arm, tool, work, area and size cannot be
changed.
(3) To change tool, work and area use the SET menu.
8-24
Chapter 8 Operating Arm Manager
8-25
8.6.3.2 Deleting Objects
8-26
Chapter 8 Operating Arm Manager
8-27
8.7 Help Menu
Descriptions on how to use WINCAPSII can be viewed using the Help menu.
8-28
Chapter 9
Operating Vision
Manager
9-1
Teaching Panel:
When editing the window shape and/or search model shape, adjust the
shape with the teaching panel, using the mouse.
Look Up tab:
Sets the lookup table.
Display tab:
Sets the extended display.
9-2
Chapter 9 Operating Vision Manager
Edits the macro names of the windows and search models. The macro name
definition file can be created from the input macro name. The macro name can
then be used in programs.
9-3
9.1.1.4 Various Tool Windows
The Tool window is called from the main window. The work objective is carried
out through a combination of these tool windows.
9-4
Chapter 9 Operating Vision Manager
9-5
9.1.3 Basic Application
Start
End
9-6
Chapter 9 Operating Vision Manager
vis_cnf vis_tab
Vision
.h .h
manager
*.bmp *mdl
*vis
9-7
9.1.4.4 Macro Definition File (vis_tab.h)
Contains the correspondence definition, between the window macro name and
number, and the macro name and number of search model. The macro
definition file is located wherever the vision file (*.vis) is. The file name is
“vis_tab.h”.
To use the macros related with window, search model, and configuration in
PAC project, it is necessary to read this macro definition file by specifying
#INCLUDE statement at the top of program.
9-8
Chapter 9 Operating Vision Manager
File
New *1
Open *1
Save
Save As *1
Transfer
Open Image Data
Save Image Data As
Print
Make Macro Define File
Import Macro Define File
Close
Actions
Connect
Get Info
Tools
Options
Edit Macro Name
Edit Window
Edit Search Model
Calibration
Image Analysis
Camera Input
Display image
Binary-coded Registration
Area, center of gravity, principal axis
Labeling
Edge
Model search
Read code
Help
About Vision Manager
*1: Displayed only when the display option file extension menu is checked. To
set the display option, re-log in at programmer level, then select Tools,
Options and View, and check the option file extension menu.
9-9
9.2 File Menu
The file stores necessary information for operating the vision device and it also
reflects the contents of editing with the Vision Manager. The following shows
the list of data stored:
9.2.3 Save
Saves set data currently being edited.
9-10
Chapter 9 Operating Vision Manager
9.2.5 Transfer
Teaching panel
9-11
9.2.5.3 Image Data Transmit Procedure
Displayed screen
9-12
Chapter 9 Operating Vision Manager
<Ver.1.6 or later>
The Vision Manager can save image data set on the teaching panel by
selecting “Export”. If the process screen or the drawing screen is selected,
composite image data is saved.
Screen sizes are as follows.
9-13
9.2.8 Print
Prints the set data currently being edited with the Vision Manager.
TIP: To print only specified page(s), click on the printer button after
previewing.
Note: If you select more than one object to be printed, Preview is not
usable.
9-14
Chapter 9 Operating Vision Manager
Preview Window
Print Window
9-15
9.2.8.2 Option
Selecting the Option tag will display the print options.
9.2.11 Close
Erases the Vision Manager from the personal computer screen. The vision
manager is not displayed on the screen but exists on the memory. When
restarted from the System Manager, the Vision Manager appears with the edit
data displayed just before the Vision Manager is closed.
9-16
Chapter 9 Operating Vision Manager
Disconnected Connected
9-17
9.3.1.1 Edit Object of Vision Manager
The objects to be edited using Vision Manager can be mainly classified into the
following three types:
Type A, editing only the files in the personal computer. After editing, the set
value is transmitted to the Controller.
(Objects: general setting, lookup table, and calibration data).
Type B, editing both the settings of the Controller and the personal computer
files. After editing, the set values are shared between the personal computer
and the Controller by data transmission.
(Objects: Window)
Type C, editing only the settings of the Controller. After editing, the set values
are backed up in the personal computer file
(Objects: Search model).
In the case of Type A, the file on the personal computer is always the object of
editing, irrespective of the connection state with the Controller.
Types B and C have different edit objects, depending on the state of
connection.
When connected, Type B selects the Controller information as the object of
editing. When disconnected, it selects the file on the personal computer as the
edit object.
Type C selects the Controller information only for the edit object.
Consequently, editing cannot take place unless connected to the Controller.
Type A: Type A:
• General setting • General setting
connected
Non-
Connected
Type B: Type B:
• Window Object of editing • Window
differs by the state of
connection/non-
connection.
Type C: Type C:
• Search model • Search model
• Type A edits the file on the personal computer and transmits set value to the Controller.
• Type C edits the Controller information and backs it up on the personal computer.
9-18
Chapter 9 Operating Vision Manager
9-19
9.4 Tools Menu
9.4.1 Options
Creates the various settings needed by the Vision Manager.
Checking the Create Header File creates configuration macro definition file
(vis_cnf.h).
Q Click on Tools in the menu bar. The Tools menu appears.
R Click on Options.
The Options window appears.
Note: Items that can be edited differ by the user level. As to restrictions
by user level, refer to Chapter 1 “1.3 Security” in this manual.
To change the access level in the middle of operation, refer to
Chapter 4 “4.3.3 Re-Log In” in this manual.
9-20
Chapter 9 Operating Vision Manager
A C D
F G H
9-21
9.4.1.2 General Setting
Click the General Setting tab to make various settings for Vision Board.
For parameter definitions and element numbers, refer to “Appendix” in Owner’s
Manual (Programming).
Note: If you put a checkmark at Create Header File and select OK, the
parameter macro definition file “vis_cnf.h” is automatically
created. To use macro name with GETENV and LETENV in PAC
language, you must include this file.
9-22
Chapter 9 Operating Vision Manager
9-23
9.4.1.3 Display
Click the Display tab to set the display option between Show and Hide.
This display tab appears when the user level is higher than the programmer.
• File extension menu: Extends the File menu of Vision Manager. For details,
refer to Chapter 9 “9.1.5 Menu List” in this manual.
• Auto Update: When you connect the Vision Manager to the Robot Controller
(by selecting Connect from the Actions menu), the Vision Manager obtains
information in the same way as you select Get Info from the Actions menu.
9-24
Chapter 9 Operating Vision Manager
Single-byte alphabetic A to Z, a to z
character
(The upper and lower cases are treated with the
same.)
Single byte numerical
0 to 9
character
Single-byte katakana
Single-byte underline -
Window edit
9-25
9.4.3 Edit Window
To edit the Robot Controller window settings, it is necessary to get the Robot
Controller information on the personal computer, in advance. For the method of
getting information, refer to Chapter 9 “9.3.1 Connect” and “9.3.2 Get Info” in
this manual.
- Window -
Object of Window
measurement
9-26
Chapter 9 Operating Vision Manager
9.4.3.2 New
When newly registering a window, click on New. The Create Window appears
in the window edit tool. To validate this window, you must register the window.
9-27
9.4.3.3 Modify Windows
Edit the edit object window with the teaching panel. To validate the window
after editing, you must register the window.
9-28
Chapter 9 Operating Vision Manager
Window type
Illustration Teaching method
Name
X Start Point Shift Left/Right [→][←]
End point Y Start Point Shift Up/Down [↑][↓]
Straight line
r: Radius
Perimeter
XR: Width
X Center Shift Left/Right [→][←]
perimeter
Elliptic
YR YR: Height
Y Center Shift Up/Down [↑][↓]
WNDELP Width Increase/Decrease [W][S]
End
XR Height Increase/Decrease [H][L]
λ: Outside Diameter
r: Inside Diameter
θ1: Starting Angle
θ2: Ending Angle
9-29
9.4.3.4 Delete Window
Delete a window selected for editing.
9-30
Chapter 9 Operating Vision Manager
Handle
Rotate
Handle
9-31
9.4.3.7 Projection Window
For window shape parts (rectangle and sector), it is necessary to set the mode.
The mode is a parameter for specifying the window projection shape. It is quite
important when measuring the edge. For measuring shapes, other than the
edge, it is necessary to set the mode = 2 (all projection). When a window is
newly created or a window shape is changed, it is set to mode = 2.
Set the mode parameter according to the purpose.
Height
(No projection)
9-32
Chapter 9 Operating Vision Manager
9-33
9.4.4.2 Search Model Reference
Display the search model image registered to the vision board on the Vision
Monitor.
Reference position
9-34
Chapter 9 Operating Vision Manager
9.4.4.3 New
Use the New command to register a search model. When the search model is
newly created, the search model edit tool shows the range of images to be
registered to the vision board. To register the search model image to the vision
board, a registration process is required.
9-35
9.4.4.4 Delete Search Model
Delete the edit object search model.
9-36
Chapter 9 Operating Vision Manager
Handle
9-37
9.4.5 Calibration
Sets Window.
Measures the center of gravity in the Window.
Positioning at 3 places
9-38
Chapter 9 Operating Vision Manager
The points refer to the three points for calibration. Coordinates in the three
points, of the vision and the robot coordinates, can be correlated with each
other by point number.
9-39
(2) Cursor input
You can enter the vision coordinates while observing the camera images
using the cross cursor.
Vision monitor
9-40
Chapter 9 Operating Vision Manager
Center of gravity
9-41
9.4.5.4 Entering Robot Coordinates
Input the robot coordinates with either of the following two methods:
(1) Input numerals directly
(2) Use the coordinates stored in the P variables of the robot, as the input
values.
The following are the procedures of the above methods.
9-42
Chapter 9 Operating Vision Manager
C Coordinate List
9-43
9.4.5.5 Executing Camera Calibration
When you execute camera calibration, the Vision Manager calculates the
coordinate conversion coefficients from the entered vision coordinates and the
robot coordinates. Then, the Manager stores the calculation results in the file
specified on the personal computer. To register the calibration data to the
Controller, you need to transmit the data to the Controller from the personal
computer.
When the calibration data is transmitted to the Controller, only the coordinate
conversion coefficients are registered to the Controller. You can convert the
vision coordinates of user program into robot coordinates using the coordinate
conversion library.
The coordinate conversion library converts the coordinates using the
coordinate conversion coefficients registered in the Controller.
9-44
Chapter 9 Operating Vision Manager
Camera number
[ 2 ] Object of Image Analysis
Main window The image analysis tool analyzes the image data stored
on the processing screen. At this time, the analysis tool
measures the processing screen indicated at the status of
the main window. By entering camera images with the
camera input tool (Input), the processing screen to which
image data is entered is selected as an object to be
processed. When the processing screen appears with the
image display tool, the displayed processing screen
Status becomes the object for processing.
[ 3 ] Process Time
The image analysis tool displays the processing time required for
measurement in terms of milliseconds. However, since the minimum intervals
of measurement for processing time is 10 (milliseconds), time under 10
(milliseconds) cannot be correctly displayed. For example, if actual processing
time is 35 milliseconds, the image analysis tool displays the time as 30
(milliseconds). Moreover, if the processing time displayed on the image
analysis tool reads 0 (millisecond), the actual processing time would be 0 to 10
(milliseconds) or less.
[ 4 ] Measuring Result
To display the measurement data, bring focus to an object in the list of
measurement result of each window.
Note: When you execute image analysis, the screen mode (such as character size)
of the µVision board changes. Therefore, when you run a user program after
image analysis, you may obtain unexpected results. In this case, make
corrections by setting the necessary points in the user program.
9-45
9.4.6.2 Camera Input
- Pixel -
- Brightness -
The µVision board internally handles image data as a Each pixel of image data processed by
group of individual points, one of which is called pixel. the µVision board has a value (0 to 255)
The µVision board handles 512 x 480 pixels (lengthwise x that represents brightness (in 256
widthwise) in the storage memory (processing screen), steps). This value is called brightness.
and 624 x 480 pixels (lengthwise x widthwise) in the As the number gets close to “0”, the
dedicated drawing memory (drawing screen). pixel becomes darker. As it gets closer
to 255, the pixel becomes brighter.
512 624
480 480
9-46
Chapter 9 Operating Vision Manager
A C B
9-47
9.4.6.4 Binary-coded Registration
Binary-coded register tool Selects a window that specifies the range of processing.
Selects the select mode for binary-coded level.
Displays the previously displayed tool.
Changes the vision monitor display to the normal display.
Changes the vision monitor display to binary-coded display.
Binary-codes the currently displayed processing screen.
Detects the binary-coded level if detection mode is set to auto.
Displays a histogram.
Inputs camera images.
Displays the camera screen.
Note: Only the oblong window can be selected for processing (angle = 0).
9-48
Chapter 9 Operating Vision Manager
- Histogram -
Fig. 1 Fig. 2
0 Brightness 255 Lower Upper Lower Upper
pixel
Number of
Object Back-
ground
9-49
[ 2 ] Binary-coded Level Registration
(1) Manual
C D
(2) Automatic
9-50
Chapter 9 Operating Vision Manager
[ 3 ] Selecting Display
The binary-coded register tool can display the camera screen and the process
screen currently displayed on the vision monitor in a binary-coded format.
In binary-coded display, it is possible to check the binary-coded results without
having the actual data binary-coded.
B C A
9-51
[ 4 ] Binary Process Registration Screen
Converts the specified range of the currently displayed processing screen to
the binary codes.
- Result of binary-coding -
Before binary After binary
coding coding
Binary process registration tool Q Display a processing screen where you want to
detect the binary-coded level using the monitor
display tool.
R Click on in the tool bar.
The Binary Process Registration window appears.
S Select a window for detecting binary-coded level
with processing range (A).
T Set detection mode (B) to auto (mode method,
discriminant analysis method and P tile method).
For detection mode other than P tile method,
proceed with step after W.
U Specify the reference area (C) to use for the P tile
method.
E D C B A V Specify the object area (D) to measure with the P
tile method.
W Click on Detect Level.
The histogram appears.
Displays the detected binary-coded level at (E).
9-52
Chapter 9 Operating Vision Manager
9-53
- Area - Area refers to the counting of white (1) or
Window black (0) pixels in the range specified, by
the window, after binary-coding the
image data is input from the camera.
The result is the number of pixels. With
the µVision board, the area is measured
by binary-coding the brightness of every
pixel in the window in real time without
changing it, so it is not necessary to
binary-code image data in advance.
1 (white) area = 13
0 (black) area = 12
- Center of gravity - The object from the image data input from
the camera forms a plane. The center of
X
Window gravity refers to the point at which the
weight of an object on the plane would
remain in equilibrium.
Y The µVision board obtains the center of
gravity from white(1) or black (0) pixels
within the range specified by the window
after image data is binary-coded. The
center of gravity is expressed with X
coordinates and Y coordinates.
Object
Center of gravity
- Principal axis angle - The object from the image data input from the
camera forms a plane. When this planar
Major object is rotated, the longitudinal axis around
axis
which the object rotates best is called the
major axis of the principal axis and the axis
that intersects it orthogonally is called the
Minor minor axis. The µVision board defines the
axis
angle (theta) from the horizontal axis (X-axis)
to the major axis of the principal axis as the
angle (θ) of principal axis. The angle of
X principal axis is obtained in from white (1) or
black (0), object in a range specified by the
θ window after the image data is binary-coded.
Window Object
9-54
Chapter 9 Operating Vision Manager
- Result of measurement -
9-55
9.4.6.6 Labeling
Labeling measurement tool Specifies the window used to specify the range of measurement
With.
- Labeling -
Labeling refers to the numbering process of the concatenated areas of white (1) or black
(0) pixels after binary-coding image data input from the camera. (Refer to Fig. 1)
Labeling enables you to separately handle multiple objects that are present in the area
specified by the window.
With the µVision board, area, center of gravity, angle of principal axis, fillet shape and
circumferential length are obtained as the characteristics of respective objects upon
running the labeling. The fillet shape refers to an oblong that circumscribes the object.
(See Fig. 2) The circumferential length refers to the counting of pixels that constitute the
external shape of the object. (See Fig. 3)
Fig. 1 Fig. 2 Origin of fillet Fig. 3
0 External
shape
1 2
Circumferential
Length = 12 pixels
Note: Only the oblong window can be selected for processing (angle =
0).
9-56
Chapter 9 Operating Vision Manager
[ 2 ] Measuring Labeling
F
- Measurement result -
9-57
9.4.6.7 Edge
- Edge -
In µVision board, edge refers to a point at which an
Window object in the specified window changes from
darkness to brightness (black to white) or from
brightness to darkness (white to black).
The position of the edge detected by the µVision
Edge board refers to a point at which the brightness in
the window or the area value meets the specified
level value. To specify the level value, an absolute
Brightness
Brightness
Level Level
value value : Edge detect position
Note: Windows that can be selected with the object window are those
where the edge can be measured (straight line, oblong {mode = 1,
0}, sector {mode = 1, 0}).
9-58
Chapter 9 Operating Vision Manager
[ 2 ] Measuring Edge
- Measurement result -
9-59
[ 3 ] Distribution Graph
The edge measuring tool can display the distribution graph of a measured
window. According to this distribution graph, variation of brightness in the
window and the area can be checked. By linking the distribution graph and the
distribution data display, brightness and area of the graph-specified point can
A be checked with ease.
9-60
Chapter 9 Operating Vision Manager
+ direction
- direction
+ direction
Height
- direction
End point
Width
+ direction
- direction
+ direction Origin
+ direction
Starting
angle
- direction + direction
- direction
Origin
9-61
9.4.6.8 Model Search
Model search-measuring tool Specifies the window where you specify the range of measurement.
9-62
Chapter 9 Operating Vision Manager
- Search -
Search refers to searching for a point of concordance, by moving the standard image data
(search model), registered in advance, within the range for search (within the window range)
of the object to be measured. (Refer to Fig. 1) With the µVision board, the standard image
data is called “search model” which consists of image data and reference coordinates (OX,
OY). (Refer to Fig. 2) Numeral to express the degree of concordance between the search
model and measure object image is called “concordance”. If acquired concordance is greater
than the specified value, coordinates for the point of concordance between the search model
and the measure object image can be obtained. The minimum unit for coordinate detection
accuracy for pixel is one pixel. With sub-pixel, measuring result can be obtained with an
accuracy of under one pixel. If measured by sub-pixel, the measuring time will be longer than
the measurement by pixel.
Fig. 1 Fig. 2
Search
OY
Image data OX
9-63
[ 2 ] Model Search Measuring
Model search measure tool
Q Model search measure tool in the tool bar.
The Model Search window appears.
The window shape appears on both the teaching
panel and the vision monitor.
R Select Object Window (A).
The specified window range will be the object for
measuring.
S Select Search Model (B).
T Specify Coincidence (C).
U Select Detection unit (D) from Pixel or Sub-pixel.
V Specify Detection number (E).
W Specify Start Angle (F).
X Specify End Angle (G).
Y Click on Execute.
The Vision Manager measures the currently
selected processing screen and displays the results
in the Result table (H).
The processing results appear on the vision
H G F E D C B A
monitor.
- Measurement result -
Search model
9-64
Chapter 9 Operating Vision Manager
Object window The range of a specified window shall be the object of measuring.
Runs the search/process inside the window by using a specified
Search model
search model.
Position having the concordance value greater than specified will
Concordance
be handled as the result.
Specifies accuracy (pixel or sub-pixel) of the coordinates to be
Unit of detection search-measured. If measured with sub-pixels, longer measuring
time is required.
Specifies the number of results obtained from a search-measuring.
If the number of results reaches the value specified with the
Maximum
maximum number of detection, the measurement ends normally.
number of
If the number of result fails to reach a specified maximum number,
detection
TIMEOUT error will be generated. In this case, reduce the
maximum number.
Specify the rotation range of the object to be searched and
Start Angle measured.
End Angle The Vision Manager measures the object of which angle from the
origin resides between the preset start and end angles.
Code reading measuring tool Specifies a window for specifying the range of
measurement.
9-65
[ 2 ] Code Reading Measuring
B D C A
- Measurement result -
Automatic
If you select automatic binary processing, the code is read on
binary
an optimal binary code level.
processing
Binary code Set a binary code level to be used when not using automatic
level binary processing.
9-66
Chapter 9 Operating Vision Manager
Camera
P1
P3
P2 (work)
Edit program
9-67
9.5.2 Calibration of Robot Coordinates and Vision Coordinates
To visually correct the robot position using measured coordinates, it is
necessary to convert the vision coordinates to robot coordinates. To do this, it
is necessary to obtain the relationship between the vision and the robot
coordinates, in advance. The work for acquiring this relationship is called
camera calibration. It is possible to calculate coordinate conversion coefficients
(calibration data) by entering the vision coordinates (Vx, Vy) of 3 points (S1,
S2, and S3) determined in the camera field of view (vision coordinates) and the
robot coordinates (Rx, Ry and Rz) of the Vision Manager camera calibration
tool. Once obtained, coordinate conversion coefficients needs to be
transmitted to the Controller for registration. With the user program, convert
vision coordinates to robot coordinates by using the coordinate conversion
library (viTran6). The coordinate conversion library uses the coordinate
conversion coefficients registered to the Controller for converting coordinates.
Vision
Robot
coordinates Ry1
coordinates
Rx1, Ry1, Rz1: Robot coordinates of
Ry
Point S1
Vx1, Vy1: Vision coordinates of Point
Vy1 S1
1 Vx1 S1, S2, S3: Reference points
Rx1
Vx
S1
Rx1
Vy Ry1 Conversion Vx1
S2
Rz1 coefficients × Vy1
S3
Rx
b
0 1 2 3 4 5 6 7 8 9 10 11
a=0 to 31 NX OX AX RX NY OY AY RY NZ OZ AZ RZ
9-68
Chapter 9 Operating Vision Manager
Rx1
Vx
S1
Vy
S2
S3
Rx
Ry2
Ry R Input vision coordinates (Vx2, Vy2) of Point S2 and
the robot coordinates (Rx2, Ry2, Rz2) for Point 2 of
Vx2 the camera calibration tool.
Vy2
Vx
Rx2 S1
Vy
S2
S3
Rx
Ry3
S Input vision coordinates (Vx3, Vy3) of Point 3 and
Ry
the robot coordinates (Rx3, Ry3, Rz3) for Point 3 of
the camera calibration tool.
Vx3
Vy3
Vx
S1
Vy
S2
Rx3
S3
Rx T Click on Calibration of the camera calibration tool
and calculate calibration data (coordinate
conversion coefficients). Refer to Chapter 9 “9.4.5
Calibration” in this manual.
Rx, Ry: Robot coordinate U Transmit the calibration data (coordinate conversion
Vx, Vy: Visual coordinate coefficients) to the Robot Controller. Refer to
Chapter 9 “9.2.5 Transfer” in this manual.
9-69
9.5.4 Program Example
The following program list represents an example of visual robot position
correction. Take note on how to use the coordinate conversion library. This
program enables you to check the method for moving a robot by converting the
coordinates measured with vision to the robot coordinates.
PROGRAM PR1
Specify the I/O macro definition file. For details, refer to Chapter
TAKEARM
3, subsection 3.4.2 “Defining I/O Macro” of this Owner’s Manual.
TAKEVIS
CHANGETOOL 1 'Set the tool for vision calibration
MOVE L,P1 'Move to the standby position (P1)
VISSCREEN 1,0,1 'Specify drawing screen0 as the object screen for drawing
VISCLS 0 'Clear drawing screen0
VISOVERLAY 1 'Display drawing screen0
CAMIN 1,0,0 'Input camera images to processing screen0
VISWORKPLN 0 'Specify process object to processing screen0
VISPLNOUT 0,1 'Display processing screen0
WINDMAKE R ,1,512,480,0,2 'Set window
VISMEASURE 1,0,0,1,1,100,255 'Measure center of gravity (work position)
IF VISSTATUS(0) = 0 THEN
F1 = VISPOSX(0) 'Store vision coordinate X to F1
F2 = VISPOSY(0) 'Store vision coordinate Y to F2
P2 = P1 'Copy the data of standby position attitude
CALL viTran6(0, F1, F2 , P2)'Convert vision coordinates to the robot coordinates
(by using “0” of vision calibration data)
APPROACH P,P2,100
MOVE L,P2 'Move to the position measured by vision
GOSUB *ChuckItem 'Part chuck
DEPART L,100
APPROACH P,P3,100 Coordinate conversion library
MOVE L,P3 'Move to pallet P3 position “viTrans6” is registered to
GOSUB *UnchuckItem 'Part unchuck the Vision class in the
DEPART L,100 program bank. To convert
CHANGETOOL 0 coordinates, add the library
END IF “viTrans6” to the project. For
GIVEVIS the method of addition, refer
GIVEARM to Chapter 5 “5.6.2 Program
END Bank” in this manual.
*ChuckItem:
SET IO[ioChuck]
RESET IO[ioUnChuck]
RETURN
*UnchuckItem:
RESET IO[ioChuck]
SET IO[ioUnChuck]
RETURN
9-70
Chapter 9 Operating Vision Manager
9-71
9.6 Help Menu
The Help menu provides explanation on how to use WINCAPSII.
9-72
Chapter 10
Operating Log
Manager
Start Log Manager by clicking on button of the System Manager or from the
WINDOW menu.
When started the Log Manager window will appear on the screen.
The Log Manager window displays the logs as described in the following:
10.1.1.1 Document
Click the Document tab to record the history of maintenance operation, service
operation, etc.
10-1
10.1.1.2 Error Log
If an error is generated during robot operation, this log records the content of
the error together with the time of generation. To acquire the error log, run the
operation given in 10.2.5 “Receive Data” on page 10-11 and receive the Error
Log from the robot controller.
10-2
Chapter 10 Operating Log Manager
10-3
10.1.1.6 Version
Records the version of each respective section of the Robot Controller. To
acquire the version log, run the operation in 10.2.5 “Receive Data” on page 10-
11 and receive the Version Log from the robot controller.
Note: No error is detected unless the error and monitor buttons are
turned ON.
Program start
10-4
Chapter 10 Operating Log Manager
10-5
10.1.2 Tool Bar (Log Manager)
Tool bar
10-6
Chapter 10 Operating Log Manager
During monitoring
Start
End
10-7
10.1.4 Files to Be Managed
The Log Manager manages log files (*.LOG) as shown in Fig. 10-10.
Log Manager
*.LOG
10-8
Chapter 10 Operating Log Manager
File
New *1
Open *1
Save
Save As *1
Receive
Print
Import
Export
Close
Edit
Undo
Cut
Copy
Paste
Delete
Select All
Search
Replace
Search on Grid
Actions
Connect
Snapshot
Monitor
Begin Control Log
End Control Log
Clear Control Log
Reproduce Control Log Action
Graph Control Log
Tools
Options
Analyze by Control Log
Servo Joint Graph
Help
About Version
*1: To be displayed only when the file extension menu of the display option is
checked. To set the display option, re-login on the programmer level,
select Tool, Options, and View, and then check the option file extension
menu.
10-9
10.2 File Menu (Log Manager)
The Log Manager File menu is used for managing files of saved logs.
A file used for saving the content of a log is attached with “.log” as the
extension.
10.2.3 Save
Saves the contents of the current log to the currently selected file.
10-10
Chapter 10 Operating Log Manager
10.2.5 Receive
Receives log data in the Robot Controller.
This command can be operated using Receive.
When the Receive Table dialog box appears, check select the desired item and
click on Receive.
The log data is input to the personal computer.
10-11
10.2.6 Print
Prints each log.
When the Print Manager dialog box appears, check select the desired item and
click on PRINT.
Clicking on PREVIEW allows the printed image to be reviewed on the screen.
Check selecting the optional PRINT LINE NUMBER adds the line number for
printing.
TIP: To print specified pages only, click the printer button after
previewing. You may specify the print range in the printing
preview.
Note: If you select more than one object to be printed, Preview is not
usable.
10-12
Chapter 10 Operating Log Manager
10-13
10.2.6.2 Option
• Print Line No.: Selecting this with a check mark will print the selected
program together with the line numbers.
10.2.7 Import
Reads "Servo Single-Axis Data Log" data stored in the CSV format. The
read data can be displayed graphically with "Servo Single-Axis Data
Graph" on the TOOL menu.
The Windows standard dialog box appears. Select a desired file and also
select a read file, then click on Open.
10.2.8 Export
Stores "Servo Single-Axis Data Log" data in a CSV-format file. The stored
file is available for "Import" on the FILE menu or another application.
The Windows standard dialog appears. Select a path, enter the file name, and
click on Save.
10.2.9 Close
Ends Log Manager.
10-14
Chapter 10 Operating Log Manager
10.3.1 Undo
Cancels immediately preceding operation to "document" to restore the original
status.
10.3.2 Cut
Cuts out a selected range of data of the “document.” Cut data can be used by
the Paste command.
10.3.3 Copy
Temporarily stores the selected data in the Error Log, Control Log, Version,
Error Detection, and Communication Specification. Data temporarily stored by
copying can be used in the PASTE command.
10.3.4 Paste
Temporarily stored data by cutting-out or copying is pasted to a specified
location in the “Document.”
10.3.5 Delete
Deletes the selected data in the “document.”
10-15
10.3.7 Search
Searches for the specified character string in the “document.”
When the Retrieve dialog box appears, specify the necessary item and click on
Find Next. Detected character strings are displayed in reverse.
• Find What: Input the desired character string for search here.
• Replace With: Input character string desired for replacement here.
• Search Direction: Specify the direction of the search. If All is selected,
search runs downward to the end, then it runs downward from the top of the
data.
• Object: Select the range of search; all the document or within a selected
range.
• Maintain cases: If you check this box, upper and lower case letters will be
distinguished in searching character strings.
10-16
Chapter 10 Operating Log Manager
10.3.8 Replace
Replaces the specified character string in the “document” with the separately
specified character string.
When the Replace dialog box appears, specify the necessary item and click on
Find Next. Detected character strings are displayed in reverse.
Clicking on Replace replaces the character string currently being displayed in
reverse.
Clicking on Replace All replaces every applicable element in the selected
object.
• Find What: Input the desired character string for search here.
• Replace With: Input the character string desired for replacement here.
• Search Direction: Specify the direction of search. If ALL is selected, search
runs downward to the end, then it runs downward from the top of the data.
• Object: Select the range of search; all the document or within a selected
range.
• Maintain cases: If you check this box, upper and lower case letters will be
distinguished in replacing character strings.
10-17
10.3.9 Search on Grid
Searches the Error log and Operation log grids.
The basic operation is the same as described in 10.3.7 “Retrieving” on page
10-14, but the field name is added to the retrieving condition. The search runs
for the field specified in the Field Name box. If a matching character string is
found the appropriate page is displayed.
10-18
Chapter 10 Operating Log Manager
10.4.1 Connect
Makes connection for communication with the Robot Controller.
When connected, the menu has a check mark.
The CONNECT button works the same way as the CONNECT command.
When connected, it is displayed as if depressed.
10.4.2 Snapshot
Acquires the instantaneous data from the Robot Controller.
The SNAPSHOT button works the same as the SNAPSHOT command.
To run the snapshot command communication must be set up in advance.
10.4.3 Monitor
Acquires data in succession from the Robot Controller.
The MONITOR button works the same as the MONITOR command.
To run the monitor command communication must be set up in advance.
10-19
10.4.4 Begin Control Log
Starts recording the control log at the Robot Controller.
To run the Begin Control Log command, it is necessary for the communication
to be set up in advance.
The START LOG button works the same as the Begin Control Log
command. It has the same function as the PAC STARTLOG command. Refer
to “19.2 STARTLOG (Statement)” in Part 2 of Owner’s Manual (Programming).
"STEP 1
Click on button of System Manager.
The Arm Manager starts.
10-20
Chapter 10 Operating Log Manager
"STEP 3
Click the button of Arm Manager to enter Monitor status.
"STEP 4
Click the button.
STEP 4 Log Manager
Start 1-Step
Reproduces one step portion of the currently selected control log.
Start 1-Cycle
Reproduces robot action using the Arm Manager and the command value
recorded in the control log of Log Manager every 8 msec.
The playback button works the same way as the Reproduce Control Log-
Start 1-Cycle command.
Stop Step
When reproducing the current control log motion this will stop such motion.
The control log motion stop button works the same way as the Reproduce
Control Log-Stop Step command.
10-21
10.5 Tools Menu (Log Manager)
The Tools menu has these commands.
10.5.1 Options
Selecting Options command in the Tools menu and the Options dialog box
appears. Clicking on the table displays the respective option items.
Note: Items that can be edited vary depending on the user level. For
restrictions by user level, refer to “1.3 Security”. For the method of
changing the access level, refer to “4.3.3 Re-Log In”.
10.5.1.1 Monitor
• Timer intervals: Sets the data input intervals for monitoring. Initial status is
2000 msec.
10-22
Chapter 10 Operating Log Manager
10.5.1.2 Editor
10.5.1.3 File
• Load log data from the file at start: Specifies whether to read past data
saved in the log file when the Log Manager is started.
Note: Reading takes some length of time. The Log Manager automatically
starts when WINCAPSII is started.
10-23
10.5.1.4 Error Detection
Click the Error Detection tab to specify the processing performed upon
generation of an error.
The detection condition of errors displayed in ERROR DETECTION in the main
Log Manager window, conforms to the setting in ERROR DETECTION of the
SET dialog box.
For more information on Error Detection in the Log Manager window, refer to
“10.1.1.7 Error Detection”. For actual error detection, the Controller must be
constantly supervised. Detect errors by turning ON the MONITOR button in the
Log Manager window.
10-24
Chapter 10 Operating Log Manager
10-25
10.5.2 Control Log Analysis
Performs analysis on the basis of control log data and displays the expected
load ratio, maximum load ratio and expected rotational resistance load ratio of
each respective axis.
Paste the results of analysis in the document, check (d) and click on OK. The
analytical results of the displayed control log will then be added to the
document described in “10.1.1.1 Document”.
Note: For details on how to specify the receive data axis number and
item, refer to the Robot Instruction Manual.
10-26
Chapter 10 Operating Log Manager
10-27
10.7 New Control Log (Ver. 1.20 or newer)
10.7.1 New Control Log Function
WINCAPSII version 1.20 or newer supports a new control log whose operation
status will change as illustrated below.
Power ON
StartLog
NOTE: A flash memory refers to an area which preserves data even if power
supply is cut off.
When the power is on, control log is always recording data in ring buffer mode.
The buffer size for this can be specified by the user.
Data recording will be aborted due to an error occurrence (Error 6000's Level 3
or higher) or by StartLog or StopLog.
ClearLog or removing error will start data recording. (ClearLog will be
automatically called up when data is preserved from the ring buffer to the flash
area or to WINCAPSII.) Control log can be fetched only from WINCAPSII.
If recording is aborted, data can be fetched from the ring buffer or the flash
area.
10-28
Chapter 10 Operating Log Manager
NOTE 1: If the log is switched from a recording stop (recording aborted) to the
ring buffer mode after the removal of an error, data can be fetched until the ring
buffer will stop next. If ClearLog is executed, data can be no longer fetched.
NOTE 2: If the log is switched to a recording stop due to a full buffer by user
operation, it cannot be switched back to the ring buffer mode until it gets
ClearLog.
NOTE 3: If any error occurs during data fetching from the ring buffer, the error
log will not be recorded.
10-29
10.7.3 Setting the Ring Buffer for Preserving Data
You may change the ring buffer settings from the teach pendant or in
WNCAPSII. The ring buffer settings include two types of parameters--control
log record mode and control log sampling interval. The new settings you made
will take effect when power supply is turned on next time.
Defaults
Control log record mode: 1
Control log sampling interval: 8
The sampling time is 10 seconds.
10-30
Chapter 10 Operating Log Manager
Modify the Control log mode and Control log sampling time parameters.
Enter into WINCAPSII by 1-Programmer level. Open Arm Manager and select
[Tool] [Options] [Config.]. Set the control log record mode and control log
sampling interval parameters, then send those settings to the controller.
10-31
10.7.4 StartLog
After execution of StartLog, if the Time StartLog command
ring buffer becomes full, the
process will be stopped.
Buffer
That is, the log of process from Log is recorded
StartLog to the full buffer state here.
can be fetched.
10.7.5 Stoplog
The current ring buffer can be
stoped at the same time as
StopLog.
10.7.6 ClearLog
Restarts the ring buffer.
Restarts the sampling process which has been stopped with StartLog or
StopLog.
10-32
Chapter 10 Operating Log Manager
[F7 SaveLog.] Saves the control log into the flash memory.
[F12 DelLog.] Deletes the control log from the flash memory.
To fetch the control log from the flash memory, you need to check the flash
memory beforehand.
NOTE: Checking the flash memory is possible only with control log. It has no
effect on sending/receiving other data.
10-33
10.7.9 Saving Control Log to Floppy Disks
If you fetch log data with the FDD function, the control log will also be saved
onto the floppy disk. For details, refer to the OWNER'S MANUAL, "Setting-up."
To fetch the control log from the flash memory, press [F7 SaveLog] on the
controller log menu, then select "Enable" option, making the Saving of control
log possible.
NOTE: When the controller starts, the parameter for saving the control log in
the flash area is set to Disable.
10-34
Index
A
About Arm Manager .............................. 8-28 DIO Manager Button ............................... 4-2
About DIO Manager .............................. 7-28 DIO Manager Menu Tree ......................... 7-7
About Log Manager ..............................10-27 DISPLAY SELECT list (DIO Manager) ....... 7-2
About PAC Manager .............................. 5-49 DUMMY INPUT/OUTPUT button
About Variable Manager ........................ 6-26 (DIO Manager) ..................................... 7-2
About Vision Manager ........................... 9-72
ADD PROGRAM Button........................... 5-1 E
Adding Libraries to a Project.................. 5-39 Edge ..................................................... 9-58
Adding New Objects .............................. 8-25 Editing Personal Computer Variable Table ....
Area............................................. 9-53, 9-55 ........................................................... 6-8
AREA COORDINATE SYSTEM SET Editing Search Model ............................ 9-35
button(Arm manager)........................... 8-2 Ethernet Connection ...................... 1-4, 2-25
Arm Configuration Macro Definition File Executable File (*.NIC)............................. 5-7
(arm_cnf.h) .......................................... 8-6
Arm Files (*.ARM).................................... 8-6 F
Arm Manager Button .............................. 4-2 Features of Personal Computer Teaching
System ................................................ 1-1
B File Management by System Manager ...... 4-7
Backing Up Controller Variable Table .... 6-10 FLAT SHADING button (Arm Manager) .... 8-3
Binary-coded ........................................ 9-48
Binary-coded Level Registration............. 9-50 G
Binary-coded Registration Tool.............. 9-48 General Setting ..................................... 9-22
Bit Map File (*.bmp) ................................ 9-7 Group ................................................... 5-12
C H
Camera Calibration............................... 9-38 HELP Button........................................... 5-2
Camera Input ....................................... 9-46
Center of Gravity.......................... 9-53, 9-55 I
change the user level .............................. 1-9 I/O Layout Macro Definition File (dio_tab.h)
Changing Password............................... 4-21 ........................................................... 7-6
Code Reading Measuring....................... 9-65 Image Analysis...................................... 9-45
Command Builder................................. 5-43 INPUT POSE button (Variable Manager)... 6-2
Configuration Macro Definition File Input upper/lower limit level ................. 9-22
(dio_cnf.h) ........................................... 7-6 Installing WINCAPSII Software ................ 2-1
CONNECT button (DIO Manager)............. 7-2 Intermediate File (*.RIC) .......................... 5-6
CONNECT button (Log Manager) ........... 10-6 IP address.................................... 2-32, 2-33
CONNECT button (Variable Manager) ...... 6-2 IP Address ............................................ 2-37
CONNECT button(Arm manager) ............. 8-2
CONTROL LOG CLEAR button (Log Manager) J
......................................................... 10-6 J TYPE button(Arm manager) .................. 8-2
CONTROL LOG GRAPHIC button
(Log Manager) .................................... 10-6 L
CONTROL LOG MOTION REPRODUCTION Labeling................................................ 9-56
(1 cycle) button (Log Manager)............ 10-6 Location of Ethernet Board...................... 1-4
CONTROL LOG START button (Log Manager) Log File (*.LOG)..................................... 10-8
......................................................... 10-6 Log Manager Button................................ 4-3
CONTROL LOG STOP button (Log Manager)
......................................................... 10-6
COPY button(Arm manager) .................... 8-2
CREATE EXECUTION PROGRAM Button......
........................................................... 5-2
Cross Reference File (*.MAP).................... 5-7
CURRENT POSITION DISPLAY box
(Arm manager)..................................... 8-2
D
Deleting Objects.................................... 8-26
Determining Number of Variables............ 6-5
DIO Command Viewer........................... 7-27
DIO File (*.DIO)....................................... 7-6
M
Macro Definition File (var_tab.h)............ 6-11 RS232C .................................................. 2-9
Macro Definition File (vis_tab.h) .............. 9-8 RS232C Connection ................................ 1-2
Make File (*.LNK) .................................... 5-7 RS232C Dummy Input .......................... 6-25
Measuring Area, Center of Gravity and
S
Principal Axis .................................... 9-55
Measuring Edge .................................... 9-59 SAVE PROJECT Button........................... 5-2
Measuring Labeling............................... 9-57 Search Model Reference ........................ 9-34
Menu Tree of Arm Manager ..................... 8-7 Search on Grid (DIO Manager)............... 7-14
Menu Tree of Log Manager .................... 10-9 Search on Grid (Log Manager) ............. 10-18
Model Data File (*.mdl)............................ 9-7 Search on Grid (Variable Manager) ........ 6-19
Model Search ........................................ 9-62 Search time-out time............................. 9-23
Model Search Measuring ....................... 9-64 Security .................................................. 1-8
Modem Connection ................................. 1-6 SELECT ACTION OBJECT List ................ 5-2
MONITOR button (DIO Manager) ............. 7-2 Selecting Scope (Variable Manager).......... 6-1
MONITOR button (Log Manager) ............ 10-6 Set Communication Button ..................... 4-3
MONITOR button (Variable Manager)....... 6-2 Setting Network Environment................ 2-33
MONITOR button(Arm manager).............. 8-2 Setting the Network environment........... 2-39
MOVE button (Variable Manager) ............ 6-2 Shutter method..................................... 9-22
SMOOTH SHADING button (Arm Manager) ...
N ........................................................... 8-3
NEW PROGRAM Button .......................... 5-1 SNAPSHOT button (DIO Manager) ........... 7-2
NEXT button (DIO Manager).................... 7-2 SNAPSHOT button (Log Manager) .......... 10-6
SNAPSHOT button (Variable Manager)..... 6-2
O SNAPSHOT button(Arm manager)............ 8-2
OBJECT TREE button(Arm manager) ...... 8-2 STOP Button........................................... 5-2
Object Trees.......................................... 8-24 Synchronous method ............................ 9-23
Operator ................................................. 1-8 System Connected with Ethernet............. 1-5
Oscilloscope.......................................... 7-21 System Manager Menu Tree .................... 4-8
Outline of Arm Manager .......................... 8-1 System Project Management.................... 4-4
Outline of DIO Manager .......................... 7-1
T
Outline of Log Manager ......................... 10-1
Outline of PAC Program Manager ............ 5-1 T TYPE button(Arm manager) .................. 8-2
Outline of System Manager ..................... 4-1 Teaching System Connected with RS232C1-3
Outline of Variable Manager .................... 6-1 Telephone Line...................................... 2-20
Outline of Vision Manager ....................... 9-1 The Vision Manager Menu Tree ............... 9-9
Tool Bar (DIO Manager)........................... 7-2
P Tool Bar (Log Manager).......................... 10-6
P TYPE button(Arm manager) .................. 8-2 Tool Bar (PAC Program Manager)............. 5-1
PAC Program Manager Button................. 4-2 Tool Bar (System Manager)...................... 4-2
Password ................................................ 1-9 Tool Bar (Variable Manager) .................... 6-2
Pose Data Conversion ........................... 8-27 Tool Bar (Vision Manager) ....................... 9-5
Principal Axis........................................ 9-53 TOOL COORDINATE SYSTEM SET
Program Bank.............................. 5-36, 5-40 button(Arm manager)........................... 8-2
Program Bank File (*.BNK) ...................... 5-6 Transfer................................................ 9-11
Program Project File (*.PPJ) ..................... 5-6 TRANSMIT Button................................... 5-2
Program Source File (*.PAC) .................... 5-6 TRANSMIT button (DIO Manager) ............ 7-2
Programmer............................................ 1-8 TRANSMIT button (Variable Manager)...... 6-2
PROJECT button (Arm Manager) ............. 8-3 TRANSMIT button(Arm manager)............. 8-2
Transmitting Image Data....................... 9-11
R
U
Reading Code........................................ 9-65
Reading FD Images ............................... 4-23 Uninstall (WINCAPSIISoftware) ................ 2-6
RECEIVE button (Log Manager)............. 10-6 User Level ............................................... 1-8
Re-Log In .............................................. 4-22 using the command builder................... 5-44
Remote Operation ................................. 8-23
REMOTE OPERATION button(Arm manager)
........................................................... 8-2
Reproduce Control Log Action ..............10-20
RETURN button (DIO Manager) ............... 7-2
Robot Controller ..................................... 1-2
V
Variable File (*.VAR).............................. 6-11
Variable Manager Button ........................ 4-2
Variable Manager Menu Tree................. 6-12
Version (Robot Controller sections) ........ 10-4
VIEWPOINT SHIFT VERTICAL bar
(Arm Manager)..................................... 8-3
VIEWPOINT SHIFT X-AXIS ROTATION bar
(Arm Manager)..................................... 8-3
VIEWPOINT SHIFT Y-AXIS ROTATION bar
(Arm Manager)..................................... 8-3
Vision File (*.vis) ..................................... 9-7
Vision Manager Button ........................... 4-3
Vision monitor display position ............. 9-23
W
WINCAPSII-Generated Files ..................... 4-4
WIRE FRAME button (Arm Manager) ....... 8-3
WORK COORDINATE SYSTEM SET
button(Arm manager)........................... 8-2
Write FD Images ................................... 4-26
Z
ZOOM bar (Arm Manager) ....................... 8-3
WINCAPSII GUIDE (Ver. 1.95)
The purpose of this manual is to provide accurate information in the handling and operating of
the robot. Please feed free to send your comments regarding any errors or omissions you may
have found, or any suggestions you may have for generally improving the manual.
In no event will DENSO WAVE INCORPORATED be liable for any direct or indirect damages
resulting from the application of the information in this manual.