ethernet remote master

Upload: jvcoral321

Post on 30-May-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Ethernet Remote Master

    1/81

    Ethernet Remote

    Master Module

    Manual Number H24ERMM

  • 8/14/2019 Ethernet Remote Master

    2/81

    WARNING

    Thank you for purchasing automation equipment from Automationdirect.com. We want your new DirectLOGICautomation equipment to operate safely. Anyone who installs or uses this equipment should read this publication (andany other relevant publications) before installing or operating the equipment.

    To minimize the risk of potential safety problems, you should follow all applicable local and national codes that regulatethe installation and operation of your equipment. These codes vary from area to area and usually change with time. It isyour responsibility to determine which codes should be followed, and to verify that the equipment, installation, andoperation are in compliance with the latest revision of these codes.

    At a minimum, you should follow all applicable sections of the National Fire Code, National Electrical Code, and thecodes of the National Electrical Manufacturers Association (NEMA). There may be local regulatory or governmentoffices that can also help determine which codes and standards are necessary for safe installation and operation.

    Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and

    standards. We do not guarantee the products described in this publication are suitable for your particular application,

    nor do we assume any responsibility for your product design, installation, or operation.

    Our products are not faulttolerant and are not designed, manufactured or intended for use or resale as online control

    equipment in hazardous environments requiring failsafe performance, such as in the operation of nuclear facilities,

    aircraft navigation or communication systems, air traffic control, direct life support machines, or weapons systems, in

    which the failure of the product could lead directly to death, personal injury, or severe physical or environmental

    damage (High Risk Activities). Automationdirect.com specifically disclaims any expressed or implied warranty of

    fitness for High Risk Activities.

    For additional warranty and safety information, see the Terms and Conditions section of our Desk Reference. If youhave any questions concerning the installation or operation of this equipment, or if you need additional information,please call us at 7708444200.

    This publication is based on information that was available at the time it was printed. At Automationdirect.comweconstantly strive to improve our products and services, so we reserve the right to make changes to the products and/orpublications at any time without notice and without any obligation. This publication may also discuss features that maynot be available in certain revisions of the product.

    TrademarksThis publication may contain references to products produced and/or offered by other companies. The product and

    company names may be trademarked and are the sole property of their respective owners. Automationdirect.com

    disclaims any proprietary interest in the marks and names of others.

    Copyright 2002, Automationdirect.com Incorporated

    All Rights Reserved

    No part of this manual shall be copied, reproduced, or transmitted in any way without the prior, written consent ofAutomationdirect.com Incorporated. Automationdirect.com retains the exclusive rights to all informationincluded in this document.

  • 8/14/2019 Ethernet Remote Master

    3/81

    AVERTISSEMENT

    Nous vous remercions davoir achet lquipement dautomatisation de Automationdirect.comE. Nous tenons ce quevotre nouvel quipement dautomatisation DirectLOGIC fonctionne en toute scurit. Toute personne qui installe ouutilise cet quipement doit lire la prsente publication (et toutes les autres publications pertinentes) avant de linstaller ou delutiliser.

    Afin de rduire au minimum le risque dventuels problmes de scurit, vous devez respecter tous les codes locaux etnationaux applicables rgissant linstallation et le fonctionnement de votre quipement. Ces codes diffrent dune rgion lautre et, habituellement, voluent au fil du temps. Il vous incombe de dterminer les codes respecter et de vous assurerque lquipement, linstallation et le fonctionnement sont conformes aux exigences de la version la plus rcente de cescodes.

    Vous devez, tout le moins, respecter toutes les sections applicables du Code national de prvention des incendies, duCode national de llectricit et des codes de la National Electrical Manufacturers Association (NEMA). Des organismes derglementation ou des services gouvernementaux locaux peuvent galement vous aider dterminer les codes ainsi queles normes respecter pour assurer une installation et un fonctionnement srs.

    Lomission de respecter la totalit des codes et des normes applicables peut entraner des dommages lquipement ou

    causer de graves blessures au personnel. Nous ne garantissons pas que les produits dcrits dans cette publicationconviennent votre application particulire et nous nassumons aucune responsabilit lgard de la conception, delinstallation ou du fonctionnement de votre produit.

    Nos produits ne sont pas insensibles aux dfaillances et ne sont ni conus ni fabriqus pour lutilisation ou la revente en tantququipement de commande en ligne dans des environnements dangereux ncessitant une scurit absolue, parexemple, lexploitation dinstallations nuclaires, les systmes de navigation arienne ou de communication, le contrle dela circulation arienne, les quipements de survie ou les systmes darmes, pour lesquels la dfaillance du produit peutprovoquer la mort, des blessures corporelles ou de graves dommages matriels ou environnementaux (activits risquelev). La socit Automationdirect.comE nie toute garantie expresse ou implicite daptitude lemploi en ce qui a traitaux activits risque lev.

    Pour des renseignements additionnels touchant la garantie et la scurit, veuillez consulter la section Modalits et

    conditions de notre documentation. Si vous avez des questions au sujet de linstallation ou du fonctionnement de cetquipement, ou encore si vous avez besoin de renseignements supplmentaires, nhsitez pas nous tlphoner au7708444200.

    Cette publication sappuie sur linformation qui tait disponible au moment de limpression. la socitAutomationdirect.comE, nous nous efforons constamment damliorer nos produits et services. Cest pourquoi nousnous rservons le droit dapporter des modifications aux produits ou aux publications en tout temps, sans pravis ni quelqueobligation que ce soit. La prsente publication peut aussi porter sur des caractristiques susceptibles de ne pas tre offertesdans certaines versions rvises du produit.

    Marques de commerceLa prsente publication peut contenir des rfrences des produits fabriqus ou offerts par dautres entreprises. Lesdsignations des produits et des entreprises peuvent tre des marques de commerce et appartiennent exclusivement leurs propritaires respectifs. Automationdirect.comE nie tout intrt dans les autres marques et dsignations.

    Copyright 2002, Automationdirect.comE Incorporated

    Tous droits rservs

    Nulle partie de ce manuel ne doit tre copie, reproduite ou transmise de quelque faon que ce soit sans le consentementpralable crit de la socit Automationdirect.comE Incorporated. Automationdirect.comE conserve les droitsexclusifs lgard de tous les renseignements contenus dans le prsent document.

  • 8/14/2019 Ethernet Remote Master

    4/81

    1

    Manual RevisionsIf you contact us in reference to this manual, be sure and include the revision number.

    Title: Ethernet Remote Master ManualManual Number: H24ERMM

    Edition/Rev Date Description of Changes

    Original 06/01 original issue

    1st Edition, Rev A 09/02 added DL2501 and DL260 CPUs; removed DL250 referencesadded new ERM Workbench 1.1 and NedtEdit 2.4 featuresadded Appendix E

    (Note: DL250 has the same functionality as the DL2501 except

    for local expansion capability.)

  • 8/14/2019 Ethernet Remote Master

    5/81

    1 iTable of Contents

    Chapter 1: IntroductionManual Overview 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    The Purpose of this Manual 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Other Reference Materials 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Who Should Read this Manual 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Quality Technical Manuals and Technical Support 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Chapters 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Appendices 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Ethernet Remote Master (ERM) 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Ethernet Remote Slaves 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Configuring the Ethernet Remote I/O Network 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Running the Ethernet Remote I/O Network 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ERM / ECOM Systems 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .How the PLC CPU Updates Remote I/O Points 17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Frequently Asked Questions 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Chapter 2: ERM / Slave Network Addressing ModesERM / Remote Slave Network Identifiers 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ERM / Slave Configuration Tools 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ERM / Slave Module ID 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .IP Address 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ethernet Address 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Using Multiple Network Identifiers 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Chapter 3: Installation and Network LayoutsInserting the ERM Module in the I/O Base 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    DL205 Slot Choices 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .H2ERM (F) Module Installation 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .DL405 Slot Choices 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .H4ERM (F) Module Installation 34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Which Modules are Supported in the Ethernet Slaves 34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ERM Network Layouts 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Configuring the Ethernet Remote I/O Network 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Running the Ethernet Remote I/O Network 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ERM / ECOM Systems 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Network Cabling 37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ERM Supports Two Standards 37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10BaseT Networks 37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10BaseT Connections 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .UTP Cable 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10BaseFL Connections 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Fiber Optic Cable 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Fiber Optic Module ST Connector 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Maximum Cable Length 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/14/2019 Ethernet Remote Master

    6/81

    iiTable of Contents

    Chapter 4: Configuring the ERM and Slave Modules withERM Workbench

    ERM Workbench Software 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Installing ERM Workbench 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Launching ERM Workbench 43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Adding Network Protocol Support to the ERM Workbench PC 43. . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Running ERM Workbench PLC Wizard 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Step 1: Choosing the ERM Network Configuration 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Step 2: Connecting the ERM Workbench PC to the ERM Network 44. . . . . . . . . . . . . . . . . . . . . . . .Establishing Communication with the ERM 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Step 3: Select and Configure the Slaves 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Step 4: Map I/O to PLC Memory 46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Step 5: Download Configuration to ERM 46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ERM Workbench Main Configuration Window 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Running ERM Workbench 48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Connecting the ERM Workbench PC to the Network Modules 48. . . . . . . . . . . . . . . . . . . . . . . . . . . .Configure the ERM 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Configuring the ERM 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Selecting PLC as Interface 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Advanced ERM Configuration 410. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Select the Slaves 411. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Selecting the Slaves 411. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Configure the Slaves 412. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Setting the Slaves Parameters 412. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Write Configuration to ERM 414. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Analog I/O Data Registers 415. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Reserved PLC Memory for ERM 416. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ERM Status Word / Reset Slave Code 416. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Printing/Exporting the ERM Configuration 417. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Chapter 5: Using NetEditUsing NetEdit 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    The NetEdit Window 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ethernet Communication Protocol 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Adding Network Protocol Support to Your PC 53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Ethernet Address 53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Module Information 54. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Module ID / IP Address 54. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Using NetEdit to Configure the H4EBC Base 55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Advanced Settings 55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Configuring Analog Modules 56. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Configuring the High Speed Counter Module 56. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

  • 8/14/2019 Ethernet Remote Master

    7/81

    iTable of Contents

    Chapter 6: Maintenance and TroubleshootingIsolating a Communication Problem 62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Diagnostic Tools and Techniques 62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Troubleshooting Chart 62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ERM Module Diagnostic LEDs 64. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ERM LEDs 64. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Slave Module Diagnostic LEDs 64. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Using ERM Workbench for Troubleshooting 65. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Read from ERM 65. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Reserved PLC Memory for ERM 66. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Detailed ERM Statistics 66. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Select Slaves Window 67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Using NetEdit for Troubleshooting 68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Select a Module 68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Module Information 68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Change Protocol 69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Ethernet Stats 69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Replacing the ERM / Slave Module 69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Diagnosing Network Cable Problems 610. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Appendix A: General SpecificationsGeneral Specifications A2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Ethernet Standards A3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Appendix B: ERM / Slave Diagnostics and Error CodesERM Diagnostics B2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Reserved PLC Memory for ERM B2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    ERM Status Word / Resetting the Slave B2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ERM Status Word Error Codes B3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Reading ERM Statistics B4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Reading ERM Statistics using Ladder Logic B4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Reading Error Codes from Slaves B5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Reading Error Codes from Slaves using Ladder Logic B5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Slave Diagnostic Word Memory B7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Current / Last State Slave Error Codes B8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Extended Slave Error Codes B9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Appendix C: ERM and ERM Workbench Default SettingsERM and ERM Workbench Factory Default Settings C2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Appendix D: Mapping ERM Slave I/O in a Think & DoWinPLC System

    Mapping ERM Slave I/O Points D2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    Appendix E: Configuring Terminator Analog Output Modules

  • 8/14/2019 Ethernet Remote Master

    8/81

    11Introduction

    In This Chapter. . . . Manual Overview Ethernet Remote Master (ERM) Module

    How the PLC CPU Updates Remote I/O Points Frequently Asked Questions

  • 8/14/2019 Ethernet Remote Master

    9/81

    12Introduction

    Manual Overview

    This manual describes how to use theEthernet Remote Master (ERM)

    Modules. You will find information about:

    S Network layouts and cabling

    S Maintenance and troubleshooting

    S Configuring the ERM module

    Other DirectLOGICt manuals may be useful for your application.

    User Manuals

    S DL205 User Manual part number D2USERM

    S DL405 User Manual part number D4USERMS Ethernet Base Controller

    Manual (205/405) part number H24EBCM

    S Terminator I/O Ethernet Base ControllerUser Manual part number T1HEBCM

    S Terminator I/O Installation and I/OManual part number T1KINSTM

    S WinPLC User Manual part number H2WPLCM

    If you need a high-speed Ethernet remote I/O communications link between a

    DirectLogic PLC or WinPLC local base and remote ethernet slaves and youunderstand the basics of installing and programming PLCs, this is the right manualfor you. This manual provides the information needed to setup and configure theERM module and its Ethernet slaves.

    We strive to make our manuals the best in the industry. We rely on your feedback tolet us know if we are reaching our goal. If you cannot find the solution to yourparticular application, or, if for any reason you need additional assistance, pleasecall us at 7708444200. Our technical support group will work with you inanswering your questions. They are available weekdays from 9:00 a.m. to 6:00p.m. Eastern Time. You can also visit us at:

    http://www.automationdirect.com

    S Table of Contents chapter and section listing of contents, in the frontof this manual

    S Quick Guide to Contents chapter summary listing on the next page

    S Appendix module specifications and Ethernet standards

    If you have a comment or question about any of our products, services, or manualsplease fill out and return the Suggestions card that came with this manual.

    The Purpose ofthis Manual

    Other ReferenceMaterials

    Who Should Read

    this Manual

    Quality TechnicalManuals andTechnical Support

  • 8/14/2019 Ethernet Remote Master

    10/81

    1Introduction

    Conventions Used

    When you see the light bulb icon in the lefthand margin, the paragraph to itsimmediate right will give you a special tip.The word TIP: in boldface will mark the beginning of the text.

    When you see the notepad icon in the lefthand margin, the paragraph to itsimmediate right will be a special note.The word NOTE: in boldface will mark the beginning of the text.

    When you see the exclamation mark icon in the lefthand margin, the paragraph toits immediate right will be a warning. This information could prevent injury, loss ofproperty, or even death (in extreme cases).The word WARNING: in boldface will mark the beginning of the text.

    The beginning of each chapter will list thekey topics that can be found in thatchapter.

    1Key Topics forEach Chapter

  • 8/14/2019 Ethernet Remote Master

    11/81

    14Introduction

    Ethernet Remote Master (ERM)

    The Ethernet Remote Master (ERM) module provides a low-cost, high-speedEthernet Remote I/O link for DirectLogic 205/405 PLC systems and WinPLCsystems. The ERM connects the local CPU base(s) to the ethernet remote slave

    modules via a 10BaseT (twisted pair, copper wire) or 10BaseFL (fiber optic)Ethernet link. Each ERM module can support up to sixteen slaves when used inDirectLogic 205/405 PLC systems. When used in Think & Do WinPLC systems, alimitation of one ERM with one slave applies per system.

    H2ERM H2ERMF H4ERM H4ERMF

    The following Ethernet Base Controller (EBC) slave modules and EthernetInterfaces for AC Drives are supported by the ERM module. The remote I/O networkmay consist of a combination of these slaves. The ERM module can support up tosixteen slaves when used in DirectLogic 205/405 PLC systems. When used in Think

    & Do WinPLC systems, the ERM module is limited to supporting one slave.The EBC slave updates all of its I/O data (including analog I/O) internally at a highrate that is independent of the rate that the ERM may poll the EBC for its I/O data.This allows the ERM to read the most current I/O data regardless of PLC scantimes or other slave I/O cycle times.

    H2EBC (F) T1HEBC H4EBC (F)GSEDRV*

    *For use with AC Drives

    HAEDRV2*

    Ethernet RemoteSlaves

  • 8/14/2019 Ethernet Remote Master

    12/81

    1Introduction

    Use a PC equipped with a 10BaseT or 10BaseFL network adapter card and theEthernet Remote Master (ERM) Workbench software configuration utility that comeswith this manual to configure the ERM module and its slaves over the ethernet remoteI/O network.

    DirectLogic DL405 I/O

    TerminatorI/O

    DirectLogic PLC

    ERMModule

    PC running ERM WorkBench

    to configure the ERM network

    DirectLogic DL205 I/O

    Dedicated Hub(s)for ERM Network

    GSEDRVor HAEDRV2

    ACDrive

    Warning: We recommend using a dedicated Ethernet remote I/O network forthe ERM and its slaves.While Ethernet networks can handle a very largenumber of data transmissions, and normally handle them very quickly, heavyEthernet traffic can adversely affect the reliability of the slave I/O and thespeed of the network.

    Once the ERM I/O network is configured and running, the PC can be removed from thenetwork.

    DirectLogic DL405 I/O

    TerminatorI/O

    Dedicated Hub(s)for ERM Network

    DirectLogic PLC

    ERMModule

    DirectLogic DL205 I/O

    GSEDRVor HAEDRV2

    ACDrive

    Configuring theEthernet RemoteI/O Network

    Running theEthernet RemoteI/O Network

  • 8/14/2019 Ethernet Remote Master

    13/81

    16Introduction

    Keep ERM networks, multiple ERM networks and ECOM / office networks isolatedfrom one another as shown below. Do not attempt to connect an ECOM module ornon ERM Workbench PC to a hub that the dedicated ERM network is using. Havingan ECOM module(s) on an ERM Ethernet network can adversely affect thereliability and the speed of the ERM slave I/O.

    DedicatedERM Network

    ECOM orOffice Network

    Keep ERM and ECOMmodules on separateNetworks

    ERM

    ECOM

    ECOM

    Dedicated Hub(s)for ERM Network

    PC for HMI orSCADA, etc.

    PC for Data Acquisitionin MES, ERP or otherbusiness systems

    ERM / ECOMSystems

  • 8/14/2019 Ethernet Remote Master

    14/81

    1Introduction

    How the PLC CPU Updates Remote I/O Points

    The PLC CPU, ERM and Remote Slave (EBC) modules work together to update theremote I/O points. There are three asynchronousscan cycles working together totransfer the remote I/O data between the PLC and the I/O modules: the EBC scan,the ERM scan and the PLC scan. These are described below.

    During each PLC CPU scan, the ERM is allowed one access to the PLCs memory.The access can be a write to the PLC or a read from the PLC, but not both. There arefour types of data that are processed: discrete inputs, discrete outputs, analog inputsand analog outputs. The ERM can only process one of these four data types on anygiven scan. If all data types are used, it will take four PLC scans to completely updateall of the remote I/O points. The largest amount of data that the PLC can process in asingle request is 128 bytes. If any of the four I/O types exceeds 128 bytes of data, itwill take multiple scans to process that types data.

    It is possible for the PLCs scan to be faster than the ERMs processing scan. This is

    largely dependent on the size of the application program, as well as the type andnumber of remote I/O points. If there are I/O points that must be updated every PLCscan, it is recommended that those points be placed in the CPU base or localexpansion base.

    1) PLC CPU Scan: executes program logic and scans local I/O. The PLC UserManual describes the PLC scan in detail.

    2) ERM Scan: there are four I/O types that can be processed by the ERM: discreteinputs, discrete outputs, analog inputs and analog outputs. It takes a least one foreach of the four I/O types present to complete an ERM scan The typical ERM cycle isas follows:

    PLC ScanN Read discrete output data from the PLCN+1 Read analog output data from the PLC

    Write all of the output data to the EBCsCollect input data from the EBCs

    N+2 Write discrete inputs to the PLCN+3 Write analog inputs to the PLC

    3) Remote Slave Scan (EBC): constantly collects all discrete and analog input datafrom the input modules in the base. This keeps the most recent input data availablewhenever the ERM requests it. The EBC writes to the output modules as the data isreceived from the ERM.

    In general, it will take four PLC scans to completely update the remote I/O. You canuse the ladder logic example on page B4 to get the ERM update statistics. This willprovide detailed information about the ERMs processing time.

  • 8/14/2019 Ethernet Remote Master

    15/81

    18Introduction

    Frequently Asked Questions

    Q. Which protocols are supported by the ERM module?

    A. A protocol is a set of rules that allows computers to connect with one anotherspecifying the format, timing, sequencing, and error checking for data packet

    transmission. The ERM module supports Novell IPX and UDP/IP (UniversalDatagram Protocol/Internet Protocol). When configuring the ERM and EBCs., yourPC must support one of these protocols. However, the ERM and slaves can utilizetheir own protocol selection regardless of the protocols supported by your PC.

    Q. Can I create multiple remote I/O networks by putting more than one ERM in a single PLC /WinPLC base?

    A. Yes, for DirectLogic PLCs, but Think & Do WinPLC systems are limited to oneERM module with one slave per system to ensure reliable system performance. Ifmore than one EBC slave is desired in a Think & Do WinPLC system, please contactEntivitys technical support at 7342055000 or email [email protected]. Be sureto consult Chapter 2 for important installation information, and be sure not to exceed

    the PLC power budget (see the module specifications in Appendix A and the PLCUser Manual). Also, it is very important to keep each ERM and its slave(s) isolatedfrom other ERMs and their slaves.

    Q. What does it mean to set up the ERM module?

    A. The ERM module must be configured using the Ethernet Remote MasterWorkbench to know how many slaves and I/O points there will be on the remote I/Onetwork. There are also other advanced ERM settings to configure.

    Q. How much remote I/O can I have?

    A. The ERM module supports up to 16 additional DL205 EBC bases, 16 TerminatorI/O EBC systems, 16 fully expanded DL405 EBC systems, Ethernet Interfaces for

    AC Drives or any combination of the four. If a WinPLC is the system interface, theERM can only support one slave.

    Q. Can I reserve slots in a base for future I/O expansion?

    A. Yes, the Padding feature within the Slave Configuration window of the ERMWorkbench allows reserving addresses for future I/O modules at the end of each ofthe EBC slave systems (not between modules).

    Q. Can I program or use an operator interface on the EBC slave when used with an ERM?

    A. No, the serial port on the EBC slave is not supported at this time when used withan ERM module.

    Q. Which LAN topology should I use?A. ERM modules are available for connecting to 10BaseT or 10BaseFL (fiberoptic) networks. The cable distances and environmental conditions often dictatewhich media type should be used. The most popular and flexible topologycurrently is 10BaseT, but 10BaseT is susceptible to electrical noise and is limitedto relatively short cable runs. On the other hand, it is very simple andinexpensive, and repeaters can be used to extend its cable length limitations.10BaseFL allows much longer cable runs with immunity to electrical noise. Thefiber optic cable and hubs are currently more expensive than those for 10BaseT.

  • 8/14/2019 Ethernet Remote Master

    16/81

    12ERM / Slave NetworkAddressing Modes

    In This Chapter. . . . ERM / Remote Slave Network Identifiers

  • 8/14/2019 Ethernet Remote Master

    17/81

    A

    ddressingModes

    SafetyGuidelines

    22ERM/Slave Network Addressing Modes

    ERM / Remote Slave Network Identifiers

    This chapter describes the various network identifiers used by the ERM and its slavemodules. Each module on a network must be uniquely identified. There are three

    indentifiers that can be used to make a module unique.The three module identifiers are:

    Module ID

    IP (Internet Protocol) Address (A slave can be used on the Internet, butI/O cycle times may be very high!)

    Ethernet Address (MAC Address)

    The first two are user-selectable. The third one is set at the factory. A Name may beassigned to a module, but the ERM cannot address a slave by its Name.

    The identifiers are used to link the ERM module to its remote slaves The decision

    about which type of identifier to use is an important one. Much of the decisiondepends on the protocol requirements of your particular application. Ease ofmaintenance and troubleshooting also must be considered before deciding whichtype to use.

    Protocol How to Set Format Restrictions/Notes

    Module ID IPX DIP Switch Slave Number 163,Set ERM to 0

    Module ID can bechanged withoutNetEdit. DisablesModule ID in NetEdit.

    NetEdit Slave Number 1-65535Set ERM to 0 DIP Switch must beset to 0. Must useNetEdit to set ModuleID.

    IP Address UDP/IP NetEdit 4 Three-digit Numbersxxx.xxx.xxx.xxx(See Page 24)

    See Your NetworkAdministrator, Only forUDP/IP

    Ethernet Address IPX Set at Factory 12 Hex digits Factory-assigned

    ERM Workbench software utility must be used to configure the ERM and its slavemodules. If either Module ID (set by dip switch) or Ethernet Address is used fornetwork identification, then ERM Workbench is all that is needed to configure thenetwork modules. ERM Workbench is described in detail in Chapter 3.

    NetEdit software utility will be needed in addition to the ERM Workbench if IPAddressing (UDP/IP) is necessary or if the Module ID is software set. If the H4EBCslave is used with analog I/O or the high speed counter, NetEdit will be required toconfigure the H4EBC. NetEdit is described in detail in Chapter 4.

    ERM / SlaveConfigurationTools

  • 8/14/2019 Ethernet Remote Master

    18/81

    2ERM/Slave Network Addressing Modes

    Always set the ERM Module ID to 0. A slave Module ID can be set in one of two ways.You can assign the Slave Module ID:

    using the DIP switches on the module (163). using the configuration tools in NetEdit that is included within the ERM

    Workbench utility (165535).

    Use the DIP switch if you want the ability to install or change slave modules withoutusing a PCto set the Module ID. Set the modules DIP switch, insert the module inthe base, and connect the network cable. Your Module ID is set on powerup, andyour module is ready to communicate on the network.

    ONON

    0

    1345678

    1234567

    Not Used (32)(16)(8) (4) (2)(1)

    2

    Binary Value

    Ignore these numbers

    202122232425.... . ..... . .

    H2EBC

    The numbers (07) printedon the circuit board indicatethe power of 2 representedby each slide switch.

    If you prefer to be able to set or change all Module IDs on your network from a singlePC, use the tools in NetEdit. In chapter 4, we step through the use of NetEdit and thenetwork identifier options.The Module ID equals the sumof the binary values of the slide switches set in the ONposition. For example, if you set slide switches 1, 2, and 3 to the ON position, theModule ID will be 14. This is found by adding 8+4+2=14. The maximum value you canset on the DIP switch is 32+16+8+4+2+1=63. This is achieved by setting switches 0through 5 to the ON position.

    ERM / SlaveModule ID

  • 8/14/2019 Ethernet Remote Master

    19/81

    A

    ddressingModes

    SafetyGuidelines

    24ERM/Slave Network Addressing Modes

    An IP Address can be assigned to the ERM module or its slaves if your networkrequires one. Normally, a network administrator will assign an IP Address to eachdevice on the network. Since it is recommended to use a separate dedicatednetwork for your ERM , you do not have to use the IP Address, unless you are usingthe UDP/IP protocol. Use the Module ID or Ethernet Address for each module whenusing the IPX protocol.

    You can use NetEdit within the ERM Workbench utility to give the ERM or its slavemodules an IP Address. Each ERM and slave must have a unique IP Address.The module ships from the factory with an IP Address of 255.255.255.255. This isnot a usable IP Address for normal communications. It only serves as a defaultsetting which can be changed using NetEdit. The valid settings are 0 through 254.You do not have to change the default IP Address unless you are using IP Addressprotocol. The default setting does not cause conflicts with other networkcommunications.If you change the default IP Address for linking to other network devices, you mustchange all four 255 fields. If any field contains the number 255 andother fieldshave been changed, the module will notbe recognized on the network.

    Valid IP Address: 192.168.100.002Example

    No! 255.168.100.002

    WARNING: There cannot be duplicate IP Addresses on your network. If you areusing the IP Address, all modules must have a unique number.

    A unique Ethernet Address is assigned to each module at the factory and will not

    change. It is printed on a label attached to each module. The Ethernet Address isrecognized by ERM Workbench and NetEdit. The Ethernet Address is a twelve digitnumber with no deliberate relationship to your network or functional areas of yourplant. It does not usually serve as a convenient and easily remembered identifier forthe module.

    Host Auto Prod

    H4ERM00 E0 62 20 00 85

    Host Auto ProdH2ERM00 E0 62 20 00 84

    Factory-assigned Ethernet Address

    Using one type of identifier does not limit your use of the other identifier types.IP addressing, Module ID and Ethernet Addressing may be used on one dedicatedremote I/O network.

    IP Address

    Ethernet Address

    Using MultipleNetwork Identifiers

  • 8/14/2019 Ethernet Remote Master

    20/81

    13Installation andNetwork Layouts

    In This Chapter. . . . Inserting the ERM Module in the I/O Base ERM Network Layouts

    Network Cabling Maximum Cable Length

  • 8/14/2019 Ethernet Remote Master

    21/81

    NetworkLayouts

    SafetyGuidelines

    32Installation and Network Layouts

    Inserting the ERM Module in the I/O Base

    The DL205 system supports placement of the ERM module in the CPU-base only. Itdoes not support installation of the ERM in local expansion or remote I/O bases. Thenumber of usable slots depends on how many slots your base has. The module

    does not work in slot 0 of the DL205 series PLCs, the slot next to the CPU. TheD2240, D22501 and D2260 CPUs support the ERM modules. The D2230CPU does not.

    Slot 0 Slot 1 Slot 2 Slot 3 Slot 4

    205 CPU

    No!

    WARNING: Your system can be damaged if you install or remove systemcomponents before disconnecting the system power. To minimize the risk ofequipment damage, electrical shock, or personal injury, always disconnect thesystem power before installing or removing any system component.

    Module Type CPU CPU-Base Usable Slots

    H2ERM(F) DL240 D203B1, D203BDC11, D203BDC2 1DL2501DL260

    D204B1, D204BDC11, D204BDC2 1, 2

    D206B1, D206BDC11, D206BDC21 1, 2, 3, 4

    D206B1, D206BDC11, D206BDC21 1, 2, 3, 4, 5, 6, 7

    Retaining Clips

    205

    To install the ERM module, line up the modules printed circuit board with the groovesin the base and push the module until it is flush with face of the DL205 base powersupply. If you feel more than moderate resistance when you push the module into thebase, the circuit board may not be aligned with the grooves in the base. When themodule is firmly seated in the slot, depress the top and bottom retaining clips to lockthe module in place.

    NOTE: When adding modules to your PLC always confirm that your power budgetwill accommodate the added module. See the User Manual for your PLC for moreinformation about calculating the power budget. See Appendix A for the powerconsumption of the ERM modules.

    DL205 SlotChoices

    H2ERM (F)Module Installation

  • 8/14/2019 Ethernet Remote Master

    22/81

    3Installation and Network Layouts

    For PLC systems with D4430 and D4440 CPUs, the ERM modules can reside inany I/O slot but only in the CPU-base. The D4450 CPU allows the installation of theERM module in the CPU-base or in local expansion bases.If the ERM module is used in a local expansion base, allbases in the systemmust bethe 1 type bases. The valid part numbers for these bases are D404B1,D406B1, and D408B1. The 1 on the end of the part number indicates that thebase supports specialty modules including the ERM. The 1 bases can beconnected as local expansion bases or remote bases. They are not the samething. Remote bases do not support the ERM modules!

    405

    Slot 0 Slot 1 Slot 2 Slot 3

    CPU

    WARNING: Your system can be damaged if you install or remove systemcomponents before disconnecting the system power. To minimize the risk ofequipment damage, electrical shock, or personal injury, always disconnect thesystem power before installing or removing any system component.

    Module Type CPU Base Usable CPU-BaseSlots

    Usable ExpansionBase Slots

    H4ERM (F) D4430/440 D404B, D404B1 0, 1, 2, 3 N/AD406B, D406B1 0, 1, 2, 3, 4, 5 N/A

    D408B, D408B1 0, 1, 2, 3, 4, 5, 6, 7 N/A

    H4ERM (F) D4450 D404B 0, 1, 2, 3 N/A

    D406B 0, 1, 2, 3, 4, 5 N/A

    D408B 0, 1, 2, 3, 4, 5, 6, 7 N/A

    H4ERM (F) D4450 D404B1 0, 1, 2, 3 0, 1, 2, 3*

    D406B1 0, 1, 2, 3, 4, 5 0, 1, 2, 3, 4, 5*

    D408B1 0, 1, 2, 3, 4, 5, 6, 7 0, 1, 2, 3, 4, 5, 6, 7*

    * You must use the 1 base for the CPU-base and all local expansion bases.

    NOTE: Before installing the ERM module, confirm that your power budget willaccommodate the added module. See the DL205 or DL405User Manual for yourPLC for more information about calculating the power budget. See Appendix A forthe power consumption of the ERM modules.

    DL405 SlotChoices

  • 8/14/2019 Ethernet Remote Master

    23/81

    NetworkLayouts

    SafetyGuidelines

    34Installation and Network Layouts

    To insert the ERM module in a DL405 base, place the bottom tab of the module intothe notch at the bottom of the base. Pivot the module toward the base as shownbelow. Ensure that each module is tightly seated and secured with the captive screwat the top of the module.

    DL405 Base

    Disconnect power before installing module!

    The Ethernet remote I/O slaves accept the most commonly used I/O modules for theDL205/DL405 systems and Terminator I/O systems (AC, DC, AC/DC, Relay andAnalog). The table below lists by category those modules that you may use in aremote I/O slave. A few specialty modules that are supported in the slaves are listedbelow.

    Module/Unit Remote Slave Module/Unit Remote Slave

    PLC CPUs No H2CTRIO Yes

    DC Input Modules Yes D2CTRINT No

    AC Input Modules Yes H4CTRIO, D4HSC Yes

    AC/DC Input Modules Yes D2EM No

    DC Output Modules Yes Communications andNetworking Modules

    No

    AC Output Modules Yes

    Relay Output Modules Yes

    Analog I/O Modules Yes

    Thermocouple Module Yes

    RTD Module Yes

    NOTE: The User Manual for Analog I/O Modules discusses scan times for updatinganalog I/O data for modules installed in local bases. Please be aware that the scantimes for updating are different for remote I/O modules installed in remotebases. The CPU scan is asynchronous with the remote scan by the mastermodule. Thus, an analog input module installed in a remote base, for example, maynot have its data updated by the CPU once every scan per channel as stated in theuser manual. The CPU scan may, in fact, cycle several times while the remote scanis taking place. Take this into account in applications where the timing is critical.

    H4ERM (F)Module Installation

    Which Modules areSupported in theEthernet Slaves

  • 8/14/2019 Ethernet Remote Master

    24/81

    3Installation and Network Layouts

    ERM Network LayoutsEach ERM module can support up to 16 remote slaves (if a WinPLC system is used,only one slave can be supported by the ERM module). The slaves supported are theH4EBC(F), H2EBC(F), T1HEBC, GSEDRV and HAEDRV2. A hub orrepeater connects multiple slaves into a star topology. Multiple hubs or repeaters

    can be used to create a starbusstar topology. Once the ERM I/O network isconfigured and running, the PC can be removed from the network.

    Use a PC equipped with a 10BaseT or 10BaseFL network adapter card and theEthernet Remote Master (ERM) Workbench software configuration utility that comeswith this manual to configure the ERM module and its slaves over the ethernet remoteI/O network.

    DirectLogic DL405 I/O

    TerminatorI/O

    DirectLogic PLCor WinPLC

    ERMModule

    PC running ERM WorkBenchto configure the ERM network

    DirectLogic DL205 I/O

    Dedicated Hub(s)for ERM Network

    GSEDRVor HAEDRV2

    ACDrive

    Once the ERM I/O network is configured and running, the PC can be removed from thenetwork.

    DirectLogic DL405 I/O

    TerminatorI/O

    Dedicated Hub(s)for ERM Network

    DirectLogic PLCor WinPLC

    ERMModule

    DirectLogic DL205 I/O

    GSEDRVor HAEDRV2

    ACDrive

    Configuring theEthernet RemoteI/O Network

    Running theEthernet RemoteI/O Network

  • 8/14/2019 Ethernet Remote Master

    25/81

    NetworkLayouts

    SafetyGuidelines

    36Installation and Network Layouts

    Keep ERM networks, multiple ERM networks and ECOM / office networks isolatedfrom one another as shown below. Do not attempt to connect an ECOM module ornon ERM Workbench PC to a hub that the dedicated ERM network is using. Havingan ECOM module(s) on an ERM Ethernet network can adversely affect thereliability and the speed of the ERM slave I/O.

    DedicatedERM Network

    ECOM orOffice Network

    Keep ERM and ECOMmodules on separateNetworks

    ERM

    ECOM

    ECOM

    Dedicated Hub(s)for ERM Network

    PC for HMI orSCADA, etc.

    PC for Data Acquisitionin MES, ERP or otherbusiness systems

    Warning: We recommend using a dedicated Ethernet remote I/O network forthe ERM and its slaves.While Ethernet networks can handle a very largenumber of data transmissions, and normally handle them very quickly, heavyEthernet traffic can adversely affect the reliability of the slave I/O and thespeed of the network.

    ERM / ECOMSystems

  • 8/14/2019 Ethernet Remote Master

    26/81

    3Installation and Network Layouts

    Network Cabling

    Two types of ERMs are available. One type supports the 10BaseT standard, and theother supports the 10BaseFL standard. The 10BaseT standard uses twisted pairs ofcopper wire conductors, and the 10BaseFL standard is for fiber optic cabling.

    62.5/125 MMFfiber optics cablewith ST-styleconnectors

    10BaseFL

    UnshieldedTwisted-Paircable with RJ45connectors

    10BaseT

    The cable used to connect a PLC (or PC) to a hub or repeater is called a patch(straight-through) cable. The cable used to connect two Ethernet devices(PointtoPoint) together is a crossover cable. We recommend that you purchasecables pre-assembled with connectors for convenient and reliable networking.

    Patch (Straightthrough) Cable

    Crossover Cable

    This diagram illustrates the standard wire positions in the RJ45 connector.We recommend all ERM 10BaseT cables to be Category 5, UTP cable.

    2 TD1 TD+

    3 RD+456 RD78

    3 4 5 621 87

    8-pin RJ45 Connector(8P8C)

    RJ45 RJ45

    RJ45 RJ45

    TD 2TD+ 1

    RD+ 345

    RD 678

    GRN

    GRN/WHT

    OR/WHTOR

    BLUBLU/WHT

    BRN/WHTBRN

    GRN

    GRN/WHT

    OR/WHTOR

    BLUBLU/WHT

    BRN/WHTBRN

    TD 2TD+ 1

    RD+ 345

    RD 678

    TD 2TD+ 1

    RD+ 345

    RD 678

    GRN

    GRN/WHT

    OR/WHTOR

    BLUBLU/WHT

    BRN/WHTBRN

    GRNGRN/WHT

    OR/WHT

    OR

    BLUBLU/WHT

    BRN/WHTBRN

    10BaseT

    ERM Supports TwoStandards

    10BaseT Networks

  • 8/14/2019 Ethernet Remote Master

    27/81

    NetworkLayouts

    SafetyGuidelines

    38Installation and Network Layouts

    Most 10BaseT hubs or repeaters use a patch (straight-through) cable forconnecting the network devices (PLCs or PCs). For hub-to-hub connections acrossover type cable is commonly required. The figures on page 36 show pinassignments and insulation color codes for patch (straight-through) and crossovertype Ethernet cables.

    The ERM has an eight-pin modular port that accepts RJ45 type connectors. UTP(Unshielded Twisted-Pair) cable is rated according to its data-carrying ability(bandwidth) and is given a category number. We strongly recommend using acategory 5 cable for all ERM connections.

    Each module has two bayonet ST-style connectors. The ST-style connector uses aquick release coupling which requires a quarter turn to engage or disengage. Theconnectors provide mechanical and optical alignment of fibers.Each cable segment requires two strands of fiber: one to transmit data and one toreceive data. The ST-style connectors are used to connect the H2ERMF orH4ERMF module to another H2ERMF or H4ERMF module or a fiber optichub or repeater.

    The H2ERMF and H4ERMF modules accept 62.5/125 multimode fiber optic(MMF) cable. The glass core diameter is 62.5 micrometers and the glass cladding is125 micrometers. The fiber optic cable is highly immune to noise and permitscommunications over much greater distances than 10BaseT.

    Transmit

    Receive

    Multimode Fiber Optic (MMF) Cable

    Ferrule

    62.5/125 MMF cable withbayonet ST-style connectors

    Core

    Cladding

    Fiber cross-section

    Sheathing

    Transmit Transmit

    Receive Receive

    Connecting ERMto Slave

    10BaseTConnections

    UTP Cable

    10BaseFLConnections

    Fiber Optic Cable

    Fiber Optic ModuleST Connector

  • 8/14/2019 Ethernet Remote Master

    28/81

  • 8/14/2019 Ethernet Remote Master

    29/81

    14

    Configuring the ERM

    and Slave Moduleswith ERM Workbench

    In This Chapter. . . . ERM Workbench Software Running ERM Workbench PLC Wizard Running ERM Workbench Configure the ERM Select the Slaves Configure the Slaves Write Configuration to ERM Printing ERM Configuration

  • 8/14/2019 Ethernet Remote Master

    30/81

    Guidelines

    EthernetRemoteSlaves

    42Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    ERM Workbench Software

    Ethernet Remote Master (ERM) Workbench is a software utility that must be used toconfigure the ERM and its remote Ethernet slaves. The ERM Workbench supportstwo methods of configuring the ERM I/O network. Both methods are explained later

    in this chapter.The two configuration methods are:S ERM Workbench PLC Wizard simplifies the ERM I/O network

    configuration procedure when a PLC is used as the CPU Interface.S ERM Workbench configures an ERM I/O network whether the CPU

    Interface is a PLC or WinPLC, and allows access to all ERM I/O networkparameters.

    NetEdit, a software utility within ERM Workbench, can be used to set the Ethernetmaster/slave Module ID, set an IP address if necessary or configure 405 EBCs withanalog I/O modules. Both ERM Workbench and NetEdit can be used to monitor theremote I/O network and to perform diagnostic and troubleshooting tasks.

    ERM Workbench can run on Windows 98/ME/2000/XP or Windows NT. ERMWorkbench is included with this manual on 3.5 diskettes. The latest version of ERMWorkbench is available for download from Host Engineerings web site(www.hosteng.com). ERM Workbench consists of several files, all of which must belocated in the same directory. The installation process places the files in theC:\HAPTools directory (default). The files may be placed in another directory, butremember all of the ERM Workbench files must be placed within the same directory.

    Place disk 1 of 2 in Drive Aor Drive B. Click on the Windows Start button and thenselect Run. Type in the path and filename (ex. A:\setup), or click on the Browsebutton to find the directory and filename (ex. if ERM Workbench was downloadedfrom web). A series of windows will step through the installation process for disks 1and 2. Fill in the necessary information as the installation wizard prompts through the

    install. In the Setup Type window, select Typical setup. This setup type isrecommended for most users.

    Installing ERMWorkbench

  • 8/14/2019 Ethernet Remote Master

    31/81

    4Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    There are three methods to launch ERM Workbench.The two methods are:

    S using the Windows Start menu Programs>AutomationDirect Tools>ERMWorkbench as shown below

    S launching DirectSOFT32, then select PLC >Tools>ERM WorkbenchS

    launching DirectSOFT32, then select Utilities>ERM Workbench

    You may have already set up your PC with selected networking protocols forEthernet communications. If not, you will need to select the protocols now forcommunication with the Ethernet modules. We strongly recommend that youinclude the IPX protocol. For Windows 2000, go from My Computer on yourWindows desktop to Control Panel. Double click on Network and DialupConnections, then double click on the desired Network Device to see the installedProtocols. If IPX is not listed among the protocols already loaded, add it now byclicking on the Install button. For Windows XP, go from Start>Settings>Control

    Panel. The steps are the same as Windows 2000 from this point.Add the TCP/IP protocol if it is necessary for your application. The TCP/IP selectionwill give you support for the UDP/IP protocol. Also, add the IPX protocol if it is notalready active.

    NOTE: We strongly recommend you load IPX protocol on your PC for the connectionfrom your PC to the ethernet modules. Use UDP/IP in your application, if required,but also add IPX to your list of active protocols. Having IPX loaded on your PC givesyou a backup for troubleshooting communication problems.

    LaunchingERM Workbench

    Adding NetworkProtocol Supportto the ERMWorkbench PC

  • 8/14/2019 Ethernet Remote Master

    32/81

    Guidelines

    EthernetRemoteSlaves

    44Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Running ERM Workbench PLC Wizard

    Run ERM Workbench PLC Wizard by launching DirectSOFT32, then select PLC>Tools>ERM Workbench, by using the Windows Start menuPrograms>AutomationDirect Tools>ERM Workbench or by launching

    DirectSOFT32, then select Utilities>ERM Workbench. The Wizard allows the ERMnetwork to be easily and completely configured without having to use the moreadvanced ERM Workbench utility.

    NOTE: The ERM module and ERM Workbench utility factory default settings arelocated in Appendix C. These defaults will be applied during the ERM networkconfiguration unless otherwise changed. Some of the settings can be changedwithin the ERM PLC Wizard, but all can be changed using the ERM Workbenchutility.

    Select either Hub or Pointtopoint to describe the ERM network system that will be

    used. This example assumes that a Hub network is used. Once a selection has beenmade, click on the Next button.

    Connect the ERM Workbench PC to the dedicated ERM network hub. If only oneslave is used, connect the PC directly to that slave. Then click on the Next button.

    Step 1:

    Choosing theERM NetworkConfiguration

    Step 2:Connecting theERM WorkbenchPC to the ERMNetwork

  • 8/14/2019 Ethernet Remote Master

    33/81

    4Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    The following window will be displayed if an ERM module is found on the network.Click on the Flash Error Light button to confirm that the correct ERM module hasbeen found (the ERMs LED will flash for 3 seconds). If the PC is connected directlyto the slave in a Pointtopoint network, this window will not be displayed until thePC is connected directly to the ERM module.

    The Select and Configure Slaveswindow will display all of the slaves found on thededicated ERM network. The order of how the I/O is mapped into the PLC is basedon the slave order. The ERM to Slave Address Mode selection determines theaddress mode in which the ERM module will use to communicate with its slaves.Chapter 2 describes the ERM / Slave Addressing Modes. Click on the Next buttononce the slave list is configured.

    EstablishingCommunicationwith the ERM

    Step 3:Select andConfigurethe Slaves

  • 8/14/2019 Ethernet Remote Master

    34/81

    Guidelines

    EthernetRemoteSlaves

    46Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Select the starting PLC memory addresses for each of the four I/O types: DiscreteInputs, Discrete Outputs, Analog Inputs and Analog Outputs. Be sure that theselected starting addresses do not conflict with any local I/O or any V memorylocations used in the ladder logic program. Note that the first two words of Vmemory in the Discrete Input table is reserved for ERM status information andthe first word of V memory in the Discrete Output table is reserved for DisableSlave Command bits. For more detailed information on PLC I/O mapping, refer tothe PLC Memory Map section on page 410 and the Reserved PLC Memory forERM section on page 415. Click on the Next button once the starting PLCaddresses have been selected.

    The following window displays how the slave I/O will be mapped into the PLCmemory. The network I/O modules and I/O points are listed by slave and slotnumber. This configuration is written to the ERM by clicking on the Write to ERMbutton. If any advanced configuration needs to be done, click on the ERMWorkbench button. The modified configuration can then be downloaded from theERM Workbench utility to the ERM module.

    Step 4:Map I/O toPLC Memory

    Step 5:DownloadConfigurationto ERM

  • 8/14/2019 Ethernet Remote Master

    35/81

  • 8/14/2019 Ethernet Remote Master

    36/81

    Guidelines

    EthernetRemoteSlaves

    48Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Running ERM Workbench

    Run ERM Workbench by launching DirectSOFT32, then select the PLCmenu>Tools>ERM Workbench, by using the Windows Startmenu>Programs>AutomationDirect Tools>ERM Workbench or by launching

    DirectSOFT32, then select Utilities>ERM Workbench. Run ERM Workbench byclicking on the ERM Workbench button in the lower left hand side of the ERMWorkbench PLC Wizard window. Checking the Please do Not Launch PLC Wizardat startup box will disable the Wizard from launching, but can be accessed fromView menu>PLC Wizard. The following window will be displayed.

    The ERM Workbench PC will need to be connected to the ERM network to configure

    the modules as described in this chapter. A hub is not necessary if only one networkslave is used. In this case, the PC will need to be connected directly to the slavemodule to configure the slave. Then, the PC will need to be connected directly to theERM module to configure the ERM.

    DirectLogic DL405 I/O

    TerminatorI/O

    DirectLogic PLCor WinPLC

    ERMModule

    PC running ERM WorkBenchto configure the ERM network

    DirectLogic DL205 I/O

    Dedicated Hub(s)for ERM Network (notnecessary if only onenetwork slave is used)

    GSEDRVor HAEDRV2

    ACDrive

    Connecting the

    ERM WorkbenchPC to the NetworkModules

  • 8/14/2019 Ethernet Remote Master

    37/81

    4Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Configure the ERM

    NOTE: The ERM module and ERM Workbench utility factory default settings arelocated in Appendix C. These defaults will be applied during the ERM network

    configuration unless otherwise changed. The default settings can be changedduring configuration, module by module, within the ERM Workbench. Also, the ERMWorkbench> View menu>Options allows the default settings to be change at asystem level that will apply to all the new module configurations.

    Click on 1. Configure ERM button. Then select either PLC or WinPLC as the ERM /CPU Interface.

    If PLC is selected, the PLC Memory Map is enabled. If WinPLC is selected, the PLCMemory Map will remain disabled. The PLC Memory Map is explained on the nextpage. Clicking on the PLC Memory Map button displays the valid memory ranges foreach PLC that supports the ERM module.

    Configuringthe ERM

    Selecting PLCas Interface

  • 8/14/2019 Ethernet Remote Master

    38/81

    Guidelines

    EthernetRemoteSlaves

    410Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    A starting PLC V memory address must be specified for each of the four types of I/O.The ending address for each I/O type is determined by the amount of each I/O typeused by the slaves. The PLC Memory Map is divided into 4 separate tables.1) Discrete Inputs: This is where the ERM will Write all of the slaves Discrete Inputdata.2) Discrete Outputs: The ERM will Read this from the PLC and Write it to the slavesDiscrete Outputs.3) Analog Inputs: This is where the ERM will Write all of the slaves Analog Inputdata.4) Analog Outputs: The ERM will Read this from the PLC and Write it to the slavesAnalog Outputs.

    It is recommended to use the V404xx (Xs)for Discrete inputs and V405xx (Ys) forDiscrete Outputs that are beyond the local/expansion base I/O that exists. Thedefault addresses are V40414 (X300) and V40514 (Y300). Note that the StartingPLC address and the Starting Discrete I/O Address are not the same. The firsttwo words of V memory in the Discrete Input table is used for ERM/slave statusinformation, and the first word of V memory in the Discrete Output table is for

    Disable Slave Command bits. Adjust these address as needed, but do not mapover local I/O used and be sure the PLC supports the alternate addresses selected.

    Clicking on the ERM Configuration Advance button displays the following window.

    Standby Cycle Timeis the time the ERM will wait before trying to communicate with aslave that had a communication error. Enabling this feature will help overall I/Othroughput when one slave errors in a multislave network. If the Standby CycleTime is disabled, the ERM will try to communicate with the slave in error every I/Ocycle. If enabled, the ERM will try to communicate with the slave in error at the giventime interval.PLC Scan Timeoutis the time for the ERM to wait on the PLC when the PLC is notresponding due to long PLC scan times. It is recommended to keep it at the default of100ms or twice the maximum PLC scan time, whichever is greater.

    PLC Memory Map

    Advanced ERMConfiguration

  • 8/14/2019 Ethernet Remote Master

    39/81

    41Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Unsupported Slave Cycle Time is the time the ERM will wait before trying tocommunicate with a slave that cannot be supported by the ERM. An unsupportedslave may have an I/O configuration that does not match the ERMs or may haveobsolete firmware. If disabled, the ERM will not try to communicate with theunsupported slave again until ERM power is cycled. If enabled, the ERM will checkslave support at the given time interval. If the slave is then supported, the slave will

    be included in the ERMs I/O cycle.Advanced ERM Network Settingsare used to configure the ERMs UDP/IP subnetmask for IP address handling. Consult your network administrator if needed.

    Select the Slaves

    Select 2. Select Slaves button. In order to select and configure the slaves, the PCrunning ERM Workbench needs to be connected to the specific remote Ethernetslave network.Note: A Think & Do WinPLC can only support one slave per ERM module. A PLC cansupport up to sixteen slaves per ERM modules.

    A

    C D

    EF

    B

    1 2

    A. In the upper left corner of the Select Slaves window is a PC Network Slaves onProtocol Group List. Clicking on either the IPX or UDP/IP radio button determineswhich protocol is used by the PC running ERM Workbench to communicate with theremote master and slave modules. The ERM and its slave modules understandeither protocol. Only one of the protocols needs to be installed on the PC to configurethe ERM.B. The left column displays the Ethernet Address, IP Address, Module ID and Modelnumber of the slaves currently on the remote I/O network. If slaves are added orremoved from the network, click on the Query Network button (1) to update the list.

    Selectingthe Slaves

  • 8/14/2019 Ethernet Remote Master

    40/81

    Guidelines

    EthernetRemoteSlaves

    412Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    C. The center column displays the ERMs Slave List. To add a slave to the ERMsList, either double click on a slave in the PC Network Slave Listor select the slaveand click on the Add to Slave List button (2). Slaves can also be removed from theERMs List by clicking on the Remove button. One ERM can support up to 16 remoteslaves.D. The right column displays the Slave Configurationof the slave that is selected inthe ERMs Slave List.E. The Upgrade Firmware Utilitycan be used to upgrade the firmware in the ERM orslave modules if necessary.F. NetEditcan be used to assign IP Addresses to the remote I/O network modules ifrequired. NetEdit is also required if Module ID is to be software set or if the 405 EBCis used with analog I/O modules. Normally, a network administrator will assign an IPAddress to each module on the network. Since it is recommended to use a dedicatedremote I/O network, it is not necessary to assign IP Address unless the UDP/IPprotocol must be used. Refer to Chapter 4 Using NetEdit for more information.

    Configure the Slaves

    Remote slave parameters (protocol, address mode, timeout, etc.) are setindividually for each slave. To configure a slave, select a specific slave in the ERMsSlave List and either double click on a specific slave in the ERMs slave List in theSelect Salves window or click on the Configure button. The following window willdisplay the settings of the selected slave module.

    D

    A

    B

    C E

    F

    A. The left column, ERM to Slave Communication Settings, determines the protocol,address mode and the communication Timeout Settings the ERM module will use tocommunicate with the specific slave selected.B. In the Protocolbox, click on either the IPX or UDP/IP radio button to select whichprotocol the ERM will use to communicate with the selected slave. If UDP/IP protocolis selected, a valid IP address must be assigned using NetEdit.The Address Modedetermines which network identifier will be used by the ERM toaddress the selected slave. IPX protocol supports either Module ID or EthernetAddress. UDP/IP protocol supports only IP Addressing.

    Setting the SlavesParameters

  • 8/14/2019 Ethernet Remote Master

    41/81

    41Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    C. ERM Timeout to Slave Response, Retries and Consecutive Failures BeforeStandby Modetimes can be set for each slave. The default time values should beadequate for most applications. The values may need to be raised in applicationswhere IP addressing and routers are used or if a dedicated remote I/O network is notused.D. Enablingthe Slaves Watchdog Timeoutruns in the slave and allows the slave toturn off all outputs when the slave no longer receives any I/O requests from the ERMmodule. Any outputs that were on at the time of the error will turn off after thespecified time elapses. Set the ERM Pet Frequencyruns in the ERM to reset thewatchdog timer in the slave to avoid any nuisance timeouts due to main CPUinconsistent logic times or ERM I/O cycle times.Disablingthe the slaves WatchDog timer will cause all of the outputs to remain intheir last state indefinitely (hold) when the slave no longer receives any I/O requests.E. Reserve PLC Addresses for Expansionallows future I/O modules to be added orexisting modules to be removed from a slave without affecting the PLC addresses ofthe other slaves on the network. Pad the discrete inputs and outputs using bytes (8points per byte) and the analog I/O using words (2 bytes). Padding can only be donefor I/O at the end of a slave I/O base, not between two I/O modules on the slave.F. The Make Offline Feature may be useful for users or OEMs that requireduplicating a system several times. For example, a system may consist of 3 EBCs.An offline ERM configuration allows each additional ERM to be configured withoutactually connecting its slaves at configuration time. Once the initial ERM system isconfigured, its ERM Workbench configuration file can be used to create anotherconfiguration file with different slave addresses.Checking the Make Offlinecheckbox allows slave addresses to be manually set thatshould be used by the ERM. This does not change the address in the slave, butchanges the ERM configuration to address a different slave without connecting it onthe network when configuring the ERM.

    Once the CPU Interface and Slaves have been selected and configured, the networkI/O modules and I/O points will be listed by slave and slot number as shown on thenext page (A.). The next step will be to write the configuration to the ERM module.

  • 8/14/2019 Ethernet Remote Master

    42/81

    Guidelines

    EthernetRemoteSlaves

    414Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Write Configuration to ERMAfter the ERM CPU interface has been selected and the slaves have beenconfigured, click on the 3. Write to ERM button to write the configurationinformation to the ERM module. Once the download is complete, the followingwindow can be used to check slave status and view detailed ERM status, etc.

    D

    C

    A

    B

    F

    E

    A. Once the CPU Interface and Slaves have been configured using the steps on theprevious pages, the network I/O modules and I/O points will be listed by slave andslot number. This configuration will be written to the ERM by clicking on the 3. Writeto ERM button. If using a PLC CPU as the interface, note that the Starting PLCaddress and the Starting Discrete I/O Address are not the same. The first twowords of V memory in the Discrete Input table is reserved for ERM/slave statusinformation, and the first word of V memory in the Discrete Output table is reservedfor Disable Slave Command bits. The PLC memory map information is not displayedif a WinPLC is selected as the CPU interface. See the following section ReservedPLC Memory for ERM for detailed information. This table can be sorted by I/Omodule address or PLC Memory Address.

    B. The top row lists the ERMs Ethernet Address, IP Address and Module ID. It ishighly recommended that the Ethernet Address of the modules is place on a labelnear the module in a visible location.

    C. The PLC CPU or WinPLC Interface information is listed.

    D. In the Slave Status box, the status of a specific slave can be displayed by clickingon the slave number 116. The numbers are highlighted in either normal, green,yellow or red. Normal (default) indicates that the slave is not configured. Greenindicates the ERM is successfully communicating with that particular slave. Yellowindicates I/O is being updating, but some error exists within the I/O of that slave(i.e. module missing 24VDC, unused analog channels exist, broken transmitter ormodule missing terminal block, etc.). Red indicates I/O is not being updating andthat the ERM is not communicating with that slave. Clicking on the Slaves Error Listbutton will display the error conditions for that particular slave. The error codes arethen defined under the Error List button.

  • 8/14/2019 Ethernet Remote Master

    43/81

    41Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    E. When the CPU Interface is in the Run Mode, the Read ERM Status button will behighlighted. Each time the button is clicked, the most current ERM Statusinformation will be read and displayed.

    F. Detailed ERM Status provides ERM I/OCycle Times. This is the time required for

    the ERM module to update all of its I/Opoints. Remember the ERM and the PLCCPU operate asynchronously from oneanother. The PLC CPU scan will be fasterthan the ERM I/O Cycle Time. Thus, theremote I/O points will not be updated everyPLC CPU scan.

    Analog I/O Data Registers

    Analog input data is mapped channel by channel in decimal format (binary) intoconsecutive V memory locations when used in an EBC base. Each individual analogI/O channel has its own 16bit V memory location. For example, an 8 channel analoginput module with starting PLC V memory address of V2000 would map the 8channels of analog data into V2000 V2007, respectively. Analog output dataneeds to be in decimal format (binary). Be sure to convert any BCD values todecimal before sending the data to the analog output registers.Refer to theAnalogI/O Manuals for conversion examples. Terminator analog I/O modules consumetwo (Double) words per channel (32bits). See Appendix E for configuringTerminator I/O analog output module control byte.The EBC slave modules automatically maps the analog I/O data in/out of V memory,thus multiplexing ladder logic or pointer method is not necessary.

    Note that the 205/405analog I/O channels arelisted as 16bit Binaryconsecutive data registers

    (1 word) and the Terminatoranalog I/O channels arelisted as 32bit Binarynonconsecutive dataregisters (Double Word).

    Analog I/OData Registers

  • 8/14/2019 Ethernet Remote Master

    44/81

    Guidelines

    EthernetRemoteSlaves

    416Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Reserved PLC Memory for ERM

    The first two words of V memory in the Discrete Input table is used for ERM/slavestatus information, and the first word of V memory in the Discrete Output table is forDisable Slave Command bits. The default memory addresses X300 and Y300 areused in this example.

    X317

    MSB LSBV40414

    Slave Status Bits

    X300

    X337

    MSB LSBV40415

    ERM Status Word

    X320

    The Slave Status Bits can be monitoredto detect if a slave is in error.

    The ERM Status Word contains the ERMerror code and Status Bits (see the followingdescription and Error Codes in Appendix B).Bit 8 indicates that the ERM is disabling aslave.

    Slave 1Slave 16

    Y317

    MSB LSBV40514

    Disable Slave Bits

    Y300

    The Disable Slave Bits can be used todisable a slave from communicating withthe ERM module. Bit ON = disable thatspecific slave. RESET = reenable thespecific slave.

    Slave 1

    X327

    X330

    Status Bits Error Code

    Slave 16

    The ERM Status Word contains the current ERM Error Code in the Least SignificantByte and the Status Bits in the Most Significant Byte.When using the Slave Disable Bits, the ERM must recognize the request to disable aslave before attempting to reenable that slave. This closed loop feedback isnecessary due to the asynchronous scans of the ERM and PLC. X330 is the onlyfeedback bit for ALL slave disabling bits (Y300 Y317). Either disable multipleslaves all on the same scan or serialize the disable process by using ladder logicinterlocks.Use the following ladder logic code to manually reset a slave. For example, use thisresetting method when Hot Swapping a Terminator I/O module on a slave that isset up to be manuallyreset using ladder logic. The default for the Terminator EBC isautomaticrescan after Hot Swapping and I/O module.

    C0

    PD

    C200

    DirectSOFT

    C0

    SET

    Y300

    Y300

    RST

    Y300X330

    Event occurs to reset Slave 1

    Disable Slave 1

    Wait to reenable Slave 1 until X330 (ERMDisable Request Bit) is ON.

    ERM Status Word /Reset Slave Code

  • 8/14/2019 Ethernet Remote Master

    45/81

    41Configuring the ERM and Remote Ethernet Slaves with ERM Workbench

    Saving ERM Configuration to Disk

    The ERM configuration can be saved to disk as an ERM Workbench File (*.erm). TheSave command allows you to specify a name and location for the configuration. See

    File>Save.

    Clear ERM Configuration

    The Clear ERM command allows you to clear the existing configuration from anERM module. This function is useful when changing the ERM network configurationor experiencing configuration difficulties. See File>Clear ERM.

    Printing/Exporting the ERM Configuration

    The ERM Configuration can be printed or exported as a text(.txt) or commaseparated variable(.csv) file. The ERM Configuration can be sorted by either theSlave/Base/Slot Address or the PLC Memory Address. The ERM/Slave Status canalso be included with the print or export. See File>Print/Export.

  • 8/14/2019 Ethernet Remote Master

    46/81

    5Using NetEdit

    In This Chapter. . . . Using NetEdit Using NetEdit to Configure H4EBC Base

  • 8/14/2019 Ethernet Remote Master

    47/81

    52Using NetEdit

    Using NetEdit

    NetEdit is a software utility which can be used to set network identifiers (Module ID,or IP Address) for the network master and slave modules. NetEdit is accessed fromthe ERM Workbench Select Slaves window or the View>NetEdit Window. NetEdit

    can also be used for diagnostic and troubleshooting tasks. This section stepsthrough the individual segments of the NetEdit utility and the function of each.

    In the upper left corner of the NetEdit window, you will find a box labeled Protocol. Inthe box, there are two choices: IPX and UDP/IP. The ERM and its slave modulesunderstand IPX andUDP/IP protocols. Both protocols are permanently residentinthe firmware of the modules.

    When you click on one of these radio buttons, you are selecting the protocol youwant your PC to use to allow NetEdit to communicate with the master or slavemodules. You are not telling the module which protocol to use. IPX is a Novellstandard in widespread use, and UDP/IP is a popular protocol supported by theTCP/IP suite of protocols in your PC.

    The figure to the right shows theProtocol selection box in the upper leftcorner of the NetEdit window. Thechoice you make here tells your PCwhich protocol to use to link NetEdit tothe master or slave modules. You arenot selecting which protocol theremote I/O network will use.

    The NetEditWindow

    EthernetCommunicationProtocol

  • 8/14/2019 Ethernet Remote Master

    48/81

    5Using NetEdit

    You may have already set up your PC with selected networking protocols forEthernet communications. If not, you will need to select the protocols now forcommunication with the ECOM module. We strongly recommend that you includethe IPX protocol. The description below applies to Windows 2000 (Windows 98/NThave slightly different steps). If you are not familiar with this procedure, you mayneed to have your Network Administrator perform this task.

    For Windows 2000, go from My Computer on your Windows desktop to ControlPanel. Double click on Network and Dialup Connections, then double click on thedesired Network Device to see the installed Protocols. If IPX is not listed among theprotocols already loaded, add it now by clicking on the Install button. For WindowsXP, go from Start>Settings>Control Panel. The steps are the same as Windows2000 from this point.Add the TCP/IP protocol if it is necessary for your application. Choose the TCP/IPselection to get UDP/IP support. Also add the IPX protocol if it is not already active.

    NOTE: We strongly recommend you load IPX protocol on your PC and use it for your

    module links. Use UDP/IP in your application, if required, but also add IPX to your listof active protocols. Having IPX loaded on your PC gives you a backup fortroubleshooting communication problems.

    The Module box lists the EthernetAddressesof the modules currently onthe remote I/O network.

    If modules are added or removed fromthe network, click on the QueryNetwork button to update the list.Notice that the Ethernet Address is thefactory-assigned address that is on thepermanent label on the module.

    Select a specific module here byclicking on the Ethernet Address or byusing the arrow keys. The selectedmodule is highlighted.

    Adding NetworkProtocol Supportto Your PC

    Ethernet Address

  • 8/14/2019 Ethernet Remote Master

    49/81

    54Using NetEdit

    The Module Informationbox provides themodule Type, Version, Booter and Dipswitch setting. The Type is the catalognumber of the module. The Version andBooter refers to the modules firmwareversion. The Dip switch setting reflects theModule ID.

    NOTE: The module information and settings on this page apply to the selected(highlighted) module. To select a module, click on its Ethernet Address in the Modulebox.

    The Ethernet Statsare statistics related to

    communication errors. These statistics areexplored in Chapter 6, Maintenance andTroubleshooting.

    Click on the Clear Stats button to reset allcategories to 0 (zero).

    The Configuration box allows you toassign a Module ID. Module IDs must beunique for each module, but they do nothave to be in sequence. The DIP switchesmust all be set to zero to enable any

    software to change the Module ID.The Name field and Description fieldare optional. The ERM cannot addressa slave by Name or Description.

    To set an IP Address, highlight thenumber in each of the four boxes, andoverwrite the number. Use thetwelve-digit number assigned to themodule by your network administrator. Ifyou change the IP Address, do not use thenumber 255 in any field. Doing so will

    cause communication problems.The Update Module button sends allentries to the modules flash memory.

    The Advanced Settings button isexplained in the next section.

    ModuleInformation

    Module ID /IP Address

  • 8/14/2019 Ethernet Remote Master

    50/81

    5Using NetEdit

    Using NetEdit to Configure the H4EBC Base

    NOTE: The following configuration information applies only to the H4EBC(F) andthe DL405 I/O. The H2EBC(F) and associated DL205 I/O are self-configuring anddo not require this additional step.

    The EBC Serial Port is not supportedwhen the ERM module is used as thenetwork master.

    Clicking on the Base Configuration buttoncauses the EBC Base Configurationscreen to appear.

    The Advanced Settings button in the Configuration box of Net Edit brings up theEBC Advanced Settingswindow.

    When you click on the Base Configuration button (top of page) the H4EBC BaseConfigurationscreen pops up, as shown below. The H2EBC and the T1HEBC areself-configuring and do not require this step.

    The default symbol ---------- appears on the configuration screen where digital oranalog modules are present. For d