WincapsIII Manual
WincapsIII Manual
WincapsIII Manual
WINCAPSIII GUIDE
All products and company names mentioned are trademarks or registered trademarks of their respective holders.
Important
To ensure operator safety, be sure to read the precautions and instructions in "SAFETY PRECAU-
TIONS."
SAFETY PRECAUTIONS
Defines safety terms and related symbols and provides precautions to be observed. Be sure to read this section
before operating your robot.
Chapter 1 Overview
Describes the WINCAPS III features, product components, operating environment, and installation procedure.
Chapter 8 Logging
Describes the log functions of WINCAPS III. Describes error logs, operation logs, control logs and other types
and log acquisition timing using such devices as error triggers.
Chapter 10 Appendices
Contains related information.
ii
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 ISO 10218-1:2006.)
2. Warning Labels The robot unit and controller have warning labels. These labels
alert the user to the danger of the areas on which they are
pasted. Be sure to observe the instructions printed on those
labels.
Label (1)
Label (2)
Risk of injury.
Be sure to perform lockout/tagout
before starting servicing.
Label (4)
Turning the power ON when a person is
inside the safety fence may move the
arm, causing injuries.
3. Installation Precautions
For standard type and The standard and cleanroom types have not been designed to
cleanroom type 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 material,
(4) there is a mist,
(5) there are any large-sized inverters, high output/high
frequency transmitters, large contactors, welders, or other
sources of electrical noise.
For dust- & splash-proof The dust- & splash-proof type has an IP54-equivalent structure,
type but it has not been designed to withstand explosions. (The
HM/HS-G-W and the wrist of the VM/VS-G-W are an
IP65-equivalent dust- 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- & 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 material,
(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 not specified in this manual is in use, or
Note: Yushiron Oil No. 4C (non-soluble) is specified.
(7) there is sulfuric cutting or grinding oil mist.
3.2 Service space The robot and peripheral equipment should be installed so that
sufficient service space is maintained for safe teaching,
maintenance, and inspection.
3.4 Positioning of gauges Pressure gauges, oil pressure gauges and other gauges should
be installed in an easy-to-check location.
3.6 Grounding resistance The protective grounding resistance of the robot power supply
should not be more than 100Ω.
3.9 Setting-up a safety A safety fence should be set up so that no one can easily enter
fence the robot's restricted space.
(1) The fence should be constructed so that it cannot be easily
moved or removed.
(2) The fence should be constructed so that it cannot be easily
damaged or deformed through external force.
(3) Establish the exit/entrance to the fence. Construct the fence
so that no one can easily get past it by climbing over the
fence.
(4) The fence 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:
1) Place a door, rope or chain across the entrance/exit of
the fence, 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
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,
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.
3.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
2.
3.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.
3.14 Protection from objects If there is any risk of workers being injured in the event that the
thrown by the object being held by the end-effector is dropped or thrown by the
end-effector, consider the size, weight, temperature and
end-effector
chemical nature of the object and take appropriate safeguards to
ensure safety.
3.16 Posting the moving Post a notice showing axes names and moving directions in a
directions of all axes visible location on the robot unit. The posted moving directions
should match the actual directions.
No posting or wrong direction posting may result in bodily injuries
or property damages due to incorrect operation.
4.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 4.2 on the next
page.)
2) Assuring the safety of workers performing jobs within the
robot's restricted space (See Section 4.3 on the next
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.
4.2 Display of operation To prevent anyone other than the worker from accessing the start
panel switch or the changeover switch by accident during operation,
display something to indicate it is in operation on the operation
panel or teach pendant. Take any other steps as appropriate,
such as locking the cover.
4.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.
c An emergency stop device should be activated
immediately upon a malfunction.
d 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 emergency button on the teach pendant) immediately if
it should be necessary to do so.
4.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.
4.5 Release of residual air Before disassembling or replacing pneumatic parts, first release
pressure any residual air pressure in the drive cylinder.
4.6 Precautions for test Whenever possible, have the worker stay outside of the robot's
runs restricted space when performing test runs.
4.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 specified in this manual.
6. 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.
7. Safety Codes The safety standards relating to robot systems are listed below.
As well as observing the safety precautions given in this manual,
ensure compliance with all local and national safety and
electrical codes for the installation and operation of the robot
system.
Standards Title
ANSI/RIA R15.06-1999 Industrial Robots and Robot Systems--Safety Requirements
ANSI/UL1740: 1998 Safety for Robots and Robotic Equipment
CAN/CSA Z434-03 Industrial Robots and Robot Systems--General Safety Requirements
ISO10218-1: 2006 Robots for industrial environments--Safety requirements--Part 1: Robot
NFPA 79: 2002 Electrical Standard for Industrial Machinery
CONTENTS
Chapter 1 Overview ............................................................................ 1
1.1 WINCAPS III Features .......................................................................................... 1
1.2 Robot Controller and WINCAPS III Versions ........................................................ 1
1.3 Product Components and Operating Environment................................................ 2
1.3.1 Product components..................................................................................................... 2
1.3.2 Operating environment ................................................................................................. 2
1.3.3 License certificate and user registration ....................................................................... 2
1.3.4 WINCAPS III trial and light versions ............................................................................. 3
1.3.5 Note on languages ....................................................................................................... 3
1.4 Installing WINCAPS III .......................................................................................... 4
1.4.1 Before you begin .......................................................................................................... 4
1.4.2 Installing WINCAPS III.................................................................................................. 4
1.4.3 Registering license ....................................................................................................... 6
1.4.4 Uninstalling ................................................................................................................... 7
1.5 Connecting to Robot Controller ............................................................................. 8
iii
iv
vi
Note
The following functions cannot be used with versions older than Ver.2.6 of the robot controller soft-
ware.
• Certain log functions (trace log (single / multi), variables log, I/O log)
• Online (debugging) functions
For versions of robot controller software prior to Ver.2.0, use WINCAPS II.
Software
WINCAPS III Installer Product CD-ROM
License certificate
The WINCAPS III license is written on this. The reverse is a user registration card.
Operating System
Windows XP or Vista
CPU
Pentium 4 or later
Memory
512 megabytes or more
Others
A graphics processing unit (GPU) is recommended for displaying 3D data.
Procedure
To register as a user, use the web address given on license.
Note
• The trial and light versions show "Trial" and "Light" on the status bar at the bottom of the screen,
respectively.
• Entering the license key of the product version to the trial or light version makes it available as a
product version.
Note
Be sure to shut down all other applications before installing or uninstalling this software.
Operating procedure
Note
If the set-up screen is not displayed, right-click on the CD-ROM drive under My Computer and choose
Open on the menu that appears. Double-click on setup.exe on the CD-ROM file list to display the set-
up screen.
3. Press the install WINCAPS III button to display the WINCAPS III - InstallShield Wizard dia-
log box.
Follow the screen instructions to configure the installation.
Note
The installer may take a while before starting installation of WINCAPS III since it installs components
required for communication and 3D drawing prior to WINCAPS III.
Note
Restart the computer if the installation process ends with a message advising you to do so.
If the required modules are not installed, these will be installed prior to WINCAPS III. Some modules
may require you to restart the computer; return to WINCAPS III installation after having done so.
Enter the user ID printed on the license included with the product to the License Key field, and press the Add but-
ton.
Input the license key printed on the installation disc label for Light or Trial versions.
If the user ID appears under License Key, press the Close button.
Note
• Skipping over this license registration process loads WINCAPS III in test drive mode with limited
functionality.
• To register at a later date, choose Help|License... to display the above dialog box.
1.4.4 Uninstalling
The following is the procedure for uninstalling this software.
Operating procedure
1. From the Start menu, choose Settings|Control panel and then Add or Remove programs.
2. Choose WINCAPS III and then press the Change/Remove button to display a confirmation
dialog box.
Note
• If a dialog box appears warning of shared files, press the Leave all button.
• Installing WINCAPS III installs also ORiN2 SDK automatically; however, uninstalling WINCAPS
III does not uninstall ORiN2 SDK. To uninstall ORiN2 SDK, first check that no other applications
use ORiN and then uninstall ORiN2 SDK using the same procedure as above.
Ethernet connection
This method uses an LAN interface (CN4) to connect the computer to the robot controller.
Direct connection
Robot controller
Ethernet
Crossover cable
Hub
Robot controller
Ethernet
Straight-through cables
RS-232C connection
This method uses a serial port (CN1) to connect the computer to the robot controller.
Robot controller
RS-232C
Crossover cable
Communications
Communicating with a robot controller over an Ethernet or serial link.
Writing programs
Program using a PAC editor. For further details on programs, please refer to the programming manual.
The editor provides the following functions.
• Displaying line numbers
• Color-coded syntax highlighting
• Easy command input using an automatically scrolling list
• Automatic indenting
• Comment blocks
• Bookmarks
Program bank
This library holds programs covering handy DENSO robot functionality. For further details on programs,
please refer to Programming Manual II.
Users can customize programs registered in the program bank. They can also add their own.
Online monitoring
WINCAPS III monitors controller status, providing immediate access to variables, I/O values, and other quan-
tities.
Online debugging
WINCAPS III shifts control from the robot controller, allowing the operator to run robot programs held in the
robot controller from the computer running WINCAPS III.
Breakpoints, Step check, and other debugging facilities allow checking variables and I/O during operation.
Arm 3D View
This is for visualizing the robot motion and posture on the PC screen. Loading 3D data or creating simple ob-
jects enables the user to check interference with the equipment and movements of workpieces and tools without
running the actual robot.
Logging
The following functions for logging variables, I/O values, and error messages are available for efficient pro-
gram debugging.
• Error log
• Operation log
• Control log
• Trace log
• Variable log
• I/O log
• Single servo data log
Note
Using simple modeling and importing 3D data creates an on-screen simulation for specifying the ro-
bot's operation range and detecting collisions with surrounding equipment.
10
Note
11
Operator level
Level enabling PAC program creation / editing and other basic operations.
It blocks changes to WINCAPS III settings.
It does not require a password.
Programmer level
Level enabling changes in project settings and other higher operations.
It allows changes to WINCAPS III settings.
It requires a password.
For further details on setting this password, refer to 3.1.2 "Programmer password" (P. 17).
Note
Changing user levels while WINCAPS III is running requires returning to the dialog box for logging in.
12
13
1. Choose Tool|Option to display the dialog box for configuring such software options.
General tab
B
C
A: Project
This field specifies a folder for saving projects. This becomes the default folder for saving new
projects.
C: Log
Selecting this check box adds a Code column displaying souce code to the Trace log window.
* Note that large logs can take considerable time to display.
D: Debug function
Selecting this check box enables debugging.
Note
• Leaving it deselected disables all debugging functions, so selecting one during online operation
triggers an error message.
• WINCAPS III always starts with debugging disabled.
14
Editor tab
A: Font
This area specifies the font type and size for Program edit windows.
B: Code color
This area specifies the colors for highlighting text in the Program edit window. Select the text type,
then choose text color with Front color and surrounding color as Back color.
C: Tab
This area specifies the tabs for Program edit windows.
D: Others
Selecting this check box automatically runs a syntax check on the selected program before closing
the Program edit window. Select the check box to delete comments other than those in REM for
Adding Comments.
Communication tab
15
Arm tab
A
B
C
D
A: Moving tracks
Sets the point numbers for the robot operation trajectory displayed in the Arm 3D view window.
B: BackColor
This sets the Arm 3D View window background color.
Note
Moving to another tab does not save changes. To save your new settings, always press the OK but-
ton.
16
Note
Operating procedure
1. In the Login WINCAPSIII dialog box, choose 1-programmer as the user level to enable pass-
word input.
2. Enter the desired password and press the Login button to display the dialog box for chang-
ing the password.
3. Re-enter the new password in the Review new password field and press the OK button to
register the password.
17
Operating procedure
2. Press the Chg. PW button to display the dialog box for changing the password.
3. Enter three passwords: the current password in the first field and the new one in the other
two.
18
Note
WINCAPS III offers the user considerable flexibility in rearranging screen elements to match the
needs at hand.
For further details on screen customization, refer to 3.2.6 "Screen operations" (P. 41).
The screen shots in this document use the default layout, so may not necessarily match what appears
on your screen.
A
B
C D
A: Menus
This area displays the following ten menu items available in WINCAPS III.
• File menu
• Edit menu
• View menu
• Project menu
• Connect menu
• Debug menu
• Arm menu
• Tool menu
• Window menu
• Help menu
For further details on menu items, refer to 3.2.2 "Menu items" (P. 21).
19
B: Toolbars
This area displays the following six toolbars that provide user alternate access to most menu items with button
icons.
• Standard toolbar
• Edit toolbar
• View toolbar
• Link Mode toolbar
• Debug toolbar
• Log toolbar
For further details on toolbars, refer to 3.2.3 "Toolbars" (P. 30).
C: Docking view
The Docking view area displays various types of information windows showing the results of a project-wide
search, compile error messages, variables and I/O values, etc.
For further details on the Docking view, refer to 3.2.4 "Docking view" (P. 32).
D: Program view
The Program view area displays the source code, Arm 3D View window, etc.
For further details on the Program view, refer to 3.2.5 "Program view" (P. 38).
20
21
22
Insert Command
This is for inserting a command selected from the command input list at the
cursor position in the predetermined syntax.
23
24
25
The Debug menu is available in WINCAPS III connected with the robot controller version 2.7 or later.
26
27
28
29
3.2.3 Toolbars
The toolbars provide user alternate access to most menu items with button icons.
Alternatively, you can save screen real estate by turning them off, all or individually.
There are six of these toolbars. The following lists map their buttons to the corresponding menu items.
Standard toolbar
A B C D E F G H I J K L M N
A: New Project
B: Open Project...
C: Save Project
D: Save
E: Cut
F: Copy
G: Paste
H: Delete
I: Find...
J: Undo
K: Redo
L: Create Programs...
M: Check Syntax
N: Make Executable
Edit toolbar
A B C D E F G H I
A: Command List
B: Indent
C: Unindent
D: Encomment
E: Decomment
F: Set/Clear Bookmark
G: Next Bookmark
H: Previous Bookmark
I: Clear Bookmarks
30
View toolbar
A B C D E
A: Project View
B: Program list
C: Arm view
D: Arm Modeling
E: Arm operation
A B
A: Transfer Data
B: Monitor Communication
Debug toolbar
A B C D E F G H I
A: Start a Task
B: Step In
C: Continue All Tasks
D: Halt
E: Step-stop
F: Cycle-stop
G: Program Reset
H: Reset All Tasks
I: Toggle Breakpoint
Log toolbar
A B C D E F G
31
For further details on docking procedures, refer to 3.2.6 "Screen operations" (P. 41).
Docking is available for the following window types.
• 3.2.4.1 "Project view" (P. 32)
• 3.2.4.2 "Program list" (P. 33)
• 3.2.4.3 "Arm modeling" (P. 34)
• 3.2.4.4 "Arm operation" (P. 34)
• 3.2.4.5 "I/O window" (P. 35)
• 3.2.4.6 "Variables window" (P. 35)
• 3.2.4.7 "Tool/work/area setting window" (P. 35)
• 3.2.4.8 "Local variables window" (P. 35)
• 3.2.4.9 "Watch window" (P. 36)
• 3.2.4.10 "Output window" (P. 36)
• 3.2.4.11 "Search results window" (P. 36)
• 3.2.4.12 "Vision tool window" (P. 37)
A B C D
A: Create Programs...
This button is for creating program, header, and teach pendant (TP) panel files in the project.
B: Import
This button is for adding existing programs to the project.
32
C: button
These buttons are for moving files and folders up and down the file hierarchy.
D: Display files
This button opens a folder, displaying the files inside.
E: List hierarchy
This button lists all files and folders in the project hierarchy.
Double-clicking a program, header, or teach pendant (TP) panel file opens it.
Icon
A key icon is shown for locked files.
Program name
This displays the program name declared in "PROGRAM".
File name
This displays the name of files with programs stored.
Title
This displays the program name declared in '!TITLE "xxxxx".
Usage
This displays the usage status of the program.
33
34
35
36
37
38
39
40
Procedure
To drag a toolbar, grab its end tab or title bar (shown in red below).
41
Note
The drag destination is the title bar. Dropping anywhere else produces normal window overlap.
42
Operating procedure
1. Start dragging the window's title bar to display the snap icons.
43
2. Drop the blue window silhouette on an icon in the outer set to move the window against
the corresponding edge of the application window.
44
Operating procedure
1. Start dragging the window's title bar to display the snap icons.
2. Drop the blue window silhouette on an icon in the inner set to move the window against
the corresponding edge of the current area.
45
46
Operating procedure
1. Click the icon on the right end of the Docking view title bar.
The operation minimizes the Docking view area, showing the tab instead as shown below.
47
2. To temporarily display the minimized window in the Docking view area so that it overlaps
the Program view area as shown below, click the tab shown in step 1.
Note
• To minimize all windows in the Docking view area, select Window|Hide all.
• To restore a minimized window in the Docking view area to the original size, display the mini-
mized window and click the icon on the right end of the title bar. To restore all minimized win-
dows to the original size, select Window|Show all hidden windows from the Window menu.
48
Note
The edited changes can be selected and saved by pressing Show extra information.
Save button
Overwrites the project.
Don't Save button
This button deletes the edited changes.
Cancel button
Cancels the quitting procedure and reverts to the previous WINCAPS III screen.
49
4.1 Overview
WINCAPS III manages the programs, parameters, variables, and other data for each robot as a separate project.
4.1.1 Folders
A project uses the following file hierarchy.
Project folder A
Project file B
Backup folder D
A: Project folder
This holds all files for the project.
Its name becomes the project name.
B: Project file
This file, with file extension .wpj. contains data on the project overall.
Double-clicking this file opens the corresponding project. (File extension: .wpj)
D: Backup folder
This folder holds backup copies of robot controller related data including the power-on time. Receiving data
from the connected robot controller automatically creates this folder.
50
Operating procedure
Note
Starting WINCAPS III Project wizard when the currently open project has unsaved modifications dis-
plays the following confirmation dialog, asking whether or not to save unsaved modifications before
closing the project.
51
Note
• The last four can be modified at any time, but not the first three:
• Project name and location
• Robot type
• Robot controller options
• There is a basic setting that specifies where WINCAPS III saves new projects. For further details
on these settings, please refer to 3.1.1 "WINCAPS III basic settings" (P. 14).
• Do not check the Customer specifications check box displayed by Robot controller options for
standard robots. Use for robots with special specifications (with a "#" for the robot type).
3. When a Complete button appears on the screen, press it to display the new project.
52
Note
Note
When executing Save project as..., specify a folder name other than the current project folder name
and all folder names contained in the current project folder.
53
2. Click the tab containing the desired configuration option for the settings.
Note
Moving to another tab does not save changes. To save your new settings, always press the OK but-
ton.
Type
Displays the robot type.
54
Ethernet
Enter the robot controller's IP address.
• IP address
Enter the robot controller's IP address.
• Specify the IP address of the local machine.
If your PC has several network cards, you can specify the one to use when linking. Specify the network
card's IP address.
• Specify the port number of the local machine.
Check the box and enter the port number if you wish to specify the PC's port number when linking.
RS-232C
Input the RS-232C communications settings in line with those of the robot controller.
Compile tab
Sets data regarding the executable program.
File name
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.
55
Output code
Sets the software version of the robot controller. Depending upon the version, the output codes of the exe-
cution 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.
Language mode
Specifies the executable program language.
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.
Reallocation table
Sets the size of working range for determining the absolute addresses.
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 com-
piling.
I/O 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.
56
Variable tab
This specifies the number of variables used.
Set it to match the number of project variables used by the robot controller.
I/O tab
This specifies I/O assignments and I/O options.
For further details on I/O specifications / settings for each device, refer to the Option Equipment Manual.
57
Note
• Enabling the filter lists only parameters containing the specified string.
• Selecting the Mask unmodifiable items check box lists only those settings available for editing.
Note
Moving to another tab does not save changes. To save your new settings, always press the OK but-
ton.
58
Operating procedure
1. Choose Connect|Settings to open the Property dialog box to the Communications settings
tab.
Ethernet connection
All that is needed is the robot controller's IP address.
For further details on determining this, please refer to the robot controller documentation.
59
Program
Data concerning programs. There are two types of data for programs.
Source file
Uncompiled program data
Variable
Data for all variable values.
Tool/Work/Area
Data on tools, work, areas.
Log
All log data. (receivable only)
Set log data in flash fields and so on using Log acquisition settings.
Parameter
All parameter data.
Includes parameters in the Parameter editing screen.
There are five types of data for parameters as follow.
Arm parameters
Parameter on movement of the robot.
• Path tab
• Config. tab
• Servo tab
I/O parameters
Parameters concerning I/O.
• I/O tab
• DNet master tab
Program parameters
Parameters concerning programs.
• Program tab
• Interpreter tab
Communication
Communications settings parameters (receivable only)
• Communication tab
60
Vision
Parameters concerning visual functions.
• Vision tab
Vision
All visual tools data.
Select Screen data settings on the Transfer data screen.
Configuration
All configuration data (calset values, etc.)
Note
Some items will not appear in the list of transferable data due to WINCAPS III settings or robot con-
troller specifications.
Operating procedure
Note
61
4. Press the Yes button to start transferring data and display a progress screen.
Note
Receiving data from the robot controller updates the WINCAPS III project data, nullifying any program
updates in the interim.
Caution
When transferring data to the robot controller, close the Program List window or the Select Variable
Type window (if opened) on the teach pendant beforehand; otherwise, the controller cannot load map
files or executable files transferred from WINCAPS III.
62
Operating procedure
Save button
Writes WINCAPS III project arm parameters to a file.
Load button
Arm data from files below on your PC is uploaded to your current project.
• WAM: WINCAPS III arm data format
• WPJ: Loads only arm data from WINCAPS III projects.
• ARM: WINCAPS II arm data format
63
Operating procedure
New Project
This radio button is for creating a new project and reading data from a USB memory into the project.
Enter a project name and select a location for saving the project.
64
65
4. Click the Next button to read the specified data from the USB memory.
Upon completion of reading, the following dialog appears.
66
Operating procedure
ROBOTPRJ (Root)
This radio button is for writing the entire project file into a USB memory.
Following folder
This radio button is for specifying a folder in the project and writing data held in the folder into a USB
memory.
Note
When writing data into a USB memory, first open a target project and then start the FDTool wizard.
The wizard cannot select an unopened project.
67
3. Click the Next button to write the specified data into the USB memory.
Upon completion of writing, the following dialog appears.
68
4.9 Print
Project data of various types can be printed out.
Operating procedure
2. Select the data you wish to print and press the Preview button.
Check the preview and then make your print out.
Note
Printing out log data can result in vast amounts of printout pages, hence be sure to check the number
of pages using the preview function first before printing.
69
1. Choose Project|Add Program... to display the dialog box for creating a new program, head-
er file, or teach pendant (TP) panel.
4. Press the OK button to open a new file based on the template in the corresponding win-
dow: a Program edit window in the Program view area for a program or header file or the
Panel Designer window for a TP panel.
Panel Designer procedures appear in the Panel Designer User's Manual separately issued.
Note
• The folder for the new file is the default (shown in gray) currently selected in the Project window.
If the target folder already contains a file with the name specified, pressing the OK button displays
an error message and returns to the dialog box.
• The limit is one TP panel per folder.
70
Operating procedure
2. Select the file to add and press the Open button to add it to the Project and Program list
windows.
Note
• The folder for the file is the one currently selected in the Project window. If that folder already con-
tains a file with that name, however, a dialog box asks permission to overwrite it.
• If you wish to import by folders, choose Project|Folder|Import and specify the folder.
71
Operating procedure
2. Specify the target folder and file name and press the Save button to save the contents of
the Program edit window there.
If that folder already contains a file with that name, however, a dialog box asks permission to overwrite it.
Note
• If there are multiple programs in the Program view area, the file saved is the active one, the one
in the currently selected Program edit window.
The File menu emphasizes this by adding the file name to the two menu items.
• If that folder already contains a file with that name, however, a dialog box asks permission to over-
write it.
72
Note
• If the Project window does not show file names, press its Display files button.
• The Program view area provides a tab interface for switching between files.
Alternatively, tiled and other layouts display multiple files for direct selection.
Other functions
• Jump to...
This is for moving the cursor to a line, specified by number, in the Program edit window.
• Comment out
This submenu command changes the lines selected in the Program edit window into comments.
• Indent
This submenu command indents the lines selected in the Program edit window.
• Bookmark
This submenu is for working with bookmarks, markers on lines in Program edit windows.
These markers make it easier to return to that position.
• Helper functions
These are to help command input by listing candidates and showing command syntax.
73
Target items
This field specifies the range of the target to be searched/replaced.
Choose Project to specify the file type.
Option
You can specify various search methods.
You can also select the files when executing Replace all.
Note
Double-clicking a line in the Search results window displays the corresponding program line.
74
Operating procedure
Operating procedure
Note
75
5.4.2.3 Indent
This submenu command indents the lines selected in the Program edit window into comments.
Operating procedure
Note
5.4.2.4 Bookmark
This submenu command is for setting a bookmark on the line under the cursor, or moving the cursor to a bookmark.
Operating procedure
2. Choose Edit|Toggle Bookmark to set the bookmark or, if there is already a bookmark there,
delete it.
Bookmark
Operating procedure
1. Choose Edit|Bookmark|Next Bookmark to move the cursor downward from the current po-
sition to the next bookmark.
To move the cursor upward, choose Edit|Bookmark|Previous Bookmark instead.
76
Operating procedure
77
Operating procedure
Note
Choosing a command inserts it with default values for any command parameters.
Edit these values without worrying about parameter syntax.
78
A B C D
F
E
G
H
A: History
Select command from history of previously entered commands.
B: Find
Search commands using their names or description.
C: Insert
Selected commands are input at the cursor position on the program editing window.
D: Help
This displays the Help for the selected command.
E: Command list
Commands are listed by category.
P: Parameter
List of parameters for the selected command. Correct commands can be created by input into the values col-
umns.
G: Brief description
Shows a simple description of the command.
79
Operating procedure
1. Press the desired key to which the selected string should be assigned.
3. Press the desired key to which the selected string should be assigned.
Operating procedure
1. In the Program edit window, move the cursor to the line to which the registered string
should be inserted.
3. Press the key to insert the character string into the program edit window.
80
81
Note
Program samples are already preset in the program bank. For further details on program samples,
please refer to Programming Manual II.
Operating procedure
2. Select a program.
Two tabs switch between the documentation and source code for the selected program.
Readme tab
Proper documentation covers function, syntax, usage, conditions, limitations, and other particulars.
Source tab
This displays the source code for the selected program.
82
3. Press the Add program button to add the program to the folder selected in the Project win-
dow. Other programs within the project can then access this program with CALL state-
ments.
Operating procedure
3. Press the Add program button to display the Add title dialog box.
83
2. Press the Add category button to display the eponymous dialog box.
84
Note
• If the Project window does not show file names, press its Display files button.
• Panel Designer procedures appear in the Panel Designer User's Manual separately issued.
85
1. Select the parent, the folder in the Project window to hold the new folder.
2. Choose Project|Folder|New to create a new folder and select its name for editing.
Note
86
Operating procedure
2. Choose Project|Folder|Import to display the Browse folders dialog box and specify the
folder to import.
3. Press the OK button to copy the selected folder as well as the files inside to the target fold-
er selected in the Project window.
Note
If the target folder already contains a file with the same name, however, a dialog box asks permission
to overwrite it.
87
Note
The target is the file in the currently active Program edit window.
Operating procedure
2. Choose Project|Check Syntax to run the check and display the results in an Output win-
dow.
A syntax error triggers an error message consisting of an indication, , the line number, and a brief
note in the Output window.
Double-clicking on this message highlights the corresponding line in reverse in a Program edit window.
Note
There is an option for automatically running this check on the program after each save.
Choose Project|Properties to display the project property sheets and look for it on the Compiler tab.
88
Note
Operating procedure
An error triggers an error message consisting of an indication, , the line number, and a brief note
in the Output window.
Double-clicking on this message highlights the corresponding line in reverse in a Program edit window.
Note
• Checking executable operation requires first downloading it to the robot controller with the proce-
dures in 4.7.2 "Data transfers" (P. 60).
• To specify file names for executables, choose Project|Properties to display the project property
dialog box and select the Compiler tab.
89
B
C
A: Current positions
This area displays the current values of robot position variables of types P, J, T, and J-EX.
The Arm|Display current angles submenu switches the layout here.
B: Work number
This area displays the current work number.
The Arm|Work coordinate monitor submenu switches between display/non-display of the layout here.
C: Tool number
This area displays the current tool number.
The Arm|Tool coordinate monitor submenu switches between display/non-display of the layout here.
90
91
C
B
D
E F
G I
J H
A: Object tree
This shows the object hierarchy behind the Arm 3D view.
Right-clicking anywhere in the object tree area displays the following context menu.
Add node
This is for adding a node underneath the selected object.
Add 3D data
This is for adding an object using 3D data from an external source.
Import shape data
This is for reading in existing modeling data.
Export shape data
This is for saving the modeling data for the selected node or object as a file.
Cut
This moves the selected object to the Windows clipboard.
Copy
This copies the selected object to the Windows clipboard.
Paste
This inserts the object in the Windows clipboard as a child of the currently
selected object.
Delete
This deletes the selected nodes and objects.
Change name
This is for changing the name of the selected node or object.
Move Robot Data
This is for moving all data of Base objects including the robot on the object
tree.
The robot data moves as a child of the selected node or object.
92
Children nodes...
All objects below the selected node can be expanded/collapsed, displayed /
not displayed, interference checked / not checked.
Property
This displays the property sheets for the selected object.
B: Add buttons
These add an object of the shape indicated on the button. There are six shapes available.
C: Node button
This adds a node.
D: External button
This reads in 3D data from an external source.
E: Name
This field specifies a name for the selected object.
F: Color
This field specifies a color for the currently selected object.
I: Properties button
This displays the property sheets for the currently selected object.
J: Relative position
These fields specify the relative position for the currently selected object.
X, Y, Z : Relative x/y/z coordinates in mm.
RX, RY, RZ : Angles relative to the corresponding axis, in degrees.
K: Size
These fields specify the dimensions for the object selected on the tree.
X, Y, Z : Dimensions along the x-, y-, and z-axes, in mm.
The radio buttons above offer a choice of specifying half- or full-sized measurements.
Note
• If the data of the selected object is 3D data imported, the Size fields specify the magnification.
Assuming the original size of the 3D data as "1," specify the magnification.
• Imported 3D objects cannot be edited.
• Entering negative values into the Size fields inverts the object.
93
A
B
C
D
A: Ope. mode
Select movement mode.
• Axes: operates all axes.
• XY-bisection: moves according to the selected work coordinates. RX/RY/RZ rotate around the work co-
ordinates centered on the tool origin point.
• Tool: moves according to the selected tool coordinates. RX/RY/RZ rotate around the work coordinates
centered on the tool origin point.
B: Work coordinates
Select work coordinates.
C: Tool coordinates
Select tool coordinates.
D: Distance
Select the movement quantity unit with the Move position buttons.
94
Work group
This group contains the coordinates for eight work pieces, Work0 to Work7.
Selecting the Display check box in the Model tree window displays the current coordinates in the Arm 3D view
window.
The work group node relative positions reflect the Work coordinate settings. Choose View|Tool/Work/Area
Settings|Work to display this window for modifying these settings. (Work0 cannot be edited on the base center.)
Tool group
This group contains the coordinates for sixty four tools, Tool0 to Tool63.
Selecting the Display check box in the Model tree window displays the current coordinates in the Arm 3D view
window.
The tool group node relative positions reflect the Tool coordinate settings. (Tool0 cannot be edited on the base
center.)
Area group
This group contains the coordinates for 32 areas, Area0 to Area31.
Selecting the Display check box in the Model tree window displays the current coordinates in the Arm 3D view
window.
95
Adding nodes
A node may be added anywhere in the object hierarchy.
Select a node on the object tree, right-click, and choose Add node from the context menu that appears to add a
new node as a child of the selected one.
Note
Grouping the pallet, pallet bench, and other objects under a common node, for example, enables
copying and pasting them together as a single group.
Layout example
96
Operating procedure
3. Press the (Box) button in the Model tree window to add a box to the Arm view window.
Change name
Right-click on the object and choose Change name from the context menu that appears to highlight the
name, ready for editing.
Changing color
To change the color of an object, press the Pick color button in the Model tree window and choose from
the palette that appears.
97
Note
Here, it is faster to copy and paste the above box as the second leg and then again as the starting
point for the top.
98
Note
The way the object is displayed can be altered with the Model tree Property button.
Pressing the Property button displays the dialog box below.
Display setting
Sets object display properties.
Related axis
Settings for objects moving in relation to the added axes in the case of projects with added axes
or SMT7 controller. Set the axis, movement and movement units.
Collision detection setting
Detection level: Specifies the sensitivity for detection of collisions.
Display detection area: Displays the range for detecting object collisions.
Detailed option: Further options for the range for detecting collisions with imported 3D data.
99
Operating procedure
2. Right-click and choose Export data from the context menu that appears to display the
Browse folders dialog box.
Note
All objects contained in the selected nodes / objects are also saved.
100
Operating procedure
2. Right-click on the object tree and choose Read shape data from the context menu that ap-
pears to display the dialog box for selecting a file to import.
101
Note
Operating procedure
2. Right-click and choose Import modeling data from the context menu that appears to dis-
play the dialog box for importing such data.
Note
The units of the data scale may differ according to the software on which the 3D data was created.
Select the appropriate unit and import.
102
7.1 Overview
These functions are for monitoring robot controller variables, I/O, and other aspects of operation and for checking
robot controller program operation under WINCAPS III control.
They cover all phases of robot application development.
Monitoring
This monitors the status of the robot controller.
Displays the robot's attitude in the Arm 3D view, and the variables, I/O, program executable lines. All types of
variables can be edited.
This software can receive all log data and preserve them.
Debugging
In addition to monitor functions, programs in the robot controller can be executed on your PC for debugging.
Caution
Debugging is not possible for robot controllers prior to Version 2.7.
103
7.2 Monitoring
For further details on connecting to a robot controller, refer to 1.5 "Connecting to Robot Controller" (P. 8) and 4.7
"Link with Robot Controller" (P. 59).
Note
This menu command is only available when the robot controller is offline. It is not available during de-
bugging (online).
Note
When connection for online operation is complete, WINCAPS III windows automatically display robot
controller internal data. Returning online brings you back to the project in the PC. (The received log
data also remains in the PC project.)
104
Operating procedure
1. Double-click a program in the Project or Program list window to display that file in the Pro-
gram view area.
B: Variable contents
The contents of the currently selected variable appear as pop-up tip text.
2. Select a variable and choose Debug|Show Quick Watch to display this dialog box.
3. Press the Register button to add the selected variable to the Watch list.
For further details on Watch window settings, refer to 7.2.2 "Monitoring variables" (P. 105).
105
Operating procedure
Task
This displays the program name.
Variable name
This displays the registered variable names.
Value
This displays the variable values.
Type
This displays the variable types.
Log
Select Valid / invalid for the log.
Select Valid if a log is to apply.
Operating procedure
1. Choose View|Variables and choose a type from the submenu to add the corresponding
window in the Docking view area.
Jump
Displays the specified number.
Smart View
Displays only variables with a check in the Smart column.
106
No.
Displays the variable numbers.
Value
Displays the value.
Application
The user can enter the application. When the Add comment function is in use, text input for the Appli-
cation is added to the program as a comment.
Macro name
Enter the name of macros usable in the project.
Operating procedure
1. Choose View|Local Variables to display this window in the Docking view area.
Variable name
Displays the variable names.
Value
Displays the value.
Type
This displays the variable types.
107
Operating procedure
1. Choose View|I/O Window to display this window in the Docking view area.
Jump
Displays the I/O of the specified number.
Smart View
Displays only I/O with a check in the Smart column.
No.
I/O port number.
State
A green icon is displayed when on and gray when off. You can switch between on/off by clicking on the
icon when in Dummy input mode.
Type
Displays the I/O type. Displays I/O port type: input/output, exclusive/universal, internal/hand I/O, etc.
Application
Users can add comments for each I/O port. Already input in exclusive signals, etc.
Macro name
Input the macro handling the I/O as the name inside the program. This is already input but can be freely
changed.
Dummy
Dummy operations are possible for I/O with a check in this column.
Log
I/O with a check in this column will have a log record. The upper limit is 50 at a time.
108
Smart
Press the Smart view button to display only I/O with a check.
Oscilloscope
Displays whether the I/O is on/off in oscilloscope fashion. On/off changes can be checked with a time-
line.
109
Enter the password number for the function to be extended and press on the Add button to validate it.
To invalidate them, enter the validation password number and press the Delete button.
110
For further details on connecting to a robot controller, refer to 1.5 "Connecting to Robot Controller" (P. 8) and 4.7
"Link with Robot Controller" (P. 59).
For further details on configuring the robot controller, please refer to its Setting Guide.
• No PAC programs are running.
• All motors are OFF.
111
Caution
• The WINCAPS III debugging functions are for running robot programs and controlling operation
from the computer.
To ensure safety, always stay within reach of an Emergency stop button on the teach pendant,
the mini-pendant, or the equipment.
• Never debug over a link that puts the equipment out of sight of the operator at the computer.
Operating procedure
1. Choose Tool|Option and select the Enable online-debug mode check box on the General
tab.
Note
• Leaving Enable online-debug mode deselected disables all debugging functions, so selecting
one during online operation triggers an error message.
• WINCAPS III always starts with debugging disabled.
Status bar
112
Stop button
Side effects
Switching to offline operation triggers the following cleanup operations.
• Stopping PAC programs
• Turning off motors
• Stopping supervisory tasks
• Closing teach pendant (TP) panels
• Clearing all breakpoints
• Clearing all dummy I/O settings
Note
When connection for online operation is complete, WINCAPS III windows automatically display robot
controller internal data.
Caution
Debugging imposes the following restrictions.
• Only the computer doing the debugging can run PAC programs (or supervisory tasks) or turn on
motors, not a teach pendant, a mini-pendant, I/O devices, or other computers running the ORiN
SDK.
• The teach pendant cannot load programs.
113
Operating procedure
1. Double-click the program to execute in the Project or Program list window to display it in
the Program view area.
3. Select an option and press the OK button to run the robot program as specified.
The robot will operate following the program's commands.
The Arm 3D view, if open, tracks actual robot operation.
Note
When debugging supervisory tasks from WINCAPS III, the following functions are used.
• Step in, Step-stop
• Halt
• Program reset
• Toggle breakpoint
Note that stop commands to all programs, such as Emergency stop and Reset all programs, cannot
stop supervisory tasks.
114
Caution
The WINCAPS III buttons are useless if the computer crashes or the communications link is lost. To
ensure safety, always stay within reach of an Emergency stop button on the teach pendant, the mini-
pendant, or the equipment.
115
Operating procedure
1. Choose View|I/O Window to display this window in the Docking view area.
2. Switch on the Dummy check box for the dummy operation input signal.
116
If several input signals are set, specify the range by dragging and combine them by selecting Enter dummy
check or Remove Dummy check using the mouse right-button menu.
3. Press the Dummy input button to reflect the dummy I/O settings in the robot controller.
Press the Dummy input button again to remove the robot controller dummy I/O settings.
Note
• If communications errors occur using DeviceNet or other field networks, dummy input settings
cannot be made unless field network display error settings are 1:Default. Refer to Field Network
Display Error Parameters in the RC7M Controller Manual Option Equipment Manual regarding
such display errors.
• Dummy I/O settings are not possible for applications listed as Reserved for exclusive input.
Switch the Dummy check boxes off before using.
117
Operating procedure
118
2. Select desired items from the pull down lists for Command field and Data field 1, and input
appropriate values in Data field 2.
Odd parity is automatically set.
119
120
121
Case A
Recorded control logs from 25-44.
20 control logs are recorded after StartLog, taking up all space in the ring buffer with 20 sets of log data re-
tained.
Case B
Recorded control logs from 25-40.
Only 16 control logs are retained from after StartLog to StopLog.
Case C
Recorded control logs from 21-40.
The 20 control logs recorded up until StopLog are retained.
Case D
Recorded control logs from 10-25.
The 16 control logs recorded from ClearLog to StopLog are retained.
122
Note
Error trigger logs retain the various recorded logs when a specified error occurs. Log data retained
(not updated) through STOPLOG or another command in log operation is saved in flash memory.
If the log is non-empty, a special symbol ({) appears on the first line of this dialog box.
123
124
125
A B C
A: Receive button
This receives error log data from the controller and displays it.
126
A: Receive button
This receives operation log data from the controller and displays it.
The following items are recorded for the data.
• Date / time
• Client
The device that was operated is recorded. (TP: Teach pendant. PC: WINCAPS III, etc. PC. I/O: I/O. SYS:Sys-
tem)
• Operation
• Time since controller boot
127
Grid display
A B C D E F GH I J K L M
Graph display
A B C D E F GH I J K L M P
N
O Q
A: Receive button
This receives control log data from the robot controller and displays it.
128
I: Step in button
This reproduction button plays back the control log, producing step-by-step robot motion in the Arm 3D view.
K: Speed control
This controls the robot operating reproduction speed in the Arm 3D view subject to testing priority. There are
two choices.
• Priority to collision detection
Robot movement is reproduced for each log data line. For collision detection you can prioritize collision
determination with slowed down reproduction.
• Priority to actual running times
Reproduction of operation matches the actual speed. (The collision may not be accurately determined.)
N: Cursor position
Moves the position of the cursor in the graph.
O: Drawing axis
Selects a data axis displayed in the graph.
Q: Program / Line
Displays the program name and source code line at the cursor position.
129
R: Status
Displays the cursor position coordinates and the cursor position values of log data displayed in the graph.
130
Note
The most recent 1,250 error trigger logs are secured regardless of the number setting.
131
• Command statements
The following three commands are used for trace logging. For further details on commands, please refer to
the Programming Manual.
STARTTRACELOG: Declares the start of trace log recording.
STOPTRACELOG: Logs the currently recorded log data.
CLEARTRACELOG: Clears the trace log data.
132
133
ABCD E
A: Receive button
Trace log (multi) data is received from the controller.
134
Note
ABCD E
A: Receive button
This receives variable log data.
135
Note
Only I/O with checks in the Log column of the WINCAPS III I/O screen are logged.
Log acquisition in programs is not possible.
A BCD E
A: Receive button
This receives I/O log data.
136
• Status
Altered status
• Time since log record start
• Time since controller boot
• Initial value
INITIAL is entered in the value when logging begins.
137
9.1 Overview
The Vision Manager is for writing robot vision programs in the PAC programming language. Working interactive-
ly in the WINCAPS III environment, the programmer defines processing windows, writes search models, and cre-
ates lookup tables.
WINCAPS III saves image data in .bmp format and search models in a special data format.
138
A B C D E F G H
I M
J
K L
O P
A: Lookup table
This button is for specifying lookup tables.
C: Calibrate
This button is for measuring coordinate conversion coefficients.
D: Camera input
This button is for copying a camera image to an image processing screen.
E: Screen display
This button switches the Vision monitor window.
F: Edit window
This button enables window editing.
H: Register digitization
This button is for determining the digitization thresholds for image analysis.
139
J: Labeling
This button is for finding and labeling objects in the window.
K: Edge
This button is for detecting edges.
L: Model search
This button is for pattern matching using a search model.
M: Scan code
This button is for reading in a QR Code symbol.
N: Configuration area
This button is for displaying the settings screen for the selected function.
For screen descriptions, refer to 9.2 "Configuring Vision Manager" (P. 141).
O: Capture
This button copies the camera image to the processing screen specified on the Camera input settings screen
and displays that data in the Vision monitor window.
P: Camera image
This button switches the Vision monitor window to the camera number specified with the Camera input set-
tings screen.
140
B E
A: Lookup table
This area contains the tables specifying characteristics. (The user-modifiable ones start at number 5.)
B: Graph
This graphs the characteristics for the currently selected column in the Lookup table area.
C: Save button
This button saves search model modifications.
D: Standard table
This field is for choosing a standard table from a pull-down list.
E: Apply
This copies the specified standard table to the selected column in the Lookup table area.
1) Select a column in the Lookup table area.
2) Choose a standard table from the pull-down list.
3) Press the Apply button
141
A: Macro scope
Specify the macro's scope
B: Save
This button saves modifications to the macro.
Operating procedure
1. Specify the macro's scope with a radio button: Window or Search model.
2. Double-click a cell to highlight its contents for editing. An empty cell has only an cursor.
Note
142
9.2.3 Calibrating
The Calibration settings screen manages thirty two sets of calibration data numbered 0 to 31. A calibration opera-
tion calculates conversion coefficients by comparing monitor coordinates with their robot counterparts for three
image features and saves both the source data and the coefficients under the specified number.
A
B
C
I
E F
G
H
A: Number to edit
This field specifies the set of calibration data to update.
C: Calibrate
This button initiates calibration.
D: Point to edit
This field specifies the point to edit.
F: Read
This button is for specifying Vision monitor coordinates using the selected input method.
G: P variable number
This field is for specifying, by number, the variable of type P containing the robot coordinates.
143
H: Read
This button copies the robot coordinates from the specified P variable.
I: Results
This area displays the results of the calibration operation.
Operating procedure
144
Operating procedure
3. Select the Cursor input radio button to display the crosshair cursor in the Vision monitor
window.
4. Move the crosshair cursor to the target coordinates with dragging or with arrow keys.
145
Operating procedure
3. Choose the Measurement input radio button to display a selection window in the Vision
monitor window
4. Move the cursor to the target coordinates with dragging or with arrow keys.
Center of gravity
146
Note
Make sure that the Vision monitor coordinates and the robot ones refer to the same point.
Operating procedure
2. Move to the P variable field and enter the number for the robot coordinates.
9.2.3.4 Calibrating
A calibration operation calculates conversion coefficients by comparing monitor coordinates with their robot coun-
terparts for three image features. Although WINCAPS III must send calibration data to the robot controller, the
robot controller stores only the conversion coefficients.
The conversion library converts robot coordinates using these stored coefficients. User programs can also use it to
convert Vision monitor coordinates into robot ones.
Operating procedure
Note
• If an error message indicates problems with coordinate data, double-check the data for the three
features.
• Adjust the coordinates until pressing the button successfully yields valid coefficients.
147
The following screen controls data transfers from the camera to an image processing screen.
A
B
C
D
A: Camera number
This field specifies the image source.
B: Lookup
This field specifies the lookup table for adjusting the data.
C: Input
This field specifies the processing screen to receive the camera image.
D: Apply
This button copies the camera image to an image processing screen.
Note
What is a pixel?
The µVision board processes an image as an array of dots called picture elements or pixels. For
storage, it handles images up to 512 pixels wide and 480 pixels tall; for drawing, up to 624 by 480.
512 624
Processing result
480 480
What is brightness?
Each pixel has a brightness, one of 256 numerical val-
255 ues between 0 and 255. The dark end of this scale is 0;
the bright end, 255.
148
Operating procedure
4. Press the Apply button to copy the camera image to an image processing screen.
149
A
B
C
D
A: Draw screen
This field specifies the draw image to display.
C: Lookup
This field specifies the lookup table for adjusting the image.
D: Apply
This button switches the Vision monitor window to the specified image.
Caution
Image analysis automatically changes the Draw screen setting on this settings screen to Draw screen
1 to display its results there. If the current setting is Draw screen 0, however, the setting changes to
Draw screen 0+1.
Operating procedure
1. Select the Draw screen field and specify the draw image to display.
4. Press the Apply button to copy the camera image to an image processing screen.
150
A
B
C
E
F
D
A: Target window
This field specifies the window to edit.
B: Shape
This field specifies the window shape.
C: Window settings
This area lists window settings.
D: New
Creates a new window.
E: Save
This button saves window modifications.
F: Delete
This button deletes the selected window.
151
Note
What is a window?
Here a window means the portion of the image that the µVision
board is to process. The board remembers the sizes for each
window.
There are two ways to edit windows: with Vision Manager and
with user programs. The board stores window specifications sup-
plied by user programs in volatile memory, so these disappear
when the power is removed.
Operating procedure
2. Choose a shape.
Window corner
Note
The Window settings dialog box also permits direct, numerical specification of window position and
size.
152
Note
Projection window
Rectangular and sector window shapes add an edge detection direction setting.
This parameter specifies the scan direction for edge detection. Set this to 2 (none) if edge detection
is not used. This is the default setting when a window is first created and after a shape change.
Change this setting to match the measurement method.
• Rectangular window
Height
• Sector window
(No projection)
Operating procedure
1. Enter the window number in the Target window field to display the settings for the window
specified on the Window settings screen and display the image in the Vision monitor win-
dow.
Operating procedure
1. Enter the number of the window in the Target window field. to display the settings for the
window specified on the Window settings screen.
153
A
B
C D
A: Target model
This field specifies the search model.
B: Model settings
This area displays information on the current search model for editing.
C: Save
This button saves search model modifications.
D: Delete
This button deletes the search model.
Note
The offset angle field is not available when the robot controller does not support angle measurements.
154
Operating procedure
1. Enter a number for the new search model in the Target field.
Window corner
155
Operating procedure
1. Choose the search model to edit from the list box to display its data on the Model settings
screen and display it in the Vision monitor window.
Operating procedure
1. Choose the search model to edit from the list box to display its data on the Model settings
screen.
156
B
C
D
E
F
G
A: Histogram
This radio button displays the Histogram settings screen.
B: Processing window
This field specifies the processing window range.
C: Calculate histogram
This button displays the histogram.
D: Method
This field specifies the method for entering digitization thresholds.
E: Reference surface
This field specifies the reference area to use for the p-tile threshold calculation.
F: Target
This field specifies the target area to use for the p-tile threshold calculation.
G: Measure
This button is for specifying or determining the digitization thresholds for image analysis.
157
B
C
D
E
A: Digitization
This radio button displays the Digitization settings screen.
B: Processing window
This field specifies the processing window range.
E: Apply
This button saves window modifications.
158
Note
What is digitization?
The DENSO µVision board accepts as camera input gray scale images
with 256 possible values for each pixel brightness. Digitization uses
brightness thresholds (boundaries) to make each pixel either pure white
or jet black. There are two digitization thresholds. Pixels between the two
thresholds become white (1); everything else, black (0).
Before digitization
After digitization
What is a histogram?
This graph gives the brightness frequency distribution for pixels within the specified range inside
the window showing the camera image. Displaying the brightness distribution as a graph (histo-
gram) simplifies the task of selecting thresholds for digitizing the image. Histograms allow the
DENSO µVision board to automatically determine digitization thresholds.
(KIWTG (KIWTG
.QYGT 7RRGT .QYGT 7RRGT
$TKIJVPGUU VJTGUJQNF VJTGUJQNF VJTGUJQNF VJTGUJQNF
%QWPVQHRKZGNU
6CTIGV 㪙㪸㪺㫂㪾㫉㫆㫌㫅㪻
Caution
Only rectangular processing windows (angle = 0) can be selected for image processing.
159
Operating procedure
1. Choose the Histogram radio button to display the Histogram settings screen.
4. Select the Digitization radio button to display the Digitization settings screen.
5. Specify the two digitization thresholds and check the lines on the histogram.
Operating procedure
1. Press the Histogram radio button to display the Histogram settings screen.
3. Choose the method: calculation with mode method, discriminant analysis, or p-tile thresh-
old calculation.
If your choice is other than p-tile, proceed to step 5.
4. (For p-tile only) Specify the reference area and target fields.
5. Press the Measure button to display the resulting boundaries on the histogram and save
them in the two boundary fields of the Digitization settings screen.
6. Select the Digitization radio button to display the Digitization settings screen.
160
A
B
C
D
E
F
G
A: Target window
This field specifies the window range to measure.
B: Feature
This field specifies the feature to extract: surface area, center of gravity, or principal axis.
C: Color
This field specifies the color to use: white or black.
F: Measure
This button determines the specified feature.
G: Results
This area displays a list of measurement results.
161
Note
1 (white) area = 13
0 (black) area = 12
Window Subject
162
Operating procedure
4. Press the Measure button to display the resulting boundaries on the histogram and save
them in the two boundary fields of the Digitization settings screen and display them in the
Vision monitor window.
163
9.2.10 Labeling
This function labels objects within the specified window.
This procedure uses the thresholds specified with the Register digitization settings screen.
A
B
C
D
E
F
G
H
A: Target window
This field specifies the window range to measure.
B: Sorting order
This field specifies the display order for the results.
C: Area cutoff
Only objects larger than this value qualify.
D: Color
This field specifies the color to use: white or black.
G: Measure
This button is for finding and labeling objects in the window.
H: Results
This area displays a list of measurement results.
164
Note
What is labeling?
Labeling digitizes the camera image and then sequentially numbers contiguous areas of black (0)
or white (1) pixels. (See Figure 1.) The result is a list of individual objects within the specified range
in the window. This list includes the following object features: area, center of gravity, principal axis
angle, fillet, and circumference. Here fillet means the bounding rectangle, the minimum rectangle
enclosing an object. (See Figure 2.) The circumference is the number of pixels just inside this
boundary. (See Figure 3.)
$QWPFCT[
%KTEWOHGTGPEG
RKZGNU
*GKIJV
9KPFQY 1DLGEV 9KFVJ
Caution
Only rectangular processing windows (angle = 0) can be selected for image processing.
165
Operating procedure
3. Enter the area cutoff, a boundary specifying the minimum size. Objects smaller than this
setting are ignored.
5. Press the Measure button to display the resulting boundaries on the histogram, save them
in the two boundary fields of the Digitization settings screen, and display the results in the
Vision monitor window.
166
A
B
C
D
E
F
G H
I J
A: Target window
This field specifies the window range to measure.
B: Method
This field specifies the edge detection method.
C: Transition
This field specifies the transition defining edges.
D: Level
This field specifies the edge detection level.
E: Scan direction
This field specifies the scan direction.
H: Measure
This button proceeds with the specified operation.
I: Results
This radio button lists measurement results.
J: Distribution data
This radio button displays the distribution for the measurement results.
167
Note
What is an edge?
An edge is a brightness transition in
Window Edge the specified window, a boundary
between dark grays and light ones.
The DENSO µVision board offers
Brightness
edge detection based on brightness
levels or on areas. For brightness
levels, there is also a choice of ab-
Position solute and relative levels for detect-
ing transitions. Specifying absolute
Absolute Relative defines transition as crossing the
Brightness
Brightness
specified brightness level. Specify-
ing relative defines transition as a
Brightness Brightness level change in brightness or surface big-
level ger than the specified threshold.
Caution
Here the Target window range can have the following shapes.
• Straight line (scan = 0 or 1)
• Rectangle (scan = 0 or 1)
• Sector (scan = 0 or 1)
168
Digitization thresholds
Detection using areas requires specifying the digitization thresholds. Pixels between the two thresholds become
white (1); everything else, black (0).
Scan direction
Specify the scan direction. The meaning of Positive and Negative depends on the window shape.
Negative (-)
direction Ending point
Width
Positive (+) direction
Negative (-) direction
169
Operating procedure
2. Choose the edge detection method: absolute, relative, area relative, or area relative.
5. Choose the scan direction for scanning in the projection window: Positive or Negative.
6. Press the Measure button to display the resulting boundaries on the histogram, save them
in the two boundary fields of the Digitization settings screen, and display the results in the
Vision monitor window.
170
Distribution data
Selecting the Distribution radio button switches to the following display.
Graph display
Clicking on the Brightness distribution or Area column displays the Brightness distribution graph or Area
graph, respectively. It also displays a marker at the projection position for the selected location.
171
A
B
C
D
E
F
G
A: Target window
This field specifies the window range to measure.
B: Search model
This field specifies the model for the operation.
C: Match judgment
This field specifies the match judgment criterion.
D: Detection unit
This field specifies the unit for detection.
E: Detection count
This field specifies the maximum number of pattern matches to search for.
F: Starting angle
This field specifies the starting angle for the search.
G: End angle
This field specifies the end angle for the search.
H: Measure
This button proceeds with the operation.
I: Measurement results
This area displays a list of measurement results.
172
Note
OY
Image data OX
Caution
• Only rectangular windows (angle = 0) qualify as targets.
• The two angle fields are not available when the robot controller does not support angle measure-
ments.
Search model
This field specifies the search model to use.
Match judgment
This field specifies the minimum score considered a match.
Detection unit
This field specifies the precision for pattern matching coordinates: pixel or subpixel. Specifying subpixel means
that measurements take longer.
Detection count
This field specifies the number of matches expected. Reaching this limit produces normal termination. Other-
wise, the operation times out with an error message. In the latter case, try reducing this setting.
173
Operating procedure
7. Press the Measure button to display the resulting boundaries on the histogram, save them
in the two boundary fields of the Digitization settings screen, and display the results in the
Vision monitor window.
Search model
174
A
B
C
D
E
F
A: Target window
This field specifies the window range to measure.
B: Automatic digitization
Choosing True specifies automatic digitization.
E: Measure
This button proceeds with the operation.
F: Results
This area displays a list of measurement results.
G: Result string
This area displays the corresponding string.
175
Digitization thresholds
If automatic digitization has been disabled, these two fields specify the two boundaries used in digitization.
Operating procedure
3. Press the Measure button to display the resulting boundaries on the histogram, save them
in the two boundary fields of the Digitization settings screen, and display the results in the
Vision monitor window.
176
Single-byte characters
[\
Double-byte characters
177
178
WINCAPSIII GUIDE
First Edition June 2008
Third Edition April 2009
Fourth Edition March 2010
DENSO WAVE INCORPORATED
3M**C
The purpose of this manual is to provide accurate information in the handling and operating of the
robot. Please feel 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.