Rockwell-automation 1771-DB BASIC MODULE Manual de usuario Pagina 307

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 394
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 306
Chapter
Call Routines 69–127
13
13 -49
Use CALL 115 to check the DF1 transmit status.
Input and Output Arguments
This routine has no input arguments and one output argument. The output
argument returns a value that represents the DF1 transmit status:
0 = no transmit result pending
1 = transmit result pending
2 = transmission successful
3 = transmission failed
4 = enquiry timeout, no transmission– this status should never be
returned if full-duplex mode is selected
5 = if modem handshaking is selected, either a loss of CTS signal while
transmitting or a fatal transmitter failure has occurred. If no
handshaking is selected, a fatal transmitter failure has occurred
6 = if modem handshaking with constant carrier has been selected for
either half-duplex or full-duplex modes, this error indicates transmission
failure due to modem disconnection (DCD signal loss for more than 10
seconds)
7 = DF1 driver is not enabled
Syntax
CALL
115
POP
DF1 transmit status
Example
>1
REM EXAMPLE PROGRAM
>
10 CALL 115
>
20 POP X
>
30 END
CALL
1
15: Check DF1
Status
Vista de pagina 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 393 394

Comentarios a estos manuales

Sin comentarios