Rockwell-automation 1747-PCIS API Software - Open Controller Instrukcja Użytkownika Strona 88

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 174
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 87
Publication 1747-UM002A-US-P - June 2000
6-28 Library of Routines
Description:
If OC_GetScannerStatus returns SUCCESS, scansts has one of these
values:
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
BYTE scansts;
int retcode;
retcode = OC_GetScannerStatus( Handle, &scansts );
This value: Has
this
hex
value:
Means the:
SCANSTS_BPIC 4 POST backplane IC test failed; scanner is halted
SCANSTS_CRC 2 software CRC checksum failed
SCANSTS_DPR 5 POST dual port RAM test failed; scanner is halted
SCANSTS_FAULT 13 scanner faulted; scanner is in Scan mode
SCANSTS_IDLE 11 scanner initialized; scanner is in Idle mode
SCANSTS_INIT 10 POST passed; waiting for OC_InitScanner from host
SCANSTS_INT 8 POST interrupt test failed; scanner is halted
SCANSTS_POST 1 power-on self test (POST) is in progress
SCANSTS_RAM 3 POST RAM test failed; scanner is halted
SCANSTS_SCAN 20 scanner initialized; scanner in Scan mode
SCANSTS_THERM 6 POST thermometer test failed; scanner is halted
SCANASTS_TIMER 7 POST timer test failed; scanner is halted
SCANSTS_WDOG 12 scanner watchdog timeout; scanner is halted
Name: Value: Description:
SUCCESS 0 scanner status was read successfully
ERR_OCACCESS 2
handle does not have access to scanner
ERR_OCEXTERR 11 scanner extended error message (scansts is returned)
Przeglądanie stron 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 173 174

Komentarze do niniejszej Instrukcji

Brak uwag