Remote Processing Coorporation RPC-320 Dokumentacja Strona 85

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 84
Commands - 55
INP and OUT
I/O Function and Statement
SYNTAX: n = INP(I/O address)
OUT I/O Address, Data
PURPOSE: INP returns a byte from an I/O address.
OUT writes a byte to an I/O address.
REMARKS: INP is the complementary function to the OUT statement.
WARNING: Some I/O address are used internally and should not be written to with the OUT
statement. See your hardware manual for these reserved addresses.
RELATED: BIT
EXAMPLE: 100 A = INP(255)
120 OUT &40,12
ERROR: <Data negative> – for I/O address and data
<Illegal argument> – if I/O address > 65,535
<Data >255> – if data > 255
Przeglądanie stron 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag