Page 4
NT-series Programmable Terminal Operation Manual Revised August 1997...
Page 6
OMRON Product References All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product. The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word”...
About this Manual: This manual describes the basic functions and operation procedures of the NT-series programmable ter- minal NT20S, its operations when connected to a PC or a Host, and includes the sections described be- low. Please read this manual carefully and be sure you understand the information provided before attempting to install and operate the NT-series programmable terminal NT20S.
Page 13
[Creating and transferring screen data] S NT Series Support Tool Ver.2j Operation Manual (V028-E1-j) The screens displayed on the NT20S are created with the support tool and trans- ferred to the NT20S. This manual describes how to create and transfer screen data.
PRECAUTIONS This section provides general precautions for using the Programmable Terminal. The information contained in this section is important for the safe and reliable application of the Programmable Terminal. You must read this section and understand the information contained before attempting to set up or oper- ate a Programmable Terminal.
You must consult with your OMRON representative before applying Programmable Terminals to the abovementioned applications. WARNING Do not use input functions such as PT touch switches for applications where dan- ger to human life or serious damage is possible, or for emergency switch applica- tions.
Page 16
Turn off the power before replacing the backlight. Otherwise you could sustain an electric shock. CAUTION: If the DIP switch settings have been changed when the NT20S is powered, reset the power to the NT20S. The changes with the DIP switches become effective only after the power supply is reset.
Page 17
S Direct exposure to wind and rain (outdoor sites) S Strong ultra-violet irradiation Take adequate measures to ensure shielding if the NT20S is used at a location subject to any of the following conditions. S Static electricity, or noise from other equipment...
Page 18
Safety Precautions 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. S Always turn off the power at the PC and PT before connecting the C200H inter- face cable.
SECTION 1 Functions of the NT20S NT20S is a new programmable terminal (PT) which incorporates a host interface unit and a RS-232C interface unit in a pro- grammable terminal body. It can be easily installed and used. This section gives the operation examples and characteristics of the NT20S so that you will understand the applications of the NT20S.
Panel Switch Functions Setting touch switches on the NT20S allows workers to use the NT20S as an oper- ating panel. Production data input to the NT20S or the Host can be transmitted to a Electroplating Control Transport Clamp...
Receives Data from a Host The NT20S can be connected to the Host using the host link or NT link commu- nication method, or by using the RS-232C interface or C200H direct communica- tion to enable reception of the required data from the Host.
NT20M; 1-2-1 Features S The NT20S has the thinnest depth (54 mm or less in the panel) in the NT series. Downsized Body S The width is shorter by 30 mm, maintaining the existing display area. S The system keys and tool connectors are located at other than the front side.
Page 24
Functions of NT20S Section 1-2 Touch Switch Operation The System Menu can be displayed by using the touch switches located in four corners of the screen. Compatibility with NT20M Existing screen data, user programs, are compatible.
A built-in buzzer can be used. S Communications with a PC By connecting the NT20S with a PC using the host link, NT link, C200H, or RS-232C communication method, data can be received from the host and touch switch status information can be sent to the host.
1-2-3 Comparison between NT20S and NT20M The NT20S is a unitary PT which incorporates a system ROM, screen memory, and a host I/F unit (Host link, NT link, RS-232C, and C200H direct communication) as the standard equipment in one body.
)Refer to the “PC Connection, Operation Manual” (V042-E1-j). Differences between NT20S-ST12j and NT20S-ST16j. S The only way in which NT20S-ST161 differs from NT20S-ST121 is that the dis- play is a monochrome liquid crystal display. Functionally, the NT20S-ST121 and NT20S-ST161 are absolutely identical and therefore if you are using an NT20S-ST161 please refer to the explanations for the NT20S-ST121.
Section 1-2 1-2-5 Displays The NT20S can display various kinds of elements such as characters, lamps, touch switches, and bar graphs on a screen. The screen data displayed on the NT20S are created by using support tools on a computer.
System Configuration Section 1-3 System Configuration This section gives the basic configuration of a system which uses an NT20S. Refer to the manual for individual device for information on the equipment other than the NT20S in the system. Reference: Refer to Section 3-5 “Setting the Conditions of Communications with the Host by Using the Memory Switches”...
System Configuration Section 1-3 1-3-2 NT Link (1:N) Systems When NT20S is connected to a PC in a 1:N connection, use an RS-232C cable and RS-422A/485 cables. C200HX/HG/HE OMRON PC While controlling machinery and monitoring lines, controls the NT20S when necessary.
This function allows to read the information to be displayed on the NT20S from the memory area in the PC and to write it to the memory table in the NT20S. Also, the data input on the NT20S can be written to the PC’s memory area. The NT20S screen status can be switched according to the PC’s memory area, and the...
PC memory. Bits and words in the PC can be referenced from any memory table. S The NT20S can directly refer to PC bit and word data so that it can be connected to a PC without changing the PC program which controls currently running pro- duction line.
(for example, lamp allocations). Since the C200H direct communication function is compatible with the host link, the NT20S screen data and PC programs for host link direct connection can also be communicated by C200H direct communication without alteration.
NT20S and the NT20S status can be allocated to the bits and words of the PC. By changing the contents of the bits and words, the NT20S can be con- trolled by the PC. It is also possible to send data to the PC by pressing the touch switches on the NT20S.
Page 35
Section 1-5 S Touch switches Allocation destination: Bit Touch switch NT20S 12 Bit 009012 Bit 009012: ON The lamp comes on (flashes) when the PC’s control bit is ON (1) and goes off when it is OFF (0). When the touch switch is pressed, the PC’s notification bit comes ON (1) or goes OFF (0).
Page 36
The “PT status notify area” is used to notify the changes of the NT20S status. When a change is made in the NT20S status, the change is written to this area in the PC. By reading the data from the area, the NT20S status can be checked.
' For details of each of the commands sent through the RS-232C interface, refer to Section 6 “Using the RS-232C”. Control of the NT20S by a Host is executed by two kinds of commands supported by the RS-232C interface which is built into the NT20S.
Before Operating Section 1-7 Before Operating Follow the procedure given below to start the system of the NT20S. Host NT20S Support tool Check and change Set the DIP switches. the Host settings. (page 24) S For the host link, refer...
Page 39
Before Operating Section 1-7 Refer to the following manuals for the equipment and software. Equipment or Software Manual Title Manual Number Support tools NT-series Support Tool V028-E1-j Operation Manual SYSMAC C20H/C28H/C40H/C60H Operation Manual W176-E1-j (Programming/RS-232C Interface) SYSMAC C120/C500 User’s Manual (Programming) W060-E1-j SYSMAC C200H Operation Manual W130-E1-3j...
SECTION 2 Hardware Settings and Connections This section describes the settings of the NT20S, connections to a Host, and other hardware settings. Description of Parts and Settings ..........
Lit when the unit is in An STN LCD screen with a backlight. The RUN mode. whole area of the screen is a touch panel which works as an input device. Reference: The NT20S comes in two body colors. S NT20S-ST12j: beige S NT20S-ST12jB: black...
NT20S at these terminals. memory switch will retain the status even if this switch is pressed. Host I/F tool connector Connect the cable here from a PC/Host or support tool. (On the NT20S-ST122-V1 this connector is for connection to a host only.)
Must always be OFF. [ ] indicates factory setting. CAUTION: If the DIP switch settings have been changed when the NT20S is powered, reset the power to the NT20S. The changes with the DIP switches become effective only after the power supply is reset.
Setting the rotary switch The rotary switch is used to set the unit number. Since the NT20S-ST122-V1 serves as a C200H special I/O unit, it requires a unit number setting. Make sure the set unit number does not duplicate the unit number set for any other special I/O unit.
Page 45
Reference: S If “8” or “9” is set as the unit number when using CjjH, a special I/O unit error will occur. S When an NT20S-ST122-V1 is connected to a CjjH, I/O extension units can- not be connected. In other words, it is not possible to connect another special...
Installation Section 2-2 Installation Install the NT20S to the operation panel and connect the power to the NT20S as described below. 2-2-1 Installation Environment Observe the following points when installing the PT in an operation panel. Caution: Do not install the NT20S at sites subject to the following conditions.
The panel must not be soiled or warped, and must be able to support an installation that will remain secure and strong. (1) Open a hole, shown below, in the panel and install the NT20S from the front side of the panel.
S If complying with EC directives (low voltage directives), use a power supply with reinforced insulation. Reference: When using an NT20S-ST122-V1, the NT20S must be started up before the host. For details, refer to “Switching the Power ON/OFF When Using C200H Direct”...
Page 49
Installation Section 2-2 S Parts used for connection Caution: For the connection to the power supply terminal block, twisted wires of 2 mm greater cross sectional area and M3.5 size crimp terminals must be used. Tighten the screws on the terminal block to a torque of 0.8N·m. Otherwise fire may occur.
Section 2-3 Connecting to the Support Tool Connect the NT20S to a computer with an RS-232C cable to transfer the screen data created by using a support tool to the NT20S. An NT20S-ST121-EV3/ST128 cannot be connected to both a personal computer running the support tool and a Host at the same time.
The follow- ing is a list of the PCs that can be connected to the NT20S via a host link. Units with Built-in Host Link Function...
Page 52
CVM1-CPU11-EVj CVM1 CVM1-CPU21-EVj Connection is not possible to the CPU units of CVM1/CV series PCs that do not have the suffix “-EVj”. In the case of these CPU units, make the connection to NT20S by using a host link unit.
Connecting to a PC with a 25-pin Connector Use a connector cable with a 25-pin connector on one end and a 9-pin connector on the other end (NT20S side) to connect the NT20S to a PC with a 25-pin connec- tor.
Page 54
This is a 25-pin RS-232C connector. Use a connector cable with a 25-pin con- Communications port 1 nector on one end and a 9-pin connector on the other end (NT20S side). (RS-232C) S To connect to communication port 2 Communications This is a 9-pin RS-232C/RS-422A connector.
2-4-3 PC Switch Settings When the NT20S and PC are connected to each other, set the conditions at the PC host link unit or the CPU as given in the table below. The following is a general description of switch settings.
Page 56
Connection to a PC by the Host Link Section 2-4 Connecting to a Host Link Unit Two types of host link units are available: a rack-mounting type and a CPU- mounted type. The switch settings differ according to the type of host link unit. Set the switches according to the unit type.
Page 57
Connection to a PC by the Host Link Section 2-4 [Setting the rear switches] S I/O port selection (selector switch) Set this to “RS-232C”. S Unit # (DIP SW1) I/O port RS-422A Set SW1-1 to SW1-5 to “OFF” (“0”). RS-232C Synchronization Internal External...
Page 58
Connection to a PC by the Host Link Section 2-4 S C500/C1000H/C2000(H) rack-mounting type: C500-LK203 [Setting the rear switches] S I/O port selection (selector switch) Set this to “RS-232C”. S Unit #, parity, and transfer code (DIP SW1-1 to SW1-7) 5V supply Set SW1-1 to SW1-7 to “OFF”...
Page 59
Connection to a PC by the Host Link Section 2-4 S CPU-mounted type: C120-LK201-V1 [Setting the rear switches] S Unit #, parity, and transfer code (DIP SW1-1 to SW1-5) Set SW1-1 to SW1-5 to “OFF” (“0”). Parity is fixed at Even Parity. Transfer code is fixed at ASCII 7 data bits and 2 stop bits.
Page 60
Set the operating conditions with the PC System Setting functions when a CVM1/CV series host link unit is connected to the NT20S. The PC system settings can be made directly from the peripheral tool (LSS etc.) or the PC system setting information created with a peripheral tool can be transferred to the CPU.
Page 61
Set the operating conditions with the PC System Setting functions when a C jj H, CVM1/CV-series host link unit is connected to the NT20S. The PC sys- tem settings can be made directly from the peripheral tool (LSS etc.) or the PC system setting information created with a peripheral tool can be transferred to the CPU.
Page 62
S C-series C200HS, C200HX/HG/HE, CPM1, CQM1 Set the operating conditions to the PC system setting area when a C200HS C200HX/HG/HE, CPM1 or CQM1 CPU is connected to the NT20S. The PC sys- tem setting area (data memory) can be directly accessed from the peripheral tool (LSS etc.).
Page 63
Connection to a PC by the Host Link Section 2-4 S When using port A of C200HX/HG/HE Channel # Writing Value Settings Host link mode DM6555 0001 Set the conditions with the contents of DM. Data length: 7 bits, 2 stop bits, even parity, 0303 baud rate: 9600 bps DM6556...
S The cable’s tensile load is 30 N. Do not subject it to loads greater than this. Otherwise a discontinuity may occur, causing operation to fail. Use a connector cable with a 9-pin connector on both ends to connect the NT20S to a PC with a 9-pin connector.
Section 2-5 2-5-3 PC Switch Settings When the NT20S and PC are connected to each other, set the conditions at the PC CPU so as to enable the NT link communications. The following is a general description of switch settings.
Page 67
Connection to a PC by the NT Link (1:1) Section 2-5 S CVM1/CV-series (-EVj) When connecting to a CVM1/CV-series (-EVj) CPU, set the switches as given below. S I/O port selection (selector switch) Set this to “RS-232C”. S NT link setting (DIP SW3) Set SW3 to “ON”.
PC to which the connection is being made, and the type of host link unit that is installed. The following is a list of the PCs that can be connected to the NT20S via a host link (1:N).
Page 69
Connection to a PC by the NT Link (1:N) Section 2-6 Connection Diagram As shown in the figure below, connect multiple NT20S units to one PC. In an NT link (1:N), up to eight NT20S units can be connected to one PC port. C200HX/HG/HE...
Page 70
Connection to a PC by the NT Link (1:N) Section 2-6 Converter Unit Connector Specifications The terminal block specifications of the RS-232C/RS-422A converter unit are indi- cated here. For details on the method for making the connection cable, refer to “Making the Cable”...
Page 71
Connection to a PC by the NT Link (1:N) Section 2-6 Wiring Method For the connections between the PC and NT20S units, wire as shown below. The wiring method differs depending on the cables used for connection. RS-422A connection C200HX/HG/HE...
Page 72
Connection to a PC by the NT Link (1:N) Section 2-6 [RS-422A Cable Wiring (1)] S RS-232C connection at the PC side NT-AL001 NT-AL001 Pin No. Abbrev. Abbrev. Pin No. Functional Functional ground ground RS-422A RS-422A terminal terminal block block Shielding wire S RS-422A connection at the PC side...
Page 73
Connection to a PC by the NT Link (1:N) Section 2-6 S RS-485 connection C200HX/HG/HE OMRON PC While controlling machinery and monitoring lines, controls the NT20S units when necessary. C200H/HG/HE can be used. RS-232C cable (max. length: 2 m), or directly connected RS-485 cable RS-232C/RS-422A...
Page 74
RS-232C cable RS-232C cable (max. 2 m) (max. 2 m) (max. 2 m) ) Total cable length: 500 m (End connection) NT20S NT20S NT20S S RS-485 connection, RS-232C at the PC side C200HX/HG/HE (End connection) RS-232C cable (max. 2 m)
Page 75
RS-422A ) Total cable length: 500 m cable ( RS-232C cable RS-232C cable RS-232C cable (max. 2 m) (max. 2 m) (max. 2 m) NT20S NT20S NT20S RS-485 connection, RS-485 at the PC side C200HX/HG/HE (End connection) RS-485 RS-232C/RS-422A RS-232C/RS-422A...
Section 2-6 2-6-3 PC Switch Settings When the PC and NT20S units have been connected, set the switches at the CPU module at the PC side in order to enable communication using the NT link method. S C series, C200HX/HG/HE Write the communication conditions directly to the “PC system area”...
Applicable PC Units Before making the connection, check the series and model of the PC to which the connection is to be made. A list of the PCs that can be connected to an NT20S using C200H direct communication is presented below.
Reference: If a C200H-CNjjj or C20H-CNjjj is used as the I/O connection cable, the connector will project beyond the bottom face of the NT20S. If the I/O cable is passed through a hole or other opening, the hole or opening must be at least 53 mmφ.
Page 79
S Connection to a remote I/O slave station is not possible. S There is only one C200H interface unit interface connector. This means that it is not possible to connect an NT20S between a CPU unit and an I/O extension unit. It must be the final connection in the system.
Page 80
S Up to two I/O units can be connected for the one CPU unit, but I/O extension units cannot be connected. S It is not possible to connect a CjjH I/O unit after the NT20S. It must be the final connection in the system.
OFF. S If the power to the NT20S is switched off first, the CPU of the PC is subjected to a Note: system reset, making operations such as programming console impossible.
Refer to the appropriate instruction manuals for the method of setting the Host communication conditions. Set to the maximum baud rate supported by both the NT20S and Host. The communication condition settings of the NT20S-ST128 are set with the RS-232C communication conditions memory switches. For details, refer to “Set- ting RS-232C Communication Conditions”...
Page 83
25-pin connector (RS-232C, 9-pin type) RS-232C cable S When making the connection, switch off the power to the NT20S and PC before Caution: disconnecting or connecting any connector. S After connecting the communication cable, always secure it with the screws.
This section describes the operation of the System Menu focusing on the procedure to start up the NT20S. Functions which will be convenient to use the NT20S and those which are useful for the system maintenance are also ex- plained here.
Follow the procedure below when using the NT20S for the first time or when changing the system. Create the Screen Data Create the screen data to be displayed on the NT20S by using a support tool. For the screen data creation, refer to the “NT-series Support Tool Operation Manu- al” (V028-E1-j).
System Menu” (page 70). Note: If the NT20S has failed to start up normally; an error message is displayed or no screen is displayed, memory needs to be initialized. For the memory initializing procedure, refer to Section 3-4 Initializing memory...
Operation modes and the System Menu Section 3-3 Operation Modes and the System Menu The NT20S operates in either “RUN”, “Transmit”, or “Maintenance” mode. The op- eration modes can be switched by using the System Menu. 3-3-1 System Menu and the Operation Modes Select an operation mode by pressing the corresponding touch switch in the Sys- tem Menu.
Section 3-3 3-3-2 Menu Tree The System Menu allows to effect various NT20S functions by using the touch switches. The NT20S’s functions with respect to the System Menu are related as shown below. For the operations with the System Menu, refer to the “Operations with the System Menu”...
The “RUN” LED goes off when the System Menu is displayed. The NT20S display screen has four touch switches to display the System Menu in the four corners (about 8 mm x 8 mm size). Press any two of these switches at the same time to call the System Menu screen.
Page 90
Maintenance Mode The MAINTENANCE MENU will be displayed to allow the main- tenance of the NT20S system. Switching from the System Menu to the RUN mode The NT20S will exit the System Menu and switch to the RUN mode in the cases mentioned below. S Selecting “Quit” in the System Menu.
Section 3-4 Initializing Memory If the NT20S is used for the first time or if the screen data is ruined and the NT20S cannot be normally started, the memory needs to be initialized. The memory initialization is required in the cases mentioned below.
Page 92
After initialization of the screen data memory, the system enters the operation mode. At this point, nothing is displayed on the screen of the NT20S. Return to the System Menu, select the Transmit Mode, and transmit the screen data from the support tool.
Be sure to turn the power OFF before setting the NT20S DIP switch. Set the DIP switch as follows to initialize the screen data memory. Operation 1. Set DIP SW2-1 on the NT20S to ON and turn the power ON or reset the NT20S.
Memory Switches The NT20S has the memory areas used to store the PC connection method, com- munications conditions, system settings, etc. which can be used as the switches and called the “memory switches”. Since the memory switches use the flash memory, the stored data can be held even when the power supply is turned OFF.
Page 95
S Baud Rate Selecting the Host Link Communication Speed (page 79) S Automatic Reset Selecting the Automatic Reset Function (page 84) S Tool Mode 3-8 Various System Settings (page 95) [NT20S-ST122-V1 C200H] Key Sound Quit Buzzer Sound Bk light Off 10min Comm.
Page 96
Setting the Conditions of Communications with the PC/Host by Using the Memory Switches Section 3-5 [NT20S-ST128 RS-232C] Key Press Sound ON Data Bits 8bits Quit Quit Buzzer Sound Stop Bits 1bit Bk light Off Parity Check Page Page 10min Even...
Selecting the Host Communication Method (NT20S-ST121-EV3 only) The NT20S-ST121-EV3 can be connected to a PC by the host link or the NT link. Either link can be selected by setting the “Comm. Type” memory switch. The facto- ry setting has been made to the “Host link”.
Selecting the Host Link Communication Speed (NT20S-ST121-EV3 only) When using the NT20S-ST121-EV3 with the host link, the baud rate of the com- munications with the PC can be set. Use the “Baud Rate” switch and select 9600 bps or 19200 bps.
Section 3-5 3-5-3 Selecting Unit Numbers (NT20S-ST121-EV3 only) When using NT20S-ST121-EV3 with the NT link (1:N) communication method, set unit numbers. When using NT link (1:N), unit numbers are used to identify each of the multiple PTs connected to a single PC port. Set a different unit number for each of the PTs connected to the port.
Page 100
Setting the Conditions of Communications with the PC/Host by Using the Memory Switches Section 3-5 Repeatedly pressing the “Unit (2/2) MEMORY SW MENU No.” touch switch cycles Quit through the numbers that can be Automatic Reset set. Page Unit No. WRT&...
S Baud Rate Set the same communication conditions at the host and the NT20S. You are rec- ommended to set the highest baud rate that can be used by the host and NT20S. The factory settings are as follows: S Data Bits...
Page 102
Use the same condition settings as set for the host. It is recommended that the highest baud rate possible is selected for both the host and the NT20S. ' For details on lamp bit control, refer to Section 3-8 “Various System Settings”...
Setting the Conditions of Communications with the PC/Host by Using the Memory Switches Section 3-5 3-5-5 Selecting the Automatic Reset Function The “Automatic Reset” memory switch is used to set whether or not the commu- nication is automatically reset after the occurrence of a communication error. The factory setting has been made at “No”.
Page 104
“No”. Page Baud Rate 9600bps (The figure to the left shows the NT20S-ST121-EV3 screen.) WRT& EXIT To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without set- ting, press [Quit]. S “No”: If a communication error has occurred, corresponding error message is displayed and the operation stops.
NT20S unit corresponds to the files created by using the support tool. Select a file which contains the screen data to be transmitted when selecting the screen data to be transmitted to the NT20S so that the required screen data can be transmitted to the NT20S.
Page 106
Reference: When screen data is transmitted to an NT20S, it is written into a free area of the memory without overwriting the existing data. This means that if data transmis- sion in screen units is performed frequently, there will come a time when there is no more free area in the memory and further transmission is impossible.
Page 107
Registering the Screen Data Section 3-6 Operation 1. Connect the NT20S to a PC in which the support tool has been installed and turn on the power to the NT20S. 2. Turn ON the computer and start up the support tool.
Page 108
S The ESC key on the support tool is pressed to end the transmission. When the power to the NT20S is turned ON or reset, the screen data is checked. However, if any of the above occurs during the screen data transmission, the screen may disappear and other unexpected problems may occur.
Switching to the RUN mode Press the Quit touch switch in the System Menu. The start-up screen in the RUN mode will be displayed. If the NT20S has failed to start correctly; e.g., the start-up screen is not displayed, an error message is displayed, or the screen is not displayed at all, refer to Section 7-2 “Responding to Displayed Error Messages”...
Various System Settings Section 3-8 Various System Settings The NT20S can set a variety of functions to the memory switches which are conve- nient during the operation. This section describes the memory switch settings re- lated to the operation environment.
To set the buzzer to sound in other cases, the follow- ing two procedures can be used. S Controlled by the Host It is possible to control the NT20S from the Host to sound the buzzer during the operation. Refer to Section 5-4 NT20S Status Control (page 191).
Page 112
Quit through the setting options Comm. Type Host Link “ON”, “ERR ON”, and “OFF”, in Page Key Sound that order. Buzzer Sound (The figure to the left shows the NT20S-ST121-EV3 screen.) Bk light Off None WRT& EXIT Tool Mode NT20M...
3-8-3 Backlight OFF Function The NT20S has a function that turns off the backlight of the LCD panel to maximize its service life if no operation is performed for a certain period of time. Turning on the Backlight...
In order to prevent this, either use the screen saver function or periodically switch screens. 3-8-4 Support Tool Mode Setting (NT20S-ST121-EV3/ST122-V1 Only) By setting “Tool Mode” to “NT20M”, the NT20M-ST121-EV3/ST122-V1 can be used in the same way as the conventional NT20M, and it becomes possible to use the NT20M/NT2000M/NT600M support tool (Ver.4.j).
Page 115
To quit after setting the selected item, press the WRT & EXIT touch switch. To quit without setting, press the Quit touch switch. The NT20S will enter the RUN mode. S When “NT20M” is set, the NT20M compatible mode is established and the termi- nal can be used as an NT20M.
Section 3-8 3-8-5 Lamp Bit Control (NT20S-ST128) When using the NT20S-ST128 (using the RS-232C interface for communication with the host), you can select whether lamp statuses are controlled by bit designa- tion or not. The factory setting for this function is Enable (lamps numbered 0 to 31 controlled by bits).
Page 117
Various System Settings Section 3-8 Each time the “LMP Bit Control” Data Bits 8bits touch switch is pressed, the set- Quit Stop Bits ting option “Enable” alternates 1bit with “Disable”. Parity Check Page Even Flow Control RS/CS Baud Rate 19200bps WRT&...
The NT20S has the self maintenance functions such as I/O check and setting sta- tus check. 3-9-1 I/O Check The I/O operations for the following items of the NT20S are checked by the I/O check function. S Touch Switch S Communications with the support tool...
Page 119
The statuses of touch switches pressed during an I/O check are not notified to the host. Checking the Communications with the Support Tool Execute a NT20S-to-support tool communication check by the menu operation from the System Menu as mentioned below. The NT20S-ST121-EV3/ST128 uses the same connector for connection to the support tool and connection to the Host.
Page 120
The data received from the con- [ TOOL I/F INPUT CHECK ] nected support tool are dis- played in hexadecimal num- bers. EXIT When the check is finished, press the Exit touch switch. The NT20S will enter the I/O CHECK MENU.
Page 121
System Maintenance Section 3-9 Checking the Communications with the Host (NT20S-ST128) Execute a NT20S-to-Host communication check by the menu operation from the System Menu as mentioned below. Select “Maintenance Mode”. [ SYSTEM MENU ] Quit Transmit Mode Maintenance Mode Select “I/O Check”.
Page 122
S The LCD displays dots (segments of the screen) line by line beginning with the top left corner. If all the dots are displayed normally, the NT20S will enter the I/O CHECK MENU after all the dots have been turned off.
Page 123
System Maintenance Section 3-9 Checking the Buzzer Check the NT20S buzzer by using the menu operation from the System Menu as mentioned below. Select “Maintenance Mode”. [ SYSTEM MENU ] Quit Transmit Mode Maintenance Mode Select “I/O Check”. [ MAINTENANCE MENU ]...
Page 124
Buzzer Touch Switch Data Memory The “RUN” LED on the front face of the NT20S will flash. The “POWER” LED re- mains lit. S To quit the LED check, press the “EXIT” touch switch. The NT20S will enter the I/O CHECK MENU.
Page 125
System Maintenance Section 3-9 Checking the Screen Memory Check the screen memory by using the menu operation from the System Menu as mentioned below. Reference: When the screen data memory is checked, the memory is initialized and all the screen data is lost. Check that the screen data has been backed up using the sup- port tool before executing a screen data memory check.
S If the memory check has been normally completed, the “Memory is OK” mes- sage will be displayed. S To quit the memory check, press the “Cancel” touch switch. The NT20S will en- ter the I/O CHECK MENU. S If the “Memory error!!” message is displayed, the screen data memory may have been used up to its service life or there may be a hardware fault.
Page 127
If no unit number is set at the PC, “0” will be displayed. S The current PT settings will be displayed. S Pressing the “EXIT” touch switch will exit the PT settings display, and the NT20S will return to the RUN Mode.
System Maintenance Section 3-9 3-9-3 Checking the NT20S DIP Switch Settings Display the NT20S DIP switch settings by using the menu operation from the Sys- tem Menu as mentioned below. Select “Maintenance Mode”. [ SYSTEM MENU ] Quit Transmit Mode Maintenance Mode Select “DIP-SW Status”.
Support Tool Operation Manual” (V028-E1-j). 4-1-1 Setting the support tool for use with the NT20S To create the screen data for the NT20S, make settings with the support tool for use with the NT20S. Select “Tool Settings”. To create the NT20S screen data, make settings in the “Tool Settings” screen as...
' Select “Tool Settings” in the Main Menu to display the “Tool Settings” screen. Settings of PT setting, memory size, and direct setting are made in this screen. Refer to “Setting the support tool for use with the NT20S” on the previous page.
Page 133
Creating and Transmitting Screen Data Section 4-1 Select “Tool Settings”. ' Select a file used for storing the screen data for the NT20S in the “File List” screen. To create a new file, select “New File”. To edit an existing file, select a file to edit.
Page 134
Direct Conn. Setting screen. On this screen, specify the first words allocated to the following areas in the PC memory. S PT status control area: Section 5-4 NT20S Status Control (page 191) S PT status notify area: Section 5-5 Notification of the Operating Status to the PC...
Page 135
Creating and Transmitting Screen Data Section 4-1 S Character string display: Set the character string memory table number and display method......“Character-String Memory Table”...
Page 136
Pressing the [F6] (Tmx.) key on the “File List” screen will cause the created screen data to be transmitted to the NT20S in file units. Pressing [F10] (Next) and then [F6] (Tmx.) on the “File List” screen will cause the screen data to be transmitted in screen units.
Section 4-2 Outline of Functions 4-2-1 NT20S Screen This section gives the outline of the screen which is the basis of all NT20S func- tions. For specific operation procedure such as screen switching, refer to “Switching the Screen Display” (page 157).
4-2-2 Characters and Figures Which can be Displayed The NT20S 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.
The NT20S-ST121-EV3/ST122-V1 can communicate with the PC through the host link/NT link/C200H direct communication. Bits and words are allocated to areas of the PC memory (selectable without restriction) and the NT20S can write data to them or read from them directly. This makes the following functions pos-...
Page 140
The NT20S-ST128 can communicate with the host through the RS-232C inter- face. In other words, it can receive and send commands through the RS-232C in- terface, which allows various types of host to utilize the functions of the NT20S: S Control/Notification of display elements...
The details of each screen type are given below. Normal Screen A normal screen is the basic screen of the NT20S. It is not necessary to select a screen type (overlapping or consecutive) when to create the screen data on a nor- mal screen.
Page 142
#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 NT20S screen can be registered as a child screen. For the numeral setting, refer to Section 4-8 Numeral Setting (page 140).
Page 143
Screen Display Section 4-3 [Example continuous screens] Screen #20 Continuous screen (1) touch switch touch switch Screen #15 Continuous screen (2) touch switch touch switch Screen #5 Continuous screen (3) S Parent screen: #10 S 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.
User: The numeric keys can be created at any arbitrary positions. Reference: If the numeral setting attribute on the NT20S has been set for “system”, the touch switches [ENT], which are allocated to the system besides the numeric keys need to be created. (System key functions (page 139))
Memory Tables Section 4-4 Memory Tables The NT20S 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 PC/Host. The contents of the memory tables can be set by using the support tool when dis- playing the memory tables on the screen or by editing the table.
4-4-2 Numeral Memory Table The numeral memory table is an NT20S internal memory used to store the numer- al data. Up to 128 numeral memory tables can be used, and up to eight digits (four bytes) of numeral data (including signs) can be stored in one numeral memory table.
Page 147
Memory Tables Section 4-4 Numerals Which can be Displayed The power of expression of the screen can be increased by giving various attrib- utes 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.
Bar Graphs Section 4-5 Bar Graphs The contents of the numeral memory tables of the NT20S 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 have to be changed.
Page 149
Bar Graphs Section 4-5 S Orientation and incremental direction The orientation and incremental direction of the bar graph can be selected from those mentioned below. ↑ (up): The bar graph increments upward in the vertical orientation. ↓ (down):The bar graph increments downward in the vertical orientation. ←...
Page 150
Bar Graphs Section 4-5 [To display a value 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 % 100 % [Not to display a value below 0 %: Sign display “No”]...
Page 151
Bar Graphs Section 4-5 When the frame is not displayed: % display 1-dot-wide space 999 % ↔ Graph width: 8 dots 100 % 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.
Section 4-6 Lamps The NT20S has the “lamp” function used to simply display the PC 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 PC/host.
Page 153
Lamps Section 4-6 S Lit and flashing Select whether the lamp is lit (reverse display) or flashing (reverse flashing) when the lamp is turned ON by the PC. S Guide display message Lamps can be displayed with the guide display messages. The guide display message attributes are the same as that for the “character display”.
Page 154
Lamps Section 4-6 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 in accordance with some condition, overlap the dis- play area of a numeral memory table or character-string memory table with the lamp.
The NT20S has a function whereby input operations can be performed by using touch panels displayed on the screen. NT20S screens can be switched, or bit in- formation sent to the Host, by pressing (lightly touching) the “touch switches” in a panel.
Touch switches can have the following functions: - PC notification function NT20S-ST121-EV3/ST122-V1 :Host link/NT link/C200H direct communication (page 183) NT20S-ST128 :RS-232C (page 212) - Screen switch (standalone) function (page 138) - System key function (page 139) - Numeral setting function...
A guide display message can be displayed at a touch switch location. 4-7-2 Screen Switching Function The NT20S has a function that allows screens to be switched by pressing touch switches on its screen, rather than by designation from the PC/Host. This function is called the “standalone function”.
Section 4-8 4-7-3 System Key Functions The NT20S 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 dis-...
Section 4-8 Numeral Setting The NT20S has a “numeral setting” function to enable numerical values to be input from the screen. This function inputs numerical values to numeral memory tables in response to touch switch operations, displays these numerical values on the screen, and sends them to the host.
Page 160
Correct Use: In order to use the numerical value input setting safely, always use the upper/lower limit check function. Since this function is not featured with NT20S-ST128 and Ver.4 and previous versions of the direct connection function, take appropriate measures using the user application software.
The thumbwheel type of numeral setting can only be used when using Ver.5 direct connection with an NT20S-ST121-EV3/ST122-V1. Numeric Key Type When a numerical value is input using touch switches to which numeric key func- tions have been allocated, the input numerical value is displayed on the screen.
A through With the NT20S, 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.
Page 163
When the touch switches allocated as numeric keys and system keys on a numer- al setting screen are pressed, no notification is made to the PC. This means that when using the NT20S-ST128 (RS-232C), the touch switches numbered 227 to 255 cannot be used as normal touch switches on a numeral setting screen.
Numeral Setting Section 4-8 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.
Page 165
Numeral Setting Section 4-8 Inputting Numerical Values Input numerical values using the following numeric keys (touch switches): numer- als (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 inte- ger and decimal fraction separately.
Numeral Setting Section 4-8 4-8-5 Using The Thumbwheel Type of Numeral Setting (Ver.5 Direct Connection Only) When using the thumbwheel type of numeral setting, numerical values are input by directly touching the incrementing/decrementing (+/–) keys. This type of input can only be used with Ver.5 of the direct connection function. Numerical Value Input Input numerical values by using the incrementing/decrementing (+, –) keys pro- vided for each digit.
Numeral Setting Section 4-8 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 x m..m, or create another touch switch and write values to the host when digits are carried up or down.
Page 168
Numeral Setting Section 4-8 S 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 S Restrictions on display attributes The following restrictions apply to display attributes.
......... . Notification of the Operating Status to the PC (Determining the NT20S Operating Status) 5-5-1 Ascertainable NT20S Statuses (Notified Operating Statuses) .
When the host link/NT link is used, the following bits and words are allocated to the PC and used for the NT20S operation. The range of respective area varies with the type of PC. Refer to Appendix L PC Memory Map (page 278).
The NT20S will operate as follows in the display element control operation. [NT20S operation] (1) The NT20S checks the allocation bits and words of the display elements and makes an inquiry to the PC. (2) The PC answers the NT20S about the bit and word data.
Page 173
Overview of Direct Connection Operations Section 5-1 Controlling the NT20S Status by Using Allocated Bits and Words ..PT Status Control Area (PC to PT) The PT status control area (PC to PT) is provided to control the NT20S status from the PC.
Page 174
The NT20S will operate as follows in the display element notification operation. [NT20S operation] The NT20S will write any changes in the contents of the numeral or character- string memory table being displayed or pressing of a touch switch to the bits and words area in the PC.
Page 175
Overview of Direct Connection Operations Section 5-1 Notifying the NT20S Status by Using Allocated Bits and Words ..PT Status Notify Area (PT to PC) The PT status notify area (PT to PC) is provided to notify the NT20S status changes to the PC.
For this function, refer to the “Standalone Function“ (page 138). To switch the NT20S screen display by controlling from the PC, write a screen number at the “screen switch setting” in the PT status control area.
Page 177
If the screen switching is not execut- ed on the NT20S, the screen switching strobe does not need to be checked. For the screen switching strobe, refer to the “notifying the displayed screen to...
Page 178
(3) When the screen switch strobe flag turns ON, the number of the currently dis- played screen is read and written to the currently displayed screen word in the PT status notify area. In this case, the NT20S will not write the same screen twice.
New screen number: Currently displayed screen word By reading the currently displayed screen word when the screen switch strobe flag has turned ON, the number of the currently displayed screen on the NT20S is dis- played. NT20S PT status notify area...
Page 180
ON. Reference: The contents of the “currently displayed screen word” are updated also by switch- ing the screen by pressing a touch switch on the NT20S. For this function (standalone function or screen switch function), refer to the “Stan- dalone Function”...
Page 181
(bit 11212) turns ON, the contents of DM0100 are transferred to DM0101. The number of the previously displayed screen is stored in word 0101. (2) The new screen number notified by the NT20S is read and transferred to DM0100. The number of the currently displayed screen is stored in DM0100.
PC can write data to the character-string memory tables or the initial values can be set when creating the screen data. Automatic updating is performed to ensure that the currently displayed NT20S character string memory table contents and PC word contents always match each other.
Page 183
Memory Tables and Bar Graphs Section 5-2 This specification method is a little complex, but it allows the display to be changed more easily according to the circumstances. In the example above, if 1 were add- ed to the contents of memory table 20 to give 52, the contents of memory table 52 would be displayed instead.
Page 184
S Direct specification Direct specification is a method of specification in which the contents of displayed memory tables are directly correlated with the contents of the allocated words. NT20S Allocated channel Direct Character string (character string memory table 18)
Page 185
Memory Tables and Bar Graphs Section 5-2 This specification method is a little complex, but it allows the display to be changed more easily according to the circumstances. In the example above, if one were added to the contents of memory table 18 to give 63, the contents of memory table 63 would be displayed instead.
Memory Tables and Bar Graphs Section 5-2 5-2-1 Displaying the Contents of Allocated Words of Memory Tables The relationship between the contents of the allocated words of numeral and char- acter string memory tables and the display is described below. S Contents of the numeral memory tables Numerals are stored in the allocated words as shown below.
Page 187
Memory Tables and Bar Graphs Section 5-2 [Numeral memory table display examples] S When the data are numeral data (0 to 9) Decimal without sign 123456 Start Decimal with sign –123456 Start + 1 Hexadecimal F0123456 S When the data contain characters (A to F) Decimal without sign 123B56 Start...
To change the numerals or character strings displayed on the NT20S, make changes with the numeral or character-string memory table. To make changes with the numeral or character-string memory table of the NT20S, change the con- tents of words by the PC.
Page 189
Application Example of the Numeral Memory Tables Allocated to the PC Words This example gives the procedure to directly display the contents of the words allo- cated as the numeral memory tables in the PC memory. The NT20S screen dis- play will change as the contents of the PC word change.
Memory Tables and Bar Graphs Section 5-2 (3) When bit 00001 turns ON, the contents of DM0002 are incremented by 1. The value displayed on the NT20S in numeral memory table entry #2 increases by 5-2-3 Changing Displayed Numerical Values or Character Strings (Changing the Contents of Allocated Words ...
Page 191
Memory Tables and Bar Graphs Section 5-2 Procedure 1. Set the PC area for allocation of the numeral memory table to be referenced in indirect specification using the support tool. 2. When using the support tool to create screen data, register on the screen the numeral memory table referenced in indirect specification.
Page 192
Numeral memory table number used in indirect specification DM0000 S Program operation (1) Each time contact 00100 comes ON, the display on the NT20S screen changes in accordance with one of the steps in the following sequence: “NT610G” ³ “NT610C” ³ “NT20S” ³ “NT600S”.
Refer to “Changing Displayed Numerals or Character Strings” (page 169) explained before. To change the numerals or character strings displayed on the NT20S, copy the data between the numeral or character-string memory tables by using the “copy memory table setting”...
Page 194
“copy source memory table number” to the PT status control area (PC to PT). The NT20S reads the area sometimes when the PC is writing the settings. If the “copy source memory table number” has been written first and is changed, unex- pected memory table may possibly be changed.
Page 195
Copy source memory table # #0011 Copy source word 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”.
The following describes the procedure to upgrade the bar graph display on the NT20S by changing the contents of the allocated words. To change the bar graph display on the NT20S, change the contents of the PC words to which the numeral memory tables have been allocated.
Lamps, Touch Switches, Numeral Setting Section 5-3 Lamps, Touch Switches, Numeral Setting 5-3-1 Allocation Bits and Display of Lamps Lamps are controlled by allocating them to the PC bits. Set the area and bit num- ber. S Available allocation bits The lamps can be allocated to the following PC areas: Symbol C Series PCs...
The following describes the procedure to change the lamp display status on the NT20S by changing the contents of the allocated bits. To change the lamp display status on the NT20S, turn ON and OFF the lamp con- trol bit allocated in the PC.
Page 199
UNCLAMP DOWN S PC ladder program No PC ladder program is required to control the NT20S. Only a program to con- trol the robot arm movements is required. S NT20S operation When the ladder program to control the robot arm is executed, the lamps on the NT20S screen turn ON and OFF in synchronization with the robot arm move- ment.
5-3-3 Allocated Bits, and Display, of Touch Switches Method for PC Notification and NT20S Control Two types of bit can be allocated to touch switches: notify bits - which serve to notify statuses to the PC - and control bits, lamp bit, which control the lighting (flashing) of the touch switches.
Page 201
Lamps, Touch Switches, Numeral Setting Section 5-3 S Notes on the Notification Operation The touch switch notification operations are as follows: When Using C200H Direct Type of Notification When Using Host Link or Communication or NT Link with Operation NT Link with DM Area other than DM Area (1)Notification in word units Momentary...
This section describes how the status of a touch switch (whether it has been pressed or not) is ascertained. With the NT20S, when a touch switch is pressed, the notify bit allocated to that touch switch in the PC memory is automatically notified.
Page 203
Lamps, Touch Switches, Numeral Setting Section 5-3 Depending on the set operation type, the status of the allocated bit for touch switch status notification will be controlled in one of the following ways (unless Ver.4 direct connection is used, in which case the setting is fixed as “momentary”): Momentary : 0 (OFF) ...
Page 204
Lamps, Touch Switches, Numeral Setting Section 5-3 The touch switch notification operations are as follows: When Using C200H Direct Type of Notification When Using Host Link or Communication or NT Link with Operation NT Link with DM Area other than DM Area (1)Notification in word units Momentary (3)Notification in bit units...
Page 205
Section 5-3 Example of determination of touch switch status This example uses the touch switches as normal switches (bits) in order to use the NT20S as an operating panel. S Support Tool Settings Make the following settings using the support tool.
Page 206
Lamps, Touch Switches, Numeral Setting Section 5-3 S PC program Create the following ladder program. 1 scan ON Touch switch #10 notify bit ↓ ↓ 11212 06000 Stop flag 05001 (touch switch #11 control bit) 06001 ← Touch switch #11 notify bit 05001 Touch switch #10 notify bit ↓...
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”...
Page 208
Lamps, Touch Switches, Numeral Setting Section 5-3 S Restrictions on allocating words The PT status notify area can be allocated to the PC memory areas listed in the following table. Symbol C Series PCs Allocated CVM1/CV Series PCs Allocated Data Memory Data Memory Internal/Special Relay Internal/Special Relay...
Page 209
Example of reading a numeral memory table into which a numerical value has been input This example shows the reading of the numeral memory table number after a val- ue has been changed by inputting numerical data at the NT20S. S Setting at the support tool Make the following settings using the support tool.
NT20S Status Control Section 5-4 NT20S Status Control The statuses of the NT20S can be controlled from the PC by writing control data to the “PT status control bits” of the PT status control area allocated in the PC memory.
Page 211
NT20S Status Control Section 5-4 S Screen display (bit 15) The screen display bit is used to display and clear the screen to prevent “burn-in” on the CRT. Set bit 15 to 0 (OFF) to clear the screen. The backlight will also go OFF at the same time.
Page 212
When the screen is not displayed (bit 15 = OFF), the backlight mode is invalid. It is possible to use NT20S switch settings to make the backlight go off automati- cally after a set time during which there have been no operations.
S Timing for control of the PT status control bit The PT status control bit is not read when the NT20S is started up. It is read, and control executed, only when the contents of the PT status control bit are read for the first time after the NT20S is started up.
Page 214
Example of Use of PT Status Control Bit The example below explains how operation with the PT status control bit can be used to use the NT20S like a warning lamp. S Setting with the support tool Make the following setting with the support tool.
S PT operating status (bit 15) When the NT20S is in the RUN mode this bit is set to ON (1). In other modes and while the system menu is displayed it is OFF (0). When this bit is OFF allocated bits and words cannot be read or written to.
Section 5-5 S Screen switch strobe flag (bit 12) When the screen displayed on the NT20S is switched by a designation from the PC or by the standalone function, the screen switch strobe flag comes ON (1). On notification to the PC, it returns to the OFF (0) status.
Page 217
The contents of the PT status notify area (PT ³ PC) are written to the PC when- ever the status of the NT20S changes during operation. Example of PT Status Notify Bit Application In the example below, the status of the NT20S is checked by PT status notify bit notification. S Settings with the support tool Make the following setting with the support tool.
SECTION 6 Using the RS-232C This section explains how to carry out communication via the RS-232C interface used with an NT20S-ST128, focusing on the commands. Table of Commands ............
4-digit Number Input Notify [ESC] F 8-digit Number Input Notify [ESC] S Lamp and Touch Switch Display Status Response [ESC] J Touch Switch Bit Output (from NT20S to Host) [ESC] H Touch Switch Number Output (from NT20S to Host) Terminal Commands Type Command...
PRINT # Sends an instruction via the RS-232C circuit to the NT20S. LINE INPUT # Receives a command from the NT20S. [LINE INPUT] is used when receiving input delimited by commas (,) or double quotation marks (”). CLOSE Closes the RS-232C circuit.
Page 221
Send notification command Operation by Terminal Commands The terminal commands allow the NT20S to be used as a terminal of the Host to display text and graphics independently of the screens stored in the NT20S. The Host sends a command and the NT20S processes the message. The NT20S does not send back a response to the Host.
The entire command is ignored if any point specified at coordinates X, Y with the Terminal commands lies outside the screen. Error display If the “automatic reset after communication” memory switch of the NT20S is set to ON, no message is displayed when a communication error occurs. However, time-out errors are displayed.
: Number of displayed screen (4-digit hexadecimal) 0000: No display 0001 to 01FA : Screen #1 to #500 Description The specified screen is displayed on the NT20S when a screen number is sent from the Host with this command. Request Screen Number Format [ESC] Description Enquires what number screen is displayed on the NT20S.
Values can be copied from one memory table to another of the same type by using the Copy Memory Table Command. Reference: S When the contents of an NT20S numeral memory table are changed by numeral setting input, a Number Input Notify Command is automatically sent from the...
Page 225
Memory Tables Section 6-3 Description Writes the character-string data to the character-string memory table. The character-string data can contain a mixture of normal alphanumeric charac- ters and marks. When determining the character string length, count each mark as two normal characters. Caution: If the actual character string is longer than the specified character string length, the specified number of characters is written and the remainder are discarded.
Page 226
Memory Tables Section 6-3 Copy Memory Table Format [ESC] Type of memory table 0 (30 ): Character-string memory table 1 (31 ): Numeral memory table Copy source memory table address 000 to 127 (3-digit BCD) Copy destination memory table address 000 to 127 (3-digit BCD) Description Copies the contents of the copy source memory table to the copy destination...
NT20S returns the Lamp/Touch Switch Display Status Response Command. Reference: When the status of an NT20S touch switch is changed - for example by pressing it - the Touch Switch Number Output Command is sent to the host. When a numerical value is input by pressing a touch switch to which a numeral setting function has been allocated, a Number Input Notify Command is sent to the host.
Page 228
Lamps, Touch Switches, Numeral Setting Section 6-4 Cautions when bit input is permitted If the touch switches are set in the following positions using the support tool while the setting is “bit input permitted”, the following operations will occur due to the configuration of the touch switches.
Page 229
Lamps, Touch Switches, Numeral Setting Section 6-4 Lamp and Touch Switch Display (Bit Specification) Format [ESC] [CR] m0 to m3: Specification of lamps and touch switches (2-digit hexadecimal) The relationship between the lamp and touch switch number and an expression of m0 to m3 in bits is given in the following table. Parameter mx1: Higher 4 bits of mx (x: 0 to 3) mx2: Lower 4 bits of mx...
Page 230
(0 to 255) Description The NT20S returns this command to report the lamp or touch switch number dis- play status to the Host in response to the Lamp and Touch Switch Display Status Enquiry Command (refer to 6-4-1 Lamp and Touch Switch Display Status Enquiry) sent from the Host.
NT20S. When a numerical value is input by numeral setting, the NT20S sends a Number Input Notify Command to the host. The command sent differs depending on whether a 4-digit or 8-digit number is input.
Page 232
Lamps, Touch Switches, Numeral Setting Section 6-4 Touch Switch Number Output (from NT20S to Host) Format [ESC] [CR] : Address of the pressed touch # (2-digit hexadecimal) 00 to E2 (0 to 226) Description If a touch switch is pressed while the screen for which the “Bit In = Off” attribute is set is displayed, the address of the pressed touch switch is reported to the Host.
The Screen Display Control Command is used to operate the back light of the NT20S (i.e., switch it on and off). The Buzzer Control Command is used to control the buzzer status of the NT20S. To inhibit the display of the system menu or cancel this inhibition, use the Mode Switch Enable Command.
Page 234
Controlling the NT20S Status Section 6-5 Screen Display Control Format [ESC] : Display on or off 0 (30 ): on 1 (31 ): off Description Turns off the backlighting. Reference: S The screen is redisplayed if a touch switch is pressed.
Description Clears all text and graphics on the NT20S screen. Reference: Even if this command is used to clear a screen, the NT20S still displays the pre- ceding screens. After the display of number, text, lamps or touch switches is upgraded, only the...
Page 236
Terminal Commands Section 6-6 Character Specify Size Format [ESC] : Character size 0 (30 ): Normal size, 16 x 8 dots (H x W) 1 (31 ): 1/2 size, 8 x 8 dots (H x W) Description Specifies if 1-byte alphanumeric characters sent subsequently are displayed as normal characters or 1/2-size characters.
Page 237
Terminal Commands Section 6-6 Normal Display Format [ESC] Description Cancels all display attribute settings(inverse, flashing, flashing inverse) for char- acters and marks so that all characters are displayed as “normal” characters (not inverse or flashing). Set Inverse Display Format [ESC] ”...
Page 238
Terminal Commands Section 6-6 Set Flashing Display Format [ESC] Description Sets the display attribute to flashing so that all characters and marks sent subse- quently are displayed flashing. Other attributes remain unchanged. Reference: The Set Flashing Display Command is cancelled by the End Flashing Display Command or the Normal Display Command (refer to 6-6 Normal Display and 6-6 End Flashing Display).
Page 239
Terminal Commands Section 6-6 Set Cursor Position Format [ESC] X coordinate (3-digit BCD) 000 to 255 Y coordinate (3-digit BCD) 000 to 127 Description Before displaying a character string with the Terminal commands, use this com- mand to set the bottom-left point of the first character to be displayed. Reference: The cursor position set with this command is also the bottom-left point of the first character displayed if the displayed characters are enlarged.
Page 240
Terminal Commands Section 6-6 Draw Polyline Format [ESC] Number of lines to draw (2-digit hexadecimal) 01 to 28 (1 to 40) to xn : X coordinates of line end points (3-digit BCD) 000 to 255 to yn : Y coordinates of line end points (3-digit BCD) 000 to 127 Description Draws the specified number of lines between the specified points.
Key to Programs Section 6-7 Key to Programs The following programs include all the commands that can be used with the NT20S. 6-7-1 Use of Programs The sample program appears as follows on the screen. Menu bar Sub-menu Parameter input column...
EXAMPLE PROGRAM 1000 ’ ******************************************************** 1010 ’ * OPERATION COMMAND EXAMPLE PROGRAM (NT20S–ST128) 1020 ’ ******************************************************** 1030 ’ ..........
Page 244
EXAMPLE PROGRAM Section 6-7 1900 LOCATE 66,12:COLOR 0:PRINT SPACE$(14); 1910 IF YN=–1 THEN GOTO *LV3.END 1920 GOSUB *SEND ’ ......Send command 1930 COM(1) ON 1940 LOCATE 43,9:COLOR 4:PRINT ”Press ESC Key”;:COLOR 0...
Page 245
EXAMPLE PROGRAM Section 6-7 2360 *ESC.H ’ ........Notify touch switch (number) 2370 IF R.CODE$<>”H”...
Page 246
EXAMPLE PROGRAM Section 6-7 2820 SEND$=SEND$+L$+M$+C$ 2830 RETURN 2840 *ESC.C ’ ........Write 4-digit number 2850 LOCATE 43,0:INPUT ”Numeral table # : ”,M...
Page 247
EXAMPLE PROGRAM Section 6-7 3280 IF N=99 THEN GOTO *ESC.K.3 3290 IF N<0 OR N>31 THEN GOTO *ESC.K.2 3300 TS.B(N)=TS.B(N)*(–1) 3310 COLOR 2+TS.B(N)*2 3320 LOCATE 65–(N MOD 8)*3,N¥8:PRINT RIGHT$(STR$(N),2) 3330 GOTO *ESC.K.2 3340 *ESC.K.3 3350 FOR I=0 TO 3 3360 3370 FOR J=0 TO 7 3380...
Page 248
EXAMPLE PROGRAM Section 6-7 3740 IF M$<>”0” AND M$<>”1” THEN GOTO *PAGAIN 3750 SEND$=SEND$+M$ 3760 RETURN 3770 *ESC.T ’ ........Buzzer control 3780 LOCATE 43,0:PRINT ”Controlled item”...
Page 250
EXAMPLE PROGRAM Section 6-7 4660 LY$=STR$(LY):LY$=RIGHT$(LY$,LEN(LY$)–1):LY$=RIGHT$(”00”+LY$,3) 4670 LOCATE 39+(LN MOD 5)*8,LN¥5:PRINT LX$;”,”;LY$; 4680 SL$=SL$+LX$+LY$ 4690 LN=LN+1 4700 IF LN<40 THEN GOTO *E7.X 4710 *E7.E 4720 LN$=HEX$(LN–1):LN$=RIGHT$(”0”+LN$,2) 4730 SEND$=SEND$+LN$+SL$ 4740 RETURN 4750 *ESC.8 ’ ........Draw circle 4760 *E8.X 4770 LOCATE 43,0:PRINT SPACE$(36)
Page 251
EXAMPLE PROGRAM Section 6-7 5120 IF LV=1 THEN LY=I–1 5130 LOCATE LX,LY:PRINT SPACE$(20) 5140 NEXT I 5150 SEL.NO=0 5160 GOTO *SEL.RET 5170 *KY1 5180 IF A$<>CHR$(&H1E) AND A$<>CHR$(&H1F) THEN GOTO *KY2 5190 IF LV=0 AND SEL.NO<=5 THEN LY=SEL.NO 5200 IF LV=0 AND SEL.NO>5 THEN LY=SEL.NO+1 5210 IF LV=1...
Page 252
EXAMPLE PROGRAM Section 6-7 5580 DATA 3 5590 DATA ”Clear screen”,”[ESC]&” 5600 DATA ”Character specify size”,”[ESC])” 5610 DATA ”Specify character enlargement”,”[ESC]*” 5620 DATA 5 5630 DATA ”Normal display”,”[ESC]!” 5640 DATA ”Set inverse display”,”@@@@@@” 5650 DATA ”End inverse display”,”[ESC]#” 5660 DATA ”Set flashing display”,”[ESC]$” 5670 DATA ”End flashing display”,”[ESC]%”...
SECTION 7 Troubleshooting and Maintenance This section describes the action to take when NT20S errors occur, and how to carry out maintenance and inspections to prevent the occurrence of errors. Hardware Faults .............
Hardware Faults Section 7-1 Hardware Faults When a fault relating to the operation of the NT20S occurs, find the symptoms in the table below and respond by following the corresponding “Remedy” indicated in the table. NT20S Symptoms Cause Remedy POWER LED fails to Power is not being supplied.
Select a type of PC that can be connected to the available NT20S. NT20S. 7-2-3 Errors Occurring on Screen Data Initialization The table below shows the errors that can occur when data is written to the NT20S screen data memory, and their remedies. Message Cause Remedy Initialization Error...
Page 257
Responding to Displayed Error Messages Section 7-2 Some error messages are displayed even if the “Automatic Reset” memory switch is set. S Procedure when a communication error occurs When an error message is displayed, press the [EXIT] touch switch displayed on the screen.
Maintenance of the NT20S Carry out maintenance work in order to ensure that the NT20S is always used in its optimum condition. WARNING: Do not attempt to take the PC apart and do not touch any internal parts while the power is being supplied.
Page 259
WARNING: Turn off the power before replacing the backlight. Otherwise you could sustain an electric shock. Operation 1. Switch the power to the NT20S off, remove the screw from the backlight re- placement cover using a Philips screwdriver, and open the cover. Then dis- connect the backlight connector from the NT20S.
Inspection and Cleaning Section 7-4 Inspection and Cleaning Clean and inspect the NT20S regularly to ensure that it is always used in its opti- mum condition. Cleaning Method If the display is dirty the screen is difficult to see. Clean the screen from time to time as follows.
Page 261
S Be sure to switch the power OFF before replacement. S After replacement, check that the new NT20S is not subject to the same error. S If a faulty unit is returned for repairs, write as detailed a description of the fault as possible and send this description together with the unit to the OMRON address indicated on the back cover of this book.
Specifications Appendix A APPENDIX A Specifications General Specifications Item Specification Power supply voltage 24 VDC Allowable power supply voltage range 20.4 VDC to 26.4 VDC (24 VDC –15% +10%) Power consumption 10 W max. Inrush current 3 A max. Ambient operating temperature 0 to +50_C (with no freezing) Storage temperature –20 to +70_C...
128 dots (vertically) x 256 dots (horizontally) (dot size: 0.407 mm) liquid crystal display liquid crystal display (resolution) panel Effective display area 56 mm (vertically) x 112 mm (horizontally) Display mode Blue mode (NT20S-ST12j) Monochrome mode (NT20S-ST16j) Left/right direction: "35_ View angle Life expectancy 50,000 hours minimum Backlight Life expectancy...
Page 264
Transfer screen data created using the support tool to the PT. Screen saving method Saved to flash memory (recording format unique to NT20S) (screen data memory) : Number of numeral memory tables that can be set (number used for numeral display + number used for graphs +...
Page 265
9-pin, D-SUB connector (female) Number of units connected 1 to 1 Transmission distance Max. 15 m Communications protocol C-series SYSWAY (1:N) [For an NT Link (1 to 1)] (NT20S-ST121-EV3) Item Specification Communications standard EIA RS-232C Connector 9-pin D-SUB connector (female)
Page 266
Specifications Appendix A [For RS-232C] (NT20S-ST128) Item Specification Communication standard EIA RS-232C Communication settings Start-stop synchronization Baud rate: 2400/4800/9600/19200 (bps) Data length: 7, 8 bits Stop bit: 1, 2 bits Parity: Even/Odd/None Flow control:RS/CS control XON/XOFF control None Connector 9-pin D-SUB female...
Handling the RS-232C/RS-422 Converter Unit Appendix C APPENDIX C Handling the RS-232C/RS-422A Converter Unit This section shows the dimensions of the RS-232C/RS-422A converter unit (NT-AL001), and describes the meth- ods for installing and removing it. Refer to this information when designing the control panel. Dimensions 53.5 (2.11)
Page 269
Handling the RS-232C/RS-422 Converter Unit Appendix C Installation on a DIN Rail Hook the top part of the rear of the converter unit ((a) in the figure) onto the top edge of the DIN rail, and push the unit in direction (b). Then fit end plates on the right and left sides of the converter unit so that the unit cannot shift sideways.
PT will cause radio interference. S When using the RS-232C +5V output, check the current capacity of the connected equipment. The maxi- mum current value of the NT20S +5 V output is 150 mA. Transportation and Storage of the PT Note on transportation Pack the PT in the packaging intended for it before transporting it.
Appendix E APPENDIX E NT20S Internal Processing When the direct connection function is used, the following processing is executed inside the NT20S. Processing is divided into two types: periodic processing and event processing. Periodic Processing (When Using Direct Connection) The following processing is executed inside the NT20S to enable high-speed control from the PC.
Page 272
NT20S Internal Processing Appendix E S Number of words for screen element registration The number of words used for screen element registration is as follows. Allocated words: Number of words Allocated bits : Number of words calculated by summing the number of bits in each area and taking 1 word to be 16 bits.
Page 273
Appendix E Event Processing (When Using Direct Connection) When the status of the NT20S changes during operation, the processing for writing the changed data to the relevant area of the PC memory is executed. This kind of processing is only executed when statuses change. When changes occur simultaneously, the proces- sings are executed in accordance with the order of priority.
The NT20S cannot be used with combinations of support tools and settings other than those indicated above. Reference: The NT20S-ST128 can be used in the same way with the NT series support tool (Ver.2.j). The neces- sary support tool and “Support Tool Mode” (NT20S memory switch) settings in this case are as follows:...
25-pin, made by JAE C120-LK201-V1 When connecting the NT20S to a CjjH PC manufactured by OMRON, the connector and connector hood must be prepared separately since they are not supplied with the CjjH. The connector provided in the CPU unit of the CjjH is a 9-pin connector. For the connection, the following con- nector and connector hood should be prepared.
Page 276
If using the +5 V supply of pin No.6, check first that the equipment that is to receive the supply has a current capacity no greater than 150 mA. The +5 V output of the NT20S is +5 V"5%, max. 150...
Page 277
S Wiring Connections The NT20S does not use pin 4 (RS) or pin 5 (CS). Either short the RS and CS pins of the PC connector together or set the CTS setting selector switch at the rear face of the host link unit to “0V” (see in the figure).
Page 278
Appendix G S Wiring Connections The NT20S does not use pin 4 (RS) or pin 5 (CS). Short the RS and CS pins of the PC connector together (see the figure). Connect the cable shielding wire to the connector cover and pin 1 at both the NT20S and CPU ends of the cable.
Page 279
CVM1/CV-series host link units have two types of connector, which must be wired differently. The NT20S does not use pin 4 (RS) or pin 5 (CS). Either short the RS and CS pins of the PC connector together or set the CTS setting selector switch at the rear face of the host link unit to “0V” (see in the figure).
Page 280
S Wiring Connections The NT20S does not use pin 4 (RS) or pin 5 (CS). Either short the RS and CS pins of the PC connector together or set the CTS setting selector switch at the rear face of the host link unit to “0V” (see in the figure).
Page 281
Method for Making the Cable for Connection to the Host Appendix G Connecting an NT20S to an RS-232C/422A Converter Unit (NT-AL001) Connecting an RS-232C/422A converter unit enables the transmission distance to be made greater than 15 m (up to 500 m).
Page 282
Method for Making the Cable for Connection to the Host Appendix G Wiring method NT-AL001 NT20S HOST RS-232C RS-422A Abbrevi- Abbrevi- Abbrevi- Terminal Pin No. Pin No. Signal bame ation ation ation Frame ground Signal ground RS-422A Receive data(+) interface...
Page 283
Appendix G Preparing RS-232C Connector Cables Prepare a connector cable to connect a NT20S to a Host separated by more than 5 m so that the standard connector cable cannot be used. The maximum cable length is 15 m. Recommended Parts...
Page 284
Method for Making the Cable for Connection to the Host Appendix G Making the Cable The procedure to make up the cable is described below. Refer to the following explanation when making an RS-422A cable also. Cable Preparation The preparation of the cable differs according to whether or not the shielding wire is to be connected to the FG. S Cable with Shielding Wire Connected to FG (1) Cut the cable to the required length.
Page 285
Method for Making the Cable for Connection to the Host Appendix G S Cable with Shielding Wire Not Connected to FG (1) Cut the cable to the required length. (2) Remove the external vinyl insulation from the cable with a razor blade. Take care not to damage the shielding underneath.
Page 286
Method for Making the Cable for Connection to the Host Appendix G Soldering (1) Slide heat-shrink tube over each wire. (2) Pre-solder each wire and connector cable. (3) Solder each wire to the connector terminal. Soldering iron Heat-shrink tube (Hishitube F, 1.5 dia, l = 10) (4) Push the heat-shrink tube over the soldered joint and heat the tube to shrink it in place.
Shielding wire When making the connecting cable, use the following recommended parts. Name Model Remarks XM2A-2501 25-pin, manufactured by OMRON (personal computer side) Connector Connector XM2A-0901 9-pin, manufactured by OMRON (PT side) XM2S-2511 25-pin, manufactured by OMRON (personal computer side)
Pin No. Abbrev. Connector Connector cover cover RS-232C RS-232C interface interface Shielding The pin numbers are the numbers at the NT20S. Only connected at PC wire For the pin numbers at the PC, refer to the manual for the PC used.
Page 289
Connecting to an RS-232C/RS-422A Converter Unit (1:1) Appendix I S RS-422A Cable Wiring NT-AL001 NT-AL001 Abbrev. Pin No. Pin No. Abbrev. RS-422A RS-422A terminal terminal block block Shielding wire DIP Switch Settings at RS-232C/RS-422A Converter Unit...
Model List Appendix J APPENDIX J Model List Model Specification NT20S-ST121-EV3 Host link/NT link Blue mode display (Beige) NT20S-ST121B-EV3 (Black) NT20S-ST161-EV3 Host link/NT link Monochrome mode display (Beige) NT20S-ST161B-EV3 (Black) NT20S-ST122-V1 C200H direct communication (Beige) NT20S-ST122B-V1 (Black) NT20S-ST128 RS-232C Blue mode display...
Page 291
Model List Appendix J CPUs (For Connection Via a Host Link) Model Specification PC Type C20H/C28H/C40H/C60H Features a 9-pin connector for RS-232C connections C-series C20H C28H C40H C60H CPM1-10CDR-j Connect an RS-232C adapter to the peripheral port. C-series CPM1-20CDR-j CPM1 CPM1-30CDR-j CQM1-CPU21-E Features a 9-pin connector for RS-232C connections...
Page 292
Model List Appendix J CPUs (For Connection Via an NT Link (1:1)) Model Specification PC Type CPM1-10CDR-j Connect an RS-232C adapter to the peripheral port. C-series CPM1-20CDR-j CPM1 CPM1-30CDR-j CQM1-CPU41-E Features a 9-pin connector for RS-232C connections C-series CQM1-CPU42-E CQM1 CQM1-CPU43-E CQM1-CPU44-E C200HS-CPU21-E...
Page 293
C200HG-CPU63-E C200HX-CPU34-E C200HX-CPU44-E C200HX C200HX-CPU54-E C200HX-CPU64-E RS-232C/RS-422A Converter Unit Model Specification RS-232C : 9-pin connector NT-AL001 RS-422A : 8-pin terminal block RS-232C Adapter Model Specification Connect the RS-232C port of the NT20S and the peripheral CPM1-CIF01 port of the CPM1.
Page 294
Applicable connectors (for host link, NT link, RS-232C) Name Model Remark Connector XM2A-2501 25-pin, manufactured by OMRON XM2A-0901 9-pin (Plug), manufactured by OMRON DB-25P 25-pin, manufactured by JAE Connector cover Connector cover XM2S-2511 25-pin, manufactured by OMRON XM2S-0911 9-pin, manufactured by OMRON...
Option List Appendix K APPENDIX K Option List Replaceable Backlight ... NT20S-CFL01 This is a backlight for replacement purposes. Note: The disposal of used backlights may be regulated by national or local authorities. Dispose of them in accor- dance with the laws and regulations of the relevant country and local authority.
Page 296
Lard For information on protection against chemical agents not included in the table above, please ask OMRON. (If it is a chemical agent to which silicone rubber is recognized to be resistant, the cover can be used with confidence even if that chemical agent is not listed in the “Protects Against”...
0000 to 0511 0000 to 1023 CV2000 CVM1-CPU21(-Vj) Included in the IR area in the case of CVM1/CV-series PCs. This is the area that can be used with an NT20S. The DM area itself occupies the range 00000 to 24575.
Special Characters Appendix M APPENDIX M Special Characters English Character Codes Pin 2 of SW2 must be ON to enable English language messages to use the following codes. Example: Hex code is represented by 30, decimal code by 48, and character by 0. Code 20 and 32 in the table represents a space, as indicated by “SP”.
Page 299
Special Characters Appendix M Hex Digits α ≡ á β " í Γ ≥ ó π ≤ ú Σ ⌠ ñ σ ⌡ Ñ ÷ τ ≈ Φ ¿ Θ Ω δ ∞ ¡ ø ε « < ∩ » <1: Used as the prefix for mark data codes (2 bytes).
1997 Overall revision by addition of a new model S Revisions due to addition of NT link (1:N) S Revisions due to addition of new model (NT20S-ST16j), addition of an applicable PC (CDM1), addition of explanations, and correction of errors.
Page 307
The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square, Singapore 239920 Tel: (65)6835-3011/Fax: (65)6835-2711 OMRON (CHINA) CO., LTD. Room 2211, Bank of China Tower,...
Page 308
Authorized Distributor: Cat No. V020-E1-04 Note: Specifications subject to change without notice. Printed in Japan 0897-1.5M (0597) This manual is printed on 100% recycled paper.
Need help?
Do you have a question about the NT20S and is the answer not in the manual?
Questions and answers