omron — Contact

7.3.10. fhrunrecvval  Function Receive numerical data from the Vision Sensor  Syntax fhrunrecvval(retries_recv, timeout_recv, socket_no, param[], err_no)  Parameter  Remarks This function stores the numerical data sent from the Vision Sensor into the variable 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.

57 Parameter Name Input/Output Data Description type retries recv _ Input Real Number of receive retries (0 - 99) timeout recv _ Input Real Receive timeout time (0 to 99sec) socket no _ Input Real Number of sockets already connected to the Vision Sensor param[] Output Real Results of the analysis of the received numerical sequence (Element count: 10) err no _ Output Real 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 123 abc123 0 1.00E+03 1000