ViSim User Guide. To Create Interlock Logic For Programmable Interlock Platform

Similar documents
Agilent 34826A BenchLink Data Logger for 34980A. Getting Started Guide. Agilent Technologies

CDN067-3 Quick Start Guide

Ethernet Control Module User Manual

CONTROLweb TM. 3U Modular I/O. User Manual

USER MANUAL WINATEQ300 SOFTWARE Full version 1.01

User Manual. Quickstart KNX with TSwin.net. Part Number: Version: 2. Date:

LINAX Series Videographic Recorders

Table of Contents DOCS, SHEETS, AND SLIDES... 2 HOME PAGE... 3 FILE NAME... 4 MENU... 4 TOOLBAR... 5 HELP... 6

For safe and correct use, be sure to read the Safety Information in "Copy Reference" before using the machine. Network Guide

Cisco TEO Adapter Guide for

EnCell Battery Cell Monitor

General Information 1. Connection 2. User Interface 3 ATC5300. Menus 4. Automatic Transfer Controller. Remote Control Software Manual A5E

Creating labels in Ticket 2000.

Unit 12. Electronic Spreadsheets - Microsoft Excel. Desired Outcomes

H3C SecBlade SSL VPN Card

QUICK START GUIDE Paralleling and Protection Unit PPU 300

Quartus II Introduction Using Verilog Design

Agilent Technologies. Connectivity Guide. USB/LAN/GPIB Interfaces. Agilent Technologies

Agilent MassHunter Metabolite ID Software. Installation and Getting Started Guide

User s Guide [Network Administrator]

Microscan Barcode Reader

Power Xpert Meter 2000 Gateway Card Kit

Siemens Spares. Setting up security in STEP 7. Professional SIMATIC NET. Industrial Ethernet Security Setting up security in STEP 7 Professional

Quartus II Introduction Using Schematic Design

Two kinds of size notation are employed in this manual. With this machine refer to the metric version.

User Manual. Open platform E Line. Part Number: Version: 1. Date:

SIMATIC NET. Industrial Ethernet Security SCALANCE S615 Getting Started. Preface. Connecting SCALANCE S615 to the WAN 1

QUICK START GUIDE Paralleling and Protection Unit PPU 300

1. Concepts and What s New Concepts What's New in E Getting Started Starting Electra Page Scale

Windows 2000 Safe Mode

Lab - Connect to a Router for the First Time

CEU Online System, The Friday Center for Continuing Education, UNC-Chapel Hill How to Obtain Participant IDs for Awarding of CEUs

Introduction to Windows

The following are basic setup instructions for the LAN-520 AESP. Some settings may not apply to every application.

Getting Started - Startdrive. Startdrive SINAMICS. Introduction 1. Connecting the drive unit to the PC. Creating a project 3

LAB 2: INTRODUCTION TO LOGIC GATE AND ITS BEHAVIOUR

ez80190 Development Kit Quick Start Guide

Contents 1 Warnings, Cautions, and Notes Description Features... 1

Installation Guide AT-VTP-550

Power Xpert Meter 2000 Gateway Card Kit

Power Xpert Meter 2000 Gateway Card Kit

Tutorial on Quartus II Introduction Using Schematic Designs

User s Manual CAP 531*1.5 Configuration and Programming tool

Deckblatt. APL Operator Guide SIMATIC PCS 7. Application description June Applikationen & Tools. Answers for industry.

DETECTO SCALE DL Series Scales DLX PC Utility Setup and Procedures

SL620/DS-Tmini Snaplab+ Internet Configuration Setting procedure

Silex SD-320AN-03 Serial Server

Preface 1. Device Management System 2. Contact Information 3. User Manual Device Management System. English. Release

AMC Manager User's Manual

Anybus CompactCom 40 Diagnostic Events for Modbus-TCP APPLICATION NOTE

Electrical 3D Design & Documentation

Epson Projector Management Operation Guide

SIMATIC/SINAMICS. Getting started with SINAMICS V90 PN on S Motion Control. Fundamental safety instructions 1. Introduction

Basic principles 1. Configuring function diagrams based on IEC 2. Administration 3 COMOS. Automation Logical. Operating Manual 04/2015 A5E AD

TruVision Device Manager User Manual

Software User's Guide

Datacard XPS Card Printer Driver Guide

Cisco TEO Adapter Guide for Microsoft Windows

EQ7000. User Manual. Rev 1.00

RISO Controller PS7R-9000/5000

Preface 1. Device Management System 2. Contact Information 3. User Manual Device Management System. English. Release

COMOS. Automation Logical. Basic principles 1. Configuring function diagrams based on IEC 2. Code generation based on IEC

Software User's Guide

Océ TCS400. User's Manual

Microsoft Office 2013 (or Office) is a collection of software programs.

Tutorial on Quartus II Introduction Using Verilog Code

VisionTouch 5 Software

Primary Setup Tool (PST) SIMATIC NET. Industrial Ethernet / PROFINET Primary Setup Tool (PST) Preface. Description. Software installation 2

DX200 OPTIONS INSTRUCTIONS

ekaizen Lessons Table of Contents 1. ebook Basics 1 2. Create a new ebook Make Changes to the ebook Populate the ebook 41

TH800DS CONTROLLER MANUAL

6170 Shiloh Road Alpharetta, Georgia (770) FAX (770) Toll Free

DriveWare. User s Guide DriveBrowser

EEEthSetup User s guide Rev. 1v7

SIMATIC HMI. Software RemoteOperate V2. Preface. Overview 1. Range of functions of the RemoteOperate software. Hardware and software requirements

CellaVision Proficiency Software

NRXe Quick Installation Guide Installation Guide REV: A

Cisco TEO Adapter Guide for Microsoft System Center Operations Manager 2007

Wireless PC Network Settings

Getting_started_EN (Ind : 3) 06/01/2014. elecworks. Getting Started

This course will introduce the user the Windows 7 Operating System by covering the desktop, start button, task bar and the Computer section

CRAGG RAILCHARGER Instruction Manual for 10DTC-12V 20DTC-12V 30DTC-24V 40DTC-12V 60DTC-12V

Section 4: Installing the ECC (Epilog Control Center)

Introduction to RefWorks

Software 1.0 July AVI-SPL GETTING STARTED GUIDE. AVI-SPL PresenceVMR. MyRPCloud Portal for Administrators

Version 1.2. January Publication ERSC-1300

MasterPlex ReaderFit TUTORIAL

SIMATIC NET. Industrial Ethernet / PROFINET Primary Setup Tool (PST) Preface. Functions 1. Software installation 2. Operation. Configuration Manual

Hardware Installation Guide Installation (x3350)

TDSPTD Protocol Trigger and Decode Application Online Help

irc Pro (Not for diagnostic use)

TABLE OF CONTENTS COPYRIGHT INTRODUCTION...3 PRODUCT OVERVIEW...3 COMPONENTS AND FEATURES...3 HARDWARE INSTALLATION

Innovative Electronics for a Changing World INDEX

ParcelQuest Quick Reference Guide

Expense: Process Reports

Introduction to IBM Rational HATS For IBM System i (5250)

SB72EX User's Manual

Continuous Function Chart Getting. Started SIMATIC. Process Control System PCS 7 Continuous Function Chart Getting Started.

PROPRIETARY MATERIALS

Longshine Technologie Europe GmbH

Transcription:

ViSim User Guide To Create Interlock Logic For Programmable Interlock Platform Control & Information Technology Group 134 W Rio Robles Drive San Jose, CA 95134 Main: 408.750.0300 Fax: 408.750.2990 Manual Rev. 1.1 05/11

Copyright This manual and the software described in it are copyrighted with all rights reserved. Under the copyright laws, this manual and software may not be copied, in whole or part, without the prior written consent of MKS Instruments. The same proprietary and copyright notices must be affixed to any permitted copies as were affixed to the original. This exception does not allow copies to be made for others whether or not sold, but all of the materials purchased may be sold, given, or loaned to another person. Under the law, copying includes translating into another language or format. MKS Instruments - CIT Products Group, 2011 Preface About this manual This manual is designed to serve as a guideline to use ViSim to create and simulate programmable interlock logic for programmable interlock on Programmable Interlock Platform. The information contained within this manual, including product specifications, is subject to change without notice. Please observe all safety precautions and use appropriate procedures when handling the Programmable Interlock Platform product and its related software. Page 2 of 23

