EasyManua.ls Logo

Omron fh series - Page 46

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...
44
7.3.3. fhclose
Function
Disconnects from the Vision Sensor
Syntax
fhclose(fh_socket, err_no)
Parameter
Parameter Name
Input/Output
Data type
Description
fh_socket Input Integer Number of sockets already connected
to the Vision Sensor
err_no Output Integer Error number
Store the result of the execution of
this function.
Remarks
Disconnects from the Vision Sensor
Return Value
Er r. N o.
Error Message
Description
0
-
normal termination
-1901
ERROR:fhclose():FCLOSE:-1901
disconnection failure
Precautions
None
Example
The following example closes the connection to the Vision Sensor connected by
fhconnect.
fh_socket = 8
retries_connect = 2
timeout_connect = 4
Call fhconnect(fh_socket, retries_connect, timeout_connect, err_no)
Call fhclose(fh_socket, err_no)

Other manuals for Omron fh series

Related product manuals