Getting The Measurement Results - Omron Vision Sensor FH Series Connection Manual

Robot nachi-fujikoshi corp. edition
Hide thumbs Also See for Vision Sensor FH Series:
Table of Contents

Advertisement

6.6. Getting the Measurement Results

The Vision Sensor measurements are received using "fhrunrecvval". In this sample
program, it is assumed that the Vision Sensor measurements are sent in the order
"TJG X Y Z W P R".
In order to receive the measurement results from the Vision Sensor, we
execute "fhrunrecvval" and check the received overall judgment value.
'Get the Measurement Result
CallProc fhrunrecvval()
'Error check
IF fh_err_number <> fh_success
1
GoTo *CLOSE_SAMPLE
EndIF
'Total Judge Check
IF fh_param[1] <> 1
GoTo *CLOSE_SAMPLE
EndIF
numerical sequence receiving function
If the overall judgment is not OK,
exit the program
38

Advertisement

Table of Contents
loading

Table of Contents