![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532331.webp)
326
5-24-2 LIMIT CONTROL: LMT(271)
(271)
LMT
S
C
D
Ladder Symbol
Variations
↑
LMT(271)
Operand Data Areas
D: Output word
CIO, G, A, T, C, DM, DR, IR
C: First limit word
CIO, G, A, T, C, DM
S: Input word
CIO, G, A, T, C, #, DM, DR, IR
Description
When the execution condition is OFF, LMT(271) is not executed. When the ex-
ecution condition is ON, LMT(271) controls output data according to whether or
not the specified input data (signed 16-bit binary) is within the upper and lower
limits. The contents of words C and C+1 are as follows:
C
Lower limit data (minimum output data)
C+1
Upper limit data (maximum output data)
If the input data (S) is less than the lower limit (C), the lower limit data will be
output to D and the Less Than Flag (A50007) will turn ON.
If the input data (S) is greater than the upper limit (C+1), the upper limit data will
be output to D and the Greater Than Flag (A50005) will turn ON.
If the input data (S) is greater than or equal to the lower limit (C) and less than or
equal to the upper limit (C+1), the input data (S) will be output to D.
Upper limit (C+1)
Output
Input
Lower limit (C)
Precautions
The lower limit (C) must be less than or equal to the upper limit (C+1).
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
The upper limit setting is less than the lower limit.
The content of a
*
DM word is not BCD when set for BCD.
> (A50005):
The input data (S) is greater than the upper limit (C+1).
EQ (A50006):
The output data is all zeros.
< (A50007):
The input data (S) is less than the lower limit (C).
N (A50008):
The output data is a negative number.
Example
When CIO 000000 turns ON in the following example, one of the following will
occur:
•
If the binary content of CIO 0001 is within the range specified by the content of
D00100 and D00101, the content of CIO 0001 will be output to D00110.
•
If the binary content of CIO 0001 is greater than the content of D00101, the
content of D00101 will be output to D00110.
•
If the binary content of CIO 0001 is less than the content of D00100, the con-
tent of D00100 will be output to D00110.
PID and Related Instructions
Section 5-24
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...