6F3B0250
Basic Hardware and Function 243
7. Instructions

FUN 161 LL Lower limit

Expression
Input -[
A
LL
B
®
C
]- Output
Function
When t he input is ON, the following operation is executed. ( Lower limit for
A
by
B
)
If
A
³
B
, then
C
=
A
.
If
A
<
B
, then
C
=
B
.
Execution condition
Input Operation Output
OFF No operation OFF
ON Execution: not limited (
A
³
B
)OFF
Execution: limited (
A
<
B
)ON
Operand
Name Device Re
g
ister Constant Index
X Y R S T. C. XW YW RW SW T C D I J K
A
Operation data ÖÖÖÖÖÖÖÖÖÖ Ö Ö
B
Lower limit ÖÖÖÖÖÖÖÖÖÖ Ö Ö
C
Destination ÖÖÖÖÖÖÖÖÖ Ö
Example
When R031 is ON, t he lower limit operation is executed for t he dat a of RW019 by the dat a of
D1220, and the result is stored in RW022.
When RW019 is -1000 and D1220 is -1800, - 1000 is st ored in RW022 and R0041 is OFF.
When RW019 is 800 and D1220 is 1200, the lim it value 1200 is stored in RW022 and R0041 is
ON.
Note
· This instr uct ion deals with the dat a as signed integer (-32768 to 32767).
T1S only
C
(RW022)
Lower limit
B
(D1220)
A
(RW019)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net