Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
352
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.4 FNC 53 – HSCS / High Speed Counter Set
6. Priority order in operations among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC 55)
instructions for the same high speed counter
1) FX3U/FX3UC PLC
When the same comparison value is used for the same high speed counter in the HSCS, HSCR and HSZ
instructions, reset (self-reset) of the comparison target high speed counter for the HSCR instruction is executed
with the highest priority (as shown in the table below).
In this case, the comparison results do not change in HSCS, HSCR, and HSZ instructions whose comparison
value is programmed to be the same as the comparison value for self-reset by HSCR instruction.
To change the comparison results, set the comparison value to "K0".
2) FX
3G PLCs
In FX
3G PLCs, the HSCS, HSCR and HSZ instructions are executed in the order of programming.
*1.Only FX
3G PLCs support the DHSZ instruction.
Operation of FX
3G/FX2N/FX2NC/FX1N/FX1NC/FX1S PLC
[reference]
*1. Due to the response delay at the output, the output
may not operate within the short time before the
counter's present value is reset to "0".
Program
sequence
Processing sequence
FX3U/FX3UC FX2N/FX2NC
FX3G/FX1N/FX1S/
FX
1NC
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)
DHSZ (4)
*1
DHSCR (5) DHSCR (3) DHSCR (5) DHSCR (5)
DHSCR (6)
(self-reset)
DHSCR (5)
DHSCR (6)
(self-reset)
DHSCR (6)
(self-reset)
M8000
C235 K10000
(1)
(2)
(3)
FNC 53
DHSCS
K500 C235 Y000
K500 C235 Y001
K500 C235 Y002
FNC 53
DHSCS
FNC 54
DHSCR
M8000
(4)
FNC 55
DHSZ
K250 K500 C235
K250 K500 C235
FNC 11
DZCPP
Y003
Y003
M8000
(5)
FNC 54
DHSCR
K500 C235
K500 C235
FNC 54
DHSCR
Y006
C235 (6)
Self-reset program
Operation of FX3U/FX3UC PLC
*1. To change the comparison results by the instructions (1)
to (3) and (5), change the comparison value "K500" in the
instructions (1) to (3) and (5) to "K0".
*2. To set Y005 to ON in the HSZ instruction (4), set a value
smaller than the comparison value "K500". However, due
to the response delay at the output, the output may not
operate within the short time before the counter's present
value is reset to "0".
500
250
0
Present value
Y003
Y004
Y005
Y000 to Y002 and Y006 do not change.
*1
ON ON
OFF
OFF
It does not change.
*2
500
250
0
Present value
Y003
Y004
Y005
ON ON
ON
Present value:1
Y000,Y001
Y002
ON
OFF
*1
Present value:1