A. Technical appendix
A-46
Festo P.BE-SBO-Q-EN en 1602e
! Get the first feature result from the camera.
Wait4Ready;
GetFlagWord ”10000”;
! Change check program of the camera.
Wait4Ready;
ChangeProgram ”1”;
! Close telnet connection.
Wait4Ready;
SocketClose ComSocket;
ENDPROC
!
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
! Procedure Wait4Ready
! Description:
! Procedure blocks until ’ready’ signal of camera becomes logical high
! (+24V)
! The procedure will block infinitely, unless the ’ready’ signal becomes
! logical high.
! The answer can be written on the FlexPendant too; uncomment the
! according line.
!
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
PROC Wait4Ready()
VAR string readyBit := ””;
WHILE readyBit <> ”1\0D\0A” DO
CheckConnectionStatus;
! Important !
! Any camera command must be terminated by ’\0D\0A’
SocketSend ComSocket \Str := ”RFW 16\0D\0A”;
SocketReceive ComSocket \Str := readyBit;
! TPWrite ”Ready Signal = ” + readyBit;
IF readyBit <> ”1\0D\0A” THEN
WaitTime 0.2;
ENDIF
ENDWHILE
ENDPROC
Содержание SBO***-Q Series
Страница 2: ......
Страница 19: ...System overview 1 1 Festo P BE SBO Q EN en 1602e Chapter 1 System overview...
Страница 39: ...Mounting 2 1 Festo P BE SBO Q EN en 1602e Chapter 2 Mounting...
Страница 47: ...Installation 3 1 Festo P BE SBO Q EN en 1602e Chapter 3 Installation...
Страница 62: ...3 Installation 3 16 Festo P BE SBO Q EN en 1602e...
Страница 63: ...Commissioning 4 1 Festo P BE SBO Q EN en 1602e Chapter 4 Commissioning...
Страница 162: ...4 Commissioning 4 100 Festo P BE SBO Q EN en 1602e Fig 4 34 Structure of an imported data type...
Страница 175: ...Diagnostics and error handling 5 1 Festo P BE SBO Q EN en 1602e Chapter 5 Diagnostics and error handling...
Страница 183: ...Technical appendix A 1 Festo P BE SBO Q EN en 1602e Appendix A Technical appendix...
Страница 247: ...Index B 1 Festo P BE SBO Q EN en 1602e Appendix B Index...
Страница 248: ...B Index B 2 Festo P BE SBO Q EN en 1602e Table of contents B Index B 1...