Omron FH Series Connection Manual page 51

Robot vision system denso wave incorporated edition
Hide thumbs Also See for FH Series:
Table of Contents

Advertisement

7.3.6.
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_rev, 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
Integer
Number of sockets already connected to the
Vision Sensor
Integer
Number of receive retries (0 to 99)
Integer
Receive timeout time (0 to 99sec)
Double
param(0):Target X coordinate
param(1):Target Y coordinate
param(2):Target Z coordinate
param(3):Target W(yaw) coordinate
param(4):Target P(pitch) coordinate
param(5):Target R (roll) coordinates
Integer
error number
Store the result of the execution of this
function.
49
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