![Mitsubishi Electric FX3G SERIES Скачать руководство пользователя страница 813](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902813.webp)
811
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
36 Interrupt Function and Pulse Catch Function
36.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function]
31
FNC276
-F
NC2
79
Da
ta
Trans
fer 3
32
FNC28
0-F
NC
289
H
igh-Speed
Process
ing 2
33
FNC2
90-
FNC299
Ex
tensi
on Fi
le
Register
34
FN
C300-
FNC30
5
FX
3U
-C
F-
AD
P
35
SFC
•STL
Programming
36
Interrupt
Function
37
Sp
ec
ia
l D
evi
ce
38
E
rror Code
A
Ve
rsi
on U
p
Inform
ati
on
B
Ex
ecuti
on
T
imes
2. Example of program to measure the short pulse width using a high-speed ring counter (only in
FX
3U
/FX
3UC
PLCs)
Current
value of T246
1
2
6
X010: Preparation
for measurement
SW(X000,X001)
RST
T246
3
4
5
M0
-Timing chart
Part B in the previous page
I001(Interrupt processing)
I100(Interrupt processing)
Part A in the previous page
Step
0
I001
Interrupt
pointer
X010
I100
Interrupt
pointer
X010
X010
Measurement data
When the rising edge of
X000 is detected
When the falling edge of
X001 is detected
D8099 is set to ON
Measurement
is completed
FNC 04
EI
M8099
FNC 06
FEND
FNC 03
IRET
FNC 12
M0V
FNC 03
IRET
END
RST
D8099
RST
M0
D8099
D0
SET
M0
When X001 turns OFF: The ring counter value
is transferred to D0,
and measurement is
completed.
Interrupts are enabled by the EI instruction.
The main program is described.
The ring counter is set to ON.
When X000 turns ON: The ring counter is reset
to OFF, and
measurement is started.
The special data register M8099 up-counts the
0.1 ms clock from the next operation cycle after
being driven.
When the count value exceeds "32767", it is
returned to "0".
Содержание FX3G SERIES
Страница 1: ...FX3G FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic Applied Instructions Edition ...
Страница 2: ......
Страница 947: ......