omron — 7.3.9. fhrunrecvval

7.3.9. fhrunrecvval  Function Receive numerical data from the Vision Sensor  Syntax fhrunrecvval fh_socket, retries_recv, timeout_recv, param{*}, err_no)  Parameter  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.

54 Argument Input/Output Data type Description fh socket _ Input socketdev Data of socket already connected to the Vision Sensor retries recv _ Input num Number of receive retries (0 to 99) timeout recv _ Input num Receive timeout time (0 to 99sec) param{*} Output num Results of the analysis of the received numerical sequence (Element count: 10) err no _ Output num error number Store the result of the execution of this function. The string before conversion The result of the analysis after conversion abc 0 123abc 0 abc123 0 1.00E+03 1000