Você está na página 1de 45

Fanuc - PLC

Fanuc - PLC

Fanuc - PLC

VERSION

DATE

DESCRIPTION OF REVISION

DRAWN UP BY

00.00

04/10/13

DOCUMENT DRAFT

MARENGHI D.

01.00

31/10/13

PROCEDURE REVISION BCK/RST

FAUSTO ZANARDI

CHECKED BY

LORIS VALSECCHI

CFPxxxxxx/01 - 2 -

Fanuc - PLC

TABLE OF CONTENTS
Introduction ........................................................................................................................... 5
Purpose of document .............................................................................................................. 5
Description of Automation Project Parts .................................................................................... 5
NC Interface Description ......................................................................................................... 6
POS Position Screen ............................................................................................................. 8
PROG Program screen .......................................................................................................... 8
OFST Compensation/Setting Screen ...................................................................................... 9
SYS System Screen ............................................................................................................ 10
MSG Message Screen ......................................................................................................... 11
SYS - PMC MAINTE Submenu ................................................................................................ 13
SYS - PMC LADDER submenu ................................................................................................ 17
Ladder Diagram Monitor ........................................................................................................ 18
Software key [SCREEN SETTING]........................................................................................... 18
Ladder Editor ....................................................................................................................... 19
SYS - PMC CONFIG submenu ................................................................................................. 21
CNC state display ................................................................................................................. 23
Description of the PLC basic structure .................................................................................... 27
CNC functions and PLC functions ........................................................................................... 27
NC PLC interaction ............................................................................................................. 28
PLC Structure ....................................................................................................................... 29
Variable Nomenclature .......................................................................................................... 30
PLC project export ................................................................................................................ 33
PLC Debug ........................................................................................................................... 34
Further debug operations ...................................................................................................... 35
PLC Backup & Restore........................................................................................................... 36
PLC Backup: ......................................................................................................................... 37
PLC Restore: ........................................................................................................................ 38
PLC Restart: ......................................................................................................................... 40
Machine Parameter Saving .................................................................................................... 42
machine Parameter Loading .................................................................................................. 44
CFPxxxxxx/01 - 3 -

Fanuc - PLC

References ........................................................................................................................... 45

CFPxxxxxx/01 - 4 -

Fanuc - PLC

INTRODUCTION
PURPOSE OF DOCUMENT
This document is meant for assistance support; therefore its aim is simplifying the NC
operation and speeding up the diagnosis of any machining centre troubles.
For this purpose the following topics will be dealt with:
-

Description of the main parts of FANUC automation project

Description of the CNC interface

Description of the PLC basic structure

Description of PLC Debug operations

Description of Backup and Restore operations

DESCRIPTION OF AUTOMATION PROJECT PARTS


The figure below shows the various components which can be part of an Automation project
with Fanuc NC (such topics have been dealt with during Fanuc description - Release to
Service).

CFPxxxxxx/01 - 5 -

Fanuc - PLC

NC INTERFACE DESCRIPTION
The Operating surface in use is subdivided into sections:

POS

PROG (ctrl + F2) - display of program screens;

OFST (ctrl + F3) - display of compensator, origin, variable and language screens;

SYS

(ctrl + F1) - display of position screens;

(ctrl + F4) - display of system screen;


(parameters, screw pitch, servo, PLC, diagnostics, FSSB,
profibus, etc..)

MSG

(ctrl + F5) - display of message and alarm screen.

Press Ctrl + Fx to select the screens. With a 19in monitor it is possible to execute the same
command by pressing the keys located in the CMSControl screen:

Sundry submenus are present in each menu of the various screen pages.
In the following paragraph the passages are described necessary to access specific submenus; for
further details refer to manuals B63945IT / B63944IT.
There might be keys not appearing in the screen pages illustrated below but that will appear after
activating supplementary options.
NB: the keys in the figures refer to the English version.

CFPxxxxxx/01 - 6 -

Fanuc - PLC

To set the possible languages to select in the window below, as a first step set the parameters
described in the following table; more languages can be selected.

No.3282#0
No.3282#1
No.3282#2
No.3282#3
No.3282#4
No.3282#5
No.3282#6
No.3282#7
No.3283#0
No.3283#1
No.3283#2
No.3283#3
No.3283#4
No.3283#5
No.3283#6
No.3283#7
No.3284#0

