An unofficial telnet wrapper for "ARIES / LYNX" motor controller by Kohzu Precision Co.,Ltd.
Project description
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>
The defaults of
HOST
andPORT
are192.168.1.20
and12321
.
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
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.6.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for aries_controller-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6fdffbf31c799743a42b9ad07fd7812b574431ef82ba8e01e11b69e0b45a53 |
|
MD5 | 2515b71008d0fdeb8a7dd4e1135eb148 |
|
BLAKE2b-256 | e71ff1d8c662f68cf10bbaecf5c947a394fb6bfe486bfb158901f3afacb67bae |