505
Changing Numeral and Character String Display
Section 8-5
S
Program operation
(1) The value “1” is added to the contents of D0000 every second. At the
NT31/NT31C, the displayed value of the numeral memory table No. 1 in-
creases by “1” every second.
(2) Each time carry over occurs during processing at (1) above, the contents of
D0001 are incremented by 1. At the NT31/NT31C, the value of the higher 4
digits in numeral memory table No.1 increases by 1.
(3) When bit 00001 comes ON, the value “1” is added to the contents of D0002.
At the NT31/NT31C, the displayed value of numeral memory table No. 2
increases by “1”.
[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.
S
Setting at the Support Tool
Set as indicated below using the Support Tool.
- Numeral memory table No. 51:
D0000 (Value: 100, Words: 1, Storage Type: BCD)
- Numeral memory table No. 100:
D0010 (Words: 1, Storage Type: BCD)
- Numeral memory table No. 101:
D0011 (Words: 1, Storage Type: BCD)
- Touch switch (upper):
@
Function setting:
“Notify Bit”
@
PC Address:
0000100
@
Action Type:
“Momentary”
@
Label:
TARGET
- Touch switch (lower):
@
Function setting:
“Notify Bit”
@
PC Address:
0000101
@
Action Type:
“Momentary”
@
Label:
ACHIEVED
- Contents to be registered for the screen:
Numeral display (numeral memory table No. 51, indirect specification),
touch switches (two, indicated above)
Summary of Contents for NT31 Series
Page 1: ...Cat No V043 E1 2 Programmable Terminal NT31 31C OPERATION MANUAL...
Page 2: ...iii NT31 31C Programmable Terminal Operation Manual Produced March 1999...
Page 41: ...30 Before Operating Section 1 5...
Page 75: ...64 Using a Memory Unit NT31 NT31C without V1 Section 3 6...
Page 160: ...149...
Page 174: ...163...
Page 193: ...182...
Page 211: ...200...
Page 235: ...224 c Return to the screen on which screens are specified...
Page 262: ...251...
Page 360: ...349 It is not possible to control a gloval window by touch switch operation...
Page 468: ...457 254 255 0 2 7 1 4 5 3 3 0 0 0 5 9 8 0 3...
Page 476: ...465 Special Functions Section 7 16...
Page 495: ...484 OFF...
Page 610: ...599 Commands Responses Section 9 3...
Page 630: ...619 Examples of Actual Applications of Memory Link Section 10 2...