EasyManua.ls Logo

Omron fh series - Page 58

Omron fh series
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
Argument
Input/Output
Data type
Description
fh_socket Input Integer Number of sockets already connected
to the Vision Sensor
retries_recv
Input
Integer
Number of receive retries (0 to 99)
timeout_recv
Input
Integer
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
OK”)
err_no Output Integer error number
Store the result of the execution of this
function.
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
Er r. N o.
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

Other manuals for Omron fh series

Related product manuals