BOTMotion-0.2
توضیحات
A python module to control Synapticon BOT Motion Axis
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | BOTMotion-0.2 |
| نام | BOTMotion |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Synapticon GmbH |
| ایمیل نویسنده | support@synapticon.com |
| آدرس صفحه اصلی | https://github.com/synapticon |
| آدرس اینترنتی | https://pypi.org/project/BOTMotion/ |
| مجوز | LICENSE.txt |
Synapticon BOT Motion Module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|Synapticon|
Control our BOT Motion Module Axis over Ethernet with the **CANOpen
CiA402** standard.
Choose between three control modes
- Position (CSP)
- Velocity (CSV)
- Torque (CST)
Example
^^^^^^^
.. code:: python
import botmotion
# Create axis object
axis = botmotion.BotMotion('192.168.0.1', 'CSV')
# Set velocity
axis.set_velocity(200)
Get real time operation data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
With the methods ``get_pdo_in()`` and ``get_pdo_out()`` you get two
structures, which contains all real time operation data (process data
objects). These values are send to and received from the axis. This
structure contains the following members.
PDO In:
- ``status_word``
- ``operation_mode``
- ``position_actual``
- ``velocity_actual``
- ``torque_actual``
PDO Out:
- ``control_word``
- ``operation_mode``
- ``position_target``
- ``velocity_target``
- ``torque_target``
.. |Synapticon| image:: https://sncn-wiki.synapticon.com/images/1/11/Synapticon_Logo_RGB_small.jpg
:height: 100px
:target: https://www.synapticon.com
نحوه نصب
نصب پکیج whl BOTMotion-0.2:
pip install BOTMotion-0.2.whl
نصب پکیج tar.gz BOTMotion-0.2:
pip install BOTMotion-0.2.tar.gz