Machining Simulation Software User Manual

Download as pdf or txt
Download as pdf or txt
You are on page 1of 89
At a glance
Powered by AI
The document describes FANUC machining simulation software and its user manual.

The document is the user manual for FANUC machining simulation software.

The document describes three types of licenses for the FANUC software: Per PC Software License, User Site Software License, and Site Licensed Software.

| CNC SYSTEMS | DRIVE SYSTEMS | LASER SYSTEMS | SERVICE | TRAINING |

FANUC Machining Simulation,


Education Edition – User’s Manual

D74C-0420-PB01 Edition 01

www.fanucamerica.com
888-FANUC-US (888-326-8287) September 2017
This page intentionally left blank.
FANUC Machining Simulation,
Education Edition – User’s Manual

D74C-0420-PB01 Edition 01
This page intentionally left blank.
FANUC America Corporation – FANUC CNC
Software License Agreement
License Version: __1. 4__ Revised Date: _08/16/2013
Per PC Software License User Site Software License Site Licensed Software

PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY BEFORE


USING THE FANUC America Corporation – FANUC CNC (“ FAC - FANUC CNC”) SOFTWARE. BY
CLICKING ON THE "ACCEPT" BUTTON, OPENING THE PACKAGE, DOWNLOADING THE
PRODUCT, OR USING THE EQUIPMENT THAT CONTAINS THIS PRODUCT, YOU ARE HEREBY
CONSENTING TO BE BOUND BY THE TERMS OF THIS LICENSE. IF YOU DO NOT AGREE TO THE
TERMS OF THIS LICENSE, DO NOT USE, OPEN OR DOWNLOAD THE SOFTWARE. IN SUCH
EVENT, YOU MAY RETURN THE SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND, IF
APPLICABLE.

A. FAC - FANUC CNC’S GRANT OF LICENSE

1. Types of Licenses:

a. Per PC Software License: Under this type of license, FAC - FANUC CNC grants to you
(“Customer”) a nonexclusive, nontransferable and limited license to use and install the
FAC - FANUC CNC Software (“Software”) in object code form solely on a single central
processing unit (“CPU”) owned or leased by Customer or otherwise embedded in
equipment provided by FAC - FANUC CNC. Customer may not transfer the Software to
any other machine except in the following three cases: (i) when the licensed CPU
becomes completely inoperative and unrepairable in which case the new CPU becomes
the sole licensed CPU, or (ii) when the licensed CPU is deemed temporarily inoperative
in which case transferring the Software to another machine is allowed providing the user
is the same user and providing the Software is removed from the temporary CPU when
the original CPU is operative, or (iii) when the Software is permanently removed from the
original CPU in which case the CPU transferred to becomes the sole licensed CPU.

b. User Site Software License: Under this type of license, FAC - FANUC CNC grants to
Customer a nonexclusive, nontransferable and limited license to use and install the
Software in object code form on multiple central processing units owned or leased by
Customer or otherwise embedded in equipment provided by FAC - FANUC CNC at one
dedicated location. Customer may not transfer the Software to any other site or location
without the prior written consent of FAC - FANUC CNC.

c. Site Licensed Software: Under this type of license, FAC - FANUC CNC grants to you
(“Customer”) a nonexclusive, nontransferable and limited license to use and install the
FAC - FANUC CNC Software in object code form on multiple central processing units
owned or leased by Customer or otherwise embedded in equipment provided by FAC -
FANUC CNC at one dedicated location. Customer may not transfer the Software in any
complete form. Certain portions of the Software may be transferred or moved from the
dedicated location as a part of a custom package, but only in object code form. Any use
of any part of the Software for the creation of any derivative, modification or revised
custom application development is strictly prohibited and subject to applicable penalties
as set forth herein.
2. Duplicates and Copies: Customer may make one (1) archival copy of the Software provided
Customer affixes to such copy all copyright, confidentiality, and proprietary notices that appear on
the original. EXCEPT AS EXPRESSLY AUTHORIZED ABOVE, CUSTOMER SHALL NOT:
COPY, IN WHOLE OR IN PART, SOFTWARE OR DOCUMENTATION; MODIFY THE
SOFTWARE; REVERSE COMPILE OR REVERSE ASSEMBLE ALL OR ANY PORTION OF
THE SOFTWARE; OR RENT, LEASE, DISTRIBUTE, SELL, OR CREATE DERIVATIVE WORKS
OF THE SOFTWARE.

3. Updates: If a Software update completely replaces (full install) a previously licensed version of
the Software, Customer may not use both versions of the Software at the same time nor may
Customer transfer them separately.

B. FAC - FANUC CNC’S IP RIGHTS AND PROTECTION

Customer acknowledges and agrees that certain aspects of the licensed materials, including the specific
design and structure of individual programs, constitute trade secrets, copyrighted material and other
valuable intellectual property (collectively, “Intellectual Property”) of FAC - FANUC CNC. Customer
agrees not to disclose, provide, or otherwise make available such Intellectual Property in any form to any
third party without the prior written consent of FAC - FANUC CNC. Customer agrees to implement
reasonable security measures to protect such trade secrets and copyrighted material. Title to Software
and documentation shall remain exclusively with FAC - FANUC CNC.

C. FAC - FANUC CNC’S LIMITED WARRANTY

FAC - FANUC CNC warrants that for a period of ninety (90) days from the date of shipment from FAC -
FANUC CNC: (i) the media on which the Software is furnished will be free of defects in materials and
workmanship under normal use; and (ii) the Software substantially conforms to its published
specifications. Except for the foregoing, the Software is provided AS IS. This limited warranty extends
only to Customer as the original licensee. Customer's exclusive remedy and the entire liability of FAC -
FANUC CNC and its suppliers under this limited warranty will be, at FAC - FANUC CNC's sole and
exclusive option, repair, or replacement, of the Software. In no event does FAC - FANUC CNC warrant
that the Software is error free or that Customer will be able to operate the Software without problems or
interruptions.

This warranty does not apply if the software (a) has been altered or modified, except by FAC - FANUC
CNC, (b) has not been installed, operated, repaired, or maintained in accordance with instructions
supplied by FAC - FANUC CNC, (c) has been subjected to abnormal physical or electrical stress, misuse,
negligence, or accident, or (d) is used in ultra-hazardous activities.

EXCEPT AS SPECIFIED IN THIS WARRANTY, ALL EXPRESS OR IMPLIED CONDITIONS,


REPRESENTATIONS, AND WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED
WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE,
ARE HEREBY EXCLUDED TO THE EXTENT ALLOWED BY APPLICABLE LAW.

IN NO EVENT WILL FAC - FANUC CNC OR ITS SUPPLIERS BE LIABLE FOR ANY LOST REVENUE,
PROFIT, OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL, OR PUNITIVE
DAMAGES HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY ARISING OUT
OF THE USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF FAC - FANUC CNC OR ITS
SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. In no event shall FAC
- FANUC CNC's or its suppliers' liability to Customer, whether in contract, tort (including negligence), or
otherwise, exceed the price paid by Customer up to a maximum of $50,000. The foregoing limitations
shall apply even if the above-stated warranty fails of its essential purpose. SOME STATES DO NOT
ALLOW LIMITATION OR EXCLUSION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL
DAMAGES.
The above warranty DOES NOT apply to any beta software, any software made available for testing or
demonstration purposes, any temporary software modules or any software for which FAC - FANUC CNC
does not receive a license fee. All such software products are provided AS IS without any warranty
whatsoever.

D. TERMINATION OF LICENSE

This License is effective until terminated. Customer may terminate this License at any time by destroying
all copies of Software including any documentation. This License will terminate immediately without notice
from FAC - FANUC CNC if Customer fails to comply with any provision of this License. Upon termination,
Customer must destroy all copies of Software.

E. EXPORT RESTRICTIONS

Software, including technical data, is subject to U.S. export control laws, including the U.S. Export
Administration Act and its associated regulations, and may be subject to export or import regulations in
other countries. Customer agrees to comply strictly with all such regulations and acknowledges that it has
the responsibility to obtain licenses to export, re-export, or import Software.