JPN : Japanese
GER : German
FRE : French
CHT : Traditional Chinese
CHS : Simplified Chinese
ITA : Italian
HGL : Korean
SPN : Spanish
DTH : Dutch
DAN : Danish
POR : Portuguese
POL : Polish
HUN : Hungarian
SWE : Swedish
CZE : Czech
RUS : Russian
TRK : Turkish

If the parameters of the selected languages are active, press the key on the CNC SCREEN
interface to choose your language.

Press the LANGUAGE key and the following screen will appear for selecting the interface
languages that have been enabled.
Activate the selection by pressing the APPLY key:

CFPxxxxxx/01 - 7 -

Fanuc - PLC

POS POSITION SCREEN

N.B. to scroll
the pages
press the
softkey +
(F12)

ABS

Displays the absolute position

REL

Displays the relative position

ALL

Displays the position in all coordinate systems

MONI

Displays the position in all coordinate systems

3-D MANUAL Displays the manual intervention entity with handwheel in the three-dimensional
space.

PROG PROGRAM SCREEN

PROGRA

Displays the active program

FOLDER
etc..)

Displays the list of programs available in the selected directory (MTB1-MTB2- PRG1

NEXT Displays the command values of the currently running block and of the next block
RSTR Displays the operating screen page to restart an interrupted program.

CFPxxxxxx/01 - 8 -

Fanuc - PLC

OFST COMPENSATION/SETTING SCREEN

OFFSET

Selects the setting screen page of the tool compensations

SETTING

Selects the setting screen

WORK

Selects the workpiece coordinate setting screen page

MACRO/MACRO_AUX Selects the macro # variable setting screen page


PRECI_LEVEL
LANGUAGE
CMS

Selects the accuracy level setting screen page (macro dynamic)


Selects the language setting screen (only CNC interface screen)
Displays the (blue) screen page of CMS machining centre protocol

CFPxxxxxx/01 - 9 -

Fanuc - PLC

SYS SYSTEM SCREEN

PARAM

Selects the parameter setting screen page

DGNOS

Diagnostic page for various NC states and configurations (e.g. 302 code =
marker grid, etc)

SERVO GUIDE

Displays the servo guide screen page

SYSTEM

Displays the current system state (e.g. SW vers., etc)

PITCH

Selects the screw pitch compensation setting screen page

SERVO PARAM

Selects the view/setting screen page

PMC MAINTEN

Selects the PLC maintenance screen page (signal trace timer signal state
counter . keeprelay I/O link state PMC supply)

PMC LADDER

Selects the ladder screen page

PMC CONFIG

Displays the PMC function setting screen pages (symbols PLC messges
PLC state I/O link configuration).

MCNG TUNING

Displays the parameter and active level screen page relating to machining
centre tuning.

ALL IO

Selects the screen page for data I/O via memory card
CFPxxxxxx/01 - 10 -

Fanuc - PLC

COCLOR

Selects the screen page of display colour setting

MAINTE

Selects the screen page of periodical management component setting

M_INFO

Displays information on periodical maintenance

W-DGNS

Display of position error graphics, torque values, machining signals

FSSB

Selects the screen page of high speed serial axis bus setting

PRMTUN

Selects the tuning parameter setting screen page

EMBED PORT

Selects the screen page of the integrated Ethernet function setting screen
page (PCMCIA Ethernet card)

ETHNET SERVO

Selects the screen page of fast Ethernet setting

PROFI MASTER

Selects the screen page of master Profibus function setting

ID-INF

Displays the scren page of the NC identifier codes (4)

MSG MESSAGE SCREEN

CFPxxxxxx/01 - 11 -

Fanuc - PLC

ALARM

Displays the NC alarm messages

MESSAGE

Displays the operator messages (PLC)

HISTRY

Displays the details of the latest alarms occurred

EMBED LOG

Displays the integrated Ethernet error messages (PCMCIA card)

BOARD LOG

Displays the error messages relating to fast Ethernet / fast data server

SYSALARM

CFPxxxxxx/01 - 12 -

Fanuc - PLC

SYS - PMC MAINTE SUBMENU

[ STATUS ] Signal state screen page


Enter the address (full word, for example R1, not R1.1) whose content you
need to display and press the software key [SEARCH]
The full word is displayed with the various bits of the address required
To change a signal state, select the screen page for forcing the I/O by pressing
the software key [FORCE].

CFPxxxxxx/01 - 13 -

Fanuc - PLC

[ I/O ] Input/Output data screen page

PMC
PMC1

: PLC 1

DCSPMC

: safety PLC (DCS SAFETY)

MEMORY CARD

: Data reading / writing on a memory card

DEVICE

USB MEMORY : Data reading / writing


FLASH ROM

: Data reading / writing in the flash rom

FLOPPY

: Data reading / writing via floppy - cassette

WRITE

: Data writing on selected device

READ

: Data reading from selected device

FUNCTION

KIND OF DATA
SEQUENCE PROGRAM

: Machine logic (PLC)

PARAMETER

: PLC parameters (Timer, counter, keeprelay, data)

I/O CONFIGURATION : I/O Link i configuration


FILE NAME
Name of the file to read or assign.

CFPxxxxxx/01 - 14 -

Fanuc - PLC

By pressing the LIST key the content of the I/O directory is displayed; useful in the reading phase;
if there are more files inside that directory an individual number is shown, so as to point out the
file to be loaded by the NC.
By pressing the NEW NAME key a default name is assigned by the NC that is unique in the I/O
directory.

[TRACE]

Signal tracing screen page

SAMPLING/MODE
TIME CYCLE
(default)
SIGNAL TRANSITION

: Sampling based on a time period


: Sampling based on signal transaction

SAMPLING/RESOLUTION
Sampling resolution. The sampling value depends on the NC
(in the case in point 8ms).
SAMPLING/TIME
Set the sampling time. Leave the maximum value

Page 2 of parameter setting screen enables specifying the signals (via addresses or symbols) to
sample. Enter the addresses and press START. Enter the corresponding bit address, if a byte
address is specified, all the address bits are automatically selected (from 0 to 7).

CFPxxxxxx/01 - 15 -

Fanuc - PLC

After setting the parameters, it is possible to start tracing by pressing the software keys
sequentially [TRACE] [OPRT] and [START ] on the signal tracing screen page. The figure shows
a time-based tracing

CFPxxxxxx/01 - 16 -

Fanuc - PLC

SYS - PMC LADDER SUBMENU


Used for monitoring and editing of Ladder [PMC LADDER]:

The software key LADDER displays the program of the sequence dynamically and enables
monitoring. The editor screen page enables modifying the sequence program operation by acting
on the relays and the operating instructions.

CFPxxxxxx/01 - 17 -

Fanuc - PLC

LADDER DIAGRAM MONITOR


The Main software keys of LADDER DIAGRAM MONITOR screen page are as follows:

SOFTWARE KEY [SCREEN SETTING]

This window offers the possibility to set the way in which the logic, the function content and
various other options you need to display. The essential ones are pointed out below.

ADDRESS NOTATION

: Symbol > contact display via its symbol


(only if configured).
: Address > contact display via its address

CFPxxxxxx/01 - 18 -

Fanuc - PLC

FUNCTION STYLE

: Compact > Compact display of functional blocks

(contactors/comparisons/additions/subtractions)
: Wide/Tall > Displays the content of the functional blocks
(contactors/comparisons/additions/subtractions)

SHOW COMMENT OF CONTACT : NONE > display of the NET (PLC line) on
one line (recommended solution)
: 1 LINE/2LINE > view of NET on 1 or 2 lines

SHOW CURSOR

: Yes > cursor display / No > cursor elimination

LADDER EDITOR
The EDITOR LADDER PMC screen page allows editing the Ladder program so as to alter its
behaviour.
This screen page is selected by pressing the EDIT software key (above described in MONITOR
LADDER PMC screen page); it enables carrying out the following operations:

This screen page enables creating new logic blocks (net) and modifying the existing ones.

By pressing the ZOOM software key the operating mode is accessed (edit mode) which enables
modifying the logic block pointed out by the cursor.

CFPxxxxxx/01 - 19 -

Fanuc - PLC

CFPxxxxxx/01 - 20 -

Fanuc - PLC

SYS - PMC CONFIG SUBMENU

Press the MESAGE software key


In this environment the messages managed in the PLC logic are edited/created:

CFPxxxxxx/01 - 21 -

Fanuc - PLC

Press the EDIT key

Confirm PMC stop, YES key

Move the yellow bar over the


message or editable address and
press the ZOOM keyMove the
yellow bar over the message or
editable address.At this point press
the ZOOM key

Type in the text and press ENTER.


At the end press the EXIT ZOOM
key.

CFPxxxxxx/01 - 22 -

Fanuc - PLC

CNC STATE DISPLAY


Display descriptions

(1) Selected mode


MDI

: Manual data enter, MDI working

MEM

: Automatic working

RMT

: Automatic working (DNC working or similar)

EDIT

: Editing

HND

: Manual feed by handwheel

JOG

: Jog feed

INC

: Incremental feed

REF

: Manual return to the reference point

(2) Automatic working state


****

: Reset (state in which the program execution was completed and the
automatic working was ended. System state on turn-on).

STOP : Automatic working stop (the state in which


the automatic working was stopped at a block end).
HOLD : Suspension of automatic working (the state in which
block running was interrupted and the automatic working is stationary).
STRT : Automatic working started
(The state in which the system works automatically)
MSTR : Manual numerical control in operation. Alternatively, withdraw and
reposition the operating tool.
CFPxxxxxx/01 - 23 -

Fanuc - PLC

(3) Axis state


MTN

: Indicates that one or more axes are in motion.

DWL

: Indicates a stationary state.

***

: Indicates a state differing from the previous ones.

(4) Auxiliary function state


FIN

: Indicates the state in which an auxiliary function is operating.


(Wait for completion signal emitted by the PMC)

***

: Indicates a state differing from the previous ones.

(5) Emergency stop or reset state


---EMG--MG-- : Indicates an emergency stop
-RESET- : Indicates that a reset signal has been received.

(6) Alarm state


ALM ALM : Indicates the presence of an alarm.
BAT AT : Indicates that the lithium battery voltage (CNC backup battery)
has dropped.
APC APC : Indicates that the absolute encoder backup battery voltage
has dropped.
FAN AN : Indicates that the fan devolution speed has decreased.
Space

: Indicates a state differing from the previous ones.

(7) Hour
hh: mm: ss - Hours, minutes, seconds

(8) Program editing


INPUT

: Indicates that data input is under way.

OUTPUT : Indicates that data output is under way.


SEARCH : Indicates that a search is under way.
EDIT : Indicates that the editing mode is under way (enter, edit, etc).
LSK

: Indicates the label jump during data input.


CFPxxxxxx/01 - 24 -

Fanuc - PLC

RSTR

: Indicates that the program restart is under way.

COMPARE : Indicates that data comparison is under way.


OFST

: Indicates the selection of the measurement mode of


the tool length (systems for machining centres).

WOFS

: Indicates that the zero workpiece offset measurement mode is selected.

AICC1

: Indicates that the Contouring mode AI I is active.

AICC2

: Indicates that the Contouring mode AI II is active.

MEM-CHK : Indicates that the program memory check is under way.


WSFT

: Indicates that the zero workpiece offset writing mode is selected.

LEN

: Indicates that the system is in editing mode of active correction


(M series tool length correction).

RAD

: Indicates that the system is in editing mode of active correction


(M series tool radius compensation).

WZR

: Indicates that the system is in editing mode of active correction


(workpiece zero offset).

TOFS

: Indicates that the system is in editing mode of active correction


(M series tool radius corrections).

OFSX

: Indicates that the system is in editing mode of active correction


(tool correction along the X axis of the T Series).

OFSZ

: Indicates that the system is in editing mode of active correction


(tool correction along the Z axis of the T Series).

OFSY

: Indicates that the system is in editing mode of active correction


(tool correction along the Y axis of the T Series).

TCP

: Indicates that working occurs in control mode of


tool centre.

TWP

: Indicates that the system is in programming mode of commands in


the inclined work surface

Space

: Indicates thate there are no editing operations under way.

(9) Warning messages


When invalid data are input
(incorrect format, exceeding values, etc.),
When input is not enabled (wrong mode, disabled writing, etc.)

CFPxxxxxx/01 - 25 -

Fanuc - PLC

When an input/output operation is incorrect (wrong mode, etc.), a warning message


is displayed.
In these cases the CNC does not accept the operation (try the operation again after
removing the warning message cause).

(10) Control channel name


The name of the selected channel (process) is displayed.
PATH1: Indicates that the displayed state is channel 1 state.
The name displayed depends on setting the parameters from 3141 to 3147.
During program editing the editing state is displayed (8). Move the yellow bar over
the message or the editable address.

CFPxxxxxx/01 - 26 -

Fanuc - PLC

DESCRIPTION OF THE PLC BASIC STRUCTURE


CNC FUNCTIONS AND PLC FUNCTIONS
The main component of the automation project is the CNC (Computer Numerical Control (referred
to as NC from now onwards)) which carries out the following functions:
a) Part-Program interpretation and execution
b) Interpolation and axis handling control
c) Process Variable Management (#)
d) System parameterization

The Fanuc CNC machine logic exploits the Ladder programming language, which an integrated
library is appended to, containing the function blocks previously defined by Fanuc itself. To
develop the machine logic a proprietary software called FLADDED and residing on a common PC is
used. After being compiled and transferred into the NC memory, it is run by the same CPU of the
NC cyclically.

The PLC carries out the following tasks:


a)

Manages the Machine interface logic , that is, manages all the Inputs/Outputs
(digital/analog, local/remote) of the machine.

b) Informs the machining centre operator about any anomalies, detected via screen
messages or warning lights; attends to stop the machining centre functions temporarily or
definitively based on the seriousness of such anomalies.
c) Enables the workpiece machining process to progress (Part-Program) and checks that at
the beginning and end of each programmed block all necessary conditions exist to be able
to carry on machining.
d) Manages the requests made by the Part-Program via the M,S,T auxiliary functions.
e) Manages the requests made by the machining centre operator:
o
o
o

selects the operation mode of NC (AUTOMATIC, MDI, JOG, HOMING )


starts, stops and resets the machining process
manages the requests made via Softkey available on the PC OFFICE.

f) Manages the various automatic cycles so that they run concurrently with the machining
process.
g) Acquires process variable values and axis dimensions, checks axis-axis or axis-machine
frame collisions.

