Rockwell-automation 1747-PCIS API Software - Open Controller Manual do Utilizador Página 102

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 174
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 101
Publication 1747-UM002A-US-P - June 2000
6-42 Library of Routines
The shared memory segment address must be set to an address that
does not conflict with other hardware and software. The
recommended segment address is 0xC800. You can use any of the
following shared segment addresses (listed in hex):
C000 - D000
C200 - D200
C400 - D400
C600 - D600
C800 - D800
CA00 - DA00
CC00 - DC00
CE00 - DE00
irqnum defines the ISA-bus interrupt number assigned to the scanner.
irqnum must be set to one of the values listed in the table below or
the scanner cannot be opened. The MS-DOS API library
communicates with the scanner via interrupts and installs an interrupt
service routine for the interrupt. The application must not service
these interrupts.
The IRQ assignment must be set to an interrupt that does not conflict
with other hardware and software. The recommended interrupt
assignment is IRQ11.
Return Value:
irqnum: IRQ assignment:
10 IRQ10
11 IRQ11
12 IRQ12
14 IRQ14
15 IRQ15
Name: Value: Description:
SUCCESS 0 scanner was opened successfully
ERR_OCOPEN 1 scanner is already open
ERR_OCPARAM 2 invalid value in segaddr or irqnum
ERR_OCMEM 3 shared memory not found
Vista de página 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 173 174

Comentários a estes Manuais

Sem comentários