3-5SectionChanging Numeral and Character String Display
320
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 that is
referenced in indirect specification.
Setting at the Support Tool
Set as indicated below using the Support Tool.
• Numeral memory table entry 51: D00000 (Words: 1), Value: 100
• Character string memory table entry 100: Value: NT631C (6 digits)
• Character string memory table entry 101: Value: NT631 (6 digits)
• Character string memory table entry 102: Value: NT31C (6 digits)
• Character string memory table entry 103: Value: NT31 (6 digits)
• Contents to be registered for the screen: Numeral display (numeral memory
table entry 51, indirect specification)
Character string display
(numeral memory table entry 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 entry number
used in indirect specification
Numeral memory table entry number
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 entry 51, which is refer-
enced in indirect specification, is not checked. If the program is actually tested,
the contents of numeral memory table entry 51 must not be outside the range of
0100 to 0103.