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

 

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

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     358      359      360      361     ..

 

 

 

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

 

 

19. MAINTENANCE FUNCTION

 

 

B-64693EN-1/01

 

- 2834 - 

(2)  Multi-Sensor Unit Data 
The Multi-Sensor Unit data is output as follows. In the case of the plural Multi-Sensor Units, all 
Multi-Sensor Unit data are output. 
 
MULTI SENSOR UNIT DATA :   
    <MULTI SENSOR UNIT NO.1>   
        SHOCK1 X(X00000) :    0.0 [G] 
        SHOCK1 Y(X00002) :    0.0 [G] 
        SHOCK1 Z(X00004) :      29.9 [G] 
        SHOCK2 X(X00006) :    1.9 [G] 
        SHOCK2 Y(X00008) :    0.0 [G] 
        SHOCK2 Z(X00010) :    0.0 [G] 
        COMMON1 (X00012) :      0 [-] 
        COMMON2 (X00014) :      0 [-] 
        TEMP1   (X00016) :    0.0 [C] 
        TEMP2   (X00018) :    0.0 [C] 
        TEMP3   (X00020) :    0.0 [C] 
        TEMP4   (X00022) :    0.0 [C] 
        TEMP5   (X00024) :    0.0 [C] 
        TEMP6   (X00026) :    0.0 [C] 
        TEMP7   (X00028) :    0.0 [C] 
        TEMP8   (X00030) :    0.0 [C] 
                (Y00000) : -30656 
                (Y00002) :      0 
                (Y00004) :      0 
                (Y00006) :      0 
                (Y00008) :     16 
                (Y00010) :      0 
                (Y00012) :      0 
                (Y00014) :      0 
                (Y00016) :      0 
                 (Y00018) :      0 
                (Y00020) :      0 
                (Y00022) :      0 
                (Y00024) :      0 
                (Y00026) :      0 
                (Y00028) :      0 
                (Y00030) :      0 
 
(3)  PMC Signal 
The PMC signal is output as follows. 
 
Single PMC System 
PMC SIGNAL DATA : 
    X00000 0x3F 
    X00001 0x04 
    Y00000 0x00 
    Y00008 0xF0 
Multi PMC System: 
PMC SIGNAL DATA : 
    1:X00000 0x3F 
    1:X00001 0x04 
    1:Y00000 0x00 
    1:Y00008 0xF0 
 

B-64693EN-1/01

 

 

19. MAINTENANCE FUNCTION

 

- 2835 - 

(4)  CNC Data 
The CNC data is output as follows. In the case of multi path system all path data are output. 
 
CNC DATA :   
    <<MACHINE>> 
        X         0.000 
        Y         0.000 
        Z         0.000 
    <<ABSOLUTE>>   
        X         0.000 
        Y         0.000 
        Z         0.000 
    <<FEED RATE>> 
        F             0 
    <<SPINDLE SPEED>> 
        S             0 
    <<PROGRAM>> 
        //CNC_MEM/USER/PATH1/O123 
    <<BLOCK>> 
        0 
    <<MODE>>   
        MEM 
    <<MODAL>> 
        M             0 
        S             0 
        T             0 
        B             0 
 
(5)  Operation History 
The operation history is output as follows. 
 
OPERATION HISTORY : 
MDI 01_[RIGHT F] 12:02:13 
MDI 01_[RIGHT F] 12:02:14 
MDI 01_[RIGHT F] 12:02:15 
MDI 01_[RIGHT F] 12:02:15 
MDI 01_[SOFT HF7] 12:02:16   
MDI 01_<Cursor Down> 12:02:26 
MDI 01_<Cursor Down> 12:02:26 

 

 
(6)  Auxiliary Information 
The auxiliary information is output. This information is for maintenance. 
 
AUX INFO :   
0-0 
 

19. MAINTENANCE FUNCTION

 

 

B-64693EN-1/01

 

- 2836 - 

Reading of CNC information by FOCAS2/C language executor 

Information  saved  in CNC can be read by the following functions of the FOCAS2 library and the C 
language library of C language executor. 
 

Table 19.1.8.4 (a) 

Function Name 

Function 

cnc_upstart4 

Beginning of NC data read (4) 

cnc_upload4 

NC data read (4) 

cnc_upend4 

End of NC data read (4) 

 
When cnc_upstart4 is called specifying 78 for argument type, CNC information can be read. 
A basic procedure of reading CNC information by cnc_upstart4, cnc_upload4, and cnc_upend4 function 
is as shown in fig.19.1.8.4 (b). 
 
Please refer to “10.The function specification”  of  FANUC FOCAS1/2 library specifications 
(FWLIB32.HTM)  included in  “FOCAS1/2 library disk” for  details of cnc_upstart4, cnc_upload4, and 
cnc_upend4 function of the FOCAS2 library. 
 
Please refer to “the CNC/PMC window library”  of  C language Executor  programming manual 
(B-63943EN-3) for details of cnc_upstart4, the cnc_upload4, and cnc_upend4 function of the C language 
library of C language executor. 
 

 

start 

end 

start reading NC data   

  cnc_upstart4(type=78) 

end reading NC data   

  cnc_upend4 

read NC data 
  cnc_upload4 

EW_OK? 

last data=’%’? 

EW_RESET? 

EW_BUFFER? 

YES 

YES 

YES 

YES 

NO 

NO 

NO 

 

Fig. 19.1.8.4 (b) Reading data 

B-64693EN-1/01

 

 

19. MAINTENANCE FUNCTION

 

- 2837 - 

19.1.9 

Caution 

To save CNC information for eight or more days, so number of saving information each day is restricted. 
The history can be saved only up to the potential saving number. (Refer to “Restriction of saving”) 
So, in the ladder program, please judge trouble as accurately as possible. 
 
Do not save CNC information at the time when trouble does not occur in order to decrease the load of 
CNC. 
 
At shipment of CNC, Potential Saving Number is 30. 
 
CNC information might not be able to be saved correctly immediately before the power failure. So in the 
system that can detect power failure, don’t save the CNC information when the power failure occurs.   
 

19.2 

SERVO/SPINDLE WAVEFORM DATA OUTPUT FUNCTION 

19.2.1 

Outline 

When  something  trouble occurs with machine, servos and spindles waveform data before and after the 
trouble is automatically output to Data Server, which is sampled by Trouble diagnosis function. 
Since long-termed data is automatically saved, it is easier to detect the cause of the trouble. 
 
CNC always samples waveform data. 
If something trouble occurs with machine, CNC detects the trouble through alarms or signals and output 
waveform data before and after the trouble to Data Server automatically (Fig.19.2.1(a)). 

 

Fig. 19.2.1 (a) Outline of Servo / spindle waveform data output function 

 

NOTE 

 

This function requires Data Server function. 

 

19. MAINTENANCE FUNCTION

 

 

B-64693EN-1/01

 

- 2838 - 

19.2.2 

Waveform Data 

This function can output several kinds of data listed in tables below. 
Each data can be sampled for up to 40 seconds summing up before and after trouble. 
 

Table 19.2.2 (a) Data list for servo motors 

Data (Unit) 

Accumulated command pulse  (pulse) 
Accumulated feedback pulse 

(pulse) 

Position error 

 

(pulse) 

Reference counter 

 

(pulse) 

Actual speed 

 

(1/min) 

Torque command 

 

(%) 

Head simulation 

 

(%) 

Motor current 

 

(A) 

Disturbance level 

 

(%) 

Arbitrary data 
Effective current 

 

(%) 

AMR data 
Arbitrary data 2 

 

Table 19.2.2 (b) Data list for spindle motors 

Data (Unit) 

Actual motor speed   

(1/min) 

Load meter 

 

(%) 

Position error 

 

(pulse) 

Torque command 

 

(%) 

Motor current 

 

(A) 

 
Whole data of all axes can be output, though output data can be selected by parameters. 
 

NOTE 

 

The upper limit of sampling time cannot be extended even if output data is 
reduced. 

 

19.2.3 

Sampling 

It is necessary to always sample waveform data in order to use this function. 
Trouble diagnosis data monitoring signal TDDM<G0589.0> starts the sampling. 
Trouble diagnosis data monitoring signal clears latched data of Trouble diagnosis function and changes 
the state of the function from “LATCHED” to “SAMPLING”. 
 
Output of waveform data to Data Server starts when sampling after trouble finishes, which is specified by 
parameter No.24320. 
It  is  necessary  to start sampling again by trouble diagnosis data monitoring signal after outputting of 
waveform data. 
Weather the output finishes or not is indicated by Waveform data transfer signal WVTRNS<F0578.0>. 
 

Restriction 

When this function is effective, the state of Trouble diagnosis function, “SAMPLING” or “LATCHED”, 
is common for all paths, though the state can be different for each path in ordinary Trouble diagnosis 
function. Therefore, Trouble diagnosis data monitoring signal starts sampling of all paths simultaneously 
and trouble in some path stops sampling of all paths. 

B-64693EN-1/01

 

 

19. MAINTENANCE FUNCTION

 

- 2839 - 

NOTE 

1  Latched data of Trouble diagnosis function and waveform data sampled by this 

function is cleared when sampling restarts after trouble. 

2  Though Trouble diagnosis data monitoring signal is for each path, this function 

uses only the signal of 1st path. 

3  Trouble diagnosis data monitoring signal is ignored when SV or SP alarm occurs 

in some path. Start sampling by Trouble diagnosis data monitoring signal after 
confirming that no SV or SP alarm occurs in all paths. 

4  The state of sampling (the state of Trouble diagnosis function) does not change 

even if power is turned off and on. Therefore, it is necessary to start sampling 
after power is turned on if sampling was stopped (the state of Trouble diagnosis 
function was “LATCHED”) before power was turned off. Oppositely, sampling is 
started automatically after power is turned on if sampling was active (the state of 
Trouble diagnosis function was “SAMPLING”) before power was turned off. 

 

19.2.4 

Detect Trouble 

