Omron FH Series Connection Manual page 47

Vision sensor
Hide thumbs Also See for FH Series:
Table of Contents

Advertisement

7.3.5.
fhsample_regpos
 Function
Register the current robot position to the Vision Sensor.
 Syntax
fhsample_regpos(socket_no, retry_count, time_out, err_no)
 Parameter
Parameter
Input/Output Data
Name
socket_no
Input
retry_count
Input
time_out
Input
err_no
Output
 Remarks
Get the current robot position and register the current robot position to the Vision Sensor.
Return an error if this function is called while the Vision Sensor is not connected.
Returns an error if a response of current robot position registration failure is received
from the Vision Sensor.
 Return value
Err. No.
Error Message
0
-
-1300
ERROR:fhrecvstring():RETRY:-1300
ERROR:fhrecvstring():TIMEOUT:-1300
-1303
ERROR:fhrecvstring():RETRY:-1303
-1304
ERROR:fhrecvstring():TIMEOUT:-1304
-1601
ERROR:fhsample_regpos():No
Connection:-1601
-1800
ERROR:fhsample_regpos():ERROR_TRIG:
-1800
 Precautions
Description
type
Real
Number of sockets already connected to the
Vision Sensor
Real
Number of receive retries (0 - 99)
Real
Receive timeout time (0 to 99sec)
Real
error number
Store the result of the execution of this
function.
45
Description
normal termination
Out of the range of receive
retry count input
Out of the input range for the
receive timeout count
Receive retry count overrun
Receive timeout time is over.
Calling in the unconnected
state
Response NG

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fh-5050

Table of Contents