News CNCnetPDM About us Support  
       
  

READ DIAGNOSIS DATA | FANUC

TOP

To find out reasons for errors, monitor temperatures or power consumption or read diagnostic data from spindles, servos and other components Fanuc diagnosis data is needed. This utility enables you to acquire this data and even scan the controllers diagnosis area for specific parameters.

Fanuc 31i Diagnosis Screens

FIG 1: Fanuc 31i Diagnosis Screens

Diagnosable items include (Fanuc 30i, 31i, 32i Model B)

  • Causes when the machine does not travel
  • Reader/puncher interface output state
  • State of TH alarm
  • Display language of the CNC screen
  • Details of serial Pulse coder
  • Details of separate serial Pulse coder alarms
  • Details of invalid servo parameter alarms (on the CNC side)
  • Position error amount
  • Machine position
  • Distance from the end of the deceleration dog to the first grid point
  • Reference counter
  • Motor temperature information
  • Cause that sets bit 4 (APZ) of parameter No. 1815 to 0
  • Details of invalid servo parameter setting alarms (on the servo side)
  • Diagnosis data related to the Inductosyn absolute position detector
  • Diagnosis data related to the serial spindles
  • Diagnosis data related to rigid tapping
  • Diagnosis data related to polygon machining with two spindles
  • Diagnosis data related to the small-hole peck drilling cycle
  • Diagnosis data related to the dual position feedback function
  • Automatic alteration of tool position compensation
  • Data for adjusting the compensation of the start position of thread cutting when the spindle speed is changed
  • State of high-speed HRV current control
  • Thermal growth compensation along tool vector
  • Spindle error and warning states
  • OVC level
  • Linear inclination compensation function
  • DC link voltage information
  • Servo motor
  • Reason why a start cannot be performed
  • Automatic data backup
  • Fan rotation speed
  • Custom macro / execution macro / auxiliary macro
  • Spindle revolution number history function
  • Built-in 3D interference check
  • Detector battery exhaustion
  • Diagnosis data related to axis synchronous control
  • Diagnosis data related to synchronous/composite control
  • Details of invalid FSSB setting alarms
  • Diagnosis data related to linear scale with absolute address reference marks
  • Diagnosis data related to flexible path axis assignment
  • Pulse superimposed function
  • Total of the current actual power consumption of all servo axes/spindles
  • Current actual power consumption of each servo axis
  • Current actual power consumption of each spindle
  • Accumulated value of the total power consumption of all servo axes/spindles
  • Accumulated value of power consumption of each servo axis
  • Accumulated value of power consumption of each spindle
  • Interpolation state
  • 3-dimensional machine position compensation
  • Diagnosis data related to automatic phase synchronization for flexible synchronous control

DOWNLOAD SOFTWARE | LICENSING | SETUP & USAGE | UNIVERSAL DRIVER DATA TYPES | HSSB | PARAMETER DOCUMENTATION | UPGRADE PROGRAM

DOWNLOAD SOFTWARE

Important: If you’re using HSSB (High Speed Serial Bus) see notes on HSSB below. In both cases run the test directly on the PC with the HSSB interface card!

If you can access the controller via the network it is highly recommend to use the program on a laptop with a network connection at the shop-floor in front of the machine.

LICENSING

If you have installed CNCnetPDM on your PC with a license other than a ‘free license’ and run this program from the folder where CNCnetPDM is installed you get unlimited output. Otherwise the program outputs a restricted set of items. Please see licensing for details or contact us if you have any questions.

  • Note: If you like to run this program from a different location on your PC you can simply copy your CNCnetPDM.ini file to this directory.

SETUP & USAGE

  1. Download fanucdiagnosis.zip.
  2. Extract all contents of fanucdiagnosis.zip to a folder on your PC.
  3. Navigate to the folder with FanucDiagnosisData and double click it.
  4. In section input parameters enter all information to identify controller, axis parameter and address range to be queried.
  5. If you access your controller via network enter the IP Address or DNS Hostname.
  6. Under Port enter the port number configured for the FANUC Focas option at the controller, default 8193.
  7. Only if you access your controller via HSSB change Method to 1 for ‘real’ HSSB or 2 for NCGUIDE HSSB.
  8. Enter the correct axis number for the parameter to be queried (-1 = all axes, 0 = no axes, 1-n = axis number).
  9. Input Start and End number of the diagnosis parameters that should be read.

After clicking [Query] you should see output similar to the following in the right pane:

Fanuc Diagnosis Data

FIG 2:    FanucDiagnosisData: Read diagnosis parameter 411

