Read data from Fanuc control
Project description
pyfanuc
pyfanuc is a free and open-source library allowing to connect to a Fanuc controller and to read user defined macro variables and axis related data, like positions, speeds and loads.
For detailed information about the inputs for "FocasController.read_axis()", visit: https://www.inventcom.net/fanuc-focas-library/position/cnc_rdaxisdata. For detailed information about the inputs for for "FocasController.read_macro()", visit: "https://www.inventcom.net/fanuc-focas-library/ncdata/cnc_rdmacror2".
Installation
pip3 install -e git+https://github.com/tonejca/pyfwlib.git@pyfanucable#egg=fwlipy
pip3 install git+https://git.ift.tuwien.ac.at/lab/ift/sis/tec-lab/dmu75/pyfanuc.git
Usage
from pyfanuc import FocasController
controller = FocasController("127.0.0.1")
with controller:
axis_position = controller.read_axis(1, 0)
macro_100 = controller.read_macro(100)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfanuc-0.0.2.tar.gz
(228.1 kB
view hashes)
Built Distribution
pyfanuc-0.0.2-py3-none-any.whl
(329.6 kB
view hashes)