Keyence Visual KV Series Manual de usuario Pagina 217

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 392
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 216
3.1 Interrupt Instructions
3-193
Visual KV
Series
1
3
Chapter 3 Interrupts
DI: Interrupt Disabled
EI: Interrupt Enabled
Disables execution of interrupt.
Enables execution of interrupt.
Example
Coding
Description
When 1000 is ON, execution of interrupt is enabled.
When 1000 is OFF, execution of interrupt is disabled.
Interrupts are enabled between EI instruction and DI instruction.
Once an EI instruction is executed, an interrupt is enabled until a DI instruction is
executed.
Any interrupt is disabled when the Visual KV Series starts operation.
The DI instruction disables execution of an interrupt. Use this instruction to
temporarily disable an interrupt.
The EI instruction enables execution of an interrupt. Use this instruction to
release an interrupt that was disabled by a DI instruction.
To execute another interrupt during execution of the previous interrupt, include EI
instruction in this first interrupt. EI-DI instruction set can be nested to four levels.
Note 1: When any interrupt occurs between DI and EI instructions (interrupt disabled
period), the disabled interrupt is stored (to 8 levels max.). The stored interrupt is
executed as soon as an EI instruction is executed.
Note 2: If an INT CTC instruction is stored before a RES CTC instruction is ex-
ecuted, the stored INT CTC is deleted.
Operands
Key operation
FUN
FUN
RES
0
ORL
3
DI
EI
SET
1
AND
8
1000
EI
DI
1000
FUN
FUN
SET
1
RES
0
AND
8
ORL
3
ENT
R-SRCH
ENT
R-SRCH
Line No. Instruction Operand
0000 LD 0000
0001 EI
••
••
••
0021 LDB 1000
0022 DI
••
••
••
KVNKA Chap 03.p65 08.3.11, 0:05 PM193
Vista de pagina 216
1 2 ... 212 213 214 215 216 217 218 219 220 221 222 ... 391 392

Comentarios a estos manuales

Sin comentarios