FANUC Robots Vision Manual¶
Note
This manual focuses exclusively on FANUC Robots-specific topics. For general robot vision information, please refer to the wenglor robot vision manual.
This repository contains an example FANUC program to set up and start the generic vision interface to wenglor Machine Vision Devices on your FANUC robot.
The robot vision example for FANUC consists of the following files, available in the sources directory of this repository:
| File | Description |
|---|---|
w_library.pc |
KAREL library with all vision routines (socket communication, calibration, detection, conversions). |
w_single_detect.tp |
Single object detection TP program. |
w_multi_detect.tp |
Multiple object detection TP program. |
w_update_reference_frame.tp |
Reference-frame update TP program. |
w_move.tp |
Helper TP program that moves the robot to a pose register (PTP or LIN). |
Note
- Tested with the FANUC R-30iB Mate Plus robot controller running software V9.40 and the LR Mate 200iD robot arm. Make sure to use the same software version on your FANUC robot controller.
- Working with KAREL files requires the system variable
$KAREL_ENBto be set to1.
How the manual is organized¶
graph LR
A[1. Installation & Setup] --> B[2. User Configuration]
B --> C[3. Robot Program]
C -.-> D[4. Troubleshooting]
D -.-> E[5. Support & Feedback]
- Installation & Setup — prepare the controller, network, and tool frame, then transfer the files.
- User Configuration — adjust the KAREL variables and poses to your setup.
- Robot Program — how the KAREL library and TP programs work together.
- Troubleshooting — common issues and how to resolve them.
- Support & Feedback — where to report bugs or suggest features.
Note
The generic robot vision API (commands, return values, error codes), the calibration guidelines, and the uniVision job setup are documented once in the wenglor robot vision manual and are not repeated here. This manual only describes how the FANUC example uses them.