Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
35 Interrupt Function and Pulse Catch Function
811
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Appl
ied
 In
stru
cti
ons 
(Da
ta
 T
rans
fer 
3)
32
Ap
plied
 Instru
ctio
ns 
(High S
peed 
Process
ing 2)
33
App
lied Instr
ucti
ons 
(Exte
nsion File 
Regis
ter C
ontrol
)
34
Ap
pl
ied In
struct
ions 
(FX
3U
-C
F-
AD
P)
35
Int
errupt
 Fun
cti
on 
and Puls
e Cat
ch 
Functi
on
A
Re
lation
sh
ip
be
tw
ee
n de
vic
es
 
an
d ad
dre
ss
es
B
Ap
plie
In
structio
n List
35.7 Pulse Catch Function[M8170 to M8177]
5. When setting an interrupt output (Y or M) to ON or OFF using a high speed counter
When only controlling the ON/OFF status of an output relay (Y) or auxiliary relay (M) according to the current
value of a high speed counter, a required program can be easily created using DHSCS, DHSCR or DHSZ
instruction.
6. Cautions
1) Pointer number
Pointer numbers cannot overlap with each other.
2) Disabling interrupts
When the special auxiliary relay M8059 is set to ON in a program, all counter interrupts are disabled.
35.7
Pulse Catch Function[M8170 to M8177]
When the input relay X000 to X007 turns ON from OFF after the EI instruction is executed, the special
auxiliary relay M8170 to M8177 is set for interrupt processing.
The FX
0S
, FX
0
, FX
0N
, FX
1S
, FX
1N
, FX
1NC
, FX
3S
, FX
3G
 or FX
3GC
 PLC does not require the EI instruction.
1. Assignment of input numbers and special auxiliary relays
*1.
Differs from one PLC to another.
FX
1S
, FX
1N
, FX
1NC
, FX
U
, FX
2C
, FX
2N
, FX
2NC
, FX
3S
, FX
3G
, FX
3GC
: Supports X000 to X005 only.
FX
0S
, FX
0
, FX
0N
: Supports X000 to X003 only.
*2.
Cleared when the PLC mode is changed from STOP to RUN.
Pulse catch input
*1
Pulse catch relay
X000
M8170
*2
 
(M8065
*2
 in the 
FX
0S
, FX
0
 and FX
0N
 PLCs)
X001
M8171
*2
 
(M8057
*2
 in the 
FX
0S
, FX
0
 and FX
0N
 PLCs)
X002
M8172
*2
(M8058
*2
 in the 
FX
0S
, FX
0
 and FX
0N
 PLCs)
X003
M8173
*2
(M8059
*2
 in the 
FX
0S
, FX
0
 and FX
0N
 PLCs)
X004
M8174
*2
X005
M8175
*2
X006
M8176
*2
X007
M8177
*2