7.3.3. fhclose function Disconnects from the Vision Sensor Syntax fhclose(socket_no, err_no) Parameter Remarks Disconnects from the Vision Sensor Return Value Precautions None Example The following example closes the connection to the Vision Sensor connected by fhconnect. CALL fhclose(socket_no, err_no) 42 Parameter Name Input/Output Data type Description socket no _ Input Real Number of sockets already connected to the Vision Sensor err no _ Output Real Error number Store the result of the execution of this function. Err. No.
Error Message Description 0 - normal termination -1701 ERROR:fhclose():FCLOSE:-1701 disconnection failure ERROR:fhclose():DETCH:-1701 detachment failure * This error occurs when the specified socket is not released from the control of the application program.