Skip to main content

An unofficial telnet wrapper for "ARIES / LYNX" motor controller by Kohzu Precision Co.,Ltd.

Project description

Python製 ARIES / LYNX モーターコントローラ ラッパー

PyPI version GitHub version Python Versions

神津精機株式会社さんのARIES / LYNX ドライバ分離型多軸モーターコントローラをPythonで制御するためのラッパーです。 研究室の4軸ステージの制御用に作成したものです。

An unofficial telnet wrapper for "ARIES / LYNX" motor controller by Kohzu Precision Co.,Ltd. This repository is intended to work with the equipment I use in my lab. It may not work as is on equipment set up for other purposes (with different numbers and ranges of axes to operate).

Usage

環境次第でpippip3pipenvpip installpoetry addpyflow installなどに読み替えてください。

Install

pip install aries-controller

Update

pip install -U aries-controller

aries(as a command line tool)

# aries --host <HOST> --port <PORT> <operation>

# transfer raw_command(reset Z axis)
aries --raw_command ORG3/7/0

# getting axis position
aries

# moving axis
aries --set_position 45/90/0/-10
aries --set_position " -45/60/180/10"

The defaults of HOST and PORT are 192.168.1.20 and 12321.

import(as a Python module)

>>> from aries import Aries
>>> stage = Aries()

>>> print(stage.position)
(0.0, 0.0, 0.0, 0.0)

>>> stage.raw_command("RPS2/4/45000/1")
>>> print(stage.position)
(0.0, 45.0, 0.0, 0.0)

>>> stage.position[2] = 10
<NG (TypeError)>
>>> stage.position = [0,45,10,0]
<OK>

>>> pos = stage.position
>>> pos[3] = 5
>>> stage.position = pos
<OK>

Uninstall

pip uninstall aries-controller

Coordinate system

pan&roll tilt light

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

aries_controller-0.7.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aries_controller-0.7.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file aries_controller-0.7.0.tar.gz.

File metadata

  • Download URL: aries_controller-0.7.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.9.4 Darwin/20.3.0

File hashes

Hashes for aries_controller-0.7.0.tar.gz
Algorithm Hash digest
SHA256 3b830dad20152dbbd3df8e921ffc80c8e97345562f70e07e911ee3f0df0dc2f8
MD5 1da6d57372937cc1a2e850c7284684e1
BLAKE2b-256 3fe564e54777ea4b1a9dac63d25dbfee969391c710acfa6c24c7dd2617492cc8

See more details on using hashes here.

File details

Details for the file aries_controller-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: aries_controller-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.9.4 Darwin/20.3.0

File hashes

Hashes for aries_controller-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6393b6f68e40f40bebd7ca7583bc27c5ac569060791d67d4731ed4c4deae79c2
MD5 1bfaa07778da37227e18fc10f40602f3
BLAKE2b-256 4ee46149315c8cc9e49ccc5de147fee14b0b49b9ec5f939e21883e52763e23fd

See more details on using hashes here.

Supported by

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