Mitsubishi Electric MELSEC FX3U Programming Manual page 372

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
6. Priority order in operations among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC 55)
instructions for the same high speed counter
1) FX
/FX
3U
3UC
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
PLCs
3G
In FX
PLCs, the HSCS, HSCR and HSZ instructions are executed in the order of programming.
3G
M8000
M8000
FNC 55
DHSZ
FNC 11
DZCPP
M8000
Operation of FX
/FX
3U
Present value
500
250
0
Y000 to Y002 and Y006 do not change.
Y003
ON
ON
Y004
OFF
It does not change.
OFF
Y005
*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".
370
PLC
C235
FNC 53
K500
C235
DHSCS
FNC 53
K500
C235
DHSCS
FNC 54
K500
C235
DHSCR
K250
K500
C235
K250
K500
C235
FNC 54
K500
C235
DHSCR
FNC 54
K500
C235
DHSCR
Self-reset program
PLC
3UC
*1
*2
13 High Speed Processing – FNC 50 to FNC 59
13.4 FNC 53 – HSCS / High Speed Counter Set
K10000
Program
sequence
Y000
(1)
DHSCS (1)
DHSCS (2)
Y001
(2)
DHSCR (3)
DHSZ (4)
DHSCR (5)
Y002
(3)
DHSCR (6)
(self-reset)
Y003
(4)
*1. Only FX
3G
Y003
Y006
(5)
C235
(6)
Operation of FX
PLC [reference]
Present value
500
250
Y000,Y001
Y002
Y003
Y004
Y005
*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".
Processing sequence
FX
/
FX
/
3U
2N
FX
FX
3UC
2NC
DHSCR (6)
DHSCS (1) DHSCS (1)
(self-reset)
DHSZ (4)
DHSCS (2) DHSCS (2)
DHSCS (1) DHSCR (3) DHSCR (3)
DHSCS (2) DHSZ (4)
DHSCR (3) DHSCR (5) DHSCR (5)
DHSCR (6)
DHSCR (5)
(self-reset)
PLCs support the DHSZ instruction.
/FX
/FX
/FX
3G
2N
2NC
1N
0
ON
OFF
Present value:1
ON
ON
ON
*1
Present value:1
FX
/FX
/
3G
1N
FX
/FX
1S
1NC
*1
DHSZ (4)
DHSCR (6)
(self-reset)
/FX
/FX
1NC
1S

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents