Omron NA, NA5-9W001, NA5-7W001, NA5-15W101, NA5-12W101 Startup Manual

Page 1
At the end of this document you will find links to products related to this catalog. You can go directly to our shop by
clicking HERE. HERE
Page 2
Programmable Terminal
NA-series
Startup Guide
V120-E1-01
Page 3
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. Neverthe­less, 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.
OMRON, 2014
Trademarks
• Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products.
• Windows, Windows XP, Windows Vista, Windows 7, Windows 8, Excel, and Visual Basic are registered trademarks of Microsoft Corporation in the USA and other countries.
• EtherCAT
® is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.
• ODVA, CIP, CompoNet, DeviceNet, and EtherNet/IP are trademarks of ODVA.
• The SD and SDHC logos are trademarks of SD-3C, LLC.
• Portions of this software are copyright 2014 The FreeType Project (www.freetype.org). All rights reserved.
Other company names and product names in this document are the trademarks or registered trademarks of their respective companies.
Page 4
1
Introduction
NA-series Programmable Terminal Startup Guide (V120)
Introduction
Thank you for purchasing an NA-series Programmable Terminal.
This manual contains information that is necessary to use the NA-series Programmable Terminal. Plea
se read this manual and make sure you understand the functionality and performance of the
NA-series Programmable Terminal before you attempt to use it in a control system.
Keep this manual in a safe place where it will be available for
reference during operation.
This manual is intended for the following personnel, wh
o must also have knowledge of electrical sys-
tems (an electrical engineer or the equivalent).
• Personnel in charge of introducing F
A systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of installing and
maintaining FA systems.
• Personnel in charge of managing F
A systems and facilities.
This manual covers the following
products.
• NA-series Programmable Terminals
Intended Audience
Applicable Products
Page 5
Relevant Manuals
2
NA-series Programmable Terminal Startup Guide (V120)
Relevant Manuals
The basic information required to use an NA-series PT is provided in the following three manuals.
NA-
series Programmable Terminal Hardware User’s Manual (Cat. No. V117)
NA-se
ries Programmable Terminal Software User’s Manual (Cat. No. V118)
NA-
series Programmable Terminal Device Connection User’s Manual (Cat. No. V119)
Operations are performed from the Sysmac Studio Automation Software.
Refer to the Sysma
c Studio Version 1 Operation Manual (Cat. No. W504) for information on the Sys-
mac Studio.
Other manuals are necessary for specific system con
figurations and applications.
The following manual is also available to walk you through installations and operations up to starting actu
al operation using simple examples.
Refer to it as required.
NA-se
ries Programmable Terminal Startup Guide Manual (Cat. No. V120)
Page 6
3
Manual Structure
NA-series Programmable Terminal Startup Guide (V120)
Manual Structure
The following page structure is used in this manual.
Note This illustration is provided only as a sample. It may not literally appear in this manual.
Page Structure and Markings
Level 1 heading Level 2 heading Level 3 heading
Level 2 heading
A step in a procedure
Manual name
Special information
Level 3 heading
Page tab
Give the current headings.
Indicates a procedure.
Icons indicate precautions, additional information, or reference information.
Gives the number of the main section.
3 - 5
3 Installation and Wiring
NA Series Programmable Terminal Hardware User’s Manual (V117)
3-3 Installing NA-series PTs
3
3-3-1 Installation in a Control Panel
3-3 Installing NA-series PTs
The NA-series PT is installed by embedding it in a control panel. Panel Mounting Brackets and a Phillips screwdriver are required to mount the NA-series PT. The required number of Panel Mounting Brackets are included with the NA-series PT.
Use the following installation procedure.
1 Open a hole in which to embed the NA-series PT with the following dimensions and insert the
NA-series PT from the front side of the panel.
Additional Information
You can use an NS-USBEXT-1M USB Relay Cable to extend the USB slave connector on the back panel of the NA-series PT to the front surface of a control panel. If you use the USB Relay Cable, open a hole with the following dimensions and install the Cable.
2 Attach the panel mounting brackets from the back of the panel as shown in the following figure.
The number of mounting brackets depends on the size of the NA-series PT, as shown in the following table. Refer to Bracket Mounting Locations for Different NA-series PT Sizes on page 3-8, below.
Catch the brackets in the mounting holes in the NA-series PT, pull forward lightly, and then use a Phillips screwdriver to tighten the screws and secure the NA-series PT to the panel, which will be held between the mounting brackets and the NA-series PT.
3-3-1 Installation in a Control Panel
Installation in a Control Panel
Model Dimensions NA5-15W
392
+1/-0
× 268
+1/-0
mm (horizontal × vertical)
NA5-12W
310
+1/-0
× 221
+1/-0
mm (horizontal × vertical)
NA5-9W
261
+1/-0
× 166
+1/-0
mm (horizontal × vertical)
NA5-7W
197
+ 0.5/-0
× 141
+0.5/-0
mm (horizontal × vertical)
Model Number of Panel Mounting Brackets NA5-15W 8 locations NA5-12W 6 locations NA5-9W 4 locations NA5-7W 4 locations
Panel Mounting Bracket Phillips screwdriver
Vertical
Horizontal
Recommended panel thickness: 1.6 to 6.0 mm
Page 7
Manual Structure
4
NA-series Programmable Terminal Startup Guide (V120)
Special information in this manual is classified as follows:
Precautions for Safe Use
Precautions on what to do and what not to do to ensure safe usage of the product.
Precautions for Correct Use
Indicates precautions on what to do and what not to do to ensure proper operation and perfor­mance.
Additional Information
Additional information to read as required.
This information is provided to increase understanding or make operation easier.
Version Information
Information on differences in specifications and functionality with different versions is given.
Special Information
Page 8
5
Sections in this Manual
NA-series Programmable Terminal Startup Guide (V120)
1
2
3
4
5
4
3
2
1
Useful Functions
I
Index
Creating HMI Application and Debugging
Preparing in advance
HMI Application Basics
System Configurations and Startup Procedures
5
I
Sections in this Manual
Page 9
Sections in this Manual
6
NA-series Programmable Terminal Startup Guide (V120)
Page 10
7
NA-series Programmable Terminal Startup Guide (V120)
CONTENTS
Introduction .............................................................................................................. 1
Relevant Manuals..................................................................................................... 2
Manual Structure...................................................................................................... 3
Sections in this Manual........................................................................................... 5
Terms and Conditions Agreement ......................................................................... 9
Safety Precautions..................................................................................................11
Precautions for Safe Use ...................................................................................... 13
Precautions for Correct Use ................................................................................. 16
Regulations and Standards .................................................................................. 17
Related Manuals..................................................................................................... 19
Terminology............................................................................................................ 23
Revision History..................................................................................................... 24
Section 1 System Configurations and Startup Procedures
1-1 Startup procedures................................................................................................................ 1-2
1-2 System Configurations and Units for Use..............
.................................................................. 1-3
1-3 HMI application to be created...
............................................................................................... 1-4
Section 2 HMI Application Basics
2-1 Pages ...................................................................................................................................... 2-2
2-2 Variables.....................................................................................................................
............ 2-3
2-3 Subroutines....................................................................................................................
........ 2-4
Section 3 Preparing in advance
3-1 Installing Sysmac Studio ...................................................................................................... 3-2
3-2 Assembling a Hardware........................................................................................................3
-3
3-2-1 Wiring Power Supply .................................................................................................................. 3-3
3-2-2 Wiring Ethernet communication cable ........................................................................................3
-4
Section 4 Creating HMI Application and Debugging
4-1 Operation Flowchart.............................................................................................................. 4-2
4-2 Creating a New Project ..........
............................................................................................... 4-3
Page 11
8
NA-series Programmable Terminal Startup Guide (V120)
4-3 Creating an HMI Application................................................................................................. 4-6
4-4 Adding HMI to Project ........................................................................................................... 4-7
4-5 Mapping the variables of HMI and Controller
..................................................................... 4-8
4-6 Initial Configuration of HMI.................................................................................................4
-10
4-7 Creating a Page ................................................................................................................
... 4-12
4-8 Debugging the HMI Applications
....................................................................................... 4-18
4-8-1 Preparations for Online Debugging........................................................................................... 4-18
4-8-2 Preparations for Offline Debugging ...........................................................................................4-22
4-8-3 Debugging ...................................................................................................................
..............4-24
Section 5 Useful Functions
5-1 Global Event........................................................................................................................... 5-2
5-2 Protecting User Program Assets ......................................................................................... 5-5
Index
Page 12
9
Terms and Conditions Agreement
NA-series Programmable Terminal Startup Guide (V120)
Terms and Conditions Agreement
z Exclusive Warranty
Omron’s exclusive warranty is that the Products will be free from defects in materials and workman­ship for a period of twelve months from the date of sa
le by Omron (or such other period expressed in
writing by Omron). Omron disclaims all other warranties, express or implied.
z Limitations
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, ABOUT NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE PRODUCTS. BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE.
Omron further disclaims all warranties
and responsibility of any type for claims or expenses based
on infringement by the Products or otherwise of any intellectual property right.
z Buyer Remedy
Omron’s sole obligation hereunder shall be, at Omron’s election, to (i) replace (in the form originally shipped with Buyer responsible for labor charges for removal or replacement thereof) the non-com­plying Product, (ii) repair the non-complying
Product, or (iii) repay or credit Buyer an amount equal to the purchase price of the non-complying Product; provided that in no event shall Omron be responsible for warranty, repair, indemnity or any other claims or expenses 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. Return of any Products by Buyer must be approved in writing by Omron before shipment. Omron Companies shall not be liable for the suitability or unsuitability or the results from the use of Products in combi­nation with any electrical or electronic components, circuit
s, system assemblies or any other materi-
als or substances or environments. Any advice, rec
ommendations or information given orally or in
writing, are not to be construed as an amendment or addition to the above warranty.
See http://www.omron.com/global/ or contact your Omron representative for published information.
OMRON COMPANIES SHALL NOT BE LIABLE FOR SPE
CIAL, INDIRECT, INCIDENTAL, OR CON-
SEQUENTIAL DAMAGES, LOSS OF PROFITS OR PRODUC
TION OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT, WARRANTY, NEGLIGENCE OR STRICT LIABILITY.
Further, in no event shall liability of Omron
Companies exceed the individual price of the Product on
which liability is asserted.
Warranty, Limitations of Liability
Warranties
Limitation on Liability; Etc
Page 13
Terms and Conditions Agreement
10
NA-series Programmable Terminal Startup Guide (V120)
Omron Companies shall not be responsible for conformity with any standards, codes or regulations which apply to the combination of the Product in the Buyer’s application or use of the Product. At Buyer’s request, Omron will provide applicable third party certification documents identifying ratings and limitations of use which apply to the Product. This information by itself is not sufficient for a com­plete determination of the suitability of the Product in combination with the end product, machine, sys­tem, or other application or use. Buyer shall be sole
ly responsible for determining appropriateness of the particular Product with respect to Buyer’s application, product or system. Buyer shall take applica­tion responsibility in all cases.
NEVER USE THE PRODUCT FOR AN APPLICATION INVOL
VING 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 PRODUCT(S) IS PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
Omron Companies shall not be responsible for the user’s programming of a programmable Product, or any co
nsequence thereof.
Data presented in Omron Company websites, catalogs and
other materials 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 user must correlate it to actual application requirements. Actual perfor­mance is subject to the Omron’s Warranty
and Limitations of Liability.
Product specifications and accessories may be changed
at any time based on improvements and other reasons. It is our practice to change part numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the Product may be changed without any notice. When in doubt, special part numbers may be assigned to fix or establish key specifications for your application. Please consult with your Omron’s representative at any time to confirm actual specifications of purchased Product.
Information presented by Omron Companies has been
checked and is believed to be accurate; how-
ever, no responsibility is assumed for clerical, typo
graphical or proofreading errors or omissions.
Application Considerations
Suitability of Use
Programmable Products
Disclaimers
Performance Data
Change in Specifications
Errors and Omissions
Page 14
11
Safety Precautions
NA-series Programmable Terminal Startup Guide (V120)
Safety Precautions
The following notation is used in this manual to provide precautions required to ensure safe usage of the NA-series Programmable Terminal. The safety precautions that are provided are extremely impor­tant to safety. Always read and heed the information provided in all safety precautions.
The following notation is used.
Definition of Precautionary Information
Precautions for Safe Use
Indicates precautions on what to do and what not to do to ensure safe usage of the product.
Precautions for Correct Use
Indicates precautions on what to do an
d what not to do to ensure proper operation and performance.
Symbols
The circle and slash symbol indicates operations that you must not do.
The specific operation is shown in th
e circle and explained in text.
This example indicates prohibiting disassembly.
The triangle symbol indicates precautions (including warnings).
The specific operation is shown in th
e triangle and explained in text.
This example indicates a general precaution.
WARNING
Caution
Indicates a potentially hazardous situation which, if not avoided, could result in mild or moderate injury or at the worst, serious injury or death. 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.
Page 15
Safety Precautions
12
NA-series Programmable Terminal Startup Guide (V120)
Warnings
Do not attempt to take the NA Unit apart and do not touch the product inside 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 main
tenance were properly performed for the NA Unit. “Personnel in charge” refers to
in
dividuals qualified and responsible for ensuring safety during machine design,
in
stallation, 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 such as the touch panel or function keys of the NA Unit, in applications that involve human life, in applications that may result in serious injury, or for emerg
ency stop switches. Do not attempt to disassemble, repair, or modify the NA Unit. It may cause NA Unit to lose its safety function.
Never press two points or more on the touch panel of the NA Unit at a time. Touching two points or more interrupts normal touch panel operations.
WARNING
Page 16
13
Precautions for Safe Use
NA-series Programmable Terminal Startup Guide (V120)
Precautions for Safe Use
• When unpacking the NA Unit, check carefully for any external scratches or other damages. Also, shake the NA Unit gently and check for any abnormal sound.
• The NA Unit must be installed in a control panel.
• The mounting panel must be between 1.6 and 6.0 mm
thick. Tighten the Mounting Brackets evenly to a torque of between 0.5 and 0.6 N·m to maintain water and dust resistance. If the tightening torque exceeds the specified value, or the tightening is not even, deformation of the front panel may occur. What is more, make sure the panel is not dirty or warped and that it is strong enough to hold the NA Unit.
• Do not let metal particles enter the NA
Unit when preparing the panel.
• Turn OFF the power supply before connecting or disconnecting cables.
• Periodically check the installation conditions in applications
where the NA Unit is subject to contact
with oil or water.
• Be certain to use the cables with lock mechanism such as serial cable or the Ethernet cable after c
onfirming if it is securely locked.
• Do not touch the packaging part of the circuit boar
d with your bare hands. Discharge any static elec-
tricity from your body before handling the board.
• Do not use volatile solvents such as benzene and thinners or chemical cloths.
• Water and oil resistance will be lost if
the front sheet is torn or is peeling off. Do not use the NA Unit,
if the front sheet is torn or is peeling off.
• As the rubber packing will deteriorate, shrink, or harden depending on the operating environment, per
iodical inspection is necessary.
• Confirm the safety of the system before turning
ON or OFF the power supply, or pressing the reset
switch.
• The whole system may stop depending on how the powe
r supply is turned ON or OFF. Turn ON/OFF
the power supply according to the specified procedure.
• Operate DIP switch according to the following
way.
The DIP switch may break if it is leve
red with a tool against the case as shown in the figure.
• Once the DIP switch settings are changed, reset by pres
sing the reset switch, or restart the power
supply.
• Initialize the project, after confirming that existin
g project is backed up at the Sysmac Studio.
• When changing the password, do not reset or turn OFF the power supply until the writing is com­pleted. A failure to store the password may
cause the project to fail to function.
• While uploading or downloading a project or a system program, do not perform the operations as fol­lows. Such operations may corrupt the project or the system program:
• Turning OFF the power supply of the NA Unit
• Resetting the NA Unit.
• Removing the USB devices or SD card.
• Disconnecting the cable between a su
pport tool and the NA Unit.
• Do not connect an AC power supply to the DC power terminals.
• Do not perform a dielectric strength test.
Back of the case
DIP switch
Correct technique
Incorrect technique
Page 17
Precautions for Safe Use
14
NA-series Programmable Terminal Startup Guide (V120)
• Use a DC power with a slight voltage fluctuation and that will provide a stable output even if the input is momentarily interrupted for 10 ms. Also use the one with reinforced insulation or double insulation.
Rated Power Supply Voltage: 24VDC (Allowable range 19.2 to 28.8VDC)
• Use a power cable with AWG#12 to #22 thick (0.35mm2 to 3.31mm2). Peel the coating 7mm length a
nd tighten the terminal screw with the torque in the range of 0.5 to 0.6 N·m. Also confirm if the termi-
nal screw is tighten appropriately.
• To prevent malfunctions caused
by noise, ground the NA Unit correctly.
• Do not use any battery if strong impact is applied to it (
e.g. by dropping on the floor) because such a
battery may cause a leakage.
• Confirm the type of the battery to install the battery properly.
• Apply power for at least five minutes before changing the battery. Mount a new battery within five m
inutes after turning OFF the power supply. If power is not supplied for at least five minutes, the
clock data may be lost. Check the clock data after changing the battery.
• Do not dismantle a battery nor let it short-circuit.
• Do not apply an impact with the lithium battery, charge it, d
ispose it into a fire, or heat it. Doing either
of them may cause an ignition or a bursting.
• Dispose of the NA Units and batteries accord
ing to local ordinances as they apply.
• The following precaution must be displayed on all products containing lithium primary batteries with a p
erchlorate content of 6ppb or higher when exporting them to or shipping them through California,
USA.
Perchlorate Material - special handling may apply.
See www.dtsc.ca.gov/hazardouswaste/perchlorate
The NA-Series contains a lithium primary battery with a perchlorate content of 6ppb or higher. When e
xporting a product containing the NA-Series to or shipping such a product through California, USA,
label all packing and shipping containers appropriately.
• Do not connect the USB devices in the environment subject to the strong vibration.
• Do not connect USB devices which are not allo
wed to connect to NA Unit.
• Start actual system application only after checking
normal operation of the system including storage
devices such as USB memory and SD card.
• When connecting peripheral devices which do not m
eet the performance level of the NA Unit for noise and static electricity, ensure sufficient countermeasures against noise and static electricity dur­ing installation of the peripheral dev
ices to the NA Unit.
• Do not carry out the following operations w
hen accessing USB devices or SD card:
• Turning OFF the power supply of the NA Unit
• Press the Reset switch of the NA Unit
• Pull out the USB devices or SD card
• When using the No. 6 pin of the serial port connector for a voltage of DC+5V, make sure the supply eq
uipment's current capacity is below 250mA before using it. The DC+5V voltage output of the NA
Unit is +5V±5%, and the maximum current is 250mA.
• To ensure the system's safety, make sure to incorporate a program that call periodically signals dur­ing the operation at connected device
side and can confirm the normal functionality of the NA Unit
before running the system.
• Start actual system application only after sufficiently checking
project, subroutine and the operation of
the program at the connected device side.
• To use numeric input functions safely, always make maximum and minimum limit settings.
• Do not press the touch panel with a force greater than 30 N.
• Do not use hard or pointed objects to operate or scrub the screen, otherwise the surface of the scre
en may be damaged.
Page 18
15
Precautions for Safe Use
NA-series Programmable Terminal Startup Guide (V120)
• The deterioration over time may cause the touch points to move on the touch panel. Calibrate the touch panel periodically.
• A touch position detection error of approximately 2
0 pixels may occur due to the precision of the touch panel. Always take this into account when positioning objects on the panel so adjoining objects will not be activated by mistake.
• Confirm the safety of the system before
pressing the touch panel.
• Do not accidentally press the touch panel when the backlight is not lit or when the display does not app
ear or is too dark to identify visually.
• You can change the brightness by changing the set
ting such as in the system menu or by download­ing project. If the brightness is set to very dar
k, it causes flickering or unreadable screen. Additionally, the bright­ness can be restored by transferring the project again after setting the property of the brightness app
ropriately.
In a case of the applications where end users can co
ntrol the brightness, create the applications so as keeping on operations by such as assigning the function which restores the brightness to one of function keys, if necessary.
• Signals from the touch panel may not be entered if the
touch panel is pressed consecutively at high speed. Make sure to go on the next operation after confirming that the NA Unit has detected the input of the touch panel.
• The function keys have the
restrictions as follows:
• Using both anti-reflection sheet and protective cover interrupts the normal function key operation. Do
not use them together.
• When you use gloves or others, th
e function keys may not work correctly depending on the mate-
rial and thickness of the gloves. T
ake actual conditions of the gloves usage into considerations
prior to the system startup to perform the confirmation.
• The function keys do not work when covered with
water. Remove the water completely before
use.
Page 19
Precautions for Correct Use
16
NA-series Programmable Terminal Startup Guide (V120)
Precautions for Correct Use
z Do not install or store the NA Unit in any of the following locations:
• Locations subject to severe changes in temperature
• Locations subject to temperatures or humidity ou
tside 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 t
o 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 installing systems in
the following locations:
• Locations subject to static electricity or other forms of noise
• Locations subject to strong electr
ic field or magnetic field
• Locations close to power supply lines
• Locations subject to possible exposure to radioactivity
Page 20
17
Regulations and Standards
NA-series Programmable Terminal Startup Guide (V120)
Regulations and Standards
• EMC Directive
z EMC Directive
OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards.*
Whether the products conform to the standards in th
e system used by the customer, however, must be checked by the customer. EMC-related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel on which the OMRON devices are installed. The customer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards.
* Applicable EMC (Electromagnetic Comp
atibility) standards are as follows:
EMS (Electromagnetic Susceptibility): EN
61131-2:2007
EMI (Electromagnetic Interference): EN 61131-2:2007
z Conformance to EC Directives
The NA-series PTs comply with EC Directives. To ensure that the machine or device in which the NA-series PT is used complies with EC Directives, the NA-series PT must be installed as follows:
• The NA Unit must be installed within a control panel.
• You must use reinforced insulation or double insu
lation for the DC power supplies connected to
the NA Unit.
• NA-series PTs that comply with EC Directives a
lso conform to the Common Emission Standard (EN 61000-6-4). Radiated emission characteristics (10-m 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 machin
e or equipment complies with EC Directives.
• This is a Class A product (for industrial environm
ents). In a residential environment, it may cause
radio interference, in which case the user may be required to take appropriate measures.
Conformance to EC Directives
Applicable Directives
Concepts
Page 21
Regulations and Standards
18
NA-series Programmable Terminal Startup Guide (V120)
Observe the following precaution if you use NA-series PTs in Korea.
Class A Device (Broadcasting Communicat
ions Device for Business Use)
This device obtained EMC registration for office use (
Class A), and it is intended to be used in places
other than homes. Sellers and/or users need to take note of this.
Conformance to KC Standards
Page 22
19
Related Manuals
NA-series Programmable Terminal Startup Guide (V120)
Related Manuals
The following manuals are related to the NA-series PTs. Use these manuals for reference.
Manual name Cat. No. Models Applications Description
NA-series Program­mable Terminal Hard­ware User’s Manual
V117 NA5-W

Learning the speci­fications and set­tings required to inst
all an NA-series PT and connect peripheral devices.
Information is provided on NA-series PT specifications, part names, instal­lation procedures, and procedures to conne
ct an NA Unit to peripheral
devices.
Information is also provided on main­tenance after operation and trouble-
shooting. NA-series Program­mable Terminal Soft­ware User’s Manual
V118 NA5-W

Learning about NA-series PT pages and object functions.
NA-series PT pages and object func-
tions are described.
NA-series Program­mable Terminal Device Connection User’s Manual
V119 NA5-W
 Learning the speci-
fications required to connect devices to an NA-series PT.
Information is provided on connec-
tion procedures and setting proce-
dures to connect an NA-series PT to
a Controll
er or other device.
NA-series Program­mable Terminal S
tartup Guide
V120 NA5-W
 Learning in con-
crete terms infor­mation required to inst
all and start the operation of an NA-series PT.
The part names and installation pro­cedures are described followed by p
age creation and transfer proce­dures with the Sysmac Studio. Also o
peration, maintenance, and inspec­tion procedures after the project is tr
ansferred are described. Sample screen captures are provided as examples.
NJ-series CPU Unit Hardware User’s Manual
W500 NJ501-

NJ301-

Learning the basic sp
ecifications of the NJ-series CPU Units, including introductory infor­mation, designing, inst
allation, and
maintenance.
Mainly hardware information is pro­vided.
An introduction to the entire NJ-series system is provid
ed along with the following information on a Controller built with a CPU Unit.
• Features and system configuration
• Introduction
• Part names and functions
• General specifications
• Installation and wiring
• Inspection and maintenance
Use this manual together with the
NJ-series CPU
Unit Software User’s
Manual (Cat. No. W501).
Page 23
Related Manuals
20
NA-series Programmable Terminal Startup Guide (V120)
NJ-series CPU Unit Software User´s Manual
W501 NJ501-

NJ301-

Learning how to prog
ram and set up an NJ-series CPU Unit.
Mainly software information is
pro-
vided.
Provides the following information on a Con
troller built with an NJ-series
CPU Unit.
• CPU Unit operation
• CPU Unit features
• Initial settings
• Programming based on IEC 61
131-3 language specifications
Use this manual together with the
NJ-series CPU Unit Hardware User’s Manual (Cat. No. W500).
CJ Series Program­mable Controllers Opera
tion Manual
W393 CJ1H-CPUH-R
CJ1G/H-CPUH
CJ1G-CPUP
CJ1M-CPU
CJ1G-CPU
Learning the basic specificatio
ns of the CJ-series PLCs, including introductory infor­mation, designing, inst
allation, and
maintenance.
The following information is provided on
a CJ-series PLC.
• Introduction and features
• System configuration design
• Installation and wiring
• I/O memory allocation
• Troubleshooting
Use this manual together with the
Progra
mming Manual (Cat. No.
W394). CS/CJ/NSJ Series Programm
able Con­trollers Operation Man
ual
W394 CS1G/H-CPUH
CS1G/H-CPU-V1
CS1D-CPUH
CS1D-CPUS
CJ1H-CPUH-R
CJ1G/H-CPUH
CJ1G-CPUP
CJ1M-CPU
CJ1G-CPU
NSJ-
(B)-G5D
NSJ-
(B)-M3D
Learning about the fu
nctions of the CS/CJ-series and NSJ-series PLCs.
The following information is provided on
a CS/CJ-series or NSJ-series
PLC.
• Programming
• Master function
• File memory
• Other functions
Use this manual together with the
Operation
Manual (CS-series PLCs:
W339, CJ-series PLCs: W393).
CS/CJ/NJ-series Instructions Refer­ence Manual
W340 CS1-CPU-
-
CJ1-CPU-
-
CJ2H-CPU-
-
NSJ-
-
Learning detailed information on
pro­gramming instruc­tions.
Instructions are described in detail.
When programming, use this manual togethe
r with the Operation Manual (CS-series PLCs: W339, CJ-series PLCs: W393) and the Programming Manual (W394).
CS/CJ Series Pro­gramming Consoles Opera
tion Manual
W341 CQM1H-PRO01
CQM1-PRO01
C200H-PRO27
+CS1W-KS001
Learning the oper­ating procedures of the Program­ming Consoles.
The operating procedures of the Pro­gramming Consoles are described.
When programming, use this manual together with the Operation Manual (CS-series PLCs: W339, CJ-series PLCs: W393), the Programming
Manual (W394), and the Instructions Reference Manual (W340).
Manual name Cat. No. Models Applications Description
Page 24
21
Related Manuals
NA-series Programmable Terminal Startup Guide (V120)
CS/CJ/NSJ Series Communications Commands Refer­ence Manual
W342 CS1G/H-CPUH
CS1G/H-CPU-V1
CS1D-CPUH
CS1D-CPUS
CS1W-SCU-V1
CS1W-SCB-V1
CJ1G/H-CPUH
CJ1G-CPUP
CJ1M-CPU
CJ1G-CPU
CJ1W-SCU-V1
Learning detailed sp
ecifications on the communica­tions instructions addre
ssed to CS/CJ-series CPU Units and NSJ-series PLCs.
1) C-mode commands and 2) FINS comma
nds are described in detail.
Refer to this manual for information on communications commands (C-mode commands and FINS com­mands) addressed to CPU Units.
Note This manual describes com-
munications commands that a
re addressed to a CPU Unit. The communications path is not relevant. (The communi­cations commands can be sen
t through the serial com­munications port of the CPU Un
it, the communications port of a Serial Communica­tions Board/Unit, or a com­munications port on another Co
mmunications Unit.)
CJ-series CJ2 CPU Unit Hardware User’s Manual
W472 CJ2H-CPU6-EIP
CJ2H-CPU6
CJ2M-CPU
Learning the hard­ware specifica­tions of CJ2 CPU Unit
s.
The following information is provided on a CJ2 CPU Unit.
• Introduction and features
• Basic system configuration
• Part names and functions
• Installation and setting procedures
• Troubleshooting
Use this manual together with the
Sof
tware User’s Manual (Cat. No.
W473). CJ-series CJ2 CPU Un
it Software User’s
Manual
W473 CJ2H-CPU6-EIP
CJ2H-CPU6
CJ2M-CPU
Learning the soft­ware specifica­tions of CJ2 CPU Unit
s.
The following information is provided
on a CJ2 CPU Unit.
• CPU Unit operation
• Internal memory
• Programming
•Settings
• Functions built into the CPU Unit
Use this manual together with the
Hardwa
re User’s Manual (Cat. No.
W472). Ethernet Units Oper­ation Manual Con­struction of Networks
W420 CS1W-ETN21
CJ1W-ETN21
Learning how to use an Eth
ernet
Unit.
Information is provided on the Ether-
net Units.
Information is provided on the basic
setup and
FINS communications.
Refer to the Communications Com-
mands Reference Manual (Cat
. No. W342) for details on FINS com­mands that can be sent to CS/CJ-series CPU Units when using the FINS communications service.
Manual name Cat. No. Models Applications Description
Page 25
Related Manuals
22
NA-series Programmable Terminal Startup Guide (V120)
Ethernet Units Oper­ation Manual Con­struction of Ap
plications
W421 CS1W-ETN21
CJ1W-ETN21
Learning how to use an Etherne
t
Unit.
Information is provided on construct­ing host applications, including func­tions for sending/receiving mail, socket
service, automatic clock adjustment, FTP server functions, and FINS communications.
CS/CJ-series Ether­Net/IP™ Units Oper­ation Manual
W465 CJ2H-CPU6-EIP
CJ2M-CPU3
CS1W-EIP21
CJ1W-EIP21
Learning how to use the bui
lt-in EtherNet/IP port of the CJ2 CPU Units.
Information is provided on the built-in EtherNet/IP port and
EtherNet/IP
Units.
Basic settings, tag data links, FINS communi
cations, and other functions
are described. Sysmac Studio Ver­sion 1 Operation Ma
nual
W504 SYSMAC-SE2 Learning about the
operating proce­dures and func­tions of the Sys
mac Studio.
The operating procedures of the
Sysmac Studio are described.
CX-Programmer Opera
tion Manual
W446 CXONE-ALC-V4
CXONE-ALD-V4
Learning about the CX-Programmer except fo
r informa­tion on function blocks, ST pro­gramming, and SFC prog
ramming.
The operating procedures of the CX-Programmer are described.
Manual name Cat. No. Models Applications Description
Page 26
23
Terminology
NA-series Programmable Terminal Startup Guide (V120)
Terminology
Ter m Description
HMI A general term for interface devices that indicates both hardware and software elements. In
this manual, “HMI” refers to an OMRON
Sysmac-brand product unless otherwise specified. PT The hardware elements of the HMI. NA Series The NA Series of Programmable Terminals and peripheral devices. HMI Project A Sysmac Studio project for an HMI. NA Unit An NA-series Programmable Terminal. Download Transferring data from the Sysmac Studio to an HMI. IAG collection When you provide IAGs, you provide them as IAG col
lections. IAGs are also imported as
IAG collections. An IAG collection contains one or more IAGs.
Page 27
Revision History
24
NA-series Programmable Terminal Startup Guide (V120)
Revision History
A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual.
Revision code Date Revised content
01 June 2014 Original production
Cat. No.
V120-E1-01
Revision code
Page 28
1 - 1
1
NA-series Programmable Terminal Startup Guide (V120)
This section describes startup procedure provided in this guide, the system configura­tions used for the startup, and operations to be created.
1-1 Startup procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1-2 System Configurations and Units for Use . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1-3 HMI application to be created . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
System Configurations and Startup Procedures
Page 29
1 System Configurations and Startup Procedures
1 - 2
NA-series Programmable Terminal Startup Guide (V120)
1-1 Startup procedures
This guide describes the operations from creating HMI application to debugging in regard to the NA-series Programmable Terminal as startup procedures.
As to the Controller connected t
o HMI, referring to a sample of the program created in the NJ-series
Machine Automation Controller Startup Guide (CPU Unit) (W513).
The operations from creating HMI application to debugging can be performed in the system configurations as follows.
Startup procedures for each system configurations are as follows.
System configurations Descriptions of operation
• Sysmac
Studio only
Offline debugging Creating HMI application and user program for the Controller
with Sysmac Studio.
Operating the virtual HMI and the NJ-series CPU Unit with simulator on Sysmac Studio and debugging the application and the program.
•Sysmac
St
udio
• NA-series Programma­ble Terminal
•CPU Unit
Online debugging Creating HMI application and user program for the Controller
with Sysmac
Studio.
Debugging them on HMI actual Unit and the NJ-series CPU Unit.
Preparations
Creating HMI application
Debugging
Sysmac Studio
Offline Debugging Online Debugging
Sysmac Studio NA-series Programmable Terminal CPU Unit
3-1 Installing Sysmac Studio
4-2 Creating a New Project
3-2 Mounting and Wiring a Hardware
4-3 Setting a Software and Creating HMI Application
4-6 The Simulator debugging the HMI application
Page 30
1 - 3
1 System Configurations and Startup Procedures
NA-series Programmable Terminal Startup Guide (V120)
1-2 System Configurations and
Units for Use
1
1-2 System Configurations and Units for
Use
The following diagram is the system configuration used in this guide. When using HMI, connect the PC with which the Sysmac Studio is installed to USB port of the HMI.
The Models of the Units used in the system configuration mentioned above are shown as follows. In or
der to determine the actual Units, refer to the manual of each Unit.
Unit for use
Unit name Model Manual name
NA-series Programmable T
erminal
NA5-12W101B (Ver. 1.00) NA-series Programmable Terminal Hardware
User’s Manual (V117)
Unit Power Supply S8VS Series
NJ-series CPU Unit NJ501-1500 (Ver. 1.01) NJ-series CPU Unit Hardware User’s Manual
(W5
00)
NJ-series Power Supply Unit
NJ-PA3001
Ethernet cable
Commercial Ethernet cable
*1
*1. Use a category 5 cable.
USB cable
Commercial USB cable
*2
*2.
Use a cable for USB2.0 or USB1.1 (A connector – B connector) 5.0 m at max.
Automation Software
Software name Number of License Model
Sysmac Studio Standard Edition
Ver. 1.10
– (Media only) SYSMAC-SE200D 1 license SYSMAC-SE201L
Commercial USB Cable
Ethernet cable
HMI
24 VDC (e.g., Model: S8VS)
NJ-series Power Supply Unit CPU Unit
Sysmac Studio Ver. 1.10
Sysmac Studio + HMI + CPU Unit
Page 31
1 System Configurations and Startup Procedures
1 - 4
NA-series Programmable Terminal Startup Guide (V120)
1-3 HMI application to be created
An example to create an HMI Page which is referred to as screen data placing the Button Function over the Lamp Function on the Page.
Global variables of HMI
Variable
Controller name_variable name A
Variable
Controller name_variable name B
Variable
Controller name_variable name C
Green Button and Lamp
Page
Yellow Button and Lamp
Red Button and Lamp
HMI
Variable
variable name A
Variable
variable name B
Variable
variable name C
Global variables of Controller
NJ-series Controller
Mapping variables
On HMI Page, Only the functions to operate TRUE and FALSE at Controller are installed and the Button are transparent.
On HMI Page, the Lamps read TRUE and FALSE at Controller and display each color.
Implemented on HMI Page
Implemented with Momentary Button object
Implemented with Bit Lamp object
Controller name on the project
Page 32
2 - 1
2
NA-series Programmable Terminal Startup Guide (V120)
This section provides the necessary matters of basic knowledge for the HMI applica­tions of the NA-series Programmable Terminal.
2-1 Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2-2 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2-3 Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
HMI Application Basics
Page 33
2 HMI Application Basics
2 - 2
NA-series Programmable Terminal Startup Guide (V120)
2-1 Pages
Page is screen data displayed on HMI. Placing objects on the Page allows necessary functions to be implemented.
The Page and the object have three Attributes as follows.
The NA-series Programmable Terminal adopts event-dr
iven application model that describes the pro-
cessions corresponding to events occurred. Adopting the model allows to
create more flexible applica-
tions than conventional HMI does.
Once the subroutine with high versatility
is registered to global subroutine, the subroutine can be called
from anywhere in the project and it improves reusability and maintainability.
Also adoption of Visual Basic allows to reuse abundan
t samples that are released on the Internet to
improve the development productivity.
Attributes of Page and object Descriptions
Properties It sets the properties of appearances such as positio
n, size, and color. Animations It sets the properties of motions such as blink and movement. Events and Actions It sets an Event and Action corresponding to the Event.
Event-driven Application
Application with High Reusability
Page 34
2 - 3
2 HMI Application Basics
NA-series Programmable Terminal Startup Guide (V120)
2-2 Variables
2
2-2 Variables
A variable is like a container to store the I/O data exchanged with external devices and the temporal data at internal processing. In the HMI, all the operations such as I/O data exchanging with external devices or data arithmetic processing are performed through the variable. Therefore, it is possible to create the HMI application that does not depend on memory addresses of hardware.
Each object on a Page accesses to the variables in glob
al variable table of HMI as follows. There are a variable (external variable) map onto global variable of the Controller and a variable (internal variable) not to map onto it.
A subroutine variable is readable and writable only within the subroutine. On the other hand, a global va
riable is readable and writable from everywhere in the project. The application described in this guide
defines the variable accessing to pushbutton switch and lamp as global variable.
Data type is property that defines the data format an
d the range of value expressed with a variable.
When the variable is defined, the data type should always be specified.
In the NA-series Programmable Terminal, the data type th
at is the same with the one of Visual Basic is
available. For details, refer to the NA-series Programmable Terminal Software User’s Manual (V118).
Subroutine variable and global variable
Data Type of Variable
A Page
An object
HMI
Global variable table of HMI
Access Mapping
Global variable of the Controller
Access
Access
Variable
SwGreen
Controller name on the project:
new_Controller_0
Variable
SwYellow
Variable
SwRed
Variable…external variable
new_Controller_0_SwGreen
Variable…external variable
new_Controller_0_SwYellow
Variable…external variable
new_Controller_0_SwRed
Variable…internal variable
abc
Page 35
2 HMI Application Basics
2 - 4
NA-series Programmable Terminal Startup Guide (V120)
2-3 Subroutines
Subroutine is a program that is described with Visual Basic. Describing the operations to be executed at Event occurring as subroutine allows creating powerful application.
The subroutines include the following two types.
Type o f t a s k Definition
Page subroutine It is a subroutine that can be referred only within a Page. Global subroutine It is a subroutine that can be refe
rred from anywhere in the project.
Page 36
3 - 1
3
NA-series Programmable Terminal Startup Guide (V120)
This section describes installation of the Sysmac Studio and mounting and wiring a hardware.
3-1 Installing Sysmac Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3-2 Assembling a Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3-2-1 Wiring Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3-2-2 Wiring Ethernet communication cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
Preparing in advance
Page 37
3 Preparing in advance
3 - 2
NA-series Programmable Terminal Startup Guide (V120)
3-1 Installing Sysmac Studio
In the NA-series Programmable Terminal, Sysmac Studio is used as the supporting software that oper­ates settings of the NA Unit and devices to be co
nnected, creating applications, debugging, and simula-
tion.
Install the Sysmac Studio to PC according to the procedures as follows.
1 Insert Sysmac Studio installation disc into DVD-ROM drive. Set-up program is automatically
started and Select Setup Language dialog box is displayed.
2 Select the language to be installed and click OK button.
Sysmac Studio Setup wizard will be displayed.
3 Install the Sysmac Studio according to the Setup wizard. 4
When the installation is completed, restart the PC.
Additional Information
• Hardware requirement of PC to install Sysmac Studio is shown as follows.
• If the Sysmac Studio cannot be installed according to the procedure as above, refer to the Sysmac Studio Version 1 Operation Manual (W504).
Precautions for Correct Use
When the CX-One ver.4 or lower is installed, the installation of the Sysmac Studio is cancelled and the installation is unavailable. In this case, uninstall the CX-One at first and then install the Sysmac Studio.
OS CPU RAM Display
Windows XP
SP3
Windows
Vista
Windows 7 (32-bit, 64-bit)
Windows 8 (32-bit, 64-bit)
Minimum
PC required with a processor Celeron
540 (1.
8 GHz) or
more.
2 GB
X
GA
1,024 x
768 dpi
16,000,000 colors Recom­mended
PC required with a processor Core i5
M
520 (2.
4 GHz)
or
the equivalent or more.
2 GB
W
XGA
1,280 x
800 dpi
16,000,000 colors
Page 38
3 - 3
3 Preparing in advance
NA-series Programmable Terminal Startup Guide (V120)
3-2 Assembling a Hardware
3
3-2-1 Wiring Power Supply
3-2 Assembling a Hardware
Connect and wire all the units that are used in the system configuration. This section provides an over­view of assembling methods. For the details and prec
autions for safety, refer to manuals for each
device.
Precautions for Safe Use
In order to perform any of the following operations, turn OFF the power supply to the NA Unit.
• When assembling a panel.
• When setting DIP switch.
• When connecting and wiring cables.
• When connecting or disconnectin
g the connectors.
After turning OFF the power, the
Power Supply Unit may continue to supply power to the NA Unit up to several seconds. The RUN indicator remains lit as long as the power is supplied. Make sure that the RUN indicator is unlit before performing the operation as above.
Wire the power supply of the Power Supply Unit and the power terminal of the NA Unit.
Additional Information
This guide uses the Power Supply Unit, S8VS-06024. However, you can use any Power Supply Unit that satisfies the specifications.
3-2-1 Wiring Power Supply
AC Power Supply
Power Supply connector
_
+
Page 39
3 Preparing in advance
3 - 4
NA-series Programmable Terminal Startup Guide (V120)
Wire the Ethernet port and the Ethernet cable according to the diagram as below.
3-2-2 Wiring Ethernet communication cable
The Ethernet port Connect to Ethernet port 1.
The internal Ethernet/IP port
Communication cable
Page 40
4 - 1
4
NA-series Programmable Terminal Startup Guide (V120)
This section describes the basic operations from creating HMI application to debug­ging.
4-1 Operation Flowchart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-2 Creating a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4-3 Creating an HMI Application . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4-4 Adding HMI to Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
4-5 Mapping the variables of HMI and Controller .
. . . . . . . . . . . . . . . . . . . . . . 4-8
4-6 Initial Configuration of HMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4-7 Creating a Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
4-8 Debugging the HMI Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
4-8-1 Preparations for Online Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
4-8-2 Preparations for Offline Debugging . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 4-22
4-8-3 Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Creating HMI Application and Debugging
Page 41
4 Creating HMI Application and Debugging
4 - 2
NA-series Programmable Terminal Startup Guide (V120)
4-1 Operation Flowchart
The basic operation flowchart from creating HMI application to debugging is shown.
As the NA-series Programmable Terminal is available to cr
eate HMI application with variables, users do not have to be conscious of addressable memory space. This allows the design to be developed inde­pendently and parallel, without being conscious of mem
ory assignment on the Controller.
For understanding advantages of the creating HMI application
with the variables, this guide describes
the operation procedures when creating HMI application is performed without connecting to the Unit.
STEP 1. Creating a new project. (P. 4 - 3 )
Create a project file and insert an HMI.
STEP 2. Setting a software and creating an HMI application. (P. 4 - 6 )
STEP2-1 Software setting (variable mapping and HMI setting) (P. 4 -8 ) STEP2-2 Creating HMI application (variable re
gistration and creating Page)
STEP 3. Debugging the HMI application. (P. 4-18)
The project data is transmitted to the HMI to check the operation (online debugging). When the Unit is not used, simulation function of the Sysmac Studio is used to check the operation (offline debugging).
STEP5-1 Preparations for online debugging. (P. 4-18)
Preparations for offline debugging. (P. 4 - 2 2)
STEP5-2 Debugging the HMI application. (P. 4-24)
Page 42
4 - 3
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-2 Creating a New Project
4
4-2 Creating a New Project
Startup the Sysmac Studio and open the project that was created in the NJ-series Machine Automation Controller Startup Guide (CPU Unit) (W513).
Startup the Sysmac Studio.
1 Startup the Sysmac Studio with either of the methods as follow.
Double-clic
k the Sysmac Studio shortcut icon on the desktop.
•Select Sys
mac StudioStart in Windows – All the programsOMRONSysmac Studio.
The Sysmac Studio will be started and the following
screen will be displayed.
Startup the Sysmac
Studio
Page 43
4 Creating HMI Application and Debugging
4 - 4
NA-series Programmable Terminal Startup Guide (V120)
Open an existing project.
1 Click the Open Project button in a project window.
Click
[Project List] dialog box is displayed.
2 Select the project that was created in the
NJ-series Machine Automation Controller Startup
Guide (CPU Unit) (W513) in the Project List dialog box and click Open.
Click
Opening the Existing Project
Page 44
4 - 5
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-2 Creating a New Project
4
The following screen will be opened.
Page 45
4 Creating HMI Application and Debugging
4 - 6
NA-series Programmable Terminal Startup Guide (V120)
4-3 Creating an HMI Application
Creating an application as follows.
Each Green, Yellow, and Red Button and Lamp is imp
lemented by composing a Bit Lamp with the color
and a transparent Momentary Button.
Place a Bit Lamp Object and select the color among those as follow according to the color in either of TRUE an
d FALSE at Controller side. Also assign the following variables on the HMI.
Additional Information
As the Sysmac Studio provides HMI application environment with variables, the users do not have to be conscious of system configurations of the Unit when creating HMI application.
Type of Object
Color series
ON color OFF color
Specified variable at Controller side
Bit Lamp Object Green LightGreen DarkGreen new_Controller_0_SwGreen
Yel lo w Ye ll ow Goldenrod new_Controller_0_SwYellow Red Red Firebrick new_Controller_0_SwRed
Momentary Button Object Green Transparent Transparent new_Controller_0_SwGreen
Yel lo w Transparent Transparent new_Controller_0_SwYellow Red Transparent Transparent new_Controller_0_SwRed
Global variables of HMI
Variable
new_Controller_0_SwGreen
Variable
new_Controller_0_SwYellow
Variable
new_Controller_0_SwRed
Green Button and Lamp
Page0
Yellow Button and Lamp
Red Button and Lamp
Overlaying a Momentary Button over a Lamp to implement the function.
Variable
SwGreen
Variable
SwYellow
Variable
SwRed
Global variable of Controller
Controller name on project:
new_Controller_0
e.g., Green Button and Lamp
When it is ON
LightGreen
When it is ON
Transparent
When it is OFF
DarkGreen
When it is OFF
Transparent
Green Bit Lamp
Transparent Momentary Button
Page 46
4 - 7
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-4 Adding HMI to Project
4
4-4 Adding HMI to Project
Add HMI to the project.
1 Select NA5 – HMI – Insert in Menu.
Select NA5-12W101 fo
r Device and 1.00 for Version, and then click OK.
HMI is added to the project.
Page 47
4 Creating HMI Application and Debugging
4 - 8
NA-series Programmable Terminal Startup Guide (V120)
4-5 Mapping the variables of HMI and
Controller
Map global variables of the HMI and of Controller.
1 Double-click Variable Mapping – Configurations and Setup in Multiview Explorer. Or
right-click Variable Mapping – Configurations and Setup in Multiview Explorer and select
Edit in Menu.
2 Click new_Controller_0, right-click a user variable, and select Create Device Variable in
Menu.
Global variable of HMI
Variable
new_Controller_0_SwGreen
Variable
new_Controller_0_SwYellow
Variable
new_Controller_0_SwRed
Green Button and Lamp
Page0
Yellow Button and Lamp
Red Button and Lamp
Variable
SwGreen
Variable
SwYellow
Variable
SwRed
Global variables of Controller
Controller name on project:
new_Controller_0
Mapping variables
Page 48
4 - 9
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-5 Mapping the variables of HMI and Controller
4
The Controller global variables are mapped into the HMI global variables.
Page 49
4 Creating HMI Application and Debugging
4 - 10
NA-series Programmable Terminal Startup Guide (V120)
4-6 Initial Configuration of HMI
Setting devices and TCP/IP as initial configuration of HMI.
1 Double-click the HMI Settings – Configurations and Setup in Multiview Explorer. HMI Set-
tings is displayed in C
onfiguration layer.
2 The dialog box of Device Settings is displayed. The initial configuration is to be remained.
• Device Settings
Item Description
Startup Page
Page name Sets the page to display first when the HMI is started.
Startup Language
Startup language Sets the project language to use when the HMI is started.
USB Keyboard
Key layout Sets the layout of a USB keyboard.
Security
Automatically log out user after period of
inactivity.
Select this check box to automatically log out the user after a specified period of inactivity.
Inactivity period Specify the time of inactivity before
the user is logged out auto-
matically.
Screen Saver
Screen saver type Sets the type of screen saver. Active after Sets the time after the screen is touched before the screen saver
i
s started.
Screen Brightness
Screen brightness Sets the brightness of the screen.
System Menu
Double-tap Interval Sets the interval to use to detect double taps. Detectable corner Select the corners in which to detect the operation to display the
System Menu.
Page 50
4 - 11
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-6 Initial Configuration of HMI
4
• TCP/IP Settings
Setting of the Ethernet port. The initial configuration is to be remained.
Item Description
Ethernet Port 1 - Settings
IP Address Sets the local IP address. Subnet mask Sets the subnet mask. Default gateway Sets the IP address of the default gateway. This setting is not
requ
ired when a default gateway is not used. Primary DNS server Sets the IP address of the primary DNS server. Secondary DNS server Sets the IP address of the secondary DNS server. Primary WINS server Sets the IP address of the primary WINS server. Secondary WINS server Sets the IP address of the secondary WINS server.
Ethernet Port 2 - Settings
Direct connection with Sys­mac Studio
Select this check box to connect Ethernet port 2 directly to the Sysmac S
tudio without going through an Ethernet switch. If you select this check box, the IP addresses and other settings for Ethernet port 2 are ignored.
IP Address Sets the local IP address. Subnet mask Sets the subnet mask. Default gateway Sets the IP address of the default gateway. This setting is not
requ
ired when a default gateway is not used. Primary DNS server Sets the IP address of the primary DNS server. Secondary DNS server Sets the IP address of the secondary DNS server. Primary WINS server Sets the IP address of the primary WINS server. Secondary WINS server Sets the IP address of the secondary WINS server.
Page 51
4 Creating HMI Application and Debugging
4 - 12
NA-series Programmable Terminal Startup Guide (V120)
4-7 Creating a Page
Arrange Bit Lamp and Momentary Button Objects on a Page.
1 Double-click HMI – Pages – Page0 in Multiview Explorer.
Or right-click the HMI – Pages – Page0 an
d select Edit in the Menu.
Global variables of HMI
Variable
new_Controller_0_SwGreen
Variable
new_Controller_0_SwYellow
Variable
new_Controller_0_SwRed
Green Button and Lamp Yellow Button and Lamp Red Button and Lamp
Each one is implemented with Lamp with color and transparent Button.
Bit Lamp Object: Expression
Momentary Button Object: Variable
It is specified as a variable
Page 52
4 - 13
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-7 Creating a Page
4
2 Overlay a Momentary Button Object on Bit Lamp Object to implement a physical Button.
Place a Bit Lamp Object from Toolbox into a Page with drag-and-drop.
3 Set the properties of the Bit Lamp Object.
Right-click the arranged object and select Prope
rties in the Menu.
Page 53
4 Creating HMI Application and Debugging
4 - 14
NA-series Programmable Terminal Startup Guide (V120)
4 Set LampColorOffAppearance to DarkGreen in Properties. Perform the same operations to
set LampColorOn to LightGreen.
5 Assign a variable to the object. Set Expression – Behavior in Properties to
new_Controller_0_SwGreen.
6 Follow the same procedures to create red and yellow lamps. The settings are shown as follow.
• Yellow Lamp
• Red Lamp
Page 54
4 - 15
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-7 Creating a Page
4
7 Drag-and-drop a Momentary Button Object from Toolbox into the Page as the button is overlaid
on the Bit Lamp Object.
8 Match the size of the Momentary Button Object with the one of the Bit Lamp Object.
9 As the text is disused, remove the items on the list. Set TextButtonUp(Default) – Appearance
to be a blank. Also set the TextButtonDown(Default) to be a blank.
Page 55
4 Creating HMI Application and Debugging
4 - 16
NA-series Programmable Terminal Startup Guide (V120)
10 As the Momentary Button Object should not be displayed, set the color to transparent. Select
the tab of solid color in BackgroundColorButtonUp – Appearance and set System color to
Transparent. Set another colors, such as BackgroundColorButtonDown, BorderColorBut­tonUp an
d BorderColorButtonDown in the same procedure.
11 Assign a variable to the Momentary Button Object. Set Variable – Behavior in Property to
new_Controller_0_SwGreen.
12 Create buttons corresponding to the red and yellow lamps. The settings are shown as follows.
• Yellow Button
Page 56
4 - 17
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-7 Creating a Page
4
• Red Button
Now the Page is completed.
Page 57
4 Creating HMI Application and Debugging
4 - 18
NA-series Programmable Terminal Startup Guide (V120)
4-8 Debugging the HMI Applications
The NA-series Programmable Terminal is implemented with the function that the operations can be ver­ified on the simulator of the Sysmac Studio. The fu
nction is referred as Offline Debugging. When debugging should be performed without a Unit, the operations are verified through the Offline Debug­ging. The Offline Debugging includes a method that executes HMI
project and verifies only single oper-
ation and the other method that combines the Controller's simulator.
Additional Information
When the operation is checked only with HMI simulator, the operation of objects can be checked. However, the debugging of the function that operates according to the value of the Controller is not available. If you need to perform debugging such a function, connect with the simulator of the Controller.
Execute a build as preparations for Online Debugging.
1
Select Build HMIProject in Menu.
Result of the build will be displayed on the
build window. If you find an error, modify the pro-
gram.
4-8-1 Preparations for Online Debugging
Convenient Function: When you click a line includes an error, you can jump to the corresponding rung.
Page 58
4 - 19
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-8 Debugging the HMI Applications
4
4-8-1 Preparations for Online Debugging
1 Turn ON the power supply of the HMI. 2 Connect Online with either of methods shown as follow.
Method1: Select HMI – Onli
ne in Main Menu.
Method2: Click in Toolbar.
Method3: Press Ctrl key + W key.
It enters into online connection status.
Online Connection
Ctrl
W
Being into Online Connection, a bar in Edit Window is displayed in yellow.
The HMI status is displayed.
Page 59
4 Creating HMI Application and Debugging
4 - 20
NA-series Programmable Terminal Startup Guide (V120)
Transfer the project to HMI. In order to transfer the project, use “Synchronization” function. By the “Syn­chronization” function of the Sysmac Studio, the dat
a on PC and the data on the HMI are collated auto-
matically and transferred
to the HMI.
1
Display a Synchronization window with either of the methods shown as follows.
Method 1: Select Sy
nchronizationHMI.
Method 2: Click in Toolbar.
Method 3: Press Ctrl key + W key.
The collation the data on PC and the data on the HMI will be begun.
When the collation is com-
pleted, the result of collation will
be displayed.
Transfer Project
Ctrl
M
The collation result of the data on PC and the data on the HMI is displayed.
Click the button when the project is transferred from PC to the HMI.
Page 60
4 - 21
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-8 Debugging the HMI Applications
4
4-8-1 Preparations for Online Debugging
2
Click the button Transfer to Device.
Click .
It is begun to transfer the project to
the HMI. During the transfer, progress rate is displayed in
Synchronization Window.
3 When the transfer is completed, the HMI automatically is restarted.
Page 61
4 Creating HMI Application and Debugging
4 - 22
NA-series Programmable Terminal Startup Guide (V120)
4
Click Close in right bottom on Synchronization Window.
Click .
The Synchronization Window is closed.
Execute a build
and startup the HMI Simulator as preparations for Offline Debugging.
1 Select [Build HMI] – [Project] in Menu.
Result of the Build is displayed in
Build window. When you find an error, modify applicable parts
of the source.
4-8-2 Preparations for Offline Debugging
Execute a Build
Page 62
4 - 23
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-8 Debugging the HMI Applications
4
4-8-2 Preparations for Offline Debugging
1
Select Start NA SimulationSimulation in Menu.
Simulation Window is displayed.
Now the Simulator is completed to be started up.
Additional Information
The simulator is not fully compatible with actual Unit. Final confirmation is necessary on the actual Unit.
Startup the Simulator
Page 63
4 Creating HMI Application and Debugging
4 - 24
NA-series Programmable Terminal Startup Guide (V120)
Debug the project whether the created project operates correctly just as intended.
Confirm whether values are set to the Controller correctly and lamps are displayed properly when each button
is pressed, using the simulator.
1 Switch the device to the Controller.
2 Open the Global Variables table and register SwGreen, SwRed and SwYellow to Watch Win-
dow.
4-8-3 Debugging
Page 64
4 - 25
4 Creating HMI Application and Debugging
NA-series Programmable Terminal Startup Guide (V120)
4-8 Debugging the HMI Applications
4
4-8-3 Debugging
3 Select Run with NA Simulator – Simulation in Menu.
4 Click OK.
Page 65
4 Creating HMI Application and Debugging
4 - 26
NA-series Programmable Terminal Startup Guide (V120)
5 Confirm whether the value of the Controller variable when pressing the button on the Page. In
the similar way, confirm whether the variation of the value on Watch Window should be applied to the Page.
Page 66
5 - 1
5
NA-series Programmable Terminal Startup Guide (V120)
This section describes useful functions when using the NA-series Programmable Ter­minal and the Sysmac Studio.
5-1 Global Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5-2 Protecting User Program Assets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Useful Functions
Page 67
5 Useful Functions
5 - 2
NA-series Programmable Terminal Startup Guide (V120)
5-1 Global Event
The Global Event allows the user to execute a specific operation when a certain condition is established for whole the project. When a specific page should be displayed if the value of device reaches a certain value during the monitoring or when operation should be specified if a corresponding function key is pressed.
This section describes an example that realizes fu
nction of green button with a function key.
1 Double-click Global EventHMI in Multiview Explorer. Or, right-click Global Event – HMI and
select Edit in Menu.
2 Select F1KeyPress in the Events.
Page 68
5 - 3
5 Useful Functions
NA-series Programmable Terminal Startup Guide (V120)
5-1 Global Event
5
3 Select SetVariable in the Actions.
4 Set Variable to new_Controller_0_SwGreen and set Value to True.
5 Select F1KeyRelease in the Events.
Page 69
5 Useful Functions
5 - 4
NA-series Programmable Terminal Startup Guide (V120)
6 Select SetVariable in the Actions.
7 Set Variable to new_Controller_0_SwGreen and set Value to False.
Page 70
5 - 5
5 Useful Functions
NA-series Programmable Terminal Startup Guide (V120)
5-2 Protecting User Program Assets
5
5-2 Protecting User Program Assets
Utilizing security allows the user to protect User Program Assets. The security includes functions as follows. This section describes overview of the Security Functions.
Additional Information
For the details of security, refer to Sysmac Studio Version 1 Operation Manual (W504) and NA-series Programmable Terminal Software User’s Manual (V118).
Security Functions Purpose
Overall Project File Protection Preventing theft of asset Operation Rights Validation Preventing incorrect operation Write Protection HMI Device names Preventing incorrect connection
Page 71
5 Useful Functions
5 - 6
NA-series Programmable Terminal Startup Guide (V120)
Page 72
I - 1
I
NA-series Programmable Terminal Startup Guide (V120)
Index
Page 73
I - 2
NA-series Programmable Terminal Startup Guide (V120)
Index
Index
A
Animations ...................................................................... 2-2
Application with High Reusability
................................... 2-2
Automation Software
...................................................... 1-3
D
Data Type of Variable ..................................................... 2-3
Debugging
...........................................................4-18, 4-24
E
Event-driven Application ................................................. 2-2
Events and Actions
......................................................... 2-2
G
Global Event ................................................................... 5-2
Global subroutine
........................................................... 2-4
global variable
................................................................ 2-3
I
Initial Configuration ....................................................... 4-10
Installing Sysmac Studio
................................................ 3-2
M
Mapping .......................................................................... 4-8
O
Offline debugging ..................................................1-2, 4-22
Online debugging
.................................................. 1-2, 4-18
P
Page subroutine ............................................................. 2-4
Properties
....................................................................... 2-2
S
Startup procedures ......................................................... 1-2
Subroutine variable
........................................................ 2-3
Subroutines
.................................................................... 2-4
System Configurations
................................................... 1-3
U
Unit for use ..................................................................... 1-3
Utilizing security
............................................................. 5-5
V
Var iable s ......................................................................... 2-3
W
Wiring Power Supply ...................................................... 3-3
Page 74
Page 75
Authorized Distributor:
In the interest of product improvement, specifications are subject to change without notice.
Cat. No. V120-E1-01
0614
© OMRON Corporation 2014 All Rights Reserved.
OMRON Corporation Industrial Automation Company
OMRON ELECTRONICS LLC
One Commerce Drive Schaumburg, IL 60173-5302 U.S.A. Tel: (1) 847-843-7900/Fax: (1) 847-843-7787
Regional Headquarters
OMRON EUROPE B.V.
Wegalaan 67-69-2132 JD Hoofddorp The Netherlands Tel: (31)2356-81-300/Fax: (31)2356-81-388
Contact: www.ia.omron.com
Tokyo, JAPAN
OMRON ASIA PACIFIC PTE. LTD.
No. 438A Alexandra Road # 05-05/08 (Lobby 2), Alexandra Technopark, Singapore 119967 Tel: (65) 6835-3011/Fax: (65) 6835-2711
OMRON (CHINA) CO., LTD.
Room 2211, Bank of China Tower, 200 Yin Cheng Zhong Road, PuDong New Area, Shanghai, 200120, China Tel: (86) 21-5037-2222/Fax: (86) 21-5037-2200
Page 76
Below is a list of articles with direct links to our shop Electric Automation Network where you
can see:
• Quote per purchase volume in real time.
• Online documentation and datasheets of all products.
• Estimated delivery time enquiry in real time.
• Logistics systems for the shipment of materials almost anywhere in the world.
• Purchasing management, order record and tracking of shipments.
To access the product, click on the green button.
Product Code Reference Product link
Operator Interface, Interface Sysmac NA, 12.1 ", 1280x800, TFT 16.7 mill. Colors, Black
392729 NA5-12W101B
Buy on EAN
Control system, Sysmac Studio Standard Edition 1 License
355295
SYSMAC­SE201L
Buy on EAN
Sistemas for Control, Sysmac Studio Standard Edition DVD
355294
SYSMAC­SE200D
Buy on EAN
Loading...