Each of the changes has the following meaning.
1:Execute the vision process
A vision process is executed with the 'RUN_FIND' command.
In the above example, a vision process called VP1 is executed.
2:Obtain the offset data
Obtain one offset data from the vision process with the 'GET_OFFSET' command.
The obtained offset data is stored in the "vision register", ('VR[1]').
If the offset data cannot be obtained by the vision process because the workpiece cannot be found, the robot program jumps to the label designated with the jump label.
3:Offset robot motion
Add the 'VOFFSET' command to the motion statement for the robot positions that perform the tasks on the workpiece.
The 'VOFFSET' command will shift the robot positions based on the vision result in the vision register.