Mitsubishi Electric MELSEC FX3U Programming Manual page 866

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
1. Timer interrupt processing of HKY (FNC 71) instruction
Step
0
Interrupt
pointer
M8000
I620
RUN
monitor
864
FNC 04
EI
FNC 06
FEND
When interrupt is given every 20 ms
FNC 50
X000
REF
FNC 71
X000
HKY
FNC 50
Y000
REF
FNC 03
IRET
END
36 Interrupt Function and Pulse Catch Function
→ For HKY (FNC 71) instruction, refer to Section 15.2.
Interrupts are enabled by EI instruction.
The main program is described.
The main program is finished by FEND
instruction.
The latest input information is received
K8
from X000 to X007.
FNC 71 (HKY) is executed in one scan.
Y000
D0
M0
Y000 to Y007 are refreshed to the latest
K8
output information.
36.5 Timer Interrupt (Interrupt in Constant Cycle)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents