Omron FH Series Connection Manual page 46

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

Advertisement

7.3.3.
fhclose
 Function
Disconnects from the Vision Sensor
 Syntax
fhclose(fh_socket, err_no)
 Parameter
Parameter Name
fh_socket
err_no
 Remarks
Disconnects from the Vision Sensor
 Return Value
Err. No.
Error Message
0
-
-1901
ERROR:fhclose():FCLOSE:-1901
 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)
Input/Output Data type
Input
Integer
Output
Integer
Description
Number of sockets already connected
to the Vision Sensor
Error number
Store the result of the execution of
this function.
Description
normal termination
disconnection failure
44

Advertisement

Table of Contents
loading

Table of Contents