47
7.4.3.
fhclose
Function
Disconnects from the Vision Sensor
Syntax
fhclose()
Parameter
Parameter Name Input/O
utput
Type
Data type
Description
fh_socket_no
Input
Variable
Integer
Connected Socket Number (1
to 16)
fh_err_number
Output Variable
Integer
Error Number
(0:normal,Except 0:abnormal)
Remarks
Disconnects from the socket name of connect to Vision Sensor
Return Value
Err. No.
Error Message
Description
0
-
normal termination
-1901
ERROR:fh_close():NO_CONNECT:-
1901
Set the nonconnected socket number
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()
Содержание Vision Sensor FH Series
Страница 1: ...Robot Connection Guide NACHI FUJIKOSHI CORP Edition Vision Sensor FH Series Vision System Z464 E1 01 ...
Страница 14: ...12 ...
Страница 63: ......