Sie sind auf Seite 1von 16

Memex DNC Upgrade

for Fanuc 3M-C


Installation Instructions and Operator’s Manual

Memex Automation Inc.


777 Walkers Line
Burlington, Ontario Canada L7N 2G1
Phone: 905-635-3040 Fax: 905-631-9640
www.memex.ca

©2006 Memex Automation Inc. All rights reserved. No part of this manual may be reproduced without prior written approval.
Memex does not accept liability for the use of this manual.

\ISO9000\DOCs\M100727B - MAI DNC for Fanuc 3MC Manual.doc


Contents

Table of Contents
Chapter 1 – Introduction ......................................................................... 3
General ..................................................................................................... 3

Applicable Master Boards ......................................................................... 3

Locating EPROM Modules ........................................................................ 3

Chapter 2 - The Basics ............................................................................ 4


Installation Considerations ........................................................................ 4

Backup Critical Parameters ....................................................................... 4

Verify Your Control .................................................................................... 4

Chapter 3 - Installation for Fanuc 3 ...................................................... 5

Back Up Your Control ............................................................................... 5

Parameter Setting for Punching ......................................... 5

NC Parameters .................................................................. 5

PC Parameters .................................................................. 6

Part Programs ................................................................... 6

Tool Offsets ....................................................................... 6

Installation Procedures for Fanuc 3 ....................................................... 7

Restoring Your Fanuc 3 ......................................................................... 8

Chapter 4 – Using the DNC Option ......................................................... 10

Chapter 5 – Appendix ....................................…...................................... 12

Technical Summary for Fanuc 3 ........................................................... 12

Parameter Worksheet ............................................................................ 13

M100727B
Page 2
Chapter 1 – Introduction

Introduction

General

The following instructions are for the addition of DNC for the Fanuc System 3M-Model C
control. This upgrade is designed to eliminate hardware limits for part program size, giving the
ability to run part programs of any length. The supplied EPROMs will replace your existing
software and enable DNC on your system. These instructions will assist you in completing the
software upgrade for your 3M-C control. Please read through this document completely to
familiarize yourself with the installation before actually performing your upgrade.

Fanuc 3 Master Boards

3M-A No 3M-B Made 3M-C


A20B-0008-0200 N/A A16B-1000-0010

Locating EPROM Modules (see page 15 for picture)

A16B-1000-0010

M1 52 42 12 02
M17 M16 M15 M14

M2
51 41 11 01

EPROMs

M3

M100727B
Page 3
Chapter 2 – The Basics

The Basics
Installation Considerations
The installation of the EPROM modules should be conducted with care. Never install or remove
a board with the control power on (the main power can be on, but not the control). Take care
with the handling of the integrated circuits, as they are static sensitive. Do not place the IC’s in
any other sockets than as per page 3. Do not force, drop or otherwise mishandle the modules
during the installation procedure and always check the functionality of the machine at the end of
the installation (i.e. move the axes, perform a tool change, run a program, etc).

Backup Critical Parameters


For all upgrades it is very important that you have a hard copy back up of all your control’s
critical parameters. The following instructions will assist you in dumping a majority of the Fanuc’s
parameters to a PC to be saved. However, it is still advised to keep or make, if you haven’t
already, a written copy of ALL the critical parameters. You can use the Parameter Sheets in the
Appendix of this manual to write down all Settings, NC-Service, PC and Work Offset parameters.
Be sure that all of the files you downloaded have been successfully recorded and saved on your
computer before performing the upgrade to your control.

Verify Your Control


Once the memory modules have been installed and all parameters have been restored, satisfy
yourself that the control is working properly.

Test the machine by the following procedure through either MDI or program:
• Home all axes, tool-changers and pallets.
• Check spindle functionality through all speeds and gear ranges.
• Check also clockwise and counter-clockwise rotation with M3 and M4
commands.
• Check the tool changer. Be sure that the tool you received was the tool
requested and that the carousel rotates in the proper direction.
• Check the pallet changer (if applicable). If your machine requires special
custom macros for a pallet changer or tool changer, be sure that they
have been loaded.

Once your machine has been proven, you have successfully upgraded your control.

M100727B
Page 4
Chapter 3 – Installation for Fanuc 3

Installation for Fanuc 3

Backup Your Control


Before starting the installation, power on the control and verify that the machine tool is in good
working order.

I. Parameter Settings for Punching

