FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) - page 109

 

  Index      Manuals     FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) B-64693EN-1/01

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     107      108      109      110     ..

 

 

 

FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) - page 109

 

 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 826 - 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn299 

 

IRTKY 

 

 

 

 

 

 

 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

13450 

 

 

 

 

 

NRC 

NRP 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#2  NRP

  When the MDI reset key is pushed in the automatic operation 

0: 

the CNC is reset. 

1: 

the CNC is not reset. 

 

NOTE 

 

Bit 2 (NRP) of parameter No.13450 and Reset key input invalid 
signal IRTKY <Gn299.7> must be set “1” for each path to enable 
this function. 

 

 

#3  NRC

  When  bit 2 (NRP) of parameter No.13450  is 1, and the MDI reset key is pushed in the 

automatic operation stop state, 
0: 

the CNC is not reset. 

1: 

the CNC is reset. 

 

When  bit 2 (NRP) of parameter No.13450  is 1, the table below indicates the relation 
between the CNC state and the MDI reset key valid / invalid. 

 

   

Signal name 

 

CNC state 

Cycle start 

lamp 

  STL 

Feed hold 

lamp 

SPL 

Automatic 

operation 

OP 

MDI reset key 

valid / invalid 

Cycle start state 

invalid 

Feed hold state 

invalid 

Automatic operation 
stop state 

invalid / valid 

(NOTE *) 

Reset state 

valid 

  (NOTE *) When bit 3 (NRP) of parameter No.13450 is 1, the MDI reset key is valid in 
the automatic operation stop state. 

 

5.3 

TESTING A PROGRAM 

Overview 

Before machining is started, the automatic running check can be executed. It checks whether the created 
program can operate the machine as desired. This check can be accomplished by running the machine or 
viewing the position display change without running the machine. 
 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 827 - 

5.3.1 

Machine Lock 

Overview 

The change of the position display can be monitored without moving the machine. When all-axis machine 
lock signal MLK, or each-axis machine lock signals MLK1 to MLK8 are set to 1, output pulses (move 
commands) to the servo motors are stopped and the machine coordinates are not updated in manual and 
automatic operation. The commands are distributed, however, updating the absolute and relative 
coordinates. The operator can therefore check if the commands are correct by monitoring the position 
display. 
 

Explanation 

Automatic operation in the machine lock state (M, S, T, and B commands) 

Machine lock applies only to move commands along controlled axes. Updating modal G codes or setting 
a coordinate system is performed normally. M, S, T, and B (2nd auxiliary function) commands are also 
performed normally. 
 

Turning on/off the machine lock signal during movement along an axis 

When the machine lock signal for an axis is set to 1 during movement along the  axis that is not in the 
machine lock state, the axis is immediately placed in the  machine lock state and output pulses (move 
commands) to the servo motor are  stopped. The tool is decelerated and stopped with the automatic 
acceleration/deceleration function. 
On the other hand, when the machine lock signal for an axis is set to 0 during distribution of the move 
command along the axis in the machine lock state, pulse  (move command) output for the axis is 
immediately restarted. The tool is accelerated with the automatic acceleration/deceleration function. 
 

Machine lock shift value 

When a move command is executed in the machine lock state after once the workpiece coordinate system 
is fixed, the workpiece coordinate system is shifted from the machine coordinate system because machine 
coordinates  are  not updated.  This  shift amount is called a machine lock shift value. Diagnosis data 
No.4104 indicates the machine lock shift value. 
The machine lock shift value is cancelled by the manual reference position return or the workpiece 
coordinate system preset operation. 
 

Machine lock shift value check in automatic operation 

If bit 2 (MSC) of parameter No.11501 is 1, when the workpiece coordinate system is shifted by the axis 
movement in the machine lock state, the alarm PS5559"ILL. AXIS OPERATION (COORD SYS)" is 
issued. This can prevent forgetting to cancel the shift value by the manual reference position return and 
the workpiece coordinate system preset operation after the machine lock is released. 
 

Coordinate position display screen 

When a machine lock is being applied to an axis, “L” appears on the left side of the axis address of the 
axis on the coordinate position display screen. 
 

Limitation 

Outputting the movement state of ax axis 

Axis moving signals MV1 to MV8 <Fn102> are useful in the machine lock state. 
Axis moving direction signals MVD1 to MVD8 <Fb106> are useless in the machine lock state. These 
signals maintain their condition before the machine lock. 
 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 828 - 

