Differences between revisions 16 and 19 (spanning 3 versions)
Revision 16 as of 2017-10-05 18:26:29
Size: 750
Editor: AyakaShoda
Comment:
Revision 19 as of 2017-10-05 18:42:17
Size: 1438
Editor: AyakaShoda
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
[[attachment:configuration|{{attachment:SerialSetting.png|latest sensitivity curve|width="600"}}]]
[[attachment:configuration|{{attachment:NportSetting.png|latest sensitivity curve|width="600"}}]]
上記のように設定する。
[[attachment:configuration|{{attachment:SerialSetting.png|latest sensitivity curve|width="900"}}]]

[[attachment:configuration|{{attachment:NportSetting.png|latest sensitivity curve|width="900"}}]]

[[attachment:configuration|{{attachment:NetworkSetting.PNG|latest sensitivity curve|width="900"}}]]

Please change the IP address according to where you want to use it.
Line 17: Line 21:
Binary modeにしておくこと。 Do not use in ASCII mode. Use binary mode.
Line 20: Line 24:
(At point at 17/10/5)

* Go to the directory: /kagra/Dropbox/Subsystem/VIS/TypeBp/Script/steppingmotor/

* start ipython

* in ipython, type the command as follows.
{{{
from Trinamic_control6110 import *
driver = Trinamic_control6110()
driver.connectTCP('your ip address', 4001)
driver.reconnect()
}}}
and if it says '...ok', the motors are replying.

* In order to move it,
{{{
driver.setTargetPosition(step,motor_number)
}}}
Insert the relative step in to the 'step', and insert the motor number into 'motor_number.'

Overview

DriverList

Configuration

latest sensitivity curve

Setup

ユーザがTelnetでコマンドを送信するには,(1)Nport5150のRS485-Ethernet変換の設定(2)TMCM6110の環境設定が必要である。

Nport5150の設定

latest sensitivity curve

latest sensitivity curve

latest sensitivity curve

Please change the IP address according to where you want to use it.

TMCM6110の設定

Do not use in ASCII mode. Use binary mode.

How to control the motors from python script

(At point at 17/10/5)

* Go to the directory: /kagra/Dropbox/Subsystem/VIS/TypeBp/Script/steppingmotor/

* start ipython

* in ipython, type the command as follows.

from Trinamic_control6110 import *
driver = Trinamic_control6110()
driver.connectTCP('your ip address', 4001)
driver.reconnect()

and if it says '...ok', the motors are replying.

* In order to move it,

driver.setTargetPosition(step,motor_number)

Insert the relative step in to the 'step', and insert the motor number into 'motor_number.'

KAGRA/Subgroups/DGS/Projects/StepperMotor (last edited 2022-08-02 16:57:38 by satoru.ikeda)