Mitsubishi MELSEC Q Series Programming Manual page 696

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

LIMIT(P),DLIMIT(P)
Program Example
(1) The following program conducts limit controls from 500 to 5000 on the data set as BCD
values from X20 to X2F, and stores the result at D1 when X0 is turned ON.
[Ladder Mode]
[Operation]
• D1 becomes 500 if D0
Example
• D1 becomes the value of D0 when 500
Example
• D1 becomes 5000 when 5000
Example
(2) The following program conducts limit value controls from 10000 to 1000000 on the data set
as BCD values from X20 to X3F when X0 is turned ON.
[Ladder Mode]
[Operation]
• (D11, D10) become 10000 if (D1, D0) are less than 10000.
Example
• (D11, D10) become the value of (D1, D0) if 10000
Example
• (D11, D10) become 1000000 if 1000000
Example
7-322
500.
D0 400 D1 500
D0 1300 D1 1300
D0.
D0 9600 D1 5000
(D1,D0) 400 (D11,D10) 10000
(D1,D0) 345678 (D11,D10) 345678
(D1,D0) 9876543 (D11,D10) 1000000
[List Mode]
Step
Instruction
D0
5000.
[List Mode]
Step
Instruction
(D1, D0)
1000000.
(D1, D0).
Device
Device

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents