Fanuc System Diagnostics
Fanuc System Diagnostics
Diagnostics
M SERIES
X016.5 Deceleration Signal for Reference Return X
X017.5 Deceleration Signal for Reference Return Y
X018.5 Deceleration Signal for Reference Return Z
X019.5 Deceleration Signal for Reference Return 4
T SERIES
X016.5 Deceleration Signal for Reference Return X
X017.5 Deceleration Signal for Reference Return Z
X018.5 Deceleration Signal for Reference Return 3
X019.5 Deceleration Signal for Reference Return 4
M SERIES
G105.0 Servo Off Signal X
G105.1 Servo Off Signal Y
G105.2 Servo Off Signal Z
G105.3 Servo Off Signal 4
T SERIES
G105.0 Servo Off Signal X
G105.1 Servo Off Signal Z
G105.2 Servo Off Signal 3
G105.3 Servo Off Signal 4
If the Edit Protect key is on you can input characters on the buffer line
but they will not be inserted into the program.
D700 7 6 5 4 3 2 1 0
CSCT CITL COV2 CINF CDWL CMTN CFIN
CSCT
Control is waiting for the speed arrival signal of the spindle to turn on.
CITL
Interlock is turned on.
COV2
Override is 0%.
CINF
In-position check is done.
CDWL
Dwell is being executed.
CMTN
Move command is being executed in automatic operation mode.
CFIN
M,S,T functions are being executed.
D701 7 6 5 4 3 2 1 0
CRST CTRD CTPU
CRST
Emergency Stop, External Reset, or Reset Button on MDI panel is turned on.
CTRD
Data is being input via Reader/Punch Interface.
CTPU
Data is being output via Reader/Punch Interface.
D712 7 6 5 4 3 2 1 0
STP REST EMS RSTB CSU
REST
This flag is set when the External Reset, Emergency Stop, or Reset button is
turned on.
EMS
This flag is set when the Emergency Stop button is turned on.
RSTB
This flag is set when the Reset button is turned on.
CSU
This flag is set when the Emergency Stop button is turned on or a Servo
Alarm occurs. Check Diagnostics 800 - 803.
D800 - SVERRX
SVERRX
D801 - SVERRZ
SVERRY
D802 - ------
SVERRZ
D803 - ------
SVERR4
D720 7 6 5 4 3 2 1 0
OVL LV OVC HCAL HVAL DCAL FBAL OFAL
OFAL
An overflow alarm has occurred.
FBAL
A wire disconnection alarm has occurred.
DCAL
An alarm of regenerative discharge circuit has occurred.
HVAL
An over voltage alarm has occurred.
OVC
An excessive current alarm has occurred.
LV
An under voltage alarm has occurred.
OVL
An overload alarm has occurred. (Alarm 400 - 402 ) Power transistor heat sink or
Discharge unit overheat or motor overload.
Corresponding LEDs.
ALARM LED
DCAL DC
HVAL HV
HCAL HC
LV LV
OVL OH
Diagnostic 720 is for the X Axis, 721 Y Axis, 722 Z Axis, 723 4th Axis.
D27 7 6 5 4 3 2 1 0
(T) PCS ZRNM ZRNL
(M) PCS ZRN4 ZRNN ZRNM ZRNL
ZRNL
One rotation signal of pulse coder for L axis is on.
ZRNM
One rotation signal of pulse coder for M axis is on.
ZRNN
One rotation signal of pulse coder for N axis is on.
ZRN4
One rotation signal of pulse coder for 4th axis is on.
PCS
One rotation signal of pulse coder for spindle is on.
027 One revolution signal from pulse coder and position coder.
821 Y (M) Z (T) axis machine tool position from the reference point.
822 Z (M) axis machine tool position from the reference point.
823 4th axis machine tool position from the reference point.
Diagnostic 720 is for the first (usually X) axis, 721 is the second (Y for a mill, Z
for a lathe) etc.
Also check the Servo Amp for and LED indication of the alarm.
If you have one of these bits turned on but there is no LED indication on the
amplifier, check the amps operating voltages.
The Diagnostic or Keep Relay lists of some machines will show certain bits as
UNUSED or NOT USED. Quite often this will indicate that those bits are Fanuc
defined. They may have significance to the operation of the control as it relates to
the operation of the machine. This becomes important if you load the PMC into the
control and the bits get reset.
You have to be very careful about changing Keep Relays and Diagnostics because
of how machine builders use them throughout the ladder. Setting these wrong can
cause some bizarre behavior. In the case of an Ecoca SJ-20 this can mean the turret
will index fine at home (G28 U0 W0) but will hang up any where else. In this case,
the hang up is not as simple as the turret not starting the index or a turret alarm
being issued, it may cause the turret to overshoot in one direction or the other or
both or undershoot in one direction or both or to undershoot on one tool but
overshoot another, etc.
Bit 7 of Diagnostic 760-767 does not indicate and alarm when a serial pulse coder
is used it should be 1.
Sometimes a machine with a Fanuc control will use data bits in the ladder to
function as diagnostic bits or keep relays. These will be denoted with D (i.e.
D0009.6). This is a G.DATA bit and works like a keep relay, in that, making its
value equal 1 will normally have the effect of enabling something in the ladder, but
just as with keep relays this is determined by the instruction which is associated
with the data bit. An important point is that the G.DATA values are displayed as
decimal numbers and normally you will be changing only one bit as previously
mentioned D0009.6 so you will have to convert the bit that needs to be changed to
a decimal number and enter it, if the current value of the address (D0009) is 0 or
add the new value to the current value if it is something other than 0. For example,
if you are trying to enable some function in the ladder (parts catcher, bar feeder,
etc.) and the instruction that has the function disabled is D0009.6 and this
instruction is an Examine On instruction (this is explained later) then you will need
to change the value of D0009.6 from 0 to 1. The first thing you need to know is
how to convert the bit information to decimal. When you look at the G.DATA
table you will see:
G.DATA
Scroll down to the data address you need to change. A data value of 16 is
equivalent to a binary value of 00010000. The bits are assigned decimal values
based on their position in the eight bit binary number. The least significant bit (first
from the right) is assigned a value of 1, the next bit from the right is assigned a
value of 2, the third bit is assigned a value of 4 and so on until the most significant
bit (first from the left) is assigned a value of 128.
Decimal 128 64 32 16 8 4 2 1
Binary 0 0 0 0 0 0 0 0
So, using our example of D0009.6, if the current value of D0009 is equal to 0 you
would change bit 6 to 1, bit six has been assigned a value of 64 so you would enter
64 as the value for D0009. If, however, the current value of D0009 was something
other than 0, let’s say, 32 which tells us that D0009.5 equals 1 you would have to
add to the two values together to avoid setting bit 5 to 0. So just add the 64 to the
32 and enter a decimal value of 96. The control interprets this and sets bits 5 and 6
to 1. Changing a bit from 1 to 0 is the same, just using subtraction instead of
addition.
Most of the Keep Relays used on a control are used by the machine builder but
there are a few which are defined and used by Fanuc, they are K16, K17(K900),
K18(K901) and K19(K902). These are reserved for use by the PMC control soft-
ware and cannot be used for any other purpose.
76543210
K16 MWRTF2 MWRTF1
Servos
If you have an axis problem you can insert a dummy plug into the Servo Amp axis
plug to loop back the signals to differentiate between a true axis problem and an
amplifier problem.
For excessive axis noise and vibration adjust the Servo Tuning Parameters. The
Proportional Gain parameter is the most effective but normally requires a large
change in value to produce a noticeable result. Adjusting the Filter Parameter can
help sometimes. Adjusting either too far will cause the Excessive Servo Error
alarm.
If the displayed position does not match the actual movement, check the Servo
Parameter Page. In particular check the Feed gear and Ref. Counter values.
If the Feed gear number is set too low, the machine will display a position greater
than the actual movement. If the number is too high, the machine will display a
position less than the actual movement.
When tuning a servo, increase the gains one at a time. Increase until the motor
starts to vibrate while at rest then decrease the value by 20%.
When working with an older Servo Amplifier(Velocity Control Unit), there are
three adjustments to be aware of. These are potentiometers RV1, RV2 and RV3. In
the event of an amplifier which drives more than one motor these will be arranged
RV1-RV3 from top to bottom and X to Z from left to right. Adjustment of these is
almost always necessary after replacing an amplifier with a new one or even when
putting a repaired one back in to service. In this case, also be aware of the jumpers
or shorting pins on the drive which may be different as well. It’s a good idea to
record these settings before sending the unit to Fanuc. RV1 is the Gain adjustment.
The most obvious symptom of a need for adjustment of this one is rough or jerky
movement of the motor. RV2 adjusts the position deviation amount while the axis
is at rest. Ideally, this should be zero and is easily attainable with this adjustment.
The exception is for a gravity axis such as the X axis on a turning center. The
deviation will normally move between 1 and 2 due to the effects of gravity. The
deviation amount can be monitored by diagnostic function. In the case of a zero
control on a lathe this is Diagnostic 800 for the X axis and 801 for the Z axis. Once
this is adjusted for zero or very close to it, the deviation amount in each direction
will be the same value. This adjustment is critical to operation of the machine
because if the position deviation amount is too great, the machine will not operate
as it should. Programs will not execute in MDI or AUTO. The spindle will not run,
etc. The determining factor in this is the value set it Parameter 500 for X, 501 for
Z. This parameter is the In Position Width. The control compares the value of this
parameter to the value in Diagnostic 800, 801, etc. If the value in the diagnostic
exceeds the value set in the parameter bit 3 of Diagnostic 700 is set to 1.
Diagnostic 700.3 is the IN-POSITION CHECK (CINP). If this bit is set to 1,
automatic operation will not execute. Another thing you will find is that commands
whether given in Auto or MDI will not be performed. For example, if you
command M3 in MDI mode, press Cycle Start, the Cycle Start lamp will turn on,
BUF will be displayed on the CRT showing that the command was read into the
memory buffer but will not be acted upon. The same is true for a tool (T)
command or speed (S) command. In addition, the spindle will not start. A more or
less typical value for the In-Position Width is 20. This is in Detection Units. RV3
adjusts the deviation amount while the axis is in motion. The difference between
actual position and commanded position while in motion is known as LAG and is
relative to feedrate. As the feedrate increases so too does the lag. Sometimes the
lag can become excessive and cause servo problem. To adjust the lag, move the
axis while watching Diagnostic 800, 801, etc. Rotate RV3 clockwise to decrease
the amount of deviation.
Newer Fanuc motors always come with a pulse coder but there was a time when
they could be bought without one. Typically this is true for controls Series 6 and
older. The number on the nameplate indicates if a pulse coder is supplied or not.
The part of the number that determines this is the last two digits. If the last two are
either 05 or 25, no pulse coder is supplied. There may be other numbers which fit
this description but motors with these two numbers never have pulse coders. It is
hard to determine by physical appearance if a pulse coder is supplied because the
motors use the same end cap and cable connector for the tacho-generator so a
motor with a tach will look the same from the outside as one with a pulse coder.
If you replace the motor or pulse coder on a Fanuc servo motor you must perform a
grid shift for the axis unless you can put the pulse coder back in the same location
radially relative to the axis position. This is very hard to do in some cases because
of the coupling device not being keyed, etc. This is normally a problem only when
the entire motor is replaced. Generally speaking, the pulse coders have a slot
across the face of the shaft which matches a slot in the shaft of the motor by way of
a driver that goes between them. In this case, as long as the the motor's position is
not change between the time that the pulse coder is removed and replaced then
there are only two possibilities. Either the axis position will be correct or the pulse
coder will be out by 180 degrees which will result in an error of half a revolution
of the ball screw. Sometimes the error can go unnoticed if the machine operator
goes ahead and re-touches the tools on that axis without checking actual position
first and if they are not using all of the travel on the axis.
Servo parameter settings are determined by the Motor I.D. number. This is a two
digit number which is defined by parameter. In the case of a 0 control, it is set in
parameter 8120 for the X axis, 8220 for Y, 8320 for Z, etc. To determine the
correct setting for a motor, look at the table in the Maintenance Manual.
The pins of the motor connector for the Alpha series are:
A-U
B-V
C-W
D - Ground
When looking at the connector (motor) face on, the pin to the right of the notch is
pin A, below it is pin B, to it's left is pin C, above it is pin D.
The resistance from any of the windings of a Fanuc motor to it's frame should be
100 megohms or higher. A reading of 10 to 100 megohms indicates that the
winding has begun to deteriorate but operation should be, for the most part,
normal. A reading of 1 to 10 megohms indicates considerable deterioration but the
motor will still run although likely abnormally. A reading of less than 1 megohm
cannot be tolerated, the motor must be replaced.
An important thing to know about Fanuc servo motors is that unlike a normal AC
motor, they use permanent magnets. This gives them exceptional positioning
ability and controllability but they do have a down side, in that, the magnets can
become demagnetized or the poles may become scrambled. When this happens the
motor will exhibit one or more of the following symptoms:
1. Cogging (when the motor is rotated by hand you feel notches similar to the way
a DC motor feels).
2. Motor pulls high current even under little or no load.
3. Motor has no torque (in extreme cases it can be stalled by holding the shaft with
your hand.
4. Motor rotation feels rough or jerky.
A common cause for this condition is if the motor gets too hot. Also, a servo
amplifier can fail in such a way as to cause this problem. In either case, magnets
can be re-magnetized by a either Fanuc or a company in Chicago called Endeavour
Technologies.
Another thing to know about these motors is that they are like a DC motor in that if
one of the windings is shorted internally or if two of the output phases of the
amplifier are shorted together the cogging effect will be present. In this case the
motor will normally be harder to turn than it is when the poles are demagnetized or
are scrambled.
The following pin outs are typically of a Fanuc Alpha I64 pulse coder:
1 --------------------------------- N
2 --------------------------------- T
4 --------------------------------- J
5 --------------------------------- K
6 --------------------------------- H
14 ------------------------------- F
15 ------------------------------- G
16 ------------------------------- A
17 ------------------------------- D
20 ------------------------------- H
You will notice that both pin 6 and pin 20 of the Honda connector are connected to
pin H of the Cannon (military style) plug. Typically what you will find is that pin
H has no connection to the pulse coder. Pin H is used as a tie point for the two
wires. This is preferable to connecting a jumper between the two pins at the Honda
connector.
The magnets used in Fanuc Alpha series motors are Neodymium Ferrite.
When trying to determine the compatibility of motors:
A06B-XXXX-XXXX
Of these the most common found on YCI, Takumi, etc. is the a22.
The next two numbers define the specific model.
71 - a1/3000
72 - a2/2000
73 - a2/3000
23 - a3/3000
27 - a6/2000
28 - a6/3000
42 - a12/2000
43 - a12/3000
46 - a22/1500
47 - a22/2000
48 - a22/3000
51 - a30/1200
52 - a30/2000
53 - a30/3000
57 - a40/2000
58 - a40/2000 (with fan)
31 - a65/2000
32 - a100/2000
33 - a150/2000
7 - a300/2000
8 - a400/2000
The first number after the B indicates the type of output shaft.
0 - Taper Shaft
1 - Taper Shaft with brake
5 - Straight Shaft
6 - Straight Shaft with brake
The taper shaft is considered the standard configuration.
The next two numbers indicate the type of pulse coder supplied with the motor