49
7.3.5. fhrunrecvval
Function
Receive numerical data from the Vision Sensor
Input Parameters
RecvString ChooseDevice device
Communication Settings for the Vision
Sensors
Communication waiting time(ms)
Output Parameters
Variable Name Data
Description
g_FHRobotVision_OMRON_param float[] param[0] -
param[9] : Received numeric
data 0 - 9)
g_FHRobotVision_OMRON_errCode int Execution Result(0: Normal termination
Exit Process
There are two exit nodes in this component as follows
NoError : Normal termination.
Error : Abnormal termination (Please check the message displayed in the view window.)
Remarks
This function stores the numerical data sent from the Vision Sensor into the global
variable "g_FHRobotVision_OMRON_param".
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
The result of the analysis after conversion