Moving Robot To Robot Image Position - Omron FH Series Construction Manual

Vision sensor robot vision application
Hide thumbs Also See for FH Series:
Table of Contents

Advertisement

7.3.

Moving Robot to Robot Image Position

For a processing to move the robot to the robot image position, follow the procedures
below.
Click [Robot Ref. Position] on
the Main Window of the Vision
Sensor to refer to the set robot
image position.
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; (2)Move the robot to the imaging position
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
std_img_pos_x =
2
std_img_pos_y =
std_img_pos_y =
std_img_pos_y =
std_img_pos_y =
std_img_pos_y =
Set the referenced robot image position to the variables.
;!!!!!!!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
; The following function drives a robot motion immediately.
; Confirm the settings before execution.
;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
CALL
std_img_pos_p, std_img_pos_r)
; Error check
IF
err_no <> success
3
END
TYPE
You have to configure the following robot position for your application.
300
-350
350
0
180
45
fhsample_move(std_img_pos_x, std_img_pos_y, std_img_pos_z, std_img_pos_w,
THEN
TYPE
"ERROR: fhsample_main():The robot position is out of range
GOTO
10
"Move to the imaging position Done."
Set the robot imaging position to the variables.
108
Robot motion sample function
:", err_no

Advertisement

Table of Contents
loading

Table of Contents