omron — 7.3.8. fhrunrecvres

7.3.8. fhrunrecvres  Function Receive a command response from the Vision Sensor  Syntax fhrunrecvres fh_socket, retries_recv, timeout_recv, cmd_res, err_no  Parameter  Remarks Receive the response (command response) to the no-procedure command sent to the Vision Sensor. If the command response is OK, assign 1 to the command response result cmd_res. If the command response is not OK, assign "-1" to the command response result cmd_res.

 Return Value 52 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) cmd res _ Output num Command Response Result Storage Register Number (1: command response “OK” – 1: other than the command response “OK”) err no _ Output num error number Store the result of the execution of this function. Err. No.

Error Message Description 0 - normal termination -1300 ERROR:fhrecvstring():RETRY:-1300 Out of the range of receive retry count input ERROR:fhrecvstring():TIMEOUT:-1300 Out of the input range for the receive timeout count -1301 ERROR:fhrecvstring():NO CONNECTION: _ -1301 Calling in the unconnected state -1303 ERROR:fhrecvstring():RETRY:-1303 Receive retry count overrun -1304 ERROR:fhrecvstring():TIMEOUT:-1304 Receive timeout time is over.