F. U.S. GOVERNMENT LICENSE RIGHTS

FAC - FANUC CNC's software is provided to non-DOD agencies with RESTRICTED RIGHTS and its
supporting documentation is provided with LIMITED RIGHTS. Use, duplication, or disclosure by the
Government is subject to the restrictions as set forth in subparagraph "C" of the Commercial Computer
Software - Restricted Rights clause at FAR 52.227-19. In the event the sale is to a DOD agency, the
government's rights in software, supporting documentation, and technical data are governed by the
restrictions in the Technical Data Commercial Items clause at DFARS 252.227-7015 and DFARS
227.7202. Manufacturer is FAC - FANUC CNC FA America Corporation, 1800 Lakewood Boulevard,
Hoffman Estates, Illinois 60192.

G. MISCELLANOUS PROVISIONS

This License shall be governed by and construed in accordance with the laws of the State of Illinois,
United States of America, as if performed wholly within the state and without giving effect to the principles
of conflict of law. This License shall not be governed by the United Nations Convention on Contracts for
the International Sale of Goods, the application which is expressly excluded. If any portion hereof is found
to be void or unenforceable, the remaining provisions of this License shall remain in full force and effect.
This License constitutes the entire License between the parties with respect to this License.
This page intentionally left blank.
Warnings, Cautions and Notes as Used in this Publication

1. Warning notice:

WARNING
Warning notices are used in this publication to emphasize that hazardous voltages,
currents, temperatures, or other conditions that could cause personal injury exist in
this equipment or may be associated with its use. In situations where inattention could
cause either personal injury or damage to equipment, a warning notice is used.

2. Caution notice:

CAUTION
Caution notices are used in this publication where equipment might be damaged if
care is not taken.

3. Note notice:

NOTE
Note notices are used in this publication merely call attention to information that is
especially significant to understanding and operating the equipment.

This document is based on information available at the time of its publication. While efforts have been
made to be accurate, the information contained herein does not purport to cover all details or variations in
hardware or software, nor provide for every possible contingency in connection with installation,
operation, or maintenance. Features may be described herein which are not present in all hardware and
software systems. FANUC America Corporation – FANUC CNC (“FAC – FANUC CNC”) assumes no
obligation of notice to holders of this document with respect to changes subsequently made.
FAC – FANUC CNC makes no representation or warranty, expressed, implied, or statutory with
respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or
usefulness of the information contained herein. No warranties of merchantability or fitness for
purpose shall apply.

No part of this manual may be reproduced in any form.

©2017 FANUC America Corporation


All Rights Reserved
This page intentionally left blank.
FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

Table of Contents
Table of Contents ............................................................................................................ i
1. General ...................................................................................................................... 1
1.1 Introduction to FANUC Machining Simulation ................................................................................2
1.2 CNC Requirements .........................................................................................................................3
1.2.1 Models Supported ............................................................................................................................. 3
1.3 PC Requirements ............................................................................................................................3
1.3.1 Hardware ........................................................................................................................................... 3
1.3.2 Software ............................................................................................................................................ 3
1.4 Measurement Units .........................................................................................................................3
1.5 First Look at the FANUC Machining Simulation .............................................................................4
A. Manipulating the Display ................................................................................................................... 5
B. Setting Tool Offsets ........................................................................................................................... 6
C. Loading a Workpiece......................................................................................................................... 7
2. Setting up a FANUC CNC Simulator .......................................................................... 8
2.1 Ethernet Setup ................................................................................................................................9
A. Connect a crossover ethernet cable between the CNC and the PC. ................................................. 9
B. Determine the IP of the computer:..................................................................................................... 9
C. Assign a Static IP Address to the CNC: .......................................................................................... 10
D. Set the Communication Port in the CNC: ........................................................................................ 11
E. Set the IP Address and Port in the Machining Simulation Software: ............................................... 12
2.2 Changing the PMC Ladder Logic File ...........................................................................................13
A. Copy the EDSIM.MEM file to the root directory of a USB stick or Compact Flash memory card. ... 13
B. Enable the PMC programmer function: ........................................................................................... 13
C. Insert the memory device into the appropriate slot on the front of the CNC display. ....................... 14
D. Load the new ladder file: ................................................................................................................. 14
E. Save the ladder to the Flash ROM: ................................................................................................. 17
F. Restart the PMC: ............................................................................................................................. 18
2.3 CNC Parameters ...........................................................................................................................19
A. Copy the parameter file into the root directory of a memory card or USB stick. .............................. 19
B. Set the IO Channel of the CNC appropriately: ................................................................................ 19
C. Turn on Parameter Write Enable: .................................................................................................... 20
D. Insert the memory device into the appropriate slot on the front of the CNC display. ....................... 20
E. Load the parameter file: .................................................................................................................. 21
F. Turn off Parameter Write Enable: .................................................................................................... 22
2.4 Tool Offsets ...................................................................................................................................23
A. Lathe ............................................................................................................................................... 23
B. Mill ................................................................................................................................................... 24
C. Loading offsets into the CNC from an offset file .............................................................................. 25
2.5 Work Coordinates .........................................................................................................................27
A. Lathe ............................................................................................................................................... 27
B. Mill ................................................................................................................................................... 27
2.6 Switching Between Mill and Lathe ................................................................................................28
3. Setting up a FANUC NCGuide Simulator ................................................................. 29
3.1 NCGuide Settings .........................................................................................................................30
3.2 Ethernet Setup ..............................................................................................................................38
A. Set the IP Address and Port in the Machining Simulation Software: ............................................... 38
3.3 CNC Parameters ...........................................................................................................................39

D74C-0420-PB01/01 www.fanucamerica.com Page i


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

A. Copy the parameter file into the “Memory Card” directory of NCGuide. Refer to the ‘NCGuide
Settings’ information for where this is. ......................................................................................................... 39
B. Ensure the IO Channel is set appropriately: .................................................................................... 39
C. Turn on Parameter Write Enable: .................................................................................................... 39
D. Load the parameter file: .................................................................................................................. 40
E. Turn off Parameter Write Enable: .................................................................................................... 41
3.4 Tool Offsets ...................................................................................................................................43
A. Lathe ............................................................................................................................................... 43
B. Mill ................................................................................................................................................... 44
C. Loading offsets into the CNC from an offset file .............................................................................. 45
3.5 Work Coordinates .........................................................................................................................46
A. Lathe ............................................................................................................................................... 46
B. Mill ................................................................................................................................................... 46
4. Items Common to CNC Simulator and NCGuide ..................................................... 47
4.1 Switching Diameter/Radius Programming on the Lathe ...............................................................48
A. Turn ON Parameter Write Enable ................................................................................................... 48
B. Set Parameter 1006 bit 3 ................................................................................................................ 49
C. Turn OFF Parameter Write Enable.................................................................................................. 50
D. Restart the Simulator ....................................................................................................................... 50
5. User Interface ........................................................................................................... 51
5.1 Startup and Overview....................................................................................................................52
5.2 Manipulating the Main Display ......................................................................................................53
A. Using a Mouse ................................................................................................................................ 53
B. Using a Keyboard ............................................................................................................................ 55
5.3 The Ribbon ....................................................................................................................................56
A. Machine Simulation tab ................................................................................................................... 56
B. Displays tab ..................................................................................................................................... 72
C. About tab ......................................................................................................................................... 73
5.4 Collision Detection ........................................................................................................................74
Revision History ........................................................................................................... 75

D74C-0420-PB01/01 www.fanucamerica.com Page ii


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

1. General

This chapter provides general information about the intention, capabilities, and pre-requisites of the
FANUC Machining Simulation – Education Edition software.

D74C-0420-PB01/01 www.fanucamerica.com Page 1


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

1.1 Introduction to FANUC Machining Simulation