CFPxxxxxx/01 - 27 -

Fanuc - PLC

NC PLC INTERACTION
For data exchange between NC and PLC there are system memory areas, volatile memories,
retentive memories, various timer functions, counter, etc

F / G signals used for making requests to the NC and checking a state


R / E volatile memories used by the PLC for creating the logic
D non-volatile memories used by the PLC for creating the logic
X / I signals used and configured in the I/O LINK line

CFPxxxxxx/01 - 28 -

Fanuc - PLC

PLC STRUCTURE
The figure below shows an example of PLC application in Fanuc LADDER environment.

As illustrated by the figure the PLC is structured into more modules:


- Message

Message reserved area

- LEVEL 1 module

Fast logic sampled every 8ms

- LEVEL 2 module

Slow logic where all Subprograms are called up

The various Sub-programs called up in Level 2:


-

Axes

Lubr

Bloc

Pomp

Etc

In particular all inputs and outputs available in the machining project are set in the
INPUT/OUTPUT programs (if any). They are all retrieved from the R memories; this way if an I/O
changes, the modification will affect only that file.

CFPxxxxxx/01 - 29 -

Fanuc - PLC

VARIABLE NOMENCLATURE
The nomenclature of variables has been the target of a great effort of standardization, so as to
simplify the understanding of the various projects. The following tables describes the conventions
adopted.

