6F3B0250
208
T1/T1S User’s Manual
7. Instructions
FUN 108
U
>
Unsigned greater than
Expression
Input
-
[
A
U
>
B
]
-
Output
Function
When the input is ON, the data of
A and the data of B are compared, and if A is greater than B, the
output is turned ON.
Execution condition
Input
Operation
Output
OFF
No execution
OFF
ON
Execution
A
>
B
ON
A
£
B
OFF
Operand
Name
Device
Register
Constant Index
X
Y
R
S
T.
C. XW YW RW SW
T
C
D
I
J
K
A
Compared
data
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
B
Reference data
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Example
When R00C is ON, the data of D0125 is compared with the constant data 40000, and if the data
of D0125 is greater than 40000, R020 is turned ON.
If the data of D0125 is 52000, the comparison result is true. Consequently, R020 is turned ON.
D0125
52000
>
Constant
40000
R020 is ON
If the data of D0125 is 21000, the comparison result is false. Consequently, R020 is turned OFF.
D0125
21000
£
Constant
40000
R020 is OFF
Note
·
This instruction deals with the data as unsigned integer (0 to 65535).
T1S only
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: [email protected]