Table of Contents Table of Figures...4 Revision History...5 1 Introduction...6 1.1 CONVENTIONS USED IN THIS USER MANUAL...6 2 Installation...7 2.1 REQUIREMENTS...7 2.2 INSTALLATION...7 3 Tutorial...8 3.1 CREATE NEW FILE:...8 3.2 I/O MAP FILE:...8 3.3 DRAW THE LOGIC:...9 3.4 ASSIGN INPUTS AND OUTPUT....10 3.5 GENERATE CSV (COMA-SEPARATED VALUE) FILE...13 3.5.1 Logic for the example...15 3.5.2 The Default CSV File:...15 3.6 SIMULATE THE DESIGN...15 4 Logic Structure...17 4.1 COMBINED AND/OR LOGIC TERM...17 4.2 LATCH STRUCTURE...18 5 Loading ViSim CSV file to Programmable Interlock Platform...20 5.1 NETWORK CONFIGURATION...20 5.2 CONNECTING TO A COMPUTER VIA TCP/IP...20 5.3 LOADING CSV FILE TO UNIT...21 5.4 PROGRAM LOGIC INTO NON-VOLATILE MEMORY...22 Page 3 of 23

Table of Figures Figure 1 Example of IO Map Excel Spreadsheet file. 9 Figure 2 Simple one AND gate logic example with ViSim 10 Figure 3 Selecting Input using drop down menu in ViSim 10 Figure 4 Selecting Input using drop down menu in ViSim 11 Figure 6 Generating CSV file from Visio ViSim Tool. 13 Figure 7 Complete interlock sample design ready for simulation 13 Figure 8 Complete interlock sample design ready for simulation 14 Figure 9 Equivalent Logic for the simple example above. 15 Figure 10 CSV file generated by ViSim Tool for example above 15 Figure 11 Button to toggle inputs for simulation. 16 Figure 12 Toggle an input ON or OFF to simulate programmable logic design 16 Figure 13 Result of simulation when logic is TRUE and activates the output. 16 Figure 14 Reset simulation condition on ViSim tool. 16 Figure 15 More complex logic structure 17 Figure 16 Equivalent logic gate for figure 14 17 Figure 17 ViSim generated CSV file for more complex 18 Figure 18 Example of Latch and Clear Interlock design 19 Figure 19 CSV file with Latch condition 19 Figure 20 Browse to the CSV file then Click Restore from File to load logic to unit 21 Figure 21 Interlock Webpage after ViSim CSV file is loaded. 22 Page 4 of 23

Revision History Revision Description of changes Date 1.0 First Release 09/2009 1.1 Minor update, address change 05/2011 Page 5 of 23

1 Introduction The ViSim is a GUI tool based on MS Office VISIO with underlying Visual Basic code. The tool enables the user to build interlock logic by interconnecting relays symbols, simulate the design, and generate a csv file with the same format as produced by the GUI Web tool. This file can then be loaded into the Programmable Interlock platform. 1.1 Conventions used in this User Manual Warning Caution Note The WARNING sign denotes a hazard to personnel. It calls attention to a procedure, practice, condition, or the like, which, if not correctly performed or adhered to, could result in injury to personnel. The CAUTION sign higlights information that is important to the safe operation of the platform, or to the integrity of your files.. The NOTE sign denotes important information. It calls attention to a procedure, practice, condition, or the like, which is essential to highlight. On screen buttons or menu items appear in bold and cursive. Example: Click OK to save the settings. Keyboard keys appear in brackets. Example: [ENTER] and [CTRL] Pages with additional information about a specific topic are cross-referenced within the text. Page 6 of 23

2 Installation 2.1 Requirements The following applications need to be installed. 1. MS Office Excel 2003 or 2007. NOTE: Other versions of MS Office Excel are not supported at this time of writing. 2. MS Office Visio 2003. 2.2 Installation 1. Copy the ViSim folder into your local drive. This folder is available via download from the MKS website. 2. Change the security level for macros to Low as follows: Open blank Visio document. On the menu bar: Tools Options Security (tab) Macro Security (button) : check Low security radio button. Note If you check a higher security option the macros will be blocked Note You may need to restart the Visio for the changes to take effect. Page 7 of 23

Tutorial This section will guide you through the process of designing, simulating and generating the csv file by using a simple example. 2.1 Create New File: Open the ViSim folder and double-click on ViSim Drawing Template.vsd. This file is a template with underlying VB code. Save As this file into the same folder with your selected name. 2.2 I/O Map File: Before drawing the logic, you need to have an Excel file with the I/O definition. By default the tool will refer to the following file:...\visim\work\io_map.xlsx The file contains two sheets, the first for the inputs, second for the outputs. Please use default labeling of the first sheet as In and the second sheet as Out. The sheet structure is shown below: The first column contains the input user name (or signal name), and the second column contains the index of this input in the Programmable Interlock. The third column contains the location of this input on the Distribution board. Please use this similar structure for the second sheet. Page 8 of 23

Figure 1 Example of IO Map Excel Spreadsheet file. 2.3 Draw The Logic: From the Drawing stencil on the left of the page, drag two INPUT one RELAY and one OUTPUT symbols and drop them on the page. Drag the LINE symbol and drop it on the page. Then stretch the edges of the line with the mouse left click being hold down and tie them to the symbol pins as shown in the following figure. You ll need to drag the LINE 3 times. Page 9 of 23

Figure 2 Simple one AND gate logic example with ViSim 2.4 Assign Inputs and Output. Place the mouse pointer close to the INPUT symbol, until you see a small menu item as shown on the figure below. Figure 3 Selecting Input using drop down menu in ViSim Page 10 of 23

NOTE: If the input symbols are place closed to each other, the input menu might not be easily accessible by moving the mouse over the input symbol. User can change input signal by selecting the input symbol with menu bar->interlock->edit I/O as shown below. Figure 4 Selecting Input using drop down menu in ViSim Page 11 of 23

Click on this menu item and then click again on the Edit Pin # sub item. You will get a form as shown on the right. The data within this form is taken from the IO_MAP.xlsx file. Click on any one of the items in the list, and then click the Assign button. The form will be closed and the selected data will appear on the INPUT symbol. Do the same for the second INPUT symbol and the OUTPUT symbol. At this point the I/O is assigned to the input and output symbols. Figure 5 IO selection from spreadsheet IO file Page 12 of 23

2.5 Generate CSV (Coma-Separated Value) File. Click on the Visio tool bar icon as shown in the following figure. Figure 6 Generating CSV file from Visio ViSim Tool. This will activate the netlist generator and the csv file generator. At the end of netlist generation a message Connections Complete will appear on the screen. Press OK. Then a message csv File creation completed will appear. Press OK again. At this point you should see the following on the Visio page. Note that the symbols are designated, and also note that the small red circles around the pins disappeared to indicate the connection has been made. Figure 7 Complete interlock sample design ready for simulation Page 13 of 23

Note: All input symbols used in interlock design has to be assigned with signal name. Leaving a connected input symbol with no name will result in error. Error path will be highlighted with red wire to the un-assigned input signal as shown below Figure 8 Complete interlock sample design ready for simulation Page 14 of 23

2.5.1 Logic for the example The example above will generate the below logic: OUT1 = IN4 and IN5 Figure 9 Equivalent Logic for the simple example above. 2.5.2 The Default CSV File: The created file is: \ViSim\work\intlkcfg_user.csv The following figure shows the logic definition section in this file, where we have one AND term composed of the inputs 4 and 5. This AND term is assigned to output 1. Figure 10 CSV file generated by ViSim Tool for example above 2.6 Simulate the Design Turn on and off the inputs by moving the mouse pointer as shown in the figure to activate the drop down menu. Page 15 of 23

Figure 11 Button to toggle inputs for simulation. Then click ON or OFF to simulate the output Figure 12 Toggle an input ON or OFF to simulate programmable logic design Result when both inputs are ON: Figure 13 Result of simulation when logic is TRUE and activates the output. To reset the simulator click on the tool bar icon as shown below: Figure 14 Reset simulation condition on ViSim tool. Page 16 of 23

3 Logic Structure 3.1 Combined AND/OR Logic Term Relays can be connected to form various logic structures. The following example shows a combination of AND and OR terms. Figure 15 More complex logic structure The logic term represented by this structure would be: Out1 = (1 and 2 or 3 and 4) and 5 and 6 and (7 and 9 or 8 and 10) Figure 16 Equivalent logic gate for figure 14 Note The above logic depicts the equivalent logic equation for interlock logic condition, not the actual TTL gate level for timing analysis purposes. Page 17 of 23

The resulting csv is on the right. Note that the tool uses other free outputs (actual or virtual in this case O2 and O3) to form the logic parts and feed them back to output 1. Figure 17 ViSim generated CSV file for more complex logic design above 3.2 Latch Structure The following structure realizes a latch function. Given that the upper AND term (1 * 2 * 5 * 6) is true, when the inputs 3 and 4 (the latch condition) turns ON, the relay U5 will be energized for a short period as dictated by the capacitor, and then due to the feedback on U5 (pin 4 to pin3) the relay will be kept energized. Once the upper condition turns false, the relay U5 will be deenergized. Page 18 of 23

Figure 18 Example of Latch and Clear Interlock design This is translated into the csv file as shown on the right: The latch condition is assigned to and term #1 (A1). The latched function is assigned to A3. The clear condition is the same latched function inverted by using a free output (in this case O2) and then fed back to O1 as term #2. Figure 19 CSV file with Latch condition Below is the truth Table for A1->L and A2->C condition. Interlock Output Current State AND gate 2 Output AND gate 1 Output Interlock Output FINAL STATE FALSE FALSE FALSE FALSE XX FALSE TRUE TRUE XX TRUE XX FALSE TRUE FALSE XX TRUE Page 19 of 23

4 Loading ViSim CSV file to Programmable Interlock Platform At the time of this writing, Programmable Interlock Platform only supports loading of csv through Webpage. Please refer to the user manual for connecting to the unit for Webpage access. 4.1 Network Configuration The Programmable Interlock Platform network settings configure the 100 BaseT Ethernet ports. The following are factory-default Ethernet settings. Parameter Setting IP-Address 192.168.0.X Subnet mask 255.255.255.0 Default Gateway None 4.2 Connecting to a computer via TCP/IP Open a web browser window and enter the IP address of the unit. There is a slight delay as the unit transfers content to your local browser. The main Device page is displayed. If you are unable to load the page, check the units switch settings and ensure the IP address of the PC has is set as DHCP. Also check the Ethernet cable connections to your PC and to the Programmable Interlock unit. Page 20 of 23

4.3 Loading CSV file to Unit When complete with ViSim simulation, and CSV file is generated. On the unit s Webpage Interlock Tab, Click Browse button to load the modified configuration file then click the Restore from File button on the Interlock Webpage to load the changed name. Browse and Restore from File buttons Figure 20 Browse to the CSV file then Click Restore from File to load logic to unit Caution Logic will not be stored into Non-Volatile memory until user click on PROG EEP button Note Interlock has to be in IDLE Mode before it can be programmed. Reset unit or power toggle to put unit in IDLE Mode before programming Page 21 of 23

4.4 Program Logic into Non-Volatile Memory After logic from CSV file is loaded, verify that the correct interlock and Inputs/.Outputs names are correct per ViSim design as shown in the figure below Figure 21 Interlock Webpage after ViSim CSV file is loaded. 1. Once logic is verified, click on PROG EEP button to download the logic to non-volatile memory, then click ILOAD button to run the download programmed logic. Click PROG EEP to download to non-volatile memory Click ILOAD to run the programmed logic Page 22 of 23

2. Interlock Status will show Debug (Running). To Test the logic on the platform, click on INPUT in the OVERRIDE CONTROLS to allow manual inputs driving. Click to enable manual Input driving for debugging purposes. Caution Logic will not be stored into Non-Volatile memory until user click on PROG EEP button Caution Refresh Webpage and READ EEP again to make sure updated page is shown instead of reading stale page from system cache. Page 23 of 23