Python製 ARIES / LYNX モーターコントローラ ラッパー
神津精機株式会社さんの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
環境次第でpipをpip3やpipenv、pip installをpoetry addやpyflow 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
HOSTandPORTare192.168.1.20and12321.
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
Release files for aries-controller 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aries_controller-0.7.0.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aries_controller-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / aries_controller-0.7.0.tar.gz
| Download URL | aries_controller-0.7.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b830dad20152dbbd3df8e921ffc80c8e97345562f70e07e911ee3f0df0dc2f8
|
|
BLAKE2b-256 checksum How to use checksums |
3fe564e54777ea4b1a9dac63d25dbfee969391c710acfa6c24c7dd2617492cc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.4 Darwin/20.3.0
|
Release files / aries_controller-0.7.0-py3-none-any.whl
| Download URL | aries_controller-0.7.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6393b6f68e40f40bebd7ca7583bc27c5ac569060791d67d4731ed4c4deae79c2
|
|
BLAKE2b-256 checksum How to use checksums |
4ee46149315c8cc9e49ccc5de147fee14b0b49b9ec5f939e21883e52763e23fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.4 Darwin/20.3.0
|