56
7.3.9. fhrunrecvres
Function
Receive a command response from the Vision Sensor
Syntax
fhrunrecvres(fh_socket, retries_recv, timeout_recv, cmd_res, err_no)
Parameter
fh_socket Input Integer Number of sockets already connected
Number of receive retries (0 to 99)
Receive timeout time (0 to 99sec)
cmd_res Output Integer Command Response Result Storage
Register Number
(1: command response “OK” – 1:
other than the command response
err_no Output Integer error number
Store the result of the execution of this
Remarks
Receive the response (command response) to the no-procedure command sent to the
Vision Se n s o r.
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
-1300 ERROR:fhrecvstring():RETRY:-1300 Out of the range of
receive retry count
ERROR:fhrecvstring():TIMEOUT:-1300 Out of the input range
for the receive
-1301 ERROR:fhrecvstring():NO_CONNECTION:-1301 Calling in the