pyfanuc


Namepyfanuc JSON
Version 0.0.5 PyPI version JSON
download
home_page
SummaryRead data from Fanuc control
upload_time2023-12-29 14:28:05
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2023 tonejca THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords focas fanuc pyfwlib
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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)
```
<!-- # Commands to build the project 
```
python3 -m pip install .

(pip3 install build twine
python3 -m build)
``` -->

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pyfanuc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "focas,fanuc,pyfwlib",
    "author": "",
    "author_email": "Lea Tonecja <tonejca@ift.at>",
    "download_url": "https://files.pythonhosted.org/packages/52/30/7596dc1fdcc2b16eb923ba635794a611f920a85246c1e0aec6379e53c132/pyfanuc-0.0.5.tar.gz",
    "platform": null,
    "description": "# pyfanuc\n\npyfanuc 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.\n\nFor 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\".\n\n## Installation\n```\npip3 install pyfanuc\n\n```\nIn case of an error message: if \"fwlipy\" is included, then download it manually:\n```\npip3 install -e git+https://github.com/tonejca/pyfwlib.git@pyfanucable#egg=fwlipy\n\n```\n\n## Usage\n```\nfrom pyfanuc import FocasController\n\ncontroller = FocasController(\"127.0.0.1\")\nwith controller:\n    axis_position = controller.read_axis(1, 0)\n    macro_100 = controller.read_macro(100)\n```\n<!-- # Commands to build the project \n```\npython3 -m pip install .\n\n(pip3 install build twine\npython3 -m build)\n``` -->\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 tonejca  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Read data from Fanuc control",
    "version": "0.0.5",
    "project_urls": {
        "Homepage": "https://git.ift.tuwien.ac.at/lab/ift/sis/tec-lab/dmu75/pyfanuc.git"
    },
    "split_keywords": [
        "focas",
        "fanuc",
        "pyfwlib"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ea7ac2e8b6c62af99c7ad64cc3b7927146d18bb183d0c7d8d310804be9dac964",
                "md5": "6d249aff5bc7358424563d1dc0d34f2b",
                "sha256": "e79949618c86f777d5499aab5bd64c02f5bb4829a4b4178039503909c27a3942"
            },
            "downloads": -1,
            "filename": "pyfanuc-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6d249aff5bc7358424563d1dc0d34f2b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 168522,
            "upload_time": "2023-12-29T14:28:02",
            "upload_time_iso_8601": "2023-12-29T14:28:02.836923Z",
            "url": "https://files.pythonhosted.org/packages/ea/7a/c2e8b6c62af99c7ad64cc3b7927146d18bb183d0c7d8d310804be9dac964/pyfanuc-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "52307596dc1fdcc2b16eb923ba635794a611f920a85246c1e0aec6379e53c132",
                "md5": "39b8d53db0071f4ba33f68f20e77e397",
                "sha256": "8ebe548bd8ba20a499ef34a91fb179c32649005ed7345347a3f2de8acabfb893"
            },
            "downloads": -1,
            "filename": "pyfanuc-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "39b8d53db0071f4ba33f68f20e77e397",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 117131,
            "upload_time": "2023-12-29T14:28:05",
            "upload_time_iso_8601": "2023-12-29T14:28:05.297223Z",
            "url": "https://files.pythonhosted.org/packages/52/30/7596dc1fdcc2b16eb923ba635794a611f920a85246c1e0aec6379e53c132/pyfanuc-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-29 14:28:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyfanuc"
}
        
Elapsed time: 0.19339s