omron — Contact

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