EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 669

Mitsubishi Electric MELSEC-Q/L
1084 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 APPLICATION INSTRUCTIONS
7.13 Data Control Instructions
667
7
Program example
The following program performs the dead band control by applying the lower and upper limits of 0 and 1000 for the data set
in BCD at X20 to X2F and stores the result of control at D1 when X0 is turned ON.
The following program performs the dead band control by applying the lower and upper limits of -10000 and 10000 for the
data set at D0 and D1 and stores the result of control at D10 and D11 when X0 is turned ON
[Ladder Mode] [List Mode]
[Operation]
"0" is stored at D1 if 0 D0 1000. (example: D0 = 500 D1 = 0)
The value of (D0) - 1000 is stored at D1 if 1000 < D0. (example: D0 = 7000 D1 = 6000)
[Ladder Mode] [List Mode]
[Operation]
The value (D1, D0) - (-10000) is stored at (D11, D10) if (D1, D0) < (-10000). (example: (D1, D0) = -12345 (D11, D10) = -2345)
The value 0 is stored at (D11, D10) if -10000 (D1, D0) 10000. (example: (D1, D0) = 6789 (D11, D10) = 0)
The value (D1, D0) -10000 is stored at (D11, D10) if 10000 < (D1, D0). (example: (D1, D0) = 50000 (D11, D10) = 40000)
Step
Instruction
Device
Step
Instruction
Device

Table of Contents

Related product manuals