Set up your control for serial port communications. Note that the software you are using must be
set to the same settings for communication as your control (ie; 9600 BAUD, Even Parity, 7 Data
Bits and 2 Stop bits).

II. PUNCHING CNC NC PARAMETERS (CNC - PC)

• Connect the Fanuc serial cable between the serial ports on your computer and the CNC.
• Set up your computer with a terminal software program (Telix / ProCom+ / Hyper Terminal).
• Perform the following steps on the PC and CNC as follows:

PC-- Set your terminal program to receive a file.

PC-- Enter a file name to record the NC parameters. ie; #103.NCP (103 being the machine #)

CNC-- Go into EDIT mode.

CNC-- Make sure the “Memory Protect” key is off.

CNC-- Select the PARAMETER screen and enter P-9999 and then press OUTPUT.
(The PC will display the text and count lines until finished.)

PC-- Save the file you just received from the CNC on the computer.

• Repeat for Pitch Error Compensation (ie; filename #103.PEC) using P-9998 and then
OUTPUT.

III. RECORD THE PMC PARAMETERS

You must manually copy down on paper (see page 13) ALL of the Diagnostic parameters off the
DIAGNOSTIC screen.

M100727B
Page 5
Chapter 3 – Installation for Fanuc 3

IV. PUNCHING CNC PART PROGRAMS (CNC - PC)

• Perform the following steps on the PC and CNC as follows:

PC-- Enter a file name to receive the NC parameters. ie; #103.PRG (103 being the machine #)

CNC-- In EDIT mode, with the “Memory Protect” key off, select the PROGRAM screen and enter
P-9999, then OUTPUT.

PC-- Save the file you just received from the CNC on the computer.

V. PUNCHING CNC TOOL AND WORK OFFSETS (CNC - PC)

• Perform the following steps on the PC and CNC as follows:

PC-- Enter a file name to receive the NC parameters. ie; #103.TOF (103 being the machine #)

CNC-- In EDIT mode, with the “Memory Protect” key off, select the OFFSET screen and then
enter in P-9999 then OUTPUT.

PC-- Save the file you just received from the CNC on the computer.

VI. PUNCHING MACRO VARIABLES

• Perform the following steps on the PC and CNC as follows:

PC-- Enter a file name to receive the macro variables. ie; #103.MAC (103 being the machine #)

CNC-- Select the MENU screen and enter P-9999, then OUTPUT.

PC-- Save the file you just received from the CNC on the computer.

VII. RECORD THE SETTING DATA

Press PARAMETERS key to display the Setting Data Screen. You can record all of the Setting
Data down on page 13.

M100727B
Page 6
Chapter 3 – Installation for Fanuc 3

Installation Procedures for Fanuc 3

Make a printout of your .NCP parameter file. When you are confident that you have completely
saved all of your CNC information, you will be ready to proceed with your EPROM upgrade.

The software EPROMs are located on the Masterboard (see page 3). Locate this board in your
machine control cabinet.

• Check that you have received all of the information out of your CNC control. Check also that
any Custom Macro Variables have been written down and recorded.

1. Power OFF the control and the machine. Open the cabinet door to expose the control’s Master
Board.

2. Clearly label all of the cables, daughter boards and their locations that are connected to the
Master Board. Once all the cables and boards are labeled, you can loosen and remove the
cables and daughter boards using a screwdriver.

3. Put on an anti-static wrist strap and clip the other end of it to the GND post in the top corner of
the Master Board or just be sure your are well grounded. Locate the EPROM socket positions
001, 002, 011, 012, 041, 042, 051 and 052 on the Master (see page 3). This is where you
have to replace the EPROM modules, you can use a small screwdriver or a chip puller to
carefully remove them.

4. One by one, remove the modules from the kit being very careful not to bend the legs.
Optionally apply a drop of the anti-oxidant Stabilant-22A solution to the pins of the memory
module. This will ensure a positive electrical connection between the pins. It will also act like a
lubricant during insertion.

5. Orient the module above the socket with the “notch” in the same direction as the “notch” in the
socket (pointing down). Place one row of pins in the socket, then with a little sideways
pressure put the second row in. With steady pressure, push the memory module down into the
socket. Check that none of the pins have bent in during this process. Repeat this step for the
remaining module.

6. Again, check your work before replacing any daughter boards back in the control. After you
replace the daughter boards and restore all of the cable connections, check your work. After
you are confident that every cable has been correctly connected, power up the control.

M100727B
Page 7
Chapter 3 – Installation for Fanuc 3

Restoring your Fanuc 3


Assuming everything went smoothly, you shouldn’t need to reload any parameters. If as a
precaution you removed the battery connection while performing the upgrade or have lost any
data, you will need to reload your parameters before finishing the upgrade. If your control is
operating the same as before the installation then you can skip ahead to Using the DNC Option
(page 10). Otherwise, use the following steps to reload you control’s parameters first.

I. RESTORING THE SYSTEM PARAMETERS

With the Emergency Stop button depressed, set the PWE parameter on. Select MDI mode and go
to the PARAMETERS screen. Write the original value to parameters 002, 014, 68 and 69. Restore
data in the Settings Screen.

II. READING CNC PARAMETERS (PC - CNC)

• Set the PWE parameter, then press DGNOS/PARAM, [PARAM] and set up the CNC
communication parameters.

CNC-- In EDIT mode, select the PARAMETER screen and press P-9999 INPUT.

PC-- Send the file with the .NCP extension to the control. When the parameters have been
received, power OFF the control, then power it ON again.

• Repeat using P-9998 INPUT for Pitch Error Compensation (send .PEC file).

III. WRITING THE PC PARAMETERS

You must manually input all of the diagnostics parameters back into the control. At the end of
entering what you can, cycle the power completely (that is power off even back to the main
breaker - this resets the servo).

IV. READING CNC TOOL OFFSETS

• Perform the following steps on the PC and CNC as follows:

CNC-- In EDIT mode, on the Program Screen, press O0001, then INPUT.

M100727B
Page 8
Chapter 3 – Installation for Fanuc 3

PC-- Send the file with the .TOF extension to the control. This should reload all of your tool
offsets as program O0001. Once the file has been sent, press RESET.

CNC-- Execute this .TOF file to set the Tool Offsets.

CNC-- Delete this file from the Programs in the CNC.

V. READING CNC PART PROGRAMS

• Perform the following steps on the PC and CNC as follows:

CNC-- In EDIT mode, with the memory protect KEY switched off, press O-9999 INPUT.

PC-- Send the file with the .PGM extension to the control. This should reload all of your
programs.

NOTE: Don’t forget to reset parameter 10 if you had previously changed it. That will protect your
macro programs (if applicable).

VI. READING MACRO VARIABLES

• Perform the following steps on the PC and CNC as follows:

CNC-- In EDIT mode, go to the MACRO variables screen and press INPUT.

PC-- Send the file with the .MAC extension to the control.

After a complete test - including exercising the tool changer if applicable - you will have completed
your installation.

Fanuc Serial Cable:

Pin 1 Frame Ground Pin 4 Request to Send Pin 7 Signal Ground


Pin 2 Transmit Data Pin 5 Clear to Send Pin 8 Carrier Detect
Pin 3 Receive Data Pin 6 Data Set Ready Pin 20 Data Terminal Ready

Normally pins 6, 8 & 20 are jumpered on the Fanuc side. Also pins 2 & 3 are usually crossed, as
are 3 & 4, when connected to a PC with a DB25 connector.

Note that Fanuc has +24 volts DC (3.2 Amps) on pin 25!

M100727B
Page 9
Chapter 4 – Using the DNC Option

Using the DNC Option

I. DEALING WITH SUB PROGAMS

It is not possible to use Sub Programs (ie; for tool changes) with this DNC upgrade. You will have
to replace any sub program calls (M98 P----) with the entire sub program. If you are using
Spectrum Multi-DNC software go to SETUP menu, Sub Programs screen and set it to replace any
sub program calls.

Main Program
O1234
N001 G92 X0 Y0 Z0
N002 G00 X300 Y3500 Z0
.........................................
N1001 M98 P9001
N1002 X-350 Y450 Z140
.
.
M30

Sub Program
O9001
N5000 X500 Y600 Z200
M99

Program from PC
O1234
N001 G92 X0 Y0 Z0
N002 G00 X300 Y350 Z0
........................................
N5000 X500 Y600 Z200
N1002 X-350 Y450 Z140
.
.
M30

Sub Program 9001 should be in Multi-DNC sub directory (refer to Spectrum DNC manual).

M100727B
Page 10
Chapter 4 – Using the DNC Option

II. OPERATION IN DNC MODE

This DNC software uses AUTO mode and runs the programs directly from a computer. Programs
are not stored in the C-MOS Memory. Selecting between standard (C-MOS memory) or DNC
mode of operation in the AUTO mode is done by setting the I/O=0 for MEMORY mode or 1 for
DNC mode.

• Go to MDI mode
• Select the PARAMETER Setting screen
• Set I/O = 1
• Go to AUTO mode
• Press RESET to clear memory buffers, then press the START button and the system will run
the program being sent from the computer.
• Using Spectrum Multi-DNC you can set it up to send the same program several times.
• To get back to memory mode you must set I/O = 0 on the PARAMETER Setting screen.

M100727B
Page 11
Chapter 4 – Appendix

Appendix

Technical Summary for Fanuc 3


PUNCHING
Punch NC Parameters - EDIT mode, PARAMETER screen, P-9999, OUTPUT/START
Pitch Error Compensation - EDIT mode, PROGRAM screen, P-9998, OUTPUT/START
Punch Programs - EDIT mode, PROGRAM screen, O-9999, OUTPUT/START
Punch Tool Offsets - EDIT mode, OFFSET screen, P-9999, OUTPUT/START

READING
Load NC Parameters - Param enable, EDIT mode, PARAMETER screen, P-9999, INPUT
Pitch Error Compensation - EDIT mode, PROGRAM screen, P-9998, INPUT
Load Programs - EDIT mode, PROGRAM screen, O-9999, INPUT
Load Tool Offsets - EDIT mode, OFFSET screen, P-9999, INPUT

Standard Fanuc Serial Port: (DB-25 Female)


1 = Frame Ground 6 = Data Set Ready
2 = Transmit Data 7 = Signal Ground
3 = Receive Data 8 = Carrier Detect
4 = Ready To Send 20= Error (Data Terminal Ready)
5 = Clear To Send 25= +24 Volts

The usual software handshaking cable configuration has 2, 3 crossed & 7 connected straight through (with
4&5 jumpered - or used if hardware handshake lines are preferred) and pins 6,8 & 20 jumpered on the
control side only.

Fanuc Protocol: (E,7,x)


The standard protocol for Fanuc controls is Even parity, 7 data bits and either 1 or 2 stop bits
(see Parameters 101, 111, 121 and 131 above).

Note: If you need DNC software, please check out our Multi-DNC software at www.memex.ca.

M100727B
Page 12
Chapter 4 – Appendix

Fanuc System 3 Machine Parameter Worksheet


Company:_________________________________ Machine No.:________________ Date:_________________
Fanuc 3A / 3C UP Software Version: _______________ Masterboard No.:_____________________
Setting Data Screen
REVX INCH
REVY I/O
TVON ABS
ISO SEQ
NC-Service Parameters
Par.# Value Par.# Value Par.# Value Par.# Value Par.# Value
0 26 38 59 80
1 27 39 60 81
2 28 40 70
3 29 45 71
7 30 51 72
8 31 52 73
9 32 53 74
15 33 54 75
16 34 55 76
17 35 56 77
21 36 57 78
25 37 58 79
PC-Parameters
Timers Counters Keep Relays
No. Data No. Data No. Data No. Data No. Data
600 1001 1021 2001 3013
601 1002 1022 2002 3014
602 1003 1023 2003 3015
603 1004 1024 2004 3016
604 1005 1025 2005 3017
605 1006 1026 2006 3018
606 1007 1027 2007 3019
607 1008 1028 2008 3020
608 1009 1029 2009 3021
609 1010 1030 2010 3022
610 1011 1031 Keep Relays 3023
611 1012 1032 3000 3024
612 1013 1033 3001 3025
613 1014 1034 3002 3026
614 1015 1035 3003 3027
615 1016 1036 3004 3028
616 1017 1037 3005 3029
617 1018 1038 3006 3030
618 1019 1039 3007 3031
619 1020 1040 3008 3032
3009 3033
3010 3034
3011 3035
3012 3036
Par.# = Parameter Number

M100727B
Page 13
Chapter 4 – Appendix

Fanuc System 3 Machine Parameter Worksheet (2)

1. WORK OFFSET
00 01 02 03
X
Y
Z

Relative 04 05 06
X
Y
Z

M100727B
Page 14
Chapter 4 – Appendix

Marked Fanuc 3MC EPROMs to Replace

M100727B
Page 15
Chapter 4 – Appendix

Memex Automation Inc.


777 Walkers Line
Burlington, Ontario
Canada L7N 2G1
Phone: 905-635-3040 Fax: 905-631-9640
www.memex.ca

Thank you for choosing Memex for your


Manufacturing Connectivity Solutions

M100727B
Page 16

Das könnte Ihnen auch gefallen