Remote Processing Coorporation RPC-320 Especificações Página 161

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 186
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 160
CONFIG Commands - 6
CONFIG COUNT
Tasking Statement
SYNTAX: CONFIG COUNT number,address,bit [,preset] [,AUTO]
PURPOSE: To define the characteristics of a software counter.
REMARKS: The CONFIG COUNT statement is the initial step in setting up a software counter. Up to eight
counters can be defined. A counter input may be any digital input.
The counter number has a range of 0 to 7. The address is the address of a parallel I/O port. The bit
parameter specifies bit 0 through 7 of that port.
The optional preset parameter is only used when you want an interrupt at a specified number of
counts. When the optional AUTO parameter is specified, the counter will automatically reset to zero
when the preset is reached.
For additional information see the Multitasking Chapters.
RELATED: ON COUNT, START COUNT, STOP COUNT, RESUME COUNT
EXAMPLE: 10 CONFIG COUNT 4,32,2,5000
This configures counter 4 at address 32, and bit 2 with a preset count of 5000.
ERROR: <Data negative> – for number, address, bit, preset
<Data > 65,535> – for preset and address
<Data out of range> – if number or bit > 7
Vista de página 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 185 186

Comentários a estes Manuais

Sem comentários