Omron NT20S Operation Manual page 195

Programmable terminal
Hide thumbs Also See for NT20S:
Table of Contents

Advertisement

Memory Tables and Bar Graphs
Application Example of Copying of a Character-String Memory Table
176
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
Line 1
Normal
Character-string memory table #4
Character-string memory table settings
#
Contents
4
Normal
10
Error
11
Normal
S PC ladder program
Create a PC ladder program as follows:
09000
Error flag
09000
Error flag
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".
Number of
Character Digits
6 digits
6 digits
6 digits
@MOV(21)
Copy type, copy destination memory table #
#0004
102
Copy destination word
@MOV(21)
Copy source memory table #
#0010
Copy source word
101
@MOV(21)
Copy type, copy destination memory table #
#0004
102
Copy destination word
@MOV(21)
Copy source memory table #
#0011
Copy source word
101
Section 5-2
(1)
(2)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents