Computer Numerical Control (CNC) Fanuc -En

download Computer Numerical Control (CNC) Fanuc -En

of 278

Transcript of Computer Numerical Control (CNC) Fanuc -En

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    1/278

    Quick Start

    Computer Numerical Control (CNC) MachiningAccelerator ToolkitFor FANUC Series 30i-B, 31i-B, 32i-B, and 35i-B CNC Systems

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    2/278

    Important User Information

    Solid-state equipment has operational characteristics differing from those of electromechanical equipment. SafetyGuidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1available fromyour local Rockwell Automation sales office or online at http://www.rockwellautomation.com/literature/ ) describes someimportant differences between solid-state equipment and hard-wired electromechanical devices. Because of this difference,

    and also because of the wide variety of uses for solid-state equipment, all persons responsible for applying this equipmentmust satisfy themselves that each intended application of this equipment is acceptable.

    In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting fromthe use or application of this equipment.

    The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables andrequirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility orliability for actual use based on the examples and diagrams.

    No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, orsoftware described in this manual.

    Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,Inc., is prohibited.

    Throughout this manual, when necessary, we use notes to make you aware of safety considerations.

    Allen-Bradley, CenterONE, CompactBlock, CompactLogix, ControlFLASH, ControlLogix, CrossWorks, Explorer, FactoryTalk, Guard I/O, GuardLogix, Integrated Architecture, Kinetix, MCS, PanelView, PowerFlex,ProposalWorks, RSLogix, RSLinx, TechConnect, RailBuilder, Rockwell Automation, Rockwell Software, and Ultra are trademarks of Rockwell Automation, Inc.

    Trademarks not belonging to Rockwell Automation are property of their respective companies.

    WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardousenvironment, which may lead to personal injury or death, property damage, or economic loss.

    ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death,property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the

    consequence

    SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people thatdangerous voltage may be present.

    BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people thatsurfaces may reach dangerous temperatures.

    IMPORTANT Identifies information that is critical for successful application and understanding of the product.

    http://literature.rockwellautomation.com/idc/groups/literature/documents/in/sgi-in001_-en-p.pdfhttp://www.rockwellautomation.com/literature/http://www.rockwellautomation.com/literature/http://literature.rockwellautomation.com/idc/groups/literature/documents/in/sgi-in001_-en-p.pdf
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    3/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 3

    Follow this path to complete your CNC machining application.

    MOTOR

    FIELD SIDEDRIVE

    PROTECTION

    POWERFLEX4

    ACDRIVE

    MOTOR_01

    USER PROTECTED

    XXXVAC SUPPLY

    MAINS DISCONNECT

    PROTECTION

    XXAMPS

    FILTERED POWER

    Chapter 7Motion System Application Guide

    RESETTINGIDLE

    (enabled)STARTING

    STARTRUNNING

    STOPPING

    STOP

    STOPPED

    (disabled)

    CLEARING ABORTED

    ABORTINGRESET

    ABORT

    CLEAR

    The machine can go from any state in the shaded box to STOPPING.

    The machine can go from any statein the solid box to ABORTING.

    Chapter 2System Layout and Wiring

    Chapter 1Architecture and Hardware Selection

    Chapter 3FANUC CNC

    Configuration

    Chapter 4GuardLogix

    Configuration

    Chapter 7System Application Guide

    Chapter 5FactoryTalk View ME

    Configuration

    Chapter 6System

    Commissioning

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    4/278

    Where to Start

    4 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Notes:

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    5/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012 5

    Table of Contents

    Preface Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Required Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

    Additional Toolkits and FANUC Publications . . . . . . . . . . . . . . . . . 14

    Chapter 1

    Architecture and Hardware Selection Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Follow These Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Review System Selection and Configuration Tools . . . . . . . . . . . . . . . . . . 19

    FANUC CNC Express Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Rockwell Automation DMAT Wizard Software . . . . . . . . . . . . . . . . 19Rockwell Automation Safety Selection Tools . . . . . . . . . . . . . . . . . . . 20Rockwell Automation Product Selection Toolbox. . . . . . . . . . . . . . . 21

    Open FANUC CNC Express Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Create CNC System Bill of Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Create Supervisory Controller and Safety System Bill of Materials. . . . 28

    Chapter 2

    System Layout and Wiring Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Follow These Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31Select FANUC CNC Drawings from Drawing Library. . . . . . . . . . . . . . 31Edit FANUC CNC Drawing Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

    Create a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Edit CNC Power Drawings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Edit CNC Safety and Standard I/O Drawings . . . . . . . . . . . . . . . . . . 38Edit System Communication Drawings . . . . . . . . . . . . . . . . . . . . . . . . 41Edit CNC System Layout Drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

    Assemble and Edit Your GuardLogix System Drawing Set . . . . . . . . . . . 44

    Chapter 3

    FANUC CNC Configuration Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

    Follow These Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Initial FANUC CNC Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48System Powerup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Parameter Write Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49High Speed Ethernet Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Configure Ethernet Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Create a New Project File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Download FANUC LADDER III Software Projectto the FANUC S35i-B CNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    6/278

    6 Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012

    Table of Contents

    USB External Device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63EtherNet/IP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64

    Logic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Editing Application Logic Modules and Adding Code . . . . . . . . . . . 70Device Logic Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

    Verify and Save the Project File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75Download FANUC LADDER III Software Projectto the FANUC S35i-B CNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

    Chapter 4

    GuardLogix Configuration Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82What You Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83Create an Initial GuardLogix Project Using the DMAT Wizard. . . . . . 84

    Order and Run the DMAT Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Import the Preconfigured RSLogix 5000 Project . . . . . . . . . . . . . . . . 84

    GuardLogix Controller and Network Configuration . . . . . . . . . . . . . . . . 87Create a New Project File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Configure Ethernet Module for your HMI Terminaland CNC Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89Save the Project File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

    Import and Configure the Machine Logic Module . . . . . . . . . . . . . . . . . . 91FANUC CNC AOP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

    Update FANUC CNC Add-On Profile (AOP) . . . . . . . . . . . . . . . . . 95Add and Configure FANUC CNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

    Save the Project File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Import and Configure CNC Application Logic Module . . . . . . . . . . . . 100

    Import and Configure FANUC CNC Device Logic Modules . . . . . . . 104Set String Tag Names for Alarm History Faceplate . . . . . . . . . . . . . . . . . 108Set Visible Rows for Equipment Status Faceplate. . . . . . . . . . . . . . . . . . . 111Import and Configure Device and Application Status Logic. . . . . . . . . 113Create Specific Application Logic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

    Application Code Logic Template Overview. . . . . . . . . . . . . . . . . . . 120Application Logic Creation Steps That UseApplication Logic Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126Application Logic Creation Steps That Use a Template. . . . . . . . . 136

    Safety Logic Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137Safety I/O. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137GuardLogix Safety Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138Safety Faceplate Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144

    Verify and Save the Project File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146

    Chapter 5

    FactoryTalk View ME Configuration Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149What You Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    7/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012 7

    Table of Contents

    Design from a Preconfigured HMI Application File. . . . . . . . . . . . . . . . 151Restore and Open a Preconfigured HMI Application. . . . . . . . . . . 151Delete Unused Displays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154Delete Unused Parameter Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155Configure Parameter Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156

    Delete Unused Alarm Triggers and Tags . . . . . . . . . . . . . . . . . . . . . . 160Design from an Existing HMI Application File . . . . . . . . . . . . . . . . . . . . 162Open Your Existing HMI Application File and Add Displays . . . 162Add Parameter Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165Configure Parameter Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167Import Alarm Setup File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171Delete Unused Alarm Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173Import and Edit Alarm Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174

    Configure Goto Display Buttons on Startup Display . . . . . . . . . . . . . . . 177Add FANUC CNC Goto Buttons to Your Application . . . . . . . . 177Associate Each Button to a Faceplate and Parameter File. . . . . . . . 179

    Configure Equipment Status Faceplate Display . . . . . . . . . . . . . . . . . . . . 185Add the Equipment Status Faceplate Display . . . . . . . . . . . . . . . . . . 186Add the ME_Equipment_Parameter File. . . . . . . . . . . . . . . . . . . . . . 187Configure Goto Buttons on the Equipment Status Faceplate. . . . 189Configure Additional Device Value Columns. . . . . . . . . . . . . . . . . . 191

    Configure Safety Faceplate Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193

    Chapter 6

    System Commissioning Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195Follow These Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196

    Download Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197Download RSLogix 5000 Software Project Fileto the Logix Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197Configure and Download FactoryTalk Projectto PanelView Plus Terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198

    Commissioning Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205Commissioning CIP Motion Drives . . . . . . . . . . . . . . . . . . . . . . . . . . 205Commissioning sercos Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205Commissioning PowerFlex 7-class Drives. . . . . . . . . . . . . . . . . . . . . . 205Commissioning PowerFlex 4-class Drives. . . . . . . . . . . . . . . . . . . . . . 205Commissioning Kinetix 300 Drives . . . . . . . . . . . . . . . . . . . . . . . . . . . 205

    Commissioning Supervisory and CNC System . . . . . . . . . . . . . . . . . . . . 206Verify Network Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206Clearing Faults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212Operator (manual) Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212Program (automatic) Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    8/278

    8 Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012

    Table of Contents

    Chapter 7

    System Application Guide Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215What You Need. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216Machine Startup Faceplate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217

    Machine Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217Machine Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219Program/Operator Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219State Diagram Faceplate Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220

    CNC Faceplate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221Home View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221CNC Status Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222CNC Control Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222Fault Indication View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223Fault Diagnostic Views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224Configuration View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225

    Online Help Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226Motion Drive and/or PowerFlex Drive Faceplates. . . . . . . . . . . . . . . . . . 226Guard I/O Safety Faceplates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226Equipment Status Display Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226Alarm History Display Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228

    Appendix A

    Logic Program Overview Machine/Application/Device Module Relationship . . . . . . . . . . . . . . . . 230Module Routine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231

    Machine Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234

    Application Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240Device Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241

    Appendix B

    Logic Module Customization Machine State Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243Tag and Logic Modification Recommendations . . . . . . . . . . . . . . . . 246State Display Tag Modifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247Bypass Idle State Modifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248

    Module Fault Customization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249Alarm History Faceplate Logic Modification . . . . . . . . . . . . . . . . . . . . . . 252Coordinated Reset Customization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253

    Appendix C

    Add Other Devices to the Equipment

    Status Faceplate

    Add Devices to the Equipment Status Faceplate. . . . . . . . . . . . . . . . . . . . 255Add Optional Faceplate Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    9/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012 9

    Table of Contents

    Appendix D

    Logix Communication and Controller

    Configuration

    Configure Personal Computer Communication Properties . . . . . . . . . 261Configure the EtherNet/IP Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263Configure the Logix Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264

    Index

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    10/278

    10 Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012

    Table of Contents

    Notes:

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    11/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012 11

    Preface

    Introduction This quick start provides step by step instructions for using the CNCMachining Accelerator Toolkit to help you design, install, operate, andmaintain a CNC work cell incorporating a GuardLogix Supervisory

    Controller and FANUC Series 30i-B, 31i-B, 32i-B, or 35i-B CNC System.Included are selection tools, layout and wiring drawings, and

    pre-configured logic and HMI files to assist you in creating an IntegratedArchitecture solution for your application requirements.

    All the supporting files are included on the CNC Machining AcceleratorToolkit DVD, publication IASIMP-SP018. The DVD provides PLC andCNC selection tools; CAD drawings for panel layout and wiring; basicstatus, control, and diagnostic logic files; FactoryTalk View ME faceplates,and more. For a copy of the DVD, contact your local RockwellAutomation distributor or sales representative. With these tools and the

    built-in best-practices design, the system designer is free to focus on thedesign of their machine control and not on design overhead tasks.

    You can also download these same supporting files from theRockwell Automation Integrated Architecture Tools website,http://www.ab.com/go/iatoolson the Beyond Getting Started tab.

    The beginning of each chapter contains the following information. Readthese sections carefully before beginning work in each chapter:

    Before You Begin- This section lists the steps that must becompleted and decisions that must be made before starting thatchapter. The chapters in this quick start do not have to be completedin the order in which they appear, but this section defines theminimum amount of preparation required before completing thecurrent chapter.

    What You Need- This section lists the tools that are required tocomplete the steps in the current chapter. This includes, but is not

    limited to, hardware and software. Follow These Steps- This illustrates the steps in the current chapter

    and identifies which steps are required to complete the examples byusing specific networks.

    IMPORTANT Before using this quick start and the contents of the CNC MachiningAccelerator Toolkit DVD, read the Terms and Conditions READ ME PDF

    file on the DVD.

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    12/278

    12 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Preface

    Conventions This manual uses the following conventions.

    Required Software To complete this quick start, the following software is required.

    Convention Meaning Example

    CNC

    Used as an abbreviation for Computer Numeric Control. In this Toolkit,

    The GuardLogix PLC communicates to the FANUC CNC by using theEtherNet/IP communication protocol.

    GuardLogix PLC to FANUC CNC EtherNet/IPconfiguration.

    ClickClick the left mouse button once (assumes cursor is positioned on objector selection). Click button to initiate action.

    Click Browse.

    Double-clickClick the left mouse button twice in quick succession (assumes cursor ispositioned on object or selection).

    Double-click the H1 icon.

    Right-clickClick the right mouse button once (assumes cursor is positioned onobject or selection).

    Right-click the Fieldbus Networks icon.

    Drag and dropClick and hold the left mouse button on an object, move the cursor towhere you want to move the object, and release the mouse button.

    Drag and drop the desired block into the Strategydialog box.

    Select Click to highlight a menu item or list choice. From the pull-down menu, choose H1-1.

    Check/uncheck Click to select a checkbox option.Check Consider Case if you want to conduct a

    case-sensitive search.

    >Shows nested menu selections as menu name followed by menuselection.

    Click File>Page Setup>Options.

    Expand Click the + to the left of a given item /folder to show its contents. In the H1-1 dialog box, expand FFLD.

    Enter Used when you can type from the keyboard or choose from a list. Enter the catalog number of the product.

    Type Used when the only option is to type from the keyboard. Type the catalog number of the product.

    PressPress a specific button on the PanelView terminal or other componentwith touch-screen technology.

    Press Axis Control.

    Rockwell Automation Software Cat. No. Version Required For

    RSLogix 5000

    ControlFLASH BOOTP/DHCP utility (EtherNet/IP network) RSLinx Classic

    9324-RLD300RNE 20.00 or laterAll ControlLogix/GuardLogix PLCapplications

    FactoryTalk View Studio for Machine Edition

    FactoryTalk Services RSLinx Enterprise RSLinx Classic

    9701-VWSTMENE 6.00 or later PanelView Plus terminals

    FANUC III for PMC Development

    (Microsoft Windows)A08B-9210-J505 6.80 or later FANUC CNC applications

    CNC Machining Accelerator Toolkit DVD IASIMP-SP018 N/ACAD files, wiring diagrams,application files, and othersupport information

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    13/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P - October 2012 13

    Preface

    Additional Resources These documents contain additional information concerning relatedproducts from Rockwell Automation.

    Table 1 - Additional Resources

    Resource Description

    Guard Logix and Compact Logix Controllers

    GuardLogix Controller Installation Instructions, publication 1756-IN045 Provides information on installing the GuardLogix controller

    GuardLogix Controllers User Manual, publication 1756-UM020Provides information on configuring and programming the 1756GuardLogix system

    CompactLogix Controllers Installation Instructions, publication 1768-IN004 Provides information on installing the CompactLogix controller

    Compact GuardLogix Controllers User Manual, publication 1768-UM002Provides information on configuring and programming the 1768Compact GuardLogix system

    GuardLogix Controller Systems Safety Reference Manual, publication 1756-RM093Contains detailed requirements for achieving and maintaining SIL 3with the GuardLogix controller system

    Logix Common Procedures Programming Manual, publication 1756-PM001Provides information on programming Logix5000 controllers,including managing project files, organizing tags, programming andtesting routines, and handling faults

    Safety Modules and Products

    CompactBlock Guard I/O DeviceNet Safety Module Installation Instructions,publication 1791DS-IN002

    Provides information on installing CompactBlock Guard I/ODeviceNet Safety modules

    Guard I/O DeviceNet Safety Modules User Manual, publication 1791DS-UM001 Provides information on using Guard I/O DeviceNet Safety modules

    Guard I/O EtherNet/IP Safety Modules Installation Instructions, publication1791ES-IN001

    Provides information on installing CompactBlock Guard I/OEtherNet/IP Safety modules

    Guard I/O EtherNet/IP Safety Modules User Manual, publication 1791ES-UM001 Provides information on using Guard I/O EtherNet/IP Safety modules

    POINT Guard I/O Safety Module User Manual, publication 1734-UM013Provides information on installing, configuring and operating POINTGuard I/O Safety Modules

    Safety Products Catalog S116, available at http://www.ab.com/catalogs/Provides selection and specification information for Rockwell

    Automation safety products.

    Kinetix Drives

    Kinetix 300 EtherNet/IP Indexing Drives User Manual, publication 2097-UM001

    Provides mounting, wiring, configuring, and troubleshootinginstructions for the Kinetix Motion Control servo drives

    Kinetix 350 Single-axis EtherNet/IP Servo Drives, publication 2097-UM002

    Kinetix 6200 and Kinetix 6500 Modular Multi-axis Servo Drives User Manual,publication 2094-UM002

    Kinetix 6000 Multi-axis Servo Drives User Manual, publication 2094-UM001

    Kinetix 2000 Multi-axis Servo Drives User Manual, publication 2093-UM001

    Kinetix 7000 Multi-axis Servo Drives User Manual, publication 2099-UM001

    Kinetix Motion Control Selection Guide, publication GMC-SG001Provides drive specifications, motor/servo-drive systemcombinations, and accessories for Kinetix motion control products

    http://literature.rockwellautomation.com/idc/groups/literature/documents/in/1756-in045_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1756-um020_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1768-in004_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1768-um002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm093_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm001_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1791ds-in002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1791ds-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1791es-in001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1791es-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1734-um013_-en-p.pdfhttp://www.ab.com/catalogshttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2097-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2097-um002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2094-um002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2094-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2093-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2099-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/sg/gmc-sg001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/sg/gmc-sg001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2099-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2093-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2094-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2094-um002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2097-um002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/2097-um001_-en-p.pdfhttp://www.ab.com/catalogshttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1734-um013_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1791es-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1791es-in001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1791ds-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1791ds-in002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm001_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1756-rm093_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1768-um002_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1768-in004_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/1756-um020_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/in/1756-in045_-en-p.pdf
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    14/278

    14 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Preface

    You can view or download publications athttp://www.rockwellautomation.com/literature. To order paper copies oftechnical documentation, contact your local Allen-Bradley distributor orRockwell Automation sales representative.

    Additional Toolkits and FANUC Publications

    This table provides information for supporting toolkits and FANUCpublications.

    You can request the FANUC publications by contacting your localFANUC America distributor or sales representative.http://www.FANUCfa.com/us-en/Home

    CIP Motion and sercos

    SERCOS and Analog Motion Configuration and Startup User Manual,

    publication MOTION-UM001

    Information on configuring and troubleshooting your ControlLogix

    and CompactLogix sercos interface modules

    CIP Motion Reference Manual, publication MOTION-RM003Provides descriptions of the AXIS_CIP_DRIVE attributes andRSLogix 5000 software Control Modes and Methods

    CIP Motion Configuration and Startup User Manual, publication MOTION-UM003Information on configuring and troubleshooting your ControlLogixand CompactLogix EtherNet/IP network modules

    Online Configuration and Selection Tools

    Rockwell Automation Configuration and Selection Tools, available athttp://www.rockwellautomation.com/en/e-tools/

    These online tools install on your personal computer so that you canquickly access information on our products:

    CrossWorks Industrial Computer Selector Operator Interface Selection Tool Programmable Controller Family Selector

    Table 1 - Additional Resources (Continued)

    Resource Description

    Toolkits and FANUC Publications Description

    Drives and Motion Accelerator Toolkit DVD, publication IASIMP-SP017 Toolkit for sercos interface or EtherNet/IP-based motion control

    Safety Accelerator Toolkit DVD, publication SAFETY-CL002 Toolkit to provide a framework for developing safety applications.

    FANUC Series 30i/31i/32i/35i -MODEL B, EtherNet/IP Adapter function,publication B-64014EN/04-2

    Information on configuring and troubleshooting your FANUC CNC'sEtherNet/IP network modules.

    FANUC Series 30i/31i/32i/35i -MODEL B, FANUC Power Motion i -MODEL A,EtherNet/IP Scanner function, publication B-64014EN/04-3

    Information on configuring and troubleshooting your FANUC CNC'sEtherNet/IP network modules.

    http://www.rockwellautomation.com/literaturehttp://www.fanucfa.com/us-en/Homehttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/motion-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/rm/motion-rm003_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/motion-um003_-en-p.pdfhttp://www.rockwellautomation.com/en/e-tools/http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/literaturehttp://www.rockwellautomation.com/en/e-tools/http://literature.rockwellautomation.com/idc/groups/literature/documents/um/motion-um003_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/rm/motion-rm003_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/motion-um001_-en-p.pdfhttp://www.fanucfa.com/us-en/Homehttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    15/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 15

    Chapter1

    Architecture and Hardware Selection

    In this chapter you are introduced to the FANUC CNC Express software to create an EtherNet/IP bill ofmaterials for your CNC system. The CNC Express software provides the means to select hardware and softwarefrom FANUC that are stocked locally in the United States. This is for reference only, and is not to be used forfinal product selection. Please contact your local FANUC representative prior to purchase.

    Use either the Drives and Motion Accelerator Toolkit DVD, publicationIASIMP-SP017, and/or SafetyAccelerator Toolkit DVD, publication SAFETY-CL002, to configure the Rockwell Automation system, or toselect the power distribution components for the CNC control system. Be sure that an 1756-EN2TR or1756-EN3TR Ethernet module is selected for the Rockwell Automation system.

    To assist you with a possible architecture and hardware selection, reference the CNC Work Cell machineapplication. The CNC Work Cell machine application is an example only, with the focus of the toolkit being theintegration between the Rockwell Automation GuardLogix controller and the FANUC CNC.

    See Figure 1 on page 16for a CNC work cell application example.

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    16/278

    16 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 1 Architecture and Hardware Selection

    Figure 1 - CNC Work Cell Application Example

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    17/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 17

    Architecture and Hardware Selection Chapter 1

    Before You Begin

    Collect specific application data, for example:

    System input voltage

    System CNC model and display options

    CNC required options

    System I/O requirements

    Motor and drive sizing

    Other system sizing info

    What You Need

    The CNC Machining Accelerator Toolkit DVD, publicationIASIMP-SP018. For a copy of the DVD,contact your local Rockwell Automation distributor or sales representative.

    FANUC CNC Express selection software. For a copy of the DVD, contact your local FANUC salesrepresentative.

    If Rockwell Automation Kinetix or PowerFlex Drives are used in the system, the Drives and MotionAccelerator Toolkit DVD is required, publication IASIMP-SP017. For a copy of the DVD, contact yourlocal Rockwell Automation distributor or sales representative.

    If Rockwell Automation GuardLogix safety controller and safety components are used in the system, theSafety Accelerator Toolkit DVD is required, publication SAFETY-CL002. For a copy of the DVD,contact your local Rockwell Automation distributor or sales representative.

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    18/278

    18 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 1 Architecture and Hardware Selection

    Follow These Steps

    Complete the following steps to create a bill of materials for your CNC system.

    Start

    Open FANUC CNC

    Express Software

    page 22

    Create CNC System Bill

    of Materials

    page 23

    Review System Selection

    and Configuration Tools

    page 19

    page 28

    Create Supervisory

    Controller and Safety

    System Bill of Materials

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    19/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 19

    Architecture and Hardware Selection Chapter 1

    Review System Selection and Configuration Tools

    This section provides and overview of the FANUC and Rockwell Automation system selection andconfiguration tools that you may need for your FANUC configuration.

    FANUC CNC Express Software

    The Excel workbook CNC Express OrderForms.xls contains the product informationand the actual order forms. Each worksheetrepresents a certain product and contains therelevant order guide information for the

    product selections offered in that worksheet,and is followed by the order form. To order

    from this workbook, you make simple productselections by using check marks, and the

    workbook does the rest of the work.

    Rockwell Automation DMAT Wizard SoftwareThe Drives and Motion Accelerator Toolkit(DMAT) Wizard software provides astreamlined way of creating a bill ofmaterial, assembling a system drawing set,and creating a RSLogix 5000 project file

    with a preconfigured controller, network,drives, and initial system program logic.This can be accomplished in minutes byinserting simple system and drive

    configuration entries, and running othersystem selection tools as needed.

    You can access this software tool on theDrives and Motion Accelerator ToolkitDVD, publicationIASIMP-SP017.

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    20/278

    20 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 1 Architecture and Hardware Selection

    Rockwell Automation Safety Selection Tools

    The Safety Accelerator Toolkit provides anumber of software selection tools to assist

    in hardware selection and performanceestimation for your safety systems. You mayaccess these software tools within theSafety Accelerator Toolkit DVD,

    publication SAFETY-CL002.

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    21/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 21

    Architecture and Hardware Selection Chapter 1

    Rockwell Automation Product Selection Toolbox

    The Rockwell Automation Product Selection Toolbox(PST) offers a complete suite of user tools for productselection and configuration across product lines fromproject conception through final design. From pushbuttons to drives to motor control centers and fullynetworked control systems, youll find the productinformation and configuration assistance you need tohelp you and your customers succeed with RockwellAutomation.

    Provides access to information on a broad range ofAllen-Bradley products and services

    Easy product selection interface to make it a snap todetermine the exact catalog numbers for the itemyou need

    Access to current list pricing, and a comprehensivesupplemental product information list

    Contains features, such as product selection wizards,agreement pricing, a spare parts generator, and theability to separate part numbers to see whatRockwell Automation components comprise them

    All of these fe atures and more can help you selectthe correct product based on your requirements andgive your customers the information they need fast

    Lets you quickly develop Logix/NetLinx controlsystem configurations with BOM and reports

    Integration with configurator allows configurationof PowerFlex drives and ArmorStart motorcontrollers

    Motion control drive/motor combinations andaccessories can be added through links to MotionAnalyzer software

    New Ethernet capabilities include Stratix switchesand physical media with enhanced graphical views

    IAB output can be e asily exported to ProposalWorksto take advantage of extended proposal generationfeatures, and supplementary data

    Product Selection & System Design Tools

    Assists the user in selecting correct motor for application, proper drive, and gearbox(if required)

    Effective optimization capabilities allow user to get the most out of the selectedmotor and drive combination

    Allows users to have the most up-to-date applications, product, price, andsupplementary information

    All programs are scheduled for update every three weeks

    Assists in crossing competitive part numbers to Rockwell Automation equivalents

    Gives users the ability to submit crosses directly to PST and they will provide a cross or userscan go to: ab.com/e-toolsand look up existing cross references in the database

    Allows you select product 3D CAD drawings in AutoCAD software

    Provides you with access to thousands of drawings for a wide range of Allen-Bradleyproducts as well as assistance configuring catalog numbers

    Helps you configure Motor Control System starters for rated motor voltages from 230690V

    Program provides the correct catalog number, wiring diagram, and layout drawing for startersof your choice

    Provides assistance in selecting and dimensioning all of required busbar rack components

    Simplifies the design of custom terminal block rails

    Allows you to select and place terminal blocks on mounting rail along withspecifying labeling of terminal blocks, locating jumper bars between blocks,automatically selecting end barriers, and partition plates

    Intuitive software application designed specifically for configuring MotorControl Centers

    User friendly interface helps reduce error and enables customers to get theirMCCs quickly

    http://www.ab.com/e-toolshttp://www.ab.com/e-tools
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    22/278

    22 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 1 Architecture and Hardware Selection

    Open FANUC CNC Express Software

    1. Navigate to and choose the CNCExpress application,

    CNC_Work_Cell_BOM.xlsx,on the CNC Machining AcceleratorToolkit DVD.

    The initial CNC Express dialog boxopens.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    23/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 23

    Architecture and Hardware Selection Chapter 1

    2. Click continue to leave the links asthey are. The multiplier pop up

    window will then be displayed.

    3. Add the multiplier that has beenapproved by FANUC, and then clickOK. You are now ready to begincreating the bill of materials (BOM).

    Create CNC System Bill of Materials

    1. Select the CNC model, and displayoptions.

    a. Use the tabs near the bottom of thespreadsheet to navigate to andselect the appropriate CNC model,based on your machiningrequirements.

    For the CNC Work Cell example, a35i-B CNC is selected.

    The 35i-B tab is displayed.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    24/278

    24 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 1 Architecture and Hardware Selection

    b. Use the cells in the spreadsheet tonavigate to and select theappropriate CNC package, basedon your specific application

    requirements.The 35i-B selections are displayed.

    c. Use the cells in thespreadsheet to navigate toand select the appropriateEtherNet/IP options.

    d. Use the cells in the spreadsheet tonavigate to and select theappropriate displays and options.

    When all options are selected thecell at the bottom of the tab (J347)

    will display either a TRUEOVERALL or FALSE

    OVERALL status. Make theappropriate corrections until thestatus reads TRUE OVERALL.

    The 35i-B configuration is now complete.

    TIP The Status is FALSE until the I/Oselection has been satisfied in

    the next step.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    25/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 25

    Architecture and Hardware Selection Chapter 1

    2. Select the System I/O.

    a. Use the tabs near the bottom of thespreadsheet to navigate to and selectthe IOetc tab, for I/O selection.

    The IOetc tab is displayed.

    b. Use the cells in the spreadsheet tonavigate to and select theappropriate I/O modules, based on

    your specific applicationrequirements.

    The 35i-B selections are displayed.

    c. Use the cells in the spreadsheet tonavigate to and select theappropriate I/O and options.

    When all options are selected thecell at the bottom of the tab (U268)

    will display either a TRUE

    OVERALL or FALSE OVERALLstatus. Make the appropriatecorrections until the status readsTRUE OVERALL.

    The I/O configuration is now complete.

    TIP The Status is FALSE until theI/O selection has been satisfied

    in the next step.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    26/278

    26 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 1 Architecture and Hardware Selection

    3. Select the drives and motors for theapplication

    a. Use the tabs near the bottom of thespreadsheet to navigate to andselect the appropriate voltage forthe drives, based on your system

    power voltage.

    For the CNC Work Cell example,460V drives is selected.

    The 460V drives tab is displayed.

    b. Use the cells in the spreadsheet tonavigate to and select theappropriate motors and drives,based on your specific applicationrequirements.

    The 460V drives selections aredisplayed.

    c. Use the cells in the spreadsheet tonavigate to and select theappropriate motor and driveoptions. When all options areselected the cell at the bottom of thetab (U801) will display either aTRUE OVERALL or FALSE

    OVERALL status. Make theappropriate corrections until thestatus reads, TRUE OVERALL.

    The 460V drives configuration is nowcomplete.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    27/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 27

    Architecture and Hardware Selection Chapter 1

    4. Review the complete CNCconfiguration.

    a. Use the tabs near the bottom of thespreadsheet to navigate to and clickthe Summary tab.

    The Summary tab is now displayed.

    b. Use the cells in the spreadsheet tonavigate to and select theappropriate CNC control, and drivesystem selection. When the systemis configured properly, the pricing isshown. If the configured solution isnot correct, fix conflicts aredisplayed in the value fields.

    The CNC BOM configuration isnow complete.

    5. Name and save the BOM project file.

    a. From the File menu, choose SaveAs.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    28/278

    28 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 1 Architecture and Hardware Selection

    b. Type a new BOM project file name.

    By creating a new BOM project filespecifically for your application, you

    preserve the initial toolkit file for

    future reference.In this example, the file was namedCNC_Work_Cell_BOM.

    6. Repeat step 1step 5for each CNC inyour system.

    The BOMs can now be submitted toFANUC for purchase. We recommend that

    your local FANUC representative reviewand approve the configuration prior to

    purchase.

    Create Supervisory Controller and Safety System Bill of Materials

    Refer to the Drives and Motion Accelerator Toolkit for creating a supervisory controller bill of materials thatincludes Rockwell Automation Kinetix or PowerFlex drives. For a copy of the DVD, contact your local RockwellAutomation distributor or sales representative.

    Drives and Motion Accelerator Toolkit DVD, publication IASIMP-SP017.

    Refer to the Safety Accelerator Toolkit for creating a safety system bill of materials that includes RockwellAutomation GuardLogix controller and Guard I/O.

    Safety Accelerator Toolkit DVD, publication SAFETY-CL002.

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    29/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 29

    Chapter2

    System Layout and Wiring

    In this chapter you select CNC layout and wiring drawings from a library of drawings in AutoCAD .dwg, .dxf, or.pdf formats to start your system drawing set. If you are using AutoCAD or AutoCAD Electrical software, youcan also take advantage of the drawing editing steps included in this chapter. The librarys device wiringreferences and attributes move with the devices as you edit your power drawing set.

    You will use the Drives and Motion Accelerator Toolkit DVD, publicationIASIMP-SP017, and/or SafetyAccelerator Toolkit DVD, publication SAFETY-CL002, to assemble your drawing set for the RockwellAutomation components in your system.

    Figure 2 - CNC Power, I/O, and Layout Drawing Examples

    CNC Power Example

    CNC I/O Example

    CNC System Layout Example

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    30/278

    30 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    This section uses the CNC Work Cell application example to help you understand how to use the drawinglibraries. The CNC Work Cell includes the following main devices:

    Two FANUC 35i-B CNC systems

    Two Kinetix 6500 servo drives and motors

    One GuardLogix safety controller and EtherNet/IP network module

    Before You Begin

    Complete your system architecture and hardware selection (see Chapter 1).

    What You Need

    CNC Machining Accelerator Toolkit DVD, publicationIASIMP-SP018. For a copy of the DVD, contactyour local Rockwell Automation distributor or sales representative.

    AutoCAD Electrical software to open the DWG or DXF files.

    Adobe Reader software to open PDF files.

    System Design for Control of Electrical Noise Reference Manual, publication GMC-RM001.

    System Design for Control of Electrical Noise Video, publication GMC-SP004.

    If Rockwell Automation Kinetix or PowerFlex Drives are used in the system, the Drives and MotionAccelerator Toolkit DVD is required, publication IASIMP-SP017. For a copy of the DVD, contact yourlocal Rockwell Automation distributor or sales representative.

    If Rockwell Automation GuardLogix safety controller and safety components are used in the system, theSafety Accelerator Toolkit DVD is required, publication SAFETY-CL002. For a copy of the DVD,contact your local Rockwell Automation distributor or sales representative.

    http://hardware%20selection.pdf/http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://literature.rockwellautomation.com/idc/groups/literature/documents/rm/gmc-rm001_-en-p.pdfhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://hardware%20selection.pdf/http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://literature.rockwellautomation.com/idc/groups/literature/documents/rm/gmc-rm001_-en-p.pdf
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    31/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 31

    System Layout and Wiring Chapter 2

    Follow These Steps

    Complete the following steps to create your system layout and wiring drawings.

    Select FANUC CNC Drawings from Drawing Library

    The CNC drawing library is organized by these drawing file types:

    AutoCAD Electrical .dwg

    AutoCAD .dxf

    Adobe PDF

    The drawings are examples only, and may not reflect your application. There are many different models ofFANUC CNCs and drive combinations available. This toolkit does not detail all possible combinations. This

    toolkit uses the 35i-B CNC as an example.TIP If you do not have CAD software that is compatible with the .dwg/.dxf formats, the PDF files provide an excellent

    reference library for wiring all your system devices.

    Start

    page 31

    Select FANUC CNC Drawingsfrom Drawing Library

    page 34

    Edit FANUC CNC Drawing Set

    Assemble and Edit Your

    GuardLogix System Drawing Set

    page 44

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    32/278

    32 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    1. Create a project folder.

    For the CNC Work Cellexample, theCNC_Work_Cell folder was

    created.

    2. Browse to the CNC CADDrawing Library on theCNC toolkit DVD andselect the DWG FormatDrawings, DXF FormatDrawings, or PDF FormatDrawings directory.

    Each drawings directory include these files in their respectivefiles formats.

    All drawings are associated with the FANUC CNCs, with theexception of these three drawings:

    The 07_PLC_1791DS_IB16 and11_PLC_1791DS_IB4XOW4 drawings are examples ofRockwell Automation Guard I/O showing the safety I/Ointerface with the FANUC Dual Check I/O.

    The 15_CNC_Ethernet_Communication drawing includesan example of EtherNet/IP communication with theRockwell Automation GuardLogix controller, PanelViewPlus, and Kinetix/PowerFlex drives.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    33/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 33

    System Layout and Wiring Chapter 2

    3. Copy the entire set of drawings in this folder.

    4. Paste the drawing you copied into theProject Drawings folder.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    34/278

    34 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    Edit FANUC CNC Drawing Set

    These steps provide general instructions for how to maximize the use of the toolkits drawing library in creating acomplete CNC system layout and wiring drawing set. We recommend AutoCAD or AutoCAD Electrical

    software to take full advantage of the drawing editing steps and the librarys device wiring references andattributes that move with the devices as you edit your project drawing set. Some of the initial project creationsteps are illustrated by using AutoCAD Electrical software, but most are generic and can be used with a variety ofsoftware drawing packages.

    Create a New Project

    1. Open your drawing software.

    2. Create and name your new project.

    3. Add and select the toolkit library drawingsyou copied in the previous section.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    35/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 35

    System Layout and Wiring Chapter 2

    Edit CNC Power Drawings

    1. Open your initial CNC power drawing that includes the main power distribution components,01_CNC_Drives_w_Dual Check IO.dwg. See Figure 3 on page 36.

    2. Modify this drawing for your project.

    The 01_CNC_Drives_w_Dual Check IO includes the main power distribution components as well as theCNC power supply, one spindle module and motor, and one servo module and motor. Typically you

    would have at least these components in each of your CNC systems. Copy this drawing for every CNC youhave in your system.

    For the CNC Work Cell application example, there are two FANUC CNC systems, so this drawing wouldbe copied for the second CNC system.

    3. Open the 02_CNC_Drives_w_Dual_Check_IO drawing and modify for your project. See Figure 4 onpage 37.

    The 02_CNC_Drives_w_Dual_Check_IO drawing includes three additional servo modules and motors.You will most likely copy this drawing for every CNC you have in your system. Delete the servos andmotors not required for you system.

    For the CNC Work Cell application example there are two FANUC CNC systems, so this drawing wouldbe copied for the second CNC system, and one spindle module and motor would be deleted from eachdrawing.

    4. Open the remaining CNC control power distribution drawings and edit power connections and devices asnecessary.

    The drawings include:

    03_CNC_Control_Power_Distribution

    04_CNC_Control_Power_Distribution

    05_CNC_Monitored_Safety_Relay

    06_CNC_24VDC_Safety_Power

    17_CNC_Power_Connections

    18_CNC_Cable_Connections

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    36/278

    36 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    Figure 3 - 01_CNC_Drives_w_Dual Check IO Drawing

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    37/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 37

    System Layout and Wiring Chapter 2

    Figure 4 - 02_CNC_Drives_w_Dual Check IO Drawing

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    38/278

    38 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    Edit CNC Safety and Standard I/O Drawings

    1. If FANUC Dual Check Safety is incorporated into your project, open the following drawings for yourproject:

    07_CNC_AID16D_Dual_Check_IO_Module

    08_CNC_AID16D_Dual_Check_IO_Module

    09_CNC_AOR8G_Dual_Check_IO_Module

    2. Modify your Dual Check safety inputmodule drawings.

    The Dual Check safety input module drawings 07_CNC_AID16D_Dual_Check_IO_Module and08_CNC_AID16D_Dual_Check_IO_Module include a variety of input device examples to include in

    your drawing set.

    a. Copy and paste input devices to match your application. See Figure 5 on page 39.

    In addition to safety devices, the 07_CNC_AID16D_Dual_Check_IO_Module drawing includesexample dual channel connections from the GuardLogix Guard I/O outputs.

    3. Modify your Dual Check safety outputmodule drawing.

    The Dual Check safety output module drawing, 09_CNC_AOR8G_Dual_Check_IO_Module includesa few output device examples to include in your drawing set.

    a. Copy and paste output devices to match your application. See Figure 6 on page 40

    In addition to safety devices the 09_CNC_AOR8G_Dual_Check_IO_Module drawing includes exampledual channel connections to the GuardLogix Guard I/O inputs.

    4.If using GuardLogix as a supervisory safety controller for your CNC cell in your project, then open andmodify the following drawings for your project:

    07_PLC_1791DS_IB16

    11_PLC_1791DS_IB4XOW4

    These drawings show examples of the dual channel input and output connections from the FANUC DualCheck Safety I/O.

    You may copy these connections to other Guard I/O modules within the Safety Accelerator Toolkitdrawings.

    5. Open and modify the following standard CNC I/O drawings for your project:

    12_CNC_AOR16G_Output_Module 13_CNC_Digital_Inputs

    14_CNC_Relay_Outputs

    These drawings include a variety of input and output device examples to include in your drawing set.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    39/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 39

    System Layout and Wiring Chapter 2

    Figure 5 - 07_CNC_AID16D_Dual_Check_IO_Module Drawing

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    40/278

    40 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    Figure 6 - 09_CNC_AOR8G_Dual_Check_IO_Module Drawing

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    41/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 41

    System Layout and Wiring Chapter 2

    Edit System Communication Drawings

    1. Open the following communication drawings to access your project's EtherNet/IP configuration drawings:

    15_CNC_Ethernet_Communication

    16_CNC_Ethernet_Switch

    18_CNC_Cable_Connections

    2. Delete and or copy network devices to match your system requirements.

    The 15_CNC_Ethernet_Communication drawing is shown in Figure 7 on page 42. It includes bothFANUC CNC system and Rockwell Automation GuardLogix, PanelView, and Kinetix/PowerFlex DriveEtherNet/IP connections. Simply delete and/or copy EtherNet/IP devices to match your projectrequirements.

    The 16_CNC_Ethernet_Switch and 18_CNC_Cable_Connections drawings include references toFANUC CNC system and Rockwell Automation EtherNet/IP devices, cables, and connections. Deleteand or copy components to match your project requirements.

    3. Access other RockwellAutomation device footprintsrequired for your application.

    To access RockwellAutomation Kinetix orPowerFlex drive systemfootprints, including HMIand other power components,

    use the Drives and MotionAccelerator Toolkit DVD,publication IASIMP-SP017.Navigate to the CAD drawinglibraries layout sectiondirectories for a variety ofdevice footprints.

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    42/278

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    43/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 43

    System Layout and Wiring Chapter 2

    Edit CNC System Layout Drawing

    1. Open the panel layout drawing for your application.

    For the CNC Work Cell application example, the19_CNC_Panel_Layout.dwg file is opened.

    The panel layout drawing includes sub-panel and enclosuredrawings. The panel is designed to accommodatebest-practice techniques used to minimize electrical noise.Refer to the System Design for Control of Electrical NoiseReference Manual, publication GMC-RM001.

    2. Delete, replace, or addcomponent footprints to your

    panel layout drawing.

    To access RockwellAutomation powercomponents, use the Drivesand Motion AcceleratorToolkit DVD, publication

    IASIMP-SP017. Navigate tothe CAD drawing librarieslayout section directories for a

    variety of device footprints.

    3. Delete, replace, or addcomponents to yourenclosure drawing.

    To access RockwellAutomation HMI or powercomponents, use the Drives

    and Motion AcceleratorToolkit DVD, publicationIASIMP-SP017. Navigate tothe CAD drawing librarieslayout section directories fora variety of device footprints.

    CNC Subpanel Layout Drawing

    CNC Enclosure Layout Drawing

    http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/gmc-rm001_-en-p.pdfhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://literature.rockwellautomation.com/idc/groups/literature/documents/rm/gmc-rm001_-en-p.pdfhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    44/278

    44 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    Assemble and Edit Your GuardLogix System Drawing Set

    If Rockwell Automation Kinetix and PowerFlex drives are to be used in your system, use the Drives and MotionAccelerator Toolkit DVD, publication IASIMP-SP017, to assemble and edit your GuardLogix system drawing

    set. For a copy of the DVD, contact your local Rockwell Automation distributor or sales representative.

    LIM Module

    AC

    LineFilter

    System Layout Example

    Drive Power Example

    Drive I/O Example

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    45/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 45

    System Layout and Wiring Chapter 2

    If Rockwell Automation GuardLogix safety controller and safety components are used in the system, use theSafety Accelerator Toolkit DVD, publication SAFETY-CL002, to assemble your safety wiring and layoutdrawing set. For a copy of the DVD, contact your local Rockwell Automation distributor or sales representative.

    Drive Safety Wiring

    Title

    Safety Controller Power

    Other Safety Devices

    Guard I/O Module Wiring

    Drive I/O

    Safety Controller Network Drawings

    Safety Controller I/O

    Ethernet Switch Wiring

    Panel Layout Drawings

    http://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.htmlhttp://www.rockwellautomation.com/solutions/integratedarchitecture/resources5.html
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    46/278

    46 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 2 System Layout and Wiring

    Notes:

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    47/278

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    48/278

    48 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    Follow These Steps

    Complete these steps to configure your FANUC 30i-B, 31i-B, 32i-B, or 35i-B CNC for your application.

    Initial FANUC CNC Configuration

    In this example, you set up your FANUC 30i-B, 31i-B, 32i-B, or 35i-B CNC to allow configuration parametersto be modified, to receive configuration parameters from external sources, and to select the high speed Ethernetoption.

    System Powerup

    Locate the CNC systems power button, then press to apply power.

    Start

    Initial FANUC CNC

    Configuration

    page 48

    Logic Configuration

    page 68

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    49/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 49

    FANUC CNC Configuration Chapter 3

    Parameter Write Enable

    Set the parameter write enable (PWE, 8900#0) bit to allow the configuration parameter changes described in thefollowing sections.

    1. Press the OFS/SET button on theQWERTY MDI Panel to open theSETTING (HANDY) screen.

    Either the OFFSET screen or theSETTING screen is displayed. On first

    powerup, the OFFSET screen is displayed.

    2. Press the SETTING button to call theSETTING screen.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    50/278

    50 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    3. Use the arrow keys on the MDI panel to move to the desiredselections.

    4. Prior to setting the parameter, be sure that MDI modes has been

    selected by pressing the button on the CNC main panel.

    5. Enter 1 from the numeric entry, then press INPUT to set theparameter write enable bit (PWE, 8900#0). This lets you set theparameters, and configure the CNC for use.

    6. Setting this may cause an alarm to be triggered and displayed.Cancel the alarm by pressing RESET on the MDI Panel. You willthen have to open the SETTING screen again as described above.

    7. Turn the parameter write enable key switch to the on position.

    IMPORTANT This will take affect after the initial program hasbeen downloaded later in this chapter.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    51/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 51

    FANUC CNC Configuration Chapter 3

    High Speed Ethernet Option

    Select the high speed Ethernet option to be used. This enables the fast Ethernet board to be used, and is requiredfor the CNC EtherNet/IP option.

    1. Press the SYSTEM function key from theMDI panel.

    The system PARAMETER screen isdisplayed.

    2. Press either the + softkey or the right arrowfunction key to advance to the chapterselection for PMC configuration.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    52/278

    52 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    The chapter selection screen to display thePMC configuration options is displayed.

    3. Press the PMC CONFIG softkey.

    4. Press either the + softkey or the right arrowfunction key to advance to the chapterselection for PMC online configuration, then

    press ONLINE.

    The chapter selection screen to display thePMC online configuration options isdisplayed.

    5. Use the arrow keys on theMDI panel to move to theHIGH SPEED field, thenselect USE.

    The fast ethernet board is

    now available to beconfigured for theEtherNet/IP application.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    53/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 53

    FANUC CNC Configuration Chapter 3

    Configure Ethernet Module

    In this example, you configure the fast Ethernet board for communicating to the Supervisory PLC, and an offlinedevelopment personal computer. See CNC to Controller Communication on page 208for location of the fast

    Ethernet board.

    IP Address, Subnet Mask, and Port Number

    Configure the IP Address of the fast Ethernet board to allownetwork connectivity.

    1. Press the SYSTEM function key from the MDI panel.

    The system PARAMETER screen isdisplayed.

    2. Press either the + softkey or the right arrowfunction key to advance to the chapterselection for Ethernet.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    54/278

    54 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    The chapter selection screen to display thefast Ethernet options is displayed.

    3. Press the ETHERNET softkey to view thesettings and selections of the fast Ethernetboard.

    4. Press the COMMON softkey to view thecommon settings of the fast Ethernet board. Itmay be necessary to press either the + softkeyor the right arrow function key to advance tothe chapter selection for Ethernet common.

    5. Use the arrow keys on the MDI panel to moveto the IP ADDRESS field, then enter the IPaddress for your configuration by using thenumber keys on the MDI panel. The exampleuses the IP address 192.168. 30.80

    6. Use the arrow keys on the MDI panel to move

    to the SUBNET MASK field, then enter themask for your configuration by using thenumber keys on the MDI panel. The exampleis using the mask 255.255.255.0

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    55/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 55

    FANUC CNC Configuration Chapter 3

    7. Press the FOCAS2 softkey to view theFOCAS2/ETHERNET settings of the fastEthernet board.

    8. Verify that PORT NUMBER (TCP) is 8193.This is the default port number, and also thedefault configuration for the offlinedevelopment software packages.

    The Ethernet board is now configured for theconnection to the offline development

    personal computer.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    56/278

    56 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    Create a New Project File

    Throughout the rest of this chapter, the controller and network configuration procedures are written specificallyfor an S35i-B CNC. Steps for other FANUC CNC models are similar. It is assumed that FANUC LADDER III

    has been installed and is operational on the development personal computer being used for this task.

    The process of creating a new project is based on using an example file that has been pre-written. You mustchange the name of the file from the toolkit, to something that is relevant to the application and task beingcreated.

    1. From the Start menu, launch the FANUCLADDER III software.

    2. From the File menu, choose OpenProgram.

    The Open dialog box appears.

    3. Locate the CMAT 35i-B.LADfile from the CNC MachiningAccelerator toolkit DVD, andselect OPEN.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    57/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 57

    FANUC CNC Configuration Chapter 3

    The sample program opens, and is ready forediting.

    Change the CNC model for your specificapplication.

    4. From the File menu, choose PMC Typechanged and save.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    58/278

    58 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    5. Select the model.

    6. Select the control configuration for thespecific application.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    59/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 59

    FANUC CNC Configuration Chapter 3

    7. From the File menu, choose Save As.

    8. Save as a different file name, in adifferent location.

    9. Click OK and save with the defaultoptions.

    10. Click OK.

    You are now ready to begin editing thefile for your specific application.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    60/278

    60 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    Download FANUC LADDER III Software Project to the FANUC S35i-B CNC

    1. Open your FANUC LADDER III project file.

    2. From the Tool menu, choose Communication.The Communication dialog box opens.

    3. Click the Network Address tab and click AddHost.

    4. Type in the IP address of the CNC that youare working on, then click OK.

    The host has now been entered into theaddress list.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    61/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 61

    FANUC CNC Configuration Chapter 3

    5. Click Connect to establish communicationwith the CNC.

    6. After the successful connection has beenestablished, click Close to close thedialog box.

    7. From the Tool menu, choose Store toPMC.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    62/278

    62 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    The Program transfer wizard dialog boxopens.

    8. Click Next, then Finish.

    9. After the download is complete, the

    Program transfer wizard dialog boxcloses, and the Program RUN/STOPdialog box appears. Click Yes to runthe program.

    The FANUC LADDER III PMC programis now downloaded and running within thes35i-B CNC.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    63/278

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    64/278

    64 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    EtherNet/IP Settings

    Configure the EtherNet/IP settings of the fast Ethernet board to allow the communication to the supervisoryPLC, and the connection to the Rockwell Automation AOP as detailed in Chapter 4.

    The EtherNet/IP settings used throughout this quick start are the following CNC data table tags:

    PLC to FANUC tags - R1000 R1255

    FANUC to PLC tags - R2000 R2255

    A detailed description of these addresses, andthe specific mapping between the PLC andCNC can be found in the CMAT-IDS.xlsx file.

    The path to this file is C:\Program Files\

    RA_Simplification\CMAT\A-Files\4-Controller Logic\02_CNC_Logic.

    Refer to the FANUC EtherNet/IPdocumentation listed inWhat You Need on

    page 47of this chapter, if you would like tochange these locations.

    1. Use the CNC Machining AcceleratorToolkit to navigate to the CNC Logicfolder and copy both EtherNet/IPconfiguration files onto an external USBdevice.

    EIPADAPT.MEM

    EIPSCANR.MEM

    http://supervisorctrl_netwkcngf.pdf/http://supervisorctrl_netwkcngf.pdf/
  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    65/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 65

    FANUC CNC Configuration Chapter 3

    2. Take the USB device and plug it into theCNC port next to the panel display.

    3. Press the SYSTEM function key from theMDI panel.

    The System PARAMETER screen isdisplayed.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    66/278

    66 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    4. Press either the + softkey or the right arrowfunction key to advance to the chapterselection for Ethernet network.

    The chapter selection screen to display the fastEthernet options is displayed.

    5. Press the ETHERNET softkey to view thesettings and selections of the fast Ethernetboard.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    67/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 67

    FANUC CNC Configuration Chapter 3

    6. Press either the + softkey or the right arrowfunction key to advance to the chapterselection for EtherNet/IP scanner settings,EIP S SET.

    7. Press the (OPRT) softkey to display availableoperations for the EtherNet/IP scannersettings.

    8. Press either the + softkey or the right arrowfunction key to advance to the operationselection for restore.

    9. Press the RESTORE softkey to displayavailable operations for the EtherNet/IPscanner restore operations.

    10. Press the EXECUTE softkey to copy theparameters from the external USB device to theCNC parameter memory.

    11. Power down the CNC to accept the changes tothe EtherNet/IP settings.

    12. Power up the CNC, then repeat step 2...step 11for the Ethernet adaptor settings (at step 6select EIP A SET).

    The Ethernet board is now configured for theconnection to the supervisory PLC that usesthe EtherNet/IP protocol.

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    68/278

    68 Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012

    Chapter 3 FANUC CNC Configuration

    Logic Configuration

    In this chapter you use the preconfigured PMC logic files and edit them specifically for your application. Thetoolkit provides a preconfigured PMC file with application and device modules that significantly speed-up your

    application logic development. An initial I/O configuration is provided as well, as an example only.

    To assist you in understanding how to best use the preconfigured logic files, the CNC Work Cell application isused as an example in all of the logic configuration steps.

    In this example, the PLC is controlling the machining centers, sending commands over the EtherNet/IP networkto the FANUC CNC devices.

    IMPORTANT The overall machine CNC functionality and configuration is not being detailed or explained here. The CNC MachiningAccelerator Toolkit, and this quick start, provide the framework to communicate with the Rockwell Automation

    GuardLogix supervisory controller.

    IMPORTANT In this example, there is a supervisory PLC that manages an entire work cell consisting of a gantry, and two machiningcenters. This PMC program is for one of the machining centers, but could be used interchangeably as a starting point.

    DeviceModule(s)

    Application

    Module(s)

    Machine Module

    CNC

    PMC

    MDI Panels

    DeviceStatusDevice

    Commands

    LCD Display

    Machine

    Status

    OperatorCommands

    OperatorCommands

    CNC/PMC Logic

    CNC Operator Panels

    ApplicationCommands

    PLC AOP

  • 8/12/2019 Computer Numerical Control (CNC) Fanuc -En

    69/278

    Rockwell Automation Publication IASIMP-QS034A-EN-P- October 2012 69

    FANUC CNC Configuration Chapter 3

    The CNC architecture consists of two central processing units (CPUs), one specifically for the coordinatedmachine motion (CNC), and one for the machine I/O and peripheral functions (PMC).

    The CNC is the machine module in this example. It consists of proprietary software from FANUC, and is a layer

    that is not accessible for modifications. FANUC provides a means to interface with a CNC by using pre-definedsystem data table address registers. Refer to the FANUC documentation provided with your CNC for moreinformation.

    Within the PMC, there are application modules and device modules. The modules are described below:

    Application Modules The application modules execute the machine commands and provide the morespecific application commands for the CNCs functions. These modules must be defined, edited, andcompleted for your specific application prior to final commissioning on a CNC machine. To complete the

    proper handshaking between the PLC and CNC for the example project, these application modules havebeen programmed with timers to simulate a response. Add the custom application code as necessary tocomplete the programming for the specific application in these areas.

    Device Modules The device modules translate the overall machine and application commands, andprovide uniform status and diagnostics from/to the very specific EtherNet/IP device tags. This reducesmuch of the non-inventive code required to control and monitor the EtherNet/IP device.

    Table 2 - Preconfigured Logic Modules Used in CNC Work Cell Example

    Module Type File Names

    Application

    LEVEL1

    LEVEL2

    P0001 (OP Panel Path 1)