6.9. Disconnecting Vision Sensor from Robot Controller
For a processing to disconnect the Vision Sensor from the Robot Controller, follow the
procedures below.
Execute the disconnection function (fhclose) to the Vision Sensor.
!;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
! 4. Example: Finalization sequence
!;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
!;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
! (1)Disconnect from the FH server
!;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
exit_program:
IF
bconnected =
fhclose fh_socket, err_no;
ENDIF
TRUE THEN
Disconnection function to the
Vision Sensor (FH Server)
36