Line 1
Normal
Character-string memory table #4
176
Memory Tables and Bar Graphs
Section 5-2
Application Example of Copying of a Character-String Memory Table
This example gives a PC program to switch the character string display on the
screen by using the memory table copy operation as the allocated bit is turned ON
and OFF.
S
Support tool settings
Allocate the memory as shown below by using the support tool.
PT status control area allocation:
Word 0100
Contents registered to the screen: Character-string memory table #4
Character-string memory table settings
#
Contents
Number of
Character Digits
4
Normal
6 digits
10
Error
6 digits
11
Normal
6 digits
S
PC ladder program
Create a PC ladder program as follows:
@MOV(21)
#0004
09000
@MOV(21)
#0010
(1)
Copy type, copy destination memory table #
Copy destination word
Copy source memory table #
Copy source word
@MOV(21)
#0004
09000
@MOV(21)
#0011
(2)
Copy type, copy destination memory table #
Copy destination word
Copy source memory table #
Copy source word
Error flag
Error flag
101
102
101
102
S
Program operation
(1) When an error occurs (bit 09000 turns ON), the NT20S displays the message
“Error”.
(2) When the error is cleared (bit 09000 turns OFF), the NT20S display message
reverts to “Normal”.
Содержание NT20S
Страница 1: ...Cat No V020 E1 04 NT20S Programmable Terminal OPERATION MANUAL ...
Страница 2: ...i ...
Страница 3: ...ii ...
Страница 4: ...iii NT series Programmable Terminal Operation Manual Revised August 1997 ...
Страница 5: ...iv ...
Страница 7: ...vi ...
Страница 11: ...x ...
Страница 19: ...xviii ...
Страница 129: ...110 ...
Страница 169: ...150 ...
Страница 253: ...234 ...