Mitsubishi Electronics FX3G User Manual

Page of 964
823
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
36 Interrupt Function and Pulse Catch Function
36.8 Pulse width/Pulse period measurement function [M8075 to M8079, D8074 to D8097]
31
FNC277
-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 C
ontrol
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
Inform
ati
on
B
Ex
ecuti
on
 T
imes
*1.
The ring counter offers 32-bit data including the most significant bit.
The DSUB (FNC21) instruction does not give a correct value because it handles the most significant bit as the
sign bit. To obtain a correct value, add the processing inside the dotted frame.
2. Cautions on use
• The pulse width/pulse period measurement function and input interrupts can be used at the same time in the same 
input terminal.
• When the same input terminal is used by the pulse width/pulse period measurement function and the SPD 
(FNC56), DSZR (FNC150) or ZRN (FNC156) instruction, an operation error occurs when the instruction is 
executed.
• The input terminal used for the pulse width/pulse period measurement function cannot be used for the pulse catch 
function.
• When the same input terminal is used by the pulse width/pulse period measurement function and a high-speed 
counter, a grammatical error occurs.
• Make sure that the total frequency of four input channels is 50 kHz or less when using the pulse width/pulse period 
measurement function.
• When the pulse width/pulse period measurement function and a high-speed counter are used together, the overall 
frequency of the high-speed counter is affected.
→ For details on high-speed counters, refer to Subsection 4.7.7.