EasyManua.ls Logo

LSIS XBC-DN40SU - Interrupt

LSIS XBC-DN40SU
384 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5 Program Configuration and Operation Method
5- 13
5.2.3 Interrupt
For your understanding of Interrupt function, here describes program setting method of XG5000 which is an XGB
programming S/W. Example of interrupt setting is as shown bellows.
Interrupt setting
Interrupt source
Interrupt name
priority
Task No.
Program
Initializing
Interrupt 0_
-
-
-
Cycle time 1
Interrupt 1_cycle time
2
0
Cycle time 1
External
Interrupt 2_external
2
8
External
Internal device
Interrupt 3_internal
3
14
Internal
Cycle time 2
Interrupt 4_cycle time
3
1
Cycle time 2
Remark
In case that several tasks to be executed are waiting, execute from the highest Task Program in
priority. When the same priority tasks are waiting, execute from the order occurred.
While interrupt executing, if the highest interrupt is occurred, the highest interrupt is executed earliest of
all.
When power On, All interrupts are in the state Enable‟. In case you don‟t use it, disable the
interrupts by using DI instruction. If you want to use it again, enable by using EI instruction.
Internal device interrupt is executed after END instruction.
Initializing
(Before INIT_DONE instruction)
Cycle time 1 execution
Interrupt 1_Cycle time
occur
Cycle time 1/
external occur
simultaneously
Cycle time 1 execution
External I/O execution
Internal device
Interrupt occur
Internal device interrupt
execution
Cycle time 1
execution
Timed-driven 1
execution
Cycle time 2
occur
Cycle time 2 execution
END
Scan program
www.behaotomasyon.com
www.behaotomasyon.com

Table of Contents

Related product manuals