TABLES OF SYMBOLS FOR I/O SIGNAL NOMENCLATURE


Convention adopted
nomenclatura.

for

machine

I/O SYMBOL

INPUTS
Derivative, generic,

INP

Flow switch

FL

Circuit breaker

QF

Motor-protective circuit breaker

QM

Braking resistance

RR

Selector

SA

Button

SB

Luminous button/selector

SH

Level sensor

SL

Pressure sensor

SP

Position sensor

SQ

Rotation sensor

SR

Temperature sensor

ST

Thermostat

TR

OUTPUTS
Derivative, generic,

OUT

Indicator light, lamp,

HL

Instantaneous relay

KA
CFPxxxxxx/01 - 30 -

Fanuc - PLC

Power contactors

KM

Electromagnetic brake

YB

Solenoid valve

YV

TABLE OF SYMBOLS FOR GLOBAL VARIABLE NOMENCLATURE


Legend:

xxxx

Name of block where the memory is set

System memory initials (S or M)

SYMBOL

VARIABLE

RANGE

VOLATILE MEMORIES 1 BIT

01

MM_xxxx

VOLATILE MEMORIES 8 BIT BYTE

0255

MB_xxxx

VOLATILE
MEMORIES
(UNSIGNED)

16

BIT

VOLATILE MEMORIES 16 BIT INT

