EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 179

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.2 Move and Compare
177
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
Program examples
1. When the digital switch has 1 digit
2. When the digital switch has 2 to 4 digits
3. When the digital switch has 5 to 8 digits
MOV instruction can be used instead.
X000
D0
BIN
EN
s
ENO
d
K1X000
D0
X000
MOV
EN
s
ENO
d
K1X000
PLC
6
[
Structured ladder
]
[ ST ]
BIN(X000, K1X000, D0);
[
Structured ladder
]
[ ST ]
MOV (X000, K1X000, D0);
[Structured ladder]
[ ST ]
BIN (X000, K2X000, D0);
PLC
K4 K3 K2 K1
9786
X000
BIN
EN
s
ENO
d
K2X000
Digital switch input
D0
Output destination
In the case of 2 digits: K2
In the case of 3 digits: K3
In the case of 4 digits: K4
PLC
97865342
K4 K3 K2 K1K8 K7 K6 K5
X000
D0
DBIN
EN
s
ENO
d
K5X000
[Structured ladder]
[ ST ]
DBIN (X000, Var_BIN1
*1
, Var_BIN2
*2
);
*1 Var_BIN1 is a global label and is defined as K5X000.
*2 Var_BIN2 is a global label and is defined as D0.
Var_BIN1
*1
Var_BIN2
*2
Digital switch input
Output
destination
In the case of 5 digits: K5
In the case of 6 digits: K6
In the case of 7 digits: K7
In the case of 8 digits: K8

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals