188
Lamps, Touch Switches, Numeral Setting
Section 5-3
5-3-6 Notification of Numbers to the PC
The following describes how the numerical data input at the NT20S by using the
numeral setting function is ascertained by the PC.
In order to determine when numerical data has been input at the NT20S, the nu-
meral setting strobe flag in the PT status notify area is used. In order to determine
the upgraded numeral memory table number, the “content upgrade memory table”
in the PT status notify area is used.
When numerical data is input at the NT20S, this is automatically notified to the PT
status notify area (PT → PC) allocated in the PC memory as follows.
Notification of upgrade: PT status numeral setting strobe flag
turned ON (1)
Upgraded numeral table number: Stored in the “content upgrade memory
table”
When the PC reads the “content upgrade memory table” at the leading edge of the
numeral setting strobe flag, it determines the numeral memory table number in
which the numerical data that was changed at the NT20S is stored.
Numeral memory table 1
PT status notify area
Allocated word (numeral table 1)
Start
Start + 1
NT20S PC
12345678
Currently displayed screen
PT status
Content upgrade
memory table
Table No.
Numeral setting
strobe flag
12345678
12345678
[“Content upgrade memory table” in the PT status notify area and PT status]
1514131211109876543210Bit
–00– 000
Word
m+1
15 14 13 12 11 10 9 8 Bit
PT status
00PT status
Numeral memory table #: 000 to 127
m+2
Numeral setting strobe flag
PT status
Content upgrade memory table
0
Numeral memory table # (BCD, 3 digits)
Data is written to the content upgrade memory table as three digits of BCD (binary
coded decimal) data.
When the numeral setting strobe flag bit has been notified to the PC it returns to the
OFF (0) status.
For details on the method for storing a number in the word allocated for the numer-
al memory table, see “Displaying the Contents of Allocated Words of Memory
Tables” (page 167).