Advantech PCL-848A/B Instrukcja Użytkownika Strona 45

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 44
CHAPTER 3 PROGRAMMING REFERENCE
39
3.4.21. ERRPTR
Purpose :
This command assigned variables for error number and count of string bytes.
Offset:
ERRPTR%=60
Syntax :
CALL ERRPTR%(IOERR%,IOCOUNT%) ----BASIC
CALL ABSOLUTE(IOERR%,IOCOUNT%,ERRPTR%) ----BASIC Compiler
Parameter :
IOERR% - Variable which represents the error number of last called
command.
IOCOUNT% - Variable which represents the count of string bytes that are
outputed or entered.
Bus Activity :
None.
Remark:
This command must be executed before calling any other t~command except the
“INIT” command.
ERROR NUMBER ERROR TYPE
0 No error
1 Handshake timeout
2 Interface error
3 Call ABORT when non-system controller
4 Invalid passed parameter(s)
See the STATUS command (condition 8) for other information.
Przeglądanie stron 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 83 84

Komentarze do niniejszej Instrukcji

Brak uwag