Home
AS01023G-01, ECM2 with IEC61131-3 Functionality
Contents
1. id File Edit View Project Buidf Objects Layout Online Extras Window 8 X sli Be Ww Na D m j Project Tree Window ES Rebuild Project CtrisFo in Project C Document w Libranes Data Types 9 a V Logical POUs Name D MyP au Build Cross References F12 J 3 DO E i MyPOUT GREECE irst2DO WAND Bi za MyPOUV ome unus yal s and FB instances i E dqECTD Cel E MyPOU byte 1 cou GC we Physical Hardware I cT amp ye ECMConhg eCLR id HON Di S ww MyResource eCLR ECM2 F EG Er ae Tasks T AA dEFORIG F J ask DEFAULT S GE Gi Oo MyPOU MyPOU EGT Gi Global Variables Le L m O Configuration 3 E LT Le 3rM0D M jus gt Move As T ud du bd El MyPOU M gt see Generating IEC Code Collecting POUs used by RESOURCE MyResource Generating IEC code for RESOURCE MyResource Building instance tree For RESOURCE HyResource rm a Generating specific Code for CONFIGURATION ECMConfig EM em Generating specific Code for RESOURCE MyResource 5 w 0 Error s O Warning s vy 4 7 N Build Errors Warnings Infos PLC Errors Print A Multi User For Help press F1 33 36 C 32GB Figure 6 18 Compiling the Multiprog code Make Standard mode for compiling the project once you have finished editing The menu item can be used to compile all worksh
2. 4 Fuses Can be expanded to up to 48 by different 1 24V PWR 1 distribution board design 2 24V PWR 2 Fuses are reported as pass or fail to the 3 24V PWH 3 application software 4 24V FUSED Thresholds 12 5V for 15V ER RN minutes is tori V Powers measurements 1 AW a ES and low limits for each power are 2 415V configurable via application software 3 15V Power measurements are reported to the application SOFTWARE and compared against the predefined limits Power measurements 10 bits resolution Input Output Specifications Digital Input Number of Inputs 210 up to 354 with expansion shared with outputs each board functions as I O Sink Input Current Max 2 2mA at Vi z0V Input Low Voltage range ON Min OV to Max 9 2V Input High Voltage range OFF Min 9 9V to Max 24V Source Input Current Max 2 35mA at V 24V Input High Voltage range ON Min 12 5V to Max 24V Input Low Voltage range OFF Min OV to Max 11 7V Debounce filter 0 msec to 999 msec 2 5KVrms DI refresh rate 3 Digital Output CC Number of Outputs 210 up to 354 TU expansion with inputs boards each functions as O Output Type Open collector Pull up value 10K 750 mA per 6 outputs 24VDC Sink Output High Voltage Min 23 7V 0 16mA Pull up value 10K Output Low Voltage Max 0 3V 200mA Page 9 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5
3. These installation files are available in the Documents and Downloads section of the MKS Instruments ECM2 website at http www mksinst com product product aspx ProductID 1 155 Note Multiprog Pro is available for purchase from MKS Instruments Please contact your local sales representative for pricing and availability information Multiprog Express is available free of charge via download The installation for Multiprog Express and Multiprog Pro are similar Installation on Windows XP and Windows 7 are both supported though the installation screens may appear slightly different For reference purposes the installation of the ECM2 MULTIPROG Express Setup exe on a WindowsXP computer is shown below Start by double clicking on the ECM2 MULTIPROG Express Setup exe file NOTE there are options to select installation packages however installation must be done in the exact order listed in the installation i e the user cannot install eCLR ARM before installing Multiprog Page 45 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technoloav for Productivih ECM2 User Manual Rev 1 5 echnology Tor Productivity Click Install on the following dialogue box O ECM2 MULTIPROG Express 1 0 1 535 Setup Jc E3 Choose Components Choose which Features of ECM2 MULTIPROG Express 1 0 1 535 you want to install Check the components you want to install and uncheck the components you don t want to install Click I
4. Move a 7 df TE M amp Va B a mrov lt Generating IEC Code Collecting POUs used by RESOURCE MyResource Generating IEC code for RESOURCE MyResource Building instance tree for RESOURCE MyResource E AC GG Generating specific Code for CONFIGURATION ECMConfig Bi Generating specific Code for RESOURCE MyResource w 0 Error s O Warning s v sad Build Errors h Wamings Infos PLC Errors Print Multi User For Help press F1 2 2 C gt 2GB Figure 6 19 Locating the Multiprog help contents The KW Soft Multiprog Help File provides information on creating PLC code and compiling For additional information on programming in Multiprog refer to the KW website on Multiprog project at http www kw software com com service 2680 jsp 6 2 2 KW Multiprog Project Control and Download Once a project is compiled using Make or Rebuild Project it must bedownloaded to the target simulation s or to the connected PLC s The system recognizes whether the program must be downloaded to only one or to several available target resources Depending on the number of resources in the subtree Physical Hardware different dialogs can be used for downloading as shown in the following figure On the left side only one resource is available Therefore clicking the Project Control icon directly calls the resource control dialog 1 Clicking Downloa
5. Source Output High Voltage Min 23 7V 200mA Pull down value 10K Output Low Voltage Max OV 2 OUA Isolation 25KVrmms HY Max update rate Imec 0 0 0 EMC Protections t 2kv Immunity to EFT Burst EN60490 1 EN61000 4 2 Current Protection Each channel 1 5A DO driver internal Current limit Total 10A Current limit circuit Polarity Sink Source HW selectable per 16 lOs for DIO 0 185 per 2 lOs for DIO186 207 per 1 IO for DIO208 209 Analog Input yy Differential 32 NNNM PR RN 110V 16 Bit Accuracy Differential 110V 0 05 96 FS 10V For 0 05 periodic calibration is needed Input DC resistance 0 4MO Diff 0 2M Single Pull Down Res ended 3db filter frequenc 0 76kHz Calculated as f 1 2TRC EMC Protections Clamping diodes to 15V EE S S S S ll A S I No Isolation Same Net different planes For Analog and Digital part Page 10 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Analog Output AN 7 Single ended with offset 16 Resolution Range 10V 16 Bit Accuracy Range 110V 0 03 96 3mv FS 10V required 0 1 pee emen Capacitive load max 1nF EMC Protection t 2kv Immunity to EN60490 1 EFT Burst EN61000 4 2 Isolation No Isolation Programmable Interlocks Certification SIL3 Redundant PLD design architecture 1 for watchdog function selectable in groups of 12 32 are m
6. FustProject C Documents and Settings All Users Documents MULTIPROG Projects MyPOU Ladder LD ECMConhg eCLR MyResource eCLR_ECM2 Task DEFAULT Figure 6 6 Reviewing the project description Page 59 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 7 Right click on MyResource gt Settings O MULTIPROG FirstProject LI dkr eg Q IS Sa UA PIO ree Window b d NG e Project C Documents and Settings All User p Libranes 1 Data Types cs Logical POUs mr MyPou ii MyPOUT 18 MyPOUV MyPOU qe Physical Hardware ECMContig eCLR cy Tak Insert 3 ye Takl D Delete MyPC Global Vanab AP Cut 10 Configaret 0 Copy E Expand All Pietine Phage OT Exclude Create Global Variables from Externals Update External Variables From Globals Figure 6 7 Opening resource settings e mks Technology for Productivity Counter Down Counter Up Counter Up Down Division Equal Falling Edge Detection Greater Than Equal gt Greater Than gt Less Than Equal lt Less Than 4 Modulo Division Assigns Value Multipication Not Equal Complement Bilwase OR Page 60 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technoloav for Productivitv ECM2 User Manual Rev 1 5 echnolog roductivity 8 Choose TCP IP for communication Type and enter the unit IP address of the ECM2 displayed in the ECM
7. This command will allow the ECM2 to scan the network the module Page 41 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 a Telnet 10 202 2 197 Bl xj DeviceNet Remote Scanner Browser ersion 1 3 8 0 Configuration file does not exist Anrapiproxy cfq Updates to the configuration file Unchanged cards Deleted 8 existing cards Found new cards EDN1 new eth netuwuork BB BB 17 18 75 2B eth _ address ld 215 EE A0 91 60 02 A2 Added i new card 2 Figure 4 2 Telnet view during browse for DeviceNet networks Repeat the above steps for additional networks 4 1 1 Deleting the DeviceNet config file To remove the DeviceNet network or networks if multiple are connected in the telnet session type dir and Enter Then type del dnrapiproxy cfg and Enter This will reset the ECMe to a state in which no DeviceNet networks are connected New DeviceNet networks can be added at this or later time 4 2 DeviceNet Master Diagnostics and Information For additional information and diagnostics of the Master modules please see Molex documentation 4 3 DeviceNet Master Detection Mechanism Currently ECM2 only supports the Molex Brad Ethernet DeviceNet Masters Source www molex com Table 4 1 Molex Part Numbers SST EDN 1 112034 0021 SST Remote DeviceNet Scanner Ethernet remote connection Din Rail mounting IP30 Page 42 of 121 MKS Instruments CIT P
8. Y minor revision Any change that does not affect functional safety should be recorded by this numeral which will not require re assessment by the certification body Page 5 of 121 MKS Instruments CIT Products 2012 All rights reserved jechnoloay for Productivity ECM2 User Manual Rev 1 5 1 General Information The ECM2 is a control platform that provides an integrated solution with I O interlock and signal distribution conditioning in a compact low cost package The unit can be implemented as a complete control platform for a single location or tool or for a complete manufacturing line The ECM2 can be used to manage all required tool control needs handles detailed execution tasks using common programming languages including C and IEC 61131 3 such as ladder logic structure text sequential function chart to run certified programmable safety interlocks There are multiple control and data monitoring interfaces for the ECM2 e Modbus TCP supported in the future e DeviceNet Slave supported in the future as well as Master s via external module s e EtherCAT Slave and Master supported in the future e Profibus DP supported in the future 1 1 Conventions used in this User Manual to a procedure practice condition or the like which if not correctly VL Warning The WARNING sign denotes a hazard to personnel It calls attention performed or adhered to could result in injury to personnel Caution The CAUTIO
9. Baud 9600 9600 baud Up to 115200 Serial baud support 300 600 1200 2400 4800 9600 14400 19200 38400 57600 115200 Bits USINT 727 data bits 8 8 data bits Page 84 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Parity USINT Stop USINT Buffersz UINT Done BOOL Handle UINT Error BOOL e emks No parity odd even mark 1 stop bit 1 stop bits 2 stop bits HW buffer size Limit to IKB HW buffer New data will be discarded when buffer is full 0 1 2 3 4 Space 0 1 2 0 The function block was not executed 1 The function block was executed File handle of the file from which should be read 0 No error occurs while opening creating the file 1 error occurs while opening creating the file ErrorID DWORD Windows last error code on opening the port 6 2 3 2 ECM RS232 READ and WHITE block Table 6 7 Parameters of the RS232 Read and Write block EXECUTE Handle MaxLength Buffer Done LengthA vailable BufferSz Error ErrorID BOOL DWORD UDINT Any BOOL UDINT UINT BOOL DWORD Read serial data from buffer if a rising edge 1s detected File handle of the file from which should be read Number of characters to be read Data buffer for the data to be read This should be an array 0 The function block was not executed 1 The function block was executed Number of read chara
10. DIO10 41 EXP DIO24 is EXP DIO46 41 EXP DIO65 17 EXP DIO11 42 EXP DIO23 17 EXP DIO47 42 EXP DIO66 EXP DIO22 18 EXP DIO71 43 EXP_DIO67_ 19 EXP DIO12 44 EXP DIO21 19 EXP DIO48 44 EXP DIO68 20 24 GND 45 24 GND 20 24 GND 45 24 GND 21 EXP DIO13 46 EXP DIO20 21 EXP DIO49 46 EXP DIO69 22 EXP DIO14 47 EXP DIO19 22 EXP DIO50 47 EXP DIO70 23 EXP DIO15 48 24VDC 23 EXP DIOS 48 24VDC 24 EXP DIO16 49 24VDC 24 EXP DIO52 49 24VDC 25 EXP DIO17 50 24 GND 25 EXP DIO53 50 24 GND 2 4 2 2 1 Digital Input Interface Example The individual outputs will support up to a 200 mA load per channel Each output is thermally protected against short circuiting and includes under voltage protection Outputs default to the OFF condition during power up and processor reset conditions The figures below show the output and output with relay circuitry For AS01023G 01 digital I O is configured as sourcing active high Other ECM2 part numbers or configurations digital I O can be configured as either sinking or sourcing by the factory Page 18 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 VCC O U To Core Circuit Reference 12 5V Figure 2 7 Equivalent circuit Digital input Below is an example of how to use the digital input interface for both the sinking and
11. Libraries 7 9 Maintenance and Safety 7 9 1 System Periodic Test Monitoring User must periodically monitor the internal status bits of the Prog Ilk over the network for any indication of failure The monitoring system will alarm in the case of a failure alerting the user that the tool s safety process requirement and specification indicate a need to replace the unit 7 92 Self Test A periodic test of the HW can decrease probability of failure In our case since there is a redundant architecture 1002 after a channel failure a functioning channel still remains to provide the time necessary to replace the board The self test is based on two functions Channels Output Comparison and Mutual Alive Sign Page 110 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 7 9 3 User Relay Diagnostic Test The programmable Interlock has self diagnostics features that can diagnose internal circuit failures while in operational mode This is achieved through the 1002 topology of the design Each output channel has two Relays connected serially such that if one fails to open safe state the other will back up These Relays are not diagnosed by the design for a case of contact fail to open They need be tested once a year in order to comply with the SIL 3 This test is supported by a dedicated circuit that is part of the Programmable Interlock design and requires human activation 7 9 4 P
12. also be inverted Figure 7 5 showsthe inverted Interlock output logic Interlock Output Figure 7 5 Inverted Interlock Output 7 6 ViSim Tool for Interlock Output Logic Commissioning 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 and I O symbols simulate the design and generate a csv file This file can then be loaded into the Prog Interlock platform via FTP Page 92 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 OQUCLIVITY Technology for Pi 7 6 1 Installation 7 6 1 1 Requirements The following applications need to be installed 1 MS Office Excel 2007 or 2010 NOTE Other versions of MS Office Excel are not supported at this time of writing 2 3 MS Office Visio 2007 or 2010 In some cases registration of the below Dynamic Libraries are needed in order to make ViSim works with Visio C Windows system32 scrrun dll C Program Files Common Files Microsoft Shared DAO dao350 dll C Program Files Common Files Microsoft Shared DAO dao360 dll To register the above dll at window Start gt Run type regsvr32 path to dll location An example of the first dil registration with regsvr32 is shown below Type the name of a program Folder document or Internet resource and Windows will open it For you Open regsvr32 C windows system32 sc
13. apply the changed setting Stop stops the program execution on all selected PLCs or simulations Reset resets all selected PLCs or simulations Control Calls the control dialog for each selected resource If breakpoints are set for one resource the related control dialog Resource name displays the buttons Step Trace etc automatically closes the dialog Project control The communication path between the dialog and the connected resources are terminated When re opening the dialog the communication status Close Offline is displayed for each resource and you have to re connect the desired resources in order to control them using the dialog Project control Please refer to the note below this table NOTE Communication channels between the system and a resource Each time you access a PLC in order to download a program control the PLC using the buttons Cold Stop etc or switch a worksheet into online mode the system establishes a communication connection to the requested PLC In the dialog Project control this is done using the button Connect In the control dialog Resource name and when switching a worksheet into online mode it is performed automatically When closing the dialog Project control or the control dialog Resource name or switching an online worksheet back into offline mode the communication connection 1s terminated For that reason the connection between dialog and PLC 1s al
14. computer must be on the same subnet as the ECM2 NOTE Currently only the U19 port is enabled for Ethernet access Ethernet port U18 is not enabled e To start with Multiprog Pro or Multiprog Express IEC61 1931 3 refer to chapter 5 e Power the ECM2 by supplying 24 volts to the power connector P2 If troubleshooting requires viewing the boot status messages over the Console port refer to instructions in section 2 8 e Analog 15 volts for Analog modules and 24V for Digital IO are supplied internally No additional power is required for the unit 3 2 1 LCD Power Start up Sequence The front LCD panel goes through a status sequence during boot Depending on the network setting some LCD screen displays and unit status might differ due to initialization The expected display and unit status based on LCD display are shown below First Power Up LCD display will display a default screen with double vertical lines as seen below Page 32 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Figure 3 1 Initial LCD View on boot ECMe software booting sequence will indicate the booting start as shown below Figure 3 2 LCD View during boot sequence Then ECM2 will check network setting The following image may flash quickly or not at all if the IP address is configured for static IP address Figure 3 3 LCD View during boot sequence Page 33 of 121 MKS Instruments CIT Products 2012 All
15. example Al0 and Al0 from AIO and Al1 pair forms differential analog input 1 as based 1 reference from the mapping 4 Each analog requires two bytes of data single ended or differential does not change the number of bytes needed for data representation Page 72 of 121 MKS Instruments CIT Products 2012 All rights reserved echnoloay for Productivity ECM2 User Manual Rev 1 5 5 This example maps only one analog input AIO to the group called ECM Al starting at an address 20 and length of 2 bytes prs TIL Pills gay Starting Address IYON y at 20 Meat ANC Length is 2 OTT Choose Diver Analog Input i Fest Al Maica length 64 bytes Analog Input 0 LSB Analog 0 MSB ks 6 2 Writing IEC code and compiling and downloading to unit IEC coding will be created in the MyPOU as created by user when the project is created After the IEC code is completed it needs to be compiled and downloaded to the ECM2 For full reference of using Multiprog please refer to the KW Software documentation 6 2 1 Compiling There are several ways to compile the project once you have finished editing The corresponding menu items are provided in the Build submenu Additionally each command is available as a toolbar icon Page 73 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM User Manual Rev 1 5 Technology for Productivity MULTIPROG FirstProject MyPOU MyPOU Slee
16. expansion board 210 354 are also always enabled direct IO Any IO point can be used as either an input or an output DIDO points can be used as output in conjunction with interlocked logic If the interlock string for that DO driver is not satisfied the DO point will not operate and stay off NOTE Interlock outputs 0 16 each enables DIDO driver 17 31 six DIDOs per driver If the interlock logic is not satisfied the DIDO associated for that driver will not be enabled Programmable interlock 24 M Distribution Board Main Board Figure 2 5 High level Interconnect for DIDO and Interlock 37 pin D SUB Female 18 18 17 16 16 14 12 2 11 NO 8 7 W 5 4 3 37 1 FT a i La T CUNANAN ANA NAA ANA 4 10000000000000000009 J K 4 i P i i i i Ha I7 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 Figure 2 6 Combo Connector Pinouts Connectors J13 J14 J15 J16 J17 J18 J19 Table 2 5 Digital I O Legend DIO Digital Input Output 24 GND 24VDC 24 Volts DC Page 16 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Table 2 6 Digital I O DSUB 37 Pinout Summary Pn 00 lo lo lo j 1 24VDC 24VDC 24VDC 24VDC 24VDC 24VDC 24VDC 2 24 GND 24 GND 24 GND 24 GND 24 GND 24 GND 24 GND_ 8 DIO12 DIO38 DIO64 DIO90 DIO116 DIO142 DIO168 4 DOM DIOS7 DIO
17. in step 10 above b Create a name and select the task associated with the IO The example below create an IO group for a DeviceNet slave on Network 1 with 10 input bytes a scan rate of 50ms and a reconnect time out of 50ms c Make sure the length in the logical address area matches that which you enter for the Driver Parameters below Page 66 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Jy ECM2 User Manual Rev 1 5 Technology for Productivity Properties Name SlavINetworkT Task Taski Logical addresses l Destin Start address ML el ates Length End address Data configuration L3 aka etar Refresh by task O manual Board I Module ECM2 Hilscher CIF ANTERBUS G4 MKS DeviceNet Modbus TCP User defined Input Comment Figure 6 16 Example of setting DeviceNet IO group d Click on the MKS DeviceNet then click on Driver Parameters K MKS Instruments DeviceNet Driver Configuration MKS_ DNET Driver DeviceNet Card Index 0 Network Size Bytes Scan Rate ms Reconnect Timeout ms Figure 6 17 Setting DeviceNet driver parameters Page 67 of 121 MKS Instruments CIT Products 2012 All rights reserved emks elt e M Dd pig go ECM2 User Manual Rev 1 5 echnology Tor Productivity 6 1 1 ECM2 IO Mapping detail Process Input Image PII and Process Output Image PIQ are map
18. interface Please see Multiprog chapter for the serial port function block on how to access these ports through IEC programming J30 is not currently enabled and cannot be used Page 30 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks lechi ol IV is Produ UVITY ECM2 User Manual Rev 1 5 DB9 MALE 1 2 3 4 5 6 5 19 9 Figure 2 20 RS 232 DB9 Connector Pinouts J28 J29 J30 J31 Table 2 18 RS 232 Connector Pinout Summary RS232Function DCD Data Carrier Detect RXD Receive Data TXD Transmit Data DTR Data Terminal Ready RTS Request to Send CTS Clear to Send DSR Data Set Ready HI Ring Indicator Pin 6 8 2 Page 31 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 3 Quick Start 3 1 Network Configuration The ECM2 network settings are factory configured as shown in Table 3 1 Table 3 1 Default Ethernet setting IP Address 192 168 1 3 Subnet mask 255 255 255 0 Default Gateway 3 2 Comnecting to a computer via TCP IP and over the Console Port and Preparing to boot the ECM2 e The following are required e Laptop or PC including TeraTerm Pro or equivalent and Multiprog Express Pro e Ethernet cable connected directly or over a Hub to the ECM2 e Optionally a Serial port cable e Attach the Ethernet cable between the unit U19 and your computer or use a HUB to build a small network Your
19. only intended to be used within the 61508 overall um lifecycle 7 3 Operation Description There are two modes of operation 1 Prog Debug 2 Operational In the Prog Debug mode the following functions are available 1 Load the Interlock Logic IL and the Product Data EEPROM 2 Read the content of the EEPROM In Operational mode the access is limited to few registers for monitoring otatus register Inputs register Page 86 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity Outputs register A mechanical rotary switch is used for mode selection It is designated in Figure 7 1 Operational mode is set with the rotary switch pointing to 0 Prog Debug mode is set with the rotary switch pointing to 9 Other positions of the rotary switch are not defined The switch is not easily accessible to avoid unintentional change Prog Debug will set the outputs to off regardless of the IL functions Further control on the outputs is possible via the debug registers as described in HW support for Debug Cer IWIT CH TEST STATE LED TEST RESULT LED ARASA AA Y Y ERO SO Y Y Y Y Y Y Y SY SS BALL SS PA AY o m KE NEKALATALLA ID if seeeeeeee eee Gi TEST 3VVTCH ROTARY SVITCH Figure 7 1 Locating the programmable interlock board switches Moving the switch from Prog Debug to Operational mode will take effect any time The other direction from Operation
20. return the following features for the unit a Product Name b Part Number c Serial Number d Product Version e Product HW Version f User Manual g Test Fixture Part Number h Test Fixture Version i Manufacturing Date j Product Install Date dniotest Test the IO connection for DeviceNet slaves Scans for and adds all detected slaves for all EDN cards configured on the ECM2 Opens an IO polled connection and increments each byte by 1 every 100ms Runs forever until the user quits by entering q in the command window Available commands by OS design date This command will return the current setting date on the ECM2 time This command will return the current time on the ECM2 Page 121 of 121 MKS Instruments CIT Products 2012 All rights reserved
21. rights reserved smks ECM2 User Manual Rev 1 5 3 2 1 1 With Static IP Address As default the unit is configured with the static IP address 192 168 1 3 If network configuration remains as static no Ethernet cable connection is required for unit to be complete IP detection mechanism as part of boot sequence A screen such as that shown below with static IP address will be displayed indicating that the unit completed the boot sequence and is ready Figure 3 4 LCD screen showing IP address 3 2 1 2 With DHCP network setting If the ECM2 network setting is configured to DHCP an Ethernet cable connected to a switch or network capable of assigning an IP address for a node on the network is required ECM2 will continue to query for IP address and remain in wait mode until an IP addressed is assigned to it The screen shown below with continuously scrolling dots will continue until an IP address is assigned Figure 3 5 LCD screen during DHCP IP assignment Once an IP addressed is assigned and detected the ECM2 displays its IP address as shown in the next figure indicating that the boot up is complete and the unit is ready Note that the IP address in the figures is only given as an example and your IP address may be different Page 34 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Figure 3 6 LCD screen after DHCP IP assignment 3 2 1 3 Resetting the Unit and Possible Boot error D
22. subnet as the ECM2 to do this To launch telnet in Windows click Start then Run then type telnet and hit Enter Then type Open 192 168 1 3 or the IP address shown on the LCD screen if different At the command prompt type ipsetup and press ENTER key the following screen will appear Telnet 10 202 3 152 Welcome to the Windows CE Telnet Service on Arrow Pocket CHD u 6 88 gt ipsetup Current IP Address configuration DHCP Enter Desired Configuration Enable DHCP i Yes 8 Nod Figure 3 9 Telnet view during IP address change Page 36 of 121 MKS Instruments CIT Products 2012 All rights reserved e emis ECM2 User Manual Rev 1 5 4 Type 1 to enable DHCP or O to specify a static IP address Then follow the prompts for IP address settings mwaa TA Jelcome to the Windows CE Telnet Service on Arrow Pocket CMD v 6 88 ipsetup Current IP Address configuration DHCP Enter Desired Configuration Enable DHCP lt 1 Yes B Ha 1 aving SUCCESS Reset to enable new configuration wA ipsetup Current IP Address configuration DHCP Enter Desired Configuration Enable DHCP lt i Yes 6 Nod B Enter IP Address 192 168 1 150 Enter Net Mask 255 255 255 0 SUCCESS eset to enable new configuration Y Figure 3 10 Telnet view after successful IP address change 5 Reset power toggle the unit for change to take effect Be careful to toggle the power with sufficient wait
23. time as described in section 3 2 1 3 Note the reset will disconnect your Telnet session 3 3 1 IEC Start Up Rotary Switch Setting The following table refers to the right most rotary switch on the ECM2 front panel This dictates how the IEC program boot project if already in existence will be started at system boot up sl L Ng The boot project is the IEC code that will be executed upon boot of the ECM2 Page 37 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Im MEL n f J AD j T a E 3 f L Ege vobi DF F i a Hi ii TR at dus Fa p TUE j K B y a S aln pur p i dg al i i i woo r To F ad eros TN D m DRESS s NU Figure 3 11 Front Panel Image of Reset button and 3 Switches Table 3 2 Switch 3 Right Most Switch Setting Switch value Function Description IEC Boot project will not IEC program will not be executed by the system and will wait for Multiprog command For the next step olease refer to section 5 Cold Boot IEC starts with boot project with initial data For the next step please refer to section 5 2 Warm Boot IEC starts boot project with retained value from the previous execution For the next step please refer to section 5 3 9 IEC Not Active IEC will not be running Multiprog cannot be connected to ECM2 For the next step please refer to the Arrow SDK document available at http www mksinst com product product asp
24. to section 7 5 1 1 to Register saying ActiveX Cannot Create Object with dao360 dll and runsrv dll using regsrv32 error code 429 NOTE Refer to Microsoft knowledge database for helpful solution to Visio related issue e After opening the IO MAP excel file no e Inthe Visio menu bar select View and sheets are visible then Unhide Select the IO MAP Page 116 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 IEC61131 3 Project Control Dialog does not seem to Make sure the Project resource setting response with a pop up control matched the unit IP address Project error or warning with wrong Make sure the project resource for PLC resource type select eCLR ECM2 as PLC Processor type Multiprog cannot connect to unit after all Make sure IEC rotary switch is not on have been confirmed position 3 or higher Page 117 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Appendix B Available Shell Commands ednbrowse This command will allow the ECM2 to scan the DeviceNet network module create the dnrapiproxy cfg file at the root directory The same command can be repeated for each additional dnet master module The order of the DNET network is based on order of when the command was executed If the order of the network was not as desired the file dnrapiproxy cfg can be deleted and the process can be started from begin
25. 1 Page 62 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Add NO Group Task Logical addresses Start address Lenath End address Data configuration Refresh 9 by task manual Board 10 Module Device 9 Driver O Memory Hilscher CIF INTERBUS G4 MKS DeviceNet Modbus TLP User defined Input Comment emks lechnology for Productivity Cancel Description Figure 6 10 Setting Digital Inputs as example for adding an IO Group b In the Board IO module window high light ECM2 then click Driver Parameter c A window will pop up for user to select the type of IO digital analog or Programmable Interlock as shown below Select the desired I O type and the first IO byte that the user wants to access The text below the window shows the maximum number of bytes if I O group 1 8 is selected For example if first DI group is 9 16 is selected the first 8 DI cannot be accessed by user and total length will be reduced by one byte Page 63 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technology for Productivit ECM2 User Manual Rev 1 5 achnoloay Tor Productivity E ECM2 Driver Configuration Choose Driver Digital Input l First DI Group 1 8 Maximum length 27 bytes Figure 6 11 Selecting the driver and group 11 Similar mapping can be done for other I O groups li ECM2 Driver Configuratio
26. 121 MKS Instruments CIT Products 2012 All rights reserved Tank nin Fo n i ria ecni OIQUV U f I OUUCLI JILY ECM2 User Manual Rev 1 5 2 4 3 Interlock IN Connectors Up to 48 physical interlocks Inputs are available via connectors J22 J23 and J24 The pin assignments are shown below 37 pin D SUB Female 19 18 17 16 15 14 13 121110 9 8 7 6 5 4 3 2 1 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 Figure 2 13 Interlock IN Connector Pinouts Connector J22 J23 J24 Table 2 8 Interlock IN Legend IN ILK Interlock Input 24 GND 24VGround Page 21 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Table 2 9 INTERLOCK IN DSUB 37 Pinouts Summary o Pn JJ loo 6 24GND 24 GND 24 GND 8 24GND 24 GND 24 GND 9 INILK4 IN ILK20 IN_ILK36_ 24 GND 24 GND Page 22 of 121 MKS Instruments CIT Products 2012 All rights reserved jechnoloay for Productivity ECM2 User Manual Rev 1 5 2 4 4 Interlock OUT Connectors 37 pin D SUB Male 5 6 7 8 39 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 Figure 2 14 Interlock OUT Connector Pinouts Connector J25 J26 Table 2 10 Interlock OUT Legend ILK NC Interlock Normally Close LK NO Interlock Normally Open Page 23 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Re
27. 121 MKS Instruments CIT Products 2012 All rights reserved emks Technology for Productivit ECM2 User Manual Rev 1 5 echnology for Productivity Figure 6 21 The Multiprog Project Control dialog 1 resource Dp 2 resources x x y y x X 4 d 1 3 PLC 1 Le F amp Proyect control State Stop Fa rcm Lorde don Sie vto PC 2 Corb aon stop Reiet Wam PC Contigo mem Stop Hot S f gt 2 p Download Pract Bootpecyect Donrtond Downkaad Change Actwate J Eroure roa time lor Download Changes Delete on Target Include Bootprosect Irude Sauces J Include DET dala Download Souce leue L tes Libres leche P agelmod Inciude Decherd Code Download Fie Figure 6 22 Multiple Resource control in Multiprog Additionally you have the possibility to download changes without stopping the program execution on the PLC to download the project source or a file of any type individually to each connected resource in order to store it or for any other future usage Table 6 2 Dialog Element table and description Dialog element Page 78 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Dialog element This selection list contains all resources which are defined in the subtree Physical Hardware Each available resource is represented as one line in the selection list The list consists of several columns Resource indicates the resource n
28. 2 LCD window in the Parameter window and select eCLR 3 0 Core 3 0 0 for Version Build settings then click OK Resource settings for eCLR Arrow Cocrnure 3bon Type Pay yet 19216813 This is ECM2 unit IP address eLLA SU foe 1U Select eCLR 30 Core 30 0 for Build Setiings Update Buli senos behavior O automate Update Ack betore Update No Update Onire Update Irteival Caspia Ce hane Stack check 7 Amay boundary check Figure 6 8 Identifying the ECM2 unit IP address in Multiprog Page 61 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technology for Productivity ECM 2 User Manual Rev 1 5 echnolog oductivity 9 Double click on the IO Configuration item in the explorer tree on the left side of the screen A pop up window for device IO configuration will appear IH 1 0 Configuration INPUT OUTPUT VARCONF WO Group Board 1 0 Module Range Owner User defined Input EA zT 4 4 defaulb Figure 6 9 Starting IO configuration in Multiprog 10 Delete the default entries there may only be one in the IO group list on INPUT tab as well as the default out on OUTPUT tab New IO groups can be created with appropriate name for each project Follow the steps below to create lO groups a Onthe INPUT tab click Add to create an Input IO group A new window will pop up as shown below Create the IO group name and select the task created for this project Task
29. 4 SCANNING THE DEVICENET NETWORK NODES cccsceccecccececcececcececccecucceceecucseaececuccecuesesecacaecsuaesass 43 4 5 OMAPPING FOR SLAVE NODE DEVICES LX 43 5 EC61131 3 Compliant Programming Interface eeeeeeeeeee ee ceeeeeee rennen 45 5 1 SOFTWARE REQUIREMENTS ccccsccececcececcececcececcececuccecuccucueueuecuececueaecsenenecsuausseaeueeuesecsuaessuaeceuuaecass 45 EA MEE 170 52 5 1 2 IEC LED SIUS ess DADAANAN UGANDA NAO DANDAN UNAG DIE KANAN AMAIN BANDANA NANG ANAN AA 52 6 Tutorial Creating a Multiprog Project asasamana namana KE NN KAN NN NANANA ANNA KA NNANANNNN AN NNNKANNKKK ants 54 6 1 WRITING IEC CODE AND COMPILING AND DOWNLOADING TO UNIT 0ccecceccececcecceccececceccecaccucaeceecaneass 68 CI Coo e E A 73 6 1 2 KW Multiprog Project Control and Download essssseiissssses eese 76 CLS La SE gl fe com LOUY PTT uU 81 Page 3 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Scnnorogy TOP TTOGUOIIVIT PROSIammoabie JBferID6KS usines siis AA 86 a GA 86 7 2 MAIN a oalUri feePCRNR G M Aa 86 7 3 OPERATION DESCRIPTION Jasaan GNG rra regere KG Ga a Ga 86 P FOJ OOUT MOOS AA eer eee eee 87 7 3 2 Operational Mode cccsscecccccsssseeeccssnaeseecsauueeecssaaeseeeessasuseeeess
30. 63 DIO89 DIO115 DIO141 DIO167 5 DIO t0 DIO36 DIO62 DIO88 DIO114 DIO140 DIOT66 Lx E 8 DIO8 DIO34 DIO60 DIO86 DIO112 DIO138 DIOt64 9 DIO7 DIO33 DIO59 DIO85 DIO111 DIO137 DIO163 10 DO DIO32 DIO58 DIO84 DIO110 DIO136 DIO162_ 24 GND 88 DIOO DIO26 DIO52 DIO78 DIO104 DIO130 DIO156 31 0O JAJO JIN Page 17 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Table 2 7 Digital Expansion O Female DSUB 50 Pinout Summary EE Connector J20 NEM Connector J21 24VDC Pint Pin 24VDC 26 EXPDIO8 1 24 GND 2 24GND 27 EXP DIOO 28 EXP DIO34 3 24VDC 28 EXP DIO55 4 EXP DIO1 29 EXP DIO33 4 EXP DIOS7 29 EXP DIO56 5 EXP DIO2 30 EXP DIO32 5 EXP DIO38 30 EXP DIO57 Pint 1 2 24 GND 3 EXP DIO39 EXP DIO58 7 Exp DIO4 32 EXP DIO30 8 24 GND 33 24GND 8 24 GND 9 EXP DIO5 34 24VDC 9 EXP DIO41 10 EXP DIO6 35 24VDC io EXP DIO42 35 EXP DIO60 11 EXP DIO29 36 EXP DIO28 11 EXP DIO36 36 EXP DIO61 12 EXP DIO7 37 EXP DIO27 12 EXP DIO43 37 EXP DIO62 13 EXP DIO8 38 EXP DIO26 13 EXP DIO44 38 EXP DIO63 14 24 GND 39 24 GND 14 24 GND 39 24 GND 15 EXP DIO9 40 EXP DIO25 15 EXP DIO45 40 EXP DIO64 16 EXP
31. DN1 stopped scanning successfully Card EDN1 no more device active Card EDNI1 taken offline succuessfully j IO to be active IO to be active Slave CCard EDN1 MACID 6 IO Active Starting Figure 4 3 Telnet view during scanning for DeviceNet network nodes 4 5 lO Mapping for Slave Node Devices All devices on each network are mapped as a single continuous block of memory per DeviceNet MaclD address To illustrate an example is given in the table below Page 43 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Table 4 2 IO Mapping Example DeviceNet Network Node Input Output Size also known as Produce Consume Slave1 MacID 2 5 5 bytes Slave2 MaclD 3 10 6 bytes ee ee With the above example the input for network 1 will be 22 bytes and output will be 23 Table 4 3 IO Mapping Example summary of network requirements DeviceNet Network Output 22 bytes 23 bytes 17 bytes 22 bytes Continuing with the above example the memory mapping of the DeviceNet slave IO nodes will be as follows Table 4 4 IO Memory mapping in ECM2 DeviceNet Network DeviceNet Network Input Byte Output Byte MaciD IB00 1B04 QB00 QB04 YolB05 IB14 oQB05 QB10 96 B100 96IB104 QB200 QB206 1B105 IB114 QB207 QB216 2 1B115 IB117 QB217 QB221 As defined by the perspective of the ECM2 Assumes starting address is x00 This can be set at any availabl
32. H121 H1 Vendor 664 Product 121 2 produced 4 consumed DNET Master EDN1 Found 1 slaves total size 4 produced 2 consumed Found 1 slaves Card EDNI1 stopped scanning successfully Card EDN1I no more device active Card EDN1 taken offline succuessfully Waiting for 10 to he active Maiting for IO to he active Slave CCard EDN1 MACID 6 IO Active Starting 2 Page 119 of 121 MKS Instruments CIT Products 2012 All rights reserved mks ECM2 User Manual Rev 1 5 ipsetup This command allows user to change the IP address of the ECM2 Type ipsetup and press ENTER key follow option prompt for unit IP address change Unit has to be power cycled for the change to take effect Telnet 10 202 3 152 Jelcome to the Windows CE Telnet Service on Arrow Pocket CMD u 6 66 gt ipsetup Current IP Address configuration DHCP Enter Desired Configuration Enable DHCP f1 Yes H No Page 120 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 echnology for Productivity plc This command starts the execution of the PLC program if existed If rotary switch is set on 1 this command will be executed automatically when ECM is booted up This command is only on AS01023G 01 prgintlk This command is for interlock program and debug Type prgintlk without any option then press enter key will display synopsis and available option for the command version This command will
33. N sign higlights information that is important to the safe operation of the ECM2 or to the integrity of your files l Note 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 italics 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 Example See page xxx Page 6 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 2 Hardware Description 4 Setup This section describes the ECM2 hardware setup and the interface with the Ethernet network Modbus TCP Profibus DeviceNet EtherCAT 2 1 Hardware Description The ECM2 provides the following interfaces e O Capability o Digital 210 or up to 354 with expansion cards Analog In 32 differential Analog Out 16 single ended with offset 48 interlock digital inputs 24V 1 Watch Dog Input TTL Support 32 Interlock functions 4 Serial Ports RS232 1 dedicated Serial Monitor 3 Serial e KW Multiprog software with IEC61131 3 compliant development environment for IEC programming capabilities e LCD for IP address display e Network Status LEDs e IP Address Switches O O OOO This user manual is based on general market configuration
34. User Manual Rev 1 5 echnology oductivity ug us OVR TMP 3 1 15 C DOC Figure 7 24 Example of Latch and Clear Interlock design The example in Figure 7 24 is translated 115 65 Watchdog into the csv file shown on the right 116 IN O1 02 03 117 1 A3 A1 The latch condition is assigned to AND term 1 A1 The latched function is Hg Em a assigned to A3 The clear condition is the 113 3 Al s same latched function inverted by usinga 120 4 A1 free output in this case O2 and then fed 121 5 A3 A1 p back to O1 as term 2 122 6 A3 Al 123 9 124 10 125 OUTFB 02 03 O4 126 2 A2 127 OUTNUM A1 5L INV 128 A2 gt C 129 Figure 7 25 CSV file with Latch condition 7 8 3 Download the Logic to ECM2 Once the interlock logic is simulated successfully and csv file is generated following the below step to download the logic file in csv format to the ECM2 and program it to EEPROM 1 NOTE Make sure the rotary switch for interlock is switched to program mode switch pointing to 9 position then power toggle the unit for the EEPROM program to take effect Page 107 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 2 ror D o IN SUE m m e emks Open a command window from your PC where you create the Visio Interlock file Change directory to where the csv file resides a This should be in the same Visim folder with the Visio file under work d
35. age 96 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technoloav for Prod ctivih ECM2 User Manual Rev 1 5 echnology for Productivity by using the mouse with the left click button held down and tie them to the symbol pins as shown in the following figure You ll need to drag the LINE three times v UU ViSim Test2 vsd Microsoft Visio o i amp Home Insert Design Review View Developer Add Ins es o o gp 3 mp x i we L Pointer Tool Oeil iJ MET Find Pa Arial 1Jp A A Z A L 2 z Es eL 5 95 A a Connector X d Line E Eackwa Layers Paste IB E Auto Align Position amp F B T U abe Aa A E s iE A Text Gy Li Shadow E Space HET if ef Select Clipboard Font a Paragraph Tools Shape Arrange Editing LLL LL T SF es Be lt a SS aa Can M Shapes 4 BAN LLLI Li WATA eT LULLA LLLI LLLI LLLTLLI L um LLLLI LLLI ul Ha More Shapes p IL ao Quick Shapes paaa z Drawing p E ie Fx m Iu AI 7 LINE Le adi D LOI ed o Ig E UT pb ind ee M pa ORY cap i BELAY CD TEST POINT ES 24V IG B ner F puru H 4 b H Page1 FJA r Pagelofl English U S wr O T 66 LJ H3 Ga pS a Figure 7 8 Simple one AND gate logic example with ViSim 7 7 5 Assign Inputs
36. al mode to Prog Debug will take effect only after system reset or recycle of the board power 7 31 Prog Debug Mode The user must set the switch to Prog Debug and turn the power off and on This will set the outputs to their off position for each channel The user can program the interlock logic via FTP File Transfer Protocol The configuration file includes an integrity check value Page 87 of 121 MKS Instruments CIT Products 2012 All rights reserved T ml m m i echnolioqv Tor FrOGUCIIVITV ECM2 User Manual Rev 1 5 7 3 2 Operational Mode When the unit is set to Operational mode it will perform an integrity check on the data based on CRO If no errors are detected the outputs will be set to follow the IL functions 7 3 3 Debounce on the Inputs A debounce mechanism is applied on the inputs Except Watch Dog Input The input signal must be stable during a predefined period of time in order to be resample and used by the IL This period of time is a parameter set by the user in the DEB DELAY 3 bit field of the Status Control register as follows Table 7 1 Interlock Inputs Debounce Values DEB DELAY Period of time for which the input signal Value 3 bit must be stable in order to be sampled in Otherwise previous signal value is kept 125 us 250 us 375 US 500 us 625 us 750 us 875 us 1000 us Default value for the debounce delay DEB DELAY is 0 which is 125uS 7 3 3 1 Set Debounce for Interlock In
37. ame resources list Configuration indicates the name of the configuration to which the resource belongs Status indicates the state of this PLC or simulation The status Offline means that no communication connection is established between the dialog and the resource Please refer to the note below this table Info shows a short information about the current PLC state or the progress of operations e g project download The dialog Project control always starts offline except a communication channel already is established to a particular resource because at least one related worksheet is opened in online mode Please refer to the note below this table Using the commands in the dialog area Online you can control the connections between the dialog Project control and the resources Online Connect Disconnect Connect The system tries to establish the connection to each PLC IEC or simulation marked in the resource selection list Disconnect The system terminates the connection to each PLC or simulation selected in the resources list If you are disconnecting a particular resource by clicking this button this only affects the communication connection between the dialog Project control and this resource Worksheets in online mode of the same resource are not switched offline by this operation See note below this table Both buttons in this area relate to each resource selected in the resources list The state of each select
38. and 5 This AND term is assigned to output 1 E 114 64 Input 64 1115 65 Watchdog 1116 IN O1 O2 O3 O4 117 4 A1 118 5 Al 3 1 119 OUTFB 02 03 04 OS 120 OUTNUM 121 122 Figure 7 16 CSV file generated by ViSim Tool for example above 7 9 Simulate the Design Turn the inputs ON and OFF by moving the mouse pointer as shown in Figure 7 17to activate the drop down menu Page 103 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Techn for Productivit ECM2 User Manual Rev 1 5 echnology for Productivity Figure 7 17 Button to toggle inputs for simulation Then click ON or OFF to simulate the output Figure 7 18 Toggle an input ON or OFF to simulate programmable logic design Figure 7 19 shows the result when both inputs are ON RELOUT Figure 7 19 Result of simulation when logic is TRUE and activates the output To reset the simulator click on the tool bar icon as shown below Mot aE man M8 ana a BO naa BI E Figure 7 20 Reset simulation condition on ViSim tool Page 104 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technoloav for Productivih ECM2 User Manual Rev 1 5 echnology for Productivity 7 8 Logic Structure 7 8 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 7 21 More complex logic structure The logic term represente
39. and Output Place the mouse pointer close to the INPUT symbol untila small menu item appears as shown inFigure 7 9 Figure 7 9 Selecting Input using drop down menu in ViSim Page 97 of 121 MKS Instruments CIT Products 2012 All rights reserved 4 emks oductivity ecni ology for PI ECM2 User Manual Rev 1 5 NOTE If the input symbols are spaced too closely together the input menu may not be easily accessible using the mouse to cover the input symbol The user can change input signal by selecting the input symbol with ribbon tab gt Add Ins gt Interlock gt Edit I O as shown in Figure 7 10Figure Z 10 LV a 7 ViSim Test2 vsd Microsoft Visio o 23 File Home Insert Design Review View Developer Add Ins A g cg 23 o mewa ib ahi Validate IO MAP file Place YO Eyo fiba mg lt mg eat 2 4 6 ig 110 12 14 116 E 20 rz 24 25 i28 30 32 wy Rese Edit VO attributes Create CSV Pie ape cap CD TEST POINT 74 EED 21V d RELAY F ourrur 2 ye ft EM 4 b MN Page 1 73 4 gt Page 1 of 1 English U S J Bj 2 66 e EJ d y Figure 7 10 Selecting Input using drop down menu in ViSim Click on this menu item and then click again on the Edit Pin sub item You will get a form as shown in Figure 7 11 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 fo
40. and SW Ir at the time of this writing Customer s specific configuration layout IO counts and functional features might differ Please contact MKS for specific feature and information on customized ECM2 products 2 2 Physical Specifications Criteria Specifications Dimensions 2U h x 13 w x 10 d Ethernet Connector 100 BaseT auto software switched RS 232 Connector TXD RXD DB9 connector Material chassis Plate chromate Material front Paint black Cooling Internal Fan Environmental Specifications Criteria Specifications Operating Temperature 0 to 45 C Storage 40 to 85 C Humidity 5 to 9596 non condensing Altitude Up to 2000 meters MTBF minimum gt 10 years 80 confidence level 87K Hours 80 confidence level Communication Protocol Specifications Page 7 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Protocols Supported Modbus TCP DeviceNet EtherCAT Profibus Master Coming soon Yes Coming soon Coming soon e emks Slave Coming soon Coming soon Coming Soon Coming soon Page 8 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Power Input Specifications Main Power Supply 18VDC 30VDC Power Consumption Typical 1 2Amp Max 10Amp Power Supply Analog 15V 1 vei Power Consumption Max 6 7Aamp Internally limited Fuse Status Detection and Power Measurements Fuse detection
41. ar then a message csv File creation completed will appear Press OK to note that the small red circles around the pins disappeared to indicate the connection has been made Page 100 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Tec far Prociictivil ECM 2 User Manual Rev 1 5 lechnology for Productivity RELOUT Figure 7 13 Complete interlock sample design ready for simulation Page 101 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM 2 User Manual Rev 1 5 Technology for Productivity Note All input symbols used in interlock design must be assigned a signal name Leaving a connected input symbol with no name will result in an error The error path will be highlighted with red wire to the un assigned input signal as shown in Figure 7 14 Figure 7 14 Complete interlock sample design ready for simulation Page 102 of 121 MKS Instruments CIT Products 2012 All rights reserved no mks hnology To oductlvity ECM2 User Manual Rev 1 5 7 f Logic example The example above will generate the below logic in Figure 7 15 Equivalent Logic for the simple example above OUT1 IN4 and IN5 bout 05 Output 1 Figure 7 15 Equivalent Logic for the simple example above 7 7 8 The Default CSV File The file created is ViSim work intlkcfg_user csv Figure 7 16 shows the logic definition section in this file in which one AND term is composed of the inputs 4
42. cters HW buffer size Limit to IKB HW buffer New data will be discarded when buffer 1s full 0 No error occurs while opening creating the file 1 error occurs while opening creating the file Windows last error code on reading data Page 85 of 121 MKS Instruments CIT Products 2012 All rights reserved jechnoloay for Productivity ECM2 User Manual Rev 1 5 7 Programmable Interlocks 7 1 Overview Interlock is a safety function that protects a system from hazardous states It disables the operation of external devices if a pre defined state of input conditions is not met Programmability enables the user to define interlock functions without having to rewire the board each time The design concept is based on one common design code that processes a user file Section 7 details the safety features and show how to program an Interlock on the ECM2 programmable Interlock module No logic file is loaded on the ECM2 unit as shipped from the factory 7 2 Main Features Implement 1002 programmable logic architecture Meets SIL 3 reference IEC61508 SIRA FSP 08005 Based on single form factor boards The interlock logic file is downloaded via FTP Self Diagnostic Programmable De bounce on inputs 48 interlock digital inputs 24V 1 Watch Dog Input TTL 32 real output functions 1 32 24V 3 3V input Power protection against Over Voltage OV Under Voltage UV and Over Current OC ai eee le his product is
43. ctor Pinouts Connectors J8 J9 J10 J11 J12 Page 14 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Table 2 4 COMBO MIXED I O DSUB 37 Pin Assignments Ping Col lolo Lt 15v DC 15v DC 15VDC 15VDC 15VDC_ 2 AO1 AO5 AO9 AGNDE AGND E 8 AOf AO5 AO9 AGNDE AGND E 4 AO0 AO4 AO amp AO12 AO14 _ 5 AO0 AO4 AO8 AO12 AOI4 6 AGNDE AGND E AGND E AGND E 8 Ab an7 APO AM Ab5 9 AM ane alg AMO Ab4 on AG an5 Al27 Asg A53 it AB AM AN NG AG Alt Al51 L 4 ao ana Ab ae AO 20 15VDC 15VDC H5VDC 15VDO 15V DC 21 AOS AOT AO11 AO13 A015 22 AO3 AO7 AO114 AO13 AO15 23 AO AO6 A010 AM9 Als 24 AO2 AO6 AO104 Alas Al62 25 AGND 27 AMO a2 A4 AM6 Albo 233 ag Abi A33 Alas A59 29 AGND AGND AGND AGND AGND 3 A8 AI58 3t az ang AS 32 ae ang alo AM2 A6 Page 15 of 121 MKS Instruments CIT Products 2012 All rights reserved mk Technology for Productivity ECM2 User Manual Rev 1 5 gy TO ity 2 4 2 2 Digital Input Output Connectors J13 J19 provide 210 digital I O points DIO 0 108 are direct IO DIO 109 209 are only enabled through completion of an interlock chain DIOs through
44. cts 2012 All rights reserved emks Technology for Productivi ECM2 User Manual Rev 1 5 echnology Tor Productivity 4 Create a resource name and select eCLR ECMe as the type Project Wizard Step 4 of 6 Please choose the Resource Name and the Resource Type EI C3 Poed CI Gawa C Dala Types fy Logcal FOU 0 MyProgiam C dl Pryeca Hardware Resource EE MuConhguration The Resource describes the characteristics of the processsor type of the PLC C usq Myflescuice N ame MyResourcel mes Tasks Ves e Globe Type eCLR ECM2 ate s p sa TS RA ID Contig Figure 6 4 Creating a resource name Page 57 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 emks Technology for Productivity 5 Create Task name and use default for Type Project Wizard Step 5 of 6 HS Project n 3 El E LJ LZ Data Types Cy Logical POL E a MyProaram ia Physical Hardware E ga MyConfiguration e MyRercurce J Tasks estes E Please choose the task name and type in which your predefined POU is running Task dami al DEFAULT iv Figure 6 5 Creating a task name Page 58 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 6 Click Finish when prompted Project Wizard Step 6 of 6 Project Description Project name Project Path emks Technology for Productivity
45. d in the control dialog opens the Download dialog 2 On the right side 2 resources are included in the project Therefore clicking the Project Control icon on the toolbar opens the Project Page 76 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM User Manual Rev 1 5 Technology for Productivity Control dialog 3 In this dialog all selected and connected PLCs can be controlled together Clicking the Control button opens the resource control dialog for the selected resource 4 thus enabling the individual PLC control 2 MULTIPROG FirstProject MyPOU MyPOU eil idih File Edt View Project Buld Objects Layout Online Extras Window 8x DEHN Ds Ce e amp amp elu m E LO miei ed PAY reo BA PAL Say E i Project C Documents and Settings Project Control v Libraries Dialoa lih MKSFirmwareLibrary i UA ECMZ LA PROCONOS Data Types v Logical POUs E MyPou i MyPOUT 3 MyPUUY CY MyPOU a Physical Hardware we ECMConfig eCLR Greater Thar e Eu rw MERE W Tas DEFA px MON B MPQU MM Modulo Divis Global Variables T NA MH 10 Confiquation Assigns Valu Multiplication Not Equal v Mi X Build f Evor Wamings Infos PLC Enos Print Multi User 12 18 C gt 2GB Figure 6 20 Opening the Multiprog Project Control dialog box Control Dialog box MyResource E z EJ Page 77 of
46. d by this structure would be Out 2 1and2 or 3and4 and 5 and 6 and 7 and 9 or 8 and 10 Figure 7 22 Equivalent logic gate for figure 14 Note The logic above depicts the equivalent logic equation for ling interlock logic condition not the actual TTL gate level for timing analysis purposes Page 105 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 The resulting csv is shown 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 7 8 2 Latch Structure echnology Tor Productivity 64 INPUT ba 65 Watchdog 11g 115 116 IN O1 117 1 118 3 119 3 120 4 121 5 A1 122 6 Al 123 7 124 8 125 9 126 10 127 OUTFB O2 128 2 Al 129 3 A1 130 OUTNUM 131 Figure 7 23 ViSim generated CSV file for more complex logic design above O3 Al Al A2 A2 O5 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 de energized Page 106 of 121 MKS Instruments CIT Products 2012 All rights reserved emks l echnoloav for Productivity ECM2
47. e Technology protected by U S patent numbers 7 620 516 and 6 993 404 Page 2 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Table of Contents REVISION ISTO I J s 5 1 General Information a ANNA Seen te eae meee ee te eee eee een eee 6 1 1 CONVENTIONS USED IN THIS USER MANUAL 0ccecccceccecceccecccucceceecuececeecuceaeaucuecaeueeneseetacaeneeneeaesenseees 6 2 Hardware Description amp Setup aussi ia AA AA AA 7 2 1 HARDWARE DESCRIPTION 5252 a YE ADRUXEI WE aca cPRrark AN 7 2 2 PHYSICAL SPECIFICATIONS asa 7 29 TOPVIEW AMT 12 2A CONNECTORS E E E E A A E 12 2 4 1 Power ConnectofS aaa aaa a eR nanana Rs asa saa R sa ag Pasa sa a Rasa aps ada 12 2 4 2 ID Connectors MRNRRERuu RAEII m 9UPT L 13 2 4 3 Interlock IN Connectors 2 22 0 20 aaa aasa aasa 21 2 44 Interlock OUT Connectors 20 202 aaaaaaa aaa aaa asaan sasa 23 2 4 5 Other Connectors 00 2 2 cccccccccececcccecececceceneceneceaessnsusedenensusueaesansnauseeaenansustaesensuscseaenansnanscaeaens 25 As KG AA 26 RA EED AA 26 DP WU AA AA 27 2 8 DIAGNOSTIC CONSOLE SERIAL cccececcececcececcececcececcccecaccecucucuucuececseaeseuaecaeauaecseausueueuecauaecauaecauaesenass 29 2 8 1 Connecting via a Diagnostic Console Ser
48. e 2 17e The screenshot in Figure 2 19 shows examples of the messages output on the Console Serial port Table 2 17 Serial Connection Parameters 115200 Data bits Stop bits Flow Control Page 29 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity The screenshot below shows examples of the messages output on the Console Serial port EU Tera Term COM1 VT File Edit Setup Control Window Help INFO ho ln n dpCurSett ings ulZoneHask Oxb 0TG Load HCO OTG Unload HCD OTE Load UFN HKS Instrunents enbedded CLR Version 2 2 0 20250 Hode 0 KS ECH2 PLC Digital IO Driver successfully loaded HKS ECHZ PLC Analog IU Driver successfully loaded HKS ECH PLC Interlock I0 Driver successfully loaded HKS ECH Firmuare Library successfully loaded HKS DNET Driver successfully loaded Failed to initialized retain data Creat ing Exit Thread 1 9 2006 4 21 41 PH n Figure 2 19 Console Serial Port Sample Screenshot This information available through the console serial port is valuable when troubleshooting with the aid of MKS applications engineering 2 8 2 RS232 Serial Communication Ports In addition to the dedicated RS232 console port the ECM2 supplies three additional RS232 communication ports J31 will be wired to the same console serial port for diagnostic J28 J29 are additional serial ports that can be accessed over IEC61131
49. e byte address Each additional network memory mapping is not required to be continuous to the previous network s In this example the memory assignments are not continuous qo 7 qo LEN 96IB15 95IB21 QB11 QB22 LEE PEE 1 1 1 2 2 2 Page 44 of 121 MKS Instruments CIT Products 2012 All rights reserved jechnoloay for Productivity ECM2 User Manual Rev 1 5 5 IEC61131 3 Compliant Programming Interface The ECM2 is implemented with Multiprog KW Software run time engine for IEC61131 3 compliant Programmable Logic Controller PLC programming capabilities including all five IEC supported languages e Ladder Diagram LD Function Block Diagram FDB Instruction List IL Sequential Function Chart SFC Structured Text ST According to KW Software Multiprog Express Pro Development platform allows full GUI and editor fully compliant with IEC61131 3 development interface and PLCOpen XML format see http www plcopen org for more information import of structure text from other PLCs 5 1 Software Requirements MKS provides three installation packages that include the following SW 1 Multiprog Pro version 5 35 or later with the option to install eCLR and MKS ECM2 drivers 2 Multiprog Express version 5 35 or later with the option to install ECLR and MKS ECM2 drivers 3 eCLR and MKS ECM2 drivers Use this option if you already have the Multiprog Pro or Multiprog Express software installed on your laptop or PC
50. e to be excluded in the subtree Physical Hardware and select Exclude from the context menu The context menu item of the affected resource 1s now checked and the resource node icon as well as all included elements are put in parenthesis as shown in the following example To re include an excluded resource into the compilation process select the context menu item Exclude again the item is then shown unmarked KW Soft Multiprog help file has lots of information on creating PLC code and compiling Page 75 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity 22 MULTIPROG FirstProject MyPOU MyPOU MBR id File Edt View Project Build Objects Layout Online Extras Window 2 8 X TAE Qua S E a E F o dem ae About IEC 1131 lt ii Help on Standard FB FU PLC Help o i adh M Group NG Project C Documents and Settings All Users D i Register gt Libraries Favorites v wu Data Types WAH T1 Logical POUs Name D E MyPOU ADD At i MyPOUT FirstSDO rsteDO WAND Bi zz MyPOUV W CTO Ci E MyPOU byte 1 Hct c 3 ye Physical Hardware Ecu C ye ECMConhg eCLR dit Div Di we MyResource eCLR ECM2 EEQ Ec we Tasks iro Fe Task DEFAULT lac Gk 0 MyPOU MyPOU GT Gi Global Variables HLE Le ut IO Configuration du Le jmo M E gt Us i
51. ed resource is displayed in the selection list column Status after executing the command Select all Marks all resources in the resources list Using the buttons in the dialog area Download you can initiate the download procedure Both buttons in this area relate to each resource selected in the resources list Precondition for starting a download is that the connection to a resource has already been established using the Connect button A button appears inactive 1 e grey if you have selected a resource in the resources list for which the command relating to the grey button cannot be executed at this moment A possible Download reason may be that one of the selected resources 1s in the TIMEOUT state or the connection has not been established properly In this case you have to deselect the affected resource in order to activate the button for the remaining resources which are ready for the download Project After clicking this button the system sends the whole project to each selected and connected simulation or PLC The download progress is indicated as a percentage value in the column Info of the resources list More This button calls the Download dialog which is used to initiate further operations for all selected resources Click here for a description of this dialog Both buttons in the area Download remain inactive grey while the download is in progress for at least one resource Using the buttons in the dia
52. eets which have been edited These worksheets are marked with an asterisk in the project tree After using Make the specific code is generated and the project is ready for downloading to the PLC Patch POU This command is used to compile only modifications which have been made e g after debugging a project The changes are automatically downloaded to the PLC while the IEC keeps on running i e the program execution on the PLC is not aborted So you can view changes immediately after switching the corresponding worksheet into online mode While patching a POU it is not necessary to stop the program execution on the PLC Page 74 of 121 MKS Instruments CIT Products 2012 All rights reserved jechnoloav for Productivity ECM2 User Manual Rev 1 5 Alternatively send and apply program modifications to the target using the Download changes feature e Compile worksheet This menu item is used to compile a single worksheet after editing it Choosing this menu item means that syntax errors within the current code body worksheet and the related variable worksheet are going to be detected by the compiler All detected errors and warnings are displayed in the message window By double clicking on an error or warning you can open the related worksheet where the error was detected No code is generated when Using Compile Worksheet When closing or saving a worksheet the system automatically compiles this worksheet Additionally the var
53. erved echnoloay for f 4 ogu D IVITY ECM2 User Manual Rev 1 5 Page 114 of 121 MKS Instruments CIT Products 2012 All rights reserved D emks lechnology for Productivity ECM2 User Manual Rev 1 5 8 WARRANTY Please refer to MKS Website below for warranty term and legal disclaimer http www mksinst com about warranties aspx http www mksinst com about legal aspx Page 115 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Appendix A Troubleshooting Boot LCD displays ECM2 Booting for over 1 Make sure power supply provides enough min amperes for ECM2 Unplug power Wait for a few seconds and plug back power e LCD displays ECM2 Loading for over Unit is waiting for network interface to be 1min plugged in Unit s IP address might be set as DHCP and it s waiting for an assigned IP address Make sure your PC is not set as static with different subnet mask and your network must be able to assign IP address automatically Network e User cannot telnet or FTP to the unit Make sure PC IP address is set to the same subnet as unit IP Make sure Ethernet cable is plugged to U19 NOTE U18 is not enabled Make sure no other device on the network is set with the same IP address as host or ECM2 Make sure unit complete booting and unit IP address is displayed on the front panel LCD Visio or Visim e Visio 2010 returns an error popped up Please refer
54. es b RELAY Quick Shapes Drawing ry 8 70 LINE Figure 7 6 Locating the Add Ins tab on the MS Visio ribbon Page 95 of 121 MKS Instruments CIT Products 2012 All rights reserved no mks ECM2 User Manual Rev 1 5 hnology for Productivity Following any modification of the IO MAP file run the Validate IO MAP file in the Interlock menu This function checks the file for the following errors 1 2 3 4 Illegal sheet names In or Out indexes out of range in lt O or in gt 64 out lt 0 or out gt 65 or illegal chars Duplicate indexes Duplicate Descriptions The tool will not let you edit and compile a design without validated IO MAP file Ca i 9 par Home Insert Page Layout Formula mox Calibri viii 7h Past HEH Di aste cl E ls SF Format Painter Bek deje isa Clipboard a Font User 1 Input name DIN User Pin 2 GAS1 OP 1 J1 23 3 GAS2 OP 2 J1 24 4 OVR TMP 3 J1 15 5 DOORI1 4 J2 4 6 DOOR2 5 J2 5 VALV1 6 J3 14 Bl viv 7 mas 9 VALV3 8 13 18 10 IN 9 9 J3 19 11 IN 10 10 J3 20 Figure 7 7 Example of IO Map Excel Spreadsheet file 1 1 4 Draw The Logic If you have anything already drawn on the page just select and delete 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 P
55. ess shown on the LCD screen and see if ECM2 replies If there is no reply please check your network configuration cable connection PC IP address setting and whether the correct NIC card is used e Refer to the LCD screen on the unit front for the unit IP address Page 40 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity 4 DeviceNet Master Capabilities If the ECM2 is used as a DeviceNet master it can control up to 16 completely separate DeviceNet networks with a maximum of 63 devices per network using separate Brad Ethernet DeviceNet modules Note as DeviceNet nodes and networks are added the IO latency of the process code may be affected DeviceNet Network 1 DeviceNet Network 2 Figure 4 1 DeviceNet Master with two Brad Modules 4 1 First Time Setup of DeviceNet networks or Adding Additional DeviceNet Networks To setup the DeviceNet network or networks if more than one is available a scan command must be performed in the ECM2 telnet session as described below If additional DeviceNet networks are added this step must be repeated Note One network is added at a time Connect the DeviceNet module to the network in the order you wish the networks to appear For the first network telnet to the unit by typing telnet and the unit IP address in the Windows Start Run field When the telnet session opens type ednbrowse followed by Enter
56. etenssre sense sers ses sensors se sess sere nna 106 7 8 8 Download the Logic to ECMO sseeiiisssssiiiiss essaie essen rne nna annes anna arn n assai asas nsa 107 7 fig ummm 8 0 0 6 21 1 NOOU t eee 110 7 9 MAINTENANCE AND SAFETY scscsscucccataauceceestedaassanecedeeveescddavatdladdboanssdbeiaciaadoeadddaddeacxtadaneadade nrnna annnars 110 7 9 1 System Periodic T St MONITOSING sscccccccccneeeeccesssueeeccsausuecessssueeeesssausneeesssauaeeessaaanseesssaas 110 22402 SO aoa n GA 110 7 9 8 User Relay Diagnostic Test esee sena nnns nnaa anne snas a snas aa aas rans 111 ra S oo dU P 111 2 WOARRAND saa ANA AG 115 Appendix A TIOUDISSINOOUING Meet AA ANA Aa 116 Appendix B Available Shell Commands 111 ecce Lieeeee ee ESANG 118 AVAILABLE COMMANDS BY OS DESIGN isssseseeneeeem hehehe ee eere rerit rerriitiitri tei reireireitiitii tre trs rre rri rre een 121 Page 4 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Revision History Revision Description of changes 1 1 1 Date 09 FirstRelease Omoa 04 20 2012 1 5 06 21 2012 AA ee Revision method Rev X Y X major revision Any change that affects functional safety shall affect this numeral and will require re assessment by the certification body
57. for RESOURCE NgFesburce Building instance tree for RESOURCE Hygesource Generating specific Code far CONFIGUBRATIOM ECMConti j Anang A Enon wamings A nos PLC Erow Pan A Ms fo ie Help presa FI 3 44 Ci 32G Table 6 3 Inserting the ECM2 firmware library 2 Onyour Multiprog project right click on Libraries 5Insert 5FW Library then select the path for the libraries as shown below Normally this is the default path Page 81 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity 3 MULTIPROG FirstProject MyPOU MyPDOU ii File Edt View Protect Buld Online Extras 8X dE ECM READ SWITCH E ECM R5232 CLOSE dE EOM R5232 OPEN COM R5232 READ EO 85232 WAITE d EOM WRITE LED ECM WRITE RETAIN L3 MULTIPROG D 5 35 253 a bad LIB GE b DVD RAM Drive D SE voll on whe corporate IG SS Shared on Mkasje 107 T 2 E on Mhag 103 U SS scanner on Mks aur 200 Vv SE X Released on mks our 200 W SS Troung on mks 8us 200 X SS DDrve on Mksauzibdn Y SS Shared on mks sus 200 CZ wd My Network Places T O AB Reynolds Quote Saup de ce us AA Table 6 4 Locating the installed firmware library 3 Then select ECM2 FWL and click Include This allows access to the built in function block for the serial ports NOTE Only tw
58. iables worksheet is compiled This automatic compilation makes each user defined function or function blockavailable in the Edit Wizard immediately after saving the corresponding worksheet e Rebuild Project This menu item is used to compile the whole project for the first time or if a user library has been changed It should only be used if Make generates compiler errors if you have unzipped your project without the front end code or if changes have been made in an announced user library Using Rebuild Project all worksheets are going to be compiled and linked Detected errors and warnings are displayed in the message window After the syntax checking the IEC code as well as the PLC specific code is generated automatically The project is then ready for downloading to the PLC Automatic cross references update before compilation The Build tab of the Options dialog menu item Extras 5 Options provides the checkbox Update cross references before compilation After marking this option the cross reference list is automatically updated prior to compiling the project using the commands Make or Rebuild Project The progress of this update operation is displayed in the Build tab of the message window Excluding resources from compilation If your project contains several resources you can exclude individual resources when making or rebuilding the project or when patching POUS For that purpose right click on the resource nod
59. ial sse sena nennen 29 2 8 2 RS232 Serial Communication Ports esee aaa aaa asaan 30 cede 32 3 1 NETWORK CONFIGURATION ME 32 3 2 CONNECTING TO A COMPUTER VIA TCP IP AND OVER THE CONSOLE PORT AND PREPARING TO BOOT THE ECM2 32 02 1 LCDPowerolamtup SEQUENCE ue titor KA ea REA E aAA ERE REEF UEEA ERES EERR EI a rt EAS 32 3 3 CHANGING THE IP ADDRESS FOR THE UNIT cceccececcececcecsccecsccccececcececcececsececsucecsececacacausecuusecsuaecass 36 3 89 1 IEC Start Up Rotary Switch Se ttinG ccccccccsseesecccccseeeeecssueceeeeessseeeeeesesseceeessssuseeessaaaeseessaaas 74 3 4 SETTING THE UNIT DATE UA 38 3 5 SETTING THE UNIT TIME 2a 39 3 6 TROUBLESHOOTING NETWORK CONFIGURATION ccccsceccecececceccccececcececucceceecucucauceeaceecueaecseuenerseaesass 40 4 DeviceNet Master Capabilities eeeeeeeee eee Leeeecllleeenuiee eene nennen ana a nana sa saa a sara asa 41 4 1 FIRST TIME SETUP OF DEVICENET NETWORKS OR ADDING ADDITIONAL DEVICENET NETWORKS 41 4 1 1 Deleting the DeviceNet config file aaa aana nananana sees es esee enne nnn nnn nena nnns 42 4 2 DEVICENET MASTER DIAGNOSTICS AND INFORMATION csssccsceccececcececccceccccecuccececuccecuceecueaeceuaecanass 42 4 3 DEVICENET MASTER DETECTION MECHANISDM ssceccccececcececcececcececccceccececuececueaecucuccecaeaecucaesecsuaeeass 42 4
60. ical digital input of ECM2 Example 1 If user only wishes to map the first 16 digital inputs 1 16 to this group select DI Group 1 8 then click OK Starting address could be anything not used before within available 32 bits addressing allocation and length will be 2 bytes Properties x Na EOM D tat ne S Logical addresses Start address Length End address ZB 1 IK ECM2 Driver Configuration Choose Driver Digital Input First DI Group Maximum length 27 bytes 11 In the example 1 above the logical address will be mapped to physical IO of the ECM2 as follow Page 71 of 121 MKS Instruments CIT Products 2012 All rights reserved rechnologv for Productivity ECM 2 User Manual Rev 1 5 Ng DIS DI DIG DIS DIA DIS DIZ DIT DI16 DIS DH4 DHh3 DH2 DI11 DHO DIO ECM2 Physical Digital Inputs 1 16 12 Example 2 for digital input 17 48 mapping starting address is 8 length is 4 bytes The logical address will be mapped to physical IO of the ECMe as follow DIS DI7 DIG DIS DI4 DI3 DI2 DI16 DIS D114 DH3 DIi12 Diii N10 Di24 DI23 DI22 Di21 DI20 Dg Dis DI32 DI31 DI30 DI29 DI28 DI27 DI26 ECM2 Physical DI40 DISS DI38 DI37 DI36 DISS DI34 Digital inputs 17 48 DI48 DI47 Di46 DI45 DI44 Di43 DI42 6 1 1 2 Analog Mapping 1 Currently analog inputs are differential 2 A pair of pins forms one differential analog input 3 For
61. ill guide you through the installation of the ECM2 PLC support in MULTIPROG Click next to continue Figure 5 7 eCLR for ECM2 setup On the following dialogue box confirm that the location for installation is correct and select Install Page 50 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Tec for Productivih ECM2 User Manual Rev 1 5 lechnology for Productivity f W2e RferMUTPROGSw JB Choose Install Location Choose the Folder in which to install ECM2 eCLR For MLILTIPROG Setup will install ECM2 eCLR For MULTIPROG in the Following Folder To install in a different folder click Browse and select another Folder Click Install to start the installation Destination Folder ogram FilesiKW Software MULTIPROG 5 35 Express Build 253i Browse Space required 863 0KB Space available 206 2GB Figure 5 8 eCLR installation screen select install location Once installation has completed select Finish At this point you will be asked to reboot your computer to finish the installation Page 51 of 121 MKS Instruments CIT Products 2012 All rights reserved echnoloay for Productivity ECM2 User Manual Rev 1 5 ECM2 MULTIPROG Express 1 0 1 535 Setup mox Completing the ECM2 MULTIPROG Express 1 0 1 535 Setup Wizard Your computer must be restarted in order to complete the installation of ECM2 MULTIPROG Express 1 0 1 535 Do you want ko reboot now Reboot now OI want t
62. irectory for example if you put the Visim folder in the root CX directory the generated csv file will be in C X visim work b The generated csv file name is fixed asintlkcfg user csv Make sure to rename existing intlkcfg user csv file to a different name for archive before generating a new logic csv file Existing intlkcfg user csv will be overwritten From the same command window in step 1 Open an FTP session to the ECM2 unit by typing ftp 192 168 1 3 Enter anonymous anonymous for user name and password respectively when prompted for Type put intlkcfg user csv When FTP transfer completes close the FTP window Open a telnet session to the ECM2 unit You can open a command window and type telnet 192 168 1 3 Change directory to Windows by typing on the command prompt cd Windows Type PrgIntlk SETIL Temp intlkcfg_user csv If unit is already in program mode user should see a screen similar to the below Page 108 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 lriting IL to EEPROMi Ok EEPROM 2 pening TIemp intlkcfq user csu DOME Parsing CSU File t Li E Ll t Li LI ei pei pai pi pea i I ILE bh WW eas oa ki Li NE NE NE i I i I I l I I ZZZZZZZZZZZZZZZZZZZZZZZ eww i TE CN ama 03 AZ INU Ai gt L i A2 90C 1 INU 1 TES MM PRETI creating binary image from CSU Retrievi
63. is used for the watchdog For pin mapping see Error Reference source not found MKS Instruments CIT Products 2012 All rights reserved Page 65 age 65 of 121 emks Outputs Reads the status of the result of the interlock logic Relay Feedback Reads the status of the physical relay Meaning what is occurring on the interlock output pins Debounce Status Reads the presence of a debounce error for each input Each interlock input is a single bit with value O equals no error and value 1 equals error Refer to Error Reference source not found for more information ECM2 User Manual Rev 1 5 Each AO is setup as a differential output 2 bytes are used per analog output For pin mapping see Error Reference source not found Each bit will correspond to a physical DIO point For pin mapping see Error Reference source not found Note in Error Reference source not found there is an offset and O 209 in that table matches 1 210 in the Multiprog software Programmable Clear Debounce Allows clearing the debounce Interlock Status error Bit value of 1 clears all debounce statuses Note the debounce status cannot be cleared one at a time Table 6 1 Input Output Mapping Definitions Table 13 If DeviceNet slave devices are available on the DeviceNet network follow the steps below to configure mapping for each device The example in the figure below adds a slave with 10 byte inputs a Click Add IO Group as
64. log area Control you can control all selected resources i e an invoked command is executed for all resources marked in the selection list Page 79 of 121 MKS Instruments CIT Products 2012 All rights reserved jechnoloay for Productivity ECM2 User Manual Rev 1 5 Dialog element A button appears inactive 1 e grey if only one of the selected resources is not able to execute the related command A possible reason may be that one of the selected resources is in the TIMEOUT state or the download has not been finished successfully In this case you have to deselect the affected resource in order to activate the button for the remaining resources which are ready to execute the command Control If for example one resource is in Run state and the others in the Stop state the Cold button remains active In this case the start command is downloaded only to those resources which are in the Stop state Cold executes a cold start on all selected resources During a cold start all data are initialized Warm executes a warm start on all selected resources During a warm start only non retentive data are initialized Hot executes a hot start on all selected resources During a hot start no data are initialized The hot start can be disabled by checking the checkbox Disable Hotstart on the Debug tab in the Options dialog After changing this option the resource control dialog must be closed in order to
65. log inputs Single ended analog outputs from user can be connected to the differential input on ECM2 using the same differential pair Al To core circuit l ne gu Fi mi W ri HM sii aa eaa NA I Mc n Ay EXT a o m ee x P ae EA 3 a 1 E 5 n i Em E Ps a Or Seed EST S i aue M JAO offset Figure 2 3 Analog Outputs Table 2 2 Analog Voltage 2 s complement Conversion for 16 bits A D Page 13 of 121 MKS Instruments CIT Products 2012 All rights reserved rechnoloav for Productivity ECM2 User Manual Rev 1 5 0 0x000 6 45875 O0xB833 8 39321 0x9999 9 36044 0OxeCCC Table 2 3 37 Pin D SUB Combo I O Legend Al j Anmdogint AO j Analog Output DIO Digital Input Output AGND Analog Ground AGND E External Analog Ground GND Ground Notes For diffrential analog inputs AIO AI2 Al4 Al62 Al Positive Ali A13 Al5 Al63 Al Negative Same pair order must be used for differential Al0 Al1 Al2 A13 Al62 Al63 37 pin DSUB Male 1 2 3 46 6 7 6 BY NO 11 12 139 14 1G 16 17 18 19 s E i 9 o o o o o KA 9 9 9 l 9 9 9 Gb 9 k 4 a ie z P 4 LI a P 20 21 22 23 24 20 26 2 28 29 30 31 32 II 34 IS 36 37 Figure 2 4 Combo Conne
66. mis ECM 2 Control Platform Ethernet Control Module User Manual AS01023G 01 Controls Product Group 134 W Rio Robles Drive San Jose CA 95134 Main 408 750 0300 Fax 408 750 2990 ECM2 User Manual Rev 1 5 Copyright e emks This manual and the software described therein are copyrighted with all rights reserved Under 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 Controls Product Group 2012 134 W Rio Robles Drive San Jose CA 95134 Export Regulation Preface MKS Products provided subject to the US Export Regulations Diversion or transfer contrary to U S law is prohibited About this manual This manual is designed to serve as a guideline for the installation setup operation and basic maintenance of the ECM2 Control Platform The information contained within this manual including product specifications is subject to change without notice Observe all safety precautions and use appropriate procedures when handling the ECM2 product and its related softwar
67. n Choose Driver Analog Input First Al 0 Maximum length 64 bytes Figure 6 12 Maximum analog inputs size is 64 bytes Ei ECM2 Driver Configuration Figure 6 13 Different Options to map Progammable Interlock Inputs Page 64 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 lI ECM2 Driver Configuration Choose Driver Analog Output Maximum length 32 bytes Figure 6 14 Maximum analog Outputs size is 32 bytes li ECM2 Driver Configuration Choose Driver Programmable Interlock Function iClear Debounce Status iv Cancel Maximum length 1 bytes Figure 6 15 Maximum Progammable Clear Debounce Status size is 1 bytes 12 Details for the Input and Output settings are as follows Input Output Input Analog 0 31 Each Al is setup as a differential input 2 bytes are used per analog input For pin mapping see Error Reference source not found Digital 1 210 Each bit will correspond to a physical DIO point For pin mapping see Error Reference source not found Note in Error Reference source not found there is an offset and 0 209 in that table matches 1 210 in the Multiprog software Programmable Status 2 bytes Gives the status of the Interlock Interlock board Refer to 7 4 for more information Inputs Reads the state of the physical inputs on the interlock board Note 64 bits are on the ECM2 but only the first 48 bits are available Bit 65
68. n programming uu FPGA Outputs to Relay Compare 0 No match between the FPGA and Relay FPGA Neighbor Not Alive bit 1 The neighbor FPGA is alive 0 The neighbor FPGA is not alive see Self Test section Position of the Switch Mode for the user Interface SW 1 Operational mode 0 Prog debug mode otatus of FW code verifier which is used to enable the 24V to the relays 1 FW is ok 24V is enabled 0 FW doesn t match 24V is disabled Select the source for Output 1 The Output ON OFF Register is selected for output The output value will be according to that register 0 The IL function is selected for output Effective in Prog Debug mode only In Oper mode the IL function is selected for the output at the end of FPGA init process regardless of this bit state OUTSEL R W Select the source for the Input 0 The actual input Opto out is selected MKS Instruments CIT Products 2012 All rights reserved Page 90 of 121 hno IV Ta Product itv ECM2 User Manual Rev 1 5 10 12 DEB DELAY Global Reset 1 The Input Emulation Register is selected Defines the debounce time period See section Debounce on Inputs Resets the entire FPGA active high ILOAD Used in Prog Debug mode Writing a 1 will launch the process of loading the IL file from the EEPROM into the FPGA with check The 1 is latched At the end of the process the FPGA will clear this bit An
69. ng Product Name from Registry For IL Header Could not aquire access to key HKEY LOCAL MAGHINE Product Gf g4Product Nane Writing IL to EP HU JP BB BANA ABAPAARADASADAAAEAA DAA AKA AE AGATPRIAGA NASA NGA ma pe NN MM Writing IL to EEPROM2 Ok Write IL Completed Successfully Cleaning up on exit Closing handle to Interlock Device Driver 0K Application Exit Complete Windows gt 10 Make sure the rotary switch for interlock is switched to program mode switch pointing to 9 position then power toggle the unit for the EEPROM program to take effect Page 109 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Telnet 10 202 3 152 NG cd Windows Windows Prgintlk exe SETIL BOTH sTempsint lkcfg user csv PrgIntlk Revision 1 002 Build Date Mar 16 2012 18 24 30 Opening handle to Interlock Device Driver OK That function is not accesible while Interlock is in RUN mode Cleaning up on exit l y Closing handle to Interlock Device Driver OK Application Exit Complete Windows gt 7 8 1 Troubleshooting 1 After opening the IO MAP excel file no sheets are visible Resolution In the menu bar select View and then Unhide Select the IO MAP workbook and then press OK 2 For Visio 2010 version if you have an error popped up saying ActiveX Cannot Create Object with error code 429 Please refer to section 7 5 1 1 for dll registration of Microsoft Dynamic
70. ning with the master modules in desired order Below figure shows the command was executed when there is one dnet network master module as network 1 Second added network with same command will append EDN2 to the dnrapiproxy cfg file and so on a Telnet 10 202 2 187 HEP ocket CMD v 6 88 A gt ednbrowse Molex Incorporated DeviceNet Remote Scanner Browser lersion 1 3 8 0 sonfiguration file does not exist Anrapipraxy cfq Wpdates to the configuration file nchanged B cards Deleted existing cards Found new cards EDH1 new th_network 08 0B 17 18 75 2B eth address 00 AG 91 680 62 A2 Added i new card NA Page 118 of 121 MKS Instruments CIT Products 2012 All rights reserved mks ECM2 User Manual Rev 1 5 dnbrowse This command scans the networks for all available DeviceNet slave devices Type dnbrowse in the telnet session and press Enter Type all and Enter if you wish to have all networks scanned Note card names are case sensitive but all is not Note this step may take a few minutes to complete pl Telnet 10 202 2 187 joj x i san a gt dnbrowse KS DeviceNet Command Line Scanner Version 1 8 0 1 for Arrow Cardi EDN1 please input the Card Name case sensitive to use or all to scan all masters all Attempting to open EDN1 Success Card EDN1 is onlinet ard EDNi started scanning Card EDN1 added all devices scanning for slaves MACID 68 Found ASb
71. ns f c3 Logical POL T MpPreogram I A Pryce Hardisre The Project Wizard will help you to create a new project Project Name E sy MyConiguesiion Cc MYR erotere FustProject 9 xi Can 9 Glow Project Path I Eor s C Documents and Settings All UsersNDocumentsNMULTIPROGNProjects Figure 6 1 Creating a project name Select the desired IEC language for the Program Organization Unit POU and name The example uses MyPOU and Ladder logic as the desired language Page 54 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity Project Wizard Step 2 of 5 m sg ar pr ni n o i je OI the initie al program Pr Figure 6 2 Selecting the name and language Page 55 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 emks Technology for Productivity 3 Create configuration name and select eCLR ECM 2 as Type Note for Multiprog Express this step is skipped Project Wizard Step 3 of 6 Er 3 Proreci E LI Librane L Data Types B J Logical POL iu MyProgram g i Fhyncal Hardware Sa MyConfiguration 1 i MiEesciusce mai Tasks p A Globak M d NO Contig Figure 6 3 eCLR configuration Please select the name and type of the configuration The configuration describes the characteristics of the connected PLC Page 56 of 121 MKS Instruments CIT Produ
72. nstall to start the installation r Select components to install MULTIPROG Express 5 38 ARM LE GCC3 eCLR 3 C Description Space required 78 3MB Figure 5 1 ECM2 Multiprog installation screen Upon completion of the installation you should see the following dialogue box HM MULTIPROG 5 35 Express Build 253 x MULTIPROG 5 35 Express Build 253 Setup completed successfully Figure 5 2 ECM2 Multiprog installation completed Select OK to continue Next you should see the following screen Select Next to continue Page 46 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Technology for Productivity Welcome Welcome to the installation of MULTIPROG software components for programming the ProConOS embedded CLR It is strongly recommended to exit all Windows programs before running this setup program Click Exit to quit the installation Then close all running programs and restart the installation Click Next to continue the setup program Figure 5 3 eCLR setup screen On the following screen please review and accept the license terms by clicking Next After accepting the terms and conditions the following dialogue box will appear Select Next or select another Multiprog location Page 47 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Produc
73. o manually reboot later Figure 5 9 eCLR installation screen reboot for completed installation After the installation program has completed a new folder called KW Software will be available in Programs under the Windows Start menu To create a project in Multiprog refer to section 6 5 1 1 Configuration 1 The user development laptop PC should contain the following items a TeraTerm available at http www ayera com teraterm b Telnet available on all Windows PC s c MKS provided installed packages as described in section 5 1 5 1 2 IEC LED status The health LED status would indicate what status and state the IEC engine is in Page 52 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 Table 5 1 The ECM2 LED Status IEC61131 3 State Health LED If there is an error Solid Amber Blinking Amber Solid Red Solid Green Blinking Red Blinking Green Blinking Red Page 53 of 121 MKS Instruments CIT Products 2012 All rights reserved OQUCIIVITY Technology for Pi ECM 2 User Manual Rev 1 5 Urnoiogy TO 6 Tutorial Creating a Multiprog Project Open Multiprog Pro application software go to File 2 New Project Select Project Wizard and follow the steps below 1 Create a project name The example below uses FirstProject as project name Project Wizard Step 1 of 6 CX Project J Lie sns 7 Data Tope Y ou can press Back at any time to change your selectio
74. o ports are enabled Port 1 J28 Port 2 J29 Page 82 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity Include library Look in 2 My Recent Documents Desktop My Documents Ng KI My Computer a File name ECM2PWL v Include My Network Files of type Firmware Library fwl v Table 6 5 Selecting the firmware library 4 To use the serial ports in your PLC it is necessary to open and use the handle to read and or write The screen below shows how to open and use the handle to read the port with the file handle thru ladder logic language a The blocks can be located via the right side drop down labeled Group This is the list of built in functions that were just added in the steps above Select ECM2 for the blocks specific to the ECM2 Page 83 of 121 MKS Instruments CIT Products 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity ECM RS232 READ 1 Figure 6 23 Example of serial port function blocks The configuration parameters for your COM ports are shown below These are based on the built in function blocks above 6 2 3 1 ECM RS232 OPEN block Table 6 6 Parameters of the RS232 Open block pam i m serial port to read if a rising edge is detected PortNum USINT 1 Serial port J28 2 Serial port J29 Baud UDINT 300 300
75. onitored Output current J Standard Output Software monitored High power Modes of operation Run Prog Run normal operation mode Prog Load the Interlock Logic and Access special FPGA registers for debug Page 11 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technoloa for Productivit ECM2 User Manual Rev 1 5 echnology for Productivity 2 3 Top view pr ala EP emt s d gt e UM P t Es Lm ET cun ce Pose nis 1o ri F E EM A 38 siga F zm u c qi aj pi av T in 1 wa er Figure 2 1 Top View of AS01023G 01 2 4 Connectors 2 4 1 Power Connectors ECM2 is powered by a single 24VDC source I O is internally powered Table 2 1 Power Pinouts and Fuse serae IE J1 1 J1 2 enn limit Ee circuit Chassis GND 10Amp o Mating connector for power connector Mftg PN Manufacturer Description lt 350689 1 AMP Tyco Socket crimping type 350766 1 AMP Tyco Page 12 of 121 MKS Instruments CIT Products 2012 All rights reserved mk ECM2 User Manual Rev 1 5 Technology for Productivity 2 4 2 lO Connectors 2 4 2 1 Combo Mixed Input Output 37 Pin D SUB Connector The analog interface provides 16 single ended with offset outputs and 32 differential analog inputs or 64 single ended analog inputs NOTE Currently ECM2 only supports differential ana
76. onnector for the DeviceNet Interface 2 5 LCD After boot up sequence see 3 2 1 for more information the LCD screen will show the ECM2 unit IP address An example is shown below Figure 2 17 The ECM2 LCD Screen after boot 2 6 LED s The LED s are used to communicate status of the IEC run time engine Page 26 of 121 MKS Instruments CIT Products 2012 All rights reserved rechnoloav for Productivity ECM2 User Manual Rev 1 5 Table 2 14 The ECM2 LED Status IEC61131 3 State Health LED If there is an error Solid Amber Blinking Amber Solid Red Solid Green Blinking Red Blinking Green Blinking Red 2 7 Switches Table 2 15 Switch 3 Right Most Switch Setting refers to the right most rotary switch shown with an arrow in the picture below on the ECM2 front panel This dictates how the IEC program boot project if already existing will be started at system boot up NG The boot project is the IEC code that will be executed upon boot of the ECM2 Figure 2 18 Front Panel Image of Reset button and 3 Switches Ib Note the use of IP Address is not applicable to the functions of these switches Currently these switches are not used for IP Address setting Table 2 15 Switch 3 Right Most Switch Setting Switch value Function Description IEC Boot project will not IEC program will not be Start executed by the system and will wait for Multiprog command For the next step olease refer to section 6 Cold Bo
77. ot IEC starts with boot project Page 27 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 with initial data For the next step please refer to section 6 2 Warm Boot IEC starts boot project with retained value from the previous execution For the next step please refer to section 6 3 9 IEC Not Active IEC will not be running Multiprog cannot be connected to ECM2 In this scenario the ECM2 can be programmed via C or other languages For the next step please refer to the Arrow SDK document available at http www mksinst com product product aspx ProductlD 1 155 Page 28 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 2 8 Diagnostic Console Serial The ECM2 has an available RS 232 serial diagnostics interface The serial port is used to send all legally required copyright messages current version information and hardware configuration information during the unit s power up sequence to a display Table 2 16 Diagnostic Serial Port Connector Pin Out DB 9 Female Connector 2 8 1 Connecting via a Diagnostic Console Serial Connect your computer to the diagnostics port DB9 using a standard straight through cable User can now communicate via the diagnostics port of the unit using a terminal program such as Microsofi HyperTerminal or TeraTerm Pro The serial connection parameters are listed in Tabl
78. ped directly to ECM2 physical I Os i e the actual I O point on the ECM2 physical connectors 1 Which area 2 When attached to which task 3 Which hardware which driver g E 1 0 Configuration INPUT OUTPUT VARCONF WPS routs Gp o Hdsche CIF 61 x67 T 200 PB irot WO Cog Ou 1 INTERBUS G4 z080 3083 T 200m ies 24 DO 1 User has to create IO Group Name and assign the Task associated with this IO group 2 Start address can be any address within range of 32 bit addressing overlapped is NOT allowed within process image and will create errors 3 Pll and PIQ have totally separate addressing range 4 Length total number of bytes based on the first IO group selected and how many IO point user want to map to the specific group Page 68 of 121 MKS Instruments CIT Products 2012 All rights reserved e mks ECM2 User Manual Rev 1 5 Technology for Productivity 1 0 Configuration INPUT DUTPUT VARCONF VO Group Bewd U Mode Renge Tak Comment Oww Ex Lipat defined Inout AIBC 24167 Choose Driver Digital Input Fret Dl Group 18 M asamum length 27 bytes 6 1 1 1 Digital Input Mapping 1 Click on Add if user wants to create a new IO group E i0 Configuration INPUT OUTPUT VARCONF Use delined Inout BU XIB Page 69 of 121 MKS Instruments CIT Product
79. puts Follow the instruction steps below to set the debounce for the interlock inputs 1 Opena telnet session to the unit IP address 2 Change directory to Windows by typing cd Windows Page 88 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 Welcome to the Windows CE Telnet Service on Arrow Pocket CMD v 6 88 gt cd Windows Windows gt D Figure 7 2 Telnet view for setting debounce 3 To set the debounce value at 750uS at command prompt type PrglIntlk SETDB 5 User should get a similar screen to below confirming the new debounce values Windows PrgIntlk SETDB 5 PrgIntlk CRevision 1 602 Build Date Mar 16 2012 18 24 30 ument 125 256 375 568 625 750 8 75 1666 usecs Cleaning up on exit values for Debounce Delay uzegec z USECS USEC35 usecs USECS MEI II MES USETS elay Time 750 wsecs Closing handle to Interlock Device Driver OK Application Exit Complete Windows gt Figure 7 3 Completing the setup of debounce Page 89 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 7 4 Interlock Status Bit Map Table reset RDONE A 1 indicates completion of IL and DP load from EEPROM into the FPGA HUH eee ILRST IL EEPROM Read Status maa NO Interlock Logic Valid 1 IL EEPROM revision matches PD EEPROM P N 0 No match or the ILK is i
80. ready established if you are calling the dialog Project control while a worksheet is in online mode This does not mean that the resource state changes because the program execution on the PLC is still executed although the communication path between the programming system and the resource has been canceled Page 80 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Tec 10 NAN for rod C ivit ECM2 User Manual Rev 1 5 echnology for Productivity 6 2 3 MKS Firmware Library This includes the function blocks for the additional serial ports and the switches and LEDS Follow the steps below to insert and use the serial ports and LED from your IEC program 1 On your Multiprog project right click on Libraries gt Insert gt FW Library as shown below MULTIPROG FirstProject MyPOU MyPOL idk File Edt View Protect Buld Onine Extras 7 FX h Bii kmag n H l z 3 W Frojd C Documents and Settings Al User Groupe l Pa i iFavonier w o Data amp eer Library Nama D z o Lopes iD i EA cw c E 3 cu Ci rE cwo Gc Bon D UB Fives 3 ka 3 t Ei ya RiG Fi ga Taki DEFAULT r G Gaba Na di eod 3 Gi Y 1 O I Donio 5 LE Li s LT Li TR DD M WANG A ul kd 3 KE Hi 3 NOT Gi 7 on Bi BATAG Rh 38 ROL Hi T HOA R BAS A JT SH EL 35 HA i B8 n s z fenecating TEC Code Collecting FOU used by RESOURCE MyRasource Generating TEC code
81. rm 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 Page 98 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technology for Productivity ECM2 User Manual Rev 1 5 Technology for Productivity DI Index User Pin Figure 7 11 IO selection from spreadsheet IO file Page 99 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 no emks chnology for Productivity 7 7 6 Generate CSV Coma Separated Value File Click on the Visio tool bar icon as shown inFigure 7 12 The created file is ViSim work intlkcfg_user csv i a Home Insert Design Review View EC EL Validate IO MAP file Place YO A Edit O bars sii rn PAA ENTER ETEEN Fes a Reset 5im NATA ANAN ili R 1 CED TEST POINT Developer ViSim Test2 vsd Microsoft Visio Add Ins 12 20 7 TEENRER 0 14 16 NG TII n EN TE 1111 liad TIENER Figure 7 12 Generating CSV file from Visio ViSim Tool This will activate the netlist generator and the csv file generator both messages At this point the following should appear on the Visio page Note that the symbols are designated and also At the end of the netlist generation a message Connections Complete will appe
82. roductivih ECM2 User Manual Rev 1 5 echnology Tor Productivity 4 6 xou 10 11 12 13 14 15 Set DIP SWITCH position of all 64 switches to ON position upper position TOP BOTTOM POSITION POSITION Figure 7 28 DIP positions for illustration purpose only Wp Image is for illustration purpose only Rotate the ROTARY SWITCH to position 9 This will set the unit into test mode Turn the power on Verify TEST STATE LED is green To start the test move the TEST SWITCH to its left position then back to right immediately The TEST STATE LED will start blinking to indicate test is running It may take few seconds for the test to complete You should hear the relays clicking while test is running On test completion the both LEDs will be turned green to indicate pass any red LED indicates failure Warning In case TEST RESULT LED is turned Red do not use the unit Unit need to be repaired Y Rotate the ROTARY SWITCH to O position and make sure the TEST STATE LED is turned off Turn the power off Move the DIP SWITCHES back to their lower position Assemble the cover Connect the DI O cabled back to the connector s panel Unit is ready for use 7 9 4 3 Input Connector Short Circuit Test oet each of the inputs one at a time to ON and read the FPGA input register The read should result with only one bit set with respect to the input Page 113 of 121 MKS Instruments CIT Products 2012 All rights res
83. roducts 2012 All rights reserved mks ECM2 User Manual Rev 1 5 DRL 280P 112036 0037 Direct Link Series 200 Unmanaged Ethernet Switch 8 Port RJ45 IP30 Brad Ethernet DeviceNet Masters if connected will be detected automatically upon unit power up if connected Since the detection mechanism is based on the Brad MAC address the scanned detection order of the networks is not deterministic for the purpose of master index mapping for IEC application However this order can be changed if needed 4 4 Scanning the DeviceNet network nodes For diagnostic purposes and to confirm DeviceNet Mac ID address settings type dnbrowse this will scan the networks for all available DeviceNet slave devices Type dnbrowse in the telnet session and press Enter Type all and Enter if you wish to have all networks scanned Note Card names are case sensitive but all is not Note This step may take a few minutes to complete pl Telnet 10 202 2 187 0 x gt dnbrowse MKS DeviceNet Command Line Scanner Version 1 0 0 1 for Arrow Cardi EDN1 please input the Gard Name case sensitive to use or all to scan all masters all Attempting to open EDN1 Success Card EDN1 is online ard EDN1 started scanning Card EDN1 added all devices Scanning for slaves MACID 660 Found ASHH121 H1 Wendor 664 Product 121 2 produced 4 consumed DNET Master EDNI found 1 slaves total size 4 produced 2 consumed Found 1 slaves NG E
84. roof Test Proof Test Interval Every 12 Months NW For certain industries the maintenance of IEC61508 SIL3 certification requires that this proof test be performed yearly 7 9 4 1 Proof Test Definition The periodic test should include short circuit test on output relays transistor switch test and input connector short circuit test 7 9 4 2 User Test Procedure 1 Turn off the power to the unit Disconnect all DI O cables from connector s panel 3 Remove the cover on the side panel as illustrated in the following figure Layout of I O connector for illustration purpose only they may differ between systems Ng Page 111 of 121 MKS Instruments CIT Products 2012 All rights reserved a emks ECM2 User Manual Rev 1 5 Technology for Productivity Figure 7 26 Removing the interlock board side panel Image is for illustration purpose only Actual layout might be slightly Ir different than 3D model rendering IMPORTANT Keep side panel cover on during normal operation and affix temper proof sticker to detect unauthorized access to switches DP SWITCH TEST STATE LED TEST RESULT LED AAAAAALLAAALALLALLABALLLALLAAAAAAAAALLALAAALAIL mM II SOY Y Y Y i eeeeeeeeeooeer TE LBS seeeeeeee eee se TEST SVVTCH ROTARY SVATCH Figure 7 27 Cover layout for DIP switches access for illustration purposes only Page 112 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technoloav for P
85. rrun dll A message similar like below will indicate that dll registration is successful If not please check syntax and location of the dll RegSvr 32 Page 93 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 7 6 1 2 Installation 1 Copy the ViSim folder into your local drive This folder is available via download from the MKS website at http www mksinst com product product aspx ProductlD 1227 Visim Logic MS Visio sample files referenced in the Visim User Guide 2 Change the security level for macros to Low as follows e Open blank Visio document e On the menu bar File gt Options gt Trust Center e Once in the Trust Center click on Macro Settings and select the radio button labeled Enable all macros Then check the box labeled Trust access to the VBA project object model Note If you check a higher security option the macros will be blocked J Note You may need to restart the Visio for the changes to take effect NG after changing security option Page 94 of 121 MKS Instruments CIT Products 2012 All rights reserved D emks lechnology for Productivity ECM2 User Manual Rev 1 5 Tutorial Creating a Logic file using ViSim This section details the process of design simulation and generation of the cvs file through the use of example 7 7 1 Create New File Open the ViSim folder and double click on ViSim Drawing Templa
86. s 2012 All rights reserved emks ECM2 User Manual Rev 1 5 Technology for Productivity 2 Create a meaning full name for the IO group ECM2 DI for ECM2 digital inputs was used as example 3 Select the Task associated with the IO mapping 4 Select by task for refresh and Driver for Device other options are not supported 5 Highlighted ECM2 as driver option and click on Driver parameters for further configuration 6 Start address can be any address where the combination of start address and length is not overlapping with other already mapped IO groups 7 Length will be explained in later slide Properties ECM DI OK Taski v Cancel i default Logical addrd T ask Description Start address Length 27 End address Data configuration Refresh Device 9 by task Driver manual Memory Board 10 Module CMs Hilscher CIF INTERBUS G4 MKS DeviceNet Modbus TCP User defined Input Comment ECM2 Digital Input 8 Choose the driver you want to map and select the first physical lO group where your mapping first start 9 The total number of bytes available for logical memory for all 210 Digital Inputs of ECM2 is 27 bytes Page 70 of 121 MKS Instruments CIT Products 2012 All rights reserved emks Technology for Productivity ECM2 User Manual Rev 1 5 echnology for Productivity 10 Each logical byte is mapped to 8 digital inputs each bit in a byte represent a phys
87. sourcing hardware configurations The digital I O circuitry is powered from an external 24 volt power source via the I O connector 24V GND O 24V IN Q A DIO oJ DIO1 od Figure 2 8 Sourcing Input Figure 2 9 Sinking Input 2 4 2 2 2 Digital Output Interface Example The individual outputs will support up to a 200 mA load per channel Each output is thermally protected against short circuiting and includes under voltage protection Outputs default to the OFF condition during power up and processor reset conditions The figures below show the output and output with relay circuitry For AS01023G 01 digital I O is configured as sourcing active high Other ECM2 part numbers or configurations digital I O can be configured as either sinking or sourcing by the factory Page 19 of 121 MKS Instruments CIT Products 2012 All rights reserved 4 emks oductivity Technology for Pi ECM2 User Manual Rev 1 5 ly fo SNK or SRC FF 5 SS 57 575cc eee FS Ss Lu Lu LL LZ LZ SS GND Figure 2 10 Digital Output Below is an example of how to interface with the digital outputs for both the sinking and sourcing hardware configurations The digital I O circuitry is again powered from an external 24 volt power source via the I O connector 424 VIN Q O UNDO o 3 E DIO1 o 9 Q O DIO1 O O Figure 2 11Sinking Output Figure 2 12 Sourcing Output Page 20 of
88. suseeessaauaeeesssaaaeeesssaaasesssaaanss 88 7 3 8 Debounce on the Inputs cccssseeeccccnseeseecesnaeeseeessausecessaucuseeessaueeecsssauaesessaauaecessaaaessesssaaaass 88 7 4 INTERLOCK STATUS BIT MAP TABLE eeeeeseenII II I Ine mnm nre hnn nre rhne rre rentre rre tree rre tree sre trn trenes 90 5 INTERLOCK OUTPUT EOGIO uice extra dread ce oe b EEEE d rd md dd AA detta ru oie ioi 92 7 6 VISIM TOOL FOR INTERLOCK OUTPUT LOGIC COMMISSIONING eere nennen nennen nnns 92 EE icio mTRRRE E 93 7 7 TUTORIAL CREATING A LOGIC FILE USING VISIM cseeeee mm n meme nennen re retener renis 95 TAAl Cealla NOW FO eee ee ae een eee ee eee eae eee ene ee ee 95 TT LO Ela E E EE E E E E E E T 95 Lla Eal e VO File creser AA 95 UP DWI TO LONG naaa A E AEE E EE NA APA EE EE 96 Pale ASSIN ANG OUMU seers AA EEEE EEEE AA AA EEE EEE EEEE E 97 7 7 6 Generate CSV Coma Separated Value File 7 000000mmmamueaannaaaasanananaaasannaaaaasanans 100 PIE BOOTS CX AI OIC 4 103 7 7 8 The Default CSV File 2 Ha 103 7 7 9 Simulate the Design E 103 1 5 LOGICSTRUCTURE PRRI E 105 7 8 1 Combined AND OR Logic Term seeeseseiissssssssen aree nennen nnns nnn naar a nnns asas a ansa 105 7 8 2 Latch Structure 1 1 seen hense these iensens
89. te vsd This file is a template with underlying VB code Save As this file into the same folder with your selected name 7 1 2 VO 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 Ee WiSimWorkMO MAP xlsx The file contains two sheets the first for the inputs second for the outputs 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 Use a similar structure for the second sheet 3 Edit the Visio File Open the ViSim folder and double click on ViSim Master vsd This file is a template with underlying VB code Save As this file into the same folder with your selected name You may notice the new tab item Add Ins on the ribbon and a new sub item labeled Interlock v a ViSim Testl vsd Microsoft Visio o GO 2 File Home Insert Design Review View Developer Add Ins D 9 o ep 28 Interlock BD r phy X o IZ gp Se 5 DE H5 TE ST H8 50 5 Shapes LL E H BERE m 8 10 le nmi mma nm zu ze 24 dd del 7 saa m fa RELAY More Shap
90. tivity Version found The installation ProConOS eCLR has found an installation of MULTIPROG in the shown directory You can use the Browse Button to install in an other existing installation of MULTIPROG Figure 5 4 eCLR setup screen Select Next to obtain support for Visual Studio C Visual Studio and Visual C Express Edition If enabled Wizard and Templates for Visual Studio will be installed This allows to quickly test and develop with the eCLR 0 Install Visual Studio Visual C Express Support NOTE It is strongly recommended to install the Visual Studio support Figure 5 5 eCLR setup screen support for Visual Studio Page 48 of 121 MKS Instruments CIT Products 2012 All rights reserved e e mks ECM2 User Manual Rev 1 5 Technology for Productivity Finally select Install on the following screen Ready to install You are now ready to install ProCon05 Embedded CLR Press the install button to start the installation or the back button to reenter the installation information Figure 5 6 eCLR ready to install screen view Following the completion of the installation select Finish After clicking Finish select Next on the following screen Page 49 of 121 MKS Instruments CIT Products 2012 All rights reserved no mks ECM2 User Manual Rev 1 5 lechnology for Product f s ECM2 eCLR for MULTIPROG Setup JoE3 Welcome to the ECM2 eCLR for MULTIPROG Setup Wizard This wizard w
91. uring a re boot the unit software may fail to start in some cases This is typically due to a power glitch caused by a quick power toggle When power cycling the unit please ensure you allow for at least 10 seconds between shutting the unit off and power restoration If the power is toggled too quickly the ECM2 will enter a fault mode and the LCD will display a static block as shown below Figure 3 7 LCD screen during boot error If a fault state such as that shown above is observed power the ECM2 off completely off by removing the power connector to the ECM2 or shut down main 24V DC power source wait for 10 seconds and power the ECM2 back up Alternatively the Reset button found on the front panel of the unit can be used for proper power cycling Page 35 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 smks Figure 3 8 Reset button on front panel of the ECM2 To properly reboot the ECM2 press and hold the Reset button until the 3 3V LED turns amber Release the reset button and wait approximately 10 seconds for the boot messages to appear on the LCD screen 3 3 Changing the IP address for the unit Follow the steps below to change the IP address from the default value Note Changing the IP address of the unit is not required as the unit can operate with the default setting of 192 168 1 3 ig Open a telnet session to the default unit IP address NOTE your PC has to have the same
92. v 1 5 Table 2 11 Interlock OUT DSUB 37 Pinout Summary o Pn 6 ILK NO6 ILK NO22 8 ILK NOS ILK NO21 9 ILK NG4 ILK NC20 Page 24 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 2 4 5 Other Connectors Please note that not all versions of the ECM2 include all connectors Your version may be customized and may not include all of the described features 2 4 5 1 Profibus Connector e emks A 9 pin D Sub female connector is used for the Profibus Interface The pin assignments are as the following 5 4 3 2 1 OOOOO O 0 06 9 8 7 6 Figure 2 15 9 Pin D Sub Table 2 12 Profibus female DB9 Connector pinout 2 4 5 2 EtherCat FUNCTION N C C GO Lo SE EtherCat uses standard RJ45 connectors with the following pin assignments The same pin assignments exist on both U16 In and U17 Out Table 2 13 EtherCat RJ45 Connector pinout KO o ECAT IN U16 ECAT OUT U17 INC O ONC INC O NC NC C Page 25 of 121 MKS Instruments CIT Products 2012 All rights reserved e emks ECM2 User Manual Rev 1 5 2 4 5 3 Ethernet Ports There are two Ethernet ports Currently only one is enabled and active U19 2 4 5 4 DeviceNet Connector DeviceNet Connector female 5 pin micro connector PIN SIGNAL SHIELD V V CAN H CAN L Figure 2 16 DeviceNet Connector The ECM2 has a Euro micro 5 pin female c
93. x ProductID 1155 3 4 Setting the Unit Date Telnet to the unit by typing telnet and the unit IP address in the Windows Start Run field When the telnet session opens type date followed by Enter Type the date and hit Enter Page 38 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 a Telnet 10 202 2 187 0 x Welcome to the Windows CE Telnet Service on Arrow he current date is Sunday January 01 2006 Enter the new date amp mm dd uyluy 04 28 2612 Figure 3 12 Telnet view during date change 3 5 Setting the Unit Time Telnet to the unit by typing telnet and the unit IP address in the Windows Start Run field When the telnet session opens type time followed by Enter Then type in the time using a 24hour clock format and hit Enter Page 39 of 121 MKS Instruments CIT Products 2012 All rights reserved ECM2 User Manual Rev 1 5 amp Telnet 10 202 2 187 0 x CE Telnet Service on Arrow Welcome to the Windows Ihe current time is 1 22 13 PH Enter the new time Chhi mm ss 13 22 13 gt Figure 3 13 Telnet view during time change 3 6 Troubleshooting Network configuration e Make sure your PC or laptop has the same subnet as the ECM2 e Ensure that all Ethernet cable connections are inserted correctly and ethernet cable is in U19 Ethernet port on ECM2 e From your PC command prompt issue a ping 192 168 1 3 or to the IP addr
94. y access in other mode has no effect Before each new launch the process of loading after the first launch needed to be issued Global reset via bit Global Reset in CSR register iS pR 14 24V MONITOR otatus of 24V voltage monitoring O The 24V level out of correct range of operation 1 Ihe 24V level within the correct range of operation px EE Output otate p This is operational normal run state The FPGA had successfully loaded the IL and DP files IL file match PD P N IL output matches Relay state and second FPGA is alive Disabled An example of an error FGPA had completed the sare read of IL file but with error The ILV and FORC will remain O and the output will be disabled Disabled The FPGA didn t complete the read of IL and DP files Within time period of after power up or ILOAD command it is normal Beyond this time period it s an error Disabled Files IL and PD had been loaded successfully but no sable match of IL with PD P N Page 91 of 121 MKS Instruments CIT Products 2012 All rights reserved Technology for Productivity ECM2 User Manual Rev 1 5 7 5 Interlock Output Logic Each Interlock output logic can have up to a combination of eight AND gates that all feed into an OR gate Each AND gate can be any combination of the available interlock inputs or output feedback channel Interlock Output Figure 7 4 Non Inverted Interlock Output Logic The interlock output can
Download Pdf Manuals
Related Search
Related Contents
TapSpeak Button 2.0 User Manual Avena 286/286T Alcatel OneTouch 595/595D Quick Start Manual MateCat UserGuide.docx USER MANUAL - Car Manual da lavadora de pisos automática - LST51 Manual de Utilização User Manual - Catering Equipment Supplier Copyright © All rights reserved.
Failed to retrieve file