SV or SP alarm changes the state of Trouble diagnosis function into “LATCHED”  when the state is 
“SAMPLING”. At the same time, CNC regards that something  trouble occurs with machine and the 
sequence of outputting waveform data of servos and spindles to Data Server is started. 
 
This function makes it possible to detect trouble by changing Trouble diagnosis data latching signal 
TDDL<G0589.1> from “0” to “1” as well as SV and SP alarms. Weather trouble is detected by Trouble 
diagnosis data latching signal or not is specified by bit 1 (SPT) of parameter No.24318. 
 

NOTE 

1  Though Trouble diagnosis data latching signal is for each path, this function uses 

the signal of 1st path. 

2  Data of Trouble diagnosis function is latched and the state changes from 

“SAMPLING” to “LATCHED” when trouble is detected by Trouble diagnosis data 
latching signal. 

3  Sampling continues for a while after trouble is detected, which can be specified 

by parameter No.24320. 

4  Trouble is not detected and this function is not active when the state of Trouble 

diagnosis function is “LATCHED”. 

 

19.2.5 

Sequence when Trouble Occurs 

Servos and spindles waveform data is sampled with constant period and, if trouble occurs, data before and 

after the trouble specified by parameter Nos.24319 and 24320 is output to Data Server. The output is 
started automatically if sampling after the trouble finishes, which is specified by parameter No.24320. 

Waveform data transfer signal WVTRNS<F0578.0> is “1” between the occurrence of the trouble and the 
end of the output. 
Sequence when trouble occurs is shown in Fig. 19.2.5 (a) and Fig. 19.2.5 (b) below. 

 

19. MAINTENANCE FUNCTION

 

 

B-64693EN-1/01

 

- 2840 - 

 

Detect trouble 

Trouble diagnosis 

data monitoring 

signal 

TDDM<G0589.0> 

Start the output 

alarm occurs

 

Restart sampling 

Time 

Output data before and after trouble 

to Data Server 

Sampling 

data 

Waveform data 

transfer signal 

WVTRNS 

<F0578.0> 

Trouble diagnosis 

data latching signal 

TDDL<G0589.1> 

32ms or more 

 

Fig. 19.2.5 (a) Sequence when trouble occurs (when the trouble is detected by the signal) 

 

 

Detect trouble 

Trouble diagnosis 

data monitoring 

signal 

TDDM<G0589.0> 

Start the output 

alarm occurs

 

Restart sampling 

Time 

Output data before and after trouble 

to Data Server 

Sampling 

data 

Waveform data 

transfer signal 

WVTRNS 

<F0578.0> 

SV or SP alarm 

32ms or more 

NOTE: SV or SP alarms does not release even if Waveform data transfer signal changes into “1”. 

 

Fig. 19.2.5 (b) Sequence when trouble occurs (when the trouble is detected by SV or SP alarm) 

 

B-64693EN-1/01

 

 

19. MAINTENANCE FUNCTION

 

- 2841 - 

NOTE 

1  Make it impossible to turn off power during Waveform data transfer signal is “1” 

in order to output data normally. 

2  Sampling cannot be started when Waveform data transfer signal is “1” or SV/SP 

alarm occurs. In addition, Trouble diagnosis function and this function are not 
effective in such cases. 

 

19.2.6 

Data Output 

Output of waveform data to Data Server is started automatically if trouble is detected and sampling after 
the trouble finishes, which is specified by parameter No.24320. 
“OUTPUT” is blinking at Status bar during the output. 
The data is output to “SVSPWAVE” folder below Data Folder on Data Server regardless of I/O devices 
specified in parameter Nos.20-23. 
Make all paths in alarm states before the output, which is required to start the output to Data Server (See 0 
in NOTE below). 
 
Waveform data transfer failure signal WVTF<F0578.1> is “1” if the output fails because of, for examples, 
no data Folder existing on Data Server, memory shortage, not in alarm states, and so on. After the cause 
of failure is resolved 

while 

WVTF<F0578.1> is “1”, setting Waveform data re-output signal 

WVROP<G0589.2> from “0” to “1” restarts the output in such cases. 
Waveform data transfer failure signal is “0” in the following cases: 
1)

 

When the re-output finishes normally. 

2)

 

When the next sampling is started. 

3)

 

When power is turned off. 

Sequence of normal  output is shown in Fig.  19.2.6  (a)  and  Fig.  19.2.6  (b), and that  of output failure is 
shown in Fig. 19.2.6 (c) and Fig. 19.2.6 (d). 
 

 

Detect trouble 

Waveform data output 

failure signal 

WVTF<F0578.1> 

Finish output 

Time 

Waveform data 

transfer signal 

WVTRNS 

<F0578.0> 

Trouble diagnosis 

data latching signal 

TDDL<G589.1> 

Waveform data 

re-output signal 

WVROP<G0589.2> 

(remained 0) 

(remained 0) 

 

Fig. 19.2.6 (a) Sequence of normal output (when the trouble is detected by the signal) 

 

 

 

 

 

 

 

 

Content      ..     358      359      360      361     ..