Académique Documents
Professionnel Documents
Culture Documents
! ! ! ! !
Cat.No.
V107-E1-01
Notice
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property. Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. Additionally, there may be severe property damage. Indicates a potentially hazardous situation which, if not avoided, will result in death or serious injury. Additionally, there may be severe property damage. Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information. Note Indicates information of particular interest for efficient and convenient operation of the product. Reference Indicates supplementary information on related topics that may be of interest to the users. 1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
CS1G-CPU-V1 Boxes in model numbers indicate variable characters. For example: CS1G-CPU-EV1 indicates the following models: CS1G-CPU42-EV1, CS1G-CPU43-EV1, CS1G-CPU44-EV1 and CS1G-CPU45-EV1.
OMRON2011
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. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
Contents
Notice................................................................................................................................................................. 1 About this Manual .............................................................................................................................................. 5 Related Manuals................................................................................................................................................ 6 Terminology ....................................................................................................................................................... 7 Introduction ........................................................................................................................................................ 8 Safety Precautions............................................................................................................................................. 9 Precautions for Safe Use..................................................................................................................................11 Precautions for Correct Use ............................................................................................................................ 13 Conformance to EC Directives ........................................................................................................................ 14 Read and Understand this Manual .................................................................................................................. 15 Section 1 Part Names and Functions ........................................................................................................... 18 1-1 Part Names................................................................................................................................................ 19 1-1 Part Names................................................................................................................................................ 19 1-2 Part Specifications ..................................................................................................................................... 21 Section 2 Installing the NB Unit and Connecting Peripheral Devices........................................................... 23 2-1 Installing the NB Unit ................................................................................................................................. 24 2-1-1 Installation environment .............................................................................................................. 24 2-1-2 Installation onto the Operation Panel.......................................................................................... 25 2-1-3 Connecting the Power Supply..................................................................................................... 26 2-1-4 Grounding Wiring ........................................................................................................................ 27 2-2 Start of NB Series ...................................................................................................................................... 28 2-3 Connection to NB-Designer....................................................................................................................... 29 2-3-1 Connecting by RS-232C ............................................................................................................. 29 2-3-2 Connecting by USB..................................................................................................................... 29 2-4 Communication Connections .................................................................................................................... 31 2-4-1 Host Link Connection Method..................................................................................................... 31 2-4-2 Connecting more than one PLC.................................................................................................. 32
2-4-3 Settings for each Unit.................................................................................................................. 33 Section 3 System Setting Mode.................................................................................................................... 46 3-1 The display method of System Setting Mode............................................................................................ 47 3-2 Functions of System Setting Mode............................................................................................................ 47 Section 4 Calibrate Mode.............................................................................................................................. 49 4-1 The display method of Calibrate Mode...................................................................................................... 50 4-2 Functions of Calibrate Mode ..................................................................................................................... 50 4-3 On-line Touch-control Calibration Function ............................................................................................... 50 Section 5 Maintenance and Troubleshooting................................................................................................ 51 5-1 Maintenance .............................................................................................................................................. 52 5-2 Troubleshooting ......................................................................................................................................... 53 5-2-1 Software Trouble......................................................................................................................... 53 5-2-2 Communication-related Troubles................................................................................................ 72 5-2-3 Hardware Troubles...................................................................................................................... 75 5-2-4 Other Troubles ............................................................................................................................ 77 5-3 Request to change the NB Unit................................................................................................................. 78 Appendices ...................................................................................................................................................... 79 Appendix-1 Specifications ............................................................................................................................... 80 Appendix-1-1 General Specifications ................................................................................................... 80 Appendix-1-2 Performance Specifications ........................................................................................... 80 Appendix-1-3 Communication Specifications ....................................................................................... 81 Appendix-2 External Dimensions .................................................................................................................... 82 Appendix-3 RS-422A/485 Connections........................................................................................................... 84 Appendix-3-1 Grounding and Shielding of the Cables ......................................................................... 84 Appendix-4 Fabrication of the Connection Cable............................................................................................ 86 Appendix-4-1 Cable Processing........................................................................................................... 86 Appendix-4-2 Soldering ........................................................................................................................ 87 Appendix-4-3 Shield Assembly............................................................................................................. 87 Appendix-4-4 Method for fabricating the cable for connection to OMRON PLC.................................. 88
Appendix-4-5 Method for fabricating the cable for connection to PC................................................... 89 Appendix-5 List of Models ............................................................................................................................... 90 Appendix-6 List of Options .............................................................................................................................. 94
WARNING
Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
Related Manuals
The related manuals are as follows: Devices and Software NB Series Manual name Manual No. V106 V107 V108 V109 W462 W451 W450 W479 W480 W302 W303 W322 W363 W317 W352 W353 W356 W339 W336 W393 W394 W340 W314 W342 W472 W473 W446
NB Series NB-Designer Operation Manual NB Series Setup Manual (This manual) NB Series Host Connection Manual NB Series Startup Guide PLC SYSMAC CP Series CP1L CPU Unit Operation Manual SYSMAC CP Series CP1H/L CPU Unit Programming Manual SYSMAC CP Series CP1H CPU Unit Operation Manual SYSMAC CP Series CP1E CPU Unit Hardware USER'S Manual SYSMAC CP Series CP1E CPU Unit Software USER'S Manual SYSMAC C200HX/HG/HE(-E/-ZE) Installation Guide SYSMAC C200HX/HG/HE Operation Manual SYSMAC C200HX/HG/HE(-ZE) Operation Manual SYSMAC CQM1H Operation Manual SYSMAC CPM1A Operation Manual SYSMAC CPM2A Operation Manual SYSMAC CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual SYSMAC CPM2C Operation Manual SYSMAC CS1 Series CS1G/H Operation Manual SYSMAC CS/CJ Series Serial Communications Boards and Serial Communications Units Operation Manual SYSMAC CJ Series CJ1G/H(-H) CJ1M CJ1G Operation Manual SYSMAC CS/CJ Series Programming Manual SYSMAC CS/CJ Series INSTRUCTIONS Reference Manual SYSMAC CS/CJ Series Programming Consoles Operation Manual SYSMAC CS/CJ Series Communications Commands Reference Manual SYSMAC CJ Series CJ2 CPU Unit Hardware USER'S Manual SYSMAC CJ Series CJ2 CPU Unit Software USER'S Manual External Tool CX-Programmer Ver.9.Operation Manual
Terminology
The following terminology is used in this manual. z About the terminology NB Unit Indicates the main Unit of the products in the OMRON NB Series of Programmable Terminal. Indicates products in the OMRON NBSeries of Programmable Terminal. In this manual, unless otherwise specified, NBSeries is taken as the subject concerned. Indicates a Programmable Controller in the OMRON CP, CS/CJ, or SYSMAC C Series of Programmable Controllers. Indicates the following products in the OMRON CP Series of Programmable Controllers: CP1HCP1LCP1E Indicates the following products in the OMRON CS/CJ Series of Programmable Controllers: CS1GCS1HCS1G-HCS1H-HCJ1GCJ1MCJ2MCJ2H Indicates the following products in the OMRON C Series of Programmable Controllers: C200HX (-Z)C200HG (-Z)C200HE (-Z)CQM1CQM1HCPM1A CPM2ACPM2C Indicates a Serial Communication Unit for an OMRON SYSMAC CS/CJ-Series PLC. Indicates a Serial Communication Board for an OMRON SYSMAC CS/CJ-Series or CQM1H PLC. Indicates a Communication Board for an OMRON C200HX/HG/HE (-Z) PLC. Indicates a CPU Unit in the OMRON CP, CS/CJ or SYSMAC C Series of Programmable Controllers. Indicates the OMRON NB-Designer. Indicates the PLC and other units functioning as the control devices for NB-Series Units. Indicates an OMRON Programmable Terminal. Indicates an OMRON Programmable Terminal.
NB Series
PLC CP Series
CS/CJ Series
C Series Serial Communication Unit Serial Communication Board Communication Board CPU Unit NB-Designer Host PT HMI
Introduction
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent). y Personnel in charge of introducing FA systems into production facilities. y Personnel in charge of designing FA systems. y Personnel in charge of installing and connecting FA facilities. y Personnel in charge of managing FA systems and facilities.
General Precautions
z z z The user must operate the product according to the performance specifications described in the operation manuals. Do not use the PT touch switch input functions for applications where danger to human life or serious property damage is possible, or for emergency switch applications. Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative. Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms. This manual provides information for connecting and setting up an NB-series PT. Be sure to read this manual before attempting to use the PT and keep this manual close at hand for reference during installation and operation.
Safety Precautions
z Notation Used for Safety Information The following notation is used in this manual to provide precautions required to ensure safe usage of the product. The safety precautions that are provided are extremely important to safety. Always read and heed the information provided in all safety precautions. The following notation is used. Indicates a potentially hazardous situation which, if not avoided, will result in minor or moderate injury, or may result in serious injury or death. Additionally there may be severe property damage.
z Disassembling prohibition Any attempts to disassemble the product may result in electric shock or other injuries. DO NOT DISASSEMBLE! z Caution Indicates general cautionary, warning, or danger level information.
z Warning notation
Do not attempt to take the product apart and do not touch the product inside while the power is being supplied. Otherwise it may result in electric shock.
Do not touch any internal parts while the power is being supplied. Otherwise it may result in electric shock.
Always ensure that the personnel in charge confirm that installation, inspection, and maintenance were properly performed for the NB Unit. Personnel in charge refers to individuals qualified and responsible for ensuring safety during machine design, installation, operation, maintenance, and disposal. Ensure that installation and post-installation checks are performed by personnel in charge who possess a thorough understanding of the machinery to be installed
Do not use the input functions of the touch switch, etc. of the NB Unit, in applications that involve human life, in applications that may result in serious injury, or for emergency stop switches.
Do not attempt to disassemble, repair, or modify the NB Unit. Otherwise it may impair the safety functions.
Never press more than two points on the touch panel of the NB Unit at a time. Otherwise, it may activate a switch somewhere between the two points.
10
11
To use numeric input functions safely, always make maximum and minimum limit set- tings. Before initializing screen data, confirm that existing data is backed up at the NB-Designer. When changing the password with the system menu, do not reset or turn OFF the power supply until writing is finished. Failure to save the password may cause the screen to fail to function. When using an equipment monitor, confirm the safety of the system before carrying out the following operations: y Changing monitor data; y Changing operation mode; y forced setup/reset; y Changing the current value or the set value; Do not connect a USB connector to any device that is not applicable. Before connecting a USB connector to a device, make sure that the device is free of damage. Commercially available and the recommended USB HUBs are different from the general specifications of the NB Unit. The Unit may not function well in an environment subject to noise, static electricity. Therefore, when using a USB HUB, employ sufficient noise and static electricity insulation measures, or install it at a site free of noise or static electricity. While downloading or uploading screen data or system programs, do not perform the following operations that may corrupt the screen data or the system program: y y Turning OFF the power supply of the NB Unit. Pressing the PTs reset switch.
Dispose of the Units and batteries according to local ordinances as they apply.
When exporting products with lithium primary batteries containing perchlorate at 6ppb or above to or delivering them through California, USA, the following precautionary measures have to be publicized. Perchlorate material applicable through special processing. Refer to http://www.dtsc.ca.gov/hazardouswaste/perchlorate NB-Series products contain lithium primary batteries. When exporting products containing this kind of batteries to or delivering them through California, USA, label all the product packages as well as the appropriate delivery packages. Do not use benzene, paint thinner, or other volatile solvents, and do not use chemically treated cloths. Do not dispose the Units together with general waste at waste yards. When disposing them, follow the related local ordinances or rules. Customers may not replace the backlight lamp inside the NB Unit. Please contact OMRONs customer service center. Deterioration over time can cause the touch points to move. Calibrate the touch panel periodically. Water and oil resistance will be lost if the front sheet is torn or is peeling off. Do not use the Unit, if the front sheet is torn or is peeling off. The rubber packing will deteriorate, shrink, or harden depending on the operating environment. Inspect and replace the rubber packing periodically. The communication cables of the COM1 and COM2 connectors are not interchangeable. Confirm the pins of the ports before carrying out communications. Periodically check the installation conditions in applications where the PT is subject to contact with oil or water.
12
13
Conformance to EC Directives
NB-series Programmable Terminals are EMC compliant.
Concepts
OMRON products are electronic devices that are incorporated in machines and manufacturing installations. OMRON PTs conform to the related EMC Directives (see note) so that the devices and machines into which they are built can more easily conform to EMC Directives. The actual products have been through inspections and are completely in accordance with EMC directives. However, when they are built into customers' systems, whether the systems also comply with these Directives is up to the customers for further inspection. EMC-related performance of OMRON PTs will vary depending on the configuration, wiring, and other conditions of the OMRON equipment or control panel. The customer must, therefore, perform final checks to confirm that the overall machine or device conforms to EMC standards. Note The applicable EMC (Electromagnetic Compatibility) standards are as follows: EMS (Electromagnetic sensitivity): EN61131-2: 2007 EMI (Electromagnetic Interference): EN61131-2: 2007
Conformance to EC Directives
NB-series Programmable Terminals are EC compliant. Heed the following precautions in order to ensure that the customers overall machine and device conform to EC Directives. 1. The PT must be installed in a control panel. 2. You must use reinforced insulation or double insulation for the DC power supply and the DC power supply must have minimal voltage fluctuations and provide a stable output even if the power supply input is interrupted for 10 ms. 3. The PTs conform to the standard EN 61131-2, but radiated emission characteristics (10m regulations) may vary depending on the configuration of the control panel used, other devices connected to the control panel, wiring, and other conditions. You must therefore confirm that the overall machine or equipment complies with EC Directives. 4. This is a Class A product (Product for industry purpose). It may cause radio interference in residential areas, in which case the user may be required to take adequate measures to reduce interference.
14
Limitations of Liability
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, 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 REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
15
Application Consideration
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. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use. 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: Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this manual. Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations. Systems, machines, and equipment that could present a risk to life or property. Please know and observe all prohibitions of use applicable to the products. NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any consequence thereof.
16
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other reasons. It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request. Please consult with your OMRON representative at any time to confirm actual specifications of purchased products.
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. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
17
Section 1
This section describes the names and functions of the various parts of an NB Unit. 1-1 Part Names................................................................................................................................................ 19 1-2 Part Specifications ..................................................................................................................................... 21
18
Back view
When turning ON or OFF the power supply, confirm the safety of the system before operation.
19
Back view
When turning ON or OFF the power supply, confirm the safety of the system before operation.
20
z Dont press a touch switch with a force greater than 30N. z Do not accidentally press the touch panel when the backlight is not lit or when the display does not appear. z Confirm the safety of the system before pressing the touch panel. z Do not use a screwdriver or any other tool to press the touch panel. z Signals from the touch switches may not be input if the switches are pressed consecutively at high speed. Confirm each input before proceeding to the next one. z Deterioration over time can cause the touch points to move. Calibrate the touch panel periodically.
z Serial Port COM1 Take the NB5Q-TW00B and NB7W-TW00B products as examples here. COM1 is a 9-pin D-type socket port. This port supports RS-232C communication function, making it connectable to a controller which features RS-232C function, and it can also be used for downloading programs or debugging for the product. The pins are defined as follows:
Pins 1 2 3 4 5 6 7 8 9 Signals NC SD RD RS(RTS) CS(CTS) DC+5V NC NC SG I/O O I O I Functions Sending data Receiving data Request to send* Clear to send* DC+5V output (with a maximum of 250mA) Signal ground
* Pins 4 and 5 of NB5Q-TW00B and NB7W-TW00B are not used, thus not compliant with RS or CS functions.
21
When using the No. 6 pin of the serial communications port COM1 connector for a voltage of DC+5V, make sure the supply equipment's current capacity is below 250 mA before using it. The DC+5V voltage output of the NB Unit is +5V5%, and the maximum current is 250 mA.
z Serial Port COM2 Take the NB5Q-TW00B and NB7W-TW00B as examples here. COM2 is a 9-pin D-type socket port. This port supports RS-232C/RS-485/RS-422A communication function. The pins are defined as follows:
Pins 1 2 3 4 5 6 7 8 9 Signals SDB+ SD RD Terminal R1 Terminal R2 RDB+ SDARDASG I/O I/O O I I/O I/O I/O Functions RS-232C RS-485 Sending data Receiving data RS-422A Sending data(+) -
Terminal resistor 1 Terminal resistor 2 Send/ Receiving Receive data(+) data(+) Sending data(-) Receiving data(-)
DIP Switch
SW1 ON OFF ON OFF SW2 ON ON OFF OFF Operating modes System Setting Mode Calibrate Mode Downloader Mode User Project Mode
y System Setting Mode: The PT will be launched into a built-in system setup screen, and is subject to the user for brightness, system time and buzzer settings. y Calibrate Mode: When the user touches the panel, a symbol + will pop up on the screen, with which the touch control precision level can be calibrated. y Downloader Mode: This is used for basic operations such as updating the firmware, downloading and uploading the users engineering documents, etc. and this mode is not intended for general users. y User Project Mode: This is the User Project Mode of NB-Series PTs. The PT will display the startup screen of the project already downloaded.
z Reset Switch When pressing the switch located on the back side of the PT, the system will be rebooted.
22
Section 2
23
Always ensure that the personnel in charge confirm that installation, inspection, and maintenance were properly performed for the NB Unit. "Personnel in charge" refers to individuals qualified and responsible for ensuring safety during machine design, installation, operation, maintenance, and disposal.
Ensure that installation and post-installation checks are performed by personnel in charge who possess a thorough understanding of the machinery to be installed.
z Do not install the product in any of the following locations: Locations subject to rapid changes in temperature Locations subject to temperatures or humidity outside the range specified in the specifications Locations subject to condensation as the result of high humidity Locations subject to corrosive or flammable gases Locations subject to strong shock or vibration Locations outdoors subject to direct wind and rain Locations subject to strong ultraviolet light Locations subject to dust Locations subject to direct sunlight Locations subject to splashing oil or chemicals z Take appropriate and sufficient countermeasures when the product is used in the following locations: Locations subject to static electricity or other forms of noise Locations subject to strong electric field or magnetic field Locations close to power supply lines Locations subject to possible exposure to radioactivity
When unpacking the Units, check carefully for any external scratches or other damage. Also, shake the Units gently and check for any abnormal sound.
24
1. Slot the panel with dimensions shown below, and fit the NB Unit into the panel from the front side.
2. As follows, insert panel fixators at the four locations on the top and bottom from the back of the NB Unit.
Insert the hooks of positioners into the square holes on the Unit to hold the fixators properly, and tighten the screws firmly with the screwdriver.
When operating on the operation panel, make sure to keep metal particles from entering the Unit. The mounting panel must be between 1.6 and 4.8 mm thick. The NB Unit must be installed in a control panel. For the sake of waterproof and dustproof, all the fixators must be evenly tightened to a torque of 0.5~0.6 Nm. If the tightening torque exceeds the specified value, or the tightening is not even, deformation of the front panel may occur. Make sure that the operation panel is clean, unbent, and strong enough for the installation process.
25
The connectable power supply specifications are as follows: figure out a suitable power supply specification so as to satisfy the requirement for power supply capacity. Models NB5Q-TW00B NB7W-TW00B Rated Voltage DC24V DC24V Allowable Voltage Range DC 20.427.6V DC 20.427.6V Power 6W 7W
Connect using terminal screws crimping on a twisted-pair cable with a crimping range of 1226AWG, and only 6.5mm of insulation peel of the cable needs to be peeled off.
Tighten the terminal screws to a torque of between 0.3 and 0.5 Nm. Make sure the screws are properly tightened.
26
27
When turning ON or OFF the power supply, confirm the safety of the system before operation.
28
Communication conditions Select the downloader mode through the tool menu of the NB-Designer. For details, refer to the NB-Designer User Manual [3-15 Download]. Communication cable Users can make connection cables by themselves. For details, refer to [Appendix-4 Fabrication of the Connection Cable].
29
z USB driver for the NB-Designer A USB driver needs to be installed in the PC for the purpose of transmitting screen data through USB. The USB driver will be automatically installed at the first time when connecting the NB Unit to a PC.
y Market available and the recommended USB HUBs are different from the general specifications of the NB Unit. The Unit may not function well in an environment subject to noise, static electricity. Therefore, when using a USB HUB, employ sufficient noise and static electricity insulation measures, or install it at a site free of noise or static electricity. y Do not connect a USB connector to any device that is not applicable. y Before connecting a USB connector to a device, make sure that the device is free of damage. y Market available USB cables can be used to carry out the connection. Use a cable with a maximum length of 5m.
30
The following cables are recommended. XW2Z-200T (Cable length: 2m) by OMRON XW2Z-500T (Cable length: 5m) by OMRON z The RS-422A connection method using the serial port COM2. With this method, the communication distance can be extended to a maximum of 500m.
z Connectable Units at the host side When using OMRON PLCs, the Units with built-in Host Link function vary depending on models and series. There is also the CPU Unit connected in a Host Link method through adding the serial communication board or communication board. When connecting, confirm the connected PLC's series, model and the models of the installed circuit board/Unit. As to the Units at the host side which can be connected to NB series Unit by RS-232C or RS-422A through a Host Link, refer to [Appendix-5 List of Models].
31
Communication setting The communication settings need to be set as following values before carrying out communications in the Use Host link. Items Data bit Stop bit Parity check Communication speed Connected Unit No. Settings 7bit 2bit Even Any value, but the values for the NB Unit and the host must be the same. 00
At the NB Unit side, these settings are made through the PT menu of the NB-Designer. For details, refer to the NB-Designer User Manual [3-10-8 Serial Port Settings]. For communication settings at the host side, refer to the related PLC manuals as needed.
y Make sure to keep the connector screws firmly tightened after the communication cable is connected. y The maximum tensile load for cables is 30N. y Do not apply loads greater than 30N. y The communication cables of the COM1 and COM2 connectors are not interchangeable. Confirm the pins of the ports before carrying out communications.
32
CP1L-L14/L20/M30/M40/M60 models CP1H-X40/XA40/Y20 models CP1E-N14/N20 models CP1E-N30/N40/N60/NA20 models z PLC System Settings Area Write settings directly into the [PLC System Settings Area] with a peripheral tool (CX-Programmer, etc.) based on the model and port of the host. Host model and Port No. Channel No. (*1) Write Value 8000 0000~000A(*2) 0000 8000 0000~000A(*2) 0000 Setting Use Host Link Communication speed Unit No. 00 Use Host Link Communication speed Unit No. 00 CP1L-M30/M40/M60 models, serial 144 port 1 CP1H-X40/XA40/Y20 models, serial 145 port 1 150 CP1L-L14/L20 models, serial port 1 160 CP1L-M30/M40/M60 models, serial 161 port 2 CP1H-X40/XA40/Y20 models, serial 166 port 2 Host model and Port No. Channel No. 0 03~A(*2) 00
Write Value
Setting Use Host Link Communication speed 7 data bits, 2 stop bits, Even Use Host Link Communication speed 7 data bits, 2 stop bits, Even
CP1E-N14/N20 models, serial port 1 A617.15~12 CP1E-N30/N40/N60/NA20 models, A617.11~08 serial port 1 A617.07~00
0 03~A(*2) 00
*1The channel No. of CP1L/H is PLC Setup area. *2: The communication speed should be set to the same value as that of the NB Unit. z Settings for the front-side DIP Switches Set the front-side DIP switches so as to validate the settings for [PLC System Settings Area]. Set the SW4 to OFF when serial port 1 is used, set SW5 to OFF when serial port 2 is used. As the CP1L-L has only one serial port, it has no DIP switch SW5.
33
C200HX/HG/HE(-Z)CPM1*CPM2*CQM1H type CPU Units z Connection Methods The connection methods for the CPU Units of different PLC models. RS-232C connection RS-422A connection y Connect to the RS-232C port built in the y Connect to the RS-422A port (port A) CPU Unit of the serial communication board y Connect to the RS-232C port (Ports A, B) of the serial communication board CPM1A y Connect to the peripheral port with a y Connect to the peripheral port with a dedicated RS-232C adaptor dedicated RS-422A adaptor (CPM1-CIF01). (CPM1-CIF11 type). CPM2A y Connect to the RS-232C port built in the y Connect to the peripheral port with a CPU Unit dedicated RS-422A adaptor y Connect to the peripheral port with a (CPM1-CIF11 type). dedicated RS-232C adaptor CPM2C y Connect to the RS-232C port built in the y Connect to the peripheral port with a CPU Unit or the peripheral port with a dedicated conversion cable dedicated conversion cable (CPM2C-CN111 (CPM2C-CN111 type or type, CS1W-CN118 type and CS1W-CN114 type) and a RS-422A CS1W-CN114 type) (CPM2C-CN111 type adaptor (CPM1-CIF11 type) is a cable that divides the Unit port into the (CPM2C-CN111 type is a cable that RS-232C port built in the CPU Unit and the divides the Unit port into the peripheral port. When connecting to the RS-232C port built in the CPU Unit peripheral port, a RS-232C adaptor and the peripheral port). (CPM1-CIF01 type) is also needed to be CQM1H y Connect to the RS-232C port built in the y Connect to the RS-422A port (Port 2) CPU Unit of the serial communication board y Connect to the peripheral port with a conversion cable (CS1W-CN118 type) y Connect to the RS-232C port (Port 1) of the serial communication board z PLC System Settings Area Write settings directly into the [PLC System Settings Area] (Data memory) with a peripheral tool (CX-Programmer, etc.) based on the model and port of the host. For RS-232C Host Model The RS-232C port built in C200HX/HG/HE(-Z)CPM2A CPM2CCQM1H CPM1A Channel No. Write Value DM6645 0001 DM6646 03(*3) DM6648 DM6650 DM6651 DM6653 DM6555 DM6556 DM6558 DM6550 DM6551 DM6553 0000 0001 03(*3) 0000 0001 03(*3) 0000 0001 03(*3) 0000 Setting Use Host Link Communication conditions are standard settings. (*4) Unit No. 00 Use Host Link Communication conditions are standard settings. (*4) Unit No. 00 Use Host Link Communication conditions are standard settings. (*4) Unit No. 00 Use Host Link Communication conditions are standard settings. (*4) Unit No. 00 PLC Models C200HX/HG/HE (-Z)
34
*1: The RS-232C port of the Communication Board. *2: The RS-232C port of the Serial Communication Board. *3: is the set value of the communication speed. Set the communication speed to the same value as that of the NB Unit. *4: Standard settings of the Communication conditions are as follows: Start bit: 1 bit, Data bit: 7 bit, Stop bit: 2 bit, parity check: even For RS-422A Host Model Port A of C200HX/HG/HE(-Z) (*1) Channel No. Write Value DM6555 0001 DM6556 03(*3) DM6558 DM6650 DM6651 0000 0001 03(*3) Setting Use Host Link Communication conditions are standard settings. (*4) Unit No. 00 Use Host Link Communication conditions are standard settings. (*4) Unit No. 00
DM6653 0000 *1: The RS-422A port of the Communication Board *2: The RS-422A port of the Serial Communication Board *3: is the set value of the communication speed. Set the communication speed to the same value as that of the NB Unit. *4: Standard settings of the Communication conditions are as follows: Start bit: 1 bit, Data bit: 7 bit, Stop bit: 2 bit, parity check: even For operations on [PLC System Settings Area], refer to the manual of the PLC employed. z Connection methods for CPM2C CPM2C only has a connector with the same shape of the CS-Series peripheral port, but the signal cables inside are classified as used for the RS-232C port built in the CPU Unit and for the peripheral port. Therefore, when using CPM2C, differentiate between the settings for the RS-232C port built in the CPU and for the peripheral port based on the conversion cable and port employed to ensure correct use. Besides, when using a simple communication device (CPM2C-CIF21 type), connect to the RS-232C port. For details, refer to the User Manuals (W356) for CPM2C. Use a self-made connection cable to connect the NB Unit and CPM2C. Connect to CPM2Cs built-in RS-232C port instead of the peripheral port.
When using a simple communication device (CPM2C-CIF21 type), connect to the RS-232C port directly.
35
z Settings for the front-side DIP Switches To activate the settings of [PLC System Settings Area] (Data memory), set as follows according to the PLC: For C200HX/HG/HE (-Z) and RS-232C of CQM1H
For CPM2A
36
Setting methods for communication board switches (For RS-422A) y For C200HX/HG/HE (-Z) Switch 1: Side (4-wire = RS-422A) Switch 2: ON side (terminal resistance ON = Terminal resistance activated) y For CQM1H 2-wire/4-wire switch (WIRE): side (4 wire = RS-422A) Terminal resistance ON/OFF switch (TERM): ON side (terminal resistance ON = Terminal resistance activated)
Settings for the communication adaptor switch y For RS-232C adaptor (CPM1-CIF01 type) Set the mode setting switch to [HOST] (Up side).
y For RS-422A adaptor (CPM1-CIF11 type) Set the terminal resistance switch to ON (Up side)
37
z Connection Methods Connect to the RS-232C port built in the CPU Unit or the RS-232C port of the communication board. When connecting to the peripheral port, a connection cable dedicated for the peripheral port is needed (CS1W-CN118 type). Only RS-232C can be used for connection. z PLC System Settings Area When connecting to CS-Series CPU Unit, refer to the following table and set the communication conditions as follows in [PLC System Settings] based on the communication port in use. Connection Methods Channel No. Write Value Setting Use the RS-232C port built in 160 8000 Use Host Link CS1G/H, CS1G/H-H 161 0000~000A(*1) Communication speed 163 Use the peripheral port of CS1G/H, CS1G/H-H 144 145 147 0000 8000 0000~000A(*1) 0000 Unit No. 00 Use Host Link Communication speed Unit No. 00
*1The communication speed should be set to the same value as that of the NB Unit. [PLC System Settings] can be directly set with a peripheral tool (programming console), or it can be set by transmitting the [PLC System Settings] set up by a peripheral tool (CX-Programmer) to the CPU Unit. For details about the [PLC System Settings], refer to [SYSMAC CS Series User Manual] (W339). z Settings for the front-side Switches Set the DIP switches 4 or 5 as follows according to the NB-Series port connected.
38
z Connection Methods Connect to the RS-232C port built in the CPU Unit or the RS-232C port of the communication board. When connecting to the peripheral port, a connection cable dedicated for the peripheral port is needed (CS1W-CN118 type). Only RS-232C can be used for connection. z PLC System Settings Area (for RS-232C) When connecting to the CJ-Series CPU Unit, refer to the following table and set the communication conditions as follows in [PLC System Settings] based on the communication port in use. Connection Methods Use the RS-232C port built in CJ1G-CPU type, CJ1G/H-CPUH types, CJ1M-CPU types Use the peripheral port of CJ1G-CPU type, CJ1G/H-CPUH types, CJ1M-CPU type Channel No. 160 161 163 144 145 147 Write Value 8000 0000~000A(*1) 0000 8000 0000~000A(*1) 0000 Setting Use Host Link Communication speed Unit No. 00 Use Host Link Communication speed Unit No. 00
*1: The communication speed should be set to the same value as that of the NB Unit. [PLC System Settings] can be directly set with a peripheral tool (Programming console), or it can be set by transmitting the [PLC System Settings] set up by a peripheral tool (CX-Programmer) to the CPU Unit. For details about the [PLC System Settings], refer to [SYSMAC CJ Series User Manual] (W393). z Settings for the front-side Switches Set the DIP switches 4 or 5 as follows according to the NB-Series port connected.
39
z Connection Methods Connect to the RS-232C port built in the CPU Unit or the RS-232C port of the communication board. z PLC System Settings Area (for RS-232C) Carry out setting by transmitting the [PLC System Settings] set up by a peripheral tool (CX-Programmer) to the CPU Unit. On the [Serial Port] options page of [PLC System Settings], set the connection mode to Host Link: 7 Data Bits, 2 Stop Bits, Even. And set the communication speed to the same as that of the NB Unit. For details about the [PLC System Settings], refer to [SYSMAC CJ2 Series Software User Manual] (W473). z Settings for the front-side Switches Set the DIP switch 5 of the CPU Unit as follows according to the NB-Series port connected.
40
Base-mounted type for C200HE(-Z) / C200HG(-Z) / C200HX(-Z) models C200H-LK201/LK202-V1 model Settings for the Switches y For C200H-LK201-V1 (RS-232C) [front-side switches] Each switch is a rotary switch. Use a straight screwdriver set the switches as follows to display the numbers and symbols shown in the table. z
[Back-side switches]
41
y For C200H-LK202-V1(RS-422A) [front-side switches] Each switch is a rotary switch. Use a straight screwdriver set the switches as follows to display the numbers and symbols shown in the table.
[Back-side switches]
42
z Settings for the DM Fixed Allocation Area of the CPU Unit Write settings directly to the [DM Fixed Allocation Area] of the CPU Unit (System Settings Area) with a peripheral tool (programming console or CX-Programmer). After finishing the write-in, the settings can be activated through any of the methods of reconnecting the power supply, restarting the Unit, reactivating the communication port, executing the STUP instruction. The followings are the Channel Nos. and settings of the DM Fixed Allocation Area. It is the same when using RS-232C, RS-422A (port 2 of the CS1W-SCB41 type). DM Fixed Allocation Area (CH) Write Value Setting Port 1 Port 2 DM32000 DM32010 8000 Use Host Link DM32001 DM32011 0000~000A (*1) Communication speed DM32003 DM32013 0000 Unit No. 00 *1: The communication speed should be set to the same value as that of the NB Unit. z Settings for front-side switches (For RS-422A)
43
z Settings for the DM Fixed Allocation Area of the CPU Unit Write settings directly to the [DM Fixed Allocation Area] of the CPU Unit (System Settings Area) with a peripheral tool (programming console or CX-Programmer). After finishing the write-in, the settings can be activated through any of the methods of reconnecting the power supply, restarting the Unit, reactivating the communication port, executing the STUP instruction. The followings are the Channel Nos. and settings of the DM Fixed Allocation Area. m = DM30000 + 100 Unit No. (CH) DM Fixed Allocation Area (CH) Write Value Setting Port 1 Port 2 m 8000 Use Host Link m10 0000~000A (*1) Communication speed m1 m11 0000 Unit No. 00 m3 m13 *1The communication speed should be set to the same value as that of the NB Unit. z Settings for the front-side Switches Set the Unit No. of the serial communication Unit by the rotary switch on the front side of the Unit. Use a straight screwdriver set the switches as follows to display the numbers and symbols shown in the table.
44
z Settings for the DM Fixed Allocation Area of the CPU Unit Write settings directly to the [DM Fixed Allocation Area] of the CPU Unit (System Settings Area) with a peripheral tool (programming console or CX-Programmer). After finishing the write-in, the settings can be activated through any of the methods of reconnecting the power supply, restarting the Unit, reactivating the communication port, executing the STUP instruction. The followings are the Channel Nos. and settings of the DM Fixed Allocation Area. It is the same when using RS-232C, RS-422A. m = DM30000 + 100 Unit No. (CH) DM Fixed Allocation Area (CH) Write Value Setting Port 1 Port 2 m 8000 Use Host Link m10 0000~000A (*1) Communication speed m1 m11 0000 Unit No. 00 m3 m13 *1The communication speed should be set to the same value as that of the NB Unit. z Settings for the front-side Switches
45
Section 3
This section describes the System Setting Mode 3-1 The display method of System Setting Mode............................................................................................ 47 3-2 Functions of System Setting Mode............................................................................................................ 47
46
47
If you want to change the month, click where the month is (eg. 09), and a digit input keyboard will pop up. Input the month value, and click the Enter button to confirm the change.
48
Section 4
Calibrate Mode
This section describes the Calibrate Mode. 4-1 The display method of Calibrate Mode...................................................................................................... 50 4-2 Functions of Calibrate Mode ..................................................................................................................... 50 4-3 On-line Touch-control Calibration Function ............................................................................................... 50
49
50
Section 5
This section describes the maintenance and inspection methods for preventing errors occurring, and troubleshooting measures when errors occur. 5-1 Maintenance .............................................................................................................................................. 52 5-2 Troubleshooting ......................................................................................................................................... 53 5-3 Request to change the NB Unit................................................................................................................. 78
51
5-1 Maintenance
Maintain the PT to keep it in its optimal condition.
Do not attempt to take the product apart and do not touch the product inside while the power is being supplied. Otherwise it may result in electric shock.
Backing Up Project Data When the PT needs to be repaired or the Unit needs to be replaced for any fault, always backup the project data and save it properly. Standby Unit Have a standby Unit at hand so that when the currently employed PT fails, or the screen becomes blurry because of running out of its backlight lifetime, the system can be restored quickly.
52
5-2 Troubleshooting
When a problem occurs during operation, refer to the listed problems below for the corresponding solutions
When running the NB-Designer for the first time, right-click the mouse on the icon "NB-Designer.exe" to select "Run as Administrator". And then, run the software directly.
53
3. How to change system parameters like user level passwords and Baud rate.
These are all controlled by the local special register. These system parameters can be found by double-clicking the component attributes, and selecting [System register].
For example, the addresses for changing the password online are: LW1002210023 Password/0 level Occupying a double word; LW1002410025 Passowrd/1 level Occupying a double word; LW10026 10027 Password/level 2 Occupying a double word; besides,LW1011810143 Password/level 315 Occupying double word * 13. If the level 2 password needs to be changed, set in the software as follows: First, Place a Number Input component on window, check [System Register], then select LW10026, as shown below
54
Select [Password] for the Data Type in the attributes page of [Numeric Data], as follows:
The process is the same for changing other system parameters online. But note that after changing the following system parameters, the HMI needs to be rebooted to validate the changes. System Parameter Setting: the following addresses will take effect after reboot. Addresses 10010 10011 10013 10014 10015 10016 10017 10018 Descriptions Initial Window number Screen saver (backlight saver) Common window/Pop-up window Common window/attribute Storage event number RTC source Default language System reserve 065535 0 (OFF, Constant, Screen saver inactivated) 1~600 minutes (activated) 0: Normal 1: Higher than other windows 0: Lower than the Base window 1: Higher than the Base window 065535 0: PLC(Local Word) 1: Internal RTC 03 HMI internal use comments
55
5. What if the uploading password or the online change password of the HMI is lost?
If the uploading password of HMI is lost, data cant be uploaded, and the only solution is to download the project again to overwrite the original one. Similarly, if the online change password is lost, it also requires to download the project again and set a new password. Thus, in order to guarantee the safety of users' projects, please back up the original projects, for decryption is not within our service range.
56
8. When opening a project, what if there is a prompt: [Font not existing in the system]?
a prompt [
will be replaced with a font that exists in the system, eg. UnBatang.
9. How to set the addresses of the component for displaying warnings and events, and how to inquire warnings and events?
Its best to use the internal register of the HMI LW for the address type of the component for displaying warnings and events, and the address can be designated as any of the vacant address in the project. When we record warnings and events on HMI, one page is almost certainly not enough, then turn-page inquiring is needed to be set, thus the address in the attributes of the component for displaying warnings and events takes effect. Take LW10 for an example, as follows:
Use two [Multi-State Setting Component] as the Page Up/Down button, designate the button address the same as the component for display, and set as follows in the attributes page of [Multi-State Setting].
57
Note: Incremental upper limit is determined by how many events the customer wants to record, while the decremental lower limit is recommended to be set to 0.
11. How to keep the time in the event record and in the PLC synchronized?
Check [Use The External Clock for Event] in [HMI Attribute] [HMI Extended Attributes], as follows:
Meanwhile, clock register data inside the PLC is also needed to be transmitted to the local register LW9010-9017. For details, refer to the NB-Designer User Manual [3-10-3 HMI Extended Attributes].
58
12. Why cant the history events be saved even if saving is selected?
In most of this kind of cases, although the customer selects to save them, the No. of events to be saved which is 0 by default is not changed to the No. the customer needs, thus the problem occurs. In this case, just set the No. of events to be saved to make it work. This is done in [HMI Attribute] --- [Historical Events Storage], as follows:
13. The cause of HMI prompting RTC Device error and the solution
When HMI prompt RTC Device error, its probably because the clock chip fails. If the recipe component or the system time is not used, this notice can be shielded without affecting other operations. The method to shield it is: place a [Bit State Setting Component] in the projects common window, with the address set to LW.B 9298.0 and the set type to [Set On when Window Open] status.
14. What if there is one digit less when displaying negative numbers, or it displays ****?
When the data type in the software is decimal, the minus sign also occupies a bit, therefore one more integer bit is needed.
15. When switching the screens with a PLC, why cant the screen being set up be accessed repeatedly?
Its likely because the value of the PLC address through which screen switching is set doesnt change. When switching the screen and leaving it in other ways (eg. by screen switching button), as the value of the PLC address doesnt change, the screen cant be accessed repeatedly with PLC control. Solution: add a [Multi-State Setting component] to the window of leaving designated screen, with the address set to the same as the one in [PLC Control Change Window], and the attribute to [Set at Window Close] (This value can be set as a negative).
16. When calling a screen with a direct window, why doesnt the target screen show up completely?
When calling a target screen with a direct window, the left top corner is taken as the base point. If the size of the direct window component is smaller than then target window, the display may be incomplete. Therefore, when editing the target screen, place the component with the left top corner as the base point and make sure that the size of the target screen is the same as that of the direct window component.
17. Components on the screen such as the indicator, button etc. wont show up properly, while offline simulation still works as normal.
It may be caused by communication disruption between the HMI and the slave. If the communication fails and the component on the screen takes the slaves address, components like the indicator and buttons will not show up properly. Restoring the communication will solve this problem. With respect to how to restore the disrupted communication, refer to communication-related issues in this manual.
59
18. Can the HMI be restarted without interrupting the power supply?
There are two ways to restart it without interrupting the power supply: Method 1: Press the RESET button on the back of the panel to restart it. Method 2: Make a [Bit State Switch] component, with the address as LB9045. When LB9045=1, the HMI will restart.
19. How to make the HMIs buzzer sound when a warning occurs?
Set Buzzer Warning in the warning settings, and the buzzing time can be set as required, as shown below:
20. When the backlight is dimmed, how to light it up by means of the PLC addresses?
Select the PLC control component, then select [Backlight Open], as shown below:
60
21. Why does the characters input as text turn up as messy codes?
This may be because the text input Component or the Note Book Component involves vector fonts. When inputting Chinese characters, the text input Component and the Note Book Component do not support vector font, but only support Dot Matrix Font, as shown below:
22. How to skip to the target screen after inputting the password correctly?
Place a Function Key Component on the screen, and overlay it with a Trigger Touch component. Assume that the device address of the Trigger Touch Component is LB10 and the Trigger Type of it is OFF->ON, then select Trigger Register in the control settings of the attributes of the Number Input Component for password input. Cause the LB10 to be turned ON after setting the attribute to After Written Notice. When the password is input correctly, it can directly skip to the screen switched by the Function Key. Note: The function of the Trigger Touch Component is equivalent to clicking the area covered by the Trigger Touch. When the trigger condition is satisfied, the components in this area will be executed.
61
23. What if a warning: no newline at end of file pop up when compiling a macro program
When compiling a program, a macro instruction compiling warning warning: no newline at end of file pops up on the Message window. No error is found after check, but the warning persists after compiling. In this situation, input an enter at the last row of the macro instruction, as follows:
24. Why does a System Cash: SegV appear after calling a macro program?
The likely causes are as follows: A The address range specified in the macro instruction exceeds the actual address B When using array data, the array data range exceeds limits. For example: when defining int array [10], if array [10] is used, there will be an issue of array exceeding limits. C When proceeding division operation, the denominator is 0, and no judgment is made. D An endless loop forms in the macro.
25. Why cant a project edited recently be renamed after closing the NB-Designer?
The project file names cant be changed directly, and the only way to rename a project is to use the [Save As] option in the [File] menu.
62
27. How to make sure that pictures imported are not distorted?
Cut the picture with a drawing tool first. For example, if a 320*240 picture is to be fitted on a screen with a resolution of 800*480, use Image Software to set the width at 320 and the height at 240 in Edit>Resize, then import it into the configuration project, as shown below.
28. When a new project is created, what roles do the windows coming with the system play respectively, and can they be deleted?
Its better not to delete or alter the windows coming with the system, especially for new users, because each window plays a specific role. The indications of the windows are as follows: Window 0: default Startup Window (Frame 0), which can be used for editing the first page. Window 1: Common Window, in which there are two direct windows used for ejecting the numeric keyboard coming with the system, and what is more, all the components in the Common Window work in any of windows of the project. Window 2: Fast Selection Window, used for ejecting the taskbar, and users can place a page-turning button in this window. Windows coming with the system also include: NUM keyboard ASCII keyboard HEX Keyboard Operator Confirm Window: this window is used together with the [Operator Confirm] of the attributes page of [Control Setting]. You can change the attributes of the windows coming with the system in [HMI Extended Attributes] of [HMI Attribute], as shown below:
63
29. What methods are there for triggering (executing) macro programs
There are 5 kinds of triggering methods for macro instructions, from which users can choose the triggering methods they need. Method 1: [HMI Attribute] > [HMI Extended Attributes] > [Use INIT Macro]: When the HMI is energized and started, the set macro program is executed once, as shown below:
64
Method 2: [Function Key] > [Execute Macro]: each time the Function Key is clicked, the macro program is executed once, as shown below:
Method 3: [Timer] > [Execute Macro]: The triggering and execution of the macro program is controlled by time.
65
Method 4: [PLC Control] > [Execute Macro Program]: The execution of the macro program is controlled by the PLC address.
66
Method 5: [Event Information] > [Execute Macro]: the macro program is triggered and executed by events, and when the set event condition is satisfied, the macro program is executed.
30. What formats of pictures does NB-Designer support, and how to import these pictures?
The formats of pictures that can be imported include: .JPG, .GIF, .BMP and .PNG. Import method:
67
68
After a password is set, the password needs to be entered correctly to carry out uploading, or not, the uploading cant proceed; you can disable uploading completely by deselecting [Allow Upload]. If [Allow Decompilation] is selected and a password is set, the correct password is required to be entered to proceed with decompilation. If [Allow Decompilation] is deselected, decompilation cant be performed even after a project is uploaded. Note that if the project is large and decompilation is not required, then decompliation can be deselected to save the storage space of the HMI.
69
2. Add a [Bit State Switch] and a static text on the screen, with the Use TextLib selected for tags, as shown below:
70
3. Add two Multi-State Setting Components on the screen, with both of the addresses being LW9130, the setting Mode being Set Constant, the values set to 0 and 1 (0: Chinese display, 1: English display); online language switching can be achieved by changing the value of LW9130. 4. When activating the English" button, the screen will be displayed in English, and when activating the Chinese button, the screen will be displayed in Chinese, as shown below:
71
2. Components cant be displayed simultaneously after a page-turn, and in some cases, they turn up after a few seconds
This is probably due to a low communication speed. With respect to the solution, refer to [3. Why is the communication between the HMI and slave Unit slow and how to improve it].
3. Why is the communication between the HMI and slave Unit slow and how to improve it
The possible causes of a slow communication: There are too many components on a single screen communicating with the slave Unit, and besides, the addresses are not continuous: B The macro program calls too many addresses of the salve Unit directly, and its not recommended to directly use slave Unit addresses in a macro program; C The Common Window or some other window employs too many timers; D Too many background components such as Trend Curve, XY Plot and historical data are employed, and the background components are running all the time; E Warning and Event Information Registration addresses are too many and not continuous; F Too many PLC control components are used; G On-site Interference; H Too many vector font formats are used, while the font formats featured in a project should be as few as possible; I Too many bitmaps are used; J Too many windows pop up, such as direct windows and indirect windows; K There are too many controllers communicating with the HMI and too many communication addresses. Solutions: A Components on a single screen communicating with the slave Unit should be as few as possible; B Try to keep the addresses of the components on a single screen communicating with the slave Unit continuous; C Try to use HMIs internal addresses for variables in a macro program. If there is a need for exchanging data between the touch panel and slave Unit communication components, resort to the data transmission function of the timer or data transmission components; D Keep a minimum of number of channels of background components such as Trend Curve, XY plot and historical data display components, etc. and make sampling periods as long as possible; E Try to keep Warning and Event Information Registration addresses continuous; F Do not use too many PLC control components;
72
G Use a shielded cable for the communication cable. Keep it at least 10 CM away from power lines, H
and make sure the system is grounded properly; Try to use tag fonts when programming. Try to use less vector fonts, and when using vector fonts, keep font formats as few as possible.
6. How to decide whether communications are normal or not through the internal addresses of the HMI
Decide which station breaks off through a bit; Serial port 2: LW9432-9447, 16 words are equivalent to 256 bits, with each bit corresponding to a PLC. No response = ON, Normal = OFF. See the following diagram:
Assume that 3 S7-200 PLCs connect to the COM2 port of NB7W, the station numbers of which are 2, 3, 4 respectively; if the PLCs with the station numbers 2 and 4 fail communication, the internal registers LW.B9432.2 and LW.B9432.4 will turn ON automatically, as shown below:
73
7. The communications of the PT and PLC are normal, but why are some numeric values are indicated as ****
When the data coming from registers communicating with the PLC exceeds the setting range of the Number Display or Number Input, **** will appear. It indicates an overflow of a numeric value. The user can set the integer bit digit number range of the Number Display or Number Input larger through the software to make numeric value display normal. For example, change the integer bit digit number from 3 to 4.
8. Why is the window-switching speed of the PT becoming slow after macro instructions are used
When writing macro-code programs, if a large of number of address variables of the PLC or slave Unit are defined, the execution speed of the PT may suffer. When executing a macro program, the processor picks up the variable addresses defined first, executes macro operation, then carries out output. If the macro program is executed at a high frequency, a large amount of time is used to perform communication with the slave Unit, thus affecting the execution speed of the PT as a whole.
74
9. When PT communicates with S7-200, why cant the VD address value be displayed A First check whether the VD in the PLC is a double integer type or a single-precision floating-point
number, then set the right data type on the PT; B The settings on the PT are consistent with the coding format on the PLC. Check whether the BIN format is adopted, while with BCD format, the display will fail.
Click the time component, input the current time. Method 2: Create a new project, and place 7 Number Input components on the screen, with each of the addresses LW10000~LW10006 respectively corresponding to the Second, Minute, Hour, Day, Month, Year and Week The time can thus be calibrated through changing the values of these 6 Number Input components.
3. Why does the data in the PT recipe register disappear after a power interruption
When the PT is disconnected from the power supply, the data hold area on the PT and the RTC both need to be energized by the battery on the PT mainboard. When the battery voltage descends to an unsustainably low level, it may lead to loss of data, therefore requiring the Unit to be sent back to the factory for battery replacement.
75
their own characteristics, its recommended that touch-control calibration be carried out yearly. Calibration method: tweak the DIP switch 2 on the backside of the PT to ON and restart the PT. A + will appear on the screen. Click it, the + will shift after the PT responds. You have to click again and after a total of 5 consecutive clicks, the PT will prompt you whether the calibration is a success. If it is a success, the PT will skip to the user program screen, while if it is not a success, the "+ will pop up again, requiring another round of calibration. Note: After a successful calibration, the DIP switch 2 needs to be set back to OFF, or not, the system will prompt you for a calibration every time you turn on the power supply.
7. PT black screen A B C D E
The possible causes for a black screen are as follows: The power supply to the PT is abnormal; The PT enters the screen saver (backlight saver) mode; Control backlight OFF is set through the PLC Control Component; Backlight broken; The LCD panel is damaged. Solutions: A Check the power supply to the PT, use a multimeter to measure whether the voltage is within the normal range or whether the output power is too low; B Click the PT screen to exit the screen saver mode; C Check whether control backlight OFF is set through the PLC Control Component in the PT program; D Please contact OMRONs customer service center.
The causes of a white screen or a flickering screen: the ambient temperature exceeds the range specified on the PT nameplate, or the liquid crystal is damaged. Solutions: Check the ambient temperature and compare it with that specified on the PT, or contact OMRONs customer service center.
9. The serial port gets heated when the PT communicates with other devices
Check the grounding of the PT and other communication devices. If the grounding is not shared, there is a possible significant voltage difference between the devices, leading to a heavy current, thus causing a heated serial port.
76
2. What is the difference between the USB Host and Slave ports
USB Slave port is used only for downloading/uploading data and executing functions related to the NB-Designer, and not for communicating with the slave Units. USB Host port can be connected to a USB flash disk, or a USB-interfaced mouse, keyboard, barcode scanner, printer, etc. According to the appearance, the Slave port is customarily called [Square port], while like the USB port on a PC, the Host port is customarily called [Flat port]. The USB Slave port is as shown below:
3. What influences do on-site interferences have on the PT, and what are the countermeasures
On an industrial site, various kinds of interferences will be encountered inevitably. Interferences may cause the following troubles for the touch panel. A A small information window displaying PLC NO RESPONSE appears intermittently; B Communications with the PT breaks off, whenever an inverter, motor, transformer or some other equipment alike starts; C The PT crashes; D The touch-control of the PT becomes insensitive. The interference issue is a rather complicated one, and the commonly used methods for handling this issue include: A Anti-strong-electricity-interference Keep weak electricity cables such as communication cables, signal cables and control cables away from strong electricity, with a minimum distance of 20 CM, and do not lay them parallel with strong electricity cables. If possible, wire them through iron tubes, and if the cable duct is multilayered, lay the weak electricity cables below the strong electricity ones. B Anti-inner-cabinet-interference Its recommended that the alternating current cables and the direct current cables be laid in separate channels, and if laid in the same channel, the weak electricity cables and the strong electricity ones need to be bundled separately, and be kept as far away as possible. C Signal cable anti-interference Employ STP cables, and ground the shielding layer at one side or add a magnetic ring. D Anti-inverter-interference Connect a filter to the power-supply side of the inverter, and shroud it with a metal casing. E Every equipment needs to be grounded properly. F Use a separate switching power supply for the PT.
77
78
Appendices
Appendix-1 Specifications ............................................................................................................................... 80 Appendix-2 External Dimensions .................................................................................................................... 82 Appendix-3 RS-422A/485 Connections........................................................................................................... 84 Appendix-4 Fabrication of the Connection Cable............................................................................................ 86 Appendix-5 List of Models ............................................................................................................................... 90 Appendix-6 List of Options .............................................................................................................................. 94
79
Backlight
80
Touch panel
Type: resistance type Resolution: 4096*4096 Operation force: 0.8~1.2 N Press endurance: min. 1,000,000 times
Note: the operation part is of an analog resistive film type. When two or more points on the panel are pressed simultaneously, the switch at the center of the pressed area may act if there is one. Therefore, do not press two or more points on the panel simultaneously.
NB-Designer is free distributed on Omron web site. Please access your local Omron web site and try to download.
COM1
COM2
Compliant with EIA RS-232C D-sub, 9-pin connector socket Pin 6 DC +5V output (Max. 250 mA) Communication cable length: Max.15m Compliant with EIA RS-232C/422A/485 D-sub, 9-pin connector socket At one point, only one from RS-232C, RS-422A and RS-485 can be designated to perform communications Communication cable length: Max.15m (RS-232C) Max. 500m (RS-422A/485)
81
82
NB7W-TW00B model
83
z Grounding wiring The NB Unit has a functional grounding terminal ( ). Generally, make the grounding according to Fig. (a) y Connect the grounding terminals (GR) of the devices and the functional grounding terminal ( ), then make a D-type grounding at point 1 (Max. grounding resistance 100 ) y Short-circuit the LG terminal and GR terminal of the PLC. y Use a cable with a minimum of 2 mm2 for the grounding cable. y For details about the connection methods, refer to the related communication Unit manuals. When grounding the Unit with noise source equipments such as motors and inverters, etc. from the same panel, do not ground the NB Units functional grounding terminal ( ) as shown in Fig. (b)
Be sure to shield the RS-422A/485 cables. Connect the grounding terminals (GR) of the devices and the functional grounding terminals ( shielding according to Fig. (a). If grounding is not done to the functional grounding terminal ( shown in Fig. (b) ) of the NB Unit, shield both ends as ), and
when making a D-type grounding at point 1 (Max. grounding resistance 100 ), carry out a single-end
84
85
86
Appendix-4-2 Soldering
Sheathe each wire with a heat shrinkable tube. Place some standby soldering tin on each wire and each pin of the connector. Solder each wire and each pin of the connector.
Pull the heat shrinkable tubes back to the soldering parts, heat them with a heat shrinking gun to make them shrink.
87
Appendix-4-4 Method for fabricating the cable for connection to OMRON PLC
When fabricating the cable for connecting the NB Unit and OMRON PLC, refer to the following methods:
COM1
z The cable for connecting the NB Unit serial port COM1 to OMRON PLC (RS-232C)
COM2
z The cable for connecting the NB Unit serial port COM2 to OMRON PLC (RS-232C)
The cable for connecting the NB Unit serial port COM2 to OMRON PLC (RS-422A)
88
25-pin Connector
9-pin Connector
89
CJ1W-SCU41
90
Units at the host side which can be connected using the serial port of the NB Unit in the RS-232C mode through Host Link
CPU Unit with built-in Host Link function CP1L-L14/L20/M30/M40/M60 CP1H-X40/XA40/Y20 CP1E-N14/N20 CP1E-N30/N40/N60/NA20 C200HE-CPU11/32/42 C200HE-CPU11/32/42-Z C200HG-CPU33/43/53/63 C200HG-CPU33/43/53/63-Z C200HX-CPU34/44/54/64 C200HX-CPU34/44/54/64/65/ 85-Z C200HE-CPU32/42 C200HE-CPU32/42-Z C200HG-CPU33/43/53/63 C200HG-CPU33/43/53/63-Z C200HX-CPU34/44/54/64 C200HX-CPU34/44/54/64/65/ 85-Z CPU Unit that can be connected through adding Host Link Units/communication boards Options required for connection CP1W-CIF01 CP1W-CIF01 CP1W-CIF01 C200H-LK201-V1
PLC Series
CP Series
C Series
C200HE-CPU42 C200HE-CPU42-Z C200HG-CPU43/63 C200HG-CPU43/63-Z C200HX-CPU44/64 C200HX-CPU44/64/65/85-Z CPM1-10/20CDR- CPM1-CIF01 CPM1A-10/20/30/40CD- CPM1-CIF01 CPM2A-30/40/60CD- CPM1-CIF01 (When a peripheral port is connected)
CS Series
CPM2C-10/20- (*1) CQM1H-CPU11/21/51/61 (*2) CQM1H-CPU51/61 CS1G-CPU42/43/44/45 (-V1) CS1G-CPU42/43/44/45 (-V1) CS1H-CPU63/64/65/66/67 (-V1) CS1H-CPU63/64/65/66/67 (-V1) CS1G-CPU42H/43H/44H/45H CS1H-CPU63H/64H/65H/66H/ 67H CJ1G-CPU44/CPU45 CJ1G-CPU42H/43H/44H/45H CJ1H-CPU65H/66H/67H CJ1M-CPU11/12/13/21/22/23 CJ2M-CPU31/32/33/34/35 CJ2M-CPU11/12/13/14/15 CJ2H-CPU64/65/66/67/68 (-EIP) CS1G-CPU42H/43H/44H/45H CS1H-CPU63H/64H/65H/66H/ 67H CJ1G-CPU44/CPU45 CJ1G-CPU42H/43H/44H/45H CJ1H-CPU65H/66H/67H CJ1M-CPU11/12/13/21/22/23
CJ1 Series
CQM1H-SCB41 CS1W-SCU21 (-V1) CS1W-SCB21 (-V1) CS1W-SCB41 (-V1) CS1W-SCU21 (-V1) CS1W-SCB21 (-V1) CS1W-SCB41 (-V1) CJ1W-SCU21/41/-V1 CJ1W-SCU21/41/-V1 CJ1W-SCU21/41/-V1 CP1W-CIF01
CJ2 Series
*1 Connect using conversion cables (CPM2C-CN111 type or CS1W-CN114/118 type), the RS-232C adaptor (CPM1-CIF01 type) or the RS-422A adaptor (CPM1-CIF11 type). *2: The CQM1H-CPU11 model doesnt have the RS-232C port built in the CPU, therefore it requires a peripheral port to be connected to a PT through a conversion cable (CS1W-CN118 type).
91
Units at the host side which can be connected using the serial port of the NB Unit in the RS-422A mode through Host Link
CPU Unit with built-in Host Link function CP1L-L14/L20/M30/M40/M60 CPU Unit that can be connected through adding Host Link Units/communication boards Options required for connection CP1W-CIF11 CP1W-CIF12 CP1W-CIF11 CP1W-CIF12 CP1W-CIF11 CP1W-CIF12 C200H-LK202-V1
PLC Series
CP Series
CP1H-X40/XA40/Y20 CP1E-N30/N40/N60/NA20 C200HE-CPU11/32/42 C200HE-CPU11/32/42-Z C200HG-CPU33/43/53/63 C200HG-CPU33/43/53/63-Z C200HX-CPU34/44/54/64 C200HX-CPU34/44/54/64/65/ 85-Z C200HE-CPU32/42 C200HE-CPU32/42-Z C200HG-CPU33/43/53/63 C200HG-CPU33/43/53/63-Z C200HX-CPU34/44/54/64 C200HX-CPU34/44/54/64/65/ 85-Z CPM1-10/20CDR- CPM1-CIF11 CPM1A-10/20/30/40CD- CPM1-CIF11 CPM2A-30/40/60CD- CPM1-CIF11 (When a peripheral port is connected) CPM2C-10/20- (*1) CQM1H-CPU51/61 CS1G-CPU42/43/44/45 (-V1) CS1H-CPU63/64/65/66/67 (-V1) CS1G-CPU42H/43H/44H/45H CS1H-CPU63H/64H/65H/66H/ 67H CJ1G-CPU44/CPU45 CJ1G-CPU42H/43H/44H/45H CJ1H-CPU65H/CPU66H CJ1M-CPU11/12/13/21/22/23 CJ2M-CPU31/32/33/34/35
C Series
CQM1H-SCB41 CS1W-SCB41 (-V1) CS1W-SCB41 (-V1) CJ1W-SCU41-V1 CJ1W-SCU41-V1 CJ1W-SCU41-V1 CP1W-CIF11 CP1W-CIF12
CS Series
CJ1 Series
CJ2 Series
*1 Connect using conversion cables (CPM2C-CN111 type or CS1W-CN114/118 type), the RS-232C adaptor (CPM1-CIF01 type) or the RS-422A adaptor (CPM1-CIF11 type).
92
93
Installation fittings
Models NB5Q-ATT01 Descriptions Only NB5Q-TW00B requires optional installation fittings. When HMI users switch from the NT/NS/NQ Series to HMI of NB Series, due to the difference of the unit size, installation fittings can be utilized to guarantee the process quick and smooth.
94