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.
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. TOP
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. TOP
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. TOP
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 TOP
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
FIG 3: Fanuc 31i Model B Diagnosis data output (1)
FIG 4: Fanuc 31i Model B Diagnosis data output (2) TOP
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. TOP
Detailed documentation of available diagnosis parameters on Fanuc 30i, 31i, 32i Model B including parameter numbers, description and output data types.
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:
Stop the program if it’s running
Delete all DLLs that start with Fwlib e.g. fwlib0iD.dll
Extract all content of fanucdiagnosis.zip into the folder where you have the previous version installed, overwrite existing files.