Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
277
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.5 DHSCR / High Speed Counter Reset
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 DHSCR 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
1S, FX1N, FX1NC, FX2N, FX2NC, FX3S, FX3G and FX3GC PLCs
For FX
0S, FX0, FX0N, FXU and FX2C PLCs
2. Device specification range
Only high speed counters can be specified as .
For details, refer to the following manual.
FX Structured Programming Manual [Device & Common]
3. Some restrictions to applicable devices
S1: The FX3U and FX3UC PLCs only are applicable.
Not indexed.
S2: The FX
3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
LDD<=
EN
s1
s2
ENO
D100
RST
EN ENO
Y010
REF
EN
d
n
ENO
Y010
K8
M8000
DHCMOV
EN
s
n
ENO
d
K0
K100
CN251 D100
d
LDD<=
EN
s1
s2
ENO
CN251
RST
EN
d
ENO
Y010
REF
EN
d
n
ENO
Y010
K8
K40000
INT_TO_DINT
_INT
GE
RST
EN
d
ENO
Y010
K20000
CN251
REF
EN
d
n
ENO
Y010
K8