EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 291

Mitsubishi Electric MELSEC FX Series
838 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Applied Instructions
7.6 High Speed Processing
289
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Function and operation explanation
1. 32-bit operation (DHSZ)
The current value of the high speed counter of the device specified by is compared with two comparison
points (comparison value 1 and comparison value 2). Based on the comparison result, "smaller than the lower
comparison value", "inside the comparison zone" or "larger than the upper comparison value", one among the
devices specified by is set to ON regardless of the operation cycle.
In this instruction, the comparison processing is executed after the count processing in the high speed
counter.
Comparison points
Make sure that the comparison value 1 and the comparison value 2 have the following relationship:
Operation
When the current value of the high speed counter C251 changes (counts) as shown below, the comparison
result is output to one of the outputs Y000, Y001 or Y002.
Comparison pattern Current value of C251
Change of output contact (Y)
Y000 Y001 Y002
>
1000>
ON OFF OFF
9991000 ONOFF OFFON OFF
9991000 OFFON ONOFF OFF
≤≤
9991000 ONOFF OFFON OFF
9991000 OFFON ONOFF OFF
1000≤≤2000
OFF ON OFF
20002001 OFF ONOFF OFFON
20002001 OFF OFFON ONOFF
<
20002001 OFF ONOFF OFFON
20002001 OFF OFFON ONOFF
>2000
OFF OFF ON
Command input
Label
*1
Label
*2
Comparison source
Output
destination
DHSZ
EN
s1
s2
ENO
d
s
+1
+2
Set to ON
ds1
s2
s
d
d
s
s
s1
s2
OUT_C_32
EN
CCoil
CValue
ENO
K2,147,483,647
s
High speed counter
specified by
*1. This defines the comparison value 1.
*2. This defines the comparison value 2.
>
>
Y000
Y001
Y002
K1000 C251 K2000
K1000 C251
C251 K2000
ON
*1. This defines K1000.
*2. This defines K2000.
DHSZ
EN
s1
s2
ENO
d
s
OUT_C_32
EN
CCoil
CValue
ENO
K2,147,483,647
M8000
RUN
monitor
CC251
Y0Label 1
*1
Label 2
*2
C251
>
>
≤≤

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals