Toshiba PROSEC T1-16S User Manual page 226

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

7. Instructions
FUN 160
UL
Expression
Input
[ A UL B
C ]
Function
When the input is ON, the following operation is executed. (Upper limit for A by B)
If A
B, then C = A.
If A
B, then C = B.
Execution condition
Input
OFF
No operation
ON
Execution: not limited (A
Execution: limited (A
Operand
Name
X
A Operation data
B Upper limit
C Destination
Example
When R030 is ON, the upper limit operation is executed for the data of RW018 by the data of
D1200, and the result is stored in RW021.
(RW021)
When RW018 is 3000 and D1200 is 4000, 3000 is stored in RW021 and R0040 is OFF.
When RW018 is 4500 and D1200 is 4000, the limit value 4000 is stored in RW021 and R0040
is ON.
Note
This instruction deals with the data as signed integer (-32768 to 32767).
224
T1-16S User's Manual
Upper limit
Output
Operation
B)
B)
Device
Y
R
S
T.
C. XW YW RW SW T
C
A (RW018)
Output
OFF
OFF
ON
Register
C
D
Upper limit B (D1200)
6F3B0253
Constant Index
I
J
K

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents