Mitsubishi FX3U Series Programming Manual page 344

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Comparison table
Comparison
Output (Y)
data
D201,D200
K123
D205,D204
K234
D209,D208
K345
D213,D212
K456
D217,D216
K567
1) When this instruction is executed, the top
table in the table data is set as the
comparison target data.
2) When the current value of the high speed
c o u n t e r C 2 5 1 i s e q u i v a l e n t t o t h e
comparison target table data, the output (Y) number specified in the table is set or reset.
This output processing is directly executed without regard to completion of output refresh by END
instruction.
3) "1" is added to the current value of the table counter D8130.
4) The comparison target table data is transferred to the next table.
5) The steps 2) and 3) are repeated until the current value of the table counter D8130 becomes "4".
When the current value becomes "4", the program execution returns to the step 1), and the table counter
D8130 is reset to "0".
At this time, the complete flag M8131 turns ON.
6) When the command contact is set to OFF, execution of the instruction is stopped and the table counter
D8130 is reset to "0".
Cautions
1. Limitation in the number of DHSZ instruction
This instruction can be programmed only once in a program.
With regard to DHSCS, DHSCR, DHSZ and DHSCT instructions used for other purposes, up to 32
instructions including the DHSZ instruction can be driven at one time.
2. When the command input is set to OFF in the middle of execution
Execution of the instruction is aborted, and the table counter D8130 is reset to K0.
However, outputs which have been set or reset remain in the current status.
3. Output start timing
After DHSZ instruction is first executed, creation of the table is completed by END instruction. After that,
DHSZ instruction becomes valid.
Accordingly, the output is activated from the second scan.
4. Current value of a high speed counter
Make sure to execute the DHSZ instruction from a point where the current value of the high speed counter
(regarded as the operation target) is smaller than the value in the 1st line in the comparison table.
342
Table
SET/RST
number
counter
D 202
D 203
0
H10
K1
D 206
D 207
1
H10
K0
D 210
D 211
2
H11
K1
D 214
D 215
3
H11
K0
4
D 218
D 219
H11
K1
Repeated
from "0".
13 High Speed Processing – FNC 50 to FNC 59
13.6 FNC 55 – HSZ / High Speed Counter Zone Compare
Present value
of C251
567
456
345
234
123
Y010
Y011
A program to reset
the counter is
required.
A program to reset
the output is
required.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents