Omron Vision Sensor FH Series Connection Manual page 47

Robot abb corporation edition
Hide thumbs Also See for Vision Sensor FH Series:
Table of Contents

Advertisement

7.3.5.
fhsample_trig
 Function
Sends measurement commands to the Vision Sensor and receives the measurement
results from the Vision Sensor
 Syntax
fhsample_trig fh_socket, retries_recv, timeout_recv, param{*}, err_no
 Parameter
Argument
Input/Output Data type
fh_socket
Input
retries_recv
Input
timeout_recv Input
param{*}
Output
err_no
Output
 Remarks
Sends measurement commands to the Vision Sensor.
Receives the measurement results from the Vision Sensor and get the robot position.
Returns an error if called while not connected to the Vision Sensor.
Returns an error if a measurement command failure response is received from the Vision
Sensor.
Returns an error if the Vision Sensor's overall judgment is NG.
 Return Value
Err. No.
Error Message
0
-
-1300
ERROR:fhrecvstring():RETRY:-1300
ERROR:fhrecvstring():TIMEOUT:-1300
Description
socketdev
Data of socket already connected to the
Vision Sensor
num
Number of receive retries (0 to 99)
num
Receive timeout time (0 to 99sec)
num
param{1}:Target X coordinate
param{2}:Target Y coordinate
param{3}:Target Z coordinate
param{4}:Target W(EX) coordinate
param{5}:Target P(EY) coordinate
param{6}:Target R(EZ) coordinate
num
error number
Store the result of the execution of this
function.
45
Description
normal termination
Out of the range of
receive retry count input
Out of the input range
for the receive timeout
count

Advertisement

Table of Contents
loading

Table of Contents