WORD 065535

(SIGNED)

-3276832767

VOLATILE MEMORIES 32 BIT DOUBLE WORD 0294967295


(UNS.)

MW_xxxx

MI_xxxx
MDW_xxx
x

VOLATILE MEMORIES 32 BIT DOUBLE INT -21474836482147483647 MDI_xxxx


(SIGNED)

RETENTIVE MEMORIES 1 BIT

01

RM_xxxx

RETENTIVE MEMORIES 8 BIT BYTE

0255

RB_xxxx

RETENTIVE
(UNSIGNED)

MEMORIES

16

RETENTIVE MEMORIES 16 BIT INT

BIT

WORD 065535

(SIGNED) -3276832767

RETENTIVE MEMORIES 32 BIT DOUBLE WORD 0294967295


(UN.)

RW_xxxx

RI_xxxx
RDW_xxx
x

RETENTIVE MEMORIES 32 BIT DOUBLE INT -21474836482147483647 RDI_xxxx


(SIGN.)

CFPxxxxxx/01 - 31 -

Fanuc - PLC

TABLE OF SOME FUNCTIONS USED IN PROJECT DEVELOPMENT


Refer to the following table for any conventions adopted for the nomenclature of Functions,
Timers, Pulses, etc.:
Name function

No. of function

TMRB

24

Timer

CTR

Contactor

DIFU

57

Pulse leading edge

DIFD

58

Pulse trailing edge

NUMEB

40

Load a constant

MOVN

45

Load a value

JMP

10

Jump start

JMPE

30

Jump end

CALL

65

Conditional call

CALLU

66

Unconditional call

COMPB,GE,GT,LT,LE,EQ,NE

Description

Comparison

For further details refer to the FANUC PMC Programming manual


(code B-63983EN/04).

CONTACT TABLE

CFPxxxxxx/01 - 32 -

Fanuc - PLC

PLC PROJECT EXPORT


After writing the code you need to compile the project; then an export file will be generated for
transfer into the NC FROM memory:

When compilation is completed a report about detected errors or warnings will be displayed. In
case of errors you will need to resolve them, in case of warnings take signalling into account.
At this point it is possible to export the compiled file to load in the machining centre by clicking the
export icon shown in the following figure.
State the path where to export the file via the Memory-card format file option and press Next.

CFPxxxxxx/01 - 33 -

Fanuc - PLC

Press Finish to complete the operation and, after completing export, close and confirm by pressing
OK.

PLC DEBUG
The Debug operations are carried out in the PMCLADDER menu on the system screen.

All the ladder modules (axis, lubricant, pump, etc) are located on the right side. You can access
a single module or select GLOBAL. If GLOBAL is selected, you can view the whole code; the search
for the various signals is carried out inside it; the search for the single module to select is local.
After selecting PROGRAM, press the [LADDER] key so as to view the PLC diagram in full.

CFPxxxxxx/01 - 34 -

Fanuc - PLC

For signal research (fig.1 PMCLADDER submenu) [SEARCH MENU] key, enter the address to
search for and press the [SEARCH] key (search all contacts) or [W-SEARCH] (search the
set/reset/coil only).

FURTHER DEBUG OPERATIONS


They also exist in the system screen under the PMCMAINTE menu in the following submenus:
-

STATUS

TRACE

where it is possible to view or trace a signal state.

CFPxxxxxx/01 - 35 -

Fanuc - PLC

PLC BACKUP & RESTORE


The PLC Backup and Restore operations, the PLC parameters, the I/O Configuration are defined
below.

Right-click the Fanuc interface and then select the Data input/output option.

Select the path where to save the PLC, for instance C:\Partprg and click on OK.

To access the system screen page, press CTRL+F4 and + on the keyboard, until you display
the PMC MAINTE softkey; select PMC MAINTE, I/O (Iput/Output screen); the page below
will appear:

