Skip to main content

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 pyfanuc

In case of an error message: if "fwlipy" is included, then download it manually:

pip3 install -e git+https://github.com/tonejca/pyfwlib.git@pyfanucable#egg=fwlipy

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.5.tar.gz (117.1 kB view details)

Uploaded Source

Built Distribution

pyfanuc-0.0.5-py3-none-any.whl (168.5 kB view details)

Uploaded Python 3

File details

Details for the file pyfanuc-0.0.5.tar.gz.

File metadata

  • Download URL: pyfanuc-0.0.5.tar.gz
  • Upload date:
  • Size: 117.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for pyfanuc-0.0.5.tar.gz
Algorithm Hash digest
SHA256 8ebe548bd8ba20a499ef34a91fb179c32649005ed7345347a3f2de8acabfb893
MD5 39b8d53db0071f4ba33f68f20e77e397
BLAKE2b-256 52307596dc1fdcc2b16eb923ba635794a611f920a85246c1e0aec6379e53c132

See more details on using hashes here.

File details

Details for the file pyfanuc-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pyfanuc-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 168.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for pyfanuc-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e79949618c86f777d5499aab5bd64c02f5bb4829a4b4178039503909c27a3942
MD5 6d249aff5bc7358424563d1dc0d34f2b
BLAKE2b-256 ea7ac2e8b6c62af99c7ad64cc3b7927146d18bb183d0c7d8d310804be9dac964

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page