EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 693

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.22 Data Comparison
691
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
Y10
X000
Y11
M3
X001
X002
When X000 is ON and the current value of the counter C10 is
"200" Y010 is driven.
When X001 is OFF and the contents of the data register
D0 are not "-10", Y011 is set.
When X002 is ON, and the contents of the data registers D11 and
D10 are less than "K678,493", or when M3 turns ON, M50 is driven.
AND=
EN
s1
s2
ENO
AND<>
EN
s1
s2
ENO
ANDD>
EN
s1
s2
ENO
C10
K200
[Structured ladder] [ST]
Y10:=AND=(X000,K200,C10);
K-10
D0
M40
M40
SET
EN
d
ENO
AND<>(NOT X001,K-10,D0,M40);
Y11:=SET(M40);
VAR_01
*1
Y11 Y11:=ANDD>(X002,VAR_01,VAR_02) OR M3;
VAR_02
*2
*1. VAR_01 is a global label and is defined as K678493.
*2. VAR_02 is a global label and is defined as D10.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals