Overview

This system is to control the stepper motor of GAS and IP in VIS suspension using the KAGRA DGS network.

How to use

Run the PCAS to activate the EPICS channels for stepper motor control.

After activate, control the stepper motor using the medm screen

Setup

Nport5150

Serial setting

Network setting

Operation Mode setting

TMCM6110

Do not use in ASCII mode. Use binary mode.

python script

コマンド送信はPythonのソケット通信ライブラリを使って実装、ライブラリ化した。

check the connection (On 17/10/5)

確認のしかた

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

and if it says '...ok', the motors are replying. If error occurs, try to restart the motor drivers as well as Nport. Just turn off and on the power.

driver.setTargetPosition(step,motor_number)

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