A. Technical appendix
A-47
Festo P.BE-SBO-Q-EN en 1602e
!
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
! Procedure GetVersion
! Description:
! Procedure sends a version request to the camera.
! The answer will be stored in the local variable ’cameraVersion’.
! The answer will be written on the FlexPendant too.
!
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
PROC GetVersion()
VAR string cameraVersion := ””;
CheckConnectionStatus;
! Important !
! Any camera command must be terminated by ’\0D\0A’
SocketSend ComSocket \Str := ”VERSION\0D\0A”;
SocketReceive ComSocket \Str := cameraVersion;
TPWrite cameraVersion;
ENDPROC
!
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
! Procedure ImageTrigger
! Description:
! Procedure sends an IMAGE command to the camera.
! The command performs a complete evaluation.
! The telnet server returns ’1 OK: operation successful.’ if the
! requested command succeeded, an appropriate error message otherwise.
!
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
PROC ImageTrigger()
VAR string triggerReturn := ””;
CheckConnectionStatus;
! Important !
! Any camera command must be terminated by ’\0D\0A’
SocketSend ComSocket \Str := ”IMAGE\0D\0A”;
! The ’IMAGE’ command sends return value only after image processing has
! finished and the time required depends on the check program
! configuration.
SocketReceive ComSocket \Str := triggerReturn;
! Important !
! Any camera response is terminated by ’\0D\0A’
IF triggerReturn <> ”1 OK: operation successful.\0D\0A” THEN
TPWrite triggerReturn;
stop;
ENDIF
ENDPROC
Summary of Contents for SBO***-Q Series
Page 2: ......
Page 19: ...System overview 1 1 Festo P BE SBO Q EN en 1602e Chapter 1 System overview...
Page 39: ...Mounting 2 1 Festo P BE SBO Q EN en 1602e Chapter 2 Mounting...
Page 47: ...Installation 3 1 Festo P BE SBO Q EN en 1602e Chapter 3 Installation...
Page 62: ...3 Installation 3 16 Festo P BE SBO Q EN en 1602e...
Page 63: ...Commissioning 4 1 Festo P BE SBO Q EN en 1602e Chapter 4 Commissioning...
Page 162: ...4 Commissioning 4 100 Festo P BE SBO Q EN en 1602e Fig 4 34 Structure of an imported data type...
Page 183: ...Technical appendix A 1 Festo P BE SBO Q EN en 1602e Appendix A Technical appendix...
Page 247: ...Index B 1 Festo P BE SBO Q EN en 1602e Appendix B Index...
Page 248: ...B Index B 2 Festo P BE SBO Q EN en 1602e Table of contents B Index B 1...