![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543413.webp)
5-1
Section
Examples of Actual Applications of Direct Access
404
•
Bits in the PT status control area can be turned OFF/ON to control the following
PT operations as groups.
•
Enable/disable the opening of windows (bit 6)
•
Enable/disable numeral and character string inputs (bit 5)
•
Enable/disable screen switching (bit 4)
Scaling the Contents of a PC Word and Displaying the Result
The contents (X) of a PC word are scaled with the equation Y=2X+3 and the re-
sults are displayed in a trend graph.
The calculation Y=2X+3 is executed
continuously in the PT and the results
are displayed in the trend graph.
Changes in the
content of DM 0000
at regular intervals
PT
PC
1, 2, 3...
1. Use the Support Tool to set the following formula in a mathematical table.
•
Formula format:
(x ! x) ! x
•
Result storage destination:
Numeral memory table 0
•
Operands (from left):
constant 2, D00000, constant 3
•
Calculation operators (from left):
*
and +
2. Register a trend graph in the window that displays numeral memory table 0.
Suggestions
•
Multiple mathematical formulas can be set in the mathematical tables to con-
tinuously execute multiple calculations. (Refer to
2-18 Mathematical Function
on page 269 for details.)
•
It is possible to notify the host of the calculation results by specifying a host
word or a numeral memory table that is allocated a host word for the result stor-
age destination.
•
Logical operators and comparative operators can be used for the calculation
operators as well as arithmetic operators and bit operators.
Example:
electronic components distributor
Summary of Contents for NT21 Series
Page 3: ...iv Downloaded from Elcodis com electronic components distributor...
Page 5: ...vi Downloaded from Elcodis com electronic components distributor...
Page 463: ...Downloaded from Elcodis com electronic components distributor...
Page 465: ...Downloaded from Elcodis com electronic components distributor...