EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 701

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.23 Data Table Operation
699
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
2. Program example 2
In the program example shown below, the BCD data set in X020 to X057 is controlled by the limit values
"10000" and "1,000,000", and the controlled value is output to D11 and D10 when X000 turns ON.
Operation 1
1) In the case of "(D1, D0) < 10000", "10000" is set to (D11,
D10).
2) In the case of "10000 (D1, D0) 1,000,000", the value of
(D1, D0) is output to (D11, D10).
3) In the case of "1,000,000 < (D1, D0)", "1,000,000" is output
to (D11, D10)
X000
DBIN
EN
s
ENO
d
VAR_01
*1
VAR_02
*2
DLIMIT
EN ENO
d
s1
s2
s3
VAR_11
*3
VAR_12
*4
VAR_13
*5
VAR_14
*6
*1. VAR_01 is a global label and is defined as K8X020.
*2. VAR_02 is a global label and is defined as D0.
*3. VAR_11 is a global label and is defined as K10000.
*4. VAR_12 is a global label and is defined as K1000000.
*5. VAR_13 is a global label and is defined as D0.
*6. VAR_14 is a global label and is defined as D10.
[Structured ladder] [ST]
DBIN(X000,VAR_01,VAR_02):
VAR_14:=DLIMIT(X000,VAR_11,VAR_12,VAR_13);
Input (D1,D0)
Output (D11,D10)
10000 1000000
10000
1000000

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals