News CNCnetPDM About us Support  
         
  

MACHINE DATA | FANUC

FANUC

By using the utility program FanucDataGui you can acquire and output information and performance related machine data from your FOCAS enabled Fanuc controllers.

DOWNLOAD SOFTWARE | LICENSING | SETUP & USAGE | PROGRAM OUTPUT | MACHINE INFORMATION | MACHINE STATE | PART COUNTER VALUE | NC PROGRAM INFORMATION | FEED RATE & SPINDLE SPEED | ALARM STATUS | POSITION DATA | TOOL DATA | ALARM STATUS (DETAILS)

DOWNLOAD SOFTWARE

Important: If your machine has a PC that is connected to the controller via HSSB (High Speed Serial Bus) or if you’re using the HSSB features of FANUC’s NCGUIDE simulation software see notes on HSSB below. In these cases run the test directly on the respective PC!

Tip: If you can access the controller via the network it is a good idea to use the program on a laptop with a network connection at the shop-floor in front of the machine. By doing so you can easily verify the results.

TOP

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.

TOP

SETUP & USAGE

  • Extract all contents of fanucdata.zip to a folder on your PC.
  • Navigate to this folder.
  • To verify that the controller is reachable you can open a command prompt (RUN->CMD) and type in ‘ping DNSNAME or ping IPADDRESS’ e.g. ‘ping FANUC’ in case the DNSNAME of the machine is FANUC. Verify that you get a response.
  • Double click FanucDataGui.
  • In the first field on the left side enter the IP Address or DNS Hostname of your controller.
  • In the second field you can adjust the port number if you configured FOCAS at the controller to use a port different to 8193 (standard).
  • The number in the third field ONLY has to be changed if you query data via HSSB (1 = ‘real HSSB’, 2 = HSSB functions from NCGUIDE)
  • After clicking on the button ‘Query’ or simply hitting ‘Enter’ you should see output similar to the following (here the DNS Hostname of the controller is FANUC):

Fanucdatagui output

FIG 1:    Fanucdatagui output

In the above example the controller replied which means that it is reachable and has the FOCAS option installed and enabled. If you get an error please look here to find out the reason.

  • Clicking on button ‘Clear’ empties the output field on the right side.
  • Button ‘Copy’ enables you to copy the data in the output field to your clipboard and paste it into a different program afterwards.

TOP

PROGRAM OUTPUT

FanucDataGui outputs the following information:

MACHINE INFORMATION

Here you get information about your machine.

Maximum Axis Number: Usually 32

CNC Type:
15 = Series 150/150i
16 = Series 160/160i
18 = Series 180/180i
21 = Series 210/210i
30 = Series 300i
31 = Series 310i
32 = Series 320i
 0 = Series 0i
PD = Power Mate i-D
PH = Power Mate i-H

Machine type: Either M, T or TT

Series and version number

Number of Axes: Number of axes available on your machine

Additional Information: Numeric value

MACHINE STATE

Current state of your machine (Details)

Device (IP Address or DNS Hostname) Machine States:

Automatic - Manual Mode (aut): Possible values 0 - 11 =
MDI, Memory, ****, EDIT, Handle, JOG, Teach in JOG, Teach in Handle, INC·feed, Reference, Remote, TEST (Test operation mode)

Status of Automatic Operation (run): Possible values 0 - 4 =
**** (Reset), STOP, HOLD, Start, MSTR (during retraction and re-positioning of tool retraction and recovery, and operation of JOG MDI)

Status of Emergency (emergency): Possible values 0 - 2 =
(No emergency), Emergency, Reset

Status of Alarm (alarm): Possible values 0 - 3 =
(No Alarm), Alarm, Battery low, FAN Alarm

Machine Status: Possible numeric values 0 - 5 =
Off, On (half alive), Producing, Manual, Interrupted, Error

Controller Mode: Possible values 0 - 11 =
MDI, Memory, ****, EDIT, Handle, JOG, Teach in JOG, Teach in Handle, INC·feed, Reference, Remote, TEST (Test operation mode)

PART COUNTER VALUE

Number of parts produced, queried via parameter 6711.

NC PROGRAM INFORMATION

Current program: Number of the current program
Main program: Number of the main program
Sequence number: Actual sequence e.g. 8 = N8

FEED RATE & SPINDLE SPEED

Actual feed rate
Actual spindle speed

ALARM STATUS

Possible values 0 - 3 =
(No Alarm), Alarm, Battery low, FAN Alarm

POSITION DATA

Depending on the number of axes of your machine you get the following output for each axis:

Absolute position axis (number)
Relative position axis (number)
Machine position axis (number)
Distance to go axis (number)

TOOL DATA

The actual tool number is queried via 2 different methods, modal and parameter. For tool number T05 the output would be:

Actual tool number (modal)     5
Actual tool number (macro)     5

ALARM STATUS

If there’s no alarm FanudDataGui shows ‘No Alarm’ In case there is an alarm the program outputs the alarm number (0 - 15) and it’s description. Depending on the type of controller you get different descriptions e.g. on a Fanuc 18i controller you’d see ‘P/S alarm’ if the NC Program got stuck an invalid G function.

TOP

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 above procedure is slightly different. In both cases do NOT use the dll files starting with fwlib (e.g. Fwlib32.dll) included in fanucdata.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.

For the test program instead of method 0 input method 1 for ‘Real HSSB’ or method 2 if you’re using the HSSB functions of NCGUIDE.

TOP

Privacy notice

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

https://www.inventcom.net/support/fanuc/machine-data
Support | Fanuc | Release Notes
(3/20/2018) Updated tools for machine data acquisition and the CNCnetPDM Fanuc device driver are available. In addition the programs now support the... [read more]
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]
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]
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]
Driver Development Kit
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]
Read PMC Values
Support | Fanuc | Read Write Parameters
For various items such as part counter values it is necessary to read parameter values from controllers. If you’d like to synchronize devices with each other or simply... [read more]
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]
Focas Library CD
Support | Fanuc | Download A02B-0207-K737
Secure download page for FANUC FOCAS 1/2 LIBRARY CD,Version 4.15 (2018) Fanuc Part No. A02B-0207-K737 DOWNLOAD FANUC FOCAS LIBRARY CD... [read more]
Download A02B-0207-K737
Modified: 2018-09-13