Omron FH Series Connection Manual page 44

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

Advertisement

7.3.3.
fhclose
 function
Disconnects from the Vision Sensor
 Syntax
fhclose(socket_no, err_no)
 Parameter
Parameter Name
socket_no
err_no
 Remarks
Disconnects from the Vision Sensor
 Return Value
Err. No.
Error Message
0
-
-1701
ERROR:fhclose():FCLOSE:-1701
ERROR:fhclose():DETCH:-1701
 Precautions
None
 Example
The following example closes the connection to the Vision Sensor connected by fhconnect.
CALL fhclose(socket_no, err_no)
Input/Output Data type
Input
Real
Output
Real
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
detachment failure
* This error occurs when the specified
socket is not released from the control
of the application program.
42

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fh-5050

Table of Contents