Denso Power Net Terminal BHT-7500 Especificaciones Pagina 424

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 560
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 423
Chapter 18. TCP/IP
415
18.2.3 Programming Notes for Resume Function
If the BHT is turned off and on during data transmission in wireless communications, the wire-
less communications device will remain off so that subsequent data will no longer be sent or
received.
In such a case, BHT-BASIC interpreter will return a run-time error (Error code: &h105) inform-
ing that the power is off. Develop such user programs that perform the following procedure and
then open the wireless communications device again.
Procedure for opening the wireless communications device again after detec-
tion of a power-off error
(1) Use the ON ERROR GOTO statement for error interrupt (at this step, none of (3) through
(5) should be carried out)
(2) Use the RESUME statement for transferring control to the main program
(3) Close the socket.
(4) Disconnect the TCP/IP communications pathway.
(5) Close the wireless communications device.
On the next page is a sample program.
Vista de pagina 423
1 2 ... 419 420 421 422 423 424 425 426 427 428 429 ... 559 560

Comentarios a estos manuales

Sin comentarios