Toshiba PROSEC T1 User Manual page 206

Programmable controller
Hide thumbs Also See for PROSEC T1:
Table of Contents

Advertisement

7. Instructions
FUN 104
Expression
Input -[ A+1 × A D= B+1 × B ]- Output
Function
When the input is ON, the double-word data of A+1 × A and B+1 × B are compared, and if A+1 × A is equal
to B+1 × B , the output is turned ON.
Execution condition
Input
OFF
No execution
ON
Execution
Operand
Name
A Compared
data
B Reference data
Example
When R010 is ON, the double-word data of D0101×D0100 is compared with the double-word data
of D0251×D0250, and if the data of D0101×D0100 is equal to the data of D0251×D0250, R014 is
turned ON.
If the data of D0101×D0100 is 250000 and D0251×D0250 is 250000, R014 is turned ON.
D0101×D0100
If the data of D0101×D0100 is -100 and D0251×D0250 is 0, R014 is turned OFF.
D0101×D0100
Note
· This instruction deals with the data as double-word integer (-2147483648 to 2147483647).
204
T1/T1S User's Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Double-word equal
D=
Operation
A+1 × A = B+1 × B
A+1 × A ¹ B+1 × B
Device
X
Y
R
S
T.
C. XW YW RW SW T
=
250000
¹
-100
Output
OFF
ON
OFF
Register
C
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
Ö
D0251×D0250
250000
D0251×D0250
Constant Index
D
I
J
K
Ö
Ö
Ö
Ö
R014 is ON
0
R014 is OFF
6F3B0250

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosec t1s

Table of Contents