S
MART
AXIS P
RO
/ L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
5-41
5: S
PECIAL
F
UNCTIONS
Timer Interrupt
In addition to the interrupt input as described in the preceding section, all SmartAXIS 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 140ms.The timer interrupt can only be used when ladder program is selected as the programming language.
The Function Area Settings dialog box is used to enable the timer interrupt and to specify the interval, from 10 to 140ms, to
execute the timer interrupt. When the timer interrupt is enabled, the program execution repeatedly jumps to the jump destination
label number stored in special data register D8036, while the SmartAXIS 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 SmartAXIS after changing any of
these settings.
Special Data Register and Special Internal Relay for Timer Interrupt
Note:
A label is the starting address of the program branch to jump to, and it is specified by the LABEL instruction.
Programming WindLDR
1.
From the WindLDR menu bar, select
Configuration
>
Input Configuration
.
The Function Area Settings dialog box for Input Configuration appears.
2.
Under the Timer Interrupt, click the check box to use the timer interrupt function.
3.
Select an interval to execute the timer interrupt, from 10 to 140ms.
Disable and Enable Interrupts
The timer interrupt and interrupt inputs I0, I2, I3, and I5 through I7 are normally enabled while the SmartAXIS is running, and can
also be individually 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 Chapter 16 "Interrupt Control Instructions" in the "SmartAXIS Ladder
Programming Manual".
Interrupt
Special Data Register for Timer Interrupt Jump
Destination Label No.
Special Internal Relay for
Timer Interrupt Status
Timer Interrupt
D8036
M8144
Summary of Contents for SmartAXIS FT9Z-1A01
Page 1: ...FT9Y B1378 7...
Page 10: ...TABLE OF CONTENTS Preface 9 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 212: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 230: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 344: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 386: ...APPENDIX Appendix 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 Japanese Font JIS X0201...
Page 393: ......