![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543320.webp)
3-5
Section
Changing Numeral and Character String Display
311
Indirect Specification
The following shows an example of changing the displayed numeric value by
adding a value to the contents of a numeral memory table allocated word which
is referenced in indirect specification.
Setting at The Support Tool
Set as indicated below using the Support Tool.
•
Numeral memory table No. 51:
D00000 (Words: 1), Value: 100
•
Character string memory table No. 100: Value: NT631C (6 digits)
•
Character string memory table No. 101: Value: NT631
(6 digits)
•
Character string memory table No. 102: Value: NT31C
(6 digits)
•
Character string memory table No. 103: Value: NT31
(6 digits)
•
Contents to be registered for the screen: Numeral display (numeral memory
table No. 51, indirect specification)
Character string display
(numeral memory table No. 51 is designated in indirect specification)
LINE
NT631C
PRODUCT
PC Program
Make a PC ladder program as shown below.
@INC (38)
DM0000
00100
00101
@DEC (39)
DM0000
Numeral memory table No. used
in indirect specification
Numeral memory table No. used
in indirect specification
(1)
(2)
Program Operation
1, 2, 3...
1. The display on the PT changes to the next item in the sequence NT631C
→
NT631
→
NT31C
→
NT31 each time bit 00100 comes ON.
2. The display on the PT changes to the next item in the sequence NT31
→
NT31C
→
NT631
→
NT631C each time bit 00101 comes ON.
In this example, the contents of numeral memory table No. 51, which is refer-
enced in indirect specification is not checked. If the program is actually tested,
the contents of numeral memory table No. 51 must not be outside the range of
0100 to 0103.
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...