EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - 5. Basic Instruction; 5.1 LD, LDI, AND, ANI, OR, OR

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...
5 Basic Instruction
5.1 LD, LDI, AND, ANI, OR, OR
56
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
5. Basic Instruction
This chapter introduces the instructions and operators for the structured project corresponding to the basic
instructions for the simple project.
Refer to the following manual for variable, instruction and data type.
Q/FX Structured Programming Manual (Fundamentals)
5.1 LD, LDI, AND, ANI, OR, OR
Outline
The LD and LDI instructions are contacts connected to bus lines.
The AND and ANI instructions connect one contact in series.
The OR and ORI instructions connect one contact in parallel.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Execution
form
Expression in each language
Structured ladder ST
LD Continuous
To become an assignment statement, operator, control
syntax and so forth.
The ST language may not have the instructions (symbols)
directly corresponding to the contacts of LD, AND and OR
that are programmed in a simple project.
The structured ladder shown on the left can be expressed
as shown below.
(When configuring with assignment statements)
Y000:=(X000 OR X001) AND X002;
Y001:=(X000 OR X001) AND X002 AND NOT X003;
Y002:=(NOT X000 OR NOT X001) AND NOT X002;
Y003:=(NOT X000 OR NOT X001) AND NOT X002 AND
X003;
LDI Continuous
AND Continuous
ANI Continuous
OR Continuous
ORI Continuous
Variable Description Data type
Input variable - Variable that are applicable to AND and OR input. Bit
Output variable - Result of operation of AND and OR. Bit
Instruction
Bit Devices Word Devices Others
System User Digit Specification
System
User
Special
Unit
Index
Constant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
VZModifier K H E
""
P
LD
zzzzzz
S1 S2
LDI
zzzzzz
S1 S2
AND
zzzzzz
S1 S2
ANI
zzzzzz
S1 S2
OR
zzzzzz
S1 S2
ORI
zzzzzz
S1 S2
X001
X000 X002
X003
X003
X002X000
X001
Y000
Y001
Y002
Y003
LD AND ANI
OR
LDI
ORI
AND

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals