Omron Vision Sensor FH Series Connection Manual page 54

Robot abb corporation edition
Hide thumbs Also See for Vision Sensor FH Series:
Table of Contents

Advertisement

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
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
-1303
ERROR:fhrecvstring():RETRY:-1303
-1304
ERROR:fhrecvstring():TIMEOUT:-1304
Input/Output Data type
Input
socketdev
Input
num
Input
num
Output
num
Output
num
Description
Data of socket 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.
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
Receive retry count overrun
Receive timeout time is
over.
52

Advertisement

Table of Contents
loading

Table of Contents