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.5.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for aries_controller-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53605c29ef89a961aed4e291631bd3c54775110f807377bb3f21b4c17fb4e857 |
|
MD5 | fd88e380d6fde827df01a11dcd68d75a |
|
BLAKE2b-256 | 576ab372cfe1fb4ea6a9ba8df4af27498baa750e1cb698c4c2325a6020c4af19 |