SECTION 4 NT20 Functions and Operation. Omron NT 600M-LB122-V1, NT 20M-DT121-V2, NT 20-IF001, NT 20-ST128, NT 20, NT 20M, NT 20-ST122-V1, NT 20-ST121-EV3, NT 20-ST121-E, NT 20S
Below you will find brief information for Programmable Terminal NT NT20, Programmable Terminal NT NT20S, Programmable Terminal NT NT20M. The NT20 is a programmable terminal used to display and transmit information in an FA site. It can be easily installed and used. NT20, NT20S and NT20M support features and functionality to display, receive data from a host and send data to a host. It also gives the operation examples and characteristics of the NT20.
Advertisement
Advertisement
SECTION 4
NT20 Functions and Operation
This section describes the functions of the NT20.
4-2-2 Characters and Figures Which Can Be Displayed . . . . . . . . . . . . . .
4-2-3 Communications with the Host . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3-1 Classification of Screens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4-1 Character-String Memory Table . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4-2 Numeral Memory Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5-1 Bar Graph Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6-1 Lamp Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-7-1 Functions of Touch Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-7-2 Screen Switching Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-7-3 System Key Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-1 The Numeral Setting Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-2 Types of Numeral Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-3 Creating Numeric Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-4 Using Numeric Keys. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8-5 Using The Thumbwheel Type of Numeral Setting. . . . . . . . . . . . . .
4-8-6 Settings for Numeral Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
133
Screen Creation Procedure
Section 4-1
4-1 Screen Creation Procedure
Follow the procedure shown below to create screens for the NT20.
The following gives the procedure assuming that the setting for the PT has been completed. The operating procedure for the Support Tool is not given here. For the operating procedure for the Support Tool, refer to the NT-series
Support Tool Version 4.8 for Windows Operation Manual (Cat. No. V061-E1-
@).
Creating a New Screen
Tool Setting (PT model)
Set the PT model as follows:
NT20: Set NT20.
NT20S: Set NT20S.
Correcting an Existing File
File Designation
Designate a work file.
Importing DOS Version Data
File Designation
Designate the work file to be data converted.
System Setting (Memory Switch Setting)
Set the memory switches that determine the basic operation of the
PT. The numeral/character string/bit memory table entry settings should also be made at this stage.
Setting for PT Status Control/Notify Area
Allocate words for the PT status control area and PT status notify area, necessary for the direct connection function, in the host.
For details, refer to 5-1-3 NT20 Status
Control and Notification to PLC.
134
Screen Creation Procedure
Creating and Correcting a Screen
After designating a screen, set the screen properties and register elements for the screen or correct the screen. If necessary, create marks, image data, and library data, and set the initial values of memory table entries. For details of screens and elements, refer to SECTION 4
NT20 Functions.
Section 4-1
Saving a File
Save the created screen data to a file.
Transmitting the Screen Data
Transmit the created screen data to the PT. After setting the PT in the Transmit mode, execute the screen data transmission operation with the
Support Tool.
Support Tool
!Caution Carefully check the operation of all screen data and host programs before using them. Otherwise the system may operate unpredictably.
135
Outline of Functions
Section 4-2
4-2 Outline of Functions
4-2-1 NT20 Screen
This section gives the outline of the screen which is the basis of all NT20 functions.
For specific operation procedure such as screen switching, refer to 5-1-4
Switching the Screen Display (page 172).
Composition of the Screen
The NT20 screen is composed of horizontal 256 dots x vertical 128 dots.
Each dot is set by the combination of the X (horizontal) and Y (vertical) coordinates. The origin of coordinates (0, 0) is set at the top left corner of the screen.
0
X coordinate (horizontal)
0
255
Screen Management
Special Screen Number
Y coordinate
(vertical)
Coordinates
(x, y)
127
255, 127
The screens displayed on the NT20 are managed by the screen numbers.
When using the NT20, up to 495 screens can be created and screen numbers in the ranges 1 to 250 and 256 to 500 can be used (numbers 251 to 255 are reserved for system use).
The display screens can be switched or the start-up screen can be set by designating the screen number from the Host.
Screen number “0” is reserved for the system as the no-display screen. Select this to display nothing on the NT20 screen.
136
Outline of Functions
Section 4-2
4-2-2 Characters and Figures Which Can Be Displayed
The NT20 screen can display characters, figures, and other various elements.
This section describes the types and attributes of the characters and figures which can be displayed and do not need to be changed at all.
For the settings, display, and use of the characters, numeric values, and graphs which change according to the system operation status and other con-
ditions, refer to 4-4 Memory Tables (page 144).
The power of expression of the screen can be increased by giving various attributes such as the enlarged or reverse display to the characters and figures.
The character and figure attributes can be set in the edit screen when creating the screen data by using the Support Tool.
When using the NT20-ST128 (RS-232C), character strings can also be displayed according to commands from the host, independently of the currently displayed screen (this is the “terminal function”).
Types and Attributes of Characters and Figures
The following types of characters can be input by using the Support Tool and be displayed during operation.
Character
Type
Dots
(vertical x horizontal)
8 x 8
Character Set
Half height characters
Normal characters
16 x 8
16 x 16
Alphanumerics and symbols
Alphanumerics and symbols
GB2312
Maximum Number of
Characters Displayed in One
Screen (without overwriting)
32 characters x 16 lines
(512 characters)
32 characters x 8 lines
(256 characters)
16 characters x 8 lines
(128 characters)
Marks 16 x 16 Create by using the
Support Tool
• Marks
A mark is a graphic pattern created by combining 16 x 16 dots by using the
Support Tool. Marks can be handled the same as the wide size characters.
Up to 64 patterns can be defined within the total screen data using character code FF20 to FF5F.
• Enlarged Display of Characters and Marks
The characters and marks can be enlarged to the following scales.
Note
PT PT
PT PT
PT
PT x16 scale x1 scale Double width scale
Double height scale x4 scale x9 scale
Smoothing
The characters and marks enlarged to the x4 scale or larger are displayed with the outline automatically smoothed. This function is called “smoothing”.
137
Outline of Functions
Section 4-2
• Reverse and Flashing Display
Reverse display: The display brightness of the character and the background is reversed comparing with the normal display.
Flashing display: Characters are displayed as they flash. The normal display alternates with no-display.
Reverse and flashing display: The reverse display alternates with the normal display.
Types and Attributes of the Figures
The following types of figures can be input by using the Support Tool and be displayed during operation. Continuous straight lines including up to 256 vertices can be drawn (up to 255 straight lines can be connected).
Continuous straight lines
Circle
4-2-3 Communications with the Host
Communications Using Host Link/NT Link/C200H Direct Communications
The NT20 can communicate with the PLC through the host link/NT link. Bits and words are allocated to areas of the PLC memory (selectable without restriction) and the NT20 can write data to them or read from them directly.
This makes the following functions possible:
• Control/Notification of display elements
• Control/Notification of the NT20 status
• Screen switching
• Ascertaining the number of the screen currently displayed
• Memory table operations
For details on actual operations, refer to SECTION 5 How to Use the Host
Communications through
RS-232C
The NT20-ST128 can communicate with the host through the RS-232C interface. In other words, it can receive and send commands through the RS-232C interface, which allows various types of host to utilize the functions of the
NT20:
• Control/notification of display elements
• Control/notification of the NT20 status
• Memory table operations
• Screen operation
• Display/deletion of characters/graphics
For details on actual operations, refer to SECTION 6 Using RS-232C Commu-
Controllable NT20 Functions
The following NT20 status can be controlled:
• Screen switching: Screen is displayed or cleared.
• Continuous/intermittent buzzer: Buzzer operation is started or stopped.
• Back light mode: Back light is lit or made to flash.
For details on how these NT20 functions are actually controlled, refer to 5-4
NT20 Status Control on page 203, and Buzzer Control on page 228.
138
Outline of Functions
Section 4-2
Ascertainable Operating Status of the NT20
The following operating status of the NT20 can be ascertained:
• NT20 operating/stopped status: Whether the NT20 is active or inactive
• Screen number: Number of the screen currently displayed
• Numeral setting input: Whether or not numerical values have been input by numeral setting
For details on how these NT20 operating status is actually detected, refer to
5-5 Notification of the Operating Status to the PLC (Determining the NT20
Operating Status) on page 208, Screen Number Response on page 217, and
Eight-digit Number Input Notify on page 225.
!Caution To ensure system safety, be sure to periodically read the PT operating status bit from the host in order to ensure that the PT is always operating normally.
139
Screen Display
Section 4-3
4-3 Screen Display
This section describes the screen information required for the operation with the NT20.
For details on how to change the displayed screen, refer to 5-1-4 Switching
the Screen Display on page 172, and Display Specified Screen on page 216.
For the methods used to ascertain the screen number of the screen currently
displayed, refer to 5-1-5 Notifying the PLC of the Display Screen (to Display
the Number of Currently Displayed Screen) on page 174, and Request
4-3-1 Classification of Screens
The NT20 is provided with the following types of screens which are classified by the display method.
• Normal screen
• Overlapping screen
• Continuous screen
The screen type is set with each screen in the “Screen List” screen of the
Support Tool. Select a screen type according to the purpose, and create characters and figures on the screen.
Normal Screen
Overlapping Screen
A normal screen is the basic screen of the NT20. It is not necessary to select a screen type (overlapping or consecutive) when to create the screen data on a normal screen.
When a normal screen is selected, existing screens will be erased and a normal screen will be displayed.
Several normal screens can be overlapped and displayed as one screen. A group of overlapped screens is called an “overlapping screen”.
Several normal screens are displayed in the order of screen numbers which have been designated to each screen and form an overlapping screen. Up to eight screens can be overlapped to form one overlapping screen. The base screen used for making an overlapping screen is called a “parent screen”, and a bunch of screens which are laid over the parent screen are called “child screens”.
All display elements can be used on a parent screen.
The screen attributes such as a buzzer attribute set in the parent screen become effective in an overlapping screen.
Example Overlapping Screens
Screen #10
(1)
This is an
Screen #8
This is an overlapping screen.
(2)
Screen #7 overlapping
Screen #25
(3) screen.
• Parent screen: #8
• Child screens: #10, #7, and #25
140
Screen Display
Section 4-3
Continuous Screens
When screen #8 is designated, screen #8 becomes the parent screen and the child screens #10, #7, and #25 are displayed over the parent screen in that order.
Only one numeral setting screen which allows numeric values to be set on the
NT20 screen can be registered as a child screen. For the numeral setting,
refer to 4-8 Numeral Setting (page 156).
Make sure that the touch switches and numbers set in the normal screens do not overlap in an overlapping screen. If the set positions of the touch switches and/or numbers in the normal screens overlap with each other, such settings may sometimes not be effective as intended. Use the Support Tool and make sure that the set positions do not overlap with each other.
A group of normal screens which are related in series and can be switched consecutively is called the “continuous screens”. Up to eight screens can be registered to one screen as a group of continuous screens.
The base screen used for registering the continuous screens is called a “parent screen”, and the registered continuous screens are called “child screens”.
The current screen number and the total number of continuous screens can be displayed in the top right corner of the screen. This is called the “page number display”.
The page number is set when creating the screen data by using the Support
Tool. Refer to the “NT-series Support Tool for Windows Operation Manual”
(Cat. No. V061-E1-
@).
All display elements except “numeral setting” can be used in the continuous screens.
The screen attributes set in the parent screen become effective in the continuous screens.
Example Continuous Screens
1/3
Continuous screen (1)
Screen #20
touch switch
touch switch
2/3
Continuous screen (2)
Screen #15
touch switch touch switch
3/3
Continuous screen (3)
Screen #5
• Parent screen: #10
• Child screens: #20, #15, and #5
When screen #10 (continuous screen) is designated, screen #20 which is page 1 of the continuous screens will be displayed. Screen #15 or #5 can be displayed by using the touch switches. Since screen #10 has been set for the continuous screens, that screen cannot be displayed as an individual screen.
Switching Continuous Screens Using Touch Switches
Continuous screens can be switched by using the and touch switches which have the system key functions.
When creating the screen, create touch switches and to which the sys-
tem key functions are allocated. (Refer to 4-7-3 System Key Functions on page 154.)
141
Screen Display
Section 4-3
Production Status
Line A: Normal
Line B: Normal
1/3
4-3-2 Screen Attributes
Each screen can be set with a specific function by designating a screen attribute, so that the specific function can be executed by displaying the screen. For example, by displaying a screen to which a “buzzer attribute” has been set, the buzzer of the NT20 starts sounding.
Set the screen attributes for each screen on the “screen selection” screen of the Support Tool.
Note that the Support Tool displays some items that are not used with the
NT20.
The following several attributes can be set with one screen.
Buzzer Attribute
Numeral Setting Attribute
Note
Bit Input Attributes (NT20-
ST128 Only)
This attribute will become effective to sound the buzzer in the NT20 when the screen to which this attribute has been set is displayed. The buzzer sound can be set as follows:
No: Buzzer does not sound when the screen is displayed.
Continuous sound: Buzzer sounds continuously.
Intermittent sound: Buzzer sounds intermittently at constant intervals.
The buzzer sound is set with the NT20 memory switch. The buzzer can also
be set by using the Host. Refer to 3-8-2 Using the Buzzer on page 107 for the
buzzer setting using the memory switch.
To stop the buzzer by using the screen operation, create a system key as a touch switch.
Select whether the numeric keys are automatically displayed or the numeric keys are created at arbitrary positions on the numeral setting screen. The following two numeral setting attributes are used.
System: The numeric keys registered to the system are automatically displayed.
User: The numeric keys can be created at any arbitrary positions.
If the numeral setting attribute on the NT20 has been set for “system”, the touch switches [ENT], and which are allocated to the system besides the
numeric keys need to be created. (Refer to 4-7-3 System Key Functions on page 154.)
Select whether the host is notified of the touch switch number or bit information when the touch switch is pressed. There are two types of bit input attribute in the screen attributes, as described below:
• Off: Bit control when a touch switch is pressed is invalid. Notification of the status of the touch switch is provided using its number.
142
Screen Display
Backlight Attributes
Section 4-3
• Touch SW:Bit control when a touch switch is pressed is valid. Notification of the status of the touch switch is provided using bit information.
Select whether the backlight is lit or flashes when the screen is displayed.
There are two types of backlight attribute in the screen attributes, as indicated below:
• Lit: Backlight is lit when the screen is displayed.
• Flashing: Backlight flashes when the screen is displayed.
143
Memory Tables
Section 4-4
4-4 Memory Tables
The NT20 has the “character-string memory table” for the character data and the “numeral memory table” for numeric data which can be written and updated by the PLC/Host.
The contents of the memory table entries can be set by using the Support
Tool when displaying the memory table entries on the screen or by editing the table.
4-4-1 Character-String Memory Table
The character-string memory table is an NT20 internal memory used to store the character data. Up to 128 character-string memory table entries can be used, and up to 16 full size characters (32 bytes) can be stored in one memory table entry. The character-string memory table entries at up to 32 positions can be registered in one screen.
Displaying a Character String
The character-string memory table entries are registered with table entry numbers 0 to 127.
When creating the screen data by using the Support Tool, set the position on the screen to display a character string and also set a character string number to be displayed.
When the NT20 is operated, the screen displays the contents of the character-string memory table.
When using a direct connection, it is possible to display the contents of character-string memory table entries by specifying their numbers with numeral memory table entries (indirect specification), rather than directly changing the character-string memory table contents.
For details on how to change currently displayed character strings, refer to 5-
2-2 Changing Displayed Numerals or Character Strings (Changing the Con-
tents of Allocated Words ... Direct Specification) on page 182, and Write
Character-string Memory Table on page 218.
When using the NT20-ST128 (RS-232C), character strings can be also displayed according to commands from the host, independently of the currently
displayed screen (terminals Function). Refer to Specify Displayed Characters on page 232.
Characters and Figures Which Can Be Displayed
The power of expression of the screen can be increased by giving various attributes such as the enlarged or reverse display to the characters of the character-string memory table.
The character attributes can be set in the edit screen when creating the screen data by using the Support Tool.
The following types of characters can be displayed on the NT20:
Character
Type
Half size characters
Dots
(vertical x horizontal)
8 x 8
Character Set
Alphanumerics and symbols
Maximum Number of
Characters Displayed in One
Screen (without overwriting)
32 characters x 16 lines
(512 characters)
144
Memory Tables
Section 4-4
Normal size characters
8 x 16
16 x 16
Alphanumerics and symbols
GB2312
32 characters x 8 lines
(256 characters)
16 characters x 8 lines
(128 characters)
Marks 16 x 16 Create by using the
Support Tool
• Enlarged Display of Characters and Marks
The characters and marks can be enlarged to the following scales.
Double width scale, Double height scale, x4 scale, x9 scale, x16 scale
• Smoothing
The characters and marks enlarged to the x4 scale or larger are displayed with the outline automatically smoothed. This function is called “smoothing”.
• Reverse and Flashing Display
Reverse display: The display brightness of the character and the background is reversed comparing with the normal display.
Flashing display: Characters are displayed as they flash. The normal display alternates with no-display.
Reverse and flashing display: The reverse display alternates with the normal display.
4-4-2 Numeral Memory Table
The numeral memory table is an NT20 internal memory used to store the numeral data. Up to 128 numeral memory table entries can be used, and up to eight digits (four bytes) of numeral data (including signs) can be stored in one numeral memory table entry. The numeral memory table entries at up to
50 positions can be registered in one screen.
Displaying a Numeral
The numeral memory table entries are registered with table entry numbers 0 to 127.
When creating the screen data by using the Support Tool, set the position on the screen to display a numeral and also set a numeral number to be displayed.
When the NT20 is operated, the screen displays the contents of the numeral memory table.
➡
For details on how to change the currently displayed numeric data, refer to
5-2-2 Changing Displayed Numerals or Character Strings (Changing the
Contents of Allocated Words ... Direct Specification) on page 182, and
Four-digit Write Numeral Memory Table on page 219.
Numerals Which Can Be Displayed
The power of expression of the screen can be increased by giving various attributes such as the enlarged or reverse display to the numerals of the numeral memory table.
The numeral attributes can be set in the edit screen when creating the screen data by using the Support Tool.
• Digits of the whole numbers: 1 to 8 digits
• Digits of the decimal fraction: 0 to 7 digits
• Character sizes: Half, normal
• Enlarged display: Double width, double height, x4, x9, x16
145
Memory Tables
Note
Section 4-4
The characters enlarged to the x4 scale or larger are displayed with the outline automatically smoothed. This function is called
“smoothing”.
• Display attribute: Normal, reverse, flashing, reverse and flashing
• Sign display setting
• Decimal/hexadecimal display setting
• Zero suppress setting
To display one numeral memory table entry on several different screens simultaneously, the display attributes on such screens must be the same. If there are discrepancies among the display attributes, the numeral table entry may not be displayed correctly.
Zero Suppress Setting
The numeral data are displayed in designated display areas as right-aligned.
If the number of digits of a numeral data is smaller than that of the display area, number “0”s will be displayed at the vacant digits. These “0”s will not be displayed if the zero suppress setting is made for “Yes”.
146
Bar Graphs
Section 4-5
4-5 Bar Graphs
The contents of the numeral memory table entries of the NT20 can be displayed as bar graphs as well as numeral data.
This section describes the bar graphs which can be displayed.
In order to change the data displayed in a bar graph, the contents of its numeral memory table entries have to be changed.
For details on how to update the data of a currently displayed bar graph, refer
to 5-2-5 Upgrading Bar Graphs (Changing the Contents of Allocated Words)
on page 189, and Four-digit Write Numeral Memory Table on page 219.
4-5-1 Bar Graph Functions
The bar graph function displays a value in a bar graph form as a percentage to the specified value according to the contents of a numeral memory table entry. Up to 50 bar graphs can be registered in one screen.
• Reference Table Entries
The numeral memory table entries used as the reference for the bar graph display can be set.
The Support Tool has the “direct” and “indirect” options for the reference method of the numeral memory table. However, the NT20 recognizes the
“direct” method only.
The bar graph display cannot use hexadecimal numbers. If hexadecimal numbers are set in the reference numeral memory table entries, the bar graph cannot be displayed. Use caution not to write hexadecimal numbers except the minus sign “F” to the reference numeral memory table entries.
Bar Graph Attributes
The following attributes can be set with the NT20 for the bar graph display:
• Position and Size
The display position and size (length) of a bar graph can be set.
The width of the bar graph can be set in the range of 2 to 255 dots.
• Orientation and Incremental Direction
The orientation and incremental direction of the bar graph can be selected from those described below.
↑ (up): The bar graph increments upward in the vertical orientation.
↓ (down): The bar graph increments downward in the vertical orientation.
← (left): The bar graph increments to the left in the horizontal orientation.
→ (right): The bar graph increments to the right in the horizontal orientation.
Direction:
↑
Direction:
→
• Graph Frame
Select whether or not the graph frame (boundary line of a graph display area) which indicates the effective display range is displayed.
← This frame is not displayed if
"Graph frame: No" has been set.
• Setting the 100 % Value and % Display
147
Bar Graphs
Section 4-5
Set a value which corresponds to 100 % for the “100 % value”. The available value range is “0 to 99999999” (eight digits max.). For the “% display”, whether or not the proportion (percentage) of the reference numeral memory table value to the “100 % value” is displayed in a numeral can be selected. The display value is calculated as follows:
“% display” value = Numeral memory table value
÷ “100 % value” x 100
For the font and attributes used for the numeral display, refer to Numerals
Which Can Be Displayed on page 145.
• Sign Display and Display Method
Select whether or not the bar graph which indicates a value below 0 % is displayed.
To Display Values Below 0 %: Sign Display “Yes”
The bar graph is displayed in the range of –100% to 100%. The middle of the bar graph indicates 0%.
% display
−60 %
−100 %
0 % 100 %
To Not Display Values Below 0 %: Sign Display “No”
The bar graph is displayed in the range of 0% to 100%. The end of the bar graph indicates 0%. Values below 0% are indicated as 0%.
% display
60 %
0 % 100 %
• Differences in the Bar Graph Display Method According to the % Values
The bar graph display method varies according to the % value range.
1.
When the % value is in the minus range
The display varies as follows according to the sign display setting:
Sign display “No”: Displayed as 0%.
Sign display “Yes”: Displayed in the minus range.
2.
When the absolute value of the % value is in the range of 100% to 999%
The % value is displayed as it is.
Sign display “No”: The display will be as shown below according to the graph frame setting.
When the frame is displayed:
% display
999 %
0 %
↔
100 %
Graph width: 8 dots
148
Bar Graphs
Section 4-5
When the frame is not displayed:
% display
1-dot-wide space
999 %
↔
100 %
Graph width: 8 dots
0 %
Sign display “Yes”: A value below –100% will be displayed in the minus direction as shown above.
3.
When the absolute value of the % value is above 1000%
The bar graph will be displayed the same as (2) above.
The % value is displayed as follows according to the sign display setting:
Sign display “No”:
***
%
Sign display “Yes”:
****
%
149
Lamps
Section 4-6
4-6 Lamps
The NT20 has the “lamp” function used to simply display the PLC bit status.
This section describes the lamps which can be displayed.
The lamp display status (lit (flashing) or unlit) can be changed by instructions from the PLC/host.
For details on how to change the status of a currently displayed lamp, refer to
5-3-2 Turning ON (Lit) and OFF (Unlit) the Lamps (Changing the Contents of
Allocated Bits) on page 192, Lamp and Touch Switch Display (Bit Specifica-
tion) on page 223, and Lamp and Touch Switch Display (Number Specifica-
4-6-1 Lamp Functions
The lamps are the graphic areas whose method of display can be changed by using the PLC. Available display methods are “lit”, “unlit”, and “flash“. Up to
128 lamps can be registered in one screen.
The display status (lit, unlit, and flashing) which are registered when creating the screen data can be switched according to the ON/OFF of the PLC bit status.
Lamp Attributes
PLC
Unlit Lit
The following attributes can be set with the lamp. Use the Support Tool to set the lamp attributes.
• Shape
Select from the square and circle shapes. The display size can be freely selected.
Square Circle
• Frame
Select whether or not the boundary line (frame) of the lamp display area is displayed. If the frame is not set, only the guide display message for the lamp is displayed when the lamp is not lit (or flashing). If the guide display message is not set, nothing is displayed.
• Lit and Flashing
Select whether the lamp is lit (reverse display) or flashing (reverse flashing) when the lamp is turned ON by the PLC.
• Guide Display Message
Lamps can be displayed with the guide display messages.
The guide display message attributes are the same as that for the “charac-
ter display”. Refer to Characters and Figures Which Can Be Displayed on page 144.
• Frame and Lit/Flashing
The display method of “lit/flashing” varies according to the frame setting.
150
Lamps
Section 4-6
Frame is set: Only the area in the frame will be lit/flashing.
Frame is not set: The area including the frame will be lit/flashing.
[Frame is set]
Unlit
Flash
[Frame is not set]
Unlit
Flash
Lit Lit
Area inside the frame flashes.
Area including the frame flashes.
• Controlling the Lamps in Batch
More than one lamp can be lit or flashing in batch by registering those lamps to the same bit.
Example of Batch Lighting
Set the lamps L1 to L5 to the same bit number.
L1
L2
L3 L4 L5
L1 L2 L3
L4
L5
When a Lamp Is Overlapped with a Memory Table Display
The guide display message for a lamp is a fixed character-string. If you want to change the lamp guide display according to some condition, overlap the display area of a numeral memory table entry or character-string memory table entry with the lamp. However, note that different results will be achieved depending on the timing of the lighting of the lamp and the updating of the memory table entry. Bear this in mind when creating the control program.
Example 1 Lighting a Lamp after Changing a Memory Table Entry
Lamp not lit Lamp not lit Lamp lit
Lamp
OMRON
Memory table entry changed.
String memory table display area
PT
Lamp lit.
Example 2 Changing a Memory Table Enter while the Lamp Is Lit
Lamp not lit Lamp lit Lamp lit
PT
Text is displayed in reverse video.
Lamp
OMRON
Lamp lit.
String memory table display area
OMRON
Text is displayed in reverse video.
Memory table entry changed.
PT
The memory table display area is overwritten while the lamp is lit.
151
Touch Switches
Section 4-7
4-7 Touch Switches
The NT20 has a function whereby input operations can be performed by using touch panels displayed on the screen. NT20 screens can be switched, or bit information sent to the Host, by pressing (lightly touching) the “touch switches” in a panel.
The touch switches can also be made to light up (or flash) and go off like lamps.
Touch switches are set when creating the screen data with the Support Tool.
This section describes the touch switches that can be displayed, and explains the screen switching function and the system key function.
For details on how the status of the currently displayed touch switch is sent to
the Host, refer to 5-3-4 Lit (Flashing) and Unlit Touch Switch Status (Changing
the Status of Allocated Bits) on page 195, Lamp and Touch Switch Display
(Bit Specification) on page 223, and Lamp and Touch Switch Display (Number
For details on how the status of touch switches is ascertained by the Host,
refer to 5-3-5 Notifying the Host That a Switch Has Been Pressed (Determin-
ing Touch Switch Status) on page 196, and Lamp and Touch Switch Display
!Caution Do not use input functions such as PT touch switches for applications where danger to human life or serious property damage is possible or for emergency switch applications.
!Caution Press touch switches with a force of no greater than 30 N.
!Caution Do not press touch switches carelessly while the backlight is off or while nothing is displayed on the screen. Otherwise the system may operate unpredictably.
Only press touch switches after confirming system safety.
!Caution If touch switches are pressed in rapid succession, their inputs may not be successfully received.
Confirm that the input of a touch switch has been successfully received before moving on to the next operation.
Note
Caution on pressing touch switches at 3 points
When multiple touch switches are created at the relative positions indicated in the example below, malfunctions may occur due to the characteristics of this switch configuration.
Example 1: When switches are created at positions A and B and at the points where the vertical and horizontal lines extending from these two points intersect, i.e. points C and D:
A
C
• When switches A, B, and C are switched on at the same time, switch D is also assumed to have been switched on due to the configuration of the touch switches.
B
D
Smallest touch switch frame
• When switches A, B, and D are switched on at the same time, switch C is also assumed to have been switched on due to the configuration of the touch switches.
152
Touch Switches
Section 4-7
4-7-1 Functions of Touch Switches
Touch switches are created using rectangular elements measuring 19 dots horizontally by 19 dots vertically. A touch switch can comprise more than one touch switch element. Up to 72 touch switches (12 horizontally x 6 vertically) can be registered on one screen.
19 dots
19 dots
Touch Switch Attributes
PLC
When the touch switch is pressed, bit information is sent to the PLC.
(Host link/NT link)
A touch switch can comprise more than one touch switch element.
Host
When the touch switch is pressed, the touch switch number or bit information is sent to the Host (RS-232C).
• Functions of Touch Switches
Touch switches can have the following functions:
• PLC notification function:
Host link/NT link/C200H direct communications (page 196)
RS-232C (NT20-ST128) (page 224)
• Screen switch function (page 154)
• System key function (page 154)
• Numeral setting function:
Host link/NT link/C200H direct communications (page 199)
RS-232C (NT20-ST128) (page 224)
The following attributes can be set for touch switches.
• Display Frame
The area that will respond as a touch switch is displayed in the form of a frame, as shown in the table below. One of three types of frame - standard,
3-D, and none - can be selected.
Type of Display Frame
Standard
Switch OFF Switch ON
3-D
None
If “none” is selected, only the touch switch’s guide display message (or nothing, if there is none) are displayed until a “light” or “flash” designation is sent from the PLC/Host or the touch switch is pressed.
• Inverse Display on Input
It is possible to set a touch switch so that its display will be inverted when it is pressed.
• Lighting and Flashing
153
Touch Switches
Section 4-7
It is possible to specify whether the touch switch will be lit continuously or flash when the bit allocated to it is turned ON by the PLC/Host.
• Presence/Absence of a Guide Display
A guide display message can be displayed at a touch switch location.
4-7-2 Screen Switching Function
The NT20 has a function that allows screens to be switched by pressing touch switches on its screen, rather than by designation from the PLC/Host. This function is called the “standalone function”.
The screen number of the screen that will be displayed when a touch switch is pressed is set for that touch switch when the screen data is created using the
Support Tool.
If the touch switch is pressed during operation, the screen whose number was designated will be displayed. Simultaneously, the PLC/Host will be notified of the screen number of the screen selected for display.
To next screen
Touch switch pressed once
Screen #5
Note
"Screen #5" set for touch switch 1
To set a screen number for a touch switch, use “Touch SW”, “Bit specification” and “Screen switch” of the Support Tool.
Only one screen number can be set for one touch switch within one screen (or within one overlapping screen).
4-7-3 System Key Functions
The NT20 allows the allocation of “system key” functions to touch switches.
The system key functions can then be used during operation by pressing the touch switches to which they have been allocated.
For example, if, when a screen for which buzzer sounding has been set is displayed, a touch switch is also displayed, the buzzer can be stopped by pressing this touch switch.
To set a system key function for a touch switch, use “Touch SW”, “Bit specification” and “Numeric key” of the Support Tool.
Allocation of System Key
Functions
The system key functions are allocated to touch switch numbers 227 to 230 and 255, as shown below. When a touch switch with one of these numbers is displayed on the screen, it has the same function as the corresponding system key.
System Key
System menu display
Key Symbol
MENU
227
Touch Switch No.
228
229
[Buzzer stop]
[ENT]
230
255
154
Touch Switches
Section 4-7
➡
When a touch switch to which a system key function has been allocated is pressed, the PLC is not notified of the touch switch bit information.
The , , and keys are not displayed among the system numeric keys.
Accordingly, when using the system numeric keys, create the , , and keys. Alternatively, create user numeric keys.
155
Numeral Setting
Section 4-8
4-8 Numeral Setting
The NT20 has a “numeral setting” function to enable numerical values to be input from the screen. This function inputs numerical values to numeral memory table entries in response to touch switch operations, displays these numerical values on the screen, and sends them to the host.
This section outlines the numeral setting function and the method for creating the ten keys required to set numerical values on the screen, and explains how to use ten keys during operation.
Numeral setting screens cannot be registered as child screens of continuous screens. In the case of overlapping screens, only one of the screens can be set as a numeral setting screen.
For details on the actual methods used to ascertain input numerical values at
the PLC, refer to 5-3-6 Notification of Numbers to the PLC on page 199, and
Four-digit Number Input Notify and Eight-digit Number Input Notify on page 225.
Numeral settings are set during screen creation with the Support Tool.
!Caution Confirm system safety carefully before changing monitor data.
4-8-1 The Numeral Setting Function
The numeral setting function is described below.
Basic Procedure
The procedure for numeral setting is as follows.
1,2,3...
1.
Input the numerical value at the touch panel.
2.
The input numerical value is displayed in the numeral setting area on the screen.
3.
Confirm the input numerical value; it will be written to the numeral memory table, and the PLC will be simultaneously notified.
Numeral setting area
NT20
Input
1 2 3 4
Write
1 2 3 4
Numeral memory table
Notification
PLC
Touch switch
Restrictions on Numerical Value Input and Attribute Setting
Numerical values of up to 8 digits (7 if there is a minus sign) can be input in either decimal or hexadecimal format.
• Decimal Input
When the display attribute is set for decimal display, values are input in the decimal format.
• Numerical Value Range
The range for numerical values that can be input differs according to whether or not there is a sign display.
When there is no sign display: 0 to 99999999 (8 digits)
When there is a sign display: –9999999 to +99999999
(7 digits for negative numbers,
8 digits for positive numbers)
156
Numeral Setting
Section 4-8
If a sign is displayed when using the thumbwheel type of numeral setting, the maximum number of digits for both positive and negative numbers is 7.
• Decimal Point
A maximum of 7 digits can be input after the decimal point (or 6 for negative numbers).
• Hexadecimal Input
When the display attribute is set for hexadecimal display, values are input in the hexadecimal format.
• Numerical Value Range
Numerical values can be input in the range 0 to FFFFFFFF (8 digits).
• Attributes That Can Be Set
The attributes of the numerical values displayed in the input field are the
same as for numeral displays. Refer to Numerals Which Can Be Displayed on page 145.
Upper/Lower Limit Check
Note
When direct connection is used with an NT20, upper and lower limits can be set for input numerical values to prevent erroneous values that are outside the valid range being stored in the numeral memory table or sent to the PLC.
The upper/lower limit check is executed when the input numerical value has been confirmed: if the value is outside the valid range, the screen returns to its status before input.
In order to use the numerical value input setting safely, always use the upper/ lower limit check function. (This function is not supported by the NT20-ST128.
Take appropriate measures using the user application software.)
4-8-2 Types of Numeral Setting
There are two types of numeral setting: the numeric key type, and the thumbwheel type. The basic function of these two types is the same, but the screen displays and input methods are different.
A maximum of 50 input fields, including both numeric key and thumbwheel types, can be registered on one screen.
Numeric Key Type
When a numerical value is input using touch switches to which numeric key functions have been allocated, the input numerical value is displayed on the screen. On pressing the return key after completing input, the input numerical value is written to the numeral memory table and sent to the host.
If there is more than one numeral setting input field, the field in which the input is to be made can also be selected with the numeric keys.
In order to perform numeric key input, it is necessary not only to create a numeral setting input field on the
Displayed in the numeral setting input field
NT20
1 2 3 4
Input
Write
Notification
1 2 3 4
Numeral memory table
Host
On pressing the key, the input value is written to the numeral memory table and the PLC will be notified simultaneously.
Input the numerical value using the numeric keys on the screen.
157
Numeral Setting
Section 4-8
Thumbwheel Type (Direct Connection Only)
When using an NT20 with a direct connection, numerical values are input directly at the numeral setting input field using touch switches that increment or decrement each of the digits in the display when pressed. Each time the displayed numerical value is changed, the new displayed value is written to the numeral memory table and the host is simultaneously notified.
This means that, when using the Thumbwheel type of numeral setting, all that is required to input numerical values is to create the numeral setting input field on the screen.
Pressing the [
−] key decrements the digit by one.
NT20
1 2 3 4
Pressing the [+] key increments the digit by one.
Notification
Write
1 2 3 4
Numeral memory table
Host
Each time a [+] or [
−] key is pressed, the input value is written to the numeral memory table and the host is simultaneously notified.
4-8-3 Creating Numeric Keys
In order to input numerical values using the numeral setting function, apart from the display area for the numeral setting, the numeric keys must also be created.
Setting Screen Attributes
The type of numeric keys can be selected using the numeral setting attributes of the screen attributes. There are two numeral setting attributes: “system” and “user”.
• Screen When “System” Is Specified
When a numeral setting area is created, numeric keys are automatically displayed. The display position and arrangement of the numeric keys are fixed. On this screen, only the types of numeric key shown in the figure below (system keys) are used.
Tank A Tank B Tank C
1
7
2
8
3
9
4
0
5 6
CLR
±
When using the NT20 with the numeral setting attribute set to “system”, apart from the numeric keys provided by the system, the touch switches allocated to system keys ( , , ) also have to be created (system key function). To enable input of hexadecimal values, it is also necessary to create numeric keys A through F.
With the NT20, if the numeral setting attribute is set to “system”, apart from the numeric keys prepared by the system, the touch switches allocated to system keys ( , ,
) have to be created. (Refer to 4-7-3 System Key
• When the Numeral Setting Attribute Is “User”
158
Numeral Setting
Section 4-8
The display position and arrangement of the numeric keys can be set as
required by allocating them to touch switches (see page 142).
Tank A Tank B Tank C
When the numeral setting attribute is set to “user”, numeric keys are created by using the control keys of the “input key” function. In addition, by using the character keys of the “input key” function, the one-byte characters
0 to 9 and A to F can be used as numeric keys.
Note
Even when the numeral setting attribute is set to “user”, the same numeric keys as displayed with the “system” attribute can be displayed.
If “User” is selected for “Keypad” during data creation on the numeral setting screen, the numeric keys shown below are displayed.
Tank A Tank B Tank C
Numeric Key Allocations
229
230
231
232
233
234
235
236
1
7
2
8
3
9
4
0
5
CLR
6
±
The numeric keys are allocated to touch switches.
The numeric keys allocated to touch switches are specified when the touch switches are created. The following numeric keys (system keys) can be used for numeral setting.
For details on how to create touch switches, refer to 4-7 Touch Switches on page 152.
Touch
Switch
Number
227 (
*
)
Numeric
Key
Menu display
Touch
Switch
Number
237 6
Numeric
Key
Touch
Switch
Number
247
Numeric
Key
CLR
228 238 7 248 ±
0
3
4
1
2
5
239
240
241
242
243
244
245
246
8
9
A
B
C
D
E
F
249
250
251
252
253
254
255
.
HOME
↑
↓
←
→
(*) Numeric key number 227 is the system menu display key.
159
Numeral Setting
Section 4-8
When the touch switches allocated as numeric keys and system keys on a numeral setting screen are pressed, no notification is made to the PLC. This means that when using the NT20-ST128 (RS-232C), the touch switches numbered 227 to 255 cannot be used as normal touch switches on a numeral setting screen.
4-8-4 Using Numeric Keys
To input numerical data by using numeric keys, first select the numeral setting area into which the value is to be input, then input the numerical value by pressing the appropriate numeric keys.
Selecting the Numeral Setting Area for Data Input
Select the numeral setting area into which the numerical value is to be input by using either the numeric keys or the system keys.
• Selection with the Numeric Keys
Use the [HOME], [
→], [←], [↑] and [↓] keys. By using these keys, the cursor can be shifted between numeral setting areas in the way shown in the figure below.
→
6563 3200
4568
HOME
0000
↑
↑
←
5107 4624
Pressing the [HOME] key will shift the cursor to the area whose top left corner has the smallest XY coordinate sum (the top left numeral setting input field in the example above).
• Selection with the System Keys
When the and system keys on the touch panel are pressed, the cursor moves between the numeral setting areas by following the order in which they were created using the Support Tool.
For example, if three numeral setting areas have been created, the cursor can be moved between them following the order of creation as follows.
key: 1st area
→ 2nd area → 3rd area → 1st area
key: 1st area
→ 3rd area → 2nd area → 1st area
If the “numeral setting” screen attribute is set to “system”, the order of cursor motion when the and system keys are used can be changed. For details, refer to the NT Support Tool for Windows operation manual (Cat.
No. V061-E1@).
Inputting Numerical Values
Input numerical values using the following numeric keys (touch switches): numerals (0 to 9, A to F), decimal point (.), sign (+,–), clear (CLR), and return
( ).
When inputting a numerical value that includes a decimal point, input the integer and decimal fraction separately. First input the integer, then press the decimal point key (.) and input the decimal fraction.
160
Numeral Setting
Section 4-8
If the integer or decimal fraction exceed their respective allowable numbers of display digits, they are shifted to the left. In the system keys, however, the decimal point key (.) is not included. Therefore, it is necessary to create the decimal point key (.) apart from the ten keys of the system keys to input a numerical value including decimal fraction.
• Changing the Sign
When there is a sign display, pressing the sign (
±) key changes minus to plus or plus to minus.
• Confirming Input Numerical Values
Always press the return key as the final step when inputting a numerical value. When the return key is pressed, the displayed numerical value is written to the numeral memory table and at the same time the host is notified.
• Initial Operation of Input Keys
The sign key (
±), decimal point key (.), and alphabet key (A to F), operate as follows on initial use (first use after displaying the screen).
• Sign Key (
±)
The display is cleared to zero (assuming decimal input with sign display).
• Decimal Point Key (.)
The display is cleared to zero, after which input starts from the decimal fraction digits (assuming decimal input with sign display).
• Alphabet Keys (A to F)
The display is cleared to zero (assuming decimal input).
• Upper/Lower Limit Check
When the return key is pressed after inputting a numerical value, an upper/ lower limit check is executed. If the input numerical value is outside the valid range, the data in the numeral memory table before input is redisplayed and the host is not notified.
4-8-5 Using The Thumbwheel Type of Numeral Setting
When using the thumbwheel type of numeral setting, numerical values are input by directly touching the incrementing/decrementing (+/–) keys.
Numerical Value Input
Input numerical values by using the incrementing/decrementing (+, –) keys provided for each digit.
• Numerical Value Specification
161
Numeral Setting
Section 4-8
When an incrementing/decrementing (+, –) key is touched, the numeral at the corresponding digit is incremented or decremented by one. Whenever a plus or minus key is touched, the host is notified of the changed value.
There is no need to press the return key as is the case when using the numeric key type of numeral setting.
Thumbwheel numeral setting
1 2 3 4
Numeral memory table
1 2 3 4
Press
2 2 3 4
2 2 3 4 Host
Numerical value incremented by one
Numerical values cannot be set in thumbwheel type numeral setting fields by using numeric keys.
• Changing the Sign
In settings with a sign display, touching the incrementing/decrementing (+,
–) keys at the digit where the sign is displayed will change plus to minus and minus to plus.
• Upper/Lower Limit Check
When using Ver.2 and later versions of the direct connection function, an upper/lower limit check is executed when the incrementing/decrementing
(+, –) keys are pressed. If the input numerical value is outside the valid range, the data in the numeral memory table before the key was pressed is redisplayed and the host is not notified.
However, with thumbwheel type numeral setting, if the situation is such that with an upper limit of 1n..n, and a lower limit of 0m..m (where n and m are the values of each digit), n..n < m..m, it is not possible to carry digits upward or downward.
Example:
When the upper limit value is 1200 and the lower limit value is 201, if the initial value has three digits the value can be changed within the range 201 to 999, and if the initial value has four digits it can only be changed within the range 1000 to 1200.
This is because if an attempt is made to change the leftmost digit from 0 to
1, or from 1 to 0, an upper/lower limit value check is always performed.
In order to avoid this, either set the values so that n..n
≤ m..m, or create another touch switch and write values to the host when digits are carried up or down.
4-8-6 Settings for Numeral Settings
The following settings are made for numeral settings during their creation with the Support Tool. Note that restrictions apply to several of the settings made for thumbwheel type numeral settings.
Settings
• Referenced Numeral Memory Table Entry
Set the number of the numeral memory table entry used to record the numerical value input using the numeral setting function.
• Number of Digits in the Input Numerical Value
162
Numeral Setting
Section 4-8
Set the number of digits in the numerical values that can be input. A maximum of 8 digits (total of integer and decimal fraction parts) can be set.
However, if there is a sign display, the maximum number of digits for negative values will be seven.
• Upper/Lower Limits
Set the upper limit and lower limit separately. The maximum number of digits in the set values is eight (or seven if there is a sign display).
When the upper limit value and lower limit value are set as negative values, set “F” as the eighth digit.
Example: Upper limit value or lower limit value is “–123”
→ F0000123.
• Display Attributes
Set attributes in the same way as for numeral display. For details, see Nu-
merals Which Can Be Displayed on page 145.
Restrictions and Additional Settings for Thumbwheel Type Numeral Settings
There are the following restrictions and additional items to set when creating thumbwheel type numeral settings.
• Number of Input Digits for Positive Values When There Is a Sign Display
When a sign display is set for a thumbwheel type numeral setting, a maximum of 7 digits can be input for positive values.
• Display Size
One of two sizes can be selected: “small” in which each digit comprises two touch switch units, and “medium”, in which each digit comprises three touch switch units. Note that if “small” is selected the area in which the numerical value is displayed is also the touch switch input area.
• Shape (End Plates)
Set which of the two shapes shown below will be used. One has “end plates” at right and left sides and the other does not.
With Without
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
• Restrictions on Display Attributes
The following restrictions apply to display attributes.
Character type: Wide size only
Character enlargement: Standard only,
Zero suppress: regardless of the display size specification
No zero suppression only
Refer to Numerals Which Can Be Displayed on page 145.
163
Numeral Setting
Section 4-8
164
Download
Advertisement
Key features
Downsized body
Construction best suited to the FA environment
A Host Link I/F Unit, Screen Data Memory, and a System ROM Are All Incorporated
Touch Switch Operation
Compatibility with NT20M/NT20S
Character display
Figure display
Memory data display
Bar graph display
Lamp display
Frequently asked questions
The NT20 is a programmable terminal used to display and transmit information in an FA site. It can be easily installed and used.
The NT20 has a downsized body, is built with construction best suited to the FA environment, incorporates a Host Link I/F Unit, Screen Data Memory, and a System ROM, supports Touch Switch Operation, and is compatible with NT20M/NT20S.
The NT20 supports Host Link (direct) and NT Link communications methods. The NT20-ST128 also supports RS-232C communications.