Remote-processing CAMBASIC Manual de usuario Pagina 104

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 208
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 103
Commands - 71
LINE
Process Statement
SYNTAX: LINE terminal #, value
PURPOSE: To write directly to the STB-26 terminal board.
REMARK S: The terminal # has a one-to-one correspondence with the terminals on the STB-26. This feature
eases documentation and troubleshooting. Refer to card manual for terminal number range.
The LINE statement is similar to the BIT statement in that individual I/O bits or channels can be
controlled. It differs in that it is used specifically with the STB-26 terminal board and it executes
much faster.
The value is the state of the output. To turn an output on, enter a 1 or ON. To turn the output off,
enter a 0 or OFF. The ON and O FF execute faster than 1 or 0.
RELATED: LINE function
EXAMPLE: 10 LINE 113,ON
20 PRINT LINE(113)
RUN
1
In this example line 3 was turned on. Thus, a 1 is returned.
ERROR: < Data negative> - terminal #l and value
< Data out of range> - if value > 1 or not ON/OFF
Vista de pagina 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 207 208

Comentarios a estos manuales

Sin comentarios