7.3.5.
fhrunrecvval
Function
Receive numerical data from the Vision Sensor
Input Parameters
Setting Node
RecvString
Output Parameters
Variable Name
g_FHRobotVision_OMRON_param
g_FHRobotVision_OMRON_errCode int
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
abc
123abc
abc123
1.00E+03
Setting Target
Data Type
ChooseDevice
device
WaitTime
int
Data
Type
float[]
Description
Communication Settings for the Vision
Sensors
Communication waiting time(ms)
Description
param[0] - param[9] : Received numeric
data 0 - 9)
Execution Result(0: Normal termination
Other than 0: Error)
The result of the analysis after conversion
0
123
0
1000
49