Omron Vision Sensor FH Series Connection Manual page 56

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

Advertisement

7.3.9.
fhrunrecvval
 Function
Receive numerical data from the Vision Sensor
 Syntax
fhrunrecvval fh_socket, retries_recv, timeout_recv, param{*}, err_no)
 Parameter
Argument
fh_socket
retries_recv
timeout_recv
param{*}
err_no
 Remarks
This function stores the numerical data sent from the Vision Sensor into the register
specified by the parameter.
This function outputs up to 10 values.
If there are more than 11 numbers, this function outputs only the first 10.
If the length of the segmented string is longer than 12 bytes, this function returns an
error of abnormal parameter length.
Returns an error if the number of numeric data is zero.
The following is an example of the output when a string is included.
<Conversion example>
The string before conversion
abc
123abc
abc123
1.00E+03
Input/Output Data type
Input
socketdev
Input
num
Input
num
Output
num
Output
num
Description
Data of socket already connected to
the Vision Sensor
Number of receive retries (0 to 99)
Receive timeout time (0 to 99sec)
Results of the analysis of the received
numerical sequence (Element count:
10)
error number
Store the result of the execution of
this function.
The result of the analysis after conversion
0
0
0
1000
54

Advertisement

Table of Contents
loading

Table of Contents