Difference between revisions of "Locator Tutorial: Setting up Locator to work with YASKAWA robots"
(→Main program) |
(→Main program) |
||
Line 151: | Line 151: | ||
− | + | == Main program == | |
== Communication protocol == | == Communication protocol == |
Revision as of 14:50, 28 February 2019
WORK IN PROGRESS SITE
Users are strongly recommended to read Locator Tutorial: Introduction prior to installation of specific robot interface
Contents
Prerequisites
Prior to setup, please ensure that your Yaskawa controller meets the following criteria:
- YRC1000 - the latest controller version. FS100, DX100 and DX200 are currently not supported but available on demand. NX100 is deprecated!
- MotoPlus Runtime option - This option needs to be enabled on robot controller in order to get Photoneo Yaskawa interface up and running.
The Photoneo Yaskawa Interface was originally developed using GP8 manipulator and YRC1000 Controller with the following version:
Set IP Address
Configure the IP address of the robot controller. In Maintenance mode, browse to System -> Setup -> Option Functions:
Select LAN Interface Setting to enter the Network Configuration pane:
Select Manual Setting for LAN2 Port and amend the IP Address to meet your network requirements:
Enable MotoPlus Functionality
If MotoPlus functionality has not been enabled on robot controller before, browse to System -> Setup -> Option Functions
Switch MOTOPLUS Func State from NOT USED to USED.
MotoPlus APL icon should be now visible on the left pane. Enter the MotoPlus Func. Settings to configure MotoPlus autostart option:
YASKAWA controller setup
Locator interface setup
Calibration
Robot Camera Calibration is a crucial step in Locator configuration. Accurate calibration guarantees that object positions will be calculated directly in Robot Base coordinates.
Robot - Camera Calibration
Mount the Scanner firmly, ensure that the scene is properly captured from the final position and start the Photoneo Robot Camera Calibrator:
??Space to describe the prefered tool to calibrate YASKAWA with ???
Connect to the Scanner, select ???? (Standard for YASKAWA robots), adjust the Sphere radius' (21.75 mm in this case/ 20.00 mm for a standard ping-pong ball) and set the Min visible parameter to 40%:
???Space for YASKAWA "formalism" selecting pictue ???
Attach a ping-pong ball to the gripper and jog the robot to the first position (usually the nearest corner of the bin/ area of interest).
??? Space for : how to obtain tool position in respect to the world frame + picture ???
Input the X,Y,Z [mm] and ????W,P,R ???? [deg] values of the current position to the first line of the point list and repeat the same procedure for at least 7 more points.
The recommended procedure is to cover the four corners + four positions in the center of the scanning volume.
Change the orientation of the tool in all axes to achieve a wider range of input values. Press the Compute button once you have added the final point.
For successful calibration, the Final Error per point should not exceed 2-3 mm. (0.807mm in this example).
??? space for YASKAWA locator robot calibration picture, showing suscesfull calibration
If the final error value is too high, try adding more points or start the calibration from the beginning again. Increasing the orientation of the tool can help to reduce the final error value.
Once you are satisfied with the results, press the Set Matrix to PhoXi button to store the results to the PhoXi Scanner.
Do not forget to switch the Coordinate Space in PhoXi Control after calibration has been completed successfully:
In addition to the Robot - Camera transformation matrix, the calibration process also calculates a Calibration Sphere Misplacement vector which denotes the transformation between the selected Tool (???) and the center of the sphere (the ping-pong ball). This information can be used for calibration verification. First Set the YASKAWA Tool coordinates according to the Misplacement Vector as calculated in the calibration process. Ensure that the ping-pong ball has not moved since the end of calibration.
Space for YASKAWA calibration window, showing misplacement vector
space for description on how to input misplacement vector into tool
The values calculated by the Photoneo Robot Camera Calibration Tool should approximately match.
Method on how to test calibration success ???
Runtime
Re-teach aplication poses
There are three positions you will have to reteach . Those positions are :
Start position - position to which the arm will go before first pick up action, and between consecutive pick up actions. Its a good practice to set this position in the center of work space (less time spent traversing during repeated picking). This position is set ...
SPACE for parameter name picture .
SPACE for sample start position picture
End position
???