Page 2
NT-series Programmable Terminal User’s Manual Produced March 2007...
Page 4
1. Indicates lists of one sort or another, such as procedures, checklists, etc. OMRON, 2007 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
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 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
The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products: •...
Page 14
PERFORMANCE DATA 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.
Programmable Terminal so that you can use it safely and cor- rectly. !WARNING Do not attempt to take the PLC apart and do not touch any internal parts while the power is being supplied. Doing either of these may result in electrical shock.
5. Do not let metal particles enter the PT when preparing the panel. 6. Do not perform a dielectric voltage test on the PT. 7. Use a DC power supply that is isolated between DC output and AC input, and has minimal fluctuation voltage.
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. The 5-V output of the NT20 is 150 mA maximum at 5 V 5%.
Page 20
EC Directives. 1,2,3... 1. The PT is designed for installation inside a control panel. The PT must be installed within a control panel. 2. Use reinforced insulation or double insulation for the DC power supply to the PT.
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.
Receives Data from a Host The NT20 can be connected to the Host using the host link or NT link commu- nications method to enable reception of the required data from the Host. Host link, NT link, RS-232C,...
• There is no complicated installation work except a simple connection to a Host. • A flash memory is used for the screen data memory. There is no need of backup battery. • The following communications methods are standard for each model:...
The memory table contents can be changed from the PLC/Host. Bar graph display Bar graphs corresponding to the contents of the numeral memory table can be displayed. Lamp display Lamps which turn on or flash as controlled by the Host can be displayed.
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.
Lamps Lamps are displayed as square or round frames and indicate the operating status. They are controlled by the Host and can be lit (reversed) or made flash (alternates normal with reversed displays). Touch Switches Touch switches can be set anywhere on the screen.
• NT-AL001 Link Adapter The RS-232C port is insulated from the RS-422A/485 terminals. An RS- 232C cable (2 m max.) can be connected to either serial port A or B on the NT20. • CJ1W-CIF11 RS-422A Converter The RS-232C port is not insulated from the RS-422A/485 terminals.
Page 30
❍: Connection possible : Connection not possible Note (1) An RS-232C Cable (not shown in the diagram) is required when connect- ing an NT-AL001 Link Adapter to a PT. (2) If the CJ1W-CIF11 is used, the total communications distance is 50 m.
Buzzer ON/OFF, backlight ON/OFF, and oth- er NT20 status • Notifying the PLC from the NT20 Data in the NT20 is sent to a PLC when a touch switch is pressed. The fol- lowing types of data are sent to a PLC. • NT20 status •...
Page 32
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).
Functions of the PT Status Notify Area (NT20 to PLC) The “PT status notify area” is used to notify the PLC of changes of the NT20 status. When a change is made in the NT20 status, the change is written to this area in the PLC.
For details on each of the commands sent through the RS-232C interface, refer toSECTION 6 Using RS-232C Communications. Control of the NT20 by a Host is executed by two kinds of commands sup- ported by the RS-232C interface that is built into the NT20.
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 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.
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.
Note When this switch is ON, SW2-4, SW2-5 and SW2-6 must be OFF. The NT20 will start in a special RUN mode in which the screen data memory is initialized. When it is started, the memory initialization menu will be displayed. For the initialization procedure, refer to Section 3-4 Initializing Memory.
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.
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.
The thickness of applicable operation panel is 1.6 mm to 4.8 mm. All fittings must be tightened uniformly to a torque of at least 0.5 to 0.6 N·cm in order to ensure water- and dust-resistance. The panel must not be soiled or warped, and must be able to support an installation that will remain secure and strong.
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. Note (1) Depending on how the power is turned ON/OFF, the entire system may stop.
Same as NT20 Series. Shock resistance Same as NT20 Series. Isolation method Not isolated Maximum communications distance 50 m (Use the NT-AL001 if the total communications distance exceeds 50 m.) RS-232C Connector Pin number Signal Connector Pin Arrangement for RS-232C Port...
Page 46
Without RS control (always ready (See note 3.) to send) Note (1) Set pins 2 and 3 to the same setting. (ON for the two-wire method or OFF for the four-wire method.) (2) To prohibit echoback, set pin 5 to ON (with RS control).
Page 47
Press the cover gently while removing it to prevent it from popping out sud- denly. 2. Using a fine pair of tweezers or other tool with a fine point, change the set- tings of the DIP switch pins to match the desired communications condi- tions.
Page 48
Power Supply Unit of the CPU or Expansion Rack to 100 max. 1. Taking care not to damage the shield, strip between 30 and 80 mm of sheath off the end of the cable. 30 to 80 mm 2.
2-3-2 Connecting an NT-AL001 Link Adapter The NS-AL001 Link Adapter connects to serial port A or B of the NT20 with an RS-232C cable and converts the RS-232C communications to RS-422A or RS-485. (Serial ports A and B cannot be used simultaneously.) The NT20 supplies +5 V power (150 mA max.) to the Link Adapter through pin...
Page 50
The Link Adapter’s RS-422A terminal block can be removed easily. Mounting to a DIN Track Latch the hook (a) on the rear of the Link Adapter onto the top edge of the DIN Track, and pivot the Link Adapter downwards (b) as shown in the diagram below.
Page 51
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
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 Conforms to JIS C0912, 147 m/s , 3 times each in X,...
Page 53
“RS/CS control” by turning ON either pin SW1-5 or SW1-6. Note 1. Do not turn ON both SW1-5 and SW1-6 at the same time. This may dam- age internal circuits. 2. The power supply to the device supplying +5 V must be turned OFF before starting wiring work.
Page 54
Section 2-3 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.
Page 55
Connections not ground the shield at both ends of the communications line because large currents can flow through the shield due to the difference in potential at the two grounding points. We recommend grounding the shield at one end, as shown in the following diagram.
The NT20 connects with the RS-232C cable from a personal computer at serial port A. When the host is connected at serial port B, the connection with the host can be maintained as it is while the NT20 is connected to the RS- 232C cable from a personal computer.
Memory Unit from the NT20 before starting NT20 opera- tion. • One Memory Unit can store a system program for up to two PTs of differ- ent models. In order to transmit a system program from the Memory Unit to the NT20, the system program must be compatible to the target PT model.
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. Factory setting is turned all to OFF. Note Always confirm that the power to the NT20 is OFF before setting the DIP switches.
Page 59
When screen data is written to the Memory Unit, the data that has been stored in the specified Area up until that point is lost (if the data is written into only one Bank, the other Bank will not be affected).
Page 60
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). RUN Indicator operates as follows according to the processing status.
Page 61
At the same time, the progress of data writing status is displayed by the means of the number of bytes and blocks (1 bank = 16 block = 1024k byte). The RUN Indicator operates as follows according to the processing status.
Page 62
Reference: • When transmitting the system program and screen data simultaneously from the PT to the Memory Unit, the setting of banks is Bank 0: system program, Bank 1: screen data, and when transmitting them from the Memory Unit to the PT, either of the following combinations must be used.
Page 63
(1 bank = 16 block = 1024k byte). When the data transmission is operated manually, RUN Indicator remains OFF. 5. Turn the NT20 power OFF, remove the Memory Unit, then turn the NT20 power back ON. Errors When Using a...
Page 64
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. the write destination may be faulty.
2-6-1 Host Types and Settings The types of host that can be connected to a PT by using the RS-232C ports of both devices, and the settings to be made at the host, are described here. Using the Host Link Method...
Page 66
(1) Use a CPM2C-CN111 or CS1W-CN114/118 Connecting Cable, CPM1- CIF01 RS-232C Adapter, or CPM1-CIF11 RS-422A Adapter to connect. (2) The CQM1H-CPU11 does not have a built-in RS-232C port, so connect to the PT at the peripheral port with a CS1W-CN118 Connecting Cable.
Page 67
Level 1, 2, 3 Unit # Note (1) Set the Host Link baud rate up to 115,200 bps with the memory switch at the NT20. (2) The 1-to-N setting enables BCC (Block Check Character). It is not actu- ally possible to connect more than one NT20 in a single Host Link.
Page 68
Communications port 2 is a 9-pin connector that allows selection of the RS-232C or RS-422A method. When this port is used with the RS-232C method, the I/O port selector switch on the front of the Unit must be set to RS-232C (the upper position).
Page 69
Set the unit number of the Serial Communications Unit by using the rotary switch located on the front panel. Set each switch with a flat blade screwdriver so that the values or symbols in the setting value window agree with the fol- lowing.
Page 70
ASCII 7 bits Unit # Note Set the Host Link baud rate at 9,600 bps or 19,200 bps with the memory switch at the NT20. Either set PLC Setup directly from a Programming Device (e.g., SYSMAC Support Software), or transmit the PLC Setup made at a Programming Device to the CPU Unit.
Page 71
Connect to the CPU Unit’s built-in RS-232C port. C200HX/HG/HE(-Z)E • Connect to the CPU Unit’s built-in RS-232C port. • Connect to one of the RS-232C ports (port A or port B) on a Serial Communications Board. CQM1H • Connect to the CPU Unit’s built-in RS-232C port.
Page 72
ASCII 7 bits Unit # Note Set the Host Link baud rate at 9,600 bps or 19,200 bps with the memory switch at the NT20. Set the PLC Setup settings directly from a Programming Device (e.g., the CX- Programmer Support Software).
Page 73
Setting the DIP Switches of a C200HX/HG/HE(-Z)E, CQM1, or CQM1H When using a C200HX/HG/HE(-Z)E, CQM1, or CQM1H, 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 74
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
Unit No. for the Host Link Note Set the Host Link baud rate up to 115,200 bps with the memory switch at the NT20. When the baud rate is set to 19,200 bps, the PLC Setup of the CPU Unit need to be changed.
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...
Page 77
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. Check the model and series of the PLC against the model of CPU Unit before making the connections.
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...
Page 79
Setting the DIP Switches on the Front of a C200HX/HG/HE(-Z)E, CQM1, CQM1H When using a C200HX/HG/HE(-Z)E, CQM1, or CQM1H, the DIP switches on the front panel must be set as shown below in order to make the settings in the PLC Setup (data memory) effective.
Page 80
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. Set the Communications switch to OFF (down position).
Page 81
1:N NT Link using a CS1W-SCU21 or CJ1W-SCU41 Serial Com- munications Unit. Check the model and series of the PLC as well as the model of Serial Com- munications Board or Unit being used before making the connections.
Page 82
(5) The -V1 versions of CS-series PLCs and CJ-series PLCs support the high-speed 1:N NT Link as well as the standard 1:N NT Link. Further- more, the high-speed 1:N NT Link can be used in earlier versions of CS- series PLCs by installing a new version of Serial Communications Board or Unit.
Page 83
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. RS-232C port communications condition setting Set pin 5 to OFF to make the settings made in PLC Setup effective.
Page 84
CS Series Operation Manual (W339-E1-@) or SYSMAC CJ Series Operation Manual (W393-E1-@). 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...
Page 85
0000 and 0009 Hex. For example, when connecting PTs with model numbers 3, 4, 5, and 6 to port 1, set DM 32000 to 8200 Hex, DM 32001 to 0000 Hex, and DM 32006 to 0006 Hex. Connecting to CS/CJ-series Serial Communications Unit A CS-series Rack-mounted Unit: CS1W-SCU21 CJ-series: CJ1W-SCU41 (Port 2 is an RS-232C port.)
Page 86
PT (0 - 7) Note Set any value between 0000 and 0009 Hex for the communications baud rate. The same baud rate will be used regardless of the value as long as it is between 0000 and 0009 Hex. Using the High-speed 1:N...
Page 87
When using the CX-Programmer to set the high-speed 1:N NT Link, set the communications baud rate to 115,200 bps. 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.
Page 88
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...
Page 89
PT (0 - 7) For example, when connecting PTs with model numbers 3, 4, 5, and 6 to port 1, set DM 32000 to 8200 Hex, DM 32001 to 000A Hex, and DM 32006 to 0006 Hex. Connecting to a CS/CJ-series Serial Communications Unit A CS-series Rack-mounted Unit: CS1W-SCU21 CJ-series: CJ1W-SCU41 (Port 2 is an RS-232C port.)
PT (0 - 7) 2-6-2 Connecting Directly between RS-232C Ports The method for connection between the RS-232C ports of the NT20 and the host is described here. Recommended Connector Cable When making the connector cable, as far as possible use the recommended connectors, connector hoods, and cables indicated in the table below.
Page 91
XW2Z-S002 9-pin 9 pin Note The cable’s tensile load is 30 N. Do not subject it to loads greater than this. Otherwise a discontinuity may occur, causing operation to fail. Wiring for a Host Link Unit Applicable Units: C200H-LK201-EV1 (25-pin) Connection...
Page 92
(9-pin type) (9-pin type) Note For Units that have a CTS setting selector switch, RS and CS do not have to be shorted if this switch is set to 0 V. Wiring for a RS-232C Compatible cables with attached connectors:...
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)
Applicable PLC Units Before making the connection, check the series and model of the PLC to which the connection is to be made. A list of the PLCs that can be connected to an NT20 using C200H direct communications is presented below.
Page 95
!Caution Always turn off the power at the PLC and PT before connecting the C200H interface cable. Otherwise the system may operate unpredictably. !Caution Make sure that the power supply to the PT is OFF before connecting or dis- connecting the Interface Unit. After mounting an NT20-IF001, be sure to tighten its two screws.
Page 96
!Caution Keep the total length of I/O cables used within 12 m (6 m for C @@H). !Caution The cable's tensile load is 30 N. Do not subject it to loads greater than this. Otherwise a discontinuity may occur, causing operation to fail.
Page 97
Connect the CPU Unit with an I/O Connecting Cable. The following restric- tions apply when making this connection. • A maximum of one CPU Unit can be connected. • Up to two I/O Units can be connected for the one CPU unit, but Expansion I/O Units cannot be connected.
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...
Page 99
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. Then, when the power to the NT20 is turned ON, “Connecting to Host”...
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. 2-8-1 Host Computer Communications Settings Set the host communications conditions according to the following table.
Page 101
Otherwise the cable may disconnect, causing operation to fail. Note If using the +5 V supply of pin No.6, check first that the equipment that is to receive the supply has a current capacity no greater than 150 mA. The +5 V output of the NT20 is +5 V DC 5%, 150 mA max.
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.
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.
Select an operation mode by pressing the corresponding touch switch in the System Menu. The operation modes with respect to the System Menu are related to each other as shown below. For the operations with the System Menu, refer to the 3-3-3 Operations with the System Menu (page 86). RUN mode The NT20 runs in this state.
Page 106
(page 99) Partiy Check Second screen (page 99) Flow Control (page 99) Baud Rate (page 112) LMP Bit Control (page 94) Comm. Port Third screen (page 110) Lanugage Note The unit number must be set only for 1:N NT Link communications.
The NT20 display screen has four touch switches to display the System Menu in the four corners (about 9 mm x 9 mm size). Press any two of these switches at the same time to call the System Menu screen.
Page 108
Maintenance Mode The MAINTENANCE MENU will be displayed to allow the main- tenance of the NT20 system. Switching from the The NT20 will exit the System Menu and switch to the RUN mode in the cases System Menu to the RUN described below.
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
PT Notify Area After initialization of the screen data memory, the system enters the operation mode. At this point, nothing is displayed on the screen of the NT20. Return to the System Menu, select the Transmit Mode, and transmit the screen data from the Support Tool.
Be sure to turn the power OFF before setting the NT20 DIP switch. Set the DIP switch as follows to initialize the screen data memory. 1,2,3... 1. Set DIP SW2-1 on the NT20 to ON and turn the power ON or reset the NT20. Select “Yes”.
“memory switches”. Since the memory switches use the flash memory, the stored data can be held even when the power supply is turned OFF. If the memory switch memory is corrupted for any reason, a message will be displayed when the operating mode is changed.
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.
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. Type” memory switch. The factory setting has been made to the “Host link”.
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).
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.
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.
PTs connected to a single PLC port. Set a different unit number for each of the PTs connected to the port. The unit numbers that can be set differ according to the type of host PLC as follows. C200HE: Unit Nos.
& Language English EXIT To set and quit the menu, press the [WRT & EXIT] touch switch. To quit with- out setting, press [Quit]. The run mode will be established. 3-5-6 Selecting the Automatic Reset Function The “Automatic Reset” memory switch is used to set whether or not the com- munications are automatically reset after the occurrence of a communications error.
• Flow Control • Baud Rate Set the same communications conditions at the host and the NT20. You are recommended to set the highest baud rate that can be used by the host and NT20. The factory settings are as follows: •...
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...
Page 122
• 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. For details on lamp bit control, refer to 3-8 Various System Settings on page...
The NT20 allows the transmission of data for specified screens. By selecting the screen number of the screen to be transmitted using the Support Tool, it is possible to transmit the required screen only to the NT20 (it is also possible to transmit multiple screens in a batch).
Page 124
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
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. Pressing the ABORT touch switch in the Transmit Mode screen of the NT20 will exit the Transmit Mode and enter the RUN Mode.
Press the Quit touch switch in the System Menu. The start-up screen in the RUN mode will be displayed. If the NT20 has failed to start correctly; e.g., the start-up screen is not dis- played, an error message is displayed, or the screen is not displayed at all, refer to 7-2 Responding to Displayed Error Messages and take appropriate action.
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. The factory setting has been set to give the key press sound when the touch key is pressed.
NT20 error. Setting the Buzzer Except when the buzzer has been set so as not to sound at all, the buzzer will sound when an error occurs. To set the buzzer to sound in other cases, the following two procedures can be used.
Page 129
Host, the continuous buzzer will sound. Setting the Buzzer Use the memory switches to set whether or not the buzzer sounds when the buzzer sound has been instructed by the Host or with a screen attribute or when an error has occurred.
Mode regardless of the buzzer setting. 3-8-3 Backlight OFF Function The NT20 has a function that turns off the backlight of the LCD panel to maxi- mize its service life if no operation is performed for a certain period of time. Turning ON the Backlight...
To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit]. • None: The backlight off function is not used. As long as no operation is performed, the same screen remains to be displayed.
EXIT 3-8-5 Support Tool Mode Setting (NT20-ST121-E) By setting “Tool Mode” to “NT20M”, the NT20 can be used in the same way as the conventional NT20M/NT20S, and it becomes possible to use the NT Series Support Tool (version 2.@). However, the following restrictions apply when “NT20M” is set: •...
Tool Mode NT20S EXIT To quit after setting the selected item, press the WRT & EXIT touch switch. To quit without setting, press the Quit touch switch. The NT20 will enter the RUN mode. • When “NT20M” or “NT20S” is set, the NT20M/NT20S compatible mode is established and the terminal can be used as an NT20M/NT20S.
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 ]...
Page 135
To set and quit the menu, press the [WRT&EXIT] touch switch. To quit without setting, press [Quit]. • When “Disable” is set, the control of lamp display status by bits is not pos- sible. The lamps numbered 0 to 31 can be controlled only by specifying lamp numbers.
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. • Touch Switch • Communications with the Support Tool •...
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
Support Tool are displayed in hexadeci- mal numbers. EXIT When the check is finished, press the Exit touch switch. The NT20 will enter the I/O CHECK MENU. Checking the Execute a NT20-to-Host communications check by the menu operation from Communications with the the System Menu as described below.
Page 139
RS-232C I/F [ RS-232C I/F INPUT MENU ] Exit When the check is finished, press the EXIT touch switch. The NT20 will enter the RUN mode. Checking the LCD Check the NT20 LCD by using the menu operation from the System Menu as...
Page 140
• The LCD displays dots (segments of the screen) line by line beginning with the top left corner. If all the dots are displayed normally, the NT20 will enter the I/O CHECK MENU after all the dots have been turned off.
Page 141
Data Memory • If the buzzer function is normal, the continuous buzzer sound will be made. • To stop the buzzer, press “EXIT” touch switch in the buzzer check screen. The NT20 will enter the I/O CHECK MENU. Note Though memory switch setting for the buzzer has been made for OFF, the buzzer will sound when the buzzer check is executed.
Page 142
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). • To quit the LED check, press the “EXIT” touch switch. The NT20 will enter the I/O CHECK MENU.
• If the “Memory error!” message is displayed, the screen data memory may have been used up to its service life or there may be a hardware fault. In that case, initialize the screen data memory and check the mem- ory again.
Page 144
Flow Control RS/CS Unit No. Baud Rate 19200 bps EXIT EXIT • The current PT settings will be displayed. • Pressing the “EXIT” touch switch will exit the PT settings display, and the NT20 will return to the RUN Mode.
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.
Tool, then turn ON the power to the NT20. 2. Turn ON the power to the personal computer and start up the System Transfer Tool. 3. When the power to the NT20 is turned ON, the screen shown below will be displayed. [System Installer V1.00] -Download System Program- Ready for downloading.
Page 148
• Transfer is terminated by pressing the ESC key of the personal computer running the System Transfer Tool. In the event of any of the above, there is a possibility that the NT20 will not operate or that unpredictable malfunctions will occur.
Page 149
-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.
Tool, then turn ON the power to the NT20. 2. Turn ON the power to the personal computer and start up the System Transfer Tool. 3. When the power to the NT20 is turned ON, the screen shown below will be displayed. [ Resource Transmit ]...
Page 151
Use the following procedure to erase the resource data. Operation 1. Set DIP SW2-5 to the ON position and turn ON the power or reset. The fol- lowing screen will be displayed.
Page 152
[ 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.
Page 153
Section 3-11 Transferring the Resource Data...
Screen Creation Procedure Follow the procedure shown below to create screens for the NT20. The following gives the procedure assuming that the setting for the PT has been completed. The operating procedure for the Support Tool is not given here. For the operating procedure for the Support Tool, refer to the NT-series Support Tool Version 4.8 for Windows Operation Manual (Cat.
Page 156
PT in the Transmit mode, execute the screen data transmission operation with the Support Tool. Support Tool !Caution Carefully check the operation of all screen data and host programs before using them. Otherwise the system may operate unpredictably.
The screens displayed on the NT20 are managed by the screen numbers. When using the NT20, up to 495 screens can be created and screen numbers in the ranges 1 to 250 and 256 to 500 can be used (numbers 251 to 255 are reserved for system use).
Support Tool • Marks A mark is a graphic pattern created by combining 16 x 16 dots by using the Support Tool. Marks can be handled the same as the wide size characters. Up to 64 patterns can be defined within the total screen data using char- acter code FF20 to FF5F.
Types and Attributes of the Figures The following types of figures can be input by using the Support Tool and be displayed during operation. Continuous straight lines including up to 256 verti- ces can be drawn (up to 255 straight lines can be connected).
Page 160
Operating Status) on page 208, Screen Number Response on page 217, and Eight-digit Number Input Notify on page 225. !Caution To ensure system safety, be sure to periodically read the PT operating status bit from the host in order to ensure that the PT is always operating normally.
Normal Screen A normal screen is the basic screen of the NT20. It is not necessary to select a screen type (overlapping or consecutive) when to create the screen data on a normal screen.
Page 162
“child screens”. The current screen number and the total number of continuous screens can be displayed in the top right corner of the screen. This is called the “page number display”.
Intermittent sound: Buzzer sounds intermittently at constant intervals. The buzzer sound is set with the NT20 memory switch. The buzzer can also be set by using the Host. Refer to 3-8-2 Using the Buzzer on page 107 for the buzzer setting using the memory switch.
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.
Up to 128 character-string memory table entries can be used, and up to 16 full size characters (32 bytes) can be stored in one mem- ory table entry. The character-string memory table entries at up to 32 posi- tions can be registered in one screen.
127. When creating the screen data by using the Support Tool, set the position on the screen to display a numeral and also set a numeral number to be dis- played. When the NT20 is operated, the screen displays the contents of the numeral memory table.
Page 167
The numeral data are displayed in designated display areas as right-aligned. If the number of digits of a numeral data is smaller than that of the display area, number “0”s will be displayed at the vacant digits. These “0”s will not be...
• Position and Size The display position and size (length) of a bar graph can be set. The width of the bar graph can be set in the range of 2 to 255 dots. • Orientation and Incremental Direction The orientation and incremental direction of the bar graph can be selected from those described below.
Page 169
100 % To Not Display Values Below 0 %: Sign Display “No” The bar graph is displayed in the range of 0% to 100%. The end of the bar graph indicates 0%. Values below 0% are indicated as 0%. % display...
Page 170
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. When the absolute value of the % value is above 1000% The bar graph will be displayed the same as (2) above.
The lamp display status (lit (flashing) or unlit) can be changed by instructions from the PLC/host. For details on how to change the status of a currently displayed lamp, refer to 5-3-2 Turning ON (Lit) and OFF (Unlit) the Lamps (Changing the Contents of...
Page 172
However, note that different results will be achieved depending on the timing of the lighting of the lamp and the updating of the memory table entry. Bear this in mind when creating the control program.
Host, by pressing (lightly touching) the “touch switches” in a panel. The touch switches can also be made to light up (or flash) and go off like lamps. Touch switches are set when creating the screen data with the Support Tool.
The following attributes can be set for touch switches. • Display Frame The area that will respond as a touch switch is displayed in the form of a frame, as shown in the table below. One of three types of frame - standard, 3-D, and none - can be selected.
PLC/Host. This function is called the “standalone function”. The screen number of the screen that will be displayed when a touch switch is pressed is set for that touch switch when the screen data is created using the Support Tool.
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.
Touch switch Restrictions on Numerical Value Input and Attribute Setting Numerical values of up to 8 digits (7 if there is a minus sign) can be input in either decimal or hexadecimal format. • Decimal Input When the display attribute is set for decimal display, values are input in the decimal format.
When a numeral setting area is created, numeric keys are automatically displayed. The display position and arrangement of the numeric keys are fixed. On this screen, only the types of numeric key shown in the figure be- low (system keys) are used.
Page 180
When the numeral setting attribute is set to “user”, numeric keys are cre- ated by using the control keys of the “input key” function. In addition, by us- ing the character keys of the “input key” function, the one-byte characters 0 to 9 and A to F can be used as numeric keys.
• Selection with the Numeric Keys Use the [HOME], [ ], [ ], [ ] and [ ] keys. By using these keys, the cursor can be shifted between numeral setting areas in the way shown in the fig- ure below.
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.
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.
OMRON 5-1-2 Allocatable Bits and Words 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.
(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. (3) A continuous areas of up to 2 words for a numeral memory table entry or 16 words for a character string memory table entry can be allocated.
Page 189
Number of saved words: 1 Number of saved words: 3 Controlling the NT20 Status by Using Allocated Bits and Words ..PT Status Control Area (PLC to PT) The PT status control area (PLC to PT) is provided to control the NT20 status from the PLC.
Page 190
Note Make sure there is no duplication in the PT status control area allocations and PT status notify area allocations. Note When NT link (1:N) is set, the PT status control area must be set for each con- nected PT.
Page 191
0 4 3 2 First word: DM0110 Copy Notification of the NT20 Status by Using Allocated Bits and Words ..PT Status Notify Area (PT to PLC) The PT status notify area (PT to PLC) is provided to notify the PLC of NT20 status changes.
Page 192
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. Symbol C-series Alloca-...
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
(2) The EM Area is supported only by the C200HX/HG/HE-(Z)E. 1,2,3... 1. Use the Support Tool to allocate the PT status control area (PLC to PT) to the PLC memory. 2. Create a PLC program to write the number of the displayed screen to the “screen switch setting word”...
3. When the screen switch strobe flag turns ON, the number of the currently displayed screen is read and written to the currently displayed screen word in the PT status notify area. In this case, the NT20 will not write the same screen twice.
Page 196
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)
Page 197
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.
This specification method is a little complex, but it allows the display to be changed more easily according to the circumstances. In the example above, if 1 were added to the contents of memory table entry 20 to give 52, the con- tents of memory table entry 52 would be displayed instead.
Page 199
Displaying and Referencing Numeral Memory Table Contents Since the numeral memory table entries can be allocated to the words in the PLC, the PLC can write data to the numeral memory table entries or the initial values can be set when creating the screen data.
Page 200
This specification method is a little complex, but it allows the display to be changed more easily according to the circumstances. In the example above, if one were added to the contents of memory table entry 18 to give 63, the contents of memory table entry 63 would be displayed instead.
• Number of Registration Words Set the number of words within 2 words required for registering the numer- al data. One word can store up to 4 digits. Two words can store up to 8 dig- its. • Setting the Words for the Numeral Memory Table The numeral memory table entries can be allocated to the following PLC words.
Page 202
Numerals can be displayed in three different ways according to the con- tents of the numeral memory table, as described below. The most significant digit (digit 4 of a single word or digit 8 of a double word) is processed in different ways.
If the number of display digits has been set to be smaller than the maximum number of digits of the registration words (4 digits for 1 word; 8 digits for 2 words), the contents of the allocated words are not displayed and “...
Page 204
NT20 to the PLC words. • Important Points When Writing a Character String If a character string to be written is smaller than “allocated word x 2”, fill up the vacant space with normal-size spaces (20H). If unnecessary charac- ters are left in the area, the character string will not be displayed correctly.
Word for #2 • Program Operation 1,2,3... 1. The contents of word DM0000 are incremented by 1 each second. The val- ue displayed on the NT20 in numeral memory table entry #1 increases by 1 each second. 2. When the counter in (1) above causes an increase in the most significant digits, the contents of word DM0001 are incremented by 1 each second.
Page 206
1,2,3... 1. Set the PLC area for allocation of the numeral memory table entry to be referenced in indirect specification using the Support Tool. 2. When using the Support Tool to create screen data, register on the screen the numeral memory table entry referenced in indirect specification.
DM0000 Numeral memory table number used in indirect specification • Program Operation 1,2,3... 1. Each time bit 00100 comes ON, the display on the NT20 screen changes according to one of the steps in the following sequence: “NT610G” “NT610C” “NT20”...
Page 208
Copy Memory Table Settings of the PT Status Control Area 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit Word...
Page 209
(2) The EM Area is supported only by the C200HX/HG/HE-(Z)E PLCs. 1,2,3... 1. Use the Support Tool to allocate the PT status control area (PLC to PT) to the PLC memory. 2. Register the memory table entries for the numerals and character strings to be displayed when creating the screen data by using the Support Tool.
The following describes the procedure to upgrade the bar graph display on the NT20 by changing the contents of the allocated words. To change the bar graph display on the NT20, change the contents of the PLC words to which the numeral memory table entries have been allocated.
Page 211
: 1 word only : NG 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. The range of respective area varies with the type of PLC.
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:...
1 (ON): Lit (reverse display) or flashing 1,2,3... 1. Use the Support Tool to set the PLC memory area where the lamp bit is to be allocated to. 2. Register the lamps to the screen when creating the screen data by using the Support Tool.
Allocated Bits and Display of Touch Switches Method for PLC Notification and NT20 Control Two types of bit can be allocated to touch switches: notify bits - which serve to notify status to the PLC - and control bits, lamp bit, which control the lighting (flashing) of the touch switches.
Page 215
When using touch switch input notification, note the following points: • In the case of (1), the other bits in the same word as the notification bit are turned OFF by the notification operation. • In the case of (2), notification is executed on the basis of the contents of the word before display, which means that the other bits are not re- written.
2. When creating the screen data using the Support Tool, register the touch switch for a screen. 3. Create the PLC program to switch the lamp bit of the touch switch ON and OFF. Set whether the lamp lights continuously or flashes when the bit comes ON...
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
When using touch switch input notification, note the following points: • In the case of (1), the other bits in the same word as the notification bit are turned OFF by the notification operation. Press the...
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.
PLC. In order to determine when numerical data has been input at the NT20, the numeral setting strobe flag in the PT status notify area is used. In order to determine the upgraded numeral memory table entry number, the “upgraded memory table entry”...
Page 221
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)
Page 222
4. Read the allocated word for the numeral memory table entry number read in step 3. Example of Reading a Numeral Memory Table Entry into Which a Numerical Value Has Been Input This example shows the reading of the numeral memory table entry number after a value has been changed by inputting numerical data at the NT20.
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.
5-4-1 Controllable NT20 Functions PT Status Control Bits of the PT Status Control Area 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit PT status control designation Word PT status control bits...
Page 225
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.
• Backlight Mode (Bit 8) If bit 8 is turned ON when the screen is displayed (bit 15 = ON), the screen is made to flash using the backlight. When bit 8 is turned OFF, normal dis- play is resumed.
Page 227
(1) LR 0000 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. 1,2,3... 1. Use the Support Tool to set the area at the PLC used for allocation of the PT status control area (PLC PT).
Page 228
PT status control word • Program Operation 1,2,3... 1. The PT status control bits are set as shown below when bit 09002 turns OFF. This command block is not executed until bit 09003 is ON. Screen display (bit 15) 1 (ON)
During the run mode, ON (1) is periodically written into this bit. In order to check whether the NT20 is operating normally or not, write OFF (0) to this bit: if it is ON (1) 30 seconds later the NT20 is running, and if it is OFF (0), the NT20 is stopped.
ON (1). On notification to the PLC, it returns to the OFF (0) status. For details on how the screen switch strobe flag is used, refer to 5-1-5 No- tifying the PLC of the Display Screen (to Display the Number of Currently Displayed Screen) on page 174.
Page 231
1. Use the Support Tool to allocate the PT status notify area (PT PLC) to the PLC memory. 2. Write a PLC program to read the “PT status” word of the PT status notify area and check each bit status. • Timing of PT Status Notify Bit Notification...
4-digit Number Input Notify [ESC] F 8-digit Number Input Notify [ESC] S Lamp and Touch Switch Display Status Response [ESC] J Touch Switch Bit Output (from NT20 to Host) [ESC] H Touch Switch Number Output (from NT20 to Host) Terminal Commands Type Command...
Send instruction LINE INPUT # command CLOSE command Close circuit After a circuit has been opened, it can be used until it is closed again. OPEN: Opens the RS-232C circuit. The Host communications condi- tions are also set. Refer to 3-5-7 Setting RS–232C Communications Conditions (NT20-ST128) on page 99.
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. The Host sends a command and the NT20 processes the message. The NT20 does not send back a response to the Host.
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.
: Number of displayed screen (4-digit hexadecimal) 0000: No display 0001 to 01F4: Screen #1 to #500 Description The specified screen is displayed on the NT20 when a screen number is sent from the Host with this command. Request Screen Number Format...
Page 238
Host in response to the Request Screen Number Com- mand (refer to Screen Number Response) sent from the Host. • The new screen number is report to the Host with this command after the displayed screen is switch with the Stand-alone functions (screen switch...
NT20 (refer to 6-5-2 Notification of Numeral Setting Input and Touch Switch Status). • By creating a bar graph screen and arranging for it to refer to a particular numeral memory table entry, the display contents of the bar graph can be updated by changing the contents of the numeral table entry.
Page 240
• Writes the 4-digit number data (decimal or hexadecimal) to the specified numeral memory table. • If a 4-digit number data is written while an 8-digit numeral is displayed, the lower 4 digits are updated. !Caution This command cannot be used to write negative numbers. Use the 8-digit Write Command (refer to Eight-digit Write Numeral Memory Table on page 219).
Page 241
000 to 127 (3-digit BCD) Description Copies the contents of the copy source memory table entry to the copy desti- nation memory table entry. The memory table entry contents are copied to a memory table entry of the same type: character-string memory table entry to character-string memory table entry or numeral memory table entry to numeral memory table entry .
If a touch switch is pressed, bit information is sent according to the position of the touch switch. It can be used as a normal bit input switch at the PLC. When this method is used, if more than one touch switch is pressed at the same time, the information of all the pressed touch switches (0 to 63) is re- ported to the Host.
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
Bit OFF: The lamp or touch switch is turned off. Example To turn on lamps and touch switches with the numbers 1, 5, 6, 7, and 26 m01m02m11m12m21m22m31m32=E2000004 Description • Changes the display status of the lamps or touch switches.
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.
Page 246
A number with 4 transferred digits set with the NT20 number setting function is reported to the Host with this command. !Caution This command cannot be used for negative numbers. Always set “8” as the number of transferred digits when negative numbers may be input.
Page 247
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.
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
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” touch switch on the screen, or by dis- playing a screen with no buzzer attributes.
Clears all text and graphics on the NT20 screen. Reference: Even if this command is used to clear a screen, the NT20 still displays the pre- ceding screens. After the display of number, text, lamps or touch switches is upgraded, only the upgraded parts are re-displayed.
Page 251
5 (35 ): 4 x 4 times enlargement Description All text and marks sent after this command are displayed in the specified size. Reference: The character string is specified with the Specify Displayed Characters Com- mand (refer to Specify Displayed Characters).
Page 252
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.
Page 253
Reference: The character string continues on the next line if it cannot fit into a single line. Set the position where the character string is displayed with the Set Cursor Position Command (refer to Set Cursor Position).
Page 254
: X coordinate of circle center (3-digit BCD) 000 to 255 : Y coordinate of circle center (3-digit BCD) 000 to 127 : circle radius in dots (3-digit BCD) 001 to 063 Description Draws a circle of the specified radius around the circle center point.
If this occurs, send an enquiry command to read all the accumulated receive data. 3. When a parameter is input, no check is made that the parameter is in the permitted range. Make sure that parameters are input within the permitted...
Page 256
1220 READ CMND(I) 1230 FOR J=1 TO CMND(I) 1240 READ CMND$(I,J,0),CMND$(I,J,1) 1250 IF CMND$(I,J,1) = ”@@@@@@” THEN CMND$(I,J,1) = ”[ESC]”+CHR$(&H22) 1260 NEXT J 1270 NEXT I 1280 ’ 1290 RY=15 1300 ON COM(1) GOSUB *RECV ’ ....
Page 257
1820 IF LEN(SEND$)>56 THEN PRINT ”...” 1830 LOCATE 66,12:PRINT ”OK?”; 1840 YN=1 1850 *YN.KY.IN 1860 LOCATE 74,12:COLOR 2+2*YN:PRINT ”Y”;:COLOR 2–2*YN:PRINT ”N”; 1870 A$=INKEY$:IF A$=”” THEN GOTO *YN.KY.IN 1880 IF A$=CHR$(&H1C) OR A$=CHR$(&H1D) THEN YN=YN*(–1):GOTO *YN.KY.IN 1890 IF A$<>CHR$(&HD) THEN GOTO *YN.KY.IN...
Page 259
Notify lamp and touch switch status 2520 IF R.CODE$<>”S” THEN GOTO *RCV.ERR 2530 PRINT ”Lamp/touch switch number : ”;VAL(”&H”+MID$(RCV$,4,2)) 2540 M=VAL(MID$(RCV$,3,1)) 2550 IF M=0 THEN M$=”OFF” ELSE IF M=1 THEN M$=”ON” ELSE M$=”INVERSE” 2560 PRINT ”Display status : ”;M$ 2570 PRINT:GOTO *RCV.END 2580 ’...
Page 260
3210 FOR I=0 TO 31 3220 LOCATE 65–(I MOD 8)*3,I¥8:PRINT RIGHT$(STR$(I),2) 3230 NEXT I 3240 LOCATE 43,5:PRINT ”Input # : Inverse Input : Run input 99 : Execute” 3250 *ESC.K.2 3260 COLOR 0:LOCATE 43,6:PRINT SPACE$(36) 3270 LOCATE 43,6:INPUT ”Lamp/touch switch number : ”;N...
Page 261
3490 LOCATE 43,4:PRINT ” 3 : All ON” 3500 *QAGAIN 3510 LOCATE 43,5:INPUT ” : ”,M$ 3520 IF M$<>”0” AND M$<>”1” AND M$<>”2” AND M$<>”3” THEN GOTO *QAGAIN 3530 LOCATE 43,6:INPUT ”Lamp/touch switch number : ”,N 3540 N$=RIGHT$(”00”+HEX$(N),2) 3550 SEND$=SEND$+M$+N$ 3560 RETURN 3570 *ESC.R ’...
Page 264
........Draw circle 4760 *E8.X 4770 LOCATE 43,0:PRINT SPACE$(36) 4780 LOCATE 43,0:INPUT ”X COORDINATE OF CENTER OF CIRCLE : ”,CX 4790 IF CX>255 OR CX<0 THEN *E8.X 4800 *E8.Y 4810 LOCATE 43,1:PRINT SPACE$(36) 4820 LOCATE 43,1:INPUT ”Y COORDINATE OF CENTER OF CIRCLE : ”,CY...
Page 265
5320 IF A$<>CHR$(&HD) THEN GOTO *KY.IN 5330 *SEL.RET 5340 COLOR 0 5350 RETURN 5360 DATA ”SCREEN CONTROL”,”MEMORY TABLE OPERATION”,”LAMP, TOUCH SWITCH OPERATION” 5370 DATA ”TOUCH SWITCH INPUT”,”SYSTEM CONTROL”,”CHARACTER SIZE” 5380 DATA ”CHARACTER DISPLAY ATTRIBUTE”,”CHARACTER-STRING DISPLAY”,”FIGURE DISPLAY” 5390 DATA 2 5400 DATA ”Display specified screen”,”[ESC]0”...
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]$”...
(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.) Communications with the...
“Remedy” indi- cated in the table. 7-2-1 Errors Occurring When the Power Is Turned ON The table below shows the errors that can occur when the power supply to the NT20 is turned ON, and their remedies. Message Cause...
Data and System Information Data. 7-2-5 Errors Occurring on System Program Transmit Mode The table below shows the errors that can occur when erasing system pro- gram, downloading system program or when NT20 is power on, and their rem- edies. Message...
• Procedure When a Communications Error Occurs When an error message is displayed, press the [EXIT] touch switch dis- played on the screen. The screen display will return to the RUN mode. • Display of Communications Errors As shown below, communications errors are displayed in the center of the screen, together with a classification indicating whether they are receive or send errors.
Page 273
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 length.
Carry out maintenance work in order to ensure that the NT20 is always used in its optimum condition. !WARNING Do not attempt to take the PLC apart and do not touch any internal parts while the power is being supplied. Doing either of these may result in electrical shock.
Page 275
• After replacement, check that the new NT20 is not subject to the same error. • 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...
UL 1604 Class 1 Division 2 and EC Directives Note (1) The display quality (e.g., the contrast) will deteriorate at temperatures above 40 C. Also, response will be slower due to the characteristics of liquid crystals at low temperatures. (2) Do not use the PT in locations subject to long-term exposure to oil.
Page 277
Unit automatic transmission error. Note (1) There are sometimes faulty pixels in the touch panel but this does not indicate an error as long as the number of bright or dark pixels does not exceed the following limits. 4 total defects max. of the following size with no more than one per 20-mm square: 0.2 mm <...
Page 278
Saved to flash memory (recording format unique to NT20) (screen data memory) Note Number of numeral memory table entries that can be set (number used for numeral display + number used for graphs + number used for numeral settings) Display Element Specifications...
Page 279
The buzzer is turned off on designation from the PLC, by touch switch input, or when a screen without a buzzer-ON specification is displayed. Sound pressure: Min. 80 dB, average 87 dB (measured 10 cm from front face) Maintenance functions • Self-test for memory, switches, etc.
Page 280
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...
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% ( 20 to 40 C)
Page 285
Appendix C Transporting and Storing PTs...
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
Soldering iron Heat-shrink tube (F, 1.5 mm dia., l = 10 mm) 4. Push the heat shrink tube over the soldered joint and heat the tube to shrink it in place. Heat-shrink tube Hood Assembly Assemble the connector hood as shown below.
Refer to the following when making a cable for connecting the NT Support Tool. Assembly of Connecting Cables Wiring should be carried out in one of the following ways, depending on the type of RS-232C connector. 25-pin Connector Personal computer...
Page 289
Connector and Connector hood Cable AWG28 5P IFVV-SB Multi-core shielded cable, made by Fujikura Ltd. CO-MA-VV-SB 5P 28AWG Multi-core shielded cable, made by Hitachi Cable, Ltd. Note One XM2S-0911 (for PT) and either one XM2S-0911 or -0913 (for your personal computer) are needed.
C-series type). C500(F) C500-LK203 Type mounted to C500 base C1000H C2000(H) CV500-LK201 • Features a connector for RS-232C connections and a connector for CVM1/CV-series RS-232C/RS422A connections (switchable type). CV500 • Type mounted to base for CVM1/CV use. CV1000 CV2000 CVM1...
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-@...
Page 292
Note For CPU units marked (*), a communications board is required. 1.Use a CPM2C-CN111 or CS1W-CN114/118 Connecting Cable, CPM1-CIF01 RS-232C Adapter, or CPM1-CIF11 RS-422A Adapter to connect. 2.The CQM1H-CPU11 does not have a built-in RS-232C port, so connect to the PT at the peripheral port with a CS1W-CN118 Connecting Cable.
Page 293
CV500 CV1000-CPU01-V1-EV1 CV1000 CV2000-CPU01-V1-EV1 CV2000 CV2000 CPU01 V1 EV1 CVM1-series CVM1-CPU01-V1-EV@ CVM1-CPU11-V1-EV@ CVM1-CPU21-EV@ Note For CPU units marked (*), a communications board is required. 1.Use a CPM2C-CN111 or CS1W-CN114/118 Connecting Cable, CPM1-CIF01 RS-232C Adapter, or CPM1-CIF11 RS-422A Adapter to connect.
Page 294
Features a connector for RS-232C connections. CS-series CS1G-CPU43H CS1G-H CS1G-CPU44H CS1G-CPU45H CS1H-CPU63H Features a connector for RS-232C connections. CS-series CS1H-CPU64H CS1H-H CS1H-CPU65H CS1H-CPU66H CS1H-CPU67H CJ1G-CPU44 Features a connector for RS-232C connections. CJ-series CJ1G-CPU45 CJ1G Note For CPU units marked (*), a communications board is required.
Page 295
Features a connector for RS-232C connections. CS-series CS1H-CPU64H CS1H-H CS1H-CPU65H CS1H-CPU66H CS1H-CPU67H CJ1G-CPU44 Features a connector for RS-232C connections. CJ-series CJ1G-CPU45 CJ1G Note The direct high-speed 1:N NT Link connection is not supported by CS1-series CPU Units without the -EV1 suffix.
Page 296
Model Specification NT-AL001 RS-232C: 9-pin connector RS-422A: 8-pin terminal block RS-422A Converter Model Specification CJ1W-CIF11 Converts RS-232C to RS-422A or RS-485. RS-232C Adapter Model Specification CPM1-CIF01 Connect the RS-232C port of the NT20 and the peripheral port of the CPM1.
Page 297
C200H-CN131 C200H-CN312 30 cm C@@H NT20M-CNP712 70 cm C200H-CN712 NT20M-CNP222 C200H-CN222 Connecting Cables (for Host Link, NT Link, and RS-232C) Model Specification AWG28×5P Multiconductor shielded cable (FUJIKURA, Ltd.) IFVV-SB CO-MA-VV-SB Multiconductor shielded cable (HITACHI Cable, Ltd.) 5P×28AWG Applicable Connectors (for Host Link, NT Link, and RS-232C)
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
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” column above.
Special Characters English Character Codes Pin 2 of SW2 must be ON to enable English language messages to use the following codes. Example: Hex code is represented by 30, decimal code by 48, and character by 0. Code 20 and 32 in the table represents a space, as indicated by “SP.”...
Page 301
Appendix H Special Characters Hex Digits á í ó ú ⌠ ñ ⌡ Ñ ¿ ¡ ■ « » (See note.) Note Used as the prefix for mark data codes (2 bytes).
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.
(character-string memory table) characters (text) changing the status of allocated bits lamps changing the system settings...
Page 305
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...
Page 306
NT link (1 N) communications speed selecting unit numbers Serial Communications Board...
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 310
Regional Headquarters OMRON EUROPE B.V. Wegalaan 67-69, NL-2132 JD Hoofddorp 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,...
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.
Need help?
Do you have a question about the NT20 and is the answer not in the manual?
Questions and answers