Reference position return (G27, G28, and G30) 

When the reference position return command (G28), or 2nd to 4th reference position return command 
(G30), is executed for an axis in the machine lock state, in motion to middle point,  distribution and 
position updating  are performed. The tool, however, is not returned to the reference position. The 
reference position return completion signals (ZP1 to ZP4) are not output. 
The reference position return check command (G27) is ignored in the machine lock state. 
 

Selecting a machine coordinate system (G53) 

When  a positioning of machine coordinate system  (G53) is specified in the machine lock state, move 
commands are invalid and absolute coordinates and relative coordinates are not updated. 
When machine lock is applied during G53 movement, output pulses (move commands) to the servo 
motors are stopped and machine coordinates are not updated. The absolute and relative coordinates  are 
updated. 
 

High precision oscillation function 

Do not switch machine lock signal to the oscillation axis during oscillation motion,  otherwise  an alarm 
PS5050 "ILL-COMMAND IN G81.1 MODE" is issued. 
 

Manual intervention and return 

Do not perform manual intervention in the machine lock state, otherwise the tool might move to wrong 
position in return operation. 
 

Tool retract and recover 

Do not perform manual retraction in the machine lock state, otherwise  the tool might move to wrong 
position in recovery. 
 

Program restart / Quick program restart 

The tool cannot be returned to a correct position under the following conditions. 

Manual operation is performed in the machine lock state. 

When program restart is specified in the machine lock state, then the machine lock is canceled. 

 

Type for counting time of tool management function 

The count-up operation is not performed in the machine lock state. 
 

High-speed program check function 

During the high-speed program check mode, all-axis machine lock signal MLK  and each-axis  machine 
lock signals MLK1 to MLK8 are invalid except for PMC control axis. 
 

PMC axis control 

When bit 0 (MLE) of parameter No.8001 is 1, all-axis machine lock signal MLK and each-axis machine 
lock signals MLK1 to MLK8  are invalid  for  PMC-controlled axes. However, each-axis  machine lock 
signals MLK1 to MLK8 become valid by setting bit 1 (MLS) of parameter No.8006 to "1". 
All-axis machine lock signal and each-axis machine lock signals are invalid in the following command 
irrespective of setting parameter MLE and MLS. 

Speed command 

Torque control command 

 

T

 

Balance cutting 

Balance cutting is not performed in the machine lock state. 

 

 

 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 829 - 

Each-axis machine lock 

In some functions (e.g., synchronous control, coordinate system rotation), axes which are not specified 
move. And relationships between each-axis machine lock signals and effecting axis are various ways. 

In the following functions, each-axis machine lock signals effect to output pulses (move commands) 
after conversion. 

Coordinate system rotation 

3-dimentional coordinate conversion 

Tilted working plane indexing 

In arbitrary angular axis control, each-axis machine signals are applied to move commands specified 
in the Cartesian coordinate system (the program coordinate system). 
When each-axis machine lock signal is applied to the perpendicular axis, machine lock is valid to a 
movement of the perpendicular axis by specifying the perpendicular axis, but invalid to a movement 
of the perpendicular axis by specifying the angular axis. 
When  each-axis machine lock signal is apply to the angular axis, machine lock is valid to the 
movement of the perpendicular axis and the angular axis by specifying the angular axis. 

Table 5.3.1 (a) and Table 5.3.1 (b) list about the relational functions to synchronous control. 

 

Table 5.3.1 (a)   

Function 

Moving axis 

MLKx to master axis 

MLKx to slave axis 

Axis synchronous control 

Master axis 

Valid 

Invalid 

Slave axis 

Valid 

Invalid 

Tandem control 

Master axis 

Valid 

Invalid 

Slave axis 

Valid 

Invalid 

Flexible synchronization 

control 

Master axis 

Valid 

Invalid 

Slave axis 

(By specifying master axis) 

Valid 

Invalid 

Slave axis 

(By specifying slave axis) 

Invalid 

Valid 

Synchronous control 

Master axis 

Valid 

Invalid 

Slave axis 

Invalid 

Valid 

Superimposed control 

Master axis 

Valid 

Invalid 

Slave axis 

(By specifying master axis) 

Valid 

Invalid 

Slave axis 

(By specifying slave axis) 

Invalid 

Valid 

Table 5.3.1 (b)   

Function 

Moving axis 

MLKx 

to composite axis 1 

MLKx 

to composite axis 2 

Composite control 

Composite axis 1 

Invalid 

Valid 

