EasyManuals Logo

Omron fh series Connection Guide

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
Page #44 background imageLoading...
Page #44 background image
42
7.3.2. fhconnect
Function
Connect to the Vision Sensor
Syntax
fhconnect(fh_socket, retries_connect,timeout_connect,err_no)
Parameters
Argument
Input/Output
Data type
Description
fh_socket Input Integer The socket number of connect to Vision
Sensor.
retries_connect
Input
Integer
Number of connections retries (0 to 99)
timeout_connect
Input
Integer
Connection Timeout Time (0 to 99sec)
err_no Output Integer Error number
Store the result of the execution of this
function.
Remarks
Connects to the Vision Sensor specified in the Number of socket parameter.
Request a connection every hour specified in the Connection Timeout Time parameter.
Request a connection as many times as specified in the connection retry count parameter.
Return an error if the connection fails.
Return an error if the parameter is out of the input range
Return Value
Er r. N o.
Error Message
Description
0
-
normal termination
-1200 ERROR:fhconnect():RETRY:-1200
Out of connection retry count
input range
ERROR: fhconnect():TIMEOUT:-1200 Connection Timeout Time
Input Range
-1202
ERROR: fhconnect():RETRY:-1202
Connection retry count over
-1204 ERROR: fhconnect():TIMEOUT:-1204 Connection timeout time is
o v e r.
-1900
ERROR:fhconnect():SOCKET_IN_USE:-1900
Socket is in used.
Precautions
Only one Vision Sensor can be connected to the robot controller.
If you want to connect to another Vision Sensor, disconnect from the connected Vision
Sensor.

Other manuals for Omron fh series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron fh series and is the answer not in the manual?

Omron fh series Specifications

General IconGeneral
TypeMachine Vision System
SeriesFH Series
Power Supply24 VDC
Storage Temperature-20 to 60°C
Humidity35 to 85% RH (non-condensing)
Image SensorCMOS
Processing SpeedHigh-speed processing
ConnectivityEthernet
I/ODigital I/O
Operating SystemEmbedded OS
I/O PortsEthernet, USB

Related product manuals