EasyManuals Logo

Moeller XC-CPU101 Series User Manual

Moeller XC-CPU101 Series
82 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
Page #39 background imageLoading...
Page #39 background image
03/05 AWB2724-1453GB
Interrupt processing
35
Timer interrupt
An interrupt channel for a timer interrupt is available in addition to
the six different interrupt channels for inputs with interrupt
capability. The start condition and the setpoint value definition are
application related in the XSoft.
The following illustration indicates the function and the parametric
programming for the “Timer Interrupt”. This function is contained
in the “XC101_Util.lib”.
The setpoint value setting occurs on the “dwTimerTickUS” input.
The minimum value is 500, the maximum value is 2500000
microseconds. If the upper or lower limit value is exceeded on the
“dwTimerTickUS” function module input, the function call returns
FALSE as the feedback value and the timer is not started. The
setpoint value is accepted with the start of the timer and can not
be modified for the run time.
The linking of the timer interrupt with the respective IEC program
occurs as with the IO interrupts via ‹Task configuration l System
events›.
The entered interrupt function is executed immediately as soon as
the interrupt occurs. The running IEC program cycle can be
interrupted at any point.
The timer interrupt can also be interrupted by higher priority
system interrupts, e.g. as with CAN. Cycle time monitoring is
active during execution of the timer interrupt. Cycle time
monitoring is orientated exclusively to the value entered for the
maximum program cycle time. If very frequent timer and IO
interrupts occur, they can lead to the program cycle time being
exceeded. If the program cycle time is exceeded the XC-CPU101
changes from the RUN to the STOP operating status.
The Timer interrupts can be inhibited and enabled from the user
program. Use the “DisableInterrupt” and “EnableInterrupt”
functions for this case.
Figure 45: Function “Timer Interrupt”

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moeller XC-CPU101 Series and is the answer not in the manual?

Moeller XC-CPU101 Series Specifications

General IconGeneral
BrandMoeller
ModelXC-CPU101 Series
CategoryController
LanguageEnglish

Related product manuals