3-5
Section
Changing Numeral and Character String Display
307
Change the contents of the word in the host to which the numeral memory table
is allocated.
The contents of the word are reflected to the numeral memory table according to
the setting of the numeral memory table.
Note that the contents of a numeral memory table allocated word can only be
read out when the memory table is being used for an element that is currently
displayed by the PT (if the background function is set for a trend graph, the con-
tents of the corresponding word are always read out). The contents of an allo-
cated word which is not related to the display are not read out.
Example of Use
Direct Specification
An example of displaying the contents of a PC word allocated to a numeral
memory table as they are is shown below. The display on the PT screen changes
as the contents of the PC word change.
Setting at The Support Tool
Set as indicated below using the Support Tool.
•
Numeral memory table No. 1:
D0000 (Words: 2, Storage Type: BCD)
•
Numeral memory table No. 2:
D0002 (Words: 1, Storage Type: BCD)
•
Contents to be registered for the screen:
Numeral display (numeral memory tables No. 1 and No. 2)
23
15289
Numeral memory table No. 1 (8-digit display)
Line 1
Qty.
units
Defects
units
Numeral memory table No. 2 (4-digit display)
PC Program
Make a PC program as shown below.
INC (38)
DM0000
00100
25506
00001
(1)
(=)
INC (38)
DM0001
@INC (38)
DM0002
25502
DIFU (13)
00100
(1-sec clock)
Lower 4-digit word of No. 1
Higher 4-digit word of No. 1
Word of No. 2
(2)
(3)
Program Operation
1, 2, 3...
1. The value 1 is added to the contents of D0000 every second. At the PT, the
displayed value of the numeral memory table No. 1 increases by 1 every
second.
Operation
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...