Remote-processing CAMBASIC Bedienungsanleitung Seite 103

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 208
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 102
Commands - 70
LINE
Process Function
SYNTAX: a = LINE(terminal #)
PURPOSE: To return the status of an input on a STB-26 terminal board.
REMARK S: The terminal # has a one-to-one correspondence with the terminals on the STB-26 terminal board.
This feature eases documentation and troubleshooting. Refer to Card M anual for terminal number
range.
A 1 is returned when a line is logic high, 0 when logic low.
The LINE function is similar to the BIT function in that individual I/O bits or channels can be read.
It differs in that it is used specifically with the STB-26 terminal boards and it executes much faster.
RELATED: LINE statement
EXAMPLE: 10 OUT 0,1
20 PRINT LINE(119)
RUN
1
In this example the bit 0 of the port at address 0 was set high.
ERROR: < Data negative> - terminal #
Seitenansicht 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 207 208

Kommentare zu diesen Handbüchern

Keine Kommentare