Composite axis 2 

Valid 

Invalid 

 

Functions that cannot be used simultaneously 

The  following functions are not useful in the machine lock state because they depend on machine 
coordinates. 

Stored stroke check 1 

Stored stroke check 2, 3 

Stored stroke check before movement 

Position switch 

High-speed position switch 

 

Signal 

All-axis machine lock signal MLK<Gn044.1> 

    [Classification]  Input signal 
   

[Function]  Places all controlled axes in the machine lock state. 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 830 - 

 

  [Operation]  When this signal is set to 1, pulses (move commands) are not output to the servo motors 

for all axes in manual or automatic operation.   

 

Each-axis machine lock signals MLK1 to MLK8<Gn108> 

  [Classification]  Input signal 
 

  [Function]  Place the corresponding controlled axes in the machine lock state. 

These signals are provided for each controlled axis. The signal number corresponds to the 
number of the controlled axis. 

 MLK 1 

  1 . . . Machine lock for the 1st axis 
  2 . . . Machine lock for the 2nd axis 
  3 . . . Machine lock for the 3rd axis 
 : 
 

 

 

[Operation]  When these signals are set to 1, pulses (move commands) are not output to the servo 

motors for the corresponding axes (1st to 8th) in manual or automatic operation. 

 

All-axis machine lock check signal MMLK<Fn004.1> 

  [Classification]  Output signal 
 

  [Function]  Notifies the PMC of the state of the all-axis machine lock signal. 

    [Output cond.]  This signal is set to 1 in the following case: 

When all-axis machine lock signal MLK is set to 1 

This signal is set to 0 in the following case: 

When all-axis machine lock signal MLK is set to 0 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn044 

 

 

 

 

 

 

 

MLK 

 

 

Gn108 

 

MLK8 

MLK7 

MLK6 

MLK5 

MLK4 

MLK3 

MLK2 

MLK1 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Fn004 

 

 

 

 

 

 

 

M MLK 

 

 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11501 

 

 

 

 

 

 

MSC 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#2  MSC

  The machine lock shift value check in automatic operation is: 

0: 

Not applied. 

1: 

Applied. 

 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 831 - 

NOTE 

1  This function is invalid for the axis in the machine lock state. 
2  The followings can be commanded with the machine lock shift value 

remained. 
- Automatic reference position return (The middle point is not 
specified) 
- Workpiece coordinate system preset 
- Local coordinate system setting 
- Machine coordinate system setting 
- Coordinate system setting 
- Workpiece coordinate system setting (Axis movement is not 
specified) 

3  In other automatic operation, if there is no movement in the machine 

coordinate system, the alarm is not issued. 

4  This function is invalid for the dummy axis. (Bit 4(KSV) of parameter 

No.11802 is set to 1 or bit 0(DMY) of parameter No.2009 is set to 
1.) 

 

Alarm and message 

Number 

Message 

Description 

PS5559 

ILL. AXIS OPERATION 
(COORD SYS) 

When the bit 2(MSC) of parameter No.11501 is set to 1, and the 
workpiece coordinate system is shifted from the machine coordinate 
system by the movement command in the machine lock state, the axis 
movement was commanded. Please operate "reference position return" 
or "workpiece coordinate system preset" etc. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Machine lock and auxiliary function lock 

 

5.3.2 

Dry Run 

Overview 

Dry run is valid only for automatic operation. 
The tool is moved at a constant feedrate regardless of the feedrate specified in the program. This function 
is used, for example, to check the movement of the tool without a workpiece. 
 

  CAUTION 

 

This feedrate depends on the specified parameters, the manual rapid traverse 
switching signal (RT), manual feedrate override signals (*JV0 to *JV15), and 
whether the command block specifies rapid traverse or cutting feed, as listed in 
the table below. 

 

Table 5.3.2 (a) 

Manual rapid traverse 

switching signal (RT)

 

Program command 

Rapid traverse 

Cutting feed 

Rapid traverse rate 

Dry run feedrate 

×

 Jvmax (*2) 

Dry run speed 

×

 JV, or rapid traverse rate (*1) 

Dry run feedrate 

×

 JV (*2) 

 
Max. cutting feedrate  :  Setting by parameter No.1430 
Rapid traverse rate 

:  Setting by parameter No.1420 

5. AUTOMATIC OPERATION

 

 

B-64693EN-1/01

 

- 832 - 

Dry run feedrate 

:  Setting by parameter No.1410 

JV 

:  Manual feedrate override 

Jvmax 

:  Maximum value of manual feedrate override 

 
*1  Dry run feedrate 

×

  JV when bit 6 (RDR) of parameter No. 1401 is 1. Rapid traverse rate when 

parameter RDR is 0. 

*2  Clamped by maximum cutting feedrate. 
 
The acceleration/deceleration type and the time constant for this feedrate are listed in the table below. 
 

Table 5.3.2 (b) 

Manual rapid traverse 

switching signal (RT)

 

Program command 

Rapid traverse 

Cutting feed 

Rapid traverse type 

Cutting feed type 

Jog feed type, or Rapid traverse type(*3) 

Cutting feed type 

 
Time constant for Rapid traverse type : 

Setting by parameter No.1620 

Time constant for Jog feed type :   

Setting by parameter No.1624 

Time constant for Cutting feed type : 

Setting by parameter No.1622 

 
*3  Jog feed type  when  bit 6 (RDR) of parameter No. 1401 is 1. Rapid traverse type  when parameter 

RDR is 0. 

 

Signal 

Dry run signal DRN<Gn046.7> 

  [Classification]  Input signal 
 

[Function]  Enables dry run. 

 

[Operation]  When this signal is set to 1, the tool is moved at the feedrate specified for dry run. 

When this signal is set to 0, the tool is moved normally. 

 

  CAUTION 

 

When the dry run signal is changed from 0 to 1 or 1 to 0 during the 
movement of the tool, the feedrate of the tool is first decelerated to 0 
before being accelerated to the specified feedrate. 

 

Dry run check signal MDRN<Fn002.7> 

    [Classification]  Output signal 
 

  [Function]  Notifies the PMC of the state of the dry run signal. 

    [Output cond.]  This signal is set to 1 in the following case: 

When dry run signal DRN is set to 1 

This signal is set to 0 in the following case: 

When dry run signal DRN is set to 0 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn046 

 

DRN 

 

 

 

 

 

 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Fn002 

 

MDRN 

 

 

 

 

 

 

 

 

B-64693EN-1/01

 

 

5. AUTOMATIC OPERATION

 

- 833 - 

Parameter 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

1401 

 

 

RDR 

TDR 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit path 

 

 

#5  TDR

  Dry run during threading or tapping (tapping cycle G74 or G84, rigid tapping) 

0: 

Enabled 

1: 

Disabled 

 

 

#6  RDR

  Dry run for rapid traverse command 

0: 

Disabled 

1: 

Enabled 

 

1410 

 

Dry run rate 

 

 

[Input type]  Parameter input 

 

[Data type]  Real path 

 

[Unit of data]  mm/min, inch/min, deg/min (machine unit) 

[Min. unit of data]  Depend on the increment system of the reference axis 
[Valid data range]  Refer to the standard parameter setting table (C) 

(When the increment system is IS-B, 0.0 to +999000.0) 
Set the dry run rate at the 100% position on the jog feedrate specification dial. The unit of 
data  depends on the increment  system  of the reference  axis. Setting this parameter to 0 
results in alarm PS5009, "PARAMETER ZERO (DRY RUN)", being issued. 
 

1420 

 

Rapid traverse rate for each axis 

 

 

[Input type]  Parameter input 

 

[Data type]  Real axis 

 

[Unit of data]  mm/min, inch/min, deg/min (machine unit) 

[Min. unit of data]  Depend on the increment system of the applied axis 
[Valid data range]  Refer to the standard parameter setting table (C) 

(When the increment system is IS-B, 0.0 to +999000.0) 
Set the rapid traverse rate when the rapid traverse override is 100% for each axis. 
 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

Dry run 

 

5.3.3 

Single Block 

Overview 

Single block operation is valid only for automatic operation.   
When the single block signal (SBK) is set to 1 during automatic operation, the CNC enters the automatic 
operation stop state after executing the current block. In subsequent automatic operation, the CNC enters 
the automatic operation stop state after executing each block in the program. When the single block signal 
(SBK) is set to 0, normal automatic operation is restored. 
Single block operation during the execution of custom macro statements depends on the setting of bits 5 
(SBM) and 7 (SBV) of parameter No. 6000, as follows: 
SBM=0, SBV=0  :  Operation does not stop in the custom macro statements but stops once the next NC 

command has been executed. 

SBM=1  :  Operation stops after each block in the custom macro statements. 

 

 

 

 

 

 

 

Content      ..     107      108      109      110     ..