FANUC Machining Simulation is a Windows® application that makes it easy to visualize the actions of a
machine tool when processing a part program or being operated manually. The software is installed and
configured on a personal computer and communicates with a CNC – whether hardware-based or
software-based (NCGuide). The machine simulation is CNC position-based, offers intuitive setup and
easy operation, making the virtual manufacturing of parts a reality. The simulation software automatically
displays a 3-axis mill or 2-axis lathe determined by the type of CNC it is communicating with.

Using FANUC CNC Simulator

Using FANUC NCGuide

D74C-0420-PB01/01 www.fanucamerica.com Page 2


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

1.2 CNC Requirements


1.2.1 Models Supported
This product is available when using the following CNC series and models.

SERIES SOFTWARE MINIMUM CONNECTION

Hardware CNC - Education: D9G1 Embedded Ethernet


0i-MODEL F
Virtual CNC: NCGuide Version 10.0 or newer -

1.3 PC Requirements
This section details the minimum PC requirements for this software product.

1.3.1 Hardware
The following list details the appropriate hardware environment for the software.

ITEM MINIMUM RECOMMENDED

PROCESSOR Celeron processor, 1.6Ghz Quad-core processor, 3.0Ghz

RAM 4GB of working RAM memory 8GB of working RAM memory

HARD DISK 100 MB of free hard disk space 100 MB of free hard disk space

NETWORK 100base-T Ethernet adapter 100base-T Ethernet adapter

VIDEO 1024 x 768 SVGA video display resolution 1280 x 1024 XGA video display resolution

MOUSE Two-button with scroll wheel Two-button with scroll wheel

1.3.2 Software
This software has been tested on the below listed operating systems; performance is not guaranteed on other
Windows® platforms. The installation of the listed support files is required.

ITEM DESCRIPTION

OS Windows® 7 Professional 64-bit

OS Windows® Embedded 64-bit

MSVC Microsoft Visual C++® x86 Redistributable 12.0

.NET Microsoft .NET Framework 4.6.1

1.4 Measurement Units


The machining simulation software is designed for metric measurements only. For proper performance,
ensure that all STL files, workpiece measurements, CNC part programs, and tool offsets are designed
with millimeter as the intended measurement unit.

D74C-0420-PB01/01 www.fanucamerica.com Page 3


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

1.5 First Look at the FANUC Machining Simulation


The FANUC Machining Simulation software was developed jointly by FANUC America and ModuleWorks.
This 3D machine visualization software will transform your Simulator machining experience from just
working with a FANUC controller to controlling a virtual CNC machine.

We’re excited to show you FANUC Machining Simulation; the steps in this section will help you
get the software running prior to completing the necessary setup. For normal usage, the CNC that
the Machining Simulation software will be communicating with should be up and running prior to
launching the simulation software. Be sure to complete the steps in Setting up a FANUC CNC
Simulator or Setting up a FANUC NCGuide Simulator for the full experience.

To see the simulation right away:

1. Launch the software


The application shortcut can be found in the Start Menu under:
All Programs→FANUCFAS→MachiningSimulationEducation

The simulation software automatically displays a 3-axis mill or 2-axis lathe determined by the type of CNC
it is communicating with. If the software is not currently talking to a CNC, it will display the following on
startup:

2. To see the software without communicating with a CNC, click the ‘Cancel’ button.

The software will then display:

3. Make a selection to call up a display.

At this point, to connect to a CNC, the software would have to be shut down and restarted.

D74C-0420-PB01/01 www.fanucamerica.com Page 4


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

A. Manipulating the Display


To zoom in/out on a point: first left-click a
location to designate it as the point of focus;
then rotate the scroll wheel forward to zoom in,
rotate the wheel back to zoom out.

To orbit the display focus around a point: left-


click and drag the mouse to orbit around the
point you clicked on.

To reposition what is shown in the main


display: right-click and drag the mouse.

D74C-0420-PB01/01 www.fanucamerica.com Page 5


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

B. Setting Tool Offsets


The tool offsets in the visualization software must align with the offsets in the CNC.
1. Lathe:
Nothing needs to be done – the offsets are fixed and automatically change based on radius or diameter
programming.
2. Mill:
Tool offsets have been pre-loaded to work with the sample program. If the offsets are changed in the
CNC or the Machining Simulation software, the offsets must be synced.

a. Select from the Machine Simulation tab at the top of the program.

b. Select the ‘Milling Tools’ tab.

i. Clicking the button will replace the values shown on this screen
with those that are stored in the CNC’s memory.

ii. Clicking the button will replace the values stored in the CNC’s memory
with those that are shown on this screen.

These buttons only work if the simulation software has a CNC to communicate with.

D74C-0420-PB01/01 www.fanucamerica.com Page 6


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

C. Loading a Workpiece
If you POST a program from CAD/CAM software, like Autodesk’s Fusion 360, two files may be created:
the CNC part program and the STL file that contains the dimensions of your stock material. To load the
STL file:

1. Select from the Machine Simulation tab at the top of the program.
2. Select the ‘Milling Workpiece’ or ‘Lathe Workpiece’ tab.

3. Select ‘STL file’ next to “Type”.


4. Click on ‘Choose file…’ and navigate to the folder you POST’ed the program to in Fusion
360.
5. Select the Stl file
Example STL files can be found at C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample
Files
6. Click ‘OK’ to close the configuration window.

Your workpiece will be loaded into the machine and details will be displayed in the ‘Workpiece
information’ display.

Just like on a real machine, the CNC must be told where


the work will be located at.

For a lathe, the STL’s Height value is the length of the bar
stock.

For a mill, the work coordinate must be specified for where


the part is located at on the table.

Refer to the Setting up a FANUC CNC Simulator or Setting


up a FANUC NCGuide Simulator chapter for more details.

Refer to the User Interface chapter for complete details on FANUC Machining Simulation.

D74C-0420-PB01/01 www.fanucamerica.com Page 7


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2. Setting up a FANUC CNC Simulator

This chapter is strictly for enabling the use of a hardware-based CNC. Refer to the ‘Setting up a
FANUC NCGuide Simulator’ chapter for usage of NCGuide with the FANUC Machining Simulation
software.

To use the FANUC CNC Simulator with FANUC Machining Simulation, some customization is required:
• ethernet communication must be established
• the PMC logic file must be changed to the one included with the simulation software
• some CNC parameters need to be modified
• tool offsets need to be setup just like a real machine
• work coordinate needs to be setup just like a real machine, the lathe simulation requires the Work
Shift value to be set.

D74C-0420-PB01/01 www.fanucamerica.com Page 8


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2.1 Ethernet Setup


The Machining Simulation software communicates through an ethernet cable connected to the embedded
port on the CNC.

You can use a crossover cable to connect directly between the PC and CNC or use a router/switch to
connect through an ethernet network. Ethernet connectivity into an established network is not covered in
this document – the administrator of the network will know what settings to use and can modify the
following procedure.

A. Connect a crossover ethernet cable between the CNC and the PC.
Many modern computers can auto-crossover meaning they can detect if they are directly connected to
another Ethernet device and can use a regular ethernet cable in place of a crossover cable.

B. Determine the IP of the computer:


1. From the Start Menu search box, type in CMD – cmd.exe will be displayed (Command
Prompt, on Windows 10). Click on the application to start it.

2. Type the command IPCONFIG then press ENTER.


The system will report back the IP address of the PC on the display.

NOTE: Your PC may show several available network connections, look for ‘Ethernet adapter Local Area
Connection’.

D74C-0420-PB01/01 www.fanucamerica.com Page 9


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

C. Assign a Static IP Address to the CNC:


NOTE
The CNC Simulator will retain its IP address setting when switching between lathe and
mill configurations if the system software is D9G1 version 1.2 or later. Earlier versions
will require the IP address to be setup whenever switching configurations.

1. Press the button on the CNC keyboard.

2. Press right-most soft key ( / ) until is displayed.

3. Press the soft key.

4. If necessary, press the soft key.

Page 1 of the embedded Ethernet port parameters should be visible.

5. Assign the CNC IP address. Basically, make it


the same as the computer except for the last
digit.

6. Enter the SUBNET MASK address that matches


the IPCONFIG result.

For direct connection, a router is not used. Leave


the address field blank.

To make the IP address setting become active without restarting the CNC:

7. Press the ( and) soft key.

8. Press the soft key.

The CNC can be setup for DHCP operation by setting parameter 14880.6 to 1, contact FANUC
support for details.

D74C-0420-PB01/01 www.fanucamerica.com Page 10


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

D. Set the Communication Port in the CNC:


NOTE
The CNC Simulator will retain its port setting when switching between lathe and mill
configurations if the system software is D9G1 version 1.2 or later. Earlier versions will
require the port setting to be setup whenever switching configurations.

1. Press the button on the CNC keyboard.

2. Press right-most soft key ( / ) until is displayed.

3. Press the soft key.

4. Press the soft key.

5. Set the TCP port number as desired. 8193 is the recommended value used by many FANUC
communication programs.

To make the port setting become active without restarting the CNC:

6. Press the ( and) soft key.

7. Press the soft key.

D74C-0420-PB01/01 www.fanucamerica.com Page 11


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

E. Set the IP Address and Port in the Machining Simulation Software:


Upon startup, the simulation software will check if it is connected to a CNC. If communication does not
exist, the software will display a dialog for setting the IP address and port it should talk to. These settings
need to match what the CNC is set to.

To make the settings permanent, check the ‘Save to Configuration’ box prior to clicking the ‘Connect’
button.

D74C-0420-PB01/01 www.fanucamerica.com Page 12


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2.2 Changing the PMC Ladder Logic File


The ladder logic is what enables a CNC to communicate with a machine tool. Likewise, in our simulated
environment, the ladder logic is used to communicate with your ‘machine’ that is running on your PC.

Therefore, it is necessary to replace the ladder logic that came loaded in your CNC Simulator with
logic that will talk to your new ‘machine’. This procedure only needs to be performed one time,
once installed the new ladder logic will stay in memory permanently – even if the simulator is
switched between mill and lathe.

If you have modified the ladder logic that originally came with the FANUC CNC Simulator, contact FANUC
America support for assistance in integrating the required logic into your ladder.

The ladder file that must be loaded into your simulator can be found at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\EducationSimModifications
and is titled EDSIM.MEM

To replace the ladder file in the CNC:

A. Copy the EDSIM.MEM file to the root directory of a USB stick or Compact
Flash memory card.

B. Enable the PMC programmer function:

1. Press the button on the CNC keyboard.

2. Press the right-most soft key ( / ) until , , is displayed.

3. Press the soft key.

4. Press the soft key.

5. Press the keyboard button to position the cursor on PROGRAMMER ENABLE.

6. Press the keyboard button to set PROGRAMMER ENABLE to YES.

D74C-0420-PB01/01 www.fanucamerica.com Page 13


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

C. Insert the memory device into the appropriate slot on the front of the CNC
display.

D. Load the new ladder file:

1. Press the button on the CNC keyboard.

2. Press the right-most soft key ( / ) until , , is displayed.

3. Press the soft key.

4. Press the soft key.

D74C-0420-PB01/01 www.fanucamerica.com Page 14


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5. Using the arrow keys, set the DEVICE to match what you plugged into the CNC –
memory card or USB.

6. Press the keyboard button to move the cursor to the FUNCTION area.

7. Press the keyboard button to highlight READ.

8. Press the soft key.

9. Press the soft key.


If there are multiple files listed, place the cursor on the EDSIM.MEM file.

10. Press the soft key.


The file number and name that you selected will be shown on the screen.

11. Press the soft key.

D74C-0420-PB01/01 www.fanucamerica.com Page 15


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

You will be asked to confirm you want to load the file:

12. Press the soft key again.

When the file finishes loading, the top right of the screen will indicate that the ladder is stopped and that
there is an alarm. In the center of the screen it will say that it has COMPLETED loading the file. Flashing
in the bottom right will be PMC to indicate there is a PMC alarm.

The PMC alarm is to alert you that the ladder has been loaded in but it is not permanent until you save it
to the Flash ROM which is the next step – there is nothing wrong.

D74C-0420-PB01/01 www.fanucamerica.com Page 16


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

E. Save the ladder to the Flash ROM:


1. Change the DEVICE to ‘FLASH ROM’ and change the FUNCTION to ‘WRITE’. Verify
that KIND OF DATA is set to SEQUENCE PROGRAM; make it so if necessary.

2. Press the soft key.

When the file finishes saving, the top right of the screen will indicate that the ladder is still stopped but the
alarm indication will be gone. In the center of the screen it will say that it has COMPLETED writing the
ladder to the Flash ROM. ‘PMC’ will stop flashing in the lower right of the screen.

D74C-0420-PB01/01 www.fanucamerica.com Page 17


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

F. Restart the PMC:


1. Turn the CNC power off and back on…

OR

1. Press the button on the CNC keyboard.

2. Press the right-most soft key ( / ) until , , is displayed.

3. Press the soft key.

4. Press the soft key.

5. Press the soft key.

6. Press the soft key.

7. Press the soft key.

Remember, the EDSIM.MEM file will only need to be loaded in one time. If you completed the step of
saving the ladder to the Flash ROM, it will be permanently loaded into the CNC – even when you switch it
between mill or lathe.

D74C-0420-PB01/01 www.fanucamerica.com Page 18


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2.3 CNC Parameters


NOTE
The CNC parameter values are reset to the factory default values whenever the CNC
simulator is switched between lathe or mill configuration.

For visualization to appear correctly, there are some CNC parameters that need to be changed from the
factory default values.

A. Copy the parameter file into the root directory of a memory card or USB
stick.
A parameter file containing only the necessary parameters for the lathe is located at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample Files\LatheDia\NC Files or
…\0iF Sample Files\LatheRad\NC Files, titled params.txt; these are the parameter values that are
REQUIRED for the lathe – as setup for Diameter or Radius programming.

A parameter file containing only the necessary parameters for the mill is located at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample Files\Mill, titled params.txt; these
are the parameter values that are REQUIRED for the mill.

B. Set the IO Channel of the CNC appropriately:

1. Select mode.

2. Press the button twice to select the soft key.

3. Use the arrow keys to highlight I/O CHANNEL.

For memory card, set the value to 4.


For USB stick, set the value to 17.

D74C-0420-PB01/01 www.fanucamerica.com Page 19


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

C. Turn on Parameter Write Enable:


4. Use the arrow keys to highlight the PARAMETER WRITE field.

5. Press the ( and) soft key.

An alarm will occur:

This is just letting you know that parameter can be changed, nothing to worry about.

D. Insert the memory device into the appropriate slot on the front of the CNC
display.

D74C-0420-PB01/01 www.fanucamerica.com Page 20


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

E. Load the parameter file:

1. Select mode.

2. Press the button on the CNC keyboard.

3. Press the right-most soft key ( / ) until is displayed.

4. Press the soft key.

5. Press the soft key.

6. Press the soft key.

7. Press the soft key.

8. Type in the number of the


parameter file (1 in this
example).

9. Press the soft key.

10. Press the soft key.

Loading of the parameters is quick. You may notice INPUT flashing in the lower-right corner of
the screen while they are being loaded.

You will know the process completed if the soft keys change back to displaying the
selection.

D74C-0420-PB01/01 www.fanucamerica.com Page 21


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

F. Turn off Parameter Write Enable:

1. Select mode.

2. Press the button to return to the soft key.

3. Use the arrow keys to highlight PARAMETER WRITE if necessary.

4. Press the soft key.

5. Press the soft key.

6. Press the button on the CNC keyboard.

The alarm indication should stop flashing. If it doesn’t, turn the CNC off and back on.

D74C-0420-PB01/01 www.fanucamerica.com Page 22


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2.4 Tool Offsets


NOTE
The tool offset values are reset to 0.0 whenever the CNC simulator is switched between
lathe or mill configuration.

A. Lathe
The tool offset sizes for the lathe must be set to specific values to work correctly with the
visualization software. Only tools one through 12 need to be set.

The offset values vary depending on whether the CNC is set for using diameter or radius programming.
Refer to Switching Diameter/Radius Programming on the Lathe for instructions on changing the
programming style.

To view the offsets:

1. Press the button on the CNC’s keyboard (MDI panel).

2. Press the soft key on the CNC’s display.

Diameter offset values:

Radius offset values:

D74C-0420-PB01/01 www.fanucamerica.com Page 23


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

B. Mill
The tool offset sizes for the mill can be set to arbitrary values but the values must match between
the CNC and the Machining Simulation software for correct visualization. Tools 1-21 require
values.

To view the offsets in the CNC:

1. Press the button on the CNC’s keyboard.

2. If necessary, press the soft key on the CNC’s display.

To view the offsets in the simulation software:

1. Click the button.

2. Select the ‘Milling Tools’ tab.

NOTE
The tool width values in the CNC are radius values. The tool width values in the
simulation software are diameter values.

In the simulation software:

Clicking the button will replace the values shown on this screen with those that are
stored in the CNC’s memory.

Clicking the button will replace the values stored in the CNC’s memory with those that are
shown on this screen.

Even if a tool will not be used, it must have a minimum length of 60.0001 mm and minimum
diameter of 0.0610 mm.

D74C-0420-PB01/01 www.fanucamerica.com Page 24


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

C. Loading offsets into the CNC from an offset file


You can manually enter offsets values into the CNC or the simulation software, or if you have a saved list
of offsets, you can load them into the CNC.

1) Copy the tool offset file into the root directory of a memory card or USB stick.

A tool offset file containing offset values for the lathe is located at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample Files\LatheDia\NC Files or
…\0iF Sample Files\LatheRad\NC Files, titled tooloffs.txt; these are the tool offset values that are
REQUIRED for the lathe – as setup for Diameter or Radius programming.

A tool offset file containing sample offset values for the mill is located at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample Files\Mill\NC Files, titled tooloffs.txt;
these are the values that work with the sample mill program that is included.

2) Set the IO Channel of the CNC appropriately:

a. Select mode.

b. Press the button twice to select the soft key.

c. Use the arrow keys to highlight I/O CHANNEL.

For memory card, set the value to 4.


For USB stick, set the value to 17.

3) Insert the memory device into the appropriate slot on the front of the CNC display.

D74C-0420-PB01/01 www.fanucamerica.com Page 25


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

4) Load the offset file:

a. Select mode.

b. Press the button on the CNC keyboard.

c. Press the right-most soft key ( / ) until is displayed.

d. Press the soft key.

e. Press the soft key.

f. Press the soft key.

g. Press the soft key.

h. Type in the number of the


tool offset file (1 in this
example).

i. Press the soft key.

j. Press the soft key.

Loading of the offsets is extremely quick.

You will know the process completed if the soft keys change back to displaying the
selection.

D74C-0420-PB01/01 www.fanucamerica.com Page 26


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2.5 Work Coordinates

A. Lathe
The length of the part stock must be designated to move the Absolute Z0 position off the face of the
spindle. To program the length via the work shift setting:

1. Press the button on the CNC’s keyboard (MDI panel) until the soft key
is displayed on the CNC’s screen.

2. Press the right-most soft key – ( ) until is visible.

3. Press the soft key.

(The Z value shown here is for the sample turning part program included with the Simulator.)

B. Mill
The work coordinate that the part program activates must contain the Machine coordinate of the part’s
starting point or machining will likely attempt to occur at Home position. To view the work coordinates:

1. Press the button on the CNC’s keyboard (MDI panel).

2. Press the soft key. Press / to see the rest.

(The G55 value shown here is for the sample milling program included with the Simulator.)

D74C-0420-PB01/01 www.fanucamerica.com Page 27


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2.6 Switching Between Mill and Lathe


The simulator can be switched between Mill and Lathe at any time.

NOTE
Before switching the configuration of the simulator, back up any memory in the CNC that you
don’t want to lose.

When the simulator switches configuration, the memory will be restored to factory settings – any
programs, offsets, work coordinates, parameters, etc. that have been modified from the original
state will be lost.

A. To switch to Mill:

1. While holding down and on the MDI panel, power on the simulator.

2. Continue to keep and depressed until is displayed.

B. To switch to Lathe:

1. While holding down and on the MDI panel, power on the simulator.

2. Continue to keep and depressed until is displayed.

The simulator will remember the configuration it has been placed in – the only time the above buttons
should be pressed is when you want to change the configuration of the simulator or restore the memory
to factory condition.

Be aware that the following will revert to factory defaults and may need customizing to work with
Machining Simulation again:

• CNC Parameters
• Part programs
• Tool offsets
• Work coordinates

D74C-0420-PB01/01 www.fanucamerica.com Page 28


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

3. Setting up a FANUC NCGuide Simulator


This section is strictly for the use of a software-based CNC. Refer to the ‘Setting up a FANUC CNC
Simulator’ chapter for usage of a physical CNC with the FANUC Machining Simulation software.

During installation of the simulation software, Series 0i Model F machine composition files for NCGuide
were installed. These machine compositions are designed for use with the Machining Simulation
software and are the only NCGuide compositions fully supported by the software.

Four compositions are installed with Machining Simulation and are available when you activate the 0i-F
NCGuide:

Machining Sim – Lathe: 0i-TF composition for use with NCGuide


Machining Sim – Lathe – Academic NCG: 0i-TF composition for use with NCGuide Academic
Machining Sim – Mill: 0i-MF composition for use with NCGuide
Machining Sim – Mill – Academic NCG: 0i-MF composition for use with NCGuide Academic

To use FANUC NCGuide with FANUC Machining Simulation a small amount of customization may be
required:
• display settings adjusted for optimum usability
• ethernet communication must be established if not running on the same computer
• parameters on the lathe are different for diameter and radius programming
• tool offsets need to be setup just like a real machine
• work coordinate needs to be setup just like a real machine, the lathe simulation requires the Work
Shift value to be set.

D74C-0420-PB01/01 www.fanucamerica.com Page 29


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

3.1 NCGuide Settings


To fully duplicate the functionality of a hardware-based simulator, the display of the machine operator’s
panel may need to be turned on. NCGuide gives you the ability to change several options regarding its
appearance.

Installed with NCGuide is an application called the Setting Management Tool:

D74C-0420-PB01/01 www.fanucamerica.com Page 30


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

You can determine whether you choose an NCG composition or always start the same one at
startup:

• Click the CNC series name in the left window.

• From ‘Composition at start’, select a composition name to make it always startup when you launch
NCGuide.
– Choose ‘Select at start’ to be presented with a menu of the available compositions to run.

D74C-0420-PB01/01 www.fanucamerica.com Page 31


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

You can choose what size the CNC’s display will be.

• Size and soft key operation will change accordingly, just like an actual CNC.

D74C-0420-PB01/01 www.fanucamerica.com Page 32


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

You can choose how the CNC will look on your screen.

D74C-0420-PB01/01 www.fanucamerica.com Page 33


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

• Picture mode looks just like a real CNC

• Window mode puts the essentials in their own windows

D74C-0420-PB01/01 www.fanucamerica.com Page 34


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

You can choose the keyboard style.

D74C-0420-PB01/01 www.fanucamerica.com Page 35


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

You can choose the operator’s panel style. No Disp(lay) = no operator’s panel.

• SubPanel A is horizontal
• SubPanel D is vertical

D74C-0420-PB01/01 www.fanucamerica.com Page 36


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

You can choose where the “memory card” is (for backing up and loading CNC data).

• If left blank, the default location is C:\ProgramData\FANUC\NCGuide FSxxx\MEMCARD

D74C-0420-PB01/01 www.fanucamerica.com Page 37


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

3.2 Ethernet Setup


If FANUC NCGuide and FANUC Machining Simulation are running on the same computer, no
ethernet setup is required.

If you are using NCGuide on one computer and Machining Simulation on another, the two computers
must be connected by Ethernet. Ethernet connectivity is not covered in this document – the administrator
of your network will know what settings to use and can modify the following procedure.

A. Set the IP Address and Port in the Machining Simulation Software:


Upon startup, the simulation software will check if it is connected to a CNC. If communication does not
exist, the software will display a dialog for setting the IP address and port it should talk to.

Use the IP address of 127.0.0.1 when using NCGuide and Machining Simulation on the same computer.

Input the IP address of the computer that is running NCGuide if using separate computers.

The port can be changed within NCGuide by selecting ‘Option…’ from the ‘PMC’ menu, 8193 is default.

To make the settings permanent, check the ‘Save to Configuration’ box prior to clicking the ‘Connect’
button.

D74C-0420-PB01/01 www.fanucamerica.com Page 38


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

3.3 CNC Parameters


NOTE
For both the mill and lathe configuration using diameter programming, this section can
be skipped.

For radius programming on the lathe, the overtravel parameters are slightly different
and will need new parameters loaded in. Refer to Switching Diameter/Radius
Programming on the Lathe for instructions on changing the programming style.

If changing the lathe between diameter or radius programming:

A. Copy the parameter file into the “Memory Card” directory of NCGuide.
Refer to the ‘NCGuide Settings’ information for where this is.
A parameter file containing only the necessary parameters for the lathe is located at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample Files\LatheDia\NC Files or
…\0iF Sample Files\LatheRad\NC Files, titled params.txt; these are the parameter values that are
REQUIRED for the lathe – as setup for Diameter or Radius programming.

B. Ensure the IO Channel is set appropriately:

1. Select mode.

2. Press the button twice to select the soft key.

3. I/O CHANNEL must be set to 4.

C. Turn on Parameter Write Enable:


4. Use the arrow keys to highlight the PARAMETER WRITE field.

D74C-0420-PB01/01 www.fanucamerica.com Page 39


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5. Press the ( and) soft key.


An alarm will occur:

This is just letting you know that parameter


can be changed, nothing to worry about.

D. Load the parameter file:

1. Select mode.

2. Press the button on


the CNC keyboard.

3. Press the right-most soft key

( / ) until is
displayed.

D74C-0420-PB01/01 www.fanucamerica.com Page 40


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

4. Press the soft key.

5. Press the soft key.

6. Press the soft key.

7. Press the soft key.

8. Type in the number of the parameter file (1 in this example).

9. Press the soft key.

10. Press the soft key.

Loading of the parameters is quick. You may notice INPUT flashing in the lower-right corner of
the screen while they are being loaded.

You will know the process completed if the soft keys change back to displaying the
selection.

E. Turn off Parameter Write Enable:

1. Select mode.

2. Press the button to return to the soft key.

3. Use the arrow keys to highlight PARAMETER WRITE if necessary.

4. Press the soft key.

D74C-0420-PB01/01 www.fanucamerica.com Page 41


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5. Press the soft key.

6. Press the button on the CNC keyboard.

The alarm indication should stop flashing. If it doesn’t, turn the CNC off and back on.

D74C-0420-PB01/01 www.fanucamerica.com Page 42


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

3.4 Tool Offsets

A. Lathe
The tool offset sizes for the lathe must be set to specific values to work correctly with the
visualization software. Only tools one through 12 need to be set.

The offset values vary depending on whether the CNC is set for using diameter or radius programming.
Refer to Switching Diameter/Radius Programming on the Lathe for instructions on changing the
programming style.

To view the offsets:

1. Press the button on the CNC’s keyboard (MDI panel).

2. Press the soft key on the CNC’s display.

Diameter offset values:

These values
have been
preset in the
lathe NCGuide
compositions.

Radius offset values:

D74C-0420-PB01/01 www.fanucamerica.com Page 43


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

B. Mill
The tool offset sizes for the mill can be set to arbitrary values but the values must match between
the CNC and the Machining Simulation software for correct visualization. Tools 1-21 require
values.

To view the offsets in the CNC:

3. Press the button on the CNC’s keyboard.

4. If necessary, press the soft key on the CNC’s display.

To view the offsets in the simulation software:

3. Click the button.

4. Select the ‘Milling Tools’ tab.

These values
have been
preset in the
mill NCGuide
compositions

NOTE
The tool width values in the CNC are radius values. The tool width values in the
simulation software are diameter values.

In the simulation software:

Clicking the button will replace the values shown on this screen with those that are
stored in the CNC’s memory.

Clicking the button will replace the values stored in the CNC’s memory with those that are
shown on this screen.

Even if a tool will not be used, it must have a minimum length of 60.0001 mm and minimum
diameter of 0.0610 mm.

D74C-0420-PB01/01 www.fanucamerica.com Page 44


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

C. Loading offsets into the CNC from an offset file


You can manually enter offsets values into the CNC or the simulation software, or if you have a saved list
of offsets, you can load them into the CNC.

A tool offset file containing offset values for the lathe is located at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample Files\LatheDia\NC Files or
…\0iF Sample Files\LatheRad\NC Files, titled tooloffs.txt; these are the tool offset values that are
REQUIRED for the lathe – as setup for Diameter or Radius programming.

A tool offset file containing sample offset values for the mill is located at
C:\Program Files (x86)\FANUCFAS\MachiningSimulation\0iF Sample Files\Mill\NC Files, titled tooloffs.txt;
these are the values that work with the sample mill program that is included.

1) Copy the tool offset file into the “Memory Card” directory of NCGuide. Refer to the
‘NCGuide Settings’ information for where this is.

2) Load the offset file:

a. Select mode.

b. Press the button on the CNC keyboard.

c. Press the right-most soft key ( / ) until is displayed.

d. Press the soft key.

e. Press the soft key.

f. Press the soft key.

g. Press the soft key.

h. Type in the number of the tool offset file (1 in this example).

i. Press the soft key.

j. Press the soft key.

You will know the process completed if the soft keys change back to displaying the selection.

D74C-0420-PB01/01 www.fanucamerica.com Page 45


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

3.5 Work Coordinates

A. Lathe
The length of the part stock must be designated to move the Absolute Z0 position off the face of the
spindle. To program the length via the work shift setting:

1. Press the button on the CNC’s keyboard (MDI panel) until the soft key
is displayed on the CNC’s screen.

2. Press the right-most soft key – ( ) until is visible.

3. Press the soft key.

(The Z value shown here is for the sample turning part program loaded into NCGuide.)

B. Mill
The work coordinate that the part program activates must contain the Machine coordinate of the part’s
starting point or machining will likely attempt to occur at Home position. To view the work coordinates:

1. Press the button on the CNC’s keyboard (MDI panel).

2. Press the soft key. Press / to see the rest.

(The G55 value shown here is for the sample milling program loaded into NCGuide.)

D74C-0420-PB01/01 www.fanucamerica.com Page 46


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

4. Items Common to CNC Simulator and NCGuide

D74C-0420-PB01/01 www.fanucamerica.com Page 47


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

4.1 Switching Diameter/Radius Programming on the Lathe


When using standard G-code programming, the CNC is set to use radius or diameter programming via a
parameter setting. The Machining Simulator’s default setup uses diameter programming.

To change between diameter or radius programming, you must:


• Turn on Parameter Write Enable
• Set Parameter 1006 bit 3
• Turn Parameter Write Enable Off
• Restart the Simulator

A. Turn ON Parameter Write Enable


Parameter Write Enable (PWE) enables the ability to write to the CNC parameters. Perform the following
to turn it on:

1. Select mode on the Operator’s Panel.

2. Press the button on the MDI Panel until the soft key is highlighted.

The screen will say ‘SETTING (HANDY)’ in the blue title bar on the right display. The cursor should be on
the ‘PARAMETER WRITE’ line (yellow block) – if it isn’t, use the arrow keys to move it there.

3. Press the soft key.

4. Press the soft key.

Alarm ‘SW0100 PARAMETER WRITE ENABLE SWITCH ON’ will occur. This is completely expected,
anytime PWE is on the alarm occurs to remind you that the parameters are vulnerable to being changed
and PWE should be turned back off at the earliest possibility.

D74C-0420-PB01/01 www.fanucamerica.com Page 48


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

B. Set Parameter 1006 bit 3


To change CNC parameter 1006:

1. Keep mode selected.

2. Press the button on the MDI Panel until the soft key is highlighted. (Should be
immediately.)

3. Type in the parameter number -

4. Press the soft key.

The parameter bits are numbered from right to left starting at 0 – DIA is bit 3. DIA = 1 for Diameter
programming; DIA = 0 for Radius programming.

5. Press the button until only bit 3 on the X line is highlighted.

6. Press the soft key for Radius or soft key for Diameter programming.

You will immediately get a ‘PW0000 POWER MUST BE OFF’ alarm – this lets you know that the CNC
must be restarted to complete the change.

Before powering off the system, you should turn PWE off.

D74C-0420-PB01/01 www.fanucamerica.com Page 49


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

C. Turn OFF Parameter Write Enable

1. Press the button on the MDI Panel.

The screen will say ‘SETTING (HANDY)’ in the blue title bar on the right display. The cursor should be on
the ‘PARAMETER WRITE’ line (yellow block) – if it isn’t, use the arrow keys to move it there.

2. Press the soft key.

3. Press the soft key.

D. Restart the Simulator

1. Press the OFF button.

2. Press the ON button on the CNC Simulator or start the 0i-F NCGuide program.

There should be no alarms on the CNC when it restarts.

NOTE
The offset values and CNC parameters are set differently for radius or diameter
programming.

Refer to the parameter and offset portions of the Setting up a FANUC CNC Simulator or
Setting up a FANUC NCGuide Simulator sections.

D74C-0420-PB01/01 www.fanucamerica.com Page 50


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5. User Interface

D74C-0420-PB01/01 www.fanucamerica.com Page 51


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5.1 Startup and Overview


The FANUC Machining Simulation software automatically looks for a CNC to communicate with at
startup. The IP address of the CNC can be stored in the software’s configuration and it is this IP address
the simulation software attempts to connect to.

NOTE
For the above reason, the CNC that the simulation software will be talking to should be
completely booted before starting FANUC Machining Simulation.

Startup of the FANUC Machining Simulation software is accomplished like other Windows® programs;
locate the program’s icon in the Start Menu in the FANUCFAS/Machining Simulation folder and click on it.

The icon looks like this:

Once started, the FANUC Machining Simulation software appears:

D74C-0420-PB01/01 www.fanucamerica.com Page 52


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5.2 Manipulating the Main Display


The Main Display is where the machine is shown.

To change the appearance of the display, a two-button mouse with a scroll wheel is recommended.
The PC’s keyboard can be used as well.

A. Using a Mouse

1) Zoom
To zoom in/out on a point: first left-click a location to designate it as the point of focus; then rotate the
scroll wheel forward to zoom in, rotate the wheel back to zoom out.

D74C-0420-PB01/01 www.fanucamerica.com Page 53


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2) Orbit
To orbit the display focus around a point: left-click and drag the mouse to orbit around the point you
clicked on.

3) Reposition
To reposition what is shown in the main display: right-click and drag the mouse.

D74C-0420-PB01/01 www.fanucamerica.com Page 54


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

B. Using a Keyboard
The display can be manipulated with the PC’s keyboard.

1) Zoom

2) Orbit

3) Reposition

D74C-0420-PB01/01 www.fanucamerica.com Page 55


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5.3 The Ribbon


Located across the top of the simulation software is the ribbon which is used to modify settings of the
program and display information.

At the far right of the Ribbon is a button for minimizing the display of the ribbon:

While minimized, clicking on the tab name will temporarily restore the display of the Ribbon.

To restore a minimized Ribbon, click the button at the far right:

There are three tabs on the Ribbon: ‘Machine Simulation’, ‘Displays’, and ‘About’.

A. Machine Simulation tab


The Machine Simulation tab is broken into four sections: Geometries, View, Options, and Simulation.

1) Geometries
The selections available in ‘Geometries’ affect how the machine is displayed in the Main Display.

a) Open/Close Door

Clicking will cause the machine’s door to open:

Clicking will cause the machine’s door to close.


D74C-0420-PB01/01 www.fanucamerica.com Page 56
FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

b) Hide Door

The button operates in two stages to control the visibility of the machine’s door.

On the first click of , the machine’s door becomes partially transparent.


On the second click, the door becomes fully transparent.
With the third click, the door becomes opaque again.

c) Hide Housing

The button acts in a similar fashion as to control the display of the machine’s exterior:

D74C-0420-PB01/01 www.fanucamerica.com Page 57


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

d) Hide Machine

The button operates in two stages to hide everything but the active tool and workpiece from view.

On the first click of , the exterior and interior of the machine becomes partially transparent.

On the second click, the interior and exterior becomes fully transparent – only the active tool and
workpiece are displayed.

With the third click, the machine becomes opaque again.

D74C-0420-PB01/01 www.fanucamerica.com Page 58


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

2) View
The selections available in ‘View’ affect the visual focus of the Main Display.

a) Fit View

When is clicked, the display will be automatically resized to fit the entire viewable area on-screen;
this may cause the display to zoom in or out.

D74C-0420-PB01/01 www.fanucamerica.com Page 59


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

b) Orient View

Clicking produces a menu of selections for adjusting the direction from which the machine or
workpiece is viewed.

Isometric

Top Bottom

Front Back

Left Right

D74C-0420-PB01/01 www.fanucamerica.com Page 60


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

c) Camera Focus

Clicking produces a menu of selections for adjusting what appears to remain stationary while the
machine is moving.

The icon displayed in the Ribbon changes with each selection.

Selecting provides a view like real life: the body of the machine remains
stationary while the mechanical axes will appear to move.

Selecting will cause the stock material to remain stationary while the rest of
the machine will appear to move.

Selecting will cause the active tool to remain stationary while the rest of the
machine will appear to move.

d) Section View

The icon is only available in the Lathe simulation. When selected, half of the workpiece is made
transparent to view ID turning from a cross-sectional viewpoint.

D74C-0420-PB01/01 www.fanucamerica.com Page 61


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

3) Options
The selections available in ‘Options’ affect the operation of the Machining Simulation program.

Distinctive noises are created by the software when the machine moves, cuts, turns the spindle, or
collides with something.

a) Sounds Enabled/Disabled

Clicking / controls the software’s ability to create audio.

Individual sound types can be controlled in the settings of .

b) Configuration

When is clicked, the ‘Configuration’ window is opened.

Clicking the button closes the Configuration window and applies any setting changes that have
been made.

Clicking the button closes the Configuration window and discards any setting changes that
have been made.

D74C-0420-PB01/01 www.fanucamerica.com Page 62


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

There are five tabs across the top of the Configuration window:

The ‘General’ tab applies to both Milling and Turning simulations.

The other four tabs apply only to the Milling or Lathe (Turning) simulations.

‘General’ Tab

The IP address and port of the CNC that the simulation software will communicate with is stored here.

NOTE
These settings must match those stored in the CNC for communication to work. Refer
to the CNC’s Maintenance Manual for IP address setting procedures.

For communication with NCGuide (NCG), set the IP to the address of the PC that NCG is
running on. If the PC is the same one the simulation software is running on, set the IP
to 127.0.0.1 and the port to 8193.

‘Milling Workpiece’ Tab

The settings on this tab only affect Milling simulations.

The top portion of the tab allows you to select the color and shape of the workpiece material.

The bottom portion of the tab relates to the shape selected in the top.

D74C-0420-PB01/01 www.fanucamerica.com Page 63


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

- ‘Color’ Selection

The color of the stock material can be customized using 8-bit per channel RGB codes; this results in
16,777,216 possible colors to choose from. If you are aware of the Red, Green, Blue color codes needed
for a shade, you may enter them directly.

For a color selection tool, click the button in the ‘Color’ text box.

The color selection takes effect as soon as the ‘Configuration’ window is closed.

- ‘Type’ Selection

The simulation software gives you the choice of using a generic box or cylinder shape for the stock
material of the workpiece. By selecting STL file, you can navigate to and select a CAD file in STL format
that contains the specifications of your desired stock material – the example below represents a casting.

Box Cylinder STL file

D74C-0420-PB01/01 www.fanucamerica.com Page 64


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

- Shape Size Selection

You can specify the size of the generic box or cylinder in millimeters.

When ‘STL file’ is chosen for the stock material shape, clicking will open a file selection box.

NOTE
The work coordinate setting in the CNC (G54-59) must be matched to the part zero
location of the workpiece.

Regardless of the size or shape of your stock material, it will automatically be centered on the table:

D74C-0420-PB01/01 www.fanucamerica.com Page 65


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

‘Milling Tools’ Tab

The color, name, and dimensions of the milling tools are completely customizable.

NOTE
For the visualization to appear correctly in the software, the tool geometry in the CNC
must match the values stored in the FANUC Machining Simulation software.

Clicking the button will replace the values shown on this screen with those that are
stored in the CNC’s memory.

Clicking the button will replace the values stored in the CNC’s memory with those that are
shown on this screen.

The cutting location on the part will be displayed in the color of the tool being used, allowing for easy
identification of the tool and cutting result.

D74C-0420-PB01/01 www.fanucamerica.com Page 66


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

‘Lathe Workpiece’ tab

The settings on this tab only affect Lathe simulations.

The top portion of the tab allows you to select the color and shape of the workpiece material.

The bottom portion of the tab relates to the shape selected in the top.

- ‘Color’ Selection

The color of the stock material can be customized using 8-bit per channel RGB codes; this results in
16,777,216 possible colors to choose from. If you are aware of the Red, Green, Blue color codes needed
for a shade, you may enter them directly.

For a color selection tool, click the button in the ‘Color’ text box.

The color selection takes effect as soon as the ‘Configuration’ window is closed.

D74C-0420-PB01/01 www.fanucamerica.com Page 67


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

- ‘Type’ Selection

The simulation software gives you the choice of using a generic cylinder shape for the stock material of
the workpiece; or, by selecting STL file, you can navigate to and select a CAD file in STL format that
contains the specifications of your desired stock material – the example below represents a casting.

Cylinder STL file

- Shape Size Selection

NOTE
For the visualization to appear correctly in the software, the Z Work Shift value in the
CNC must align with the ‘Height’ value stored here.

You can specify the size of the generic cylinder in millimeters.

When ‘STL file’ is chosen for the stock material shape, clicking will open a file selection box.

Regardless of the size or shape of your stock material, it will automatically be centered in the spindle.

D74C-0420-PB01/01 www.fanucamerica.com Page 68


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

‘Lathe Tools’ Tab

The color and name of the lathe tools are completely customizable. The dimension and shape of the
tools are fixed.

NOTE
For proper visualization performance, the tool geometry in the CNC (when used as a
lathe) must not be changed.

When switching between diameter or radius programming, the tool offsets would
ordinarily need to be different values. The machining simulator will automatically
detect whether it is set for diameter or radius and load the appropriate offsets with no
user intervention required.

The cutting location on the part will be displayed in the color of the tool being used, allowing for easy
identification of the tool and cutting result.

D74C-0420-PB01/01 www.fanucamerica.com Page 69


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

4) Simulation
The selections available in ‘Simulation’ relate to what is displayed in the Main Display.

a) Reset Workpiece

Clicking will restore the display of the part to its original appearance.

b) Save Workpiece

Clicking opens a file save dialog box that can be used to save the workpiece (in its current
state) to an STL file. The STL file can then be opened with CAD software or opened later by the
simulation software using the appropriate ‘…Workpiece’ tab of ‘Configuration’.

D74C-0420-PB01/01 www.fanucamerica.com Page 70


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

c) Show Backplot

Clicking controls the visibility of the tool’s path. The backplot is color-coded to match the
selected color of the tool.

D74C-0420-PB01/01 www.fanucamerica.com Page 71


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

B. Displays tab
The ‘Displays’ tab controls the presence of up to three Child Displays that appear in the Main Display.

displays the ABSOLUTE coordinate that is being reported by the CNC.

displays the tool number and name of the currently active tool.

displays what type of workpiece was selected and associated dimensions.

D74C-0420-PB01/01 www.fanucamerica.com Page 72


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

Each Child Display contains three buttons:

Clicking ‘Options’ produces a menu of available settings for the display:

Clicking ‘Auto-Hide’ (or selecting it from ‘Options’) will


cause the display to reposition to the side of the Main
Display and only appear when you mouse-over or click on
the display’s name.

Clicking ‘Close’ (or selecting it from ‘Options’) will end


the appearance of the display.

Dragging the Child Displays to an arbitrary position causes them to ‘Float’ and allows you to place them
wherever you’d like.

Selecting ‘Dock’ from ‘Options’ will return the display to the right-hand side of the display.

C. About tab
The ‘About’ tab displays the version and creation date for your software.

D74C-0420-PB01/01 www.fanucamerica.com Page 73


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

5.4 Collision Detection


A collision (crash) will be detected between the machine and tooling, and between the tool holder and the
part. The affected areas turn red and, if sound is enabled, a crashing sound can be heard.

If the tool touches the part while the spindle is stationary, it is treated as a collision rather than machining.

D74C-0420-PB01/01 www.fanucamerica.com Page 74


FANUC Machining Simulation, Education Edition – User’s Manual FANUC America

Revision History
Edition Date Comments Section/ Related
Page S/W

D74C-0420-PB01/01 www.fanucamerica.com Page 75


FANUC America Corporation
CNC Solutions Engineering
For questions on information in this manual: [email protected]
For CNC technical support: 888-FANUC-US (888-326-8287)
Find more FANUC CNC product information at www.fanucamerica.com

Technical data is subject to change without prior notice. No part of this document may be reproduced in any form. All rights reserved.
© 2017 FANUC America Corporation
FANUC America Corporation Canada Mexico Brazil Argentina
1800 Lakewood Boulevard 6774-A Financial Dr. Av. Gustavo Baz # 2160 Edificio 4 PB Av. Professor CelestinoBourroul 414 Av. Juan de Garay 2275/2283
Hoffman Estates, IL 60192 Mississauga, ON LN5 7J6 Col. Fracc. Ind. La Loma São Pailo, SP 02710-000, Brazil C1256AAE Buenos Aires, Argentina
Tel: 888-FANUC-US (888-326-8287) Tel: 888-326-8287 Tlalnepantla, Mexico Tel: 55 11-3952-8888 Tel: 54 11-4942-8504
Fax: 847-898-5001 Fax: 905-812-0053 Tel: 52 555-010-3400 Fax: 55-11-3856-0848 Fax: 54 11-4942-1319
[email protected] Fax: 52 555-010-3410

Atlanta, GA Guelph Monterrey Belo Horizonte Buenos Aires


Boston, MA Montreal Querétaro Campinas
Charlotte, NC Toronto Caxias do Sul
Cincinnati, OH Curitiba
Cleveland, OH Manaus
Dallas, TX São Paulo
Denver, CO
Des Moines, IA
Detroit, MI
Ft. Wayne, IN
Hartford, CT
Houston, TX
Indianapolis, IN
Knoxville, TN
Long Island, NY
Los Angeles, CA
Milwaukee, WI
Minneapolis, MN
Nashville, TN
Philadelphia, PA
Phoenix, AZ
Pine Brook, NJ
Portland, OR
Rochester, NY
San Francisco, CA
Seattle, WA
St. Louis, MO
Tampa, FL
Tulsa, OK

www.fanucamerica.com
All rights reserved.
888-FANUC-US (888-326-8287) © 2017 FANUC America Corporation

You might also like