Справочник Пользователя для Mitsubishi Electronics FXCPU
12 Applied Instructions (High Speed Processing)
289
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Appl
ied
ied
In
stru
cti
cti
ons
(D
ata O
per
at
io
n)
12
Ap
plied
Instru
ctio
ns
Instru
ctio
ns
(High S
peed
Process
ing)
13
App
lied Instr
lied Instr
ucti
ons
(Handy
Instruction)
14
Ap
pl
ied In
struct
struct
ions
(External FX I/O
D
evice)
15
Appl
ied
ied
Instru
cti
cti
ons
(External
Dev
ice
ice
(op
tional
dev
ice)
)
tional
dev
ice)
)
16
App
lie
lie
d Instr
uction
s
s
(E
xter
nal
nal
Devi
ce)
17
Ap
pl
ied Inst
ruct
io
io
ns
(Dat
a T
ransf
er 2)
a T
ransf
er 2)
18
Appl
ied
ied
In
stru
cti
cti
ons
(Float
ing P
oin
oin
t)
19
App
lie
lie
d Instr
uction
s
s
(D
at
a Oper
at
ion 2)
20
App
lied Inst
lied Inst
ructi
ons
ons
(Pos
itioning
Control)
12.6 DHSZ / High Speed Counter Zone Compare
12.6.3 Frequency control mode (DHSZ, DPLSY) (M8132)
When the special auxiliary relay M8132 for declaring the frequency control mode is specified as
in the
DHSZ instruction, the special function shown below is provided if DPLSY instruction is combined.
At this time, only a data register D can be specified as
At this time, only a data register D can be specified as
, and a constant K or H can be specified as
.
The available range is limited to "1
≤ K, H ≤ 128".
A high speed counter can be specified as
.
This function is different from the zone comparison described above.
PLSY instruction is as shown on the next page, and only the pulse output can be changed by users.
(Valid for the FX
PLSY instruction is as shown on the next page, and only the pulse output can be changed by users.
(Valid for the FX
U
PLC, V3.07 or later)
1. Control example
Example of table configuration and data setting
Comparison data
Frequency
Table counter (D8131)
D 301, D 300
K 20
D 302, D 303
K300
0
↓
↓
D 305, D 304
K600
D 306, D 307
K500
1
↓
↓
D 309, D 308
K700
D 310, D 311
K200
2
↓
↓
D 313, D 312
K800
D 314, D 315
K100
3
↓
↓
D 317, D 316
K 0
D 318, D 319
K 0
4
↓
↓
Head device (32 bits) specified
as
as
s1
Number of lines specified as
s2