Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
273
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.4 DHSCS, DHSCS_I / High Speed Counter Set, High Speed Interrupt Counter Set
6. Priority order in operations among DHSCS, DHSCR and DHSZ instructions for the same
high speed counter when the same comparison value is used.
1) FX3U and FX3UC PLCs
When the same comparison value is used for the same high speed counter in DHSCS, DHSCR and
DHSZ instructions, high speed counter reset (self-reset) by DHSCR instruction is executed with the
highest priority (as shown in the table below).
In this case, the comparison results do not change in DHSCS, DHSCR and DHSZ instructions whose
comparison value is programmed to be the same as the comparison value for self-reset by DHSCR
instruction. To change the comparison results, set the comparison value to "K0".
2) FX
1S, FX1N, FX1NC, FX2N, FX2NC, FX3S, FX3G and FX3GC PLCs
Comparison is executed in the programmed sequence without regard to the instructions.
Program sequence
Processing sequence
FX3U•FX3UC FX2N•FX2NC•FX3S•FX3G•FX3GC FX1N•FX1S•FX1NC
DHSCS (1) DHSCR (6) (Self-reset) DHSCS (1) DHSCS (1)
DHSCS (2) DHSZ (4) DHSCS (2) DHSCS (2)
DHSCR (3) DHSCS (1) DHSCR (3) DHSCR (3)
DHSZ (4) DHSCS (2) DHSZ (4) (Not supported)
DHSCR (5) DHSCR (3) DHSCR (5) DHSCR (5)
DHSCR (6) (Self-reset) DHSCR (5) DHSCR (6) (Self-reset) DHSCR (6) (Self-reset)
M8000
M8000
(5)
(6)
Self-reset program
(1)
DHSCS
EN
s1
s2
ENO
d
K500
CN235
Y000
(2)
DHSCS
EN
s1
s2
ENO
d
CN235
Y001
(3)
DHSCR
EN
s1
s2
ENO
d
CN235
Y002
M8000
(4)
DHSZ
EN
s1
s2
ENO
d
sCN235
Y003
DZCPP
EN
s1
s2
ENO
d
s3CN235
Y003
DHSCR
EN
s1
s2
ENO
d
CN235
Y006
DHSCR
EN
s1
s2
ENO
d
CN235
CC235
OUT_C_32
EN
CCoil
CValue
ENO
CC235
10000
K500
K500
K250
K500
K250
K500
K500
K500