5: S
PECIAL
F
UNCTIONS
5-22
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
Timer Interrupt
In addition to the interrupt input as described in the preceding section, slim type CPU modules FC4A-D20RK1, FC4A-
D20RS1, FC4A-D40K1, and FC4A-D40S1 have a timer interrupt function. When a repetitive operation is required, the
timer interrupt can be used to call a subroutine repeatedly at predetermined intervals of 10 through 140 ms.
The Function Area Settings dialog box is used to enable the timer interrupt and to specify the interval, from 10 to 140 ms,
to execute the timer interrupt. When the timer interrupt is enabled, the program execution jumps to the jump destination
label number stored in special data register D8036 repeatedly while the CPU is running. When the interrupt program is
completed, the program execution returns to the main program at the address where the interrupt occurred.
Since these settings relate to the user program, the user program must be downloaded to the
MicroSmart
after changing
any of these settings.
Special Data Register and Special Internal Relay for Timer Interrupt
Programming WindLDR
1.
From the
WindLDR
menu bar, select
Configure
>
Function Area Settings
. The Function Area Settings dialog box
appears.
2.
Select the
Special Input
tab.
3.
Click the check box on the left of Timer Interrupt to use the timer interrupt function.
4.
Select an interval to execute the timer interrupt, from 10 to 140 ms.
Disable and Enable Interrupts
The timer interrupt and interrupt inputs I2 through I5 are normally enabled while the CPU is running, and can also be indi-
vidually disabled using the DI instruction or enabled using the EI instruction. When timer interrupt is enabled, M8144 is
turned on. When disabled, M8144 is turned off. See page 18-7.
Interrupt
Special Data Register for Timer Interrupt
Jump Destination Label No.
Special Internal Relay for
Timer Interrupt Status
Timer Interrupt
D8036
M8144
Содержание FC4A-C10R2
Страница 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Страница 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Страница 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Страница 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Страница 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Страница 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Страница 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Страница 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Страница 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Страница 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Страница 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Страница 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Страница 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...