EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 627

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.19 Block Data Operation
625
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. 16-bit operation
(BKCMP=, BKCMP>, BKCMP<, BKCMP<>, BKCMP<=, BKCMP>=, BKCMP=P, BKCMP>P, BKCMP<P,
BKCMP<>P, BKCMP<=P, BKCMP>=P)
1) "n" 16-bit binary data starting from the device specified by are compared with "n" 16-bit binary data
starting from the device specified by , and the comparison result is stored in "n" points starting from
the device specified by .
2) A constant can be directly specified in the device specified by .
3) The table below shows the comparison result in each instruction.
4) When the comparison result is ON (1) in all of "n" points starting from the device specified by ,
M8090 (block comparison signal) turns ON.
Instruction Comparison result ON (1) condition Comparison result OFF (0) condition
BKCMP=
=
BKCMP>
>
BKCMP<
<
BKCMP<>
=
BKCMP<=
>
BKCMP>=
<
+0
+1
+2
+n-2
+n-1
"n"
points
>
+0
+1
+2
+n-2
+n-1
"n"
points
+0
Comparison result
+1
+2
+n-2
+n-1
"n"
points
K1234
K5678
K7777
K5000
K4321
K5321
K3399
K6543
K5678
K1200
OFF(0)
ON(1)
ON(1)
OFF(0)
ON(1)
*2
*2. An example of
BKCMP>.
EN ENO
d
s1
s2
n
Command
input
Comparison value or device storing comparison value
Head device storing comparison source data
Number of pieces of comparison data
Device storing comparison result
*1. BKCMP=, BKCMP>, BKCMP<, BKCMP<>, BKCMP<=, BKCMP>=, BKCMP=P, BKCMP>P,
BKCMP<P, BKCMP<>P, BKCMP<=P, and BKCMP>=P are put in.
*1
BKCMP=
ds1 s2
=
K32000
*3
+0
Comparison result
+1
+2
+n-2
+n-1
"n"
points
ON(1)
OFF(0)
OFF(0)
ON(1)
OFF(0)
d
+0
+1
+2
+n-2
+n-1
"n"
points
K32000
K4321
K1234
K32000
K5678
s2
s1
*3. An operation example of BKCMP=
instruction is shown here.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals