Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
281
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
12.6 DHSZ / High Speed Counter Zone Compare
Cautions
1. Selection of the counter comparison method
When the DHSCS instruction is used, the maximum frequency and total frequency of the high speed counter
are affected.Refer to the counting operation described below, and select according to the contents of control
whether to use this instruction or general-purpose comparison instruction.
1) Case to select DHSCS instruction
- When the output should be given when the counting result becomes equivalent to the comparison value
without regard to the scan time of the PLC.
2) Cases to select a general-purpose comparison instruction
- When the required frequency is beyond the counting performance.
- When counting is regarded as important, but the effect of the scan time can be ignored in operations
according to the counting result.
- When the number of an instruction exceeds the allowable limit.
For FX
3U and FX3UC PLCs
For FX
2N, FX2NC, FX3S, FX3G and FX3GC PLCs
M8000
LDD>
EN
s1
s2
ENO
LDD<=
EN
s1
s2
ENO
LDD<
EN
s1
s2
ENO
DHCMOV
EN
s
n
ENO
CN251
K0
REF
EN
d
n
ENO
K8
Y10
d
D100
K10000
D100
K10000
D100
ANDD>=
EN
s1
s2
ENO
K20000
D100
K20000
D100
M8000
Y011
Y012
Y010
LDD>
EN
s1
s2
ENO
LDD<=
EN
s1
s2
ENO
LDD<
EN
s1
s2
ENO
REF
EN
d
n
ENO
K8
Y10
K10000
CN251
K10000
CN251
ANDD>=
EN
s1
s2
ENO
K20000
CN251
K20000
CN251
M8000
Y011
Y012
Y010