OmronCJ2H Config

download OmronCJ2H Config

of 20

Transcript of OmronCJ2H Config

  • 7/30/2019 OmronCJ2H Config

    1/20

    APPLICATION NOTE

    Configuring Omron CJ2H PLCs with

    Ethernet/IP for use with Acromag

    Ethernet/IP Remote I/O

    ACROMAG INCORPORATED Tel: (Process): (248) 295-088030765 South Wixom Road Fax: (248) 624-9234

    P.O. BOX 437Wixom, MI 48393-7037 U.S.A.

    Copyright 2010, Acromag, Inc., Printed in the USA.

    Data and specifications are subject to change without notice. 8500-883-10C000

  • 7/30/2019 OmronCJ2H Config

    2/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    2

    This document walks the user through the configuration of the Cx-OneNetwork Configurator software that is used in conjunction with Omron CJ 2HPLCs. It is assumed that the user has a working knowledge of the PLC andCx-One software.

    Configuring the Omron CJ2H PLC for use withAcromag Ethernet/IP Products

    Configuring.. 3

    Testing 15

    Notes.. 20

    All trademarks are the property of their respective owners.

    OBJECTIVE

    TABLE OFCONTENTS

  • 7/30/2019 OmronCJ2H Config

    3/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    3

    Configuring the Cx-One NetworkConfigurator

    1. Start the Cx-One NetworkConfiguratorby selectingStart->All Programs->Omron-> Cx-One->Network Configurator for

    Ethernet/IP-> Network

    Configurator.

    2. Expand theCommunications

    Adap tertree and doubleclick on CJ2B-EIP21. ThePLC will be loaded into theEthernet/IP_1 window.Highlight the PLC asshown, right click on it andselectChange NodeAdd ress.

  • 7/30/2019 OmronCJ2H Config

    4/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    43. In this box, enter the IP

    Address of the PLC andthen click OK.

    4. Click on EDS Files->Install in the mainwindow to bring up thisdialog box. Navigate towhere the EDS files are

    stored on your system andthen double click on themodel being installed.

    5. Click on No when it asks ifthe icon should beinstalled.

  • 7/30/2019 OmronCJ2H Config

    5/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    5

    6. The Acromag device hasnow been added to theCommunications Adaptertree, double click on it toadd it to the Ethernet/IP_1network window. Thenright click on the Acromagdevice and select ChangeNode Address.

    7. In this box, enter the IPAddress of the Acromagdevice and then click OK.

  • 7/30/2019 OmronCJ2H Config

    6/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    68. Double click on the PLC to

    bring up the Edit DeviceParameters dialog box atthe right. Then click on theDown arrow to move theAcromag device from theUnregister Device List tothe Register Device Listas shown below.

    9. Click on theTag Sets tab

    to bring up the nextwindow.

  • 7/30/2019 OmronCJ2H Config

    7/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    7

    10. Click on theEdit Tagsbutton to display the EditTags dialog box.

  • 7/30/2019 OmronCJ2H Config

    8/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    811. Click on In-Consume tab

    and then the New buttonto create a tag.

    12. Enter 5000 for the Name,adjust the Size accordingto the device and click theRegist button and then theClose button. This is the

    Tag, name that theAcromag inputs will beidentified with inside thePLC.

  • 7/30/2019 OmronCJ2H Config

    9/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    9

    13. Now click on the Out-Produce tab and repeatsteps 11 and 12 to createthe output tag using the

    Name 5100 as shownbelow..

  • 7/30/2019 OmronCJ2H Config

    10/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    10

    13. The In-Consume andOut-Produce tabs of theEdit Tags dialog boxshould now look like thoseat the right.

    14. Click the OK button of theEdit Tags box to acceptthe crated tags and thenclick Yes on the box below

  • 7/30/2019 OmronCJ2H Config

    11/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    11

    15. Click on the In-Consume and Out-Produce tabs to verifythat the tags havebeen correctly enteredas seen here.

    16. Click on theConnections tab andthen Double click ontheAcromag Node inthe Register DeviceList to bring up theEdit Connectionwindow.

  • 7/30/2019 OmronCJ2H Config

    12/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    1217. Enter a Connection

    Name. The ConnectionI/O Type, the Input fromTarget Device Produce

    Variable, the Output to

    Target Device ConsumeVariable and theConnection Type fieldswill all be pre-populatedfrom the EDS file. Set theRPI and Timeout Valueas needed, a minimum of200mS and a RPIx16 isrecommended as astarting point for AcromagDevices. For the InputFrom Target Device

    Consume Variable and

    the Output to TargetDevice Produce

    Variable, select the tagsyou created earlier. ClickRegist and then Closewhen finished.

  • 7/30/2019 OmronCJ2H Config

    13/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    13

    18. The Edit DeviceParameters windowshould now appear asseen here. Click OK.

    19. The configurationmust now bedownloaded to the

    PLC. Right click on thePLC image, selectParameter-

    >Download.

  • 7/30/2019 OmronCJ2H Config

    14/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    1420. Click on Yes.

    21. Click on Download afterchanged to Program

    Mode.

    22. Click on Yes.

    23. Click on OK.

  • 7/30/2019 OmronCJ2H Config

    15/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    15 Testing The

    Configuration

    1. You can test yourconfiguration by usingthe CX-Programmer.Start it by selectingStart->All Programs-

    >Omron->Cx-One->

    Cx-Programmer.Click on File->New.

    2. SelectCJ2H for theDevice Type and thenclick its Settingsbutton.

  • 7/30/2019 OmronCJ2H Config

    16/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    163. Select CPU66-EIP for the

    CPU Type, this may differdepending on which PLCyou have. Click OK.

    4. Select View->Windows->Watch to bring up theWatch window. Doubleclick on the first row to

    bring up the Edit Dialogbox.

  • 7/30/2019 OmronCJ2H Config

    17/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    17

    5. Enter 5000, address ofthe inputs, in theName or Addressfield. Click OK.

    6. Double click on thesecond row now.

    7. Enter 5100, address ofthe outputs, in theName or Addressfield. Click OK.

  • 7/30/2019 OmronCJ2H Config

    18/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected] http://www.acromag.com

    188. You should now see both

    the input and output tagsin the Watch window.

    9. You must now bring thePLC online, do this by rightclicking on the PLC entryin the tree and selectingWork Online. If the PLC isnot in monitoring mode,selectPLC->Monitor->Monitoring from themain menu.

  • 7/30/2019 OmronCJ2H Config

    19/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________Acromag, Inc. Tel:248-295-0880 Fax:248-624-9234 Email:[email protected]://www.acromag.com

    19

    10. If your configuration iscorrect, the watchwindow will displaydata being read andsent to the Acromag

    device. In this case, all4 discrete I/Ochannels on port 3 ofa 983EN-6012 areactive so the input isreading 0x0F00 Hex.

  • 7/30/2019 OmronCJ2H Config

    20/20

    Acromag Ethernet/IP I/O with Omron CJ 2H PLCs App Note___________________________________________________________________

    ______________________________________________________________________________________

    20NOTES: