Home

NA Series Programmable Terminal Software User's Manual

image

Contents

1. I MEE II Tr den te brane da dee ba Scare anata a poe Ged he 1 2 How HMIs Operate 2 0 ce es 1 2 1 HMI Software Configuration llle 19222 SFIMIAPTOIGCIS ace yw cd cep SR Enea elt Ba Votar e lod sc dodi nuca IUE n LE 1 24 UODISGIS errire yn o p ba ewe oe ood adele eed aes OPERE 1 2 5 Memory Specifications for Connected Devices 1 2 D EVM riw 399 dd swale adeeb Gade age NOR PA Pa A edd duci d T 2 Subro lnes ee i 4x4 dodge wie boxed eR bx beeen dena dss 1 2 8 Functions Shared by the Entire HMI Project 1 3 Operating Procedure for HMIs Ts9 1 Overall Procedure say aai det i reos rere ely bea Se t32 Procedure Detalls 5 52123 2eciene kale s Sak Rate ERES ek As NA Series Programmable Terminal Software User s Manual V118 1 Introduction to the NA series Programmable Terminals 1 1 NA series Programmable Terminals The NA series Programmable Terminals represent the next generation of HMIs for industrial applica tions They display information on FA manufacturing sites and function as control interfaces while pro viding safety reliability and maintainability They provide all of the functions of traditional programmable terminals with a clearer easy to use interface OMRON offers the new Sysmac Series of control devices designed with unified communications speci fications and user interface specific
2. uonoeuuo SUI UO z 9 6 Connecting to the HMI 6 2 4 Going Online after Checking the Connection Method Use the following procedure to go online if you selected the option to select the connection method whenever you connect the computer with the HMI in the Communications Setup Dialog Box 1 Select Online from the HMI Menu Or click the Go Online Button E in the toolbar The Communications Setup Dialog Box is displayed Es 3mii Jan Settings Connection Type Ph E C Direct connection via USB s Direct connection via Ethernet Ss Ethernet connection via a hub 192 168 250 1 The IP address that is set in the Communications Setup Dialog Box is displayed below the Ethernet connection via a hub Option 2 Select the connection method and then click the OK Button The Sysmac Studio goes online 6 2 5 Going Offline Use the following procedure to go offline Select Offline from the HMI Menu Or click the Go Offline Button ES in the toolbar The Sysmac Studio goes offline 6 2 6 Confirming Serial IDs The serial ID is verified when going online if the option to do so was selected in the Communications Setup Dialog Box If the serial ID of the project on the Sysmac Studio is different from that of the HMI the following confirmation dialog box is displayed when you attempt to go online Name Serial ID does not match Project Name HMI_NA5_1 Serial ID NL DB 19112013 0000 HM
3. Communications Configuration Y l Device References ToU RE ExternalDeviced O IP Address Route Path ZI ss C Timeout seconds Communication Driver CIP Ethernet Encoding fl Internal Projects n Variable Mapping Device Series L1 HMI Settings amp Security Settings A Language Settings us ascii 7 E Communication Error Indication Not Imported M Y Device Variables END Type Comment NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 4 Select the vendor of the required device in the Device Vendor Box under Device Configura tion The device series of the selected vendor is displayed Make the selections for the required device The device communications drivers of the vendor selected for the device series are dis played Select the communications driver for the required device Y Device Configuration Device Configuration r Communications Configuration Device Name ExternalDeviceO IP Address EDI Device Vendor Omron v Timeout seconds Device Series NJ i3 Communication Error Indication Communication Driver Ethernet Import Status Not Imported v v Device Variables SODUDIDJOY 92IA9Qq 7 Name Data Type Comment AT 3 5 Make the required settings in the Communications Configuration Area Refer to the NA series Programmable Terminal Device Connection User s Manual Cat No V119 fo
4. ccccccccsseeseeseeesceeeeeeeceeeeeeeeeneeceseeeaeeeneseessoenesenenes 1 2 gd RG wk 0 gt N AS 1 2 12 HOW AHMIS Operate ii eei YE Pes eso Vo VO E EH ao cuna Soars veo Eureka E ava EET Feo Even EA Tess OU PP eee ws 1 4 152 1 HMESoftwareGohllgurallOrx oou co pau ed a paste stone as enbodutu a ta boca ut udo 1 4 1e2 2 RAMPO OCS ot cess acticin cece ca aui Rio IR add Desunt Rios o cuan E dbi ce piss dorado d uestis A dece ie UM AER UNA 1 4 T25 RAC NN rc cort 1 4 MERO c 1 5 1 2 5 Memory Specifications for Connected Devices seeessesssseseseeeeenenm ens 1 6 I ME an ES 1 7 2 Uere IPIE 1 8 1 2 8 Functions Shared by the Entire HMI Project cccccccccseeeceeeeseeeeeeeeeeeeeseeeeeeseseeeeeeaeeeeeseaeeees 1 9 1 2 9 Data That Retained When Power Is Turned OFF cccccccccesececeeeeeceeeeeeseeeeessecesseeeeseeseesanes 1 9 1 3 Operating Procedure for HMIS ccccceeeceeeeeeeeeeeeeeeeeeaneeeeeseeneceseeeeeaeseenecenseenessnesseneaaees 1 10 T2521 Overall Procede ceo ecedeeveecdveseorettabettipoc edit Aces setae a Morc ee dander wee 1 10 1 92 Procedure Derallsasscdstacue quies vidquenc s ui ca acuden C op VERS E rU du dd CUPS OT DuUd ace etenae 1 11 Section 2 Basic Sysmac Studio Operations 2 1 Parts of the Sysmac Studio Window 1 eeceeeeeeeeee seen see nenne nene nnn nnne nant 2 2
5. 3 O keJ D O e 0 9 4 4dd Buikejdsiq Z S 5 Objects 4 Select ShowDocument FullScreen as the action Button Y Events x Select Event t 0 Click fi CallSubroutine ClearUserAlarmLag ClosePage DecreaseVanable EjectSDMemory EnableInputOperation IncreaseVariable InvertVariable Logout Login ResetVariable SaveUserAlarmlLogTaFile SetLanguage SetVanable ShowDocument Window ShowPage ShowPreviousPage ShowsSystemMenu StartDataLogging StopDataLogging 5 Set the name of the file to display Events and Actions i x Button Events lt Select Event to Add gt T 0 ShowDocument Transfer the project to the HMI and confirm the operation The PDF file should be displayed when the button is touched Ip pt 5 12 NA Series Programmable Terminal Software User s Manual V118 5 Objects 5 2 2 Displaying a User Alarm The following example shows how to register a user alarm and display a message when the user alarm occurs This example creates a user alarm that displays the message Alarm7 in a confirmation dialog box when the binAlarm1 variable changes to True 1 Right click HMI under User Alarms in the Multiview Explorer and select Add Group from the menu HMI NA5 0 b Configurations and Setup m Pages HH Pagel gt User Alarms R Data Logging T N m x D 3 p D 0 o h c 2 5 O D e 0 E Recipes b Data Mult
6. NA Series Programmable Terminal Software User s Manual V118 Synchronizing Projects SSS This section describes how to synchronize the projects between the HMI and the Sys mac Studio 8 1 Synchronizing Projects 0 00 es 8 2 8 2 Using Storage Media for Synchronization 8 5 NA Series Programmable Terminal Software User s Manual V118 8 1 8 Synchronizing Projects 8 1 Synchronizing Projects Synchronization is used to transfer the project from the Sysmac Studio to the HMI The basic Sysmac Studio operations for synchronization generally apply to HMIs Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 for details This section describes differences in synchronization when an HMI is selected AN WARNING operation Sufficiently check the operation of any project that you create before you start actual system o Precautions for Safe Use Unexpected operation may result if you set inappropriate network configuration settings Even if appropriate network configuration settings are set confirm that the controlled system will not be adversely affected before you transfer the data l Precautions for Correct Use Do not perform any other operations on the Sysmac Studio while the Synchronization Window is active An error will occur and synchronization will fail 8 2 NA Series Programmable Terminal Software User s Manual V118 8 Synchronizing Projects i Func
7. when the events occur NA Series Programmable Terminal Software User s Manual V118 5 3 o O S D O e a soinquyy elqO 7Z L S 5 Objects I Properties e Properties Properties are the static attributes of an object These include settings for the names and other general properties colors positioning and other display properties and assigned condition expressions or variables as described in the following table Properties Properties Description General You can set the name of the object and check the object type Appearance You can set the object color shape label etc Behavior You can set condition expressions variables and delay times to assign to the object You can specify a condition expression that uses variables You can specify a variable IsEnabled DoubleTouch You can make settings to enable the object determine the double touch Time OnDelayTime etc interval set the ON delay time etc Layout You can set the position and size of the object Security You can set security for the object Pointer Marker You can set the needle marker for a gauge Ranges You can set the range for a gauge Scale Bar You can set the scale bars for a gauge Tick Label You can set scale labels for a gauge Tick Major You can set the major scale division labels for a gauge Tick Minor You can set the minor scale division labels for a gauge Needle You can set the needle for a gauge Needle Cap You can
8. 2 Basic Sysmac Studio Operations 2 4 Sysmac Studio Settings and Opera tions This section lists the operations of the Sysmac Studio that can be used only when an HMI is selected 2 4 1 Setting Parameters fem Reference HMI Settings You can make settings for an HMI Section 3 HMI Configuration and Setup Device References If you connect an HMI to a device e g Control 3 2 Device References on ler or PLC that is not registered in the current page 3 3 HMI project the connected external device will be added Internal Projects Controllers registered in the project are dis played External Device You can set up communications and import vari ables for connected devices that have been added Variable Mapping You can associate variables in the connected 3 3 Mapping Variables on devices with variables in the HMI page 3 7 2 4 2 Programming fem Reference Toolbox The Toolbox displays a list of the objects that Section 5 Objects you can use You can search for the required objects and drag them to the Page Editor to position the objects Properties You can set the static attributes of the pages Animations You can set the operations for object condition occur Page Explorer The Page Explorer displays a list of objects on a page You can select objects or change the order of the display Code Explorer The Code Explorer displays lists of subroutines in the project You can double click a subroutine to
9. brightness settings and other set tings TCP IP Settings These are the Ethernet settings for These settings are always required Ethernet ports 1 and 2 FTP Settings These are the FTP server settings These settings are required to use the FTP server NTP Settings These are the NTP client settings These settings are required when you use an NTP client FINS Settings These are the settings for FINS com These settings are required when munications using FINS communications with a CJ series PLC VNC Settings These are the VNC settings These settings are required to use VNC I Setting Procedure for HMI Settings 1 Double click HMI Settings under Configurations and Setup in the Multiview Explorer The HMI Settings Tab Page is displayed in the Configurations and Setup Layer 2 Click the icons on the left to display the corresponding dialog boxes 3 10 NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 4 2 Device Settings These are the device settings v Startup Page Page name Page0 Y Startup Language Startup language English United States wv USB Keyboard sbunes INH Key layout English United States wv Security la Automatically log out user after period of inactivity Screen Saver 3 Screen saver type Disable Screen Saver v Y Screen Brightness Screen brightness Y System Menu Double Tap Interval 1 Second E Top Le
10. gt Buttons Lamps Shapes Standard Controls Gauges HMI Controls Custom x 5 Blowers Conveyors Flags Flow Meters Hoppers gt Motors Pipes gt Pumps gt Tanks gt gt Valves Waming Signs 1 Drag the objects from the Toolbox and drop them on the page New Project HMI NAS 0 Sysmac Studio File Edit View Insert Project HMI Simulation Tools Help l al r a E F I Multiview Explorer k e HMLNA5O v English United States v gt Configurations and Setup Y 53 Pages gt User Alarms tz Data Logging amp Recipes gt amp Data 5 Global Events gt i Global Subroutines 3 Resources 42 IAG Resources NA Series Programmable Terminal Software User s Manual V118 24 HMI E m Paged x n I Seach M Buttons Momentary Button Reset Button Set Button Toggle Button gt Lamps gt Shapes b Standard Controls gt Gauges gt HMI Controls gt Custom gt Arrows gt Blowers gt Conveyors b Flags gt Flow Meters gt Hoppers gt Motors gt Pipes gt Pumps Lern gt Valves gt Waming Signs Button A Button object O Sc D O e T sjoelqo Burst 6 5 Objects I Setting Properties 1 Select Properties from the View Menu Multiview Explorer Alt 1 Toolbox Alt 2 Output Tab Page Alt 3 ES Watch Tab Page Alt 4 Build Tab Page Alt 6 HMI NA5 sea
11. 3 6 Language Set tings on page 3 18 4 6 Building on page 4 33 Section 7 Debugging 10 euYnpo20J0g Dunejedo c r I o s iEejeq eunpeoO0Jd Z E 1 Introduction to the NA series Programmable Terminals STEP3 Mounting and Wiring Step Description Reference e Mount the HMI to the panel 3 3 Installing NA Units in NA Series Pro 1 Mounting Wire Power Supply grammable Terminal Hardware User s Man ual V117 D Wire the Ethernet cables 3 4 Wiring Method in NA Series Program A MEINE mable Terminal Hardware User s Manual Ethernet Cable to V117 the Connected Device NA series Programmable Terminal Device Connection User s Manual V119 3 Connecting the Wire the USB cable 2 4 Support Software in NA Series Program Computer Sys or mable Terminal Hardware User s Manual mac Studio Wire the Ethernet cable pop STEP4 Confirming Operation and Starting Actual System Operation operations e Turn ON the power supply to the Use Communica Section 6 Connecting HMI and place the Sysmac Stu tions Setup on the to the HMI and Section gene Connie dio online Then download the HMI Menu 8 Synchronizing Proj tion to Sysmac iecit sols Studio and Proj project Use Synchroniza 1 Use the Synchronize operation tion on the HMI of the Sysmac Studio to Menu download the project ect Download e Integrate the NA Unit into the Section 7 Debugging actual system manipulate the project that you c
12. 4 9 T PC PLP SENOS avete cie tedio viro teet 3 12 Reels MM TUTTI 4 16 9 4 TOOK Gu REM TN 2 5 vend Grap IN senectt ebaastt une sadi deni bedued bai cadi up bas 5 15 U updating device variables eeeeesesessssss 3 6 LUISE Flan o ce ties axle pies diua dunt een esc al cae als a its 5 13 V VAISS u 51 22 cern tan nian a a a 4 2 NING ecce latente a be ec ud dct cae aterert 10 2 VNC settings sees 3 16 W Walclt Tab Page nici bita i dude exl v 1 2 NA Series Programmable Terminal Software User s Manual V118 l 3 Index NA Series Programmable Terminal Software User s Manual V118 OMRON Corporation Industrial Automation Company Tokyo JAPAN Contact www ia omron com Regional Headquarters OMRON EUROPE B V OMRON ELECTRONICS LLC Wegalaan 67 69 2132 JD Hoofddorp One Commerce Drive Schaumburg The Netherlands IL 60173 5302 U S A Tel 31 2356 81 300 Fax 31 2356 81 388 Tel 1 847 843 7900 Fax 1 847 843 7787 OMRON ASIA PACIFIC PTE LTD OMRON CHINA CO LTD No 438A Alexandra Road 05 05 08 Lobby 2 Room 2211 Bank of China Tower Alexandra Technopark 200 Yin Cheng Zhong Road Singapore 119967 PuDong New Area Shanghai 200120 China Tel 65 6835 3011 Fax 65 6835 2711 Tel 86 21 5037 2222 Fax 86 21 5037 2200 Authorized Distributor OMRON Corporation 2014 All Rights Reserved In the interest of product improvement specifications are subject to change withou
13. If the page changes when an object set for Click is touched but not yet released the event does not occur If the page changes when an object set for Release is touched but not yet released the event does occur 2 Theresults of accessing external variables during project initialization immediately after startup are not always dependable Do not access external variables during project initialization NA Series Programmable Terminal Software User s Manual V118 Appendices fi Actions lobal Action Description ates Page Beet events alarms l E i i CallSubroutine xecutes a subroutine registered as a Yes Ves Ves global subroutine or page subroutine ClearUserAlarmLog Clears the user alarm log Yes ClosePage Closes the specified page Yes Decrease MEER Subtracts the specified value from the spec Ves Yes Yes Yes ified variable EjectSDMemory Enables removing the SD Memory Card Yes or disables inputs on the touch Wee Peace AN Adds the specified value to the specified Ves ee Ves Yes variable invertVariable Inverts the value of the specified Boolean Ves variable Login Displays the login page Displays the login page login page Yes Logout Logs out the user out Logs out the user user ee e Yes Beaanianubia Changes the value of the specified Boolean Ves variable to False Sn ue Saves the user alarm log to a file Yes SetBrightness Changes the brightness of the screen Yes SetLanguag
14. LA A S I I A A Pipes Group 2 A confirmation dialog box is displayed Click the Yes Button 9 14 NA Series Programmable Terminal Software User s Manual V118 9 Reusing Objects 9 3 4 Using Custom Objects It is very easy to use a custom object Just select the desired custom object in the Toolbox and drag it to the page You can handle the custom objects on pages in the same ways as you handle normal objects Search English United States v Buttons Lamps Shapes Standard Controls Gauges gt gt gt gt gt gt HMI Controls Y Custom GroupO gt Arrows gt Blowers b Conveyors gt Flags gt Flow Meters gt Hoppers gt Motors gt Pipes gt Pumps gt Tanks gt Valves gt Waming Signs P do O c 0 e o 3 O S D O e T sj efqo uojsn Bulsy p c 6 NA Series Programmable Terminal Software User s Manual V118 9 15 9 Reusing Objects NA Series Programmable Terminal Software User s Manual V118 10 u Connecting to HMIs from External Devices EJ This section describes how to connect to an HMI from an external device 10 1 Accessing an HMI from an External Device 10 2 10 1754 MINIS cee cates occa tior Saeed ae ca vade rre ERE ROLE aes ea aed an cae eae 10 2 105152 ROWE eua vm asa let edat WR doe mane deos qox ave Cotas Uae Genes eee ee 10 3 NA Series Programmable Terminal Software User s Manual V118 10
15. instal lation procedures and procedures to connect an NA Unit to peripheral devices Information is also provided on main tenance after operation and trouble shooting NA series PT pages and object func tions are described Information is provided on connec tion procedures and setting proce dures to connect an NA series PT to a Controller or other device The part names and installation pro cedures are described followed by page creation and transfer proce dures with the Sysmac Studio Also operation maintenance and inspec tion procedures after the project is transferred are described Sample screen captures are provided as examples An introduction to the entire NJ series system is provided along with the following information on a Controller built with a CPU Unit Features and system configuration e Introduction e 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 21 Related Manuals Manual name NJ series CPU Unit Software User s Manual CJ Series Program mable Controllers Operation Manual CS CJ NSJ Series Programmable Con trollers Operation Manual CS CJ NJ series Instructions Refer ence Manual CS CJ Series Pro gramming Consoles Operation Manual 22 Cat No Modes Applications W501 W393 W394 W340 W341
16. only the contents of the subroutine is searched You can select only A for the Look at Box NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 6 Building 4 6 1 Building The project must be built to convert it into a form that the HMI can execute During the building process subroutines and variables are checked If there are any errors the build operation is not performed and 4 is displayed next to the program or variable where the error occurred in the Multiview Explorer You can confirm the errors on the Build Tab Page T UJ E e 5 ta 4 6 2 Build Operation Use the main menu to execute the build operation HMI projects are not built automatically even if no operations are performed for 5 seconds Executing a Build Operation 1 oelect Build HMI from the Project Menu Aborting a Build Operation No functions can be executed while building the project is in progress If necessary you can abort build ing to check the project Duipuing L 9 1 select Abort Build from the Project Menu Project HMI Simulation Tools Help IAG Collections Manager Ctrl 8 2 The build operation is aborted and a message that says it was aborted is displayed in the Out put Tab Page NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 Offline Comparison HMI projects are not included in offline comparisons Even if yo
17. 0 0000000000000000000000000001 1E 28 Double Double 8 bytes 1 79769313486231570E 308 through 4 94065645841246544E 324 for negative values 4 94065645841246544E 324 through 1 79769313486231570E 308 for positive values 2 147 483 648 through 2 147 483 647 signed bm LE 8 bytes 9 223 372 036 854 775 808 through I 9 223 372 036 854 775 807 9 2 E 18 signed 128 through 127 signed 32 768 through 32 767 signed Single Single 4 bytes 3 4028235E 38 through 1 401298E 45 for negative values 1 401298E 45 through 3 4028235E 38 for positive values m 0 to approximately 2 billion Unicode characters length Ulnteger 4 bytes 0 through 4 294 967 295 unsigned ulong ULong 8 bytes 0 through 18 446 744 073 709 551 615 1 8 E 19 unsigned 2 bytes 0 to 65 535 unsigned Derivative Structure that gives a time interval data types Structures To use structures as global variables you must import them from a connected device You can use subroutine variables if you declare them inside the subrou tine Unions are not supported Enumerations Enumerations are supported only in subroutines Refer to the NA series Programmable Terminal Device Connection User s Manual Cat No V119 for information on which of the above HMI variable data types can be assigned to the data types of con nected device variables for different connected devices 4 6 NA Series Programmable Terminal Software User s Manual V118 4 Creating
18. 1 10 Connecting to HMIs from External Devices 10 1 Accessing an HMI from an External Device You can use the following two methods to access an NA series Programmable Terminal from an exter nal device Remote monitoring and control with VNC File operations with FTP i Precautions for Correct Use Only password security is provided for using VNC and FTP Sufficiently consider the network configuration in terms of security and implement any required measures to prevent unauthor ized access Use the same keyboard layout settings for the VNC client computer and the HMI If the set tings are not the same different characters may results from the characters input from the VNC client 10 1 1 VNC You can enable VNC to use a VNC client to monitor and control HMI pages You can also use a mode setting to prohibit controlling operation from a VNC client and allow only monitoring Setting Method Double click HMI Settings under Configurations and Setup Click the VNC Settings Button Enable VNC Donotuse Use Port No S200 Mode View Only Y Password ARM Select the Use Option for Enable VNC and change the setting of the Mode Box as required Set a text string in the Password Box After you complete the settings select Build HMI from the Project Menu When building the project is completed download the project to the HMI 10 2 NA Series Programmable Terminal Software User s Manual V118 10 Connectin
19. 1 Outline of Configurations and Setup 3 2 3 1 1 Connected Device Registration and Variable Mapping 3 2 3 2 Device References 2 62205 cic a sr eee ede LS Ra Rn ee Kram dees 3 3 3 2 1 Types of Connected Devices 0 0 eee 3 3 3 2 2 Connected Devices in the Current Project 0000 3 3 3 2 3 Registering External Connected Devices 0 0 00 cece eee 3 4 3 3 Mapping Variables x xx Eo R9 ed Oe a e ee See ER ea SOR 3 7 3 3 1 Mapping Variables l ellen 3 7 3 3 2 Opening the Variable Mapping Tab Page and Tab Page Parts 3 7 3 3 3 Variable Mapping Methods 0 0 ccc eee es 3 8 354 HMI SENGS o rie aao dee eal YO e Ro aic oC wk aie i aec dee dias 3 10 ase HIMESeLIFHOS oux pru ose ead ER ODE Ur oS tee ete edm S the ms 3 10 3 4 2 Device Settings llle n 3 11 93 INGPUP SENGS ous cud olin s eae tre eS ae ether er atti ot beens 3 12 3 4 4 FIP Settings llle RI RR RR a 3 13 3 4 5 ANTP SetIngs x2 e PRI RESAXRmSS 4442 4050i0e see ERI UE REIS 3 14 3 4 6 FINS Settings erin tae D a aa rn 3 15 ST VNC Seng 1249599990 ge LDS ove bade D CDRPER VET RM S 3 16 325 S6CHFrIty SENOS uxo pa vates Ea dx EC Re Rd ica cU RUE EHE eee SC CR 3 17 3 6 Language SettingS 502040000 RE Pema EEUU ERE REG KE Rc a E Ree Reds 3 18 OH WUIVN GIOCK decr rr 3 19 3 6 Updating the AMI Name i i 6 2665 554 RE wee ee es 3 20
20. 14 51 03 12 12 3 Item Description Time Zone Computer Displays the time zone of the computer HMI Sets the time zone of the HMI Automatically adjust clock for Select this check box to enable automatically adjusting for daylight savings DST time Date and time Computer Displays the current date and time on the computer Synchronize with computer Updates the clock information on the HMI with the clock information from the computer HMI Set the clock information on the HMI NA Series Programmable Terminal Software User s Manual V118 3 19 3 HMI Configuration and Setup 3 8 Updating the HMI Name To change the HMI name select HMI Name from the HMI Menu when you are online A confirmation dialog box is displayed To update the HMI name that is set in the project click the Yes Button The HMI Unit named HMI NA 5 0 will be updated with the name from the project HMI NA5 1 Do you want to continue Y N 3 20 NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 9 Write Protecting the HMI To write protect the HMI select Security HMI Write Protection from the HMI Menu when you are online A confirmation dialog box is displayed Click the Yes Button to write protect the HMI Hmi device write protection is released A uy The Hmi device application CAN be changed Do you want to set the write protection Y N INH 9u3 6uno2983oJgd M 6 Yes No 3 Onl
21. 2 2007 e 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 he NA Unit must be installed within a control panel You must use reinforced insulation or double insulation for the DC power supplies connected to the NA Unit NA series PTs that comply with EC Directives also 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 machine or equipment complies with EC Directives This is a Class A product for industrial environments In a residential environment it may cause radio interference in which case the user may be required to take appropriate measures NA Series Programmable Terminal Software User s Manual V118 19 Regulations and Standards Conformance to KC Standards Observe the following precaution if you use NA series PTs in Korea A s 717 VES PEAN NE AFRA s 8 ES E717 Wa EX ALGAE AS FSAI HEH 71 3 9 9 AAA ALB SHE AS Sape g Bch Class A Device Broadcasting Communications Device for Business Use This device obtained EMC registration for office use Class A and it is intended to be used in pl
22. 2 Main Profile Low Main and High 1440 1280x720 MPEG 2 TS is not supported MPEG 4 Part 2 Simple Profile LO L1 L2 and L3 1280x720 Advanced Simple Profile LO L1 L2 L3 L4 and L5 Global motion compensation is not supported MPEG 4 Part 10 mp4 Baseline Profile L1 L1 2 L1 3 L2 L2 2 and L3 1280x720 H 264 Main Profile L1 L1 2 L1 3 L2 L2 2 L3 L3 1 L3 2 and L4 1 High Profile L1 L1 2 L1 3 L2 L2 2 L3 L3 1 L3 2 and L4 1 Windows Media Video WMV9 240x160 Files Supported by Document Viewer The Document Viewer can display the following files Format name Specifications Adobe Acrobat Document PDF Microsoft Excel Books Microsoft Excel 97 2003 Books xls Microsoft Word Documents Microsoft Word 97 2003 Docu doc ments NA Series Programmable Terminal Software User s Manual V118 Appendices A 3 Differences between the Physical HMI and Simulator The following differences exist between the physical HMI and Simulator e Trend Graph Objects The Simulator cannot display graphs Only the frames are displayed Media Player Objects Although the Simulator will execute more than one Media Player object on the same page the phys ical HMI never executes more than one gt Oo J zi D gt O D o0 Oo D e z D D gt e D U 3 lt D O fo I Q gt Q o 3 c 9 e o e ShowDocument Action and ShowDocument Function The Simulator ignores parameters that specify the
23. Data Logging E Recipes amp Data E Global Events gt g Global Subroutines I Resources Y 22 LAG Resources IAGO Resources s Delete 2 A tab page to make settings for IAG resources is displayed in the HMI Layer of the Edit Pane The procedures are the same as for other resources but you can change only the contents of the resources that are in the IAGs Resource ID English United States StringO Button NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 4 Subroutines Subroutines Subroutines are Visual Basic programs that the user can create You create subroutines under Subrou tines in the HMI project la Precautions for Correct Use This manual describes only aspects that are different from the specifications standardized by Microsoft Corporation For any specifications not given in this manual refer to commercially available reference materials Subroutines There are global subroutines and page subroutines as described below T A o c o o c A gt D n Global Subroutines Global subroutines are shared by the entire project You create global subroutines under Global Subroutines in the HMI project You set CallSubRou tine as the action in a global event object event or user alarms event to call a global subroutine You can also call a global subroutine from a page subroutine or from another global subroutine e Page Subr
24. EE eda EB rER esed A 2 A 2 Supported Formats irirna eaa UE tiges uncus Deu SEM S MU M EC REIN M D LE E EE UU EE A 4 A 3 Differences between the Physical HMI and Simulator A 5 Index 10 NA Series Programmable Terminal Software User s Manual V118 Terms and Conditions Agreement Terms and Conditions Agreement Warranty Limitations of Liability i Warranties 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 sale by Omron or such other period expressed in writing by Omron Omron disclaims all other warranties express or implied e 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 e 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
25. Manual Cat No W394 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 Instructions are described in detail When programming use this manual together with the Operation Manual CS series PLCs W339 CJ series PLCs W393 and the Programming Manual W394 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 nstructions Reference Manual W340 NA Series Programmable Terminal Software User s Manual V118 Manual name CS CJ NSJ Series Communications Commands Refer ence Manual CJ series CJ2 CPU Unit Hardware User s Manual CJ series CJ2 CPU Unit Software User s Manual Ethernet Units Oper ation Manual Con struction of Networks NA Series Programmable Terminal Software User s Manual V118 W342 W472 W473 W420 CS1G H CPULTLIH CS1G H CPULIL V1 CS1D CPULILIH CS1D CPULILIS CS1W SCULILI V1 CS1W SCBLILI V1 CJ1G H CPULILIH CJ1G CPULTIL IP CJ1M CPULIL CJ1G CPULTL CJ1W SCULILI V1 CJ2H CPU6LI EIP CJ2H CPU6L CJ2M CPULIL CJ2H CPU6LI EIP CJ2H CPU6LI CJ2M CPULIL CS1W ETN21 CJ1W ETN21 Applications Learning detailed
26. Mounting Brackets are included with the NA series PT Panel Mounting Bracket Phillips screwdriver 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 Vertical D Horizontal Recommended panel thickness 1 6 to 6 0 mm Model Dimensions NA5 15W 392 1 0 x 268 1 0 mm horizontal x vertical NA5 12W 310 0 x 224 1 0 mm horizontal x vertical NA5 9W 261 1 9 x 166 mm horizontal x vertical NAS 7W 197 05 0 x 444 05 0 mm horizontal x vertical ER 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 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 Model Number of Panel Mounting Brackets NA5 15W 8 locations NA5 12W 6 locations NA5 9W 4 locations NA5 7W 4 locations Ca
27. Oo O 3 o 1 Right click HMI Resources in the Multiview Explorer and select Edit from the menu Or dou ble click HMI Resources adis Pages gt 32 User Alarms R Data Logging E Recipes b Data Global Events E Global Subroutines i SubroutineGroup0 Resources 52 AG Resources seoJnoseM dN Bunes 9 e y 2 A tab page to make settings for resources is displayed in the HMI Layer of the Edit Pane You can select the resource to set and make the settings Resource ID English United States String Button NA Series Programmable Terminal Software User s Manual V118 4 25 4 Creating the HMI Application 4 3 7 Setting Up IAG Resources IAG Resources IAG resources are used within IAGs on user pages When you place an IAG on a page the resources for the IAG are automatically registered The languages that are displayed by the IAG resources are determined by the project languages The resources that are set in advance for the IAGs are displayed for the IAG resources If a language that is not included in an IAG is set as a project language the resources will be blank by default Setting Up Resources To set up an IAG resource select the IAG resource to set up and then make the settings 1 Right click the IAG resource to edit under HMI IAG Resources in the Multiview Explorer and select Edit from the menu Or double click the IAG resource Y Pages HH Pagel b 9 User Alarms Fz
28. Page subroutine Called User Alarm Event Date and Time Message 5 22 2014 10 03 03 AN EmergencyStop EmergencyStop Group EmergencyStop Alarm Code Priority rm Acknowledge Occurred At 100303 AM On 5 22 2014 0 Event Raised Action CallSubroutine 1 Event Acknowledged Action IncreaseVariable You can call a global subroutine by executing the CallSubroutine action when a global event occurs 1 8 NA Series Programmable Terminal Software User s Manual V118 1 Introduction to the NA series Programmable Terminals You can call a global subroutine or page subroutine by executing the CallSubroutine action when an event occurs on the page or for an object You can call a global subroutine by executing the CallSubroutine action when a user alarm event occurs m N O z T o O o D o e D You can also call a global subroutine from another global subroutine or a page subroutine 1 2 8 Functions Shared by the Entire HMI Project In addition to global events the following functions are shared by the entire HMI project Alarms Alarms notify the user when certain conditions are met in the HMI The following alarms are supported User alarms i Data Logging You can log data to store the changes in the values of specified variables over time joeloJd INH 945903 eu Aq peseys suonounJ 8 Z 4 You can display the saved data with Trend Graph objects You can also sa
29. Sections in this Manual Introduction to the NA series Programmable Terminals Connecting to HMIs from External Devices Basic Sysmac Studio Operations 3 HMI Configuration Other Functions and Setup Appendices Creating the HMI Application Objects Connecting to the HMI Debugging synchronizing Projects Reusing Objects NA Series Programmable Terminal Software User s Manual V118 5 Sections in this Manual NA Series Programmable Terminal Software User s Manual V118 CONTENTS E INEFOCGUGC TO A t a 1 Iselevant Manuals dte odio cpu dea a 2 Manual SI c tlle nans i papuupe eas ms nme Sd des pa n 3 Sections 1n this Manu dl uidi dei dis aub ep pret bw a VV E EE P pUUER 5 Terms and Conditions Agreement eceeeceeeseesseee nennen nnn nnn nnn 11 Salet PFECAUTIOINS ect 13 Precautions Tor Sale USC eeisssserceshoiweunrcteriadedersweneshontvendtavebssteamentespeunsddnaeiesveeveentees 15 Precautions Tor Correct USO eiie too Duae aaa Seve sd I rel d ip dcd 18 Iegulations and Standards ocisoc t area ora a rex esee aee venta eei tas base oco d vene doses ursus 19 Related Mantials i5 iiec oci erar Duesubus a E e DEUS UM SER LEE 21 TOTIMINOLOGY sssivcrsncteatienserueinta a aa a ea eau 25 REVISION MISLONY skossen aaa a a TEE VO cba dea eeE 26 Section 1 Introduction to the NA series Programmable Terminals 1 1 NA series Programmable Terminals
30. Toolbox to the page and set the following event and action Button Y Events lt Select Event to Add gt Y 0 Y Actions lt Select Action to Add gt 0 CallSubroutine WriteSubroutine Transfer the project to the HMI and confirm the operation When the button is touched the values that are set for the specified recipe should be written to the connected device Recipe Template Ingredient Valu Recipel Recipel 30 Recipe 40 Recipel Recipelnstancel NA Series Programmable Terminal Software User s Manual V118 Connecting to the HMI This section describes how to go online with an HMI 6 1 J tFOOUCUOD uu3t s apad eras ew eet SAL oA ood La awe Re Ger cbe o c dE Roe 6 2 6 2 Going Online with an HMI llelelen 6 3 6 2 1 Methods for Going Online with an HMI 0 0 0 2 ee 6 3 6 2 2 Setting the Connection Method 0 0 cc eee 6 4 6 2 3 ONIME Connecllan zise trito doa eee oe oe iw cade 6 5 6 2 4 Going Online after Checking the Connection Method 6 6 6 2 5 Going OMinGra zs su asd ede Do p a edite d Bd paced ua e Sor ue dc atas 6 6 6 2 6 Confirming Serial IDs llle 6 6 NA Series Programmable Terminal Software User s Manual V118 6 1 6 Connecting to the HMI 6 1 Introduction Connecting to the HMI You must go online with the HMI or connect to the Simulator to communicate with it from the Sysma
31. Viewer gt Custom gt Arrows gt Blowers gt Conveyors gt Flags b Flow Meters gt Hoppers gt Motors gt Pipes gt Pumps gt Tanks gt Valves gt Waming Signs Trend Graph A Trend Graph object Data Analog races eine 8 Click the for Analog Traces and set the variable to display on the graph Set intDatalog1 as the variable Data DataSet Analoglraces 0 analoglrace Cri analog Traced ScaleAss MarkerT Digital l races TI Insert an SD Memory Card into the HMI transfer the project to the HMI and confirm the opera tion 5 16 NA Series Programmable Terminal Software User s Manual V118 5 Objects Every 5 seconds the value of intDatalog1 should be sampled and displayed on the graph Trend Graph 01 40 00 02 00 00 02 20 00 08 May 2014 08 May 2014 08 May 2014 5 2 4 Using a Recipe The following example shows how to use a recipe 1 Register integer variables called intRecipe7 and intRecipe2 in the global variable table T N m x 9 3 2 D on o h c 3 O keJ D O e 0 2 Right click HMI Recipes in the Multiview Explorer and select Add Recipe Template from the menu Y 53 Pages EH Pagel P s User Alarms b FS Data Logging Recipes P E Data Recipe Template Global Events gt A Global Subroutines edioo e Duis p 2Z G 3 Double click the new recipe template Multiview Explorer HMI N
32. a a dass onde a 5 15 ip MEET cE aricielor ace P TCU 5 17 Connecting to the HMI NrOdUCUO Miun N E M 6 2 Going Onine WICH a IN seio iec exuos sucks R E E a E 6 3 6 2 1 Methods for Going Online with an HML ccccccccseeecceeseeeeeeeseeeeeeeeeeeeeeeseaeeeeesaeeeeessaaeseeesaaeeeees 6 3 6 2 2 Setting the Connection Method eessssessssssssesseeeeenenn nennen nennen nnns nnn nna nnns 6 4 0 2 9 Online COMMS CON Sct aa tetas eceeet oA Eos i tee E gun x afe toad oed asset do psal aA 6 5 6 2 4 Going Online after Checking the Connection Method cccccccccceeseeeeeeeeaeeeeeeseeeeeeeaeeeeeeeaeees 6 6 RA MEE Cel Qe E GUTIR SER ET e 6 6 6 2 6 CON MIG Sra BD M m 6 6 Debugging HMI Debugging PUNCUIONS c opio descen re Sepe ona o rk e pris y Ego a 2a PE FU aaa ey Fog esee a ts EAEE Oraa OEE aeaa 7 2 Tali Watter lab Page oct ccm TE 1 2 falz 16 7 ole RUE TREE EU oh ha E EE 7 3 ARES coe iE a nn ae eR eel ent ee ec 7 4 7 1 4 Offline Debugging with Only the HMI Simulator seeeeesesseeeeeeennm n 7 6 7 1 5 Offline Debugging with the Controller Simulator eeessseeeesseeeeennenennm 7 7 Synchronizing Projects SV NGCMFONIZING PFO COUS MIRI TETTE 8 2 Using Storage Media for Synchronization cccccceeeeceeeeeeeeceeseeeeeeneeeneseseeeneeeeneseneseneess 8 5 NA Series Programmable Terminal Software User s Manual
33. and for error messages displayed by the sys tem The two language settings are managed as pairs If you change the project language the paired sys tem language will also change I Language Setting Procedure 1 Double click Language Settings under Configurations and Setup in the Multiview Explorer The Language Settings Tab Page appears in the Configurations and Setup Layer Default language Project Languages System Languages Transfer to Device English United States English United States Other languages Project Languages System Languages Transfer to Device Item Description Default language Sets the language that is displayed by default Other languages Sets the languages to add in addition to the default languages EN Additional Information You can clear the selection of the Transfer to Device Check Box so that the language files are not transferred to the HMI You can use this to delete unnecessary languages depending on the destination of the HMI 3 18 NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 HMI Clock To set the clock in the HMI select HMI Clock from the HMI Menu when you are online Set the required items and click the Apply Button to update the information in the HMI Timesone Computer UTC 08 00 Pacific Time US amp Canada 420JD INH L Date and time Computer HMI 6 5 2014 gt gt Synchronize with computer gt gt 12
34. aw ELE Va IUE 4 11 4 2 Displaying Pages isidietssiitaeUvkiada eorcevl cera Eu Rec pato rc ruidos aera o eek aa du VR CV dV uda 4 12 4 2 2 wedisterhadaT ades xeu Recon ah a ss mene Eod ee etico ED ER MP P LES 4 12 2 2 5 Page Property Selungs hiat a bh Ene astu ain ee toas E a eain 4 14 4 2 4 Editing A Sis Nonaka antatiaa satin tint Prontindavi tu duomtetumduveeruse s Dun de siete ane et Lie CUm CREEK AT mde TAG a EE EM d 4 15 Setting Common Object Functions 5 oerte teo ee eoe h vacas ose pae roux o na connu angu nuce na nennen 4 18 4 3 1 Registering User IIR TET m 4 18 4 3 2 Registration for Data Logging ccccccccccccsesseecceeeeececceusececsueeeceseusseecseaaeeeesseseeeessusesesssagaeees 4 20 NA Series Programmable Terminal Software User s Manual V118 4 5 4 6 4 7 Section 5 5 1 5 2 Section 6 6 1 6 2 Section 7 7 1 Section 8 8 1 8 2 4 3 3 IREGISICTINGINOCIDGS sco eoediivea Vii ioo p i eie io euism ise a se Det ue cese Pee OD Wo waned 4 21 4 3 4 Setting Global Events and Corresponding ACctions cccccccccceececeeececeeeeeseeeeeeaeeeeeaneseseaeees 4 22 4 3 5 Registering Global S broulines eret ente ed eot cheer oon pe UI uv edes o reme duo Poen un cU a pese 4 24 4 3 6 Setting Up RESOUICES ccc ecccccesececenececeeeeeceeeeeeeeaeeecaaceeseaeeecsaeeessaecessaaeessaeetseeesseeeesaaeees 4 25 4 3 7 Setting Up TAG RESOUICCS dii eser sien ec toons cate nes
35. basic pages You can create applications to call popup pages from main pages or move to other main pages You can place up to 450 objects on one main page You can create layers of main pages You can specify a background page to make the top layer transparent and place a specified page underneath it You can layer up to five pages including the main pages You can create a common page e g with a toolbar to display with all other pages and then specify it as the background page so that you do not have to create it more than once Main pages Page 1 Transparent background Page 2 Transparent background Page 3 Background color Page1 Page2 gt Page3 Popup Pages Popup pages are called from main pages Use them to display warnings and other information You can place up to 450 objects on one popup page You cannot display more than one popup page at the same time A popup page is always displayed in the middle of the main page No operations are possible on the main page while a popup page is displayed NA Series Programmable Terminal Software User s Manual V118 4 11 LR N O D D et 5 ro A Q D t 4 Creating the HMI Application 4 2 1 Displaying Pages Click Pages under HMI in the Multiview Explorer b Pages The pages are displayed under Pages 53 Pages Pagel 4 2 2 Registering Pages You can assign various functions to the pages and use different pages
36. commercially available reference materials s nquyy elqO Z 1 6 Example 1 Display When Result of Expression is 1 234 and 0 00 0000 Is Specified 01 2340 Example 2 Display When Result of Expression is 1 234 and 0 4 7 Is Specified 1 234 Example 3 Display When Result of Expression is 1 234 and X 0 7Ht fHHHT Is Specified X 1 234 NA Series Programmable Terminal Software User s Manual V118 5 5 5 Objects I Animations e Animations You can use animations to change the status of the object according to Expression condition expression As described below you can specify the status when the condition expression is met such as flash ing enabling disabling operation size coordinate changes and displaying hiding the object Animation List Animation name Blink ColorChange Analog ColorChange Boolean DisplayValue Enable Move PercentageFill ResizeHeight ResizeWidth Rotate Visibility e Events and Actions Description When the condition expression is met the object flashes in the specified color Changes the color of the object according to a value Changes the color of the object according to True False status Displays a value based on a condition expression Enables operating the object when the condition expression is met Changes the coordinates of the object according to specified condition expres sions Fills a graphic figure based on a condition expression and a percentage between the up
37. display positions and sizes for documents To dis play documents there must be a compatible application such as Adobe Reader The application used to display a document will not be exited when the Simulator is exited or the page is changed after the document is displayed Exit the application manually NA Series Programmable Terminal Software User s Manual V118 A 5 Appendices NA Series Programmable Terminal Software User s Manual V118 Index NA Series Programmable Terminal Software User s Manual V118 l 1 Index A ACON esce dea a ei ee ee 4 22 A 3 ACI AN BEMI 35 33 99 89 9 90 95 9 8 0m dod Dru tot devoto tula eun 2 14 21 2 1 8 cee Ree ree Ree eRe e EIL al RE ear RE S cs 1 9 inlissrztio n ues eec eh Mia lls tah ie Nes ae oe 5 6 B za M M 1 9 PF OAK DONS E 7 3 PO UII Meer TTE 4 33 C Clear AlliMGMONY 3sieiacnicsduc tut ei e rhet 3 22 Ode EION Rr 4 31 Code Explorer eicit udo ide dts vie vedi e dettes 2 4 Communications Setup ccccccccssececeseeseeeeeseeeseeseaes 6 4 comparison Tesults 2 better eene irata tees 8 3 connected devices ccesecccessceceesceceeseessessesseuseeseuseesees 3 3 Geni c c PUTEM 7 5 creating a project file cc ccecccccssseceeccesseeeceeseeeeeseees 2 13 creating Dage5 zaniieidscear an and POE epe Mx Rd EE Ede 4 11 CUSIONT ODJECIS I 9 11 D data logging iiu esiti tenda ias retire Fedex iuxla suia 1 9 4
38. edit it Page Editor You can position objects and create pages You 4 2 Creating Pages on page can also use the Page Editor to make settings 4 11 for objects Code Editor You can use Visual Basic to create subroutines 4 4 Subroutines on page 4 27 2 10 NA Series Programmable Terminal Software User s Manual V118 2 Basic Sysmac Studio Operations fem Reference Search and Replace You can search and replace strings in subrou 4 5 Search and Replace on tine data page 4 32 Build Build HMI Convert the project into a form that the HMI can 4 6 Building on page 4 33 execute Abort Build You can abort a build operation 2 4 3 Library Functions Item Reference Toolbox You can register objects that you have created Section 9 Reusing Objects and then reuse them IAG You can output an IAG that you created in an IAG project as an IAG collection to use it in another project u A o lt O 3 D O o e z 2 o o D oe 5 ro o t 5 o O D D et O 3 o 2 4 4 Operations for Debugging item Reference Monitoring You can monitor variables during project execu Section 7 Debugging tion suonouny Mesq r c You can monitor the present values of HMI global variables You use the Watch Tab Page for monitoring Changing the Present Values You can change the present values of global Section 7 Debugging of Variables variables and system defined variables You can do this on a Wa
39. global variables that are used to access data in Controllers and other connected devices External variables are assigned to device variables in the variable mapping Internal variables An internal variable can be used only within the HMI All global variables that are not external variables are internal variables System defined System defined variables are provided in advance in the HMI The names and all variables attributes are defined by the system They have specific functions You cannot change the variable names or any other attributes of these variables Subroutine variables Subroutine variables are defined by the user and are used only within subroutines Subroutine variables are declared in Dim statements in page subroutines or global subroutines You can use all of the data types that are supported by Visual Basic 4 1 2 Registering Global Variables Opening the Global Variable Tab Page Double click Global Variables under HMI Data in the Multiview Explorer Or right click Global Variables under HMI Data and select Edit from the menu b 59 Pages P 2 User Alarms 8 Data Logging E Recipes Global Variables r Global Events g Global Subroutines m Resources 42 AG Resources 4 2 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application The global variable table is displayed in the HMI Layer Name Data Type Initial Value AT Retain Constant Up
40. gt Group Display Name vY 0 i Name Id Alarm Code Expression Priority Y Actions lt Select Action to Add gt EE Group0 Sample sbinSampleAlm User Fault Level4 MES CallSubroutine SubroutineName SubroutineGroup 4 30 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 4 2 Precautions on Internal Processing e Handling of Variables If the value of an external variable is changed in a subroutine the change is immediately updated at the connected device Therefore if you frequently change the value of an external variable inside a subroutine the performance of that subroutine will be reduced Processing during Subroutine Execution The touch panel and function keys will not respond during execution of a page subroutine If you execute processing that requires time the HMI will not perform other operations until the processing is completed Consider the execution time when you create subroutines However processing will continue for background operations such as communications and for page refreshing e Simultaneous Execution of Subroutines It is possible that a subroutine for a global event and a page subroutine will be executed simultane ously If both subroutines manipulate the same variable implement exclusive control or other suit able measures 4 4 3 Code Editor Subroutines are edited with the Code Editor i Starting the Code Editor e Glo
41. s Manual V118 3 HMI Configuration and Setup 3 4 4 FTP Settings These are the FTP server settings FTP server Donotuse Use Login name EEEEEERLLLLLL LLLLLILLISoIGGGGGnsirct hi a o Password ST sbunes INH t 3 sbunes dij t r Item Description FTP Settings Specifies whether to use the FTP server of the HMI Login name Sets the login name to externally connect to Ethernet port 1 or 2 on the HMI via FTP You can use up to 12 alphanumeric characters Password Sets the password to use to externally connect to Ethernet port 1 or 2 via FTP ins RN You can use 8 to 32 alphanumeric characters NA Series Programmable Terminal Software User s Manual V118 3 13 3 HMI Configuration and Setup 3 4 5 NTP Settings These are the settings for an NTP Network Time Protocol client The HMI gets the clock information from the specified NTP server at the specified interval and updates the built in clock information ll Synchronize with an Internet time server DESEE ooo Item Description NTP Settings Synchronize with an Internet Select this check box to synchronize the built in clock in the HMI with the time server clock information from the NTP server NTP server Sets the IP address of the NTP server Sets the interval at which to get the clock information from the NTP server 3 14 NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 4 6 FI
42. specifications on the communica tions instructions addressed to CS CJ series CPU Units and NSJ series PLCs Learning the hard ware specifica tions of CJ2 CPU Units Learning the soft ware specifica tions of CJ2 CPU Units Learning how to use an Ethernet Unit Related Manuals Description 1 C mode commands and 2 FINS commands 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 are addressed to a CPU Unit The communications path is not relevant The communi cations commands can be sent through the serial com munications port of the CPU Unit the communications port of a Serial Communica tions Board Unit or a com munications port on another Communications Unit The following information is provided on a CJ2 CPU Unit e Introduction and features Basic system configuration e Part names and functions Installation and setting procedures Troubleshooting Use this manual together with the Software User s Manual Cat No W473 The following information is provided on a CJ2 CPU Unit CPU Unit operation e Internal memory Programming e Settings e Functions built into the CPU Unit Use this manual together with the Hardware User s Manual Cat No W472 Information is provided on the Ether net Units Information is p
43. them in the device variables table for the external connected device How ever you cannot copy connected device variables if they are structure variables Refer to the NA series Programmable Terminal Device Connection User s Manual Cat No V119 for details Updating Device Variables If you change the variables on a device update the device variables in the HMI project as required There are two ways to update device variables Updating device variables online from the actual external connected device Copying variables from the variable table in another project e Updating Device Variables Online from the Actual External Connected Device Click the Update Variables Button The differences between the variables on the external con nected device and the device variables in the HMI project are displayed Select the variables to update Copying Variables from the Variable Table in Another Project You can use the clipboard to copy the required variables from the Support Software for the con nected device and paste them in the device variables table for the external connected device 3 6 NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 3 Mapping Variables This section describes the settings required to access variables in connected devices through HMI global variables 3 3 1 Mapping Variables Mapping variables refers to assigning variables in devices connected to the HMI cal
44. to implement different functions The project contains one page by default and you can add more pages as required Registering New Pages 1 Right click Pages under HMI and select Add Page from the menu OB n Page Group M age gt a User Alarms 3 t Data Logging A new page Page1 is added under Pages Deleting Pages 1 Right click the page to delete in the Multiview Explorer and select Delete from the menu A deletion confirmation dialog box is displayed Jelet A Are you sure you wish to delete the following item Page0 Yes No Click the Yes Button The page is deleted 4 12 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application I Copying and Pasting Pages 1 Select the page to copy in the Multiview Explorer and press the Ctrl C Keys Or right click the page and select Copy from the menu Y E Pages Pagel ail User Alarms bd GE CN View Code Rs Data Logging E Recipes V amp Data Global Vanabk Global Events B Global Subroutine CJ Resources 2 IAG Resources Rename Delete Cut Copy T N D D et 5 amp U A Q D t The page is copied 2 Select Pages in the Multiview Explorer and press the Ctrl V Keys Or right click Pages and select Paste from the menu Y Pages wr HB Pagel a P a User Alarms f Data Logging soDeg DuueijsiDes Z Z y The copied page is registered with Co
45. 20 debugging functions seeesseseeeeeeeeeenrnrn 1 2 device references sesesssseesseseenenneeenne nnn 3 3 deviCe SetllligS sisri aeaa Oian ds 3 11 differences between the physical HMI and Simulator A 5 E entry assistall68 scisti Hate xa t e a aaea AE Md 2 8 entry methods for global variables 4 5 ASINI ARR ERRORES 1 7 A 2 events and actions eeeeseeeseeeeeeeeeee nennen 5 6 examples of using objects seeeeseesesssss 5 11 MTC dn Iz INN ETE ARR RECEDUNT RE 3 3 external connected devices sesesssesssss 3 3 external variables seen 3 8 4 2 4 4 F PINS SGUINGS EUM 3 15 PA us cti FE A PEES TEL cane EEI LA aei ee 10 3 sere rp 3 13 functional objects eesseeeesseeeeeeeeeeennnnn 5 2 G GIODALEVENIS rt a AR aera 4 22 global subroutines eeeseeeeeseeeese 4 24 4 27 Global VallableS nsw CENTER 4 2 eirzlelinj emoje to c r 5 3 1 2 H miii Nelrojo MEME REI RS 3 19 HMICode JEGIOE 220 en dotation ae lor testo ti uctus emot 11 2 mh ie SN LU UU T 3 20 EHI sage se CRON cicius tete stud tutds os e Dea Ub DO 11 3 miele iei EE EU eben 1 4 HMI software configuration sseseeesessssss 1 4 PIV WERSIOINS cio crm 2 15 PINT ig mec TIT 3 21 IAG collection settings ceo endet eee
46. 21 1 ZAPDIIGATION VVIEBIOOW G9 ese duce adect a rine aces een REr ee left ti oed See ed Hed eee eod ue eee 2 2 2 24 Menu Command SUUCIUFe ccu s inox FX REF RenuE PRUEDAEEB Xv ca eek ru VERS EU RR ms FAREEN RUE DAVEDERE E EEFUSAN SE MEE 2 6 2 3 Basic Editing Operations o oe Peek torti ea ova onu ol va Fu x vestri be dux e Fav dv VEG waa 2 8 2 4 Sysmac Studio Settings and Operations eeceeeeeeeeeeeseee eere nennen 2 10 2 4 1 Sellpng Pararmielelsutssisidis i depcuddienid tiesigt ecu baltitu butt aas soper a aN 2 10 2 452 Programing nen dco udis ata ee eben aD LAU Ds IE eaten 2 10 2 425 LIDFADy FUNCIONS suspectas eetusduct estia ederet vd eden duco Pevtobc eios a t cal oi dator nd vitae poids 2 11 NA Series Programmable Terminal Software User s Manual V118 T 2 5 Section 3 3 1 3 2 3 3 3 5 3 6 3 7 3 8 3 9 3 10 3 11 Section 4 4 1 24 4 Operations Tor DEDUGGING iiti eode oett o aeu e onsec eut Put nd edu iie iv oce ics satu 2 11 24 5 o oentlae iie MEET D Tt TER 2 11 21 5 Security IVedSul es xen Memeo t isses to se eee siccae Doc onse pu od ec sc Purus qui tend E Tum euis didt 2 11 24A Onine CMO e RTI ccc 2 12 Basic Operations for HMI Proje cts ccccecceeeeeeeeeeeeeeeeneeeeneeeeeeeseeaneeeeeeeeneseneseaaeseneseneses 2 13 2 5 1 Creating a Project File from the Project Window cccccseeecceeeeeeeeeeeeeeeeeeeeaeeeeeeseaeeeeeeasaaeees 2 13 2 5 2 JA
47. 24 4 3 6 Setting Up Resources 0 e 4 25 4 3 7 Setting Up IAG Resources 0 0 eae 4 26 SUDIOULINGS ulctec 4sebEPDRLS4IS Sow Eger aA iw aed a a eed 4 27 4 4 1 Subroutine Execution 0 0 eee eens 4 28 4 4 2 Precautions on Internal Processing llle 4 31 AA 3 Code Edl ue 3s chet Vass ek ret Ree eu LEURS EE RES 4 31 4 4 4 Differences in Language Specifications 0 0 00 cece eee 4 31 Search and Replace 2 2 2 iV x REEAR ee eee ERR eee EE 4 32 BUHAN Oe paira ea eh hon a adalat Deeb CONG ale eel Oe aca mao e an nen 4 33 ASG cBUlleliid a2 Packt een aan ated Vedere acl ioa qur ode ti eS hg 4 33 4 6 2 Build Operation 0 0 0 0 res 4 33 Offline Comparison 5 se hws gio Y x CC ROCK OE Ba Done ee a RUM a 4 34 NA Series Programmable Terminal Software User s Manual V118 4 1 4 Creating the HMI Application 4 1 Registering Variables 4 1 1 Variables A variable is a container that holds data The HMI supports the following types of variables Variable type Description Global variables Global variables are defined by the user and can be accessed from anywhere in the project You can register up to 35 000 total in the entire project and up to 20 000 for each connected device Global variables are declared in the HMI global variable table Global variables include external variables and internal variables which are described below External variables External variables are
48. 3 9 Write Protecting the HMI 0 0 ccc ee 3 21 3 10 Clear All MOeIIOEy cus ou doe ecc ae as Du de dh ae ge Rows Pe o ut 3 22 3 11 Reset ng tlie DM ah Pane da eee 1o he aa al ae e qc 3 23 NA Series Programmable Terminal Software User s Manual V118 3 1 3 HMI Configuration and Setup 3 1 Outline of Configurations and Setup 3 1 1 This section describes how to set up HMIs and connected devices such as Controllers and PLCs The following items are provided in the HMI Configurations and Setup Item Description Device References You can set up connected devices and import variables Variable Mapping You can assign HMI variables to the variables in the connected devices HMI Settings These are the parameters related to the HMI Security Settings You can set up restrictions to operations on HMls Language Settings You can make settings for multi language projects Connected Device Registration and Variable Mapping Device references must be set only to connect to external devices that are not registered in the current project They are not necessary to connect to a Controller that is registered in the current project The following figure shows the relationship between connected device references and variable map ping The HMI global variables are mapped to the connected device variables To access variables in the connected devices from an HMI you must map the variables Sysmac Studio Project Object Prop
49. AS 0 M I R gt Configurations and Setup Ingredient Name Variable Default Value Min Value Max Value Visible Editable v HMI w 53 Pages H8 Paged gt 4D User Alarms gt z Data Logging v B Recipes Reciped gt Data 4 Register ingredients in the recipe template for the new recipe RecipeO Right click in the grid and select Add from the menu Show Recipes NA Series Programmable Terminal Software User s Manual V118 5 17 5 Objects EN Additional Information A recipe template is a defined data structure for a recipe 5 A row is added Make the following settings in the new row Use the default values for other set tings Ingredient Name Recipe Variable intRecipe1 Default Value 10 Min Value O Max Value 100 Set Recipe2 as follows Ingredient Name Recipe2 Variable intRecipe2 Default Value 20 Min Value O Max Value 100 v Ingredient Name Variable Default Value Min Value Max Value Visible Editable Recipel intRecipel 100 Recipe2 intRecipe2 100 EN Additional Information Recipes make settings in advance that are actually set according to the data structure 5 18 NA Series Programmable Terminal Software User s Manual V118 5 Objects 8 A row is added Make the following settings in the new row Use the default values for other set tings Recipe Name RecipeSample1 Recipe1 30 Recipe2 40 Recipe Name RecipeSample2 Recipe1 50 Recipe2 60 Recipe Name Recipel
50. Even if you are online with the physical HMI you cannot monitor the variables in the physical HMI You can monitor values in the Watch Tab Page only when the project is paused at a breakpoint Val ues are not displayed under any other conditions e A red box is displayed for variables registered in the Watch Tab Page if the values cannot be obtained such as when not pausing at a breakpoint NA Series Programmable Terminal Software User s Manual V118 7 Debugging 7 1 2 Breakpoints You can set breakpoints in the source code of a subroutine You can use breakpoints to pause the exe cution of a subroutine at any desired point Setting and Clearing Breakpoints e Setting Breakpoints You can set breakpoints to pause execution of a simulation e g to see the status after a subroutine is executed e Procedure To set a breakpoint move the cursor to the line in the subroutine where you want to set the break point and select Set Clear Breakpoint from the Simulation Menu If you repeat this operation the breakpoint will be cleared Start NA Simulation F5 suonounJ Buibbngeg INH L 2 7 Clearing All Breakpoints You can clear all of the breakpoints at the same time Select Clear All Breakpoints from the Simulation Menu to clear all of the breakpoints m m Start NA Simulation F5 sjulodyeeig 2 L Set Clear Breakpoint F9 E for the page bd v L i ae lt ecipeSample1 P
51. HMI Communications You can set the response monitoring time for communications with the HMI time out An error is displayed if a response is not received before this time expires 1 The time can be set to between 1 and 3 600 s 6 2 3 Online Connection Use the following procedure to place the Sysmac Studio online with the HMI 1 Select Online from the HMI Menu Or click the Go Online Button E in the toolbar The following message is displayed the first time you go online After you write the project name this message is not displayed The HMI device has no name Do you want to write the project name HMI NA5 0 to the HMI device name Y N ES Additional Information The same message will be displayed the next time you connect if the HMI device name that is set in the project is different from the HMI device name that is set in the HMI 2 Click the Yes Button The Sysmac Studio goes online and the color of the bar at the top of the Edit Pane changes to yellow Multiview Explorer HMI_NA5_0 Seach Search v gt Buttons English United States v gt Lamps gt Shapes gt Standard Controls gt Gauges gt HMI Controls gt Global Subroutines ourc S Resources gt Custom P Arrows gt Blowers Conveyors gt Flags b Flow Meters NA Series Programmable Terminal Software User s Manual V118 6 5 gt N Q o O D e gt D 5 L
52. I device Name HMINA5 0 Serial ID INL DB 19112013 0003 Do you want to change the Name Serial ID in the project to match the HMI device s Name Serial ID Y N It will be used for the HMI device name ID check at the next online connection Press the Cancel button if you want to go offline Yes No Cancel 1 Click the Yes Button The serial ID of the project on the Sysmac Studio is rewritten to the same value as that of the HMI 6 6 NA Series Programmable Terminal Software User s Manual V118 6 Connecting to the HMI la Precautions for Correct Use If a USB connection is used an Ethernet IP address of 192 168 255 xxx is used internally When using a USB connection do not use an IP address of 192 168 255 xxx for the Ethernet interface card in the computer e Socket ports 9600 and 2224 are used for Ethernet UDP IP communications When using Ethernet UDP IP communications do not use these ports for any other application When using a direct Ethernet connection and there is more than one Ethernet interface card mounted in the computer you must select the Ethernet interface card to use Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 for specific selection proce dures gt N Q o O D e gt D 5 L sqi elag Duiuguo 9 7 9 NA Series Programmable Terminal Software User s Manual V118 6 7 6 Connecting to the HMI NA Series Programmable Terminal
53. Interval After specific number of logs E Recipes Update Rate 5 Seconds x Number of logs gt amp Data amp Global Events amp 4 Automatically Start on HMI Device gt A Global Subroutines Vasiabie Data Type Comment 3 Resources S2 IAG Resources 4 Right click in the new data set grid and select Add from the menu 5 A row is added Set intDatalog1 in the Variable column of the new row Use the default values for other settings Start New Database File Storage Type CS A l J Daily from 00 00 23 59 rat Doe SD Memory Cord Q After specific time period Target Folder Data Logging Log Files Days Update Type Regular Interval v Q After specific number of logs Update Rate 5 Seconds EI Number of logs h4 Automatically Start on HMI Device Variable Data Type Comment intDatalog Integer NA Series Programmable Terminal Software User s Manual V118 T N m x 9 3 2 D 0 o h c a 3 O D e 0 udeJc pussy e Duikejdsiq e z g 5 Objects 6 Double click HMI Pages PageO0 in the Multiview Explorer Drag a Trend Graph object from HMI Controls in the Toolbox to the page Multiview Explorer o o 24 HMI C wo v ml gt Configurations and Setup English United States v T gt Buttons gt Lamps gt Shapes gt Standard Controls gt Gauges Y HMI Controls gt i Global Subroutines EN Ze Ter PPS MEE CET LA Trend Graph a User Alarms
54. Logging ButtonO Y Events Select Event to Add BU Click Y Actions Select Action to Add gt v 0 CallSubroutine SubroutineName SubroutineGroup rm NA Series Programmable Terminal Software User s Manual V118 4 29 4 Creating the HMI Application Execution from User Alarms The following example shows how to use a user alarm event to execute a subroutine In this example settings are made to execute the subroutine when the user alarm occurs 1 Select the user alarm and display the events and actions Events and Actions E HMI Sample1 Events lt Select Event to Add gt Name Id Alarm Code Expression Events and Actions Samplel Name Id Alarm Code Expression 3 Select CallSubRoutine as the action Events and Actions 24 HMI a HAS Sample1 Groupo x M Y Events Select Event to Add Name Id Alarm Code Expression Priority Actions lt Select Action to Add gt ClearUserAlarmLog ClosePage DecreaseVariable EjectSDMemory EnableInputOperation IncreaseVariable ResetVariable SaveUserAlarmLogToFile SetLanguage SetVariable ShowDocument FullScreen ShowDocument Window ShowPage ShowPreviousPage ShowSystemMenu StartDataLogging StopDataLogging A 4 Specify the subroutine to execute in the following format Subroutine_group Subroutine_name Events and Actions ee Ta Sample1 Groupo x Y Y Events lt Select Event to Add
55. Meters gt Hoppers gt Motors b Pipes gt Pumps gt Tanks gt Valves gt Waming Signs Button A Button object 4 Creating the HMI Application T N Q D D et 5 ro U A Q D t seDeg unpa v z r 4 Creating the HMI Application I Resizing Objects Click one of the resize handles around the object and drag it while the resizing cursor is displayed Rotating Objects Click the rotation handle to the upper right of the object and drag it while the angle is displayed in the center of the object i Editing with the Toolbar The functions that are commonly used to edit pages are provided in the Toolbar English United States 7 Ifa Group This button creates a group of objects Ira Ungroup This button ungroups previously grouped objects Bl gait This button is used to edit graphic objects and other objects i Rotate Right 90 Degrees This button rotates an object 90 clockwise h Rotate Left 90 Degrees This button rotates an object 90 counterclockwise BS Flip Vertical This button flips a graphic object vertically NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application EN Flip Horizontal This button flips a graphic object horizontally E Bring to Front This button moves an object to the front al Bring Forward This button moves an object toward the front n Send Backward This button moves an object towa
56. NJ501 L IL TEE NJ301 L TIL TEE CJ1H CPULILJH R CJ1G H CPULJL IH CJ1G CPULTIL IP CJ1M CPULTL CJ1G CPULTL CS1G H CPULILIH CS1G H CPULILI V1 CS1D CPULJLIH CS1D CPULTLIS CJ1H CPULILIH R CJ1G H CPULTL IH CJ1G CPULTL IP CJ1M CPULITL CJ1G CPULTL NSJO OOO0 B G5D NSJO OOO0 B M3D CS10 CPU O000 00 CJ10 CPU 0OO0O0O OOLI CJ2H CPU LILIET EIETE NSJLIET EIETETEIET EIETET CQM1H PROO1 CQM1 PROO1 C200H PRO27 CS1W KS001 Learning how to program and set up an NJ series CPU Unit Mainly software information is pro vided Learning the basic specifications of the CJ series PLCs including introductory infor mation designing installation and maintenance Learning about the functions of the CS CJ series and NSJ series PLCs Learning detailed information on pro gramming instruc tions Learning the oper ating procedures of the Program ming Consoles Description Provides the following information on a Controller built with an NJ series CPU Unit e CPU Unit operation CPU Unit features Initial settings Programming based on IEC 61131 3 language specifications Use this manual together with the NJ series CPU Unit Hardware User s Manual Cat No W500 The following information is provided on a CJ series PLC e Introduction and features e System configuration design Installation and wiring e O memory allocation Troubleshooting Use this manual together with the Programming
57. NS Settings These are the settings for FINS communications These settings are required when FINS communications are used between the HMI and a CJ series PLC v FINS Address Network Node Ethernet port 1 Ethernet port 2 IEEE sbunes INH t Y FINS UDP FINS UDP port no v Remote Network Table Remote Network Relay Network Relay Node 3 sbBunes SNIJ 9 r Item Description FINS Address Ethernet port 1 Sets the FINS network address of Ethernet port 1 a The FINS node address is automatically created from the IP address Ethernet port 2 Sets the FINS network address of Ethernet port 2 HEN The FINS node address is automatically created from the IP address FINS UDP FINS UDP port no Displays the port number used for FINS UDP Remote Network Table Sets the routing table NA Series Programmable Terminal Software User s Manual V118 3 15 3 HMI Configuration and Setup 3 4 7 VNC Settings These are the settings for VNC Virtual Network Computing VNC implements a remote desktop to allow remote control of a computer located on a network You must enable the server functionality on the HMI to control You can start the client software on the computer from which to perform remote control connect to the HMI and then control it remotely Enable VNC Donotuse Use Port No Mode View Only Password MEMENNNNNNNNENEN Item Description VNC Settings Specifies whether to use VNC Sets the port
58. OMRON Programmable Terminal NA series Software User s Manual NA5 15W1011 NA5 12W1011 NA5 9W0011 NA5 7W001L a MN 4 TIE ne LEN E A AA always in control V118 E1 01 OMRON 2014 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 Trademarks e Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products e 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 EtherCATe is registered trademark and patented technology licensed by Beckhoff Automation GmbH Germany ODVA CIP CompoNet DeviceNet and EtherNe
59. PE sue NA Series Programmable Terminal Software User s Manual V118 7 3 7 Debugging 7 1 3 Step Execution You can use step execution when subroutine execution is paused at a breakpoint to trace operation one line of the source code at a time Step Execution You can use step execution to execute the source code of a subroutine one line at a time If you select Step n and other commands from the Simulation Menu while paused at a breakpoint dur ing a simulation you can control execution one line or one function at a time I Step Execution The Step Execution command executes one function at a time Select Step Execution from the Simulation Menu when subroutine execution is paused during step in execution Stop NA Simulation Shift F5 Step In F11 Step Out Shift F11 Continue F6 Set Clear Breakpoint F9 Clear All Breakpoints Ctrl Shift F9 lt ecipeSample1 TT 5 i Step in Execution Step in execution performs step execution for the source code of a subroutine When you execute a program through the Simulator select Simulation Step In when the subroutine is stopped at a breakpoint paused or stopped during step execution Stop NA Simulation Shift F5 Step Execution F10 Step Out Shift F11 Continue F6 Set Clear Breakpoint F9 Clear All Breakpoints Ctrl Shift F9 lt ecipeSample1 ey 7 4 NA Series Programmable Terminal Software User s Manual
60. Recipe2 RecipeSample1 30 40 RecipeSample2 50 60 9 Create a button to transfer the recipe Right click HMI Pages Page0 in the Multiview Explorer and select View Code from the menu View Page Designer 2 N m X Q 3 ri D o0 O gt c 7 3 O S D O e 0 10 Create the following subroutine 1 Code behind Page Add local subroutines for the page E 2c Sub WriteSubroutine 3 WriteRecipeToController RecipeO RecipeSample1 4 End Sub 5 edioo e Duis p Z G 11 Double click HMI Pages PageO0 in the Multiview Explorer Drag a Recipe Viewer object from HMI Controls in the Toolbox to the page Multiview Explorer HMINASO v ml 7 gt Configurations and Setup English United States v Y 53 Pages 7 Page0 gt User Alarms gt Data Logging gt amp Recipes gt E Data 5 Global Events gt Global Subroutines 3 Resources 2 IAG Resources NA Series Programmable Terminal Software User s Manual V118 gt Buttons gt Lamps gt Shapes gt Standard Controls gt Gauges Y HMI Controls Wa Media Player 7 Recipe Viewer Trend Graph User Alarms Viewer gt Custom gt Arrows gt Blowers gt Conveyors gt Flags b Flow Meters gt Hoppers gt Motors gt Pipes gt Pumps ec gt Valves gt Warning Signs Recipe Viewer A Recipe viewer object 5 Objects 12 Then drag a Button object from Buttons in the
61. See de taceon 9 5 IAG TOSOUICOBS coca tesi d ex peti o Mec L spp a eee es 4 26 hcc ee 9 3 9 5 importing device variables seeeeessssssss 3 6 internal connected devices seeesesesesessses 3 3 internal variables 22 24 3 easet i oe aseo heo aec d oaa ats 4 2 L language settings x ee ti pant linciies Geiecawidinesiels 3 18 9 4 language specifications sseeeeseeeeeeeesee 4 31 M manpages sesti tui otn aec bae td c atu da 4 11 mapping variables seeeeeeeeeereen 3 7 memory specifications sssssessseeeeeeeeeeeernn 1 6 MENU EN Racine sane e a T 2 6 Multiview Explorer ccccccccssecceseeceseeceeeeceseeseeessueesees 2 3 N NA series Programmable Terminals 1 2 NEW user alarm uou psc Don aero CER LU Sce taxa 4 18 notation for CustomDisplayFormat 5 5 notation for expression eeesseeeereeeerrne 5 5 NA TS Su eesteviisi cenare uas deoa Deosecidta o in abt n 3 14 O ODICCT nig o B 1i c p pp 5 3 ope USE sescenti topo eee reer eee ee eer 5 2 eic ie E 1 5 5 2 offline comparison 2 0 cece eeecccceeceeceeeeeceeeeeceeeeesaueeeesaeees 4 34 offline debugging cccccccsseeceecceseeecceeesseessenaeeess 7 6 7 7 online connection Me rro Er 6 2 operating procedure ccccecccceccccececcueeceeeecceeessue
62. Set tings IP Address FTP Settings NTP Settings FINS Settings VNC Settings etc e Set the operation rights to the HMI and the language to display on the HMI HMI Settings Security Set tings and Lan guage Settings STEP 2 4 Building the HMI Check the operation of the STEP2 5 Offline Debug pages on the Simulator a virtual HMI ging NA Series Programmable Terminal Software User s Manual V118 Use Configurations and Setup in the Mul tiview Explorer of the Sysmac Studio Add the connected device under Configu rations and Setup Device References Set up communica tions and import the variables Copy the variable table from another project using the clipboard Map the variables under Configura tions and Setup Variable Mapping Make the settings under Configura tions and Setup HMI Settings Make the settings under Configura tions and Setup Security Settings and Configurations and Setup Language Settings Convert the HMI project into a Use Build HMI on the form that the HMI can execute Project Menu Use Start NA Simula tion or Run with Con troller Simulator on the Simulation Menu Section 3 HMI Config uration and Setup 3 2 Device References on page 3 3 3 2 2 Connected Devices in the Current Project on page 3 3 3 3 Mapping Vari ables on page 3 7 3 4 HMI Settings on page 3 10 3 5 Security Settings on page 3 17
63. Software User s Manual V118 Debugging SS This section describes offline debugging using the HMI Simulator 7 1 HMI Debugging Functions 00 0 es 7 2 f Watch Tab Page 2 2 3 40st acuaew ne wee d E eek dak ba SA EN ead 1 2 192 BrCaKDOWS 2526422 ect dorso beckoned bee s Shoe Cat acte daba v cde osea tees 1 3 T t Step EXECUNOM uocant kas orden Seat exe ien P PG Boe eRe Beene eed 7 4 7 1 4 Offline Debugging with Only the HMI Simulator 7 6 7 1 5 Offline Debugging with the Controller Simulator lll 7 7 NA Series Programmable Terminal Software User s Manual V118 T 1 7 Debugging 7 1 HMI Debugging Functions 7 1 1 The operations you can use for debugging on the Sysmac Studio are listed below The HMI Simulator is used for offline debugging You can use the HMI Simulator by itself or you can connect it to the Control ler Simulator to debug the entire system Although the Simulator simulates the operation of the HMI there are differences from the HMI in operation and timing After you debug operation with the Simulator always check operation on the actual Controller and HMI before you use them in the actual system Acci dents may occur if the controlled system performs unexpected operation Refer to A 3 Dif ferences between the Physical HMI and Simulator on page A 5 for details on differences in operation Although offline debugging simulates the integrat
64. Studio Option Settings The following Sysmac Studio option settings are related to HMls HMI Code Editor HMI Page Editor HMI Code Editor You can make settings to highlight text in the HMI Code Editor El Option Es P Color Theme b Ladder Editor b ST Editor Y HMI Code Editor Color Selection Global vanables B R 180 G 0 B 90 ian ww m r F T Collapsed text or region Foreground text m Black Background White Reset to default setting b HMI Page Editor Program Check Build b Vanables gt Comments for Variables and Data Types b Synchronization OK Cancel Symbol em Descripton Remarks a Color Selections Select the color for each item b Reset to default settings This button resets the colors to the default settings 11 2 NA Series Programmable Terminal Software User s Manual V118 11 Other Functions HMI Page Editor You can make settings for the grid in the HMI Page Editor b Color Theme b Ladder Editor b ST Editor b HMI Code Editor HMI Page Editor GridSize 0 Snap to Gnd IE I o lt D 3 D O o e 2 O O et O 5 o D oe 3 ro O Show Grid Thickness Color Style Opacity Program Check Bui
65. Sysmac Studio IP Address ERES Subnet mask Saas Default gateway Saas Ethernet Port 2 DNS Primary DNS server aaa Secondary DNS server jt ae heat ho Primary WINS server ara Secondary WINS server Ree The following settings are provided for Ethernet port 1 and Ethernet port 2 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 required when a default gateway is not used Sets the IP address of the primary DNS server Sets the IP address of the secondary DNS server Sets the IP address of the primary WINS server Sets the IP address of the secondary WINS server Ethernet Port 2 Settings Direct connection with Sys Select this check box to connect Ethernet port 2 directly to the Sysmac Stu mac Studio dio 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 required when a default gateway is not used Sets the IP address of the primary DNS server Sets the IP address of the secondary DNS server Sets the IP address of the primary WINS server Sets the IP address of the secondary WINS server 3 12 NA Series Programmable Terminal Software User
66. V118 7 Debugging i Step out Execution Use the Step Out command to exit a subroutine during step in execution Select Step Out from the Simulation Menu during step in execution Stop NA Simulation Shift F5 Step Execution F10 Step In F11 Continue F6 Set Clear Breakpoint F9 Clear All Breakpoints Ctrl Shift F9 tecipeSample1 Continue The Continue command executes the subroutine to the next breakpoint Select Continue from the Simulation Menu when subroutine execution is paused during step in execu tion Stop NA Simulation Step Execution F10 Step In F11 Step Out Shift F11 Shift F5 suonounJ Buibbngeg INH L 2 Set Clear Breakpoint F9 Clear All Breakpoints Ctrl Shift F9 7 tecipeSample1 uonnoex3 deis L 4 NA Series Programmable Terminal Software User s Manual V118 7 5 7 Debugging 7 1 4 Offline Debugging with Only the HMI Simulator Before you check the entire system you can perform debugging with the HMI Simulator alone When you create a project and want to debug it always check operation with only the HMI Simulator first The Sysmac Studio comes with a Simulator that simulates HMI functions Procedure Use the following procedure to start the Sysmac Studio and perform debugging otart the Sysmac Studio and create a project Create the HMI application select Build HMI from the Project Menu to build the project WG N Select Start NA Simulation from the Simulat
67. V118 9 Section 9 Reusing Objects 9 1 JREUSING ODJECE Srecan sede iud aee dre loce Dwit cd che o eva cr da credi ad Rv au R UTw e Ea Mdb E VER 9 2 92 SiC M 9 3 9 2 1 Differences when an IAG Project Is Selected esesesseeessseessseseenneneennennn nnns 9 3 92 2 Creating an AG o ei cea aU nsu ent epe E DII ED MEL ELE LI 9 6 SES MEMINI o RCM T TEE 9 9 oodd icu ODJECIS em 9 11 9 3 1 Objects That You Can Register as Custom Objects eesessseeeeeenneenee 9 11 9 3 2 Creating Gustom ODJeCis iu oet od a uoo vn oa one eri ced dat diede tU eade suoi eme o n ea ee EE 9 11 9 3 3 Deleting Custom Objects 4 2 eie ore hr dE OREL Qe ai uie aee Pu osa oae k ua a ene ode ows 9 14 9 9 USING GUSIORIODIGCIS acta icem etutete etui teste a ee iced preteen oir tbe de ode ee a utes 9 15 Section 10 Connecting to HMIs from External Devices 10 1 Accessing an HMI from an External Device eeeseeeeee ener eee nennen 10 2 1021s SING ance stie sal hark eed eg aad ales tM lees UeeL ue LIA LE RIA hu M MALE 10 2 TORTE A UI Rr n 10 3 Section 11 Other Functions 11 1 Sysmac Studio Option Settings epis uz iesu saa Ca soap rb Iu Lag y ro aw ebay bunk su avs av Oua E co pau Ux ERE EaKAEGEA 11 2 Appendices A 1 Events and ACHOS ziiebivvate ao con E ped sure Ee Ero Sa Fer SES Ea Soo VER ur case Rao EDD E Pa
68. able table with the Sysmac Studio Paste the objects on each page and set the object prop erties Create the subroutines dio You can create the following Use HMI in the Multiview Explorer of the Sysmac Stu HMI Data Global Variables Table Use the editor for HMI Pages Subroutines shared by the entire project Select HMI Section 4 Creating the HMI Application 4 1 Registering Vari ables on page 4 2 4 2 Creating Pages on page 4 11 4 4 Subroutines on page 4 27 Add Global Subroutine Page subroutines Use HMI Global subroutines Page subroutines Pages and select View Code from the individual pages Make the settings that are shared by the project alarms recipes data logging global events etc Use HMI User Alarms HMI Recipes etc 4 3 Setting Common Object Functions on page 4 18 Connecting to a Connected Device Registered in the Current Project STEP 2 3 Software Set tings Configura tions and Setup e Mapping Vari ables HMI Settings Security Set tings and Lan guage Settings Make the initial software settings on the Sysmac Studio Assign global variables to con nected device variables map ping variables Set the parameters related to the HMI Startup Page Brightness Set tings IP Address FTP Settings NTP Settings FINS Settings VNC Settings etc Set the operation rights to the HMI and the language to disp
69. aces other than homes Sellers and or users need to take note of this 20 NA Series Programmable Terminal Software User s Manual V118 Related Manuals Related Manuals The following manuals are related to the NA series PTs Use these manuals for reference Manual name NA series Program mable Terminal Hard ware User s Manual NA series Program mable Terminal Soft ware User s Manual NA series Program mable Terminal Device Connection User s Manual NA series Program mable Terminal Startup Guide NJ series CPU Unit Hardware User s Manual V117 V118 V119 V120 W500 NA5 LIWEILIEJE NA5 LIWEILIEIE NA5 LIWEILTEILE NA5 LIWEILTL IE NJ501 LILTETE NJ301 LILTETE NA Series Programmable Terminal Software User s Manual V118 Applications Learning the speci fications and set tings required to install an NA series PT and connect peripheral devices Learning about NA series PT pages and object functions Learning the speci fications required to connect devices to an NA series PT Learning in con crete terms infor mation required to install and start the operation of an NA series PT Learning the basic specifications of the NJ series CPU Units including introductory infor mation designing installation and maintenance Mainly hardware information is pro vided Description Information is provided on NA series PT specifications part names
70. adctecsiedoua iet ioco Meo c dress quod eae east Ier diss idees odis 3 14 O50 FINS Sell89S5 baec sud MIU RM dM Mad 3 15 Sf MINCE SOUNO erare a oieut ortae odece repose esee o tu AS 3 16 SOC UIE SENOS TRIER DT TE TIT 3 17 Language Ee 1 anu o o Le ee treet e aE tat easenncecusstaunee svcd E N a a EE 3 18 miri 3 rore dimer cT ENT 3 19 Updating the HMI NAME e 3 20 Write Protecting tne TM aiiiioce scie Dia uedkee Sha sav osueulat os ueeuna x Ocks tas ca nodu eau cov oa Ves omues uua R Co unn e ced 3 21 Clear All Memory 5e ieceesca i duxsus cci vates su qe oat aea iu icio baroDki de vas acd d vacat dei weswe s Aro U EOS N 3 22 FROSCELING ING FUMIE er E 3 23 Creating the HMI Application Registering dre 4 2 Beds WANS rS 4 2 4 1 2 Registering Global Variables sessi nnne nnne nnn nnn nennen nnn nns 4 2 4 1 3 Registering External Variables uoc ipeo ob te sn urea be Qu uv tpa wadewadads Galat nut eius dua ue x VR Y ud 4 4 4 1 4 Attributes and Entry Methods for Global Variables ccccccesececeeeeeeeeeeeaeeeeeeseeeeeesaeaeeeeseaees 4 5 4 1 5 System defined Variables sssssssssssssssssssesseee nennen nennen nnne nnn nnn nnn nnne 4 8 4 1 6 Subroutine Variables doo bie ner ette Ena A RR URN ante e od A OQ UND Jaa 4 10 Creating PAGES sisesed toe ouk der heb ucquR SUE v Tk dE a IE Coa VEV OF LbdK a Aae CRDI dU Ca D VIDD NR Ca
71. adding an FIMI To an Existing Project i ieyeta qveracsdkta nado uten xd oltases E senses od essc pit 2 14 oC inelgedB de entm M H 2 15 HMI Configuration and Setup Outline of Configurations and Setup 11 eeceeeeeeeeeeeeenien eee nnne nn nnne sn nana nn 3 2 3 1 1 Connected Device Registration and Variable Mapping cccccccccsseeeeeeeecesaeeesseeeeeeeeeesaneeees 3 2 Device Relereli 6B oe cito cei R tuse or vss ausu xar Nu SE uUi ixE xU Eas a UNE UE ME dU EEE 3 3 3 2 1 hypes OF Connected DEVICES i unc ind tote qc Sieh itc adel N eai E dou ei 3 3 3 2 2 Connected Devices in the Current Project cccccccccccccseccceeeeeceeeceseeeeeseeeeeesaeeeessaeeessaesesseeeees 3 3 3 2 3 Registering External Connected Devices esses nennen nennen nnns 3 4 Mapping VataDles sn a deua eicere da cede Sir gur ck xa d ora cu i oe x aee a edu v Env a tw 3 7 Sade WIAD DING VAM aADIeS EE m Tm 3 7 3 3 2 Opening the Variable Mapping Tab Page and Tab Page Parts ccccceeesseeeeeseeeeeeesneeeeeeeaas 3 7 3 3 3 Variable Mapping Methods ccccceccccsccececeeceeeceececeuseceuseceucessuseseusessueeseesseeesseeseueessuensaaees 3 8 HMI SENINGS fete 3 10 gA AMSetiNg e ERE d a a 3 10 gs42 Device Selg eorn e A E EE A 3 11 SA TOPIRE ea NH 3 12 c MEE LE ice E UU UU TQ TU NL LU UM PEE NUN 3 13 94 5 INT SEUNS ae Star ohh atari iier ic
72. al Macao S A R Chinese Traditional Taiwan e d Symbol tem Description Remarks a Default language Sets the language that is selected by default b Defined Languages ISDN the languages that you select anguade list defined language list e Available Languages Displays the languages that you can select NA Series Programmable Terminal Software User s Manual V118 9 Reusing Objects I IAG Collection Settings You can make the following settings for an IAG collection Name Sample Project EM a Version 1 00 Zm b Description Sample Project m C Publisher OMRON 2229 d Visible By Default Wi e Symb lem Descip on Remarks E Select this check box to display the IAG collection e Visible By Default in the Toolbox when the IAG collection is imported into the Sysmac Studio IAGs The following tab page is used to create an IAG The procedures are generally the same as for standard projects except for the following differences e There are no global variables Only local variables for each IAG can be used You cannot set page animations and you cannot set page events and actions You cannot use functions that cannot be placed on a page such as global events and recipes e You cannot use Trend Graph objects and user created IAGs Bi Sample Project IAG IAG Device 0 Sysmac Studio i o N Q 0 Multiview Exp
73. al files Registering a New Data Set To log data you must create one or more data sets You can create different data sets to change the location where the data is saved 1 Right click HMI Data Logging in the Multiview Explorer and select Add Data Set from the menu gt E Pages b 4 User Alarms Data Loggin E Data Set Recipes B b E Data E Global Events DataSet0 is added under Data Logging gt Pages dil User Alarms Data Logging Wi DataSet Double click the new data set A tab page to make settings for the data set is displayed in the HMI Layer of the Edit Pane You can set the variables to log the storage locations and other parameters Start New Database File Storage Type CSV Daily from 00 00 23 59 Target Devi PARTON es After specific time period Target Folder Data Logging Log Files Dx Update Type Regular Interval Q After specific number of logs Update Rate 5 Seconds Number of logs h4 Automatically Start on HMI Device Variable Data Type Comment i Deleting Copying and Pasting Data Sets You can delete copy and paste data sets using the same procedures as those that you use for pages NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 3 3 Registering Recipes Recipes A recipe is used to write data numeric data or text strings that was set in advance in the HMI to all of the specified variables as a group o
74. an HMI in the project It is not necessary to register system defined variables in the global variable table e System defined variables that are related to an HMI start with HMI HMI ANarmsClearedNotAck HMI AlsrmsNotAck HMI AljrmsRaised rmsRaisedNotA ck 4 _HMI_Brilghtness HMI CahEjectsDCard HMI_CirrentPage HMI ChrrentUserName O NHMI ZurrentUserRole NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application i System defined Variables e System related Variables type HMI Brightness Brightness Sets the brightness of the screen Integer R W _HMI_CanEjectSDCard Can Eject SD Tells whether you can remove the SD Boolean R Card Memory Card True Ejection is not possible False Ejection is possible _HMI_CurrentPage Current Page Sets the name of the currently dis String R W P nf HMI DateTime System Time Gives the system clock time as the Date R DT eei Te HMIL Hour nteger R HMI IsBatteryLow Low Battery Volt Gives True if the battery voltage has Boolean R hue er TH dopnedbeowaspeicit nn HMI IsDatalnput Data Entry in Gives True when a data entry objectis Boolean R IN A D e a e D 23 5 e S D zs D 0 HMI IsPageSwitching Page Switching in Gives True while page switching pro Boolean R M Progress cessing is in progress and False after processing is completed E HMI IsScreenSave
75. ations The NA series Programmable Terminals are Sysmac devices that you can use together with the NJ series Machine Automation Controllers and the Sysmac Studio Automation Software to achieve optimum functionality and ease of operation If you connect an NA series Programmable Terminal to an NJ series Controller all you have to do to specify memory in the Controller is to specify the Controller variables for the objects on the Program mable Terminal screens This allows you to create screens without being concerned with the memory map of the Controller Automation Software NA series PT Specifications with Only Variables from Objects on Screens Sysmac Studio Programming with Variables to Eliminate Worrying about the Memory Map NJ series Controller Ethernet always in control 1 1 1 Features Hardware Features e High resolution Display Panels High resolution display panels are used to more clearly display large amounts of information than was possible with previous OMRON products Two Ethernet Ports Standard Feature You can use both Ethernet ports to separate the segment attached to control devices from the seg ment attached to maintenance devices Access is possible from both segments at the same time You can connect the following devices NJ series Controllers e PLCs Computers e Sysmac Studio 1 2 NA Series Programmable Terminal Software User s Manual V118 1 Introduction to
76. bal Subroutines Double click a previously registered subroutine under HMI Global Subroutines in the Multiview Explorer Or right click the subroutine and select Edit from the menu e Page Subroutines Right click a previously registered page name under HMI Pages in the Multiview Explorer and select View Code from the menu fi Code Editor Features The Code Editor provides functions equivalent to those of a standard text editor It also provides func tions that are optimized for Visual Basic such as keyword highlighting entry assistance and collapsing Sub statements 4 4 4 Differences in Language Specifications Although subroutines are used in Visual Basic some of the functions are restricted for HMIs There are also extensions that are provided for use with HMls Refer to the NA series Subroutine Reference for details NA Series Programmable Terminal Software User s Manual V118 4 31 gt A o c o o c c gt D n BuisseooJg JeuJeju uo suognneo2aJd z r r 4 Creating the HMI Application 4 5 Search and Replace You can search and replace strings in the data of an HMI subroutine The basic Sysmac Studio opera tions for searching and replacing generally apply to HMIs Refer to the Sysmac Studio Version 1 Oper ation Manual Cat No W504 for details Differences When an HMI Is Selected The following differences apply when an HMI is selected The Look at what Box can be set only to Programming i e
77. c otudio The Sysmac Studio supports the following online connections for different applications Online connection Connection made to Application Online connection The actual HMI To perform debugging startup or normal maintenance the same project as in the actual HMI is opened on the Sysmac Studio and then an online connection is made An online con nection is made based on the Communications Setup in the project HMI Simulator The Simulator is used to debug the program offline The Com Simulator connection munications Setup in the project is not used EN Additional Information Refer to 7 1 4 Offline Debugging with Only the HMI Simulator on page 7 6 for information on connecting to the Simulator and debugging operations NA Series Programmable Terminal Software User s Manual V118 6 Connecting to the HMI 6 2 Going Online with an HMI You can simultaneously go online with more than one HMI in a project from the Sysmac Studio The operations that are described in this section apply to the currently selected HMI If there is more than one HMI registered in the project confirm the HMI to operate before connecting to it H Precautions for Correct Use Do not reconnect the USB cable for at least 10 seconds after you disconnect it After you con nect the USB cable do not disconnect it until Windows detects the connection It may become impossible for Windows to detect when the cable is connected or disconnected wh
78. c Operations for HMI Projects This section describes how to create and save projects and perform other basic operations to use HMs 2 5 1 Creating a Project File from the Project Window Pu e v D i O O L o Oo 2 o h o T U 2 D Q e 7 Use the following procedure to create a project file from the Project Window 1 Click the New Project Button in the Project Window EZ Offline New Projec i Project Window Open Project iai i w Import A Online Connect to Controller License The Project Properties Dialog Box is displayed The following table gives the functions of the buttons Menu command Description New Project Button Creates a project file Open Project Button Opens an existing project file MODpUIM 19e oud eu WO4 94 19efo4d e Huneal G Z 2 Enter the project name author and comment in the Project Properties Dialog Box select HMI from the device category and then click the Create Button Only the project name is required 4 E S ff Project Properties S oere Author m Open Project rO Comment End Import Type Standard Project Ld gt an Select Device Online 8n Category HMI l Connect to Controller Device v 12W101H Version CM License a Create You can change the properties later Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 A project file is created and the following windo
79. ce variables In the variable mapping you can create new variables or you can select variables that were previously created If you create a new external variable in the variable mapping it will automatically be registered as a global variable Refer to 3 3 Mapping Variables on page 3 7 for details on the variable mapping I Attributes of External Variables If you create a new external variable in the variable mapping the following attributes are registered for it in the global variable table Refer to 4 1 5 System defined Variables on page 4 8 for details on the attributes of variables tings Name Specified variable name Possible Data Type Refer to the NA series Programmable Terminal Device Connection Possible User s Manual Cat No V119 for details on data type for the HMI global variables based on data types for device variable intial Value Not possible AT Device name Device variable name Possible Retain Not possible Constant Not possible Update Rate 500 ms Possible Comment Specified comment Possible 4 4 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 1 4 Attributes and Entry Methods for Global Variables This section describes attributes and entry methods for global variables Attributes of Global Variables e Name Attribute Name Retain Constant Update Rate Comment a Eo oa Enter a text string for the name Observe the follow
80. 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 circuits system assemblies or any other materi als or substances or environments Any advice recommendations 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 i Limitation on Liability Etc OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL INDIRECT INCIDENTAL OR CON SEQUENTIAL DAMAGES LOSS OF PROFITS OR PRODUCTION 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 NA Ser
81. ct Used to display the contents of a recipe Trend Graph object Used to display data from data logging as a graph User Alarms Viewer Used to display a user alarm object Graphic Objects A graphic object does not provide any specific function by itself You must add functions by using events and actions Many different graphic objects are available Some typical ones are described in the following table Classification Object name Description Shapes Curve object Used to draw a curved line You can double click the graphic object to edit it Ellipse object Used to draw a circle or ellipse Line object Used to draw a straight line You can double click the graphic object to edit it Polygon object Used to draw a polygon You can double click the graphic object to edit it Polyline object Used to draw connected straight lines You can double click the graphic object to edit it Rectangle object Used to draw a rectangle Triangle object Used to draw a triangle You can double click the graphic object to edit it 5 1 2 Object Attributes There are the following three types of attributes for objects Properties Animations Events and actions Type of attribute Properties These are static attributes Objects Animations lt These attributes control object animations when the specified condition expressions are met Events and actions You can specify events and the actions to perform
82. d heed the information provided in all safety precautions The following notation is used Indicates a potentially hazardous situation which if not avoided could result in mild or moderate injury or WA RN N G at the worst serious injury or death Additionally there may be severe property damage Indicates a potentially hazardous situation which if not VAN C a u ti O n avoided may result in minor or moderate injury or property damage ecautions for Safe Use Indicates precautions on what to do and what not to do to ensure safe usage of the product l Precautions for Correct Use Indicates precautions on what to do and what not to do to ensure proper operation and performance Symbols The triangle symbol indicates precautions including warnings The circle and slash symbol indicates operations that you must not do The specific operation is shown in the circle and explained in text This example indicates prohibiting disassembly N The specific operation is shown in the triangle and explained in text This example indicates a general precaution NA Series Programmable Terminal Software User s Manual V118 13 oafety Precautions Warnings AN WARNING 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 ma
83. date Rate Comment HMibinVoluei Boolean None ENT m prem gt A D e a e D 23 5 e S D z D 0 The basic Sysmac Studio operations for the global variable table generally apply to HMIs Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 for the basic operations However the following items are different Refer to 4 1 4 Attributes and Entry Methods for Global Variables on page 4 5 so qeueA jeqo o BuuejsibeM z L y Item Description Name There are specific prohibited characters that apply to HMls Data Type There are specific data types for HMls AT You can set the device variables to which to assign the global variables This setting is not used for internal variables Update Rate You can select the interval at which to get values from the connected device This set ting is used only for external variables ES Additional Information Even if you change the name of a previously registered global variable the name of the vari able accessed from objects or subroutines will not change NA Series Programmable Terminal Software User s Manual V118 4 3 4 Creating the HMI Application 4 1 3 Registering External Variables External Variables External variables are global variables that are used to access data in connected devices i Creating External Variables External variables are created in the variable mapping The global variables are mapped to the connected devi
84. de 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 i 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 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 Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate how ever no responsibility is assumed for clerical typographical or proofreading errors or omissions NA Series Programmable Terminal Software User s Manual V118 oafety Precautions Safety Precautions Definition of Precautionary Information 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 an
85. described The operating procedures of the Sysmac Studio are described The operating procedures of the CX Programmer are described Terminology Terminology Term HMI PT NA Series HMI Project NA Unit Download IAG collection Description 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 The hardware elements of the HMI The NA Series of Programmable Terminals and peripheral devices A Sysmac Studio project for an HMI An NA series Programmable Terminal Transferring data from the Sysmac Studio to an HMI When you provide IAGs you provide them as IAG collections IAGs are also imported as IAG collections An IAG collection contains one or more IAGs NA Series Programmable Terminal Software User s Manual V118 25 Revision History Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual V118 E1 01 to Revision code Revision code Date Revised content 01 June 2014 Original production 26 NA Series Programmable Terminal Software User s Manual V118 Introduction to the NA series Pro grammable Terminals This section describes the features basic system configuration specifications and overall operating procedure of the NA series Programmable Terminals 1 1 NA series Programmable Terminals
86. e Eject 5DMemory EnableInputOperation IncreaseVariable InvertVariable ResetVariable SaveUserAlarmLogToFile SetLanguage SetVariable ShowDocument FullScreen ShowDocument Window ShowPage ShowPreviousPage ShowSystemMenu StartDataLogging StopDataLogging format Subroutine_group Subroutine_name W Events MEE Y Actions MEE Select Event to Add gt FiKeyPress Select Action to Add CallSubroutine NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application Execution from Objects The following example shows how to use an object event to execute a subroutine In this example settings are made to execute the subroutine when a Button object is pressed 1 Select the Button object and display the events and actions Events and Actions A amp amp ButtonO T I o c o o c A gt D n 2 Select Press as the event Events and Actions ax aa NE lt Select Event to Add gt X Press Release 3 Select CallSubRoutine as the action HMI a amp Q Button0 Page0 x x M Events Select Event to Add Y 0 ClearUserAlarmLog ClosePage DecreaseVariable EjectSDMemory EnableInputOperation IncreaseVariable uonnoex3 eunnoJqng p p SaveUserAlarmLogToFile SetLanguage SetVariable ShowDocument FullScreen ShowDocument Window ShowPage ShowPreviousPage ShowSystemMenu StartDataLogging StopData
87. e Changes the project language settings Yes etVanabi Sets the value of the specified variable to a Ves Ves Ves Ves specified value PO Displays a PDF or other file full screen Yes Yes Yes Yes ment FULL SCREEN 7 oe eu Displays a PDF or other file in a window E35E JE 3 Yes ShouSystemMenu Yes StarDataLoggins Yes StopDataLogsing Yes 1 You cannot execute page subroutines for global events or user alarms P m lt 2 e a c 2 Q P O Et O 5 o 2 If you execute an action with a Momentary Button use a Click or Release event NA Series Programmable Terminal Software User s Manual V118 A 3 Appendices A 2 Supported Formats The HMI objects support the following formats However it may not be possible to display some files even if the file format is supported Image Files The following formats are supported Format name Specifications Microsoft Windows Bit map Image Uncompressed or RLE compression Graphics Interchange 1 4 or 8 bit 1 4 8 16 24 or 32 bit Format Transparent GIF or interlaced GIF JFIF or EXIF 8 bit gray scale 24 bit basic DCT or progressive DCT Portable Network Graph PNG 1 4 8 or 24 bit ics Transparency is supported Video The following formats are supported However only progressive formats are supported Bru uy dea Maximum Format name Specifications i resolution MPEG 1 The MPEG 1 Video Stream format is not supported 768x480 MPEG
88. e 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 he 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 e When you use gloves or others the function keys may not work correctly depending on the mate rial and thickness of the gloves Take 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 NA Series Programmable Terminal Software User s Manual V118 17 Precautions for Correct Use Precautions for Correct Use 18 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 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 s
89. eak if it is levered with a tool against the case as shown in the figure Back of the case Tu Once the DIP switch settings are changed reset by pressing the reset switch or restart the power supply nitialize the project after confirming that existing 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 e 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 e Removing the USB devices or SD card Disconnecting the cable between a support tool and the NA Unit Do not connect an AC power supply to the DC power terminals Do not perform a dielectric strength test NA Series Programmable Terminal Software User s Manual V118 15 16 Precautions for Safe Use 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 and tighten the terminal screw with the torque in
90. ect and place the objects to register as a custom object on the page English United States v P do O c 0 e O 3 O S D O e T sjoe qo Wojsny se JajsiIBbay ued noA jeu sioe lqo c 6 NA Series Programmable Terminal Software User s Manual V118 9 11 9 Reusing Objects 2 Group the objects to register the group as a custom object o T RET ti D 45 MEL 1 English United States v ste 1 ME j O EE o English United States v Group Ungroup Bring to Front Bring Forward Add to Toolbox 9 12 NA Series Programmable Terminal Software User s Manual V118 9 Reusing Objects 4 The group is added as a custom object under Custom in the Toolbox The displayed name is the name of the registered group or object Toolbox lt Search gt b HMI Controls Y Custom e GroupOQ Arrows Blowers Conveyors Flags Flow Meters Hoppers Motors Ld a adl d Ld Pipes P do O c 0 e o 3 O S D O e T sjel qo uojsn BugeeJ Z 6 NA Series Programmable Terminal Software User s Manual V118 9 13 9 Reusing Objects 9 3 3 Deleting Custom Objects Use the following procedure to delete a registered custom object 1 Right click the custom object to delete from the Toolbox Select Delete from the menu Search b HMI Controls Y Custom Group Edit Properties Arrows Blowers Conveyors Flags Flow Meters Hoppers Motors
91. ed operation of the HMI and Controller there are differences in operation and timing in comparison with combining the actual HMI and Controller After you debug operation with the simulation always check operation on the actual Controller and HMI before you use them in the actual system Accidents may Qo occur if the controlled system performs unexpected operation Refer to A 3 Differences between the Physical HMI and Simulator on page A 5 for details on differences in opera tion The following three functions are provided for debugging during HMI simulations These functions are the same regardless of whether they are used in offline debugging e Watch Tab Page Breakpoints Step execution Watch Tab Page The basic Sysmac Studio operations of the Watch Tab Page apply to HMls Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 for details However the following differences exist for HMI projects You can monitor the following variables on the Watch Project Tab Page Standard projects Only global variables can be registered You can continuously monitor any of the global variables Register the variable names as they are IAG projects You can register only user defined variables You can monitor only the user defined variable in the IAG when execution is paused for a breakpoint Register variable names in the following format Me Variable_name The Watch Tab Page functions only for the Simulator
92. ely 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 screen may be damaged NA Series Programmable Terminal Software User s Manual V118 Precautions for Safe Use 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 20 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 appear or is too dark to identify visually You can change the brightness by changing the setting such as in the system menu or by download ing project If the brightness is set to very dark 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 appropriately In a case of the applications where end users can control 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
93. erties Behaviour L 8 L P x Expression Controller0 aaa RENE Mans conii E Selectable Object m Variable Map m Connected Device References C Mapping Global variables of connected devices HMI Global Variable Table External device arane Data type a eea rrp Integer Controlardl aaa BoolearGontrolert_aea PD Neee E BI Inteaer Contro Ter e bbb Integer n Variables copied through the clipboard ftom other E EE ESI HE projects 0r variables imported by accessing the i D Automatic registration o NI 8 physical device PLC or Controller A Importing connected device variables B Automatic registration a Vaits automatically imported from Controllers in the project Device in the project A Connected device variables are a automatically imported from the same project or b copied from another project or manually imported from an external device B The connected device variables are automatically registered in the variable mappings C The HMI global variables are mapped to the connected device variables D E Selectable The mapped HMI global variables are automatically registered in the global variable table of the HMI You specify HMI global variables in the object properties NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 2 Device References This secti
94. eseas 1 10 option settings seien aea bd Paese i Ote Ea Leap AUOD NE 11 2 P PAGE EXDIOLSE uasketesstacetbis Capa enacts Mears 2 4 page subroutines s uIcei Ba obezeos den eiupaeE iu eileen 4 27 DAC PCM 1 4 eB ah dte Ur Xr LUN 5 11 NA Series Programmable Terminal Software User s Manual V118 Index POPUP DAJES ctos ies dest tuted trea Uode fedele dioc Rr adis 4 11 OD ORCS cuia iere o er rebut pas ae e leue du ded iE 5 4 R OCINE ES 5 17 BE CICS EM P 1 9 4 21 registering DAGS osese ea tse ee 9 9 fcrc er RECTE EHE ERROR EON 3 23 GSOUL COS occu st m tesa reine gu Oro a Sd d LED a 1 9 4 25 9 6 S search and replace ccecccecccceseeceeecceseeceeecsaeessueeeeas 4 32 Security SEUINGS iene icto sees ELM tota EI acta reat n 3 17 SIMI 6 6 simulator connection eaaa a E 6 2 SIGD OXOOULOF sea a aT 1 4 step in execution annin 1 4 step out execution cccecceeccceeeceeeeeeeeeeeceneeeeeeaeeeeeetanes 1 5 storage Medid Gait eee ERN 8 5 subroutine execution ccccecccceecceeeeeeeeeeeeeeeseeeesaeeeeees 4 28 suprotne Ol OUD cdd fum tau A E tieu 4 24 subroutine variables eese 4 2 4 10 SUDFOUTINGS EE E oM PR DM DM careers D DELL LEE 1 8 4 27 supported formals dec idee reris cera ecor epe SEU eO Peto PR A 4 synchronizing projects iot ue he AR A ene Acne 8 2 system defined variables 4 2 4 8
95. ew global variables and assign them or you can assign previ ously created global variables To increase the reusability of the project create the global variables first and then assign them However if a device variable is a structure you must create a new external variable during variable mapping j Creating New External Variables You can create a new global variable and assign it to a device variable When you create an external variable you can either have the name generated automatically or you can create it manually Automatically Creating New Variable Names Use the following procedure 1 Select one or more device variables in the variable mappings right click and select Create Device Variable from the popup menu Position Port Data Type Variable Variable Comment w Configured Devices 192168 w new Controller O gt System Variables Y User Variables binValuel intValuel Search Expand Collapse All Create Device Variable Mapping List Automatically generated variable names are registered in the global variable table according to the following rule Automatic generation rule The device variable name is added after the controller name and separated with an underline e Manually Entering New Variable Names Select the device variable and directly enter the variable name in the Variable column 3 8 NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup Se
96. for HMI Data Global Vari ables Use the editor for HMI Pages Subroutines shared by the entire project Select HMI Global Subroutine Page subroutines Use HMI Pages Page Name and select View Code from the individ ual pages Use HMI User Alarms HMI Reci pes etc Convert the HMI project into a Use Build HMI on the form that the HMI can execute Project Menu Use Start NA Simula tion or Run with Con troller Simulator on the Simulation Menu Section 3 HMI Config uration and Setup and 3 3 Mapping Vari ables on page 3 7 3 4 HMI Settings on page 3 10 3 5 Security Settings on page 3 17 3 6 Language Set tings on page 3 18 Section 4 Creating the HMI Application 4 1 Registering Vari ables on page 4 2 4 2 Creating Pages on page 4 11 4 4 Subroutines on page 4 27 4 3 Setting Common Object Functions on page 4 18 4 6 Building on page 4 33 Section 7 Debugging 10 ouYnpo20Jg Dunejedo c r I o s iEejeq SINPDSOVOJd Z E 1 Introduction to the NA series Programmable Terminals e Setting HMI Variables First and Then Mapping Them to Connected Device Variables STEP 2 2 Creating the HMI Application 1 Registering Variables 2 Creating Pages 3 Creating Sub routines 4 Settings Shared by All Pages Create the application pages variables subroutines etc with the Sysmac Studio Register the variables in the HMI global vari
97. for the connection configuration in the Connection Type Field For an Ethernet connection via a hub enter the IP address of the HMI to which you need to con nect in the Remote IP Address Area Select any required options and enter the communications time out time if required Note Refer to Communications Setup Dialog Box Settings on page 6 5 on the next page for information on the settings Remote IP Address EAD SUAE 192 168 250 1 Test r Test USB Connec tions r Options K4 Confirm Serial ID when going online r Communications time out Specify the response time out period for communicating with the device D 3 Click the OK Button This concludes the settings 6 4 NA Series Programmable Terminal Software User s Manual V118 6 Connecting to the HMI Communications Setup Dialog Box Settings Item Description Connection Type Select the connection port to use to go online The selected method is normally used to go online Remote IP Address If you specify an Ethernet hub connection set the IP address of the HMI that you will connect to Also you can click a test button to perform a communications test Test USB Connec Click the test button to perform a USB communications test tions Options Confirm serial ID when If you select this option the names and serial IDs are going online compared between the project and the HMI when you go online to make sure that a connection is made to the intended
98. formation If there is more than one Controller in the project the window will be displayed for the Controller that is currently connected If you select a Controller for which variables are not mapped an error will occur and starting the Simulator will be canceled The Controller Simulator is started and the HMI Simulator is displayed 8 HMLNAS 0 Coa EN Additional Information If the project is not yet built the entire project including the Controller is built automatically If a building error occurs for the Controller a dialog box is displayed to notify you of the error Change the device to the relevant Controller build the project and check the error 7 8 NA Series Programmable Terminal Software User s Manual V118 7 Debugging 6 To stop the simulation click Stop NA Simulation from the Simulation Menu The Controller Simulator and the HMI Simulator are stopped Multiview Explorer HMI NAS5 0 gt Configurations and Setup z English United States v Clear All Breakpoints Ctrl Shift F9 w Pages a Page0 gt 4 User Alarms EN Additional Information You can also start online debugging when the Controller is selected in the project Refer to the Sysmac Studio Version 1 Operation Manual Cat No W504 for details suonounJ Buibbngeg INH L 2 7 JO JE NWIS 4J9 04 UOD Ou YM BurbBnqegq eutljo S L Z NA Series Programmable Terminal Software User s Manual V118 7 9 7 Debugging
99. 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 Becertain to use the cables with lock mechanism such as serial cable or the Ethernet cable after confirming if it is securely locked Do not touch the packaging part of the circuit board 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 periodical 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 power 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 Correct technique Incorrect technique gt Y DIP switch The DIP switch may br
100. ft E Top Right Detectable Corner i l Bottom Left E Bottom Right sbumes eoi eq z r Item Description Startup Page 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 Select this check box to automatically log out the user after a specified after period of inactivity period of inactivity Inactivity period Specify the time of inactivity before the user is logged out automatically 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 is 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 NA Series Programmable Terminal Software User s Manual V118 3 11 3 HMI Configuration and Setup 3 4 3 TCP IP Settings These are the settings for TCP IP w Ethernet Port 1 IP Address I3 192 168 250 2 Madun g 222 252 255 0 Default gateway iT Y Ethernet Port 1 DNS Primary DNS server ao Secondary DNS server aS Primary WINS server Sara Secondary WINS server Mri EJ Y Ethernet Port 2 IP Address ka Direct connection with
101. g to HMIs from External Devices After the download is completed you can access the HMI from a VNC client EN Additional Information Refer to the relevant software manuals for the operating procedures of the VNC client ue WOJ NH ue Buisse oyv 1 01 m x e D Jg lt O o 10 1 2 FTP You can enable the FTP server to use an FTP client to access files in the HMI However you can access only specific folder Setting Method Double click HMI Settings under Configurations and Setup Click the FTP Settings Button dla c L 0L Select the Use Option Set text strings for the login name and password After you complete the settings select Build HMI from the Project Menu When building the project is completed download the project to the HMI After the download is completed you can access the HMI from an FTP client EN Additional Information Refer to the relevant software manuals for the operating procedures of the FTP client NA Series Programmable Terminal Software User s Manual V118 10 3 10 Connecting to HMIs from External Devices 10 4 NA Series Programmable Terminal Software User s Manual V118 Other Functions Si This section describes other functions that the Sysmac Studio provides for HMls 11 1 Sysmac Studio Option Settings 11 2 NA Series Programmable Terminal Software User s Manual V118 11 1 11 Other Functions 11 1 Sysmac
102. he Project Pages Variables Sub routines Etc 1 Designing the Pages and Sub routines 2 Designing Items Shared by All Pages 3 Variable Design STEP2 Step STEP 2 1 Starting the Sys mac Studio and Creating a Project 2 Insert the HMI NA Series Programmable Terminal Software User s Manual V118 System Configuration and Project Design Reference Section 2 Configuration Units in NA Series Programmable Terminal Hardware User s Manual V117 NA series Programmable Terminal Device Connection User s Manual V119 NA Series Programmable Terminal Software User s Manual V118 Description Connect an HMI to the external device Connect an HMI to the Sysmac Studio Design the project as given below Design the contents to display on the pages the pages and objects to use Design the execution methods and contents of the subroutines Design the global events Design the alarms recipes data logging and other functions HMI external variable design Design the mappings between the connected device variables and the HMI global variables Design the HMI internal variables and subroutine variables Define the attributes of the above variables such as the Data Type Name and Retain attributes Software Settings Configurations and Setup and Creating the HMI Application ations 1 Start the Sysmac Press the New Project Sysmac Studio Version 1 Opera Studio and c
103. he following three manuals NA series Programmable Terminal Hardware User s Manual Cat No V117 NA series 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 Sysmac Studio Version 1 Operation Manual Cat No W504 for information on the Sys mac Studio Other manuals are necessary for specific system configurations and applications The following manual is also available to walk you through installations and operations up to starting actual operation using simple examples Refer to it as required NA series Programmable Terminal Startup Guide Manual Cat No V120 2 NA Series Programmable Terminal Software User s Manual V118 Manual Structure Page Structure and Markings The following page structure is used in this manual Level 2 heading Level 3 heading A step in a procedure Indicates a procedure Special information Icons indicate precautions additional information or reference information He Fe Manual name 3 Installation and Wiring 3 3 Installing NA series PTs 3 3 1 Installation in a Control Panel Installation in a Control Panel 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
104. hen the F1 Key is released Yes Ye F2 Key Click The event occurs when the F2 Key is tapped Ys Ye _ F2 Key Press The event occurs while the F2 Key is held down Ye Yes F2 Key Release The event occurs when the F2 Key is released Yes Yes F3 Key Click The event occurs when the F3 Key is tapped Ys Ye E F3 Key Press The event occurs while the F3 Key is held down Yes Yes F3 Key Release The event occurs when the F3 Key is released Yes Ye Interval The event occurs at the specified interval Xes ees d oA Page Displayed The event occurs when the page s displayed Yes Page Hidden The event occurs when the page is hidden Yes Press The event occurs while the objectis held down ves Project Initialization The event occurs when the project is initialized Yes Raised The event occurs when the user alarm occurs SSE Yes Release The event occurs when the object is released event occurs when the The event occurs when the objectis released is released The event occurs when the item selected in the Selection Changed list changes Unchecked The event occurs when the check box selection is TT cleared 1 For both Click and Release the event occurs when the object is released but the operation when the page is changed is different
105. ice Category HMI Device NAS v 12W1010 v Version 1 00 Y Select the device and then click the OK Button The device is changed M Precautions for Correct Use e f you change the device the settings for functions that are not supported by the new model will be lost e f you change to a model that has a different display size the objects will be enlarged or reduced according to the new display size However elements other than objects such as font sizes will not change HMI versions oet the version when you create a new HMI project or when you add an HMI to an existing project You can set the version to the runtime version of the HMI that you are using or to any earlier runtime version You can program and make settings within the ranges that are supported for the runtime ver sion that you set for the HMI If you attempt to use functions that are not supported by the runtime ver sion that you set you will not be able to use them or errors will occur NA Series Programmable Terminal Software User s Manual V118 2 15 uM s UJ D 2 O O Oo 2 9 O 5 o h O L U 2 D O e N s n d Buibueu5 e g z 2 Basic Sysmac Studio Operations NA Series Programmable Terminal Software User s Manual V118 HMI Configuration and Setup E This section describes how to configure and set up HMIs on the Sysmac Studio includ ing mapping variables with connected devices and HMI settings 3
106. ich would effectively disable the USB port If that occurs restart the computer Otherwise you will not be able to use the USB device until Windows recovers from the suspended status 6 2 1 Methods for Going Online with an HMI To go online with an HMI there are three connection methods that can be used These are described in the following table P N Q o O D e gt D 5 L Connection method Connection diagram Description Direct connection via The USB port on the computer is USB connected directly to the USB slave port on the HMI This is the default connection con figuration Direct connection via Ethernet The Ethernet port on the computer is connected directly to Ethernet port 2 on the HMI Ethernet connection via hub The Ethernet port on the computer is connected through the Ethernet network to an Ethernet port on the HMI INH Ue UM eujuo Buroo 104 spoujeW L Z 9 NA Series Programmable Terminal Software User s Manual V118 6 3 6 Connecting to the HMI 6 2 2 Setting the Connection Method You must set the connection method IP address to connect to and other parameters for communica tions between the computer and HMI 1 Select Communications Setup from the HMI Menu The Communications Setup Dialog Box is displayed Remote IP Address Specify PAdcres Ia Test Test USB Connec tions communicating with the device OK 2 Select the connection method
107. ies Programmable Terminal Software User s Manual V118 11 Terms and Conditions Agreement Application Considerations Suitability of Use 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 solely 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 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 PRODUCT S IS PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM Programmable Products Omron Companies shall not be responsible for the user s programming of a programmable Product or any consequence thereof Disclaimers 12 i Performance Data Data presented in Omron Company websites catalogs and other materials is provided as a gui
108. if you use DisplayValue for the animation property you can display the value of the variable ListBox object Used to store the value that corresponds to the item selected in a list in a variable Also if the value of the specified variable is changed you can move the focus to an item that corresponds to the new value of the variable Radio Button object Used to set the specified variable to the value that was set for the selected button Only one of the specified group of buttons can be selected Also the option button can be displayed when the value of the specified variable changes Slider object Used to set the specified variable to the value that corresponds to the position of the slider Also if the value of the specified variable is changed you can move the slider to the position that corresponds to the new value TextBox object Used to display a fixed text string A TextBox object differs from a Label d object in that the text string in a TextBox object will wrap 5 2 NA Series Programmable Terminal Software User s Manual V118 5 Objects Classification Object name Description Gauges Gauge Object There are several types of gauges provided such as one with a needle that rotates in a circle and one with a needle that moves in a straight line HMI controls Media Player object Used to create an object that plays video Refer to A 2 Supported For mats on page A 4 for the supported formats Recipe Viewer obje
109. igurations and Setup Sb SS P fl Device References N I U o a o gt e o o lt 0 3 D O o e c 2 o a z Vanable Mapping LI HMI Settings E Security Settings P Language Settings Y Pages Pagel p 4 User Alarms R Data Logging E Recipes Y amp Data t Global Vanables E Global Events i Global Subroutines IN 1 i subroutineGroup MODpUIAA Uoneorddy Z r3 Resources 62 TAG Resources Filter NA Series Programmable Terminal Software User s Manual V118 2 3 2 Basic Sysmac Studio Operations Layers and Items in the Multiview Explorer Configurations and Setup HMI Device References Page Variable Mapping Pages HMI Settings User Alarms Security Settings Groups Language Settings Data Logging DataSet Recipes Data Global Variables Global Events Global Subroutines Subroutine Groups Resources IAG Resources Precautions for Correct Use You cannot download the data to the HMI if an error icon is displayed Page Explorer The Page Explorer displays a list of objects on a page If you click an object in the Ere Page Explorer the object will be selected on the Edit Pane o e i To change the attributes for grouped objects or for individual objects in IAGs select ataLamp A TrendGrapho the individual objects on the Page Explorer Code Explorer The Code Explorer displays the subroutines in the project You can do
110. ing restrictions e You cannot use any symbols except for underscores e The first letter cannot be a number he names are not case sensitive gt A D e a e D 23 5 To S D 2 D 0 e You cannot use names that start with HMI You cannot use names that are reserved for the Sysmac Studio or Visual Basic e You cannot use more than 127 characters Se qeueA eqo o 10 spoujejw Aug pue seinqunv t L v NA Series Programmable Terminal Software User s Manual V118 4 5 4 Creating the HMI Application e Data Type Attribute Initial Value AT Retain Constant Update Rate Comment Enter a data type directly or select one from the list You can use the following data types which are supported by Visual Basic Arrays of the data types that are supported by Visual Basic are also supported If you specify an array specify the element number in parentheses after the data type in the same way as in Visual Basic SE ESTEE Data type Data type EM Range of values tion name Basic data True or False types 1 ER 0 to 255 unsigned 2 bytes 0 to 65 535 unsigned Date Date 8 bytes 0 00 00 midnight on January 1 0001 through 11 59 59 PM on December 31 9999 Decimal Decimal 16 bytes O through 79 228 162 514 264 337 593 543 950 335 7 9 E 28 with no decimal point 0 through 7 9228162514264337593543950335 with 28 places to the right of the decimal smallest nonzero number is
111. intenance were properly performed for the NA 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 N 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 emergency 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 14 NA Series Programmable Terminal Software User s Manual V118 Precautions for Safe Use Precautions for Safe Use e 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 he 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
112. ion Menu TB NewProject HMLNASO SysmacStudio ERR File Edit View Insert Project HMI Simulation Tools Help Multiview Explorer ae HMLNA5O v I gt Configurations and Setup English United States v Clear All Breakpoints Ctrl Shift F9 w 53 Pages L m Page0 The Simulator starts HMI NA5 0 Name Recipe2 RecipeSample2 EN Additional Information If the project is not yet built it is built automatically 7 6 NA Series Programmable Terminal Software User s Manual V118 1 Debugging 5 To stop the simulation click Stop NA Simulation from the Simulation Menu The HMI Simulator is ended 5 New Project HMI_NAS i rudi File Edit View Insert Project HMI Simulation Tools Help JA5 0 Suvsmac Studio HMI_NAS_0 gt Configurations and Setup English United States w Clear All Breakpoints Ctrl Shift F9 7 1 5 Offline Debugging with the Controller Simulator You can perform debugging with the HMI Simulator connected online to the Controller Simulator This allows you to debug the project while the Controller program is actually running After you complete checking operation with the HMI Simulator alone check operation that includes the Controller program The Sysmac Studio enables integrated debugging of the Controller program and the HMI application by connecting the Controller Simulator to the HMI Simulator You can perform debugging with the HMI Simulator and Controller Simulat
113. ions changes in the values of variables starting the proj ect etc A list of the events that you can set is provided in A 7 Events and Actions on page A 2 Actions You can specify the action to perform when a global event occurs from a list of predefined actions Actions include executing global subroutines and other system defined operations A list of the actions that you can set is provided in A 7 Events and Actions on page A 2 Setting Up Global Events To set up a global event you select the global event and then set the action to execute when the event occurs 1 Right click HMI Global Events in the Multiview Explorer and select Edit from the menu Or double click HMI Global Events b Pages P 4 User Alarms M Data Logging E Recipes MEE Data Global Events gt Global Subroutines Edit 2 A tab page to make settings for the global event is displayed in the HMI Layer of the Edit Pane Events lt Select Event to Add gt 3 Click in the column on the right to select the event to set from the event list v lt Select Event to Add gt x Condition F2KeyRelease F3KeyPress F3KeyClick F3KeyRelease Interval Projectinitialization A global event is added 4 22 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application Y Events Select Event to Add gt v F1KeyPress a Actions Select Action to Add gt M 4 In the Actions row be
114. iview Explorer 24 HMI Lund gt Configurations and Setup Group Display Name De IWHMI O Name Id Alarm Code riori Message v Pages H8 Page0 Y 4 User Alarms HMI NA5 0 x Group0 3 Right click in the user alarm table for the new group and select Add from the menu wejy Jesf e Buikejdsiq z cz S 4 A row is added Make the following settings in the new row Use the default values for settings that are not specified Name UserAlarm1 Expression bInAlarm1 True Message Alarm1 Popup Selected Acknowledge Selected Name Id Alarm Code Expression Priority Message Popup Acknowledge Details UserAlarm1 Group0_UserAlarm1 blnAlarm1 True User Fault Level 4 Alarm NA Series Programmable Terminal Software User s Manual V118 5 13 5 Objects Double click HMI Pages PageO0 in the Multiview Explorer Drag a User Alarms Viewer object from HMI Controls in the Toolbox to the page Multiview Explorer HMI NA5 0 v 5 Global Events gt A Global Subroutines SI Resources 2 IAG Resources o lt Search gt gt Buttons English United States v gt Lamps gt Shapes gt Standard Controls gt Gauges Y HMI Controls Wa Media Player B8 Recipe Viewer Trend Graph User Alarms Viewer gt Custom gt Arrows gt Blowers gt Conveyors b Flags gt Flow Meters gt Hoppers gt Motors gt Pipes gt Pumps gt Tanks gt Valves gt Warning Signs User Alarms Vie
115. ject 2 00000 eee eee 2 14 2 5 3 Changing Devices 0 cette ees 2 15 NA Series Programmable Terminal Software User s Manual V118 2 1 2 Basic Sysmac Studio Operations 2 1 Parts of the Sysmac Studio Window This section gives the names and functions of the parts of the Sysmac Studio Window This manual describes only functions that apply when an HMI is selected for the device For information on Sysmac Studio functions not described in this manual refer to the Sysmac Studio Version 1 Opera tion Manual Cat No W504 H Precautions for Correct Use When you use the Sysmac Studio use the standard Windows desktop theme If you do not use the standard Windows desktop theme part of the display may not be correct 2 1 1 Application Window Menu bar Toolbar Layered headers Configurations and Setup Header Number Name a Multiview Explorer b Edit Pane c Toolbox The functions of these parts are described starting on the next page 2 2 NA Series Programmable Terminal Software User s Manual V118 2 Basic Sysmac Studio Operations Multiview Explorer a This pane is your access point for all Sysmac Studio data When an HMI is selected it is divided into a Configurations and Setup Layer and an HMI Layer Multview Explorer lil HMI N 5 0 You can also display the Page Explorer to display lists of objects on pages or the Code Explorer to display lists of Conf
116. ks 8 Synchronizing Projects 8 2 Using Storage Media for Synchroni zation With an HMI you can perform product synchronization with storage media 1 Insert an SD Memory Card or USB memory device into the computer 2 Select Transfer to Media Device from the HMI Menu Communications Setup Change Device m Online Multview Explorer a 1 HMI NAS5 0 imu Configurations and Setup gt Al Device References gt Variable Mapping LI HMI Settings i Security Settings PF Language Settings Transfer Files N c z gt ro o e O is Q D D 2 ie gt O o lt gt O gt O 3 S N Select Target Folder A O 3 OK Cancel 4 The project on the Sysmac Studio is compared with the project in the storage media and the Synchronization Window is displayed Source Modified DateTarget Modified Date Detailed Comparison Security Settings 2014 06 05 16 24 40 Security Settings SE SSS SS 888888888885 Legend Synchronized Transfer To Media Device NA Series Programmable Terminal Software User s Manual V118 8 5 8 Synchronizing Projects Click the Transfer to Device Button to transfer the project to the storage media Oo oO Insert the storage media into the HMI display the Device System Menu and touch the Transfer Operations Button 5 Date amp Time Settings Language Settings Interface Settings Brightness Se
117. lay on the HMI Use Configurations and Setup in the Mul tiview Explorer of the Sysmac Studio Map the variables under Configura tions and Setup Variable Mapping Make the settings under Configura tions and Setup HMI Settings Section 3 HMI Config uration and Setup 3 3 Mapping Vari ables on page 3 7 3 4 HMI Settings on page 3 10 Make the settings under Configura tions and Setup Security Settings and Configurations and Setup Language Settings 3 5 Security Settings on page 3 17 3 6 Language Set tings on page 3 18 NA Series Programmable Terminal Software User s Manual V118 1 Introduction to the NA series Programmable Terminals Connecting to a Connected Device Not Registered in the Current Project STEP2 3 Software Set tings Configura tions and Setup Make the initial software settings on the Sysmac Studio Register the external connected devices You can do either of the follow ing a Importing Variables from the Unit Connected Device Place the Sysmac Studio online with the connected device and import the vari ables from the connected device b Importing Variables from Another Project Copy the variable table in the other project and paste it in the device variable table Assign global variables to con nected device variables map ping variables e Connected Device Settings e Set the parameters related to the HMI Startup Page Brightness
118. lay user messages when the conditions are met You can use this to record information when errors occur when operation is started etc I Registering a New User Alarm You manage user alarms by group The groups are displayed in the User Alarms Viewer and are helpful in organizing information 1 Right click HMI under User Alarms in the Multiview Explorer and select Add Group from the menu Y Pages HH Pagel Y User Alarms LECT f Data Logging E Recipes Group1 is added under User Alarms Y Pages EB Pagel w User Alarms al Group0 i Groupl 4 18 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 2 Double click the new group A tab page to edit the group is displayed in the HMI Layer of the Edit Pane so that you can reg ister user alarms Name ife T C3 o o zt 3 O O 3 3 O 3 O S D O e Tl c 3 Oo O 3 o Deleting Copying and Pasting Groups You can delete copy and paste groups using the same procedures as those that you use for pages suue y Jes BuuejsiDeM L v NA Series Programmable Terminal Software User s Manual V118 4 19 4 Creating the HMI Application 4 3 2 Registration for Data Logging Data Logging You can use data logging to store the changes in the values of specified variables over time You can display the saved data with Trend Graph objects You can also save this data to extern
119. ld b Variables Comments for Variables and Data Types P Synchronization OK Symb em Descripton Remarks a Grid Settings Make the settings for the grid b Reset to Defaults This button restores the default grid settings NA Series Programmable Terminal Software User s Manual V118 11 3 11 Other Functions 11 4 NA Series Programmable Terminal Software User s Manual V118 Appendices The appendices provide information on supported file formats and other information A 1 Events and Actions leeren A 2 A 2 Supported Formats i 42 4404 eerie o bes PUR REGZARETYAG A A 4 A 3 Differences between the Physical HMI and Simulator A 5 NA Series Programmable Terminal Software User s Manual V118 A 1 Appendices A 1 Events and Actions I Events Name Description Sepa Page ser events alarms The event occurs when the user alarm is acknowl Acknowledged edged Y Checked The event occurs when the check box is selected ee ee es Cleared The event occurs when the user alarm is cleared Pp Yes Click The event occurs when the object is tapped Yes Condition The event occurs when the set condition is met Yes Yes F1 Key Click The event occurs when the F1 Key is tapped Ys Yes E F1 Key Press The event occurs while the F1 Key is held down Ye Yes F1 Key Release The event occurs w
120. lecionFiles iag NA Series Programmable Terminal Software User s Manual V118 9 9 9 Reusing Objects 3 Select the Show in Toolbox Check Boxes for the IAG collections that you want to display in the Toolbox E v Sample Project Show in Toolbox Publisher OMRON Version 1 00 Description Sample Project Name Category Version Description NENNEN IAGO Sample 1 00 Sample 4 The IAGs for the selected check boxes are displayed in the Toolbox z Search P Hags GGE Hoppers Motors Pipes Pumps sample gt Waming Signs 9 10 NA Series Programmable Terminal Software User s Manual V118 9 Reusing Objects 9 3 Custom Objects You can register the objects that you use most frequently to increase your productivity This section describes the procedures to create and use custom objects 9 3 1 Objects That You Can Register as Custom Objects An object must meet the following conditions before you can register it as a custom object You can register only individual objects You cannot register more than one object as a custom object If you want to register more than one object as a custom object group the objects into one object first The object cannot be a user defined IAG You cannot register a user defined IAG or a group that contains a user defined IAG as a custom object 9 3 2 Creating Custom Objects Use the following procedure to create a custom object 1 Create a standard proj
121. lected as the device This section describes those differences Entering Variable Names and Data Types Entering variable names e g when setting properties Entering data types in variable tables Example When you enter a variable name as a property the variable names that you can enter are displayed in a list Behavior IsEnabled Double TouchTime OnDelayTime OffDelayTime 2 8 NA Series Programmable Terminal Software User s Manual V118 2 Basic Sysmac Studio Operations Entering Text in the Code Editor e When you enter text in the Code Editor the cursor moves to the first item in the list that starts with the character that you entered Buttoni Click 1 Code behind Page Add local subroutines for the page BS 2 Sub Button1_Click 3 Dim intValueO As i 4 a 10 gt Boolean 5 Bn j End Sub Byte Q gt Char gt Date o Decimal gt Double E eo Ww D 2 o m Q et 3 O o 2 9 et o o Global Q gt Integer Structure System Int32 2 gt Long Microsoft When you press the Tab Key after entering the first part of the keyword in in this example the rest of the keyword is automatically entered Button1 Click 1 Code behind Page Add local subroutines for the page 2c Sub Button1_Click 3 Dim intValueO As Integer 4 a 10 5 End Sub NA Series Programmable Terminal Software User s Manual V118 2 9
122. lecting Previously Registered Global Variables and Mapping Them You can select global variables that are already registered in the global variable table and assign them to device variables For example this method can be used to map external variables in the following cases e Setting an HMI global variable first and then assigning it to a device variable Creating a common project first and specifying connected devices later Use the following procedure so qeueA Buiddejy e e 1 Register the global variables in the global variable table in advance 2 When you map variables you can select global variables from lists of variables that are already registered in the global variable table and assign them to device variables 3 Position Port Data Type Variable Variable Comment w Configured Devices 192 168 v new_Controller_0 gt System Variables Y User Variables binvaluei Mo intValuel HMI CanEjectSDCard Ta _HML IsBatteryLow HMI IsDatalnput HMI IsPageSwitching _HML IsScreenSaverActive HMI RunSignal spouje N Budde ejqeueA E E E NA Series Programmable Terminal Software User s Manual V118 3 9 3 HMI Configuration and Setup 3 4 HMI Settings This section describes the HMI settings 3 4 1 HMI Settings You can make settings for an HMI The following table lists the setting items em eon 700 Bepion Won sting e rere Device Settings There are page screen saver These settings are always required
123. led device vari ables to global variables in the HMI Device variables are used on the HMI by assigning them to HMI global variables so qeueA Buiddejy e e Therefore mapping variables is required Not accessing device variables directly allows you to reuse projects simply by changing the variable mappings 3 Global variables that are assigned to device variables are called external variables 3 3 2 Opening the Variable Mapping Tab Page and Tab Page Parts 1 Double click Variable Mapping under Configurations and Setup The Variable Mapping Tab Page is displayed so qeueA Buidde gN c c Variable Mapping X Position Port Data Type Variable Variable Comment Configured Devices Parts of the Window No tem Description 1 Displays the IP addresses of the connected devices 2 Displays the connected devices and device variables in a tree structure 3 Data Type The data types of the device variables are displayed NA Series Programmable Terminal Software User s Manual V118 3 7 3 HMI Configuration and Setup No em Description 4 Variable You can set the name of a HMI global variable You can use entry assistance to select from a list of previously registered HMI global variables 5 Variable Comment You can set comments for the HMI global variables These comments are also applied to the global variable table 3 3 3 Variable Mapping Methods To map variables you can either create n
124. ll 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 allowed 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 meet 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 devices to the NA Unit Do not carry out the following operations when 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 equipment 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 saf
125. lorer Y Configurations and Setup English United States v Language Settings gt Buttons IAG Collection Settings pum gt Shapes b Standard Controls gt Gauges gt HMI Controls gt Flags Flow Meters gt Hoppers gt Motors gt Pipes gt Pumps ae gt Valves gt Warming Signs pa Da aS S 1oefoJd Oy ue UBYM seoueJeJlld L 2 6 NA Series Programmable Terminal Software User s Manual V118 9 5 9 Reusing Objects I Resources You can set the resources to use in the IAG The procedures are the same as for a standard project Resources X El Resource ID English United States StringO Sample i 9 2 2 Creating an IAG This section describes how to create an IAG The size of the IAG will be the size of the page when the IAG is created Any objects that are positioned outside of the page are ignored 1 Create a new project and set the project type to AG Project 4 7 d EZ Offline P Project Properties WS 7 NE oe Comment Set Type to IAG Project ad m End Import Type Standard Project Y Standard Project lihrary Proiect m Open Project 000 tm gt in Select DATS Online gi Category Controller v 4 Connect to Controller Device NJ501 Version CH License 9 6 NA Series Programmable Terminal Software User s Manual V118 9 Reusing Objects 2 Click the Create Button An IAG project is crea
126. low the new global event click in the right column and select the action to perform for the event from the action list Y Events Select Event to Add gt v LAU F1KeyPress Select Action to Add M CallSubroutine ClearUserAlarmLog ClosePage DecreaseVariable EjectSDMemory EnableInputOperation IncreaseVariable InvertVariable ResetVariable SaveUserAlarmLogToFile SetLanguage SetVariable ShowDocument FullScreen ShowDocument Window ShowPage ShowPreviousPage ShowSystemMenu StartDataLogging StopDataLogging gt oo o D ct 5 e O o 3 3 o 5 O S D O e Tl c 5 o E o o 5 When you add global events they are numbered serially from O in the order that you add them Deleting Global Events To delete all of the settings for global events right click the Events header at the top and select Reset To delete an individual event click the i Button on the right edge of the event suonoy BuipuodsaJ102 pue sjuo 3 Jeqo o Puas p p NA Series Programmable Terminal Software User s Manual V118 4 23 4 Creating the HMI Application 4 3 5 Registering Global Subroutines Global Subroutines You can register global subroutines which you can then call from anywhere in the project You can register common subroutines that do not rely on page conditions to make subroutines easier to maintain Registering a New Subroutine Group To register global subroutines you must create one or more subr
127. mmable Terminal Software User s Manual V118 Creating the HMI Application This section describes how to create the HMI application pages variables subrou tines etc with the Sysmac Studio 4 1 4 2 4 3 4 4 4 5 4 6 Registering Variables 00 0 ee es 4 2 4 14 VSnables ud nada GP ak oe ed oe eS oh eee ER UR a de Ban OR oe ae 4 2 4 1 2 Registering Global Variables naaa liliis 4 2 4 1 3 Registering External Variables 0 0 0 00 llle 4 4 4 1 4 Attributes and Entry Methods for Global Variables 4 5 4 1 5 System defined Variables 0 00 cc eee ens 4 8 4 1 6 Subroutine Variables 0 0 0 00 cee eens 4 10 Creating PAGES 2 4 3 9 arie a a Ed A eae ee td See Duden 4 11 4 2 1 DISPIAVING Pages havea is oe a e airy DU br CR EIER dx es S uc cas ad 4 12 4 2 2 Registering Pages zd x TARRRERaR RE RT AR RR PARURE wees 4 12 4 2 3 Page Property Settings l l 4 14 4 2 4 Editing Pages X u mesutstducs dur tema are NI eod Rel eee Cow at tere arat e ud dd 4 15 Setting Common Object Functions 4 18 4 3 1 Registering User Alarms ccc cee nns 4 18 4 3 2 Registration for Data Logging 0 eee 4 20 4 3 3 Registering Recipes 3s owed ete en Som yr ea Salk dues dua d wa 4 21 4 3 4 Setting Global Events and Corresponding Actions llus 4 22 4 3 5 Registering Global Subroutines 0 0 0 es 4
128. mples of Using Objects This section provides examples of using objects 5 2 1 Displaying a PDF File The following example shows how to display a PDF file full screen when a button is touched 1 Place a button on the page Multiview Explorer HMI NA5 0 gt Configurations and Setup gt 4 User Alarms tz Data Logging amp Recipes gt Data 5 Global Events gt A Global Subroutines 3 Resources 2 IAG Resources English United States v Toolbox Search Vv Buttons Button Momentary Button Reset Button Set Button Toggle Button Lamps gt Shapes gt Standard Controls gt Gauges gt HMI Controls gt Custom gt Arrows gt Blowers gt Conveyors gt Flags gt Flow Meters gt Hoppers b Motors b Pipes gt Pumps Output LIBE gt Valves gt Warming Signs Button A Button object dT e o LINK IAC Bevo LRAT ME TO HMI MAS Insert Project HMI Simulation Tools Multiview Explorer Alt 1 Toolbox Alt 2 Output Tab Page Alt 3 Watch Tab Page Alt 4 Build Tab Page Alt 6 Search and Replace Results Tab Page Alt Page Explorer Ctrl Shitt 1 Code Explorer Ctrl Shift 2 Properties Ctrl Shitt 3 Animations Ctrl Shitt 4 Zoom Reset Window Layout 3 Select Click as the event Button x Select Event t T Press Release NA Series Programmable Terminal Software User s Manual V118 5 11 e N m x D 3 p D on o h c
129. munication Driver iiemet amp Security Settings Device Vendor Omron Y Configurations and Setup Device Configuration r Communications Configuration NA Series Programmable Terminal Software User s Manual V118 3 3 3 HMI Configuration and Setup 3 2 3 Registering External Connected Devices To connect the HMI to a device that is not registered in the current HMI project you must register the device as an external connected device The procedures to register and set up external connected devices are given below Registering and Setting Up External Connected Devices This section describes how to register and set up external connected devices 1 Right click Device References under Configurations and Setup in the Multiview Explorer HMLNAS 0 E 00v Device References Fl Internal Projects Vanable Mapping 2 Select Add ExternalDevice The device is added as ExternalDeviceLl where O is a serial number starting from 0 Multivicw Explorer Configurations and Setup rt HMI NA5 0 T HoH Configurations and Setup Variable Mapping 3 Double click the new ExternalDeviceLl New Project HMI NAS 0 Sysmac Studio File Edit View Insert Project HMI Simulation Tools Help Me ig oat A Configurations and Setup Tae HMI_NA5_0 v C ExternalDevice0 X Y Device Configuration Y Configurations and Setup x Device Configuration
130. n set the initial value of the variable when the project is downloaded but you cannot overwrite the value afterward You cannot specify the Constant attribute for an external variable NA Series Programmable Terminal Software User s Manual V118 4 7 4 Creating the HMI Application Update Rate Attribute Data Type Initial Value AT Retain Constanp Update Comment m 500 Millisecor v None 100 Milliseconds 1 Second 2 Seconds 5 Seconds 10 Seconds 30 Seconds 1 Minute 5 Minutes 10 Minutes 30 Minutes 1 Hour The update interval with the connected device is specified for external variables If None is set for an external variable the external variable will be treated as an internal variable In that case no com munications for the variable will be performed with the connected device You do not need to specify this attribute for an internal variable e Comment Attribute Data Type Initial Value AT Retain Constant Update Rate MSN E E EE Enter a comment 4 1 5 System defined Variables i System defined Variables oystem defined variables are internal variables that are pre defined by the system All system defined variable attributes are fixed The names and all other attributes of these variables are defined and spe cial functions are assigned to them You cannot change the names or any other attributes You can use the system defined variables for an HMI as soon as you register
131. not a clear the selection of this check box 2 Clear Data log data from Selected Values written If this check box is selected the data log y memory to HMI data in non volatile memory is cleared If you have changed the data logging settings you F cannot clear the selection of this check box Differences in Comparison Results The following differences apply to the comparison results e Verification Results Example The verification results are displayed as shown in the following example Column Item Source Project name on the Sysmac Studio Source Modified Date The last time that the project was built on the Sysmac Studio Target Modified Date The last time that the HMI project was built on the Sysmac Studio Target HMI project name Detailed Comparison This column is not used when an HMI is selected NA Series Programmable Terminal Software User s Manual V118 8 3 8 Synchronizing Projects e Verification Units The units for comparison that are shown in the Synchronization Window are listed in the following table Synchronization data name HMI name Project Pages Page Subroutines SubroutineGroup Variables Global Events Alarms Data logging Recipe Template Data User Accounts Recipe Instances Settings HMI Settings Security Settings Resources Runtime Files Level comparison 1 1 1 None None None 1 1 1 NA Series Programmable Terminal Software User s Manual V118 Remar
132. nteger Current Alarm that are not acknowledged Count User and Security type HMI CurrentUserName Current User Gives the name of the user that is cur String Name i mage nn HMI CurrentUserRole Current User Gives the authority role of the user String that is currently logged in 4 1 6 Subroutine Variables Subroutine Variables Subroutine variables can be used only with subroutines Subroutine variables conform to Visual Basic specifications Refer to the NA series Subroutine Reference for details 4 10 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 2 Creating Pages One page represents one screen in the HMI project You can arrange various objects on a page to achieve the required functions There are two types of pages as described in the following table Page Type in the Page Behavior Sizes width and height Application Main Fixed for each model Basic pages Pages can be layered You can specify a transparent color and specify a background page Popup You can set the page sizes as long Warning dialog boxes and other as they are not larger than the main applications page size Main Pages Popup Pages You can specify any size that is not larger than The maximum the maximum size is fixed size You can specify any size that is not larger than the maximum size The maximum size is fixed e Main Pages The main pages are the
133. number Mode Sets the operations to enable from the VNC client Sets the password 3 16 NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 5 Security Settings These settings are used to restrict the operations that can be performed on the HMI and register accounts Setting Procedure for Security Settings 1 Double click Security under Configurations and Setup in the Multiview Explorer The Security Settings Tab Page appears in the Configurations and Setup Layer sbulyes Ajunoes G E Y User Accounts Name Password Role Comment Administrator AS Administrator Default Administrator 3 Y Roles and Access Levels Role Access Level Level 1 Level 2 Level 3 Level 4 Level 5 Administrator v v v v v w Security Settings System Menu Level None Item Description User Accounts Registers user accounts Roles and Access Levels Sets the access level for each role Security Settings Sets the level of operations to permit from the System Menu NA Series Programmable Terminal Software User s Manual V118 3 17 3 HMI Configuration and Setup 3 6 Language Settings These settings are used for multi language projects Project Language and System Language There are two languages on the HMI Project Language The project language is displayed for the project that you create e System Language The system language is displayed for the System Menu
134. on describes how to set up HMIs and connected devices such as Controllers and PLCs 3 2 1 Types of Connected Devices Different operations are used to connect to Controllers that are registered and Controllers that are not registered in the current project Controllers that are already registered in the current project are automatically registered in the HMI project as internal connected devices To connect to a device that is not registered in the current HMI project you must register the device as an external connected device S92u9J9Jos 92IA9Qq 7 3 3 2 2 Connected Devices in the Current Project Controllers that are registered in the current project are displayed as connected devices Use the fol lowing procedure to display the device settings if you need to check them 1 Click Device References under Configurations and Setup in the Multiview Explorer 2 The Controllers that are registered in the current project are displayed under Internal Projects 3 Double click the project to display the following Device Configuration Tab Page seoi Aeg pejy euuoo Jo sed Z N Configurations and Setup Q Y HMI_NAS_0 E Z j wv Device Configuration h4 Use the IP address configured on the internal device project IP Address 192 168 250 1 A Communication Error Indication v 3 Device References Dor sen Conboler D v Al Internal Projects new Controller Q Variable Mapping Device Series L1 HMI Settings Com
135. ons If you select a popup for the behavior setting you can increase and decrease the width and height layout sizes with the arrowheads B on the right side of the box after first selecting the size to change left width right height Behavior Layout 4 14 NA Series Programmable Terminal Software User s Manual V118 4 2 4 Editing Pages You can arrange objects on the pages to achieve the required functions Positioning Objects Drag objects from the Toolbox to position them on a page i New Project HMI NAS 0 Sysmac Studio File Edit View Insert Project HMI Simulation Tools Help Multiview Explorer HMI_NA5_0 b v Configurations and Setup English United States A gt Al Device References Variable Mapping CI HMI Settings Security Settings Language Settings Y HMI Y 53 Pages 7 Page0 gt 4 User Alarms tz Data Logging amp Recipes gt Data 5 Global Events gt i Global Subroutines 13 Resources 2 IAG Resources Moving Objects To move an object click the object and drag it while the cross cursor is displayed NA Series Programmable Terminal Software User s Manual V118 each v V Buttons Button Momentary Button Reset Button Set Button Toggle Button gt Lamps gt Shapes gt Standard Controls gt Gauges gt HMI Controls gt Custom gt Arrows gt Blowers gt Conveyors gt Flags gt Flow
136. or Connected Devices Overview You use HMI global variables to specify memory in a Controller or PLC You assign HMI global variables to connected device variables in advance to map them 1 Variables for connected devices are registered to device variables in the HMI project with one of the following methods a Variables for connected devices that are registered in the same project are registered automati cally b You can copy and paste variables from another project using the clipboard C You can import variables from the external connected device 2 Devices variables are assigned to HMI global variables 3 The assigned HMI global variables are specified in the properties of the objects 4 Then you transfer the project that you created to the HMI Sysmac Studio project Device registered in the project HMI project NJ series Controller Global variables Sysmac Studio zx ar a Ow P am LEFT Variables specified in properties E LF CSLI a OSG L A b Pasted from 4 Transferred clipboard C Importing Different project i e in Sysmac Studio Physical NJ series Controller or other device Global variables Refer to 4 7 Registering Variables on page 4 2 for the details on HMI variables NA Series Programmable Terminal Software User s Manual V118 1 Introduction to the NA series Programmable Terminals 1 2 6 Events Events are trigger
137. or connected when either the HMI or the Controller is selected but the restrictions depend on which is selected as described below You cannot change a device while debugging is in progress e Starting When the HMI Is Selected You cannot use the debugging functions and Simulator control functions of the Controller The only Controller debugging function you can use is monitoring in the Watch Tab Page e Starting When the Controller Is Selected You cannot use the debugging functions of the HMI The only HMI debugging function you can use is monitoring in the Watch Tab Page suonounJ Buibbngeg INH L 2 7 Joye NUIS J9 O4JUOD y YM HulbG6nqeq eullyO S L Z NA Series Programmable Terminal Software User s Manual V118 7 7 7 Debugging I Procedure oynchronization is used to transfer the project from the Sysmac Studio to the HMI otart the Sysmac Studio and create a project Create the Controller program Create the HMI application select Build HMI from the Project Menu to build the project O A C5 ND A Select Run with Controller Simulator from the Simulation Menu a New Project HML NAS 0 Sysmac Studio File Edit View Insert Project HMI Simulation Tools Help Multiview Explorer HMLNA5_0 v w Configurations and Setup English United States v 3 Device Ref 4 Mm RENS Clear All Breakpoints Ctrl Shift F9 TI HMI Settings Run with Controller Simulator amp Security Settings ES Additional In
138. ources in an IAG from the menu that is displayed when you right click the IAG e L LA b Configurations and Setup Language Settings E TAG Collection Settings P col IAGs gT Resources Configurations and Setup HMI Language Settings IAGs IAG Collection Settings Resources o N Q 0 pejoel egs S 1oefoJd Oy ue UBYM seoueJeJlld L 2 6 NA Series Programmable Terminal Software User s Manual V118 9 3 9 Reusing Objects I Toolbar This section describes the differences in the Toolbar compared with a standard project e insert Menu item Remarks IAG Inserts a new IAG in IAGs e Project Menu Build IAGs Publish IAG Collection fem Remarks Build IAGs Builds all of the IAGs Publish IAG Collection Saves an IAG collection in a file format that you can use in a standard project I Language Settings You can set the languages to use in the IAG Default language English United States a Afrikaans South Africa Albanian Albania Arabic Algeria Arabic Bahrain Arabic Egypt Arabic Iraq Arabic Jordan b Arabic Kuwait Arabic Lebanon Arabic Libya c Arabic Morocco Arabic Oman Arabic Qatar Arabic Saudi Arabia Arabic Syria Arabic Tunisia Arabic U A E Arabic Yemen Belarusian Belarus Bulgarian Bulgaria Chinese Simplified PRC Chinese Simplified Singapore Chinese Traditional Hong Kong S A R Chinese Tradition
139. outine groups You can use subroutine groups to separate subroutines by purpose 1 Right click HMI Global Subroutines in the Multiview Explorer and select Add Group from the menu P Pages P 4b User Alarms f Data Logging E Recipes MIC Data amp Global Events i Global Subroutines Resources 62 TAG Resources SubroutineGroup1 is added under Subroutine Groups P 43 User Alarms FS Data Logging E Recipes P Data amp Global Events i SubroutineGroup1 2 Double click the new subroutine group A tab page for the Code Editor is displayed in the HMI Layer of the Edit Pane 1 Add global subroutines E 2 Deleting Copying and Pasting Subroutine Groups You can delete copy and paste subroutine groups using the same procedures as those that you use for pages 4 24 NA Series Programmable Terminal Software User s Manual V118 4 Creating the HMI Application 4 3 6 Setting Up Resources Resources Resources are the text strings movies still images and documents that are displayed for objects and alarms on user pages You can use Resources to manage all of the text strings images files and other resources that you use in a project For multi language projects you can set resources for each project language Setting Up Resources To set up a resource select the resource to set up and then make the settings T C3 o o zt 3 O O 3 3 O 3 O S D O e T1 c 3
140. outines Page subroutines are specific to one page You create page subroutines with the Code Editor for a page in the HMI project You can directly create the subroutines to execute in the events for individual objects on pages NA Series Programmable Terminal Software User s Manual V118 4 27 4 Creating the HMI Application 4 4 1 Subroutine Execution You can execute subroutines in the following ways e Execution from Global Events You can execute a global subroutine from a global event Execution from Page and Object Events You can execute a page subroutine or global subroutine from a page or object event e Execution from User Alarm Events You can execute a global subroutine from a user alarm event Execution from Global Events The following example shows how to use a global event to execute a global subroutine In this example settings are made to execute the global subroutine when the F1 Key is pressed 1 Display the global events and select F1KeyPress as the event 2 Select CallSubRoutine as the action Y Events Y 0 3 For the subroutine name specify the name of a previously created subroutine in the following v Select Event to Add gt Condition FiKeyPress FiKeyClick FiKeyRelease F2KeyPress F2KeyClick F2KeyRelease F3KeyPress F3KeyClick F3KeyRelease Interval Projectinitialization Select Event to Add gt v FiKeyPress ClearUserAlarmLog ClosePage DecreaseVariabl
141. per and lower limits Changes the height of the object according to a specified condition expression Changes the width of the object according to a specified condition expression Rotates a graphic object based on a condition expression Displays the object when a condition expression is met I Events and Actions You can make settings for object events and corresponding actions You can specify events and the actions to perform when the events occur You can specify the required conditions and operations such as executing a specified subroutine when a function key is touched The events and actions are listed in A 7 Events and Actions on page A 2 NA Series Programmable Terminal Software User s Manual V118 5 1 3 Using Objects 5 Objects The objects are provided in the Toolbox on the right side of the window You can create them on pages and set the properties and animations and also the events and actions New Project HMI NAS 0 Sysmac Studio File Edit View Insert Project HMI Simulation Tools Help A i Multiview Explorer 1 TT 24 HMI naQa Tn I Paged x x gt Configurations and Setup English United States v v 53 Pages HMLNASO v gt User Alarms fz Data Logging B Recipes E Data 5 Global Events gt A Global Subroutines 3 Resources 2 IAG Resources UE os PES Creating Objects Sr Toolbox oe fie aaa Search Y m m m DB D B B BR Ld
142. plashing oil or chemicals e 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 electric field or magnetic field Locations close to power supply lines Locations subject to possible exposure to radioactivity NA Series Programmable Terminal Software User s Manual V118 Regulations and Standards Regulations and Standards Conformance to EC Directives i Applicable Directives e EMC Directive p Concepts e 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 the 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 Compatibility standards are as follows EMS Electromagnetic Susceptibility EN 61131 2 2007 EMI Electromagnetic Interference EN 61131
143. py 1 of added to the front of the name of the page that was copied All of the contents of the page are also copied Y Pages HH Paged HH Copy 1 of Paged EN Additional Information You can change the names of pages Right click the page and select Rename from the menu e f you copy a page from another product and a page with the same name already exists the page will be named as a copy NA Series Programmable Terminal Software User s Manual V118 4 13 4 Creating the HMI Application 4 2 3 Page Property Settings You can set properties for the pages l Setting Properties 1 Right click in a location in the Edit Pane where there is no object and select Properties 2 Set the properties for the page in the Properties Window that is displayed Item classifi cation General Name Defaults Page0 Page1 All names must be unique M paa Type Page Cannot be Appearance Background Color Select the color A transparent page will automati Default Black cally be set if a background page is specified Behavior PageType Main or Popup BackgroundPage Select a previously cre A background page can be set ated page only for a main page Layout Size Width Height The default is the maxi You can change the size if the mum size for the model behavior setting described above is set to a popup You cannot change the size of main pages Remarks Click the arrowhead deh at the right of each item to make selecti
144. r details Y Device Configuration Device Configuration r Communications Configuration Device Name ExternalDeviceO IP Address 192 168 250 1 Device Vendor Omron v Timeout seconds Device Series NJ ka Communication Error Indication Communication Driver Ethernet Import Status Not Imported v Import Variables Update Variables Y Device Variables Name Data Type Comment AT sobole pejoeuuo euJo9jx3 Buuejsibe 7 NA Series Programmable Terminal Software User s Manual V118 3 5 3 HMI Configuration and Setup Importing External Connected Device Variables To connect the HMI to a device that is not registered in the current HMI project you must import the variables from the external connected device There are two ways to import external connected device variables Importing device variables online from the actual external connected device Copying variables from the variable table in another project e Importing Device Variables Online from the Actual External Connected Device Click the Import Variables Button The variables are imported from the external connected device Refer to the NA series Programmable Terminal Device Connection User s Manual Cat No V119 for details Copying Variables from the Variable Table in Another Project You can use the clipboard to copy the required variables from the Support Software for the con nected device and paste
145. r to read all of the specified variables as a group You can manipulate the registered recipe data with Recipe Viewer objects Registering a New Recipe To use recipes you must create them 1 Right click HMI Recipe in the Multiview Explorer and select Add Recipe Template from the menu gg Pages P 4 User Alarms f Data Logging Recipes Recipe Template b Data E Global Events gt g Global Subroutines RecipeO is added under Recipes gt E Pages P User Alarms f Data Logging Y Recipes E Reciped 2 Double click the new RecipeO A tab page to make settings for RecipeO is displayed in the HMI Layer of the Edit Pane You can set the variables to use and other parameters Ingredient Name Variable Default Value Min Value Max Value Visible Editable Deleting Copying and Pasting Recipes You can delete copy and paste recipes using the same procedures as those that you use for pages NA Series Programmable Terminal Software User s Manual V118 4 21 gt oo o D ct 5 e O o 3 3 o 5 O S D O e T1 c 5 o E o o sedioes DuuejsiDes e e p 4 Creating the HMI Application 4 3 4 Setting Global Events and Corresponding Actions Global Events Global events occur at the project level and do not belong to any specific page When a global event occurs the action that is assigned to the event is executed e Global Events Global events include function key operat
146. rActive Screen Saver Sta Tells whether the screen saver is Boolean R W tus active 3 True Active False Not active a HMI ManagedRAMInUse Usage of Man Gives the total bytes of managed RAM ULong R o aged RAM that is currently allocated to some pro S cess a D o HMI Millisecond Current Millisec Gives the milliseconds in the current Integer R onds time HMI Minute R HMI RAMInUse Usage of RAM Gives the total bytes of RAM that is ULong R Cete i eat alocate o some posses o HMI RAM Total Total RAM Gives the total bytes of RAM that the ULong R system is using or can use This is not the currently usable amount of RAM HMI RunSignal Run Signal Changes periodically while the HMI is Boolean R HMI Second Current Seconds Gives the seconds in the current time R NA Series Programmable Terminal Software User s Manual V118 4 9 4 Creating the HMI Application e Alarm related Variables type HMI AlarmCount Alarm Count Gives the number of alarms that have Integer Occurred since startup HMI AlarmsClearedNotAck Cleared Unac Gives the number of alarms that are Integer knowledged cleared but not acknowledged Alarms HMI AlarmsNotAck Unacknowledged Gives the number of alarms that are Integer R Alarm Count not acknowledged HMI AlarmsRaised Current Alarm Gives the number of current alarms Count HMI AlarmsRaisedNotAck Unacknowledged Gives the number of current alarms I
147. rch and Replace Results Tab Page Alt b Config Page Explorer Corl Shitt 1 Code Explorer Ctrl Shitt 2 Animations Ctrl Shitt 4 Events and Actions Col Shitt 5 Zoom d Reset Window Layout a Multiview Explorer Properties SENE 7 Ho es YV General gt Configurations and Setup ker on Button0 Type Button Y 53 Pages Page0 gt User Alarms tz Data Logging Text Default Button amp Recipes Font Segoe UI 12 Normal gt E Data 5 Global Events gt A Global Subroutines 73 Resources Margins L T R B 2222 2 IAG Resources WordWrap v V Appearance Design Rectangle HorizontalAlignment Center VerticalAlignment Center TextColorButtonUp a Black TextColorButtonDown E Black BackgroundColorButtonUp Linear BackgroundColorButtonDown Linear BorderColorButtonUp H Linear BorderColorButtonDown m Linear BorderThickness CornerRadius X Y IsVisible Y Behavior IsEnabled DoubleTouchTime OnDelayTime OffDelayTime Y Layout gt Position Left Top gt Size Width Height Y Security Output AccessLevel VisibilityLevel H Filter 5 8 NA Series Programmable Terminal Software User s Manual V118 5 Objects Make the following settings as required Setting Animations 1 Select Animations from the View Menu Multiview Explorer ELI Toolbox Alt 2 Output Tab Page Alt 3 Midi
148. rd the back EA Send to Back This button moves an object to the back l Align Left This button aligns the left edges of the selected objects P N Q D D et 5 ro U A Q D t EJ Align Center Vertical This button aligns the centers of the selected objects vertically El Align Right This button aligns the right edges of the selected objects Align Top This button aligns the top edges of the selected objects seDeg unpa v z r H Align Center Horizontal This button aligns the centers of the selected objects horizontally m Align Bottom This button aligns the bottom edges of the selected objects Distribute Horizontally This button positions the centers of the objects at equal distances horizontally Distribute Vertically This button positions the centers of the objects at equal distances vertically English United States Change Language This box changes the project language that is displayed in the Edit Pane NA Series Programmable Terminal Software User s Manual V118 4 17 4 Creating the HMI Application 4 3 Setting Common Object Functions This section describes the settings for functions that are shared by the entire HMI project The following functions are provided User alarms Data logging Recipes Global events Global subroutines e Resources AG resources 4 3 1 Registering User Alarms User Alarms You can specify conditions for specified variables to disp
149. reate a Button tion Manual W504 project Use HMI on the Insert Section 2 Basic Sysmac Studio Menu Operations 10 euYnpo20J0g Dunejedo c r I o s iEejeq eunpeoO0Jd Z E 1 Introduction to the NA series Programmable Terminals Them We recommend this procedure as the basic procedure Connecting to a Connected Device Registered in the Current Project STEP 2 2 Software Set tings Configura tions and Setup e Mapping Vari ables HMI Settings Security Set tings and Lan guage Settings Make the initial software settings on the Sysmac Studio Assign global variables to con nected device variables map ping variables Set the parameters related to the HMI Startup Page Brightness Set tings IP Address FTP Settings NTP Settings FINS Settings VNC Settings etc Set the operation rights to the HMI and the language to display on the HMI Use Configurations and Setup in the Mul tiview Explorer of the Sysmac Studio Map the variables under Configura tions and Setup Variable Mapping Make the settings under Configura tions and Setup HMI Settings Make the settings under Configura tions and Setup Security Settings and Configurations and Setup Language Settings Connecting to a Connected Device Not Registered in the Current Project STEP 2 2 Software Set tings Configura tions and Setup Device Settings Make the initial software
150. reated and confirm the following that cor 2 Operation rect values are written to the Check on NA Unit connected device that the pages change correctly and that values set at the connected device are updated 3 Actual System Start actual operation Operation 1 16 NA Series Programmable Terminal Software User s Manual V118 Basic Sysmac Studio Operations This section describes basic operations on the Sysmac Studio 2 2 2 3 2 4 2 5 Parts of the Sysmac Studio Window 2 2 2 1 1 Application Window cer IRR 2 2 Menu Command Structure es 2 6 Basic Editing Operations oi aica scone E n ue eae eee RR RR RE xx 2 8 Sysmac Studio Settings and Operations 2 10 2 4 1 Setting Parameters llli 2 10 2 422 POAN siad a tewte d gea S dpi e nf auo caida Su odor ed oe Shee cod 2 10 2 4 3 IDFA FUNCIONS rcx uis bt qo dot horas ede vem ete ee uud ee toe evt ps e 2 11 2 4 4 Operations for Debugging 2 0c ees 2 11 24 5 COMMUNICALIONS s ix220dicckei4 ARR Ea bee see ee EEG he MENS 2 11 2 4 6 S5ecunty Mesgsul6eS a ncbo pav VWbees Ries Ead aS eS 2 11 2 65 Onlnmnedlelpss soc ed etr Pee Adena dd bane s S peat 2 12 Basic Operations for HMI Projects else 2 13 2 5 1 Creating a Project File from the Project Window 2 13 2 5 2 Adding an HMI to an Existing Pro
151. rovided 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 23 Related Manuals Manual name Ethernet Units Oper ation Manual Con struction of Applications CS CJ series Ether W465 CJ2H CPUGLI EIP Net IP Units Oper CJ2M CPU3L ation Manual CS1W EIP21 CJ1W EIP21 Sysmac Studio Ver W504 SYSMAC SE2LILIL sion 1 Operation W446 CXONE ALLILIC V4 CXONE ALLILID V4 W421 CS1W ETN21 CJ1W ETN21 Manual CX Programmer Operation Manual 24 Cat No Modes Applications Learning how to use an Ethernet Unit Learning how to use the built in EtherNet IP port of the CJ2 CPU Units Learning about the operating proce dures and func tions of the Sysmac Studio Learning about the CX Programmer except for informa tion on function blocks ST pro gramming and SFC programming NA Series Programmable Terminal Software User s Manual V118 Description 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 Information is provided on the built in EtherNet IP port and EtherNet IP Units Basic settings tag data links FINS communications and other functions are
152. s Watch Tab Page Alt 4 Build Tab Page Alt 6 Search and Replace Results Tab Page Alt Page Explorer Ctrl Shift 1 Code Explorer Ctrl Shitt 2 Properties Cirl Shitt 3 Events and Actions Ctrl Shift 5 e ki oom o Reset Window Layout z Oo e o v zi Multiview Explorer J mem 2 HMI ButtonO mae Animations lt Select Animation to Add gt gt Configurations and Setup Y 53 Pages 7 Page0 gt 4 User Alarms tz Data Logging amp Recipes gt E Data 5 Global Events gt Global Subroutines 5 Resources 2 IAG Resources a C2 C D 2 Q O 5 D O e o Output NA Series Programmable Terminal Software User s Manual V118 5 9 5 Objects I Setting Events and Actions 1 Select Events and Actions from the View Menu Multiview Explorer Alt 1 Toolbox Alt 2 Output Tab Page Alt 3 Watch Tab Page Alt 4 Build Tab Page Alt 6 Search and Replace Results Tab Page Alt Page Explorer Ctrl Shift 1 Code Explorer Col Shitt 2 Properties Ctrl Shitt 3 Animations Ctrl Shift 4 Zoom d Reset Window Layout v a 2 Multiview Explorer ii E HMI HMI NAS 0 B kcal gt Configurations and Setup v 53 Pages 7 Page0 gt lt User Alarms tz Data Logging amp Recipes gt E Data 5 Global Events gt A Global Subroutines 3 Resources 2 IAG Resources Output NA Series Programmable Terminal Software User s Manual V118 5 Objects 5 2 Exa
153. s that activate actions 1 Actions are various operations that can be directly assigned to events S N O z T o O o D o e D Events occur when the common page status or object status meets certain conditions Events are classified into three groups as shown below Group Description Global events Events that occur for shared project status Nu N Events Page and object events Events that occur for specific page or object status m 3 n User alarm events Events that occur for user alarm status NA Series Programmable Terminal Software User s Manual V118 1 7 1 Introduction to the NA series Programmable Terminals 1 2 7 Subroutines You can execute user created subroutines in the HMI based on the following three types of conditions e When global events occur When events occur on pages or for objects e When user alarm events occur There are two types of subroutines that you can create Global Subroutines You create these subroutines under the global subroutine item of the HMI project Page Subroutines You create these subroutines with the page code editor You can use Visual Basic to write both the global subroutines and the page subroutines Sysmac Studio project Global events i e events shared by all pages 0 Event F1 Key Click Action CallSubroutine Global subroutine 1 Event Interval Events Action IncreaseVariable Coded in Visual Basic Object event
154. set the needle cap for a gauge Data You can set the data set for data logging Left Axis You can set the left axis for a graph Right Axis You can set the right axis for a graph Time Scale You can set the time axis for a graph NA Series Programmable Terminal Software User s Manual V118 5 Objects e Notation for Expression If you specify a BOOL variable e g for a Lamp object you can specify an expression for the Behavior property Examples of the expression notations are given below Example 1 Executing a Function when a Boolean Variable b nSample in this Example Is True bInSample True Example 2 Executing a Function when an Integer Variable intSample in this Example Is Less Than 20 intSample 20 Example 3 Executing a Function when a Boolean Variable blnSample in this Example Is True and an Integer Variable intSample in this Example Is Less Than 20 blnSample True AND intSample 20 q O S D O e T Example 4 Setting a Value by Adding 100 to an Integer Variable intSample in this Example intSample 100 Notation for CustomDisplayFormat If you set DisplayFormat to Custom for a Data Display object you must set the custom display for mat CustomDisplayFormat The basic format is 0 where is replaced with the result of Expression This format follows the specifications of custom numeric format strings in Visual Basic For details refer to the Microsoft website or to
155. settings on the Sysmac Studio Register the external connected devices You can do either of the follow ing a Importing Variables from the Actual Connected Device Place the Sysmac Studio online with the connected device and import the vari ables from the connected device b Importing Variables from Another Project Copy the variable table in the other project and paste it in the variable table for the con nected device to import the variables Use Configurations and Setup in the Multiview Explorer of the Sysmac Studio Add the connected device under Configu rations and Setup Device References Set up communica tions and import the variables Copy the variable table from another project using the clipboard e Determining the Connected Device Variables and Mapping HMI Variables to Section 3 HMI Config uration and Setup 3 3 Mapping Vari ables on page 3 7 3 4 HMI Settings on page 3 10 3 5 Security Settings on page 3 17 3 6 Language Set tings on page 3 18 Section 3 HMI Config uration and Setup 3 2 Device References on page 3 3 NA Series Programmable Terminal Software User s Manual V118 1 Introduction to the NA series Programmable Terminals Assign global variables to con nected device variables mapping variables e Mapping Vari ables Set the parameters related to the HMI Startup Page Brightness Set tings IP Address FTP Settings NTP Settings FINS Se
156. t IP are trademarks of ODVA The SD and SDHC logos are trademarks of SD 3C LLC Sy ud 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 Introduction Introduction Thank you for purchasing an NA series Programmable Terminal This manual contains information that is necessary to use the NA series Programmable Terminal Please 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 Intended Audience This manual is intended for the following personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent Personnel in charge of introducing FA systems Personnel in charge of designing FA systems Personnel in charge of installing and maintaining FA systems Personnel in charge of managing FA systems and facilities Applicable Products This manual covers the following products NA series Programmable Terminals NA Series Programmable Terminal Software User s Manual V118 1 Relevant Manuals Relevant Manuals The basic information required to use an NA series PT is provided in t
157. t notice Cat No V118 E1 01 0614
158. tch Tab Page Controlling Execution with You can control simulation execution to monitor Section 7 Debugging Breakpoints and Step Execu the program or to check operation tion Step execution and pausing are also possible 2 4 5 Communications fem Reference Going Online with an HMI You can place the computer online with an HMI Section 6 Connecting to the to synchronize the project HMI 2 4 6 Security Measures fem Reference Prevention of Confirming HMI If the device name or the serial ID is different 3 5 Security Settings Incorrect Con device Names and between the project and the HMI when an on page 3 17 nections Serial IDs online connection is established a confirmation dialog box is displayed Preventing Incor Operation Author You can use operation authorities to restrict the rect Operation ity Verification ability to perform operations or display data Prevention of the Password Protec You can set password protection for project files Theft of Assets tion for Project to protect your assets Files NA Series Programmable Terminal Software User s Manual V118 2 11 2 Basic Sysmac Studio Operations 2 4 Online Help fem Reference Sysmac Studio Help System You can access Sysmac Studio operating pro Keyboard Mapping Reference You can display a list of convenient shortcut 2 12 NA Series Programmable Terminal Software User s Manual V118 2 Basic Sysmac Studio Operations 2 5 Basi
159. tch 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 NA Series Programmable Terminal Hardware User s Manual V117 S d seues vN Duillejsu e 2 eo zx 5 a o n D sj o Q fe E E 9 U o o Manual Structure Level 1 heading Level 2 heading Level 3 heading Give the current headings Page tab Gives the number of the main section Note This illustration is provided only as a sample It may not literally appear in this manual NA Series Programmable Terminal Software User s Manual V118 Manual Structure Special Information opecial 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 l Precautions for Correct Use Indicates precautions on what to do and what not to do to ensure proper operation and perfor mance EN Additional Information Additional information to read as required This information is provided to increase understanding or make operation easier L Version Information Information on differences in specifications and functionality with different versions is given NA Series Programmable Terminal Software User s Manual V118 Sections in this Manual
160. te deor totes See hea eee ue bad Di aded 4 26 SUDTOUTMES tii RE TTE T tiers 4 27 4 4 1 Subroutine EXeCULUOLD ssi oesesd a ein Cheese eee ee 4 28 4 4 2 Precautions on Internal Processing ccccccssccecsececssseceesseceesseeensseeesesecensaesesseeeenseesesseeseess 4 31 AAS COC ECON m TC c 4 31 4 4 4 Differences in Language Specifications cccccccseecceeeceeeeeeeeeeeeeeeaeeeeeessaeeeeeeseeeeeesageeeessaeeeees 4 31 Seadrch and RebDIaCe icio usen ev cover tw Sa ens tenu Ev bri peu DM Sauce eaoa DEDE SIM EVI DI RI FE EFL ERRAR 4 32 BS LINGUS eet RES 4 33 4 5 1 Budos o ne ene eet cute sci A D EUR LL NEM tei LINK side Nia 4 33 4 5 2 Build Ope raion ume suite chque e ust a Mant ael oai becesioct ati edtee ebbe ioleule e neut ane eee 4 33 Offline C OMPAFIS ON siio avia Coca TES RRRukE S QUANT DER ze VA EC eERN S CuNNT OE MUEVE EARN PE M RRMVE VN FRE MEE EPEDKPEE 4 34 Objects Sells mc R 5 2 LEE ug cm T B r 5 2 STe ODISGEATIDUIGS o EH p MIR EE MEME REEL M D MI UE 5 3 Seo USM MSls ec TEE PRETENDE 5 7 Examples of Using Objects nicis ue oriret og eov pxk co beu epudV sio vaa aua EN ha aix C Egan RT Cue uauir uk VE RE UUdRUEE 5 11 521 Displaying a POF FIE RR E UT 5 11 9 22 Displaying a User AIAIIM eeina E eel leerkadhvcebeeinatadedeieeutediuaastunsentr ovens 5 13 5 2 9 Displaying a Trend Graph eeina eoe ede i pet
161. ted and the following window is displayed New Project IAG IAG Device 0 Sysmac Studio Jem Multiview Explorer 1 TT Toolbox I Seach v gt Configurations and Setup b HMI 7 oo E 3 Create the IAG with the same methods as for a normal page F New Project IAG IAG Device 0 Sysmac Studio Vv Multiview Explorer A one gt Toolbox HMI per Fam QQ TET HR AGO x 7 Y Configurations and Setup LIST eS English United States v A Language Settings gt Buttons E IAG Collection Settings v mIAGs Date and Time Message Priority Group 3 Resources ub o 4 Select Build IAGs from the Project Menu Sample Project IAG IAG Device 0 Sysmac Studio File Edit View Insert Project Simulation Tools Help Build IAGs F8 Publish IAG Collection NA Series Programmable Terminal Software User s Manual V118 gt Lamps gt Shapes Y Standard Controls v CheckBox Data Display CA 5 DateTime ma DropDown Image ABC Label T ListBox Radio Button Slider ea TextBox gt Gauges gt HMI Controls gt Custom P Arrows gt Blowers gt Conveyors gt Flags gt Flow Meters gt Hoppers gt Motors _ Data Edit A Data Edit object o N i 0 pyl ue DuneeJ2 7 2 6 9 Reusing Objects 5 Select Publish AG Collection from the Project Menu Build IAGs F8 6 Click the Browse Button and specify
162. the HMI Application e Initial Value Attribute Data Type Initial Value AT Retain Constant Update Rate Comment E m Specify a value for the variable for one of the following situations when the Retain attribute is not specified e When the power supply is turned ON e When you specify to initialize the value when the project is transferred Enter a value directly or select an item from the list the values in the list depend on the data type If you do not enter an initial value O is used as the initial value Select None for no initial value You cannot specify the Initial Value attribute for an external variable AT Attribute T A D 2 o e D Z 5 amp gt D z D t Data Type Initial Value AT Retain Constant Update Rate Comment This attribute is specified for external variables Use the following format Device name Device variable name Retain Attribute Data Type Initial Value AT Constant Update Rate Comment m Specify whether to retain the value of the variable in the following cases e When the power supply is turned ON e When you do not specify to initialize the value when the project is transferred You cannot specify the Retain attribute for an external variable e Constant Attribute Se qeueA eqo d 10 SPON Aug pue seynquiyy v L b Data Type Initial Value AT Tea Update Rate Comment E E If you set the Constant attribute you ca
163. the NA series Programmable Terminals e Standard feature SD Memory Card Slot You can use an SD Memory Card inserted in the NA Unit to automatically transfer the project you created on the Sysmac Studio to the NA Unit to update the system program in the NA Unit or to save the log data from the NA Unit g Software Features e Specifications with Variables for Superior Reusability If you connect to an NJ series Controller all you have to do to specify memory in the Controller is to specify the Controller variables This allows you to create objects that are not dependent on specific devices or memory maps This in turn makes the objects much more reusable than they were with previous PTs o qeuiuieJDoJ4gd sauos vN L L D 3 5 a o seJnjeeJ e Program with Visual Basic You can use Microsoft s Visual Basic to program advanced functions that you cannot achieve with standard objects A Wealth of Security Features The many security features of the NA series PTs include operation authority settings and execution restrictions with IDs Use the Integrated Development Environment of Sysmac Studio Automation Software You use the Sysmac Studio to create applications for the NA series Programmable Terminals The Sysmac Studio provides an integrated development environment that covers not only the NA series Programmable Terminal but also the Controller and devices on EtherCAT as well You can use consistent proced
164. the devel opment of HMI applications e Intelligent application gadgets IAGs Custom objects IAGs and custom objects are different in the following ways e You can distribute IAGs to other parties You can use custom objects only on the Sysmac Studio e You must treat IAGs as IAGs even after you place them on pages You treat custom objects like any other objects after you place them on pages e After you place an IAG on a page you can change only the properties of the IAG objects You can change any of the attributes of custom objects e You can hide the contents of subroutines in IAGs Therefore you can provide IAGs to other parties without disclosing technology You can customize objects yourself and create reusable objects that combine other objects NA Series Programmable Terminal Software User s Manual V118 9 Reusing Objects 9 2 IAGS An IAG is a library object that you can distribute to other parties To create a new IAG you must create itin an IAG project This section describes the procedures to create and use IAGs 9 2 1 Differences when an IAG Project Is Selected Even when an IAG project is selected basic operations are generally the same as for a standard proj ect However the following items are different Layers and Items in the Multiview Explorer The structure of the Multiview Explorer when you select an IAG project is shown below You can edit the user defined variables subroutines and other res
165. 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 minutes 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 dispose 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 according to local ordinances as they apply 1 2 8 Be ith A Rl The following precaution must be displayed on all products containing lithium primary batteries with a perchlorate 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 exporting a product containing the NA Series to or shipping such a product through California USA label a
166. tional Differences When an HMI Is Selected The following differences exist in synchronization when an HMI is selected Detailed comparison is not supported Algorithm checking is not supported Therefore there is no way to prevent mismatches in build dates that result from rebuilding Uploading is not supported e You can download only executable files i e only built files Therefore you cannot recover a project from the data in the HMI Always manage projects on the computer e You must download the entire project to the HMI at the same time You cannot download smaller units of project data If the project version specified in the project is newer than the version of the project in the HMI the runtime files will always be transferred You can transfer the system program The system program is automatically transferred when other data is downloaded if updating the system program is necessary he following synchronization options are provided l When trans UE Option Default o fords anabled Description Clear the present values of Selected Values written If this check box is selected the present val variables with Retain attribute to HMI ues of Retain variables are cleared after the Qo data is downloaded z Clear alarm log data from Selected Values written If this check box is selected the alarm log in s memory mE to HMI non volatile memory is cleared If you have zl changed the user alarm settings you can
167. to a variable Momentary Button Used to change the value of the specified variable to True only while the object is being touched Set Button object Used to change the value of the specified variable to True when the m object is touched Reset Button object Used to change the value of the specified variable to False when the ne object is touched Toggle Button object Used to toggle the value of the specified variable between True and m False when the object is touched Lamps Bit Lamp object Lit while the result of the condition expression is True Data Lamp object Used to change the color of the lamp according to the value of a condi tion expression Standard con CheckBox object Used to change a variable to True or False depending on whether the trols check box is selected Also the check box can be displayed when the value of the specified variable changes Data Display object Used to display numeric values or text strings Data Edit object Used to display and enter numeric values or text strings DateTime object Used to display the value of a variable as a date and time DropDown object Used to store the value that corresponds to the item selected in a drop down list in a variable Also the item that corresponds to the specified variable value is displayed Image object Used to display an image Refer to A 2 Supported Formats on page A 4 for the supported formats Label object Used to display a fixed text string Also
168. ttings Transfer Operations Hardware Diagnostics Production Information Touch the Transfer User Program to HMI Button ree Transfer User Transfer User Transfer Data To Transfer Data From Program To HMI Program From HMI HMI HMI 8 Select the project to transfer and touch the Transfer to HMI Button to download the selected project to the HMI Source Media USB Storage Ww Last modified ES Transfer to HMI NA Series Programmable Terminal Software User s Manual V118 Reusing Objects This section describes how to reuse objects 9 1 9 2 REUSING ODICCS uat Sota tw 3 oC Ce CR e o ee dE ee 9 2 IAGS oss oc ls LIN Lid EE REA UL ES ETE EOD DN Bh he S eR RC 9 3 9 2 1 Differences when an IAG Project Is Selected 0 200000 9 3 g 2 2 rOreatndg3dpsb AG sce deuce a sik otn eom irte eee TOP GY Ah BSG edito 9 6 9 2 3 USINO AGS Mer CH eee det eat ae eee eas teed ia eee onto ot 9 9 Custom ODIGCIS 31 5028 ee ee rwn pr Cee EE EE ee NEIN 9 11 9 3 1 Objects That You Can Register as Custom Objects luu 9 11 9 3 2 Creating Custom Objects lleleeeeeee ens 9 11 9 3 3 Deleting Custom Objects ellen 9 14 9 3 4 Using Custom Objects llle 9 15 NA Series Programmable Terminal Software User s Manual V118 9 1 9 Reusing Objects 9 1 Reusing Objects The Sysmac Studio provides the following two functions to simplify and increase the speed of
169. ttings VNC Settings etc Set the operation rights to the HMI and the language to display on the HMI HMI Settings Security Set tings and Lan guage Settings STEP 2 3 Create the application pages Creating the HMI variables subroutines etc with Application the Sysmac Studio Register the variables in the HMI global variable table with the TE Sysmac Studio 1 Registering Variables Note Variables that were mapped in step 2 2 are automatically regis tered in the HMI global variables table Paste the objects on each page and set the object properties and other settings Create the subroutines 2 Creating Pages You can create the following e Global subroutines 3 Creating Sub Page subroutines routines 4 Settings Make the settings that are shared by the project alarms Shared by All l recipes data logging global Pages events etc STEP 2 4 Building the HMI e Check the operation of the STEP 2 5 Offline Debug pages on the Simulator a virtual HMI ging NA Series Programmable Terminal Software User s Manual V118 Map the variables under Configura tions and Setup Variable Mapping Make the settings under Configura tions and Setup HMI Settings Make the settings under Configura tions and Setup Security Settings and Configurations and Setup Language Settings Use HMI in the Multiv iew Explorer of the Sysmac Studio Use the editor
170. u perform an offline comparison for a project that contains an HMI as a device information on the HMI is not included in the comparison results 4 34 NA Series Programmable Terminal Software User s Manual V118 Objects This section describes the objects that are provided as standard features On QODICCIS sons Sans due word ac Rb SCRI RUE Vio o eo Re wget e era bu a HD CEP RC a 5 2 9x14 ODBISCULEISI mde Ead ant Soc sedere doce bert at tel Nae arta 5 2 5 172 Object AUFIDHMOS i ve oe D ee dae Ra obe eb eee ta 5 3 ales using DISCS 25 co 5 ee ardeo poets oic Ge AR tee na Se prit ci uter he epee 5 7 5 2 Examples of Using Objects llelelens e 5 11 5 2 1 Displaying a PDF File cerns tool Rc os RUD E ned ERCe Pavone S do ds 5 11 5 2 2 Displaying a User Alarm uds e oe he rex hae oe aS 5 13 5 2 3 Displaying a Trend Graph 0 cc ee eee 5 15 5 2 4 Using a Recipe sue de Edo ere f ade hE ie od ed a eU ede Bg 5 17 NA Series Programmable Terminal Software User s Manual V118 5 1 5 Objects 5 1 Objects Basic objects are provided in the Sysmac Studio as standard features You can use these objects to easily create pages 5 1 1 Object List The following objects are provided i Functional Objects A functional object provides some sort of function by itself Classification Object name Description Buttons Button object Used to execute an action without writing a value
171. uble click a V cepi e subroutine to edit it S SubroutineGroup0 3 GlobalSub1 Y 53 Pages Subroutine Y F PageO vb 7 WrtiteSubroutine Edit Pane b The basic Sysmac Studio operations on the Edit Pane generally apply to HMls If an HMI is selected you can edit pages and set up the HMI 2 4 NA Series Programmable Terminal Software User s Manual V118 2 Basic Sysmac Studio Operations Toolbox c The Toolbox shows the objects that you can use to edit the page that is displayed in the Edit Pane You can also display the Properties Window Animations Window and Events and Y Buttons Actions Window to make the settings of the objects Button Momentary Button Reset Button N I U o a o gt e o o lt 0 3 D O o e c 2 o a z Set Button Toggle Button Standard Controls Gauges HMI Controls Custom Arrows Button A Button object MODpUIAA Uoneorddy Z NA Series Programmable Terminal Software User s Manual V118 2 5 2 Basic Sysmac Studio Operations 2 2 Menu Command Structure The menu commands that are displayed when an HMI is selected as the device are listed below Menu Submenu command File Close Save Save As Save As New Number Export Exit Edit Undo Redo u Copy Paste Delete Select All Search and Replace View Multiview Explorer Toolbox Output Tab Page Watch Tab Page Build Tab Page Search and Replace Res
172. ults Tab Page Page Explorer Code Explorer O 3 o O r Properties Animations Events and Actions Zoom Zoom In Zoom Out Zoom to Fit Zoom Reset Reset Window Layout Insert Controller NJ301 NJ501 HMI NA5 Measurement Sensor ZW Vision Sensor FQ M FH External Device Page Page Group User Alarm Group Data Set Recipe Global Subroutine Group Project Build HMI Abort Build IAG Collections Manager 2 6 NA Series Programmable Terminal Software User s Manual V118 2 Basic Sysmac Studio Operations Menu Submenu command HMI Communications Setup Change Device Online Offline Synchronization Transfer to Media Device HMI Clock Update HMI Name Security HMI Write Protection Clear All Memory Reset HMI Device Simulation Start NA Simulation Stop NA Simulation Step Execution Step In Step Out Continue Set Clear Breakpoint Clear All Breakpoints Run with Controller Simulator Tools Option Help Help Contents Keyboard Mapping Reference Online Registration About Sysmac Studio N D 5 c O O 3 3 D 5 o o e c O e D NA Series Programmable Terminal Software User s Manual V118 2 7 2 Basic Sysmac Studio Operations 2 3 Basic Editing Operations This section describes differences in basic Sysmac Studio operation when an HMI is selected as the device Entry Assistance There are some differences in the standard operation of the Sysmac Studio when an HMI is se
173. ures for all devices regardless of differences in the devices The Sys mac Studio supports all phases of Controller application from page creation and sequence design through debugging simulations commissioning and changes during operation A Wealth of Simulation Features You can perform simulations using a virtual HMI on the Sysmac Studio And you can also perform online debugging with a virtual NJ series Controller NA Series Programmable Terminal Software User s Manual V118 1 3 1 Introduction to the NA series Programmable Terminals 1 2 How HMlIs Operate This section describes how the HMI operates 1 2 1 HMI Software Configuration An HMI consists of the following software e System Program The system program is required to start the HMI and execute the runtime For details refer to NA series Programmable Terminal Hardware User s Manual V117 Runtime The runtime is the middleware that executes the project The runtime is started by the system pro gram and it manages execution of the project Project You use the Sysmac Studio to create your applications The applications are executed on the run time 1 2 2 HMI Projects An HMI project contains mainly the following data Pages Pages consist of You can specify variables objects and the actions for events Project Global variables HMI variables Global events Events that are shared by the entire project Subro
174. utines You can start subroutines when events occur In addition there is data that is shared by the entire project such as user alarms data logging recipes and resources 1 2 3 Pages One HMI screen is called a page There are the following two types of pages Page type Size Main EN Maximum screen size for each model Popup Smaller than the maximum screen size for each model You paste objects on the pages 1 4 NA Series Programmable Terminal Software User s Manual V118 1 Introduction to the NA series Programmable Terminals N 1 2 4 Objects 2 I The objects that you paste on HMI pages consist of the following three elements 9 e Element a Properties These are static properties Example Names and other general properties colors positioning and other display properties and Object assigned condition expressions or variables CI Animations Operating properties for condition expressions m Example Operating specifications such as flashing a enabling disabling operation size coordinate 2 changes and displaying hiding zi Eventsand You can specify events and the actions to perform when the Actions events occur Example You can specify subroutines to execute e g when a function key is pressed or a value changes NA Series Programmable Terminal Software User s Manual V118 1 5 1 Introduction to the NA series Programmable Terminals 1 2 5 Memory Specifications f
175. ve this data to external files Recipes A recipe is used to write data numeric data or text strings that was set in advance in the project to all of the specified variables as a group or to read all of the specified variables as a group You can manipulate the registered recipe data with Recipe Viewer objects i Resources You can manage resources such as the text strings movies still images and documents that are dis played for objects and alarms on pages 1 2 9 Data That Retained When Power Is Turned OFF The following data is retained when the power supply is turned OFF With No Battery or Low Battery Voltage Project data Log data that is not written to the SD Memory Card User alarm history Values of variables with Retain attribute Calibration information for touch panel With Good Battery in addition to the above Clock information NA Series Programmable Terminal Software User s Manual V118 1 9 1 Introduction to the NA series Programmable Terminals 1 3 Operating Procedure for HMIs This section gives the operating procedure for an HMI and then describes it in more detail 1 3 1 Overall Procedure The overall procedure to use an HMI is given below STEP1 STEP2 STEP3 STEP4 System Configuration and Project Design Design the system configurations and project STEP 1 1 Designing the System Configurations STEP 1 2 Designing the Project Pages Variables Subroutines etc soft
176. w is displayed NA Series Programmable Terminal Software User s Manual V118 2 13 2 Basic Sysmac Studio Operations Multiview Explorer HMI NAS 0 H HC gt Configurations and Setup b HMI A project file is created with the specified device already inserted Multiview Explorer il TT TS HMI NA5 0 HI gt Configurations and Setup 2 5 2 Adding an HMI to an Existing Project Right click the Controller Icon and select Add Device from the menu E3 Programming new Controller 0 b Configurations and Setup Change Device Programming Y i POUs Programs Rename Delete Program Or select the device directly from the Insert Menu Example HMI NAS The Add Device Dialog Box is displayed an Select Device Category HMI Device NAS v 12wi010 Version 1 00 OK Cancel Select the device and then click the OK Button The device is added to the project 2 14 NA Series Programmable Terminal Software User s Manual V118 2 Basic Sysmac Studio Operations new Controller 0 new Contraller 0 pi setup To change the target device select a device from the list 2 5 3 Changing Devices Right click the HMI Icon and select Change Device from the menu Or select Change Device from the HMI Menu HMI NA5 0 d Add Device Configurations and Setup Change Device b HMI Rename Delete The Change Device Dialog Box is displayed a A Select Dev
177. ware Settings Configurations and Setup and Creating the HMI Application Create the system configurations that you designed in step 1 on the Sysmac Studio Also create the project pages variables subroutines etc build the project and debug it with simulation and other functions Determining the Connected Device Variables and Mapping HMI Variables to Them We rec ommend this as the basic procedure STEP 2 1 Starting the Sysmac Studio and Creating STEP 2 1 Starting the Sysmac Studio and Creating a Project a Project STEP 2 2 Software Settings Configurations and STEP 2 2 Creating the HMI Application Setup Setting HMI Variables First and Then Mapping Them to Connected Device Variables STEP 2 3 Creating the HMI Application STEP 2 3 Software Settings Configurations and Setup STEP 2 4 Building the HMI STEP 2 4 Building the HMI STEP 2 5 Offline Debugging STEP 2 5 Offline Debugging Mounting and Wiring Mount the HMI Connect the connected device and computer Sysmac Studio to the HMI Confirming Operation and Starting Actual System Operation Download the project from the Sysmac Studio Make the settings on the System Menu check operation on the physical devices and start operation NA Series Programmable Terminal Software User s Manual V118 1 Introduction to the NA series Programmable Terminals 1 3 2 Procedure Details STEP1 Step STEP 1 1 Designing the System Configu rations STEP 1 2 Designing t
178. wer A User Alarms viewer object Transfer the project to the HMI and confirm the operation When the b nAlarm1 variable changes to True the contents that was set for the User Alarms Viewer object are displayed in a confirmation dialog box Date and Time Name Priority Message Status Group Event Code Details Logged In User 2013 10 02 14 0 UserAlarm1 Level4 Alarmi Alarm Unacknc Group 1 Group0 UserAlarm1 2013 10 02 LUN 773 NA Series Programmable Terminal Software User s Manual V118 5 2 3 Displaying a Trend Graph 5 Objects The following example shows how to register a data set for data logging and display a trend graph that accesses it This example records log data continuously every 5 seconds and saves it in a separate file for each 24 hour period 1 Register an integer variable called intDatalog7 in the global variable table 2 Right click HMI Data Logging in the Multiview Explorer and select Add Data Set from the menu Y E Pages HH Page P 42 User Alarms Data Loggin AU oed Data Set E Recipes b amp Data MEN Global Events 3 Double click the new data set L Multiview Explorer HMLNAS5_0 v gt Configurations and Setup cuoc Storage Type CSV Daily from 00 00 23 59 v 53 Pages y T tD H8 Page0 a PN After specific time period gt User Alarms Target Folder Data Logging Log Files Days v w amp Data Loggin v m Update Type Regular
179. where to save the collection Publishing To as Build IAG Project Not Started Publish IAGO Not Started Publish IAG File Not Started Click the Publish Button The IAG collection is created Publish IAG Collection O RES aus raa C Users hmi Documents Sample iac ce Build IAG Project Not Started Publish IAGO Not Started Publish IAG File Not Started Publish Close NA Series Programmable Terminal Software User s Manual V118 9 Reusing Objects 9 2 3 Using IAGs This section describes how to use the IAGs that you create when you edit a standard project To use IAGs you must first register them in the Toolbox After you register them in the Toolbox you can drag them to the page to use them in the same way as for other objects Registering lIAGs 1 Select AG Collections Manager from the Project Menu 2 Click the Button Select the IAG file and click the Open Button Bi Ac 1IAG Collection JQ 5 Libraries Documents gt X 4 Search Documents Organize v New folder 9 e D Fr Favorites z Documents library E Folde WE Desktop Includes 2 locations Q o n Downloads Name Date modified Type Recent Places Sample iag 6 5 2014 5 06 PM IAG File Libraries E5 Documents L a Music f E Pictures o I B Videos N ow IM Computer c eo amp Local Disk C E 2 ti Network Qo v 1 Tm H o Filename Sample iag lAGCol
180. y the project is write protected The project can still log data and write other data NA Series Programmable Terminal Software User s Manual V118 3 21 3 HMI Configuration and Setup 3 10 Clear All Memory You can initialize the HMI When you perform the Clear All Memory operation all data is cleared except for time data To clear all memory in the HMI select Clear All Memory from the HMI Menu when you are online A confirmation dialog box is displayed Click the OK Button to clear all memory Clear All Memory This function initializes the target HMI to the factory default All memory log data and settings will be cleared and reset to default Confirm the target HMI and press the OK button HMI Unit Name HMI NAS 0 Model NAS SWOO1S Cancel NA Series Programmable Terminal Software User s Manual V118 3 HMI Configuration and Setup 3 11 Resetting the HMI You can reset the HMI To reset the HMI select Reset HMI Device from the HMI Menu when you are online A confirmation dialog box is displayed Click the Yes Button to reset the HMI This operation resets the HMI device Make sure resetting will cause no problems for access to SD Memory Card It goes offline after resetting Go online again after starting the HMI INH 34 Buijesoy LL Do you want to reset Y N 3 NA Series Programmable Terminal Software User s Manual V118 3 23 3 HMI Configuration and Setup NA Series Progra

Download Pdf Manuals

image

Related Search

Related Contents

別冊の「取扱説明書」はお客さま用です。必ずお渡しください  Manual de usuario SIKODIN - INBADE  43-666型 43-667型 取扱説明書 ガスファンヒーター  Pallas 12/25 - Victron Energy  Télécharger Pdf [2 700 Ko] - Groupement pour l`Amélioration de l  OxiBrands 1/4" 18 Gauge Crown Air Stapler 68018 User's Manual  Mode d`emploi 5 sur 5  Cypress MoBL CY62157EV30 User's Manual  How to install, configure, and troubleshoot the FXS Coin Card in the  

Copyright © All rights reserved.
Failed to retrieve file