Denso BHT-200QW Dokumentacja Strona 331

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 587
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 330
Chapter 15. Function Reference
323
____________________________________________________________________
INPort data I/O function
INP
Returns a byte read from a specified input port.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
INP(portnumber)
Parameter:
Parameter:Parameter:
Parameter:
portnumber
A numeric expression which returns a value from 0 to 32767.
Description:
Description:Description:
Description:
INP reads one-byte data from an input port specified by portnumber and returns the
value. (For the input port numbers, refer to Appendix D, "I/O Ports.")
If you specify an invalid value to portnumber, INP returns an indeterminate value.
Run
RunRun
Run-
--
-time errors:
time errors:time errors:
time errors:
Error code Meaning
05h
Parameter out of the range
(portnumber is out of the range.)
Reference:
Reference:Reference:
Reference:
Statements: OUT and WAIT
Przeglądanie stron 330
1 2 ... 326 327 328 329 330 331 332 333 334 335 336 ... 586 587

Komentarze do niniejszej Instrukcji

Brak uwag