Page 4
OMRON Product References All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
Page 5
OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
TABLE OF CONTENTS PRECAUTIONS ........Intended Audience ............General Precautions .
Page 7
TABLE OF CONTENTS SECTION 4 Debugging with the Timing Chart Window ... . . Overview ..............Timing Chart Window .
Page 8
About this Manual: This manual describes the installation and operation of the Logic Simulator and includes the sections described below. The NE1A Logic Simulator is a software package that runs on Windows and is used to simulate and verify the operation of programs for NE1A Safety Network Controllers. Please read this manual carefully and be sure you understand the information provided before attempting to install or operate the NE1A Logic Simulator.
Page 10
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted. IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS...
Page 11
Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products. At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products.
Page 12
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
PRECAUTIONS This section provides general precautions for using the NE1A Logic Simulator. The information contained in this section is important for the safe and reliable application of the NE1A Logic Simulator. You must read this section and understand the information contained before attempting to set up or operate the NE1A Logic Simulator.
OMRON representative. Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
SECTION 1 Overview This section provides an overview of the NE1A Logic Simulator, including features and system requirements. The NE1A Logic Simulator ........Features .
NE1A-series Safety Network Controller using only software. The NE1A Logic Simulator operates on Windows 2000 or XP. Logic programs created with the Network Configura- tor (WS02-CFSC1-E) are loaded as files, and then the virtual safety logic engine is started. Hard Disk *.smr...
Section 1-2 Features Features When using the NE1A Logic Simulator, the following features can be used to reduce the debug work. • Input tags can be modified on a screen similar to the logic editor on the Network Configurator. Corresponding outputs can be verified. •...
System Requirements Section 1-3 System Requirements The NE1A Logic Simulator is compatible with the NE1A-series Network Safety Controllers. The following system requirements must be satisfied in order to use the NE1A Logic Simulator. Item Specification Operating system Microsoft Windows 2000 Microsoft Windows XP Computer hardware IBM PC/AT or compatible with Pentium 300 MHz or better...
SECTION 2 Basic Operation This section describes the basic operation of the NE1A Logic Simulator. Starting and Exiting the Logic Simulator ......2-1-1 Starting the Logic Simulator.
Use the following procedure to start the NE1A Logic Simulator. 1,2,3... 1. Select Start - All Program - OMRON Network Configurator for De- viceNet Safety - NE1A Logic Simulator. The NE1A Logic Simulator will start and the following main window will be displayed.
NE1A Logic Simulator Window Configuration Section 2-2 NE1A Logic Simulator Window Configuration This section describes the various parts of the NE1A Logic Simulator Window. Title Bar Tool Bars Main Menu Tag List Window Logic Window Watch Window Status Bar Timing Chart Window Item Function Title Bar...
Section 2-3 Menus Menus Menu items and shortcut keys for the NE1A Logic Simulator are listed in the following table. Main menu Item Shortcut key Function File Open Ctrl+O Opens an existing file. Save Ctrl+S Overwrites the current working file. Save As Saves the current working file with a new name.
Page 24
Section 2-3 Menus Main menu Item Shortcut key Function Timing Chart Execute Executes timing chart simulation. Execute 1 Pulse Executes timing chart simulation for one pulse. Pause Ctrl+F7 Pauses timing chart simulation. Stop Shift+F7 Stops and resets timing chart simulation. Add Tag Insert Adds tags from the tag list to the Timing Chart Window.
Section 2-4 Pop-up Menus Pop-up Menus Menu options that appear when you right-click on a window are listed. Window Menu item Function Logic Window Turns ON the selected tags. Reset Turns OFF the selected tags. Reverse Reverses the selected tags. Input Pulse Applies a specified pulse input to the selected tag.
Tool Bars Section 2-5 Tool Bars This section describes the functions of the tool bars in the NE1A Logic Simu- lator. There are four tool bars in the NE1A Logic Simulator as described below. Each tool bar can be displayed or hidden by selecting View - Tool Bars fol- lowed by the name of the tool bar.
Section 2-5 Tool Bars 2-5-4 Watch Tool Bar Icon Function Description Move Up Moves the selected tags in the Watch Win- dow upwards. Move Down Moves the selected tags in the Watch Win- dow downwards.
Status Bar Section 2-6 Status Bar The following information is displayed in the Status Bar. Cursor Position Debug Status Cycle Time Base Value (Selected Pulse Width) Cycle Time ID + Device comment Pulse Item Description ID + Device comment Displays the device ID and device comment that have been set by the Network Configurator.
Section 2-7 Simulation Procedure Simulation Procedure Use the following procedure to simulate execution of a safety logic program. 1. Create a Logic Program Create a logic program using the logic editor in the Network Configurator. ….Refer to DeviceNet Safety System Configuration Manual (Cat. No. Z905). 2.
Section 2-8 Creating Logic Programs Creating Logic Programs Logic Programs must be created with the Network Configurator. For information on creating logic programs using the Network Configurator, refer to Section 6 Programming the Safety Network Controller in the DeviceNet Safety System Configuration Manual (Cat. No. Z905).
Creating Simulation Files Section 2-9 Creating Simulation Files New simulation files (*.smr file) are created with the Network Configurator. Use the following procedure to create a simulation file. 1,2,3... 1. Select the icon for the device which has the program that you want to sim- ulate and select Device - Create Simulator File.
Section 2-10 Opening Simulation Files 2-10 Opening Simulation Files Use the following procedure to load the simulation file (*.smr file) to run a sim- ulation. 1,2,3... 1. Select File - Open. The following dialog box will be displayed. 2. Select the simulation file and click the Open Button. If there is a password setting on the program in the opened simulation file, the following Confirm Password Dialog Box will be displayed.
Section 2-11 Importing Programs 2-11 Importing Programs To load programs from other simulation files, use the program import function. The program import function only loads the program part of the file; informa- tion in the Timing Chart Window and Watch Window will not be changed. 1,2,3...
Page 35
Section 2-11 Importing Programs (3) To set the password, select the Enable Password Option on the Program Tab Page of the Edit Device Parameter Dialog Box in the Network Con- figurator.
Debugging Section 2-12 2-12 Debugging There are the following two methods for debugging using the NE1A Logic Simulator. 2-12-1 Debugging with the Logic Window The Logic Window displays the logic program. It is the similar to the Online Monitor of the logic editor in the Network Configurator. Input tags can be mod- ified using the Logic Window, Tag List Window, or Watch Window.
Using the Watch Window Section 2-13 2-13 Using the Watch Window This section describes how to use the Watch Window. 2-13-1 What Is the Watch Window? The Watch Window can list in one window many tags and function block out- puts that are located on different pages.
Page 38
Section 2-13 Using the Watch Window 2. Select Watch - Add Tag. The Add Tags to Watch Window Dialog Box will be displayed. 3. Select the tag to be added to the Watch Window and click the OK Button. More than on tag can be added at the same time by holding down the Ctrl Key or Shift Key while selecting the tags.
Using the Watch Window Section 2-13 The selected tag will be added to the Watch Window. Adding from the Logic Window 1,2,3... 1. Click a Watch Window Tab (Watch 1 to Watch 4) to select it. 2. In the Logic Window, select the tag or function block that you want to add to the Watch Window.
Section 2-13 Using the Watch Window 2-13-5 Modifying Tag Values When the Logic Window is used for debugging, input tags that have been added to the Watch Window can be set, reset, or reversed. Note Output tag values or function block output values cannot be modified. 1,2,3...
Section 2-14 Saving Simulation Files 2-14 Saving Simulation Files You can save a simulation file (*.smr) by overwriting an existing file or as a new file with a different name. Saving a file will save the logic program, timing chart data, and registered watch data in a single file. Overwriting Simulation Files 1,2,3...
Versions Section 2-15 2-15 Versions You can check the version of the NE1A Logic Simulator using the following procedure. 1,2,3... 1. Select Help - About. The NE1A Logic Simulator Dialog Box will be displayed.
Section 2-16 Help Display 2-16 Help Display This section describes how to display the NE1A Logic Simulator Help. 1,2,3... 1. Select Help - Topics. The Help Menu will be displayed.
SECTION 3 Debugging with the Logic Window This section describes how to debug programs for the NE1A Logic Simulator using the Logic Window. Overview ........... . . Starting and Stopping the Logic Program.
Section 3-1 Overview Overview This section describes how to debug using the Logic Window. The Logic Window displays the Logic Program. Input tags can be modified using the Logic Window, Tag List Window, or the Watch Window. The corre- sponding outputs can then be verified. Similar to the Online Monitor Screen for the Logic Editor of the Network Configurator, tags that are ON and lines that are connected are displayed in dark green.
Section 3-2 Starting and Stopping the Logic Program Starting and Stopping the Logic Program This section describes how to start and stop a logic program. 3-2-1 Starting To start a logic program when it is stopped or paused, select Debug - Start. Alternatively, click the Icon on the tool bar.
Section 3-3 Modifying Input Tags Modifying Input Tags This section describes how to modify input tags. 3-3-1 Setting, Resetting, and Reversing Set, reset, and reverse functions can be applied in the Logic Window, Tag List Window, or Watch Window. Set turns ON a value, Reset turns OFF a value, and Reverse turns OFF a value if it's ON and turns ON a value if it's OFF.
Page 48
Section 3-3 Modifying Input Tags 3. Enter the OFF and ON times and click the OK Button. The time settings for both the OFF and ON times must be between 100 and 10,000 ms. The time setting specified here is the program time. Simulation with the Logic Simulator will be executed based on the time set here, multiplied by the cy- cle time base value.
Section 3-4 Setting Initial Values Setting Initial Values The initial values of input tags can be entered when debugging with the Logic Window. Use the following procedure to set the initial values of input tags. 1,2,3... 1. Select Debug - Set Initial Value. The following dialog box will be displayed.
Section 3-5 Setting the Cycle Time Base Value Setting the Cycle Time Base Value The cycle time base value is a multiplier applied to the actual device cycle time. When the cycle time base value is 1, the simulator runs based on the same cycle time as the actual device.
Section 3-6 Feedback Settings Feedback Settings If the EDM input (monitored input) is changed while the program is being exe- cuted when using EDM function blocks, the EDM feedback signal will not change and will trigger a feedback error. Use the feedback settings to link the reverse output signal to the EDM feedback signal in the EDM function block to avoid feedback errors.
Page 52
Section 3-6 Feedback Settings 2. Select or assign the input tag, output tag, delay time, and condition in the feedback settings, and then click the Add Button. The feedback settings will be added to the registered list as shown below. •...
Section 3-7 Monitoring a User-defined Function Block Monitoring a User-defined Function Block This section describes how to monitor the contents of a user-defined function block. 1,2,3... 1. Right-click a user-defined function block in the Logic Window and select Monitor Function Block from the pop-up menu. The User-defined Function Block Window will be opened as shown below.
Section 3-8 Zooming In and Out of the Logic Window Display Zooming In and Out of the Logic Window Display Use the following procedure to zoom in and out of the display in the Logic Window. 1,2,3... 1. Click in the Logic Window (or press F6/Shift + F6) to move to the Logic Window.
Page 55
Section 3-8 Zooming In and Out of the Logic Window Display...
SECTION 4 Debugging with the Timing Chart Window This section describes how to debug programs for the NE1A Logic Simulator using the Timing Chart Window. Overview ........... . . Timing Chart Window.
Overview Section 4-1 Overview This section describes how to debug a program using the Timing Chart Win- dow. The debugging process starts with assigning input values to tags in the timing chart, executing the logic program, then displaying the output results. Pulses can be specified in terms of the device cycle time when using the Tim- ing Chart Window.
Section 4-2 Timing Chart Window Timing Chart Window This section describes the various parts of the Timing Chart Window. The tags and function block outputs are displayed on the left of the window. The corresponding chart is displayed on the right. Pulse Scale Cursor Chart...
Adding to the Timing Chart Section 4-3 Adding to the Timing Chart Use the following procedure to add a tag or a function block output to the tim- ing chart. A maximum of 1,000 tags can be added to a timing chart. 4-3-1 Adding from the Tag List 1,2,3...
Section 4-4 Inputs to the Timing Chart Inputs to the Timing Chart This section explains how to apply inputs to the tags that have been added to the timing chart. The output tags, jump address, and function blocks cannot be changed. 4-4-1 Basic Input Use the following procedure to turn the input tags to ON or OFF or to reverse the tag...
Section 4-4 Inputs to the Timing Chart 4-4-4 Editing the Timing Chart with a Text Editor The timing chart can be edited with a text editor by using the copy and paste functions. 1,2,3... 1. Select the area of the timing chart that you want to edit. 2.
Starting and Stopping the Timing Chart Section 4-5 Starting and Stopping the Timing Chart This section describes how to start and stop timing chart simulations. To start timing chart simulations, the logic program must be stopped. When the timing chart simulation is being executed, the input tags and output tags that are displayed in the logic window will not be updated.
Section 4-6 Importing/Exporting Timing Chart Data Importing/Exporting Timing Chart Data Data in the Timing Chart Window can be saved to a file or read in from a file. The file extension is *.tcd. 4-6-1 Importing Timing Chart Data 1,2,3... 1. Select File - Import Timing Chart Data. The following dialog box will be displayed.
Page 64
Section 4-6 Importing/Exporting Timing Chart Data Note The breakpoint information described in 4-9 Breakpoints and 4-10 I/O Break- point will not be included in the timing chart data export file.
Section 4-7 Printing the Timing Chart Printing the Timing Chart The timing chart can be printed. 1,2,3... 1. Select File - Print Timing Chart. The standard Windows Print Dialog Box will be displayed. 2. Set the printing properties as required, and click the OK Button. The timing chart will be printed.
Section 4-8 Timing Chart Options The pulse configuration consists of the following items. Parameter/button Description Number of Pulses Specifies the number of pulses that are used in the timing chart. The number of pulses can be set to between 10 and 1,000.
Section 4-8 Timing Chart Options Parameter/button Description Grid Displays/Hides the grid. Initialize Button Returns all settings on the Display Tab Page to their initial val- ues. 2. Modify the timing chart view settings and click the OK Button. 4-8-4 Print Tab Page The timing chart printing options can be set up on the Print Tab Page.
Section 4-9 Breakpoints Breakpoints When a timing chart with breakpoints is executed, it will pause after evaluating the row with the breakpoint, allowing you to check the status. Breakpoints can be temporarily disabled. 4-9-1 Adding Breakpoints 1,2,3... 1. Move the cursor on the timing chart where you want to add a breakpoint. 2.
Section 4-9 Breakpoints 4-9-4 Breakpoint List Breakpoints can be displayed in a list and be chosen to be removed, enabled, or disabled. 1,2,3... 1. Select Breakpoints - Display Breakpoint List. The following dialog box will be displayed. • Each breakpoint can be enabled or disabled using the check boxes on the left.
Section 4-10 I/O Breakpoint 4-10 I/O Breakpoint An I/O breakpoint can be used to pause the timing chart depending on I/O status (ON or OFF). 4-10-1 I/O Breakpoint Settings 1,2,3... 1. Select Breakpoints - I/O Breakpoint - Setting. The setting screen consists of the following parameters. Parameter Description Register Break Con-...
Section 4-10 I/O Breakpoint Note • Only one I/O breakpoint can be registered. Up to a maximum of ten condi- tions can be assigned for the I/O breakpoint. • Double-click a tag in the Applied Conditions List Area to turn it ON and OFF.
Section 4-11 Zooming In and Out of the Timing Chart Display 4-11 Zooming In and Out of the Timing Chart Display Use the following procedure to zoom in and out of the display in the Timing Chart Window. 1,2,3... 1. Click on the timing chart (or press F6 / Shift + F6) to move to the Timing Chart Window.
SECTION 5 Troubleshooting This section describes troubleshooting problems that can occur based on error messages displayed by the NE1A Logic Simulator. Operating Errors and Countermeasures ......5-1-1 Overview.
Section 5-1 Operating Errors and Countermeasures Operating Errors and Countermeasures 5-1-1 Overview If an error occurs while the NE1A Logic Simulator is running, a dialog box will appear with an error message. The errors can be cleared using the following countermeasures.
Section 5-1 Operating Errors and Countermeasures 5-1-3 Watch Window Errors Error message Countermeasure Tags were regis- You tried to add more than the limit of 100 tags in total on the tered up to the limit Watch Window. Up to 100 tags will be registered but the of 100 tags.
Page 77
Section 5-1 Operating Errors and Countermeasures Error message Countermeasure The limit of 1,000 You tried to add more tags when the limit of 1,000 tags has tags has already already been registered. Delete tags that are no longer been registered. required before trying to add more.You can also use the timing chart import/export function to switch between multiple timing chart files for debugging.
Appendix A Shortcut Key List The shortcut keys for the NE1A Logic Simulator are listed in the following tables. Common to All Windows Function Menu Shortcut key Starting debugging Debug - Start Executing one cycle Debug - Execute 1 Cycle Pausing debugging Debug - Pause Ctrl + F5...
Page 79
Appendix A Shortcut Key List Tag List Window Function Menu Shortcut key Setting Debug - Set Ctrl + J Resetting Debug - Reset Ctrl + K Reversing Debug - Reverse Ctrl + R Timing Chart Window (Tag) Function Menu Shortcut key ↑...
Page 80
Appendix A Shortcut Key List Watch Window Function Menu Shortcut key Deleting Edit - Delete ↑ Moving up one line ↓ Moving down one line → Moving right within page ← Moving left within page Moving one page up Page Up Moving one page down Page Down Setting...
Index Symbols .smr file logic program pausing .tcd file starting stopping Logic Simulator starting adding tags to the Watch Window Logic Window adding to the timing chart Make Pulses breakpoints menus modifying input tags modifying tag values monitoring a user-defined function block current value cycle time base value options...
Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. Z910-E1-02 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Page 86
Buyer indemnifies Omron against all related costs or expenses. rights of another party. 10. Force Majeure. Omron shall not be liable for any delay or failure in delivery 16. Property; Confidentiality. Any intellectual property in the Products is the exclu-...
Page 87
OMRON ELETRÔNICA DO BRASIL LTDA • HEAD OFFICE São Paulo, SP, Brasil • 55.11.2101.6300 • www.omron.com.br OMRON EUROPE B.V. • Wegalaan 67-69, NL-2132 JD, Hoofddorp, The Netherlands. • +31 (0) 23 568 13 00 • www.industrial.omron.eu Authorized Distributor: Automation Control Systems •...