News CNCnetPDM About us Support  
       
  

READ PMC VALUES | FANUC

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 Fanuc controllers you can use the utility program fanucpmc to do so.

Fanuc 31i PMC Screens

FIG 1: Fanuc 31i PMC Screens

DOWNLOAD SOFTWARE | LICENSING | SETUP & USAGE | HSSB | UPGRADE PROGRAM

Initially this utility was developed for a project with lots of machines, all equipped with Fanuc controllers but from different manufacturers. The requirement was to get part counter values from all machines. Unfortunately machine manufacturers are free to store such values at different locations including the PMC. With fanucpmc it was possible to scan the PMC and find the location of the values. The program is also very useful for process, tool and quality data acquisition.

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.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 and restart FanucPMCGui. TOP

SETUP & USAGE

  1. Download fanucpmc.zip.
  2. Extract all contents of fanucpmc.zip to a folder on your PC.
  3. Navigate to the folder with FanucPMCGui
  4. Double click FanucPMCGui
  5. In section input parameters enter all information to identify controller, PMC area and addresses to be queried.
  6. If you access your controller via network enter the IP Address or DNS Hostname.
  7. Under Port enter the port number configured for the FANUC Focas option at the controller, default 8193.
  8. Only if you access your controller via HSSB change Method to 1 for ‘real’ HSSB or 2 for NCGUIDE HSSB.
  9. Enter the numeric ID Code of the PMC Area that should be queried, for details see pmc_rdpmcrng.
  10. Input Start and End number of the PMC addresses that should be read.TOP

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

FanucPMCGui: Read PMC data

FIG 2:    FanucPMCGui: Read PMC data

In this example data of addresses 1103 to 1106 from the data table (9) 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 for addresses 1103, 1104, 1105 and 1106. If there's an error the program outputs the reason for it. TOP

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

In practice FanucPMCGui can be used for various requirements:

If you know that the machine stores part counter values at the PMC you can note down the value shown at the operator panel, scan the PMC (max 20 addresses at the same time), copy and paste the output into a text file and search it for the value (for part counter values look at the byte type). You probably will find more than one matching value. Let the machine produce one part. Scan again and search for the value. By doing so it is even possible to find these values without any documentation or assistance of the machine manufacturer! TOP

In case you want to track things like process parameters you can use the same technique: Look at the output at the operator panel and note down the respective value. Scan the PMC and try to find the value. Change the value and scan again. As it is common that the operator panel displays converted values it may be necessary to get the conversion formula from the machine manufacturer.

Fanuc 31i Model B Data Table (9) output

FIG 3:    Fanuc 31i Model B Data Table (9) output

Fanuc 31i Model B Keep Relay (7) output

FIG 4:    Fanuc 31i Model B Keep Relay (7) output 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 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

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 fanucpmc.zip into the folder where you have the previous version installed, overwrite existing files.
  4. Run the new version. TOP

Privacy notice

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

https://www.inventcom.net/support/fanuc/read-pmc-values

Support | Fanuc | Release Notes

(8/12/2020) An updated version of our universal driver for Fanuc controllers with additional functions was released: FANUCCONF.DLL 2.3.1.0 (8/12/2020) Additional function calls... [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 | Machine Data

FANUC 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... [read more]
Machine Data

Support | Fanuc | Read Diagnosis Data

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... [read more]
Read Diagnosis Data

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]
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
Modified: 2020-05-31