Omron Vision Sensor FH Series Connection Manual page 49

Robot nachi-fujikoshi corp. edition
Hide thumbs Also See for Vision Sensor FH Series:
Table of Contents

Advertisement

7.4.3.
fhclose
 Function
Disconnects from the Vision Sensor
 Syntax
fhclose()
 Parameter
Parameter Name Input/O
fh_socket_no
fh_err_number
 Remarks
Disconnects from the socket name of connect to Vision Sensor
 Return Value
Err. No.
Error Message
0
-
-1901
ERROR:fh_close():NO_CONNECT:-
1901
 Precautions
None
 Example
The following example closes the connection to the Vision Sensor connected by
fhconnect.
fh_ip_address = 100
fh_port_no = 9876
fh_retries_connect = 2
fh_timeout_connect = 4
fh_socket_no = 1
CallProc fhconnect()
CallProc fhclose()
Type
utput
Input
Variable
Output
Variable
Data type
Description
Integer
Connected Socket Number (1
to 16)
Integer
Error Number
(0:normal,Except 0:abnormal)
Description
normal termination
Set the nonconnected socket number
47

Advertisement

Table of Contents
loading

Table of Contents