In this example data of address 411 (Spindle Speed) for all axes (-1) was queried via network from a controller with DNS Hostname FANUC. If data can be found at the selected addresses the program outputs 4 values: Byte, Bits 1-8, Word and Long.

In the above example the program found data at address 411. In case of an error FanucDiagnosisData outputs the reason for it.

Tip: By clicking on [Copy] you can copy the output to the clipboard and simply paste it into a text file.

Notes:

  • Diagnostic items with a preceding axis name (1) have to be queried with the respective axis number. X = 1, Z = 2
  • Items prepended with S + number (2) have to be read with Axis = -1
  • Items without preceding characters (3) have to be acquired with Axis = 0

UNIVERSAL DRIVER DATA TYPES

To get correct values output by our Universal Device Driver for Fanuc controllers set ‘Output item’ in your device INI file as follows:

  • For output that shows bits 0-8 (4) use output item ‘bdata’
  • For output with a decimal point (5) use ‘rdata’
  • If plain numbers (6) are output use either ‘cdata’, ‘idata’ or ‘ldata’, compare values displayed at the controller with FanucDiagnosisData

Fanuc 31i Model B Diagnosis data output (1)

FIG 3:    Fanuc 31i Model B Diagnosis data output (1)

Fanuc 31i Model B Diagnosis data output (2)

FIG 4:    Fanuc 31i Model B Diagnosis data output (2)

HSSB

If your machine has a PC that is connected to the controller via HSSB or you use HSSB features of FANUC’s NCGUIDE simulation software the setup procedure is slightly different. In both cases do NOT use the dll files starting with fwlib (e.g. Fwlib32.dll) included in fanucpmc.zip. For HSSB on a real machine use the fwlib dll’s that the machine’s PC uses (search for them). For NCGUIDE use the following 5 dll’s that are installed by NCGUIDE: fwlib0DN.dll, Fwlib32.dll, fwlibNCG.dll, hssb.dll and mcnhssb.dll.

PARAMETER DOCUMENTATION

Detailed documentation of available diagnosis parameters on Fanuc 30i, 31i, 32i Model B including parameter numbers, description and output data types.

UPGRADE PROGRAM

If you already have a previous version of the program installed and would like to upgrade to the most recent version in the same folder proceed as follows:

  1. Stop the program if it’s running
  2. Delete all DLLs that start with Fwlib e.g. fwlib0iD.dll
  3. Extract all content of fanucdiagnosis.zip into the folder where you have the previous version installed, overwrite existing files.
  4. Run the new version.

Privacy notice

This website uses cookies. By continuing to use it you agree to our privacy policy. 

https://www.inventcom.net/support/fanuc/read-diagnosis-data

Support | Fanuc | Release Notes

(11/19/2023) We released an updated version of our CNCnetPDM IIoT Adapter for machines with Fanuc controls that adds new features and enhances compatibility with MS Windows 11... [read more]
Support | Fanuc | Release Notes

Support | Fanuc | Overview

CNCnetPDM for Fanuc controllers enables you to monitor machine-, process and quality data from a remote PC and integrate the data seamlessly with your business information... [read more]
Support | Fanuc | Overview

Support | Fanuc | Universal Driver

This device driver enables you to create your own set of items from the Fanuc FOCAS library , without the need for... [read more]
Support | Fanuc | Universal Driver

Support | Fanuc | Driver Development Kit

This driver development kit enables you to create your own driver for Focas enabled Fanuc controllers within minutes with minimal effort . You can quickly implement any function... [read more]
Support | Fanuc | Driver Development Kit

Support | Fanuc | Machine Data

By using the utility program FanucDataGui you can acquire and output information and performance related machine data from your FOCAS enabled Fanuc controllers. By using our... [read more]
Support | Fanuc | Machine Data

Support | Fanuc | Read PMC Values

For machine-data acquisition it’s often necessary to access, read and use data stored at the PLC (Fanuc: PMC) of a controller. For machines equipped with FOCAS-enabled... [read more]
Support | Fanuc | Read PMC Values

Support | Fanuc | Read Write Parameters

For various items such as cycle time, spindle & axis control or tool life management it is necessary to read parameter values from controllers. If you’d like to... [read more]
Support | Fanuc | Read Write Parameters

Support | Fanuc | Focas Library CD

FANUC FOCAS 1/2 LIBRARY CD,Version 4.15 (2018) Fanuc Part No. A02B-0207-K737: Enables you to develop customized applications for Fanuc FOCAS enabled controllers connected to a PC... [read more]
Support | Fanuc | Focas Library CD
Modified: 2023-12-01