Toshiba PROSEC T1-16S User Manual page 180

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

Advertisement

7. Instructions
FUN 096
Expression
Input
[ A
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
OFF
No execution
ON
Execution
Operand
Name
X
A Compared
data
B Reference
data
Example
When R00C is ON, the data of D0125 is compared with the constant data 2500, and if the data
of D0125 is greater than 2500, R020 is turned ON.
If the data of D0125 is 3000, the comparison result is true. Consequently, R020 is turned ON.
D0125
3000
If the data of D0125 is -100, the comparison result is false. Consequently, R020 is turned OFF.
D0125
-100
Note
This instruction deals with the data as signed integer (-32768 to 32767).
178
T1-16S User's Manual
Greater than
Operation
A
B
A
B
Device
Y
R
S
T.
C. XW YW RW SW T
Constant
Constant
Output
OFF
ON
OFF
Register
C
2500
2500
Constant Index
D
I
J
K
R020 is ON
R020 is OFF
6F3B0253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents