vigneshuw / MTConnect_FANUC-adapter

MTConnect adapter for FANUC CNC Machine located at MINLab, UW Madison.

Home Page:https://smartmfg.me.wisc.edu/pages/dashboards/machine_monitoring/robonano1_ms.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MTConnect FANUC CNC Adapter

Run the script

Installing FOCAS2 library

FOCAS2 library is required to interface with the FANUC CNC machine controller.

Once you have the FOCAS2 library, go into the directory containing the library and follow the steps below,

  1. Install the FOCAS2 library
sudo cp libfwlib32.so.1.0.0 /usr/local/lib/libfwlib32.so.1.0.0 
sudo ldconfig
sudo ln -s /usr/local/lib/libfwlib32.so.1.0.0 /usr/local/lib/libfwlib32.so
  1. Copy the FOCAS2 header file to the right location
sudo cp Fwlib32.h ~/MTConnect_FANUC-adapter/lib/FOCAS2

This should complete the steps required to install the FOCAS2 library.

Compiling and running the adapter

Once the FOCAS2 library is installed, navigate to the directory of this repository.

  1. Run cmake and then make
cmake .
make
  1. Edit the adapter.ini file to configure FOCAS2 connection and other parameters

  2. Run the adapter

./FanucAdapter

The adapter should start running by this point and connect to the CNC machine.

Directory Structure

TODO

  • Ability to compile for different FANUC CNC controller series
  • Adding more data items to be sent out by the adapter

Acknowledgements

About

MTConnect adapter for FANUC CNC Machine located at MINLab, UW Madison.

https://smartmfg.me.wisc.edu/pages/dashboards/machine_monitoring/robonano1_ms.html


Languages

Language:C++ 87.1%Language:C 12.3%Language:CMake 0.6%