Omron FH Series Connection Manual page 58

Robot vision system denso wave incorporated edition
Hide thumbs Also See for FH Series:
Table of Contents

Advertisement

fhrunrecvres
7.3.9.
 Function
Receive a command response from the Vision Sensor
 Syntax
fhrunrecvres(fh_socket, retries_recv, timeout_recv, cmd_res, err_no)
 Parameter
Argument
fh_socket
retries_recv
timeout_recv
cmd_res
err_no
 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
Err. No.
Error Message
0
-
-1300
ERROR:fhrecvstring():RETRY:-1300
ERROR:fhrecvstring():TIMEOUT:-1300
-1301
ERROR:fhrecvstring():NO_CONNECTION:-1301
Input/Output Data type
Input
Integer
Input
Integer
Input
Integer
Output
Integer
Output
Integer
Description
Number of sockets already connected
to the Vision Sensor
Number of receive retries (0 to 99)
Receive timeout time (0 to 99sec)
Command Response Result Storage
Register Number
(1: command response "OK" – 1:
other than the command response
"OK")
error number
Store the result of the execution of this
function.
56
Description
normal termination
Out of the range of
receive retry count
input
Out of the input range
for the receive
timeout count
Calling in the
unconnected state

Advertisement

Table of Contents
loading

Table of Contents