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

  • 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 272
Chapter
Call Routines 69–127
13
13 -15
Use CALL 87 to determine if the DH-485 Common Interface File located
in the BASIC module was read by a device on the DH-485 Serial
Communications Link since the last time you checked.
Input and Output Arguments
This routine has no input arguments and one output argument. The output
argument is the DH-485 interface file remote read status:
0 – a device has not read from the DH-485 Common Interface File since
the last time you executed this call or since you powered up the BASIC
module, whichever occurred last.
1 – a device on the DH-485 Serial Communications Link has read the
DH-485 Common Interface File since the last time you executed this
call or since you powered up the BASIC module, whichever occurred
last.
Syntax
CALL
87
POP
DH-485 interface file remote read status
Example
>1
REM EXAMPLE PROGRAM
>
100 CALL 87 : REM CHECK FILE STATUS
>
110 POP X : REM GET THE STATUS
>
120 IF (X<>1) GOTO 100: REM WAIT ON DATA TO BE READ
CALL 87: Check DH-485
Interface File Remote Read
Status
Vista de pagina 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 393 394

Comentarios a estos manuales

Sin comentarios