Omron NT20S-ST121B-EV3 User Manual
Omron NT20S-ST121B-EV3 User Manual

Omron NT20S-ST121B-EV3 User Manual

Programmable terminal
Table of Contents

Advertisement

Quick Links

Cat. No. V091-E1-01
NT20
Programmable Terminal
USER'S MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron NT20S-ST121B-EV3

  • Page 1 Cat. No. V091-E1-01 NT20 Programmable Terminal USER’S MANUAL...
  • Page 2 NT-series Programmable Terminal User’s Manual Produced March 2007...
  • Page 4 OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 6: Table Of Contents

    TABLE OF CONTENTS PRECAUTIONS ........xvii Intended Audience .
  • Page 7 TABLE OF CONTENTS SECTION 4 NT20 Functions and Operation ..... . . 133 Screen Creation Procedure ..........Outline of Functions .
  • Page 8 TABLE OF CONTENTS Making the Cable ............Making the Cable for Connecting a Personal Computer .
  • Page 9 TABLE OF CONTENTS...
  • Page 10 About this Manual: This manual describes the basic functions and operation procedures of the NT-series programmable terminal NT20, its operations when connected to a PLC or a Host, and includes the sections described below. Please read this manual carefully and be sure you understand the information provided before attempting to install and operate the NT-series programmable terminal NT20.
  • Page 11 PT to a Mitsubishi A series PLC. In order to use the PT while connected to a PLC made by a manufacturer other than OMRON, the Ver. 2.3 Support Tool must be used.
  • Page 12 WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted. IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS...
  • Page 13 Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products. At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products.
  • Page 14 Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
  • Page 16: Precautions

    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 operate a Programmable Terminal.
  • Page 17: Intended Audience

    It is extremely important that Programmable Terminals and related devices be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must con- sult with your OMRON representative before applying Programmable Termi- nals to the abovementioned applications. !WARNING...
  • Page 18: Operating Environment Precautions

    Operating Environment Precautions !Caution If the DIP switch settings have been changed when the NT20 is powered, reset the power to the NT20. The changes with the DIP switches become effective only after the power supply is reset. Operating Environment Precautions 1,2,3...
  • Page 19: Ec Directives

    EC Directives 10. Always tighten the connector screws after connecting communications ca- bles. 11. The maximum pull load for cables is 30 N. Do not apply loads greater than this. 12. Confirm that the current capacity of the connected device is 150 mA or less before using the 5-V power supply from pin 6 of serial port A or port B.
  • Page 20 EC Directives EMC Directive Conformance OMRON products are designed as electrical devices for use built into other devices or the overall machine. As individual devices, they comply with the related EMC standards (see note) so that they can more easily be built into other devices or the overall machine.
  • Page 21 EC Directives xxii...
  • Page 22: Functions Of The Nt20

    SECTION 1 Functions of the NT20 NT20 is a new programmable terminal (PT) which incorporates a host interface unit and two RS-232C interface units in a programmable terminal body. It can be easily installed and used. This section gives the operation examples and characteristics of the NT20 so that you will understand the applications of the NT20.
  • Page 23: Role And Operation Of Nt20

    Role and Operation of NT20 Section 1-1 Role and Operation of NT20 NT20 is a programmable terminal used to display and transmit the information in an FA site. The following gives a general description of the role and opera- tion of the NT20 for those who use a programmable terminal (PT) for the first time.
  • Page 24: Operations Of Nt20

    Section 1-1 Role and Operation of NT20 1-1-1 Operations of NT20 Displays Screens The information to be displayed (screen data) can be created on a computer by using the Support Tool and stored in the NT20. The screen data can be displayed on the NT20 in response to the instructions from a Host or touch switch operation.
  • Page 25: Functions Of Nt20

    Functions of NT20 Section 1-2 Functions of NT20 The NT20 has the following features which are different from those of existing NT20M/NT20S; 1-2-1 Features Downsized Body • The connectors are located at other than the front. • The communications cable connectors are housed in the unit so that they do not protrude from the unit.
  • Page 26: Principal Functions Of Nt20

    Section 1-2 Functions of NT20 1-2-2 Principal Functions of NT20 Functions Related to the Data Display • Character display Characters of various sizes can be displayed. Characters can flash or be highlighted. • Figure display Straight lines, circles, and other graphic figures can be displayed. •...
  • Page 27: Comparison Between Nt20S, Nt20M, And Nt20

    Section 1-2 Functions of NT20 1-2-3 Comparison between NT20S, NT20M, and NT20 The NT20 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 communi- cations) as the standard equipment in one body. The NT20 has the following features which are different from those of existing NT20/NT20S: Function...
  • Page 28: Displays

    Functions of NT20 Section 1-2 1-2-4 Displays The NT20 can display various kinds of elements such as characters, lamps, touch switches, and bar graphs on a screen. The screen data displayed on the NT20 are created by using the Support Tool on a computer. Touch switches Characters Emergency...
  • Page 29: Method For Connection To The Host

    There are two 1:N NT Link communications rates: standard and high-speed. Converting Communications Type with the RS-232C/RS-422A Link Adapter and RS-422A Converter An OMRON NT-AL001 Link Adapter or CJ1W-CIF11 RS-422A Converter can be used convert from RS-232C communications to either RS-422A or RS- 485.
  • Page 30 Section 1-3 Method for Connection to the Host Combinations of Communications Method and Connection Method The connection methods that can be used depending on the communications method used and the communications type for communications between the NT20 and the host are indicated in the table below. Communications Usable Connection Method Usable Communications Method...
  • Page 31: Communications With Plc By Direct Connection

    Section 1-4 Communications with PLC by Direct Connection Communications with PLC by Direct Connection 1-4-1 Functions of the Allocated Bits and Words When using an NT20-ST121@ with the direct connection function (host link or NT link), the elements displayed on the NT20 and the NT20 status can be allocated to the bits and words of the PLC.
  • Page 32 Communications with PLC by Direct Connection Section 1-4 • Touch Switches Allocation Destination: Bit Touch switch NT20 12 Bit 009012 Bit 009012: ON The lamp comes on (flashes) when the PLC’s control bit is ON (1) and goes off when it is OFF (0). When the touch switch is pressed, the PLC’s notification bit comes ON (1) or goes OFF (0).
  • Page 33: Connecting To Plc From Other Companies

    Communications with PLC by Direct Connection Section 1-4 Functions of the PT Status Control Area (PLC to NT20) The “PT status control area” is used to control the NT20 status. When data is written to this area in the PLC, the NT20 reads the contents and operates according to the contents.
  • Page 34: Communications Using Rs-232C (Nt20-St128)

    Section 1-5 Communications Using RS-232C (NT20-ST128) Communications Using RS-232C (NT20-ST128) This section gives a brief description of the NT20 control commands sent from the host through the RS-232C interface when the NT20-ST128 is used. For details on each of the commands sent through the RS-232C interface, refer toSECTION 6 Using RS-232C Communications.
  • Page 35: Before Operating

    Before Operating Section 1-6 Before Operating Follow the procedure given below to start the system of the NT20. Host NT Support Tool NT20 Set the host settings. Set the DIP switch pins. Install the NT Support Tool in the computer. (page 19) •...
  • Page 36 Section 1-6 Before Operating Refer to the following manuals for the equipment and software. Device or Software Manual Title Cat. No. NT20 User’s Manual V091-E1-@ System Installer NT-series Support Tool for Windows (Ver. 4.8) Operation Manual V061-E1-@ NT Support Tool NT-series Support Tool for Windows (Ver.
  • Page 37 Section 1-6 Before Operating...
  • Page 38: Hardware Settings And Connections

    SECTION 2 Hardware Settings and Connections This section describes the settings of the NT20, connections to a Host, and other hardware settings. Description of Parts and Settings ........2-1-1 Description of Parts .
  • Page 39: Description Of Parts And Settings

    Section 2-1 Description of Parts and Settings Note On unpacking the NT20 and peripheral devices, check their external appear- ance and confirm that there is no damage. Also confirm that there is no abnor- mal noise when you shake the PT lightly. Description of Parts and Settings Before getting to the operation, confirm the names and functions of parts.
  • Page 40: Operation Status Dip Switch Settings

    Section 2-1 Description of Parts and Settings 2-1-2 Operation Status DIP Switch Settings Set the NT20 operation status with the DIP switches located in the bottom right corner on the rear of the body. Switch # Function SW2-1 Screen data forced initialize effective/ineffective Note When this switch is ON, SW2-4, SW2-5 and SW2-6 must be OFF.
  • Page 41 Section 2-1 Description of Parts and Settings tion position. During work at the panel, take care to ensure that no metal scraps enter the unit.
  • Page 42: Installation

    Installation Section 2-2 Installation Install the NT20 to the operation panel and connect the power to the NT20 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 NT20 at sites subject to the following conditions. Otherwise, the product may malfunction.
  • Page 43: Installation To The Operation Panel

    Installation Section 2-2 2-2-2 Installation to the Operation Panel The NT20 can be flush mounted to an operation panel. Use the panel fittings and tools included in the product package and follow the procedure below. !Caution During work at the panel, take care to ensure that no metal scraps enter the unit.
  • Page 44: Power Supply Connection

    Section 2-2 Installation 2-2-3 Power Supply Connection Connect a 24 VDC power supply to the power input terminals. !Caution Carefully check the wiring before turning ON the power. !Caution Do not connect AC power to the DC terminals. Incorrect wiring may result in burning.
  • Page 45: Connecting Link Adapters And Rs-422A Converters

    Connecting Link Adapters and RS-422A Converters Section 2-3 Connecting Link Adapters and RS-422A Converters This section describes the installation of the NT-AL001 Link Adapter and CJ1W-CIF11 RS-422A Converter, including the external dimensions, proce- dure for mounting and removal, and specifications. Refer to this information when designing the control panel.
  • Page 46 Section 2-3 Connecting Link Adapters and RS-422A Converters Note The hood will have the same electrical potential as the connector on the other end of the cable. RS-422A/485 Terminal Block Signal RDA– RDB+ SDA– SDB+ Block Diagram SDB(+) SDA( -) SW.6 SW.3 SW.2...
  • Page 47 Section 2-3 Connecting Link Adapters and RS-422A Converters (3) When connecting to several devices using the four-wire method in a 1:N connection, set pin 6 to ON (with RS control). When connecting using the two-wire method, set pin 6 to ON (with RS control). Dimensions 38.8 18.2...
  • Page 48 Connecting Link Adapters and RS-422A Converters Section 2-3 • Connect the shield wire at both ends of the cable carrying RS-422A/485 signals to ground, and ground the ground terminal on the Power Supply Unit of the CPU or Expansion Rack to 100 Ω max. 1.
  • Page 49: Connecting An Nt-Al001 Link Adapter

    Section 2-3 Connecting Link Adapters and RS-422A Converters RS-422A/485 Cable Shield When using the CJ1W-CIF11 (with or without the NT-AL001), connect the sig- Connections nal lines, shields, and grounds as shown in the following diagram. CPU Rack CPU Unit Power or Commu- Supply nications...
  • Page 50 Section 2-3 Connecting Link Adapters and RS-422A Converters Dimensions The following diagram shows the dimensions of the NT-AL001 Link Adapter. All dimensions are in mm. 53.5 (2.11) 110 (4.33) om on NT-AL001-E 74.5 (2.93) 4 (0.16) 100.2 (3.94) (30) 105 (4.13) max. (1.18) 45 (1.77) 30 (1.18)
  • Page 51 Section 2-3 Connecting Link Adapters and RS-422A Converters Removal from a DIN Track Remove the End Plates from the right and left of the Link Adapter, insert a flat blade screwdriver into the catch at the bottom of the Link Adapter, and pull it down to release the catch.
  • Page 52 Section 2-3 Connecting Link Adapters and RS-422A Converters Item Specification Dielectric strength 1,500 VAC for 1 minute between the RS-422A termi- nal signal lines and the FG terminal Leakage current: 10 mA max. Operating environment No corrosive gases Vibration resistance Conforms to JIS C0911, 60 minutes each in X, Y, and Z directions Shock resistance...
  • Page 53 Section 2-3 Connecting Link Adapters and RS-422A Converters DIP Switch Settings The NT-AL001 Link Adapter has a 6-pin DIP switch that sets the RS-422A/ RS-485 communications conditions. Set the DIP switch before connecting the communications cable. (Factory settings) NT-AL001-E om on 1 2 3 4 5 6 SW1-1: Not used (always ON) SW1-2: Built-in terminator setting...
  • Page 54 Connecting Link Adapters and RS-422A Converters 4. When the Link Adapter is connected to a C200HX/HG/HE (-ZE), CQM1H, CS1G/H, CS1G/H-H, or CJ1G model of OMRON PLC as an RS-422A de- vice, set pins SW1-5 and SW1-6 as indicated below. SW1-5...
  • Page 55 Section 2-3 Connecting Link Adapters and RS-422A Converters Signal name Code Signal direction (RS-232C Device ⇔ Link Adapter) RS-232C Device ← Link Adapter Data terminal ready (shorted to DR internally) Signal ground Block Diagram The following diagram shows the internal block diagram of the NT-AL001 Link Adapter.
  • Page 56: Connecting The Nt Support Tool

    NT Support Tool are started. Recommended Connector Cable Use the cable indicated below. • CV500-CN228 (length: 2 m), made by OMRON (D-SUB 9-pin, male ⇔ D-SUB 25-pin, male) • XW2Z-S001 (conversion cable), made by OMRON (D-SUB 25-pin, female ⇔ half pitch 14-pin, male) •...
  • Page 57: Using A Memory Unit

    Section 2-5 Using a Memory Unit Using a Memory Unit This section explains how to use a Memory Unit with the NT20. By installing a Memory Unit (NT-MF261) on the NT20, the system program or the screen data in the NT20 can be recorded (backed up) in the Memory Unit. In addition, the system program or the screen data in the Memory Unit can be automatically read into the NT20 when it starts up.
  • Page 58: Installation Method

    Section 2-5 Using a Memory Unit 2-5-1 Installation Method Install the Memory Unit (NT-MF261) at the expansion interface connector at the rear of the NT20 as shown in the figure below. Mounting screws Screw hole 2-5-2 Method of Use As shown in the figure below, a Memory Unit has 2 four-pin DIP switches, and the operation is determined by the DIP switch settings at startup.
  • Page 59 Section 2-5 Using a Memory Unit Note The Memory Unit stores system program or screen data for one PT in each of Areas (bank 0, bank 1). (The total data storage is for two PTs.) SW2-3 sets which of these two banks is used for automatic transmission.
  • Page 60 Section 2-5 Using a Memory Unit 2. Turn the NT20 power ON. The screen data is automatically written into the Memory Unit. The screen data in the NT20 is preserved. The messages Preparing, Transmitting, Verifying, and Finished are dis- played on the screen according to the progress of data writing. At the same time, the progress of the data writing status is displayed by the means of the number of bytes and blocks (1 bank = 16 block = 1024k byte).
  • Page 61 Section 2-5 Using a Memory Unit Reference: • Setting SW2-4 to ON (System/Screen transmitted simultaneously) dis- ables the setting of SW1-4. • Setting SW2-4 to ON (System/Screen transmitted simultaneously) dis- ables the setting of SW2-3. In this case, the data transmission becomes possible only if the data inside Memory Unit is in either of following combi- nations.
  • Page 62 Using a Memory Unit Section 2-5 3. Press the Japanese or English touch switches to select the display lan- guage. The screen shown below is displayed. Current PT Screen Data, System The first line: System program name and version for the system program inside the PT.
  • Page 63 Using a Memory Unit Section 2-5 4. Press Execute. The messages Preparing, Transmitting, Verifying, and Finished are dis- played according to the progress of data transmission. At the same time, the progress of data transmitting status is displayed by the means of the number of bytes and blocks (1 bank = 16 block = 1024k byte).
  • Page 64 Section 2-5 Using a Memory Unit Error Probable Cause Remedial Action Verify error An error occurred during veri- Turn the NT20 power OFF, fication processing at the flash then back ON. If the error memory of the NT20 or the recurs, the flash memory at Memory Unit.
  • Page 65: Connecting To The Rs-232C Port At The Host

    PLCs. Direct Connection between RS-232C Ports with RS-232C Cable This is the easiest connection method. Depending on the host to which the connection is to be made, it may be possible to use OMRON cables with con- nectors. NT20 Host RS-232C cable (15 m max.)
  • Page 66 Section 2-6 Connecting to the RS-232C Port at the Host Units with Built-in Host Link CPU Units Connectable with Host Link Unit/ Connectable Series Function Host Link Units or Expansion Communications Communications Board Board C Series C200HS-CPU01/03/21/23/31/ C200H-LK201-EV1 C200HS 33-E C200HE C200HE-CPU11/32/42-E C200HE-Z...
  • Page 67 Section 2-6 Connecting to the RS-232C Port at the Host Settings at the Host When using the Host Link method, the settings shown below must be made at the host (depending on the Unit, some of these settings may not be neces- sary, or settings not shown here may be necessary).
  • Page 68 Connecting to the RS-232C Port at the Host Section 2-6 Connecting to a CVM1/CV- CVM1/CV-series Rack-mounted Unit: CV500-LK201 series Host Link Unit A CVM1/CV-series Host Link Unit (CV500-LK201) has two connectors (com- munications ports 1 and 2). Either of these ports can be used for connection to an NT20 by the RS-232C method.
  • Page 69 Section 2-6 Connecting to the RS-232C Port at the Host Setting the Front Switches • Unit # (SW3, SW4) When using communications port 2, set these switches to 0. Communications port 1 (RS-232C) • I/O port selection (selector switch) Set this to RS-232C. Communications port 2 (RS-232C/RS-422A) •...
  • Page 70 Section 2-6 Connecting to the RS-232C Port at the Host The following table shows the words allocated in the DM Area and the set- tings. m = DM30000 + 100 × unit number Allocated DM word Value Settings Port 1 Port 2 m+10 8000...
  • Page 71 Section 2-6 Connecting to the RS-232C Port at the Host Setting the Front Switches • Host Link Communications method (selector switch) Set this to RS-232C. • System setting (Pin 4) To effect the existing DIP switch settings, set SW4 to ON. To effect the existing PLC Setup, set pin 4 to OFF.
  • Page 72 Section 2-6 Connecting to the RS-232C Port at the Host PLC Setup Settings When connecting to a C200HS, C200HX/HG/HE(-Z)E, CPM1, CPM2A, CPM2C, CQM1, or CQM1H CPU Unit, or SRM1, set the following communi- cations conditions for the PLC Setup. Item Setting at Host Communications mode Host Link mode...
  • Page 73 Section 2-6 Connecting to the RS-232C Port at the Host C200HX/HG/HE(-Z)E: Serial Communications Board Port B Word Writing Value Settings DM6550 0001 Host Link mode, no CTS control Communications conditions set by the contents of DM DM6551 0303 Data length 7 bits, 2 stop bits, even parity, baud rate: 9,600 bps 0304 Data length 7 bits, 2 stop bits, even parity, baud rate:...
  • Page 74 Section 2-6 Connecting to the RS-232C Port at the Host C200HX/HG/HE(-Z)E CQM1 CQM1H RS-232C port communications condition setting Set pin 5 to OFF to make the settings made in PLC Setup effective. When using the CQM1H’s built-in peripheral port, turn ON SW7. Setting the Switches of a CPM2A When using a CPM2A, the switches on the front panel must be set as shown below in order to make the PLC Setup settings effective.
  • Page 75 Section 2-6 Connecting to the RS-232C Port at the Host CS/CJ-series CPU Units: CS1G/H-CPU@@-E (-V1) CS1G/H-CPU@@H CJ1G-CPU@@ Connect to the built-in RS-232C port of the CPU Unit, or the RS-232C port of the Communications Board. Note that the connection to a peripheral port must be made via an RS-232C Adapter (CS1W-CN118) specially designed for connecting to a peripheral port.
  • Page 76 Section 2-6 Connecting to the RS-232C Port at the Host Setting the Front Switches Set pins 4 and 5 of the CPU Unit DIP switch according to the port that the NT20 is connected to. CS1G/H, CS1G/H-H ERR/ALM PRPHL/COMM SYSMAC CS1G PROGRAMMABLE CONTROLLER CPU42 Peripheral port...
  • Page 77 Using the 1:1 NT Link Compatible Host Units Some models and series of OMRON PLCs have the 1:1 NT Link function built in. With CQM1H PLCs, a Serial Communications Board can be added to pro- vide 1:1 NT Link communications. Some C200HX/HG/HE(-Z)E CPU Units can be connected by the 1:1 NT Link by installing a Communications Board.
  • Page 78 Section 2-6 Connecting to the RS-232C Port at the Host The hosts that can be connected to the NT20 by the 1:1 NT Link using the RS-232C ports of both Units are indicated in the table below. PLC Series CPU Units with Built-in CPU Units Connectable Connectable to NT Link Function...
  • Page 79 Section 2-6 Connecting to the RS-232C Port at the Host Settings at the Host The setting methods for each Unit are as follows: Connecting to a C-series C200HS, C200HX/HG/HE(-Z)E, CPM1, CPM2A, CPM2C, CQM1, CQM1H, or SRM1 PLC Setup Settings Write the PLC Setup (in the DM Area) settings directly from a Programming Device (e.g., SYSMAC Support Software) according to the host model and port.
  • Page 80 Section 2-6 Connecting to the RS-232C Port at the Host C200HX/HG/HE(-Z)E CQM1 CQM1H RS-232C port communications condition setting Set pin 5 to OFF to make the settings made in PLC Setup effective. Setting the Switches of a CPM2A When using a CPM2A, the switches on the front panel must be set as shown below in order to make the PLC Setup settings effective.
  • Page 81 Using the 1:N NT Link Compatible Host Units The OMRON PLCs that can be connected using the 1:N NT Link are the CS- series (CS1G/H or CS1G/H-H), CJ-series CJ1G, C-series C200HX/HG/HE(- Z)E, CQM1H, and SRM1 only. With the CS/CJ-series PLCs, it is possible to connect a 1:N NT Link using a CS1W-SCU21 or CJ1W-SCU41 Serial Com- munications Unit.
  • Page 82 Section 2-6 Connecting to the RS-232C Port at the Host PLC Series CPU Units with Built-in CPU Units Connectable with Connectable NT Link Function Communications Board or Unit (See note 1.) C Series C200HE-CPU42-(Z)E C200HE-CPU32-(Z)E (See note 3.) C200HE (-Z)E C200HE-CPU42-(Z)E (See note 3.) C200HG-CPU43-(Z)E C200HG-CPU33-(Z)E (See note 3.)
  • Page 83 Section 2-6 Connecting to the RS-232C Port at the Host (3) When using a C200HE (-Z)E, the maximum PT unit number is 3. Refer to the PLC’s operation manual for details on changing PLC Setup set- tings. Setting the DIP Switches of a C200HX/HG/HE(-Z)E When using a C200HX/HG/HE(-Z)E, the DIP switches on the front panel must be set as shown below in order to make the settings in the PLC Setup (in the DM Area) effective.
  • Page 84 Section 2-6 Connecting to the RS-232C Port at the Host Either set PLC Setup directly from a Programming Device (Programming Con- sole), or transmit the PLC Setup made at a Programming Device (CX-Pro- grammer) to the CPU Unit. For details on PLC Setup ,refer to the SYSMAC CS Series Operation Manual (W339-E1-@) or SYSMAC CJ Series Operation Manual (W393-E1-@).
  • Page 85 Section 2-6 Connecting to the RS-232C Port at the Host CPU Unit Allocation DM Area Settings Setting is written from the Programming Device (a Programming Console or CX-Programmer) directly into the allocated DM Area (PLC Setup) of the CPU Unit. After the setting is written, it becomes effective by turning the power ON, restarting the Unit, restarting the communications port, or execution of the STUP instruction.
  • Page 86 Section 2-6 Connecting to the RS-232C Port at the Host Allocation DM Area Settings for CPU Unit Setting is written from the Programming Device (a Programming Console or CX-Programmer) directly into the allocated DM Area (PLC Setup) of the CPU Unit.
  • Page 87 Section 2-6 Connecting to the RS-232C Port at the Host Connecting CS/CJ-series CPU Units CS-series CPU Unit model: CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H CJ-series CPU Unit model: CJ1G-CPU@@ PLC Setup When connecting to a CS/CJ-series CPU Unit, set the following communica- tions conditions for the PLC Setup, according to the communications port to be used.
  • Page 88 Section 2-6 Connecting to the RS-232C Port at the Host CS1G/H, CS1G/H-H ERR/ALM PRPHL/COMM SYSMAC CS1G PROGRAMMABLE CONTROLLER CPU42 DIP switches (inside the battery storage) Peripheral port OPEN This is used mainly for • Set pin 4 to ON (establishing communications in MCPWR BUSY connection to the...
  • Page 89 Section 2-6 Connecting to the RS-232C Port at the Host The following table shows the words allocated in the DM Area and the set- tings. Allocated DM word Value Settings Port 1 Port 2 DM32000 DM32010 8200 1:N NT Link mode DM32001 DM32011 000A...
  • Page 90: Connecting Directly Between Rs-232C Ports

    Units come supplied with one connector and one connector hood. Check the required components and prepare them in advance. Name Model Remarks Delivered with Connector XM2A-0901 9-pin CS-series CS1G/CS1H, CS1G-H/CS1H-H Made by OMRON CJ-series CJ1G C-series CQM1, C200HS, C200HX/HG/HE(-Z)E, CVM1/CV-series CPU Units CV500-LK201 XM24-2501 25-pin CV500-LK201...
  • Page 91 Section 2-6 Connecting to the RS-232C Port at the Host OMRON Cables with Connectors The OMRON cables listed below can be used when connecting with a method other than the RS-232C communications method. Model Cable Length Connector Specification 9-pin ⇔ 25 pin...
  • Page 92 Connecting to the RS-232C Port at the Host Section 2-6 CQM1-CPU21-E CQM1-CPU41-EV1 CQM1-CPU42-EV1 CQM1-CPU43-EV1 CQM1-CPU44-EV1 CQM1H-CPU11 CQM1H-CPU21 CQM1H-CPU51 CQM1H-CPU61 CS1G-CPU42-E(V1) CS1G-CPU43-E(V1) CS1G-CPU44-E(V1) CS1G-CPU45-E(V1) CS1H-CPU63-E(V1) CS1H-CPU64-E(V1) CS1H-CPU65-E(V1) CS1H-CPU66-E(V1) CS1H-CPU67-E(V1) CS1G-CPU42H CS1G-CPU43H CS1G-CPU44H CS1G-CPU45H CS1H-CPU63H CS1H-CPU64H CS1H-CPU65H CS1H-CPU66H CS1H-CPU67H CJ1G-CPU44 CJ1G-CPU45 C200HS-CPU21-E, -EC C200HS-CPU23-E C200HS-CPU31-E C200HS-CPU33-E...
  • Page 93 Connecting to the RS-232C Port at the Host Section 2-6 NT20 Abbreviation Abbreviation number Shield Connector Connector hood hood RS-232C RS-232C interface interface (9-pin type)
  • Page 94: Communicating With The Plc Using C200H Direct Communications

    Communicating with the PLC Using C200H Direct Communications Communicating with the PLC Using C200H Direct Communications Connect an NT20-ST121-E and PLC made by OMRON with an I/O cable. 2-7-1 Applicable PLC Units Before making the connection, check the series and model of the PLC to which the connection is to be made.
  • Page 95 Communicating with the PLC Using C200H Direct Communications Section 2-7 Mounting the NT20-IF001 1. As shown in the following diagram, connect the NT20 connector on the back of the NT20-IF001 to the expansion interface connector on the NT20 2. After connecting the connector, secure the NT20-IF001 with the two screws.
  • Page 96 Section 2-7 Communicating with the PLC Using C200H Direct Communications I/O Connecting Cable Use the following models of I/O Connecting Cable. Model Cable Length (L) For connecting C200H/HS/HE/HG/HX C200H-CN311 30 cm NT20M-CNP711 70 cm C200H-CN711 NT20M-CNP221 C200H-CN221 NT20M-CNP521 C200H-CN521 NT20M-CNP131 10 m C200H-CN131 For connecting C@@H...
  • Page 97 Section 2-7 Communicating with the PLC Using C200H Direct Communications • There is only one C200H interface unit interface connector. This means that it is not possible to connect an NT20 between a CPU Rack and an Expansion I/O Rack. It must be the final connection in the system. CPU Rack Expansion I/O Rack Expansion I/O Cable...
  • Page 98: Turning The Power On/Off When Using C200H Direct Communications

    Communicating with the PLC Using C200H Direct Communications Section 2-7 • It is not possible to connect a C@@H I/O Unit after the NT20. It must be the final connection in the system. CPU Unit I/O Connecting Cable I/O Unit (C20H-CN@@2) I/O Connecting Cable I/O Unit...
  • Page 99 Section 2-7 Communicating with the PLC Using C200H Direct Communications ↓ Turn ON the power to the PLC. After “Connecting to Host” has been displayed for approximately 1 second, normal operation starts. Note (1) If the power to the PLC is turned ON first, the CPU Unit of the PLC is sub- jected to a system reset, making operations such as programming con- sole impossible.
  • Page 100: Host Connections By Rs-232C (Nt20-St128)

    Section 2-8 Host Connections by RS-232C (NT20-ST128) Host Connections by RS-232C (NT20-ST128) Connect the NT20-ST128 with an RS-232C Interface Unit installed to the host computer with an RS-232C cable. An RS-232C connection allows a single NT20 to be connected to the host. A computer or other control device with a built-in RS-232C interface is a suit- able host for connection to the NT20.
  • Page 101 Section 2-8 Host Connections by RS-232C (NT20-ST128) Connector Signal name Abbreviation Signal direction pin # NT20 ← → Host → +5 V output, 150 mA +5 V max. Signal ground SG (GND) Note Unlisted pins are not used. Note For cable parts and the wiring method, refer to Appendix C Transporting and Storing PTs on page 263.
  • Page 102: System Menu Operation

    SECTION 3 System Menu Operation This section describes the operation of the System Menu focusing on the procedure to start up the NT20. Functions which will be convenient to use the NT20 and those which are useful for the system maintenance are also explained here. Operation Flow by the System Menu .
  • Page 103: Operation Flow By The System Menu

    Section 3-1 Operation Flow by the System Menu Operation Flow by the System Menu Follow the procedure below when using the NT20 for the first time or when changing the system. Create the Screen Data Create the screen data to be displayed on the NT20 by using the Support Tool.
  • Page 104: Starting The Nt20

    Section 3-2 Starting the NT20 Starting the NT20 When the NT20 is started, it will enter the RUN mode if system settings and screen data registration have been completed. If no screen data has been registered or the screen data are destroyed, the System Menu will be dis- played.
  • Page 105: Operation Modes And The System Menu

    Section 3-3 Operation Modes and the System Menu Operation Modes and the System Menu The NT20 operates in either “RUN”, “Transmit”, or “Maintenance” mode. The operation modes can be changed 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 System Menu.
  • Page 106 Section 3-3 Operation Modes and the System Menu Host Link, NT Link, C200H SYSTEM MENU Direct Communications I/O CHECK MENU Quit COMM. CHECK MENU Transmit Mode (page 86) Quit Maintenance Mode Quit LED Check (page 105) Tool I/F Buzzer (page 104) Touch Switch (page 99) MAINTENANCE MENU Data Memory (page 106)
  • Page 107: Operations With The System Menu

    Section 3-3 Operation Modes and the System Menu 3-3-3 Operations with the System Menu The following gives the procedure to call the System Menu, select the menu items, and other operations with the System Menu. Make sure that DIP SW2-3 “Switch to the System Menu enabled/disabled” is set to OFF (enabled).
  • Page 108 Section 3-3 Operation Modes and the System Menu Selecting the Menu Items Press (touch) a menu item on the screen to select the item. Menu items allow to make the ON/OFF selection or to call subsequent menu or screen. Example 1 To call the “Maintenance mode menu”...
  • Page 109: Initializing Memory

    Section 3-4 Initializing Memory Initializing Memory If the NT20 is used for the first time or if the screen data is ruined and the NT20 cannot be normally started, the memory needs to be initialized. The memory initialization is required in the cases described below. •...
  • Page 110 Section 3-4 Initializing Memory Select “Init. Screen”. [ INITIALIZE MEMORY MENU ] Quit Init. Screen Select “Yes”. The screen data memory is Initialize Screen Memory? initialized. During the initial- ization, the “Initializing” mes- sage will be displayed. If “No” is selected, the mem- ory initialization will be can- celed and the NT20 returns to the “operation mode”.
  • Page 111: Initialization By Using The Dip Switch (Forced Initialization)

    Section 3-4 Initializing Memory 3-4-2 Initialization by Using the DIP Switch (Forced Initialization) Note Be sure to turn the power OFF before setting the NT20 DIP switch. Set the DIP switch as follows to initialize the screen data memory. 1,2,3... 1.
  • Page 112: Setting The Conditions Of Communications With The Host By Using The Memory Switches

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches Setting the Conditions of Communications with the Host by Using the Memory Switches The communications between the NT20 and a PLC/Host are called the host communications.
  • Page 113 Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches • NT Link (1:N) Method (2/2) [ MEMORY SW MENU ] (1/2) [ MEMORY SW MENU ] Quit Quit NT Link 1: N Automatic Reset Comm.
  • Page 114: Selecting The Host Communications Method

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches 3-5-1 Selecting the Host Communications Method The NT20 can be connected to a PLC by the Host Link, the NT link, or the C200H Direct communications. Either link can be selected by setting the “Comm.
  • Page 115: Selecting The Host Communications Port

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches 3-5-2 Selecting the Host Communications Port There are two communications ports in NT20. Either of them can be set for communications. But Port A can be set to communications with either the host (Host link, NT link 1:1, NT link 1:N, RS-232C) or Support Tool and Port B can only be set to communications with the host (Host link, NT link 1:1, NT link 1:N, RS-232C).
  • Page 116: Selecting The Host Link Communications Speed

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches 3-5-3 Selecting the Host Link Communications Speed When using the NT20 with the host link, the baud rate of the communications with the PLC can be set. Use the “Baud Rate” switch and select 9600 bps, 19200 bps, 38400 bps, 57600 bps, or 115200 bps.
  • Page 117: Selecting The Nt Link (1:N) Communications Speed

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches 3-5-4 Selecting the NT Link (1:N) Communications Speed When using the NT20 with the NT Link (1:N), the baud rate of the communica- tions with the PLC can be set. Use the “Comm. Speed” switch and select High or Standard.
  • Page 118: Selecting Unit Numbers

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches 3-5-5 Selecting Unit Numbers When using NT20 with the NT link (1:N) communications method, set unit numbers. When using NT link (1:N), unit numbers are used to identify each of the multi- ple PTs connected to a single PLC port.
  • Page 119: Selecting The Automatic Reset Function

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches Repeatedly pressing the (2/2) [ MEMORY SW MENU ] Quit “Unit No.” touch switch Automatic Reset cycles through the numbers Page that can be set. Unit No.
  • Page 120: Setting Rs-232C Communications Conditions (Nt20-St128)

    Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches Each time the “Automatic (2/2) [ MEMORY SW MENU ] Quit Reset” touch switch is Automatic Reset pressed, the setting option “Yes” alternates with “No”. Page Baud Rate 9600bps...
  • Page 121 Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches Select “Memory Switch”. [MAINTENANCE MENU] Quit DIP-SW Status PT Setting I/O Check Init. Memory Memory Switch [MEMORY SW MENU] (1/3) Quit Key Sound Page Buzzer Sound Bk light Off 10 min Tool Mode...
  • Page 122 Section 3-5 Setting the Conditions of Communications with the Host by Using the Memory Switches • Flow Control: None/RS/CS/XON/XOFF • Baud Rate: 2400 bps/4800 bps/9600 bps/19200 bps • LMP Bit Control: Enable/Disable Note 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 NT20.
  • Page 123: Registering The Screen Data

    Section 3-6 Registering the Screen Data Registering the Screen Data The screen data is created by using the Support Tool and registered to the NT20 screen data memory. This section describes the procedure to register the screen data to the NT20. For the screen data creation and the Support Tool operation, refer to the NT-series Support Tool Operation Manual (Cat.
  • Page 124 Section 3-6 Registering the Screen Data Note When screen data is transmitted to an NT20, it is written into a free area of the memory without overwriting the existing data. This means that if data trans- mission 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 impossi- ble.
  • Page 125 Section 3-6 Registering the Screen Data [ TRANSMIT MODE ] Tool → PT Screen Data 0 KB ABORT Tool Mode NT20S 6. When the screen data transmission is completed, the Support Tool will dis- play the following screen. 7. Press any key on the Support Tool to return to the File Selection screen. 8.
  • Page 126: Starting The Operation

    Section 3-7 Starting the Operation Starting the Operation After completing the screen data transmission and setting the communica- tions conditions, connect the NT20 to the Host and start operation. Switching to RUN Mode Press the Quit touch switch in the System Menu. The start-up screen in the RUN mode will be displayed.
  • Page 127: Various System Settings

    Section 3-8 Various System Settings Various System Settings The NT20 can set a variety of functions to the memory switches which are convenient during the operation. This section describes the memory switch settings related to the operation environment. 3-8-1 Setting the Key Press Sound Whether or not the key press sound is given when the NT20 touch switch is pressed can be set with the memory switch.
  • Page 128: Using The Buzzer

    Section 3-8 Various System Settings To set and quit the menu, press the [WRT & EXIT] touch switch. To quit with- out setting, press [Quit]. • ON: The key press sound will be given for 0.2 second when a touch switch is pressed.
  • Page 129 Section 3-8 Various System Settings Types of Buzzer Sounds The following buzzer sounds can be set. • Continuous sound: The buzzer continues to sound. • Intermittent sound: The buzzer sounds intermittently at constant intervals. Note If both the continuous buzzer and the intermittent buzzer are instructed by the Host, the continuous buzzer will sound.
  • Page 130: Backlight Off Function

    Section 3-8 Various System Settings To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit]. • OFF: The buzzer will not sound at all during the operation. • When “ON” is set, the buzzer will sound when a command is received from the host, when a screen for which the buzzer attribute is set is dis- played, and when errors occur.
  • Page 131: Language Function

    Section 3-8 Various System Settings Repeatedly pressing the [ MEMORY SW MENU ] (1/2) Quit “BK light Off” touch switch Comm. Type Host Link cycles through the setting options “10 min”, 1 hour, Page Key Sound and None, in that order. Buzzer Sound Bk light Off None...
  • Page 132: Support Tool Mode Setting (Nt20-St121-E)

    Various System Settings Section 3-8 (NT Link (1:N)) (2/2) [ MEMORY SW MENU ] Quit Automatic Reset Page Unit No. Comm. Speed Standard Comm. Port Port B & Language English EXIT DIP-SW2-2 is OFF. (Host link) (NT Link (1:1)) (2/2) (2/2) [ MEMORY SW MENU ] [ MEMORY SW MENU ]...
  • Page 133: Lamp Bit Control (Nt20-St128)

    Various System Settings Section 3-8 Set the Support Tool mode by the menu operation from the system menu shown below. Select “Maintenance Mode”. [ SYSTEM MENU ] Quit Transmit Mode Maintenance Mode Select “Memory Switch”. [ MAINTENANCE MENU ] Quit DIP-SW Status PT Setting I/O Check...
  • Page 134 Section 3-8 Various System Settings Set the lamp bit control function by the menu operation from the System Menu as described below. Select “Maintenance Mode”. [ SYSTEM MENU ] Quit Transmit Mode Maintenance Mode Select “Memory Switch”. [ MAINTENANCE MENU ] Quit DIP-SW Status PT Setting...
  • Page 135 Various System Settings Section 3-8 Each time the “LMP Bit Con- [MEMORY SW MENU] (3/3) trol” touch switch is pressed, Quit LMP Bit Control the setting option “Enable” Enable alternates with “Disable”. Page Comm. Port Port B Language English & EXIT To set and quit the menu, press the [WRT&EXIT] touch switch.
  • Page 136: System Maintenance

    Section 3-9 System Maintenance System Maintenance The NT20 has the self maintenance functions such as I/O check and setting status check. 3-9-1 I/O Check The I/O operations for the following items of the NT20 are checked by the I/O check function. •...
  • Page 137 Section 3-9 System Maintenance A panel of 6-row x 12-column touch switches, each switch sized 1 x 1 cm, will be displayed. "EXIT" switch to exit the touch switch check menu. The touch switch is normal if it is highlighted while it is pressed. •...
  • Page 138 System Maintenance Section 3-9 Select “Comm. Check”. [ I/O CHECK MENU ] Quit LCD Display LED Check Comm. Check Buzzer Touch Switch Data Memory Select “Tool I/F”. [ COMM. CHECK MENU ] Quit Tool I/F The data received from the [ TOOL I/F INPUT CHECK ] connected Support Tool are displayed in hexadeci-...
  • Page 139 Section 3-9 System Maintenance Select “I/O Check”. [ MAINTENANCE MENU ] Quit DIP-SW Status PT Setting I/O Check Init. Memory Memory Switch Select “Comm.Check. [ I/O CHECK MENU ] Quit LCD Display LED Check Comm. Check Buzzer Touch Switch Data Memory [ COMM.
  • Page 140 Section 3-9 System Maintenance Select “Maintenance Mode”. [ SYSTEM MENU ] Quit Transmit Mode Maintenance Mode Select “I/O Check”. [ MAINTENANCE MENU ] Quit DIP-SW Status PT Setting I/O Check Init. Memory Memory Switch Select “LCD Display”. [ I/O CHECK MENU ] Quit LCD Display LED Check...
  • Page 141 Section 3-9 System Maintenance Select “I/O Check”. [ MAINTENANCE MENU ] Quit DIP-SW Status PT Setting I/O Check Init. Memory Memory Switch Select “Buzzer”. [ I/O CHECK MENU ] Quit LCD Display LED Check Comm. Check Buzzer Touch Switch Data Memory •...
  • Page 142 System Maintenance Section 3-9 Select “LED Check”. [ I/O CHECK MENU ] Quit LCD Display LED Check Comm. Check Buzzer Touch Switch Data Memory The “RUN” LED on the front face of the NT20 will flash. Flashing cycle is about 1 s (500 ms ON and 500 ms OFF).
  • Page 143: Checking The Pt Setting

    In that case, initialize the screen data memory and check the mem- ory again. If the same error message is displayed again, consult the OMRON Service Center. 3-9-2 Checking the PT Setting Display the NT20 settings by using the menu operation from the System Menu as described below.
  • Page 144 Section 3-9 System Maintenance Select “PT Setting”. [ MAINTENANCE MENU ] Quit DIP-SW Status PT Setting I/O Check Init. Memory Memory Switch (Host link) (NT Link (1:1)) [ PT SETTING ] [ PT SETTING ] PT Control Area DM0000 PT Control Area DM0000 PT Notify Area DM0010...
  • Page 145: Checking The Nt20 Dip Switch Settings

    System Maintenance Section 3-9 3-9-3 Checking the NT20 DIP Switch Settings Display the NT20 DIP switch settings by using the menu operation from the System Menu as described below. [ SYSTEM MENU ] Select “Maintenance Mode”. Quit Transmit Mode Maintenance Mode Select “DIP-SW Status”.
  • Page 146 Section 3-9 System Maintenance Note If the DIP switch settings have been changed when the NT20 is powered, reset the power to the NT20. The changes with the DIP switches become effective only after the power supply is reset.
  • Page 147: 3-10 Transferring The System Program

    Section 3-10 Transferring the System Program 3-10 Transferring the System Program The system program of the NT20 can be changed by the System Transfer Tool. The system transfer tool is automatically installed in the personal computer when the NT20 support tool is installed. For details on how to start up the System Transfer Tool, and the system trans- fer tool operation, refer to the NT-series Support Tool Operation Manual (V061-E1-@).
  • Page 148 Transferring the System Program Section 3-10 [System Installer V1.00] -Download System Program- Downloading… Abort 6. When transfer of the system program has been completed, the NT20 will display the screen shown below. [System Installer V1.00] -Download System Program- Downloading is completed Run System 7.
  • Page 149 Section 3-10 Transferring the System Program [System Installer V1.00] aller V1.00] Exit -Download System Program- Erase system program. Are you sure? 2. Press the Exit key if you want to quit without erasing the program. If you do want to erase the program, press Yes Button. This will start erasure of the program.
  • Page 150: 3-11 Transferring The Resource Data

    Section 3-11 Transferring the Resource Data 3-11 Transferring the Resource Data The resource data of the NT20 can be changed using the System Transfer Tool. The System Transfer Tool is automatically installed in the personal computer when the NT20 Support Tool is installed. For details on how to start up the System Transfer Tool, and the System Transfer Tool operation, refer to the NT-series Support Tool Operation Manual (V061-E1-@).
  • Page 151 Section 3-11 Transferring the Resource Data When the NT20 starts reception, the screen shown below will be dis- played. [ Download Resource ] Downloading ABORT 6. When transfer of the system program has completed, the NT20 will be dis- plays the screen shown below. Downloading is completed.
  • Page 152 Section 3-11 Transferring the Resource Data [ Resource Transmit ] Erase resource Download resource 2. If you do want to erase the resource data, press the Erase resource But- ton. The following screen will be displayed. Erase resource? 3. Press the No Button if you want to quit without erasing the resource data. If you do want to erase the resource data, press the Yes Button.
  • Page 153 Section 3-11 Transferring the Resource Data...
  • Page 154: Nt20 Functions And Operation

    SECTION 4 NT20 Functions and Operation This section describes the functions of the NT20. Screen Creation Procedure ........Outline of Functions .
  • Page 155: Screen Creation Procedure

    Section 4-1 Screen Creation Procedure 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.
  • Page 156 Section 4-1 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.
  • Page 157: Outline Of Functions

    Section 4-2 Outline of Functions Outline of Functions 4-2-1 NT20 Screen This section gives the outline of the screen which is the basis of all NT20 func- tions. 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.
  • Page 158: Characters And Figures Which Can Be Displayed

    Section 4-2 Outline of Functions 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).
  • Page 159: Communications With The Host

    Section 4-2 Outline of Functions • 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 nor- mal display.
  • Page 160 Section 4-2 Outline of Functions 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 •...
  • Page 161: Screen Display

    Section 4-3 Screen Display 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...
  • Page 162 Screen Display Section 4-3 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.
  • Page 163: Screen Attributes

    Screen Display Section 4-3 Production Status Line A: Normal Line B: Normal 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.
  • Page 164 Section 4-3 Screen Display • Touch SW:Bit control when a touch switch is pressed is valid. Notification of the status of the touch switch is provided using bit informa- tion. Backlight Attributes 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: •...
  • Page 165: Memory Tables

    Memory Tables Section 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.
  • Page 166: Numeral Memory Table

    Section 4-4 Memory Tables Normal size 8 x 16 Alphanumerics and 32 characters x 8 lines characters symbols (256 characters) 16 x 16 GB2312 16 characters x 8 lines (128 characters) Marks 16 x 16 Create by using the Support Tool •...
  • Page 167 Section 4-4 Memory Tables The characters enlarged to the x4 scale or larger are displayed with the outline auto- matically smoothed. This function is called “smoothing”. • Display attribute: Normal, reverse, flashing, reverse and flashing • Sign display setting • Decimal/hexadecimal display setting •...
  • Page 168: Bar Graphs

    Bar Graphs Section 4-5 Bar Graphs The contents of the numeral memory table entries of the NT20 can be dis- played 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.
  • Page 169 Section 4-5 Bar Graphs Set a value which corresponds to 100 % for the “100 % value”. The avail- able value range is “0 to 99999999” (eight digits max.). For the “% display”, whether or not the proportion (percentage) of the reference numeral mem- ory table value to the “100 % value”...
  • Page 170 Section 4-5 Bar Graphs 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 di- rection as shown above. 3.
  • Page 171: Lamps

    Section 4-6 Lamps 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.
  • Page 172 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 OMRON Memory table Lamp lit. entry changed. Lamp String memory table...
  • Page 173: Touch Switches

    Section 4-7 Touch Switches 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”...
  • Page 174: Functions Of Touch Switches

    Section 4-7 Touch Switches 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.
  • Page 175: Screen Switching Function

    Section 4-7 Touch Switches 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...
  • Page 176 Section 4-7 Touch Switches ➡ 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. , and keys are not displayed among the system numeric keys. Accordingly, when using the system numeric keys, create the , and keys.
  • Page 177: Numeral Setting

    Section 4-8 Numeral Setting 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 mem- ory table entries in response to touch switch operations, displays these numerical values on the screen, and sends them to the host.
  • Page 178: Types Of Numeral Setting

    Section 4-8 Numeral Setting If a sign is displayed when using the thumbwheel type of numeral set- ting, the maximum number of digits for both positive and negative num- bers is 7. • Decimal Point A maximum of 7 digits can be input after the decimal point (or 6 for negative numbers).
  • Page 179: Creating Numeric Keys

    Section 4-8 Numeral Setting 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.
  • Page 180 Section 4-8 Numeral Setting 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 cre- ated by using the control keys of the “input key”...
  • Page 181: Using Numeric Keys

    Section 4-8 Numeral Setting 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 num- bered 227 to 255 cannot be used as normal touch switches on a numeral set- ting screen.
  • Page 182: Using The Thumbwheel Type Of Numeral Setting

    Section 4-8 Numeral Setting 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.
  • Page 183: Settings For Numeral Settings

    Section 4-8 Numeral Setting 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 nu- meric key type of numeral setting.
  • Page 184 Section 4-8 Numeral Setting Set the number of digits in the numerical values that can be input. A max- imum 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 neg- ative values will be seven.
  • Page 185 Section 4-8 Numeral Setting...
  • Page 186: How To Use The Host Link/Nt Link

    SECTION 5 How to Use the Host Link/NT Link This Section describes in concrete terms how to use the Host link/NT link communications with the NT20. Overview of Direct Connection Operations ......5-1-1 Equipment and Settings Used in This Section .
  • Page 187: Overview Of Direct Connection Operations

    When the host link/NT link is used, the following bits and words are allocated to the PLC and used for the NT20 operation. The range of respective area varies with the type of PLC. The allocations must be made without exceeding respective area range. OMRON PLCs Symbol CS/CJ Series PLCs Area Name...
  • Page 188: Nt20 Status Control And Notification To Plc

    Section 5-1 Overview of Direct Connection Operations Symbol C Series PLCs CVM1/CV Series PLCs Area Name Allocated Allocated Word Area Name Allocated Allocated Word Numeral Character Numeral Character String String ❍ ❍ ❍ ❍ ❍ ❍ None IR Area CIO Area ❍...
  • Page 189 Section 5-1 Overview of Direct Connection Operations 3. The NT20 changes the display status according to the bits and words ob- tained from the PLC. NT20 Operation Example NT20 Lamp #0 Bit 010012 Bit 010012? TIM003? DM0100 to DM0102? ("a", "b") ("c", "d") ("e", "f") Numeral memory table entry 0...
  • Page 190 Section 5-1 Overview of Direct Connection Operations 15 14 13 12 11 10 9 8 Bit Item Controlled 1 (ON) 0 (OFF) Screen display (Note 1) Processing priority registration (Note 2) Continuous buzzer Intermittent buzzer Backlight mode Flash Note 1: When "ON" is set for screen display, the backlight is on;...
  • Page 191 Section 5-1 Overview of Direct Connection Operations Notification of the Display Elements by Using Allocated Bits and Words The NT20 will operate as follows in the display element notification operation. NT20 Operation The NT20 will write any changes in the contents of the numeral or character- string memory table entry being displayed or pressing of a touch switch to the bits and words area in the PLC.
  • Page 192 Overview of Direct Connection Operations Section 5-1 PT status notify bits 15 14 13 12 11 10 9 8 Bit Word m+2 PT operation status (1 (ON): RUN / 0 (OFF): STOP) Screen switching strobe Numeral setting strobe flag The PT status control area (PLC to PT) can be allocated to the following PLC areas.
  • Page 193: Switching The Screen Display

    Overview of Direct Connection Operations Section 5-1 (4) When NT link (1:N) is set, the PT status control area must be set for each connected PT. 5-1-4 Switching the Screen Display The following describes the procedure used to switch the NT20 screen display by controlling from the PLC.
  • Page 194 Section 5-1 Overview of Direct Connection Operations ❍ EM Area EM Area Not for EM Area Not for (See note 2.) Current bank Host Link Current bank Host Link E0_to EC_ EM Area Not for EM bank 0 to C Host Link ❍: OK ×...
  • Page 195: Notifying The Plc Of The Display Screen

    Overview of Direct Connection Operations Section 5-1 Create a PLC ladder program as follows: 00002 @MOV(21) #0002 Screen number Screen switch setting word 00003 @MOV(21) #0003 Screen number Screen switch setting word 11212 @MOV(21) Screen number Screen switch setting word Screen switch strobe flag •...
  • Page 196 Section 5-1 Overview of Direct Connection Operations Currently Displayed Screen and PT Status Words in the PT Status Notify Area 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit Word Screen number (4-digit BCD) Screen switch setting PT status PT status...
  • Page 197 Section 5-1 Overview of Direct Connection Operations 2. Create a PLC program to read the “currently displayed screen word” in the in the PT status notify area when the “screen switch strobe flag” in the PT status notify area has turned ON. Note The contents of the “currently displayed screen word”...
  • Page 198: Memory Tables And Bar Graphs

    Memory Tables and Bar Graphs Section 5-2 Memory Tables and Bar Graphs Displaying and Referencing Character String Memory Table Contents Since the character-string memory table entries can be allocated to the words in the PLC, the PLC can write data to the character-string memory table entries or the initial values can be set when creating the screen data.
  • Page 199 Section 5-2 Memory Tables and Bar Graphs Setting the Words of the Character-String Memory Table When creating the screen data by using the Support Tool, make the following settings for each numbered character string: • Initialization Setting Set whether or not the PLC words are initialized with the character-string memory table initial value registered to the screen data memory when the main power supply is turned ON or reset.
  • Page 200 Section 5-2 Memory Tables and Bar Graphs Also, by relating the numeral memory table entries with the bar graphs, the bar graphs corresponding to the data of the numeral memory table entries can be displayed. During the operation, the display contents are automatically updated so that the contents of the numeral memory table entry being displayed are the same as that of the PLC word.
  • Page 201: Displaying The Contents Of Allocated Words Of Memory Table Entries

    Section 5-2 Memory Tables and Bar Graphs • Initialization Setting Set whether or not the PLC words are initialized with the numeral memory table initial value registered to the screen data memory when the main power supply is turned ON or reset. •...
  • Page 202 Section 5-2 Memory Tables and Bar Graphs Stored as a Single Word Digit 4 Digit 3 Digit 2 Digit 1 Example: 1234 Stored as a Double Word Word Start Digit 4 Digit 3 Digit 2 Digit 1 Start+ 1 Digit 8 Digit 7 Digit 6 Digit 5...
  • Page 203: Changing Displayed Numerals Or Character Strings

    Section 5-2 Memory Tables and Bar Graphs Numeral Memory Table Display Examples • When the Data Is Numeral Data (0 to 9) Decimal without sign 123456 Start −123456 Decimal with sign Hexadecimal F0123456 Start + 1 • When the Data Contains Characters (A to F) Decimal without sign 123B56 Start −123B56...
  • Page 204 Section 5-2 Memory Tables and Bar Graphs To change the numerals or character strings displayed on the NT20, make changes with the numeral or character-string memory table. To make changes with the numeral or character-string memory table of the NT20, change the contents of words by the PLC.
  • Page 205: Changing Displayed Numerical Values Or Character Strings (Changing The Contents Of Allocated Words

    Section 5-2 Memory Tables and Bar Graphs Create a PLC ladder program as follows: 25502 (1 second clock) DIFU(13) 00100 00100 INC(38) DM0000 Word for least significant 4 digits of #1 25506 (=) INC(38) DM0001 Word for most significant 4 digits of #1 00001 @INC(38) DM0002...
  • Page 206 Section 5-2 Memory Tables and Bar Graphs Here, the method for changing the display using method 1) is explained. For details on method 2), refer to the explanations on direct specification on page 182 and 5-2-4 Copying Memory Table Entries on page 186. NT20 Indirect numeral memory Allocated word (numeral...
  • Page 207: Copying Memory Table Entries

    Section 5-2 Memory Tables and Bar Graphs Numeral memory table entry number 51: DM 0000 (number of regis- tered words: 1) Character string memory table entry number 100: “NT610G” (6 digits) Character string memory table entry number 101: “NT610C” (6 digits) Character string memory table entry number 102: “NT20 ”...
  • Page 208 Section 5-2 Memory Tables and Bar Graphs NT20 Memory table PT status control area copy source Screen switch setting Copy source number Copy memory table setting Copy destination number Copy destination PT status control setting (for display) Write a memory table entry number to the copy memory table setting area in the PT status control area in the PLC memory.
  • Page 209 Section 5-2 Memory Tables and Bar Graphs Since the AR area bits of the CVM1/CV series PLCs are allocated to the sys- tem, they cannot be used for purposes other than the system use. Note (1) LR 00000 to LR 00199 are converted to CIO 01000 to CIO 01199. (2) The EM Area is supported only by the C200HX/HG/HE-(Z)E PLCs.
  • Page 210: Upgrading Bar Graphs (Changing The Contents Of Allocated Words)

    Section 5-2 Memory Tables and Bar Graphs Contents registered to the screen: Character-string memory table entry #4 Line 1 Normal Character-string memory table entry #4 Character-string memory table settings Contents Number of Character Digits Normal 6 digits Error 6 digits Normal 6 digits •...
  • Page 211 Section 5-2 Memory Tables and Bar Graphs By writing a negative number (whose most significant digit is “F”) to the allo- cated word of a graph set as “Sign display “No””, the graph display will become 0 % and the % display will show “ %”.
  • Page 212: Lamps, Touch Switches, Numeral Setting

    Section 5-3 Lamps, Touch Switches, Numeral Setting Lamps, Touch Switches, Numeral Setting 5-3-1 Allocation Bits and Display of Lamps Lamps are controlled by allocating them to the PLC bits. Set the area and bit number. • Available Allocation Bits The lamps can be allocated to the following PLC areas: Symbol C-series Alloca-...
  • Page 213: Turning On (Lit) And Off (Unlit) The Lamps

    Section 5-3 Lamps, Touch Switches, Numeral Setting 5-3-2 Turning ON (Lit) and OFF (Unlit) the Lamps (Changing the Contents of Allocated Bits) The following describes the procedure to change the lamp display status on the NT20 by changing the contents of the allocated bits. To change the lamp display status on the NT20, turn ON and OFF the lamp control bit allocated in the PLC.
  • Page 214: Allocated Bits And Display Of Touch Switches

    Section 5-3 Lamps, Touch Switches, Numeral Setting Raise: Lamp#0 Line 1 Process 3 Lower: Lamp#1 Counterclockwise: Lamp#2 Clockwise: Lamp#3 Conveyor Loading Robot Arm Clamp: Lamp#4 Unclamp: Lamp#5 CLAMP CLOCK CLOCK UNCLAMP DOWN • PLC Ladder Program No PLC ladder program is required to control the NT20. Only a program to control the robot arm movements is required.
  • Page 215 Section 5-3 Lamps, Touch Switches, Numeral Setting Each time the touch switch is pressed, the bit status changes from ON to OFF or OFF to ON. • Set When the touch switch is pressed, the bit comes ON and remains ON even if the switch is pressed again.
  • Page 216: Lit (Flashing) And Unlit Touch Switch Status

    Section 5-3 Lamps, Touch Switches, Numeral Setting × × × TC Area TC Area TC Area Counter PVs Counter PVs Counter PVs × TC area, Counter Completion Flags Not for Host Link × Task Flags ❍ ❍ ❍ DM Area DM Area DM Area ❍...
  • Page 217: (Determining Touch Switch Status)

    Section 5-3 Lamps, Touch Switches, Numeral Setting 5-3-5 Notifying the Host That a Switch Has Been Pressed (Determining Touch Switch Status) This section describes how the status of a touch switch (whether it has been pressed or not) is ascertained. With the NT20, when a touch switch is pressed, the notify bit allocated to that touch switch in the PLC memory is automatically updated.
  • Page 218 Section 5-3 Lamps, Touch Switches, Numeral Setting The range of each memory area differs according to the PLC type. Note (1) LR 00000 to LR 00199 are converted to CIO 01000 to CIO 01199. (2) The EM Area is supported only by the C200HX/HG/HE-(Z)E PLCs. When making a data memory (DM) specification, specify the bit number (00 to 15) following the word number.
  • Page 219 Section 5-3 Lamps, Touch Switches, Numeral Setting Example of Determination of Touch Switch Status This example uses the touch switches as normal switches (bits) in order to use the NT20 as an operating panel. • Support Tool Settings Make the following settings using the Support Tool. Touch switch #10: Function “Notify Bit”...
  • Page 220: Notification Of Numbers To The Plc

    Section 5-3 Lamps, Touch Switches, Numeral Setting • Program Operation The operation when the program is executed is presented below. Execute program Stop flag 1 (ON) Stop touch switch : Press Run touch switch. Press Stop touch switch. Run flag 1 (ON) Run flag : 0 (OFF)
  • Page 221 Section 5-3 Lamps, Touch Switches, Numeral Setting Upgraded Memory Table Entry in the PT Status Notify Area and PT Status 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit Word Numeral memory table entry # (BCD, 3 digits) Upgraded memory table entry PT status PT status...
  • Page 222 Section 5-3 Lamps, Touch Switches, Numeral Setting 1. Use the Support Tool to allocate the PT status notify area (PT → PLC) to 1,2,3... the PLC memory. 2. Using the Support Tool, create a numeral setting screen and allocate the numeral memory table entry to the PLC memory.
  • Page 223 Section 5-3 Lamps, Touch Switches, Numeral Setting In this case, the contents of numeral memory table entry #3 is stored in DM 0005 and the contents of numeral table entry #4 is stored in DM 0006.
  • Page 224: Nt20 Status Control

    Section 5-4 NT20 Status Control NT20 Status Control The status of the NT20 can be controlled from the PLC by writing control data to the “PT status control bits” of the PT status control area allocated in the PLC memory. NT20 Screen off PT status control area...
  • Page 225 Section 5-4 NT20 Status Control Note that if the screen is OFF by the backlight OFF or EL screen OFF func- tion with Bit 15 ON (1), turn Bit 15 OFF (0) once and then turn it back ON (1) to redisplay the screen. Note Instead of turning Bit 15 ON, a screen can be displayed by specifying its screen number.
  • Page 226: How To Control Nt20 Functions

    Section 5-4 NT20 Status Control • Continuous Buzzer (Bit 13) and Intermittent Buzzer (Bit 12) In the case of both buzzers, when the respective bit is ON the buzzer sounds and when it is OFF the buzzer does not sound. The “continuous buzzer”...
  • Page 227 Section 5-4 NT20 Status Control × TC area, Timer Completion Flags × × × TC Area TC Area TC Area Counter PVs Counter PVs Counter PVs × TC area, Counter Completion Flags Not for Host Link × Task Flags ❍ ❍...
  • Page 228 Section 5-4 NT20 Status Control 09002 09003 @MOV(21) #A000 Display screen, sound buzzer continuously PT status control word 09003 @MOV(21) #9000 Display screen, sound buzzer intermittently PT status control word 09002 09003 @ANDW(34) PT status control word "0" set for continuous and intermittent buzzer #CFFF sounds only PT status control word...
  • Page 229: Notification Of The Operating Status To The Plc (Determining The Nt20 Operating Status)

    Section 5-5 Notification of the Operating Status to the PLC (Determining the NT20 Operating Status) Notification of the Operating Status to the PLC (Determining the NT20 Operating Status) The status (operating status, etc.) of the NT20 can be determined from the PLC by reading the “PT status”...
  • Page 230: Reading The Nt20 Operating Status

    Section 5-5 Notification of the Operating Status to the PLC (Determining the NT20 Operating Status) • Screen Switch Strobe Flag (Bit 12) When the screen displayed on the NT20 is switched by a designation from the PLC or by the standalone function, the screen switch strobe flag comes ON (1).
  • Page 231 Section 5-5 Notification of the Operating Status to the PLC (Determining the NT20 Operating Status) Since all the CVM1/CV-series AR area bits are allocated to the system, they cannot be used for applications not related to the system. The range of each memory area differs according to the PLC type. Note (1) LR 00000 to LR 00199 are converted to CIO 01000 to CIO 01199.
  • Page 232: Using Rs-232C Communications

    SECTION 6 Using RS-232C Communications This section describes how to carry out communications via the RS-232C interface used with the NT20-ST128, focusing on the commands. Table of Commands ..........RS-232C Communications .
  • Page 233: Table Of Commands

    Table of Commands Section 6-1 Table of Commands Operating Commands Type Command Name Page Screen control [ESC] 0 Display Specified Screen. [ESC] X Request Screen Number. Memory table operation [ESC] B Write Character-string Memory Table. [ESC] C 4-digit Write Numeral Memory Table [ESC] D 8-digit Write Numeral Memory Table [ESC] /...
  • Page 234: Rs-232C Communications

    Section 6-2 RS-232C Communications RS-232C Communications This section describes the communications procedure when using the NT20- ST128 (RS-232C), and program flow using examples in BASIC. Communications 6-2-1 Procedure The Host and NT20 communicate according to the following procedure. 1,2,3... 1. The RS-232C circuit must be opened (i.e., communications enabled) be- fore communications can start.
  • Page 235: Precautions

    RS-232C Communications Section 6-2 Notification of Operation at NT20 to the Host Host program NT20 operation Notification operating command Receive notification Send notification command Operation by Terminal The terminal commands allow the NT20 to be used as a terminal of the Host Commands to display text and graphics independently of the screens stored in the NT20.
  • Page 236 Section 6-2 RS-232C Communications Interval between As a small number of bytes is transmitted by the Host, the interval between Transmitted Commands transmissions should not exceed 5 seconds if a command is divided up for transmission. A timeout error occurs if the interval between transmissions exceeds 5 seconds.
  • Page 237: Screen Display

    Section 6-3 Screen Display Screen Display This section describes the commands for switching the screen display of the NT20S and the commands for ascertaining the screen number of the screen currently displayed by the NT20. The displayed screen can be also switched by pressing a touch switch for which the screen number of the screen to be displayed has been registered.
  • Page 238 Screen Display Section 6-3 Screen Number Response Format [ESC] [CR] : Number of displayed screen (4-digit hexadecimal) 000 to 1F4 (0 to 500) Description • The NT20 returns this command to report the currently displayed screen number to the Host in response to the Request Screen Number Com- mand (refer to Screen Number Response) sent from the Host.
  • Page 239: Memory Tables

    Section 6-4 Memory Tables Memory Tables This section explains the commands used for memory table operations. To change the contents of a character string memory table entry, use the Write Character-string Memory Table Command. To change the contents of a numeral memory table entry, use a Write Numeral Memory Table Command.
  • Page 240 Section 6-4 Memory Tables Four-digit Write Numeral Memory Table Format [ESC] Numeral memory table entry number of write destination (3-digit hexadecimal) 000 to 07F (0 to 127) : Number data (4-digit BCD or 4-digit hexadecimal) Description • Writes the 4-digit number data (decimal or hexadecimal) to the specified numeral memory table.
  • Page 241 Section 6-4 Memory Tables Copy Memory Table Format [ESC] : Type of memory table 0 (30 ): Character-string memory table 1 (31 ): Numeral memory table : Copy source memory table entry number 000 to 127 (3-digit BCD) : Copy destination memory table entry number 000 to 127 (3-digit BCD) Description Copies the contents of the copy source memory table entry to the copy desti-...
  • Page 242: Lamps, Touch Switches, Numeral Setting

    Lamps, Touch Switches, Numeral Setting Section 6-5 Lamps, Touch Switches, Numeral Setting This section describes the commands for operating the lamps, touch switches. In order to change the display status (lit (flashing) or unlit) of a lamp or touch switch, use the Lamp and Touch Switch Display Commands. There are two such commands, one for bit specification and the other for number specifica- tion.
  • Page 243 Lamps, Touch Switches, Numeral Setting Section 6-5 Example 1: Touch switches are set at positions A, B, C, and D using the minimum switch setting unit. • If switches A, B, and C are turned ON at the same time, switch D is also set ON. •...
  • Page 244 Section 6-5 Lamps, Touch Switches, Numeral Setting 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)
  • Page 245: Notification Of Numeral Setting Input And Touch Switch Status

    Lamps, Touch Switches, Numeral Setting Section 6-5 Specify the display status as 3 (all not lit) to turn off all the lamps and touch switches. In this case, specify the lamp or touch switch number to any number in the permitted range. !Caution The display attributes set with the Support Tool determine if lamps #0 to #31 light continuously or flash.
  • Page 246 Section 6-5 Lamps, Touch Switches, Numeral Setting When a touch switch is pressed, the NT20 sends a Touch Switch Number Output Command or Touch Switch Bit Output Command to the host. The command sent depends on the set screen attributes. Four-digit Number Input Notify Format [ESC]...
  • Page 247 Section 6-5 Lamps, Touch Switches, Numeral Setting Touch Switch Number Output (from NT20 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.
  • Page 248: Controlling The Nt20 Status

    Controlling the NT20 Status Section 6-6 Controlling the NT20 Status This section describes the actual methods used for controlling the NT20 sta- tus. The Screen Display Control Command is used to operate the back light of the NT20 (i.e., switch it on and off). The Buzzer Control Command is used to control the buzzer status of the NT20.
  • Page 249 Section 6-6 Controlling the NT20 Status Buzzer Control Format [ESC] : Buzzer status 0 (30 ): Buzzer off 1 (31 ): Continuous buzzer 2 (32 ): Short intermittent buzzer Description Controls the NT20 buzzer. Reference: The buzzer turned on with this command can be stopped with a Buzzer con- trol command, press the “buzzer stop”...
  • Page 250: Terminal Commands

    Section 6-7 Terminal Commands Terminal Commands This section describes the terminal commands used to display character strings or graphics according to instructions from the host, independently of the screens registered in the NT20. Terminal commands designate screen attributes such as inversion, flashing, cursor position and size of characters before the characters are displayed.
  • Page 251 Section 6-7 Terminal Commands Specify Character Enlargement Format [ESC] : Character enlargement 0 (30 ): No enlargement 1 (31 ): Enlarge height x 2 2 (32 ): Enlarge width x 2 3 (33 ): 2 x 2 enlargement 4 (34 ): 3 x 3 times enlargement 5 (35 ): 4 x 4 times enlargement...
  • Page 252 Section 6-7 Terminal Commands End Inverse Display Format [ESC] Description Clears the inverse display attribute so that all characters and marks sent sub- sequently are not highlighted. Other attributes remain unchanged. Reference: The inverse display attribute is set with the Set Inverse Display Command. The setting with this command remains valid until the screen display is switched or another display attribute setting is made.
  • Page 253 Section 6-7 Terminal Commands 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 command 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 254 Section 6-7 Terminal Commands 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.
  • Page 255: Key To Programs

    Section 6-8 Key to Programs Key to Programs The following programs include all the commands that can be used with the NT20. 6-8-1 Use of Programs The sample program appears as follows on the screen. Menu bar Sub-menu Parameter input column Send command column Run confirm column Receive command...
  • Page 256 Section 6-8 Key to Programs Example Program 1000 ’ ******************************************************** 1010 ’ * OPERATION COMMAND EXAMPLE PROGRAM (NT20-ST128)* 1020 ’ ******************************************************** 1030 ’ ..........Draw screen frame 1040 SECT=9 1050 DIM CMND$(SECT,10,1),CMND(SECT),TS.B(31)
  • Page 257 Section 6-8 Key to Programs 1440 SECT.NO = SEL.NO 1450 ’ 1460 *LV1 ’ ........Sub-menu 1470 LV=1:SEL.NO=1 1480 GOSUB *SELECT...
  • Page 258 Section 6-8 Key to Programs 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 259 Section 6-8 Key to Programs 2360 *ESC.H ’ ........Notify touch switch (number) 2370 IF R.CODE$<>”H”...
  • Page 260 Section 6-8 Key to Programs 2820 SEND$=SEND$+L$+M$+C$ 2830 RETURN 2840 *ESC.C ’ ........Write 4-digit number 2850 LOCATE 43,0:INPUT ”Numeral table entry #: ”,M 2860 *NAGAIN...
  • Page 261 Section 6-8 Key to Programs 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...
  • Page 262 Key to Programs Section 6-8 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 263 Key to Programs Section 6-8 4200 GOTO *E2AAGAIN 4210 *E2ASEND 4220 SEND$=SEND$+M$ 4230 RETURN 4240 *ESC.21 ’ ........Normal display 4250 RETURN 4260 *ESC.22 ’...
  • Page 264 Section 6-8 Key to Programs 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 265 Key to Programs Section 6-8 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...
  • Page 266 Section 6-8 Key to Programs 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]%”...
  • Page 267 Section 6-8 Key to Programs...
  • Page 268: Troubleshooting And Maintenance

    SECTION 7 Troubleshooting and Maintenance This section describes the action to take when NT20 errors occur, and how to carry out maintenance and inspections to prevent the occurrence of errors. Hardware Faults ..........Responding to Displayed Error Messages .
  • Page 269: Hardware Faults

    (Refer to 2-2-3 Power Supply Connection, page 23.) Power supply fuse has blown Contact your OMRON service center. Screen #0 has been read at the host. This is not an error. Change the screen number. (Refer to 4-3 Screen Display, page 140.)
  • Page 270: Responding To Displayed Error Messages

    Message Cause Remedy Initialization Error Hardware fault or screen data If the same message is dis- memory life reached played even after executing screen data memory initializa- tion or screen data transmis- sion several times, contact your OMRON service center.
  • Page 271: Errors Occurring On Resource Transmit Mode

    Push the reset switch and memory life reached erase again. If the same mes- sage is displayed even after executing erase several times, contact your OMRON service center. Downloading failed. Noise caused data corruption Push the reset switch and during communications download again.
  • Page 272: Communications Errors

    Section 7-2 Responding to Displayed Error Messages 7-2-6 Communications Errors This section describes the errors relating to communications with the PLC/ Host that can occur during operation, and their remedies. • Operation When a Communications Error Occurs When a communications error occurs, the error message is displayed at the NT20, and the buzzer sounds.
  • Page 273 Section 7-2 Responding to Displayed Error Messages Message Cause Remedy Time Out The connectors of the con- Reconnect the cable. necting cable have become disconnected. The PLC is stopped. Make sure the PLC is able to communicate with the NT20. During transmission of one Confirm the proper command command, a time lapse...
  • Page 274: Maintenance Of The Nt20

    The backlight must be replaced when the brightness of the display backlight dims and the display becomes difficult to see. The backlight cannot be replaced by the user. Contact your nearest OMRON representative. Inspection and Cleaning Clean and inspect the NT20 regularly to ensure that it is always used in its optimum condition.
  • Page 275 • 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.
  • Page 276: Specifications

    Appendix A Specifications General Specifications Item Specification Power supply voltage 24 VDC Allowable power supply voltage range 20.4 VDC to 27.6 VDC (24 VDC –15% +15%) Allowable momentary power interruption Not specified. time Power consumption 10 W max. Ambient operating temperature 0 to 50°C (with no freezing) Storage temperature –20 to 70°C...
  • Page 277 Appendix A Specifications Performance Specifications Display Specifications Item Specification Display panel Display device Monochrome STN LCD (with backlight) (See note 1.) 140 (128) vertical × 260 (256) horizontal, dot size: 0.42 mm Number of dots (resolution) Values in parentheses are the numbers of dots that can be used by the NT20 system program.
  • Page 278 Appendix A Specifications Display Capacity Item Specification Host Link/NT Link RS-232C (NT20-ST128) C200H direct communications Display ele- Character displays Fixed character data (character strings registered for each screen) ments Character string 32 positions per screen 128 strings per file, 32 positions per displays screen Numeral displays...
  • Page 279 Appendix A Specifications Special Features Item Specification Buzzer Two types: Continuous sound and intermittent sound Setting: Set “Buzzer Sound” in the “Memory Switch” menu of the Maintenance Mode ON. If “ERR ON” is set the buzzer only sounds when an error occurs.
  • Page 280 Appendix A Specifications Communications Specifications Host Link Item Specification Communications standard EIA RS-232C Communications settings Start-stop synchronization Baud rate: 9,600, 19,200, 38,400, 57,600, 115,200 bps Data length: 7 bits Stop bits: 2 bits Parity: Even Connector 9-pin, D-SUB connector (female) Number of units connected 1 to 1 Transmission distance...
  • Page 281 Appendix A Specifications...
  • Page 282: Dimensions

    Appendix B Dimensions Outside Dimensions 178.20 4.50 53.50 Unit: mm Installation Dimensions Installation panel Mounting Bracket Unit: mm...
  • Page 283 Appendix B Dimensions Cable Connection Dimensions Unit: mm Cable Connection Dimensions (with C200H Communications Interface Unit Mounted) Installation panel Mounting Bracket 99.4 12.1 19.5 (Unit: mm) 52.5 35.1 min. 39.3 max. 40.5 87.2...
  • Page 284: Transporting And Storing Pts

    Appendix C Transporting and Storing PTs • Use the special packing box provided with the PT when shipping the PT. • When storing the PT, store it under the following conditions: Ambient storage temperature: − 20 to 70 ° C Ambient storage humidity: 35% to 85% ( −...
  • Page 285 Appendix C Transporting and Storing PTs...
  • Page 286: Making The Cable

    Appendix D Making the Cable The procedure for making up the cable is described below. Also refer to this procedure for making a connecting cable for use with RS-422A/485 type connections. Cable Preparation The preparation of the cable differs according to whether or not the shielding wire is to be connected to the FG. Cable with Shield Connected to FG 1.
  • Page 287 Appendix D Making the Cable 5. Wrap vinyl tape over the cut off end of the shielding wire. 40 (1.57) (RS-232C) 25 (0.98) (RS-422A) (0.19) Units: mm (inch) Vinyl tape Soldering 1. Slide heat-shrink tube over each wire. 2. Pre-solder each wire and connector terminal. 3.
  • Page 288: Making The Cable For Connecting A Personal Computer

    Use the following recommended products when making the connecting cable. Name Model Remarks Connector XM2D-2501 25-pin, made by OMRON, for personal computer end XM2A-0901 9-pin, made by OMRON, for PT end Connector hood XM2S-2511 25-pin, made by OMRON, for personal computer end...
  • Page 289 Use the following recommended products when making the connecting cable. Name Model Remarks Connector XM2D-0901 9-pin, made by OMRON, for personal computer XM2A-0901 9-pin, made by OMRON, for PT Connector hood (See XM2S-0911 9-pin, mm pitch screw, made by OMRON note.)
  • Page 290: Model List

    Appendix F Model List Model Specification NT20-ST121-E Host link/NT link/C200H Japanese/English language support (Ivory) NT20-ST121B-E Host link/NT link/C200H Japanese/English language support (Black) NT20-ST128 RS232C Japanese/English language support (Ivory) NT20-ST128B RS232C Japanese/English language support (Black) Host Link Units Model Specification Applicable PLC C120-LK201-V1 •...
  • Page 291 Appendix F Model List CPU Units (for Connection Via a Host Link) Model Specification PLC Type C20H/C28H/C40H/C60H Features a 9-pin connector for RS-232C connections C-series C20H C28H C40H C60H CPM1-10CDR-@ Connect an RS-232C adapter to the peripheral port. C-series CPM1-20CDR-@ CPM1 CPM1-30CDR-@ CPM1A...
  • Page 292 Model List Appendix F Model Specification PLC Type CS1G-CPU42-EV1 Features a connector for RS-232C connections. CS-series CS1G-CPU43-E1 CS1G CS1G-CPU44-EV CS1G-CPU45-EV CS1H-CPU63-EV1 Features a connector for RS-232C connections. CS-series CS1H-CPU64-EV1 CS1H CS1H-CPU65-EV1 CS1H-CPU66-EV1 CS1H-CPU67-EV1 CS1G-CPU42H Features a connector for RS-232C connections. CS-series CS1G-CPU43H CS1G-H...
  • Page 293 Model List Appendix F CPU Units (for Connection Via an NT Link (1:1)) Model Specification PLC Type CPM1-10CDR-@ Connect an RS-232C adapter to the peripheral port. C-series CPM1-20CDR-@ CPM1 CPM1-30CDR-@ CQM1-CPU41-E Features a 9-pin connector for RS-232C connections. C-series CQM1-CPU42-E CQM1 CQM1-CPU43-E CQM1-CPU44-E...
  • Page 294 Appendix F Model List CPU Units (for Connection Via an NT Link (1:N)) Model Specification PLC Type C200HE-CPU32-(Z)E(*) Features a connector for RS-232C connections C-series (selectable/9-pin). C200HE-CPU42-(Z)E C200HE-(Z)E C200HG-CPU33-(Z)E(*) Features a connector for RS-232C connections C-series (selectable/9-pin). C200HG-CPU43-(Z)E C200HG-(Z)E C200HG-CPU53-(Z)E(*) C200HG-CPU63-(Z)E C200HX-CPU34-(Z)E(*) Features a connector for RS-232C connections...
  • Page 295 Model List Appendix F CPU Units (for Connection Via an High-speed NT Link (1:N)) Model Specification PLC Type CS1G-CPU42-EV1 Features a connector for RS-232C connections. CS-series CS1G-CPU43-EV1 CS1G CS1G-CPU44-EV1 CS1G-CPU45-EV1 CS1H-CPU63-EV1 Features a connector for RS-232C connections. CS-series CS1H-CPU64-EV1 CS1H CS1H-CPU65-EV1 CS1H-CPU66-EV1 CS1G-CPU42H...
  • Page 296 Appendix F Model List CPU Units (Connected by C200H Direct Communications) Model Product Name C20H-C@DR-DE-V1 C20H C20H-C@DT-DE-V1 C28H-C@DR-DE-V1 C28H C28H-C@DT-DE-V1 C40H-C@DR-DE-V1 C40H C40H-C@DT-DE-V1 C60H-C@DR-DE-V1 C60H C60H-C@DT-DE-V1 C200H-CPU01-E C200H C200H-CPU03-E C200H-CPU11-E C200H-CPU21-E C200H-CPU23-E C200H-CPU31-E C200HS-CPU01-E C200HS C200HS-CPU03-E C200HS-CPU11-E C200HS-CPU21-E C200HS-CPU23-E C200HS-CPU31-E C200HE-CPU11-E C200HE C200HE-CPU32-E...
  • Page 297 Applicable Connectors (for Host Link, NT Link, and RS-232C) Name Model Remarks 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 XM2S-2511 25-pin, manufactured by OMRON XM2S-0911 9-pin, manufactured by OMRON...
  • Page 298: Option List

    Appendix G Option List Interface Unit ... NT20-IF001 This is the Interface Unit used when connecting a Host Interface Unit for C200H direct communications. The PTs and Interface Units that can be used with the NT20-IF001 are listed in the following table. Be sure to use an applicable PT and Interface Unit.
  • Page 299 Acetaldehyde 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 confi- dence even if that chemical agent is not listed in the “Protects Against”...
  • Page 300: Special Characters

    Appendix H 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.” Hex Digits Ç...
  • Page 301 Appendix H Special Characters Hex Digits α ≡ á β ± í Γ ≥ ó π ≤ ú Σ ⌠ ñ σ ⌡ Ñ µ ÷ τ ≈ Φ ° ¿ Θ Ω • δ √ ∞ φ ¡ ε ■...
  • Page 302: Function Restrictions Depending On The Support Tool

    Appendix I Function Restrictions Depending on the Support Tool Screens can be created for Host link, NT link, or C200H direct communications by using the conventional Sup- port Tool indicated below. In addition, the NT series Support Tool (Ver.2.@) can be used with Ver.4 of the direct connection function. However, when the above Support Tool is used, restrictions apply to some functions as shown in the table below.
  • Page 303 Appendix I Function Restrictions Depending on the Support Tool...
  • Page 304: Index

    Index Numerics continuous buzzer sound controlling the display elements 25-pin connector controlling the NT20 status 9-pin connector CPUs allocatable bits and words data transmission in screen units automatic reset function description of parts determining touch switch status dimensions DIP switch settings backlight display backlight mode...
  • Page 305 Index menu tree model list hardware faults host link method Host Link Unit Host Link Units manual notification of display elements notification of NT20 status notification of numbers to the PLC notification operation I/O check alternate buzzer momentary communications with the Support Tool reset NT Link screen memory...
  • Page 306 Index PT status serial port A PT status control area serial port B PT status notify area setting the buzzer smoothing soldering specifications radiated emission starting the NT20 Support Tool connecting the NT Support Tool Support Tool mode setting screen switching the screen display child screen switching to the RUN mode...
  • Page 307 Index...
  • Page 308: Revision History

    Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. V091-E1-01 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 309 Revision History...
  • Page 310 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 311 Authorized Distributor: Cat. No. V091-E1-01 Note: Specifications subject to change without notice Printed in Japan This manual is printed on 100% recycled paper.

This manual is also suitable for:

Nt20Nt series

Table of Contents