CFPxxxxxx/01 - 36 -

Fanuc - PLC

PLC BACKUP:

In the DEVICE field move the highlighter over MEMORY CARD by pressing the Arrow
buttons

In the FUNCTION field position the highlighter over WRITE by pressing the Arrow
buttons

In the KIND OF DATA field position the highlighter over SEQUENCE PROGRAM by
pressing the Arrow buttons

Select the OPRT softkey

select the NEW NAME softkey


In the FILE NAME field enter the name that will be attributed to the PLC file

Select the EXEC softkey


Saving starts and the message EXECUTING appears
The operation to perform must be confirmed by pressing the EXEC key; finally, if all is OK,
the notice COMPLETED appears.

For the complete Backup and Restore procedure, refer to the document Data Loading and
Saving.

CFPxxxxxx/01 - 37 -

Fanuc - PLC

PLC RESTORE:

In the DEVICE field move the highlighter over MEMORY CARD by pressing the Arrow
buttons

In the FUNCTION field position the highlighter over READ by pressing the Arrow buttons

Press the OPRT softkey

Press the LIST softkey


The list of files residing in the selected folder appears

Position the highlighter over the file to load

Press the SELECT softkey


In the FILE NAME field the name of the selected file appears

CFPxxxxxx/01 - 38 -

Fanuc - PLC

Press the EXEC softkey

Press the EXEC softkey again


Loading starts, the message EXECUTING appears.
When completed the message COMPLETED appears.

At this point a message will appear signalling that the PMC will STOP to allow continuation.

Beware: When loading is completed, if the PLC is not stored in the FLASH memory it
will be lost on first NC turn-off.
CFPxxxxxx/01 - 39 -

Fanuc - PLC

For saving select FLASH ROM, WRITE and confirm with EXEC.

PLC RESTART:

To restart or stop the PLC cycle there are two solutions, in the SYS (CTRL+F4) mode:

Inside the PMCLADDER menu

Inside the PMCCONFIG menu.

From PMCLADDER menu, select LADDER OPRT EDIT + - RUN YES


From PMCCONFIG menu, select PMC STATUS OPRT RUN YES

CFPxxxxxx/01 - 40 -

Fanuc - PLC

PMCCONFIG menu
The description of the RUN or STOP
key indicates the action that will be
performed.
The PMC state is pointed out on the
top left side.
Press the F5 key.

Request of confirmation of the action


to perform.

Always check on the top left side that


the operation has been carried out
successfully.

CFPxxxxxx/01 - 41 -

Fanuc - PLC

MACHINE PARAMETER SAVING


The procedure attends to export the machine parameters into a .txt file. First the destination folder
must be set (see chapter PLC Backup & Restore).

Activate the EDIT mode

Press CTRL + F4 buttons concurrently until viewing the PARAM softkey

Activate the PARAM softkey

Activate the OPRT softkey

Press the + softkey until viewing the PUNCH softkey

Activate the PUNCH softkey

Press the EXEC softkey

The OUTPUT blinking message will appear, as in the figure:

CFPxxxxxx/01 - 42 -

Fanuc - PLC

On transfer completion the message disappears


The file is stored in the path specified in the Input Output, typically: C:/Partprg with the
name CNC-PARA.Txt.

CFPxxxxxx/01 - 43 -

Fanuc - PLC

MACHINE PARAMETER LOADING


The procedure establishes how to import the machine parameters residing in the CNCPARA.Txt file. First the destination folder must be set (see chapter PLC Backup & Restore).
The file is stored in the path specified in the Input Output, typically: C:/Partprg with the name
CNC-PARA.Txt.

Activate the EDIT mode

Press CTRL + F4 buttons concurrently until viewing the PARAM softkey

Activate the PARAM softkey

CFPxxxxxx/01 - 44 -

Fanuc - PLC

Activate the OPRT softkey

Press the + softkey until viewing the READ softkey

Activate the READ softkey

Press the EXEC softkey

The INPUT blinking message appears.

On transfer completion the message disappears.

REFERENCES
Document: Messa in servizio Fanuc.doc
Document: 31CarPLC.doc
Document: 31SalPLC.doc
Document: 31SalParMach.doc

CFPxxxxxx/01 - 45 -

Você também pode gostar