omron — 7.5.7. FHRUNRECVVAL

7.5.7. FHRUNRECVVAL  Function Receive numerical data from the Vision Sensor  Syntax SET S089 “FHRUNRECVVAL”  Parameter  Remarks This function stores the numerical data sent from the Vision Sensor into the register specified by the variables “R090” to “R099”. 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.

 Return Value 56 Argument Input/Output Data type Description I097 Input Integer Number of receive retries (0 to 99) I098 Input Integer Receive timeout time (0 to 99sec) R090 – R099 Output Real Results of the analysis of the received numerical sequence (Element count: 10) I099 Output Integer 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 Err. No. Error Message Description 0 - normal termination -1300 ERROR:fhrecvstring():RETRY:-1300 Out of the range of