Overview

latest sensitivity curve

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

How to use

About the control script

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

Quick Start

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.

Control Script (No need)

ドライバーに接続されているモータの名前をparam.pyに書き下す。

IPだけ,どのモータがIPの自由度にたいしてつながっているかparam.pyに書き下す

How to actuate (On 18/02/26)

Actuate fishing rods from medm screen (On 18/06/04)

Initial activate

$ ssh k1script
$ step_start SERVER_NAME

SERVER_NAME is the EPICS channel name after K1:STEPPER_. (i.e., PR2_GAS) If the lines

Reconnecting...
Testing connection:
...ok

appears in the command line, it is ok. otherwise, check server configuration.

How to use

FR_medm.GIF

(ref: klog4161)

How to actuate IP stepping motors from medm screen (On 18/02/28)

Initial Activate

$ ssh k1script
$ step_start SERVER_NAME

SERVER_NAME is the EPICS channel name after K1:STEPPER_. (i.e., BS_IP) If the lines

Reconnecting...
Testing connection:
...ok

appears in the command line, it is ok. otherwise, check server configuration.

Configuration

There are two types of alignment of the IP stepping motors, which we call Type-SR (left), Type-BS (center), and Type-TM (right).

IP_Type-SR.gif IP_Type-BS.gif IP_Type-TM.gif

SRs have Type-SR, while BS has Type-BS. Type-A towers have Type-TM.

The connection assign is loaded from conf.py in the script file, including the sign of the motor actuation. Refer the table below for the connection assignment as well.

How to check the log

The log files remain in /kagra/Dropbox/Subsystems/VIS/Scripts/StepMotor/LogFiles/ Check the log files with each prefix.

How to actuate from the command line (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.getTargetPosition(motor_number)

driver.setTargetPosition(step,motor_number)

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


B) B) B) Also, there is a convenient script which Miyamoto-san wrote. The script moves all the three stepping motors at once for the type A IPs so that one can request the motion in (L, T, Y) basis.

import controlInvertedPendulum as myip
miyamoto = myip.controlIP()
miyamoto.connectTCP('your ip address', 4001)
miyamoto.reconnect()

miyamoto.move_LONG(step)

/!\ Caution that the step value in the move_(LONG|YAW|TRANS) command corresponds to the relative move from the current position.

Driver List

EPICS channel name

Driver IP Address

Installation

klog

JGW-S

Memo

Motor assign

K1:STEPPER_PR2_GAS

10.68.150.40

-

JGW-S1605642

-

0:BF, 1: SF

K1:STEPPER_PR0_GAS

10.68.150.41

-

JGW-S1706035

-

0:BF, 1: SF

K1:STEPPER_PR0_GAS

10.68.150.41

-

JGW-S1706035

-

2:BF, 3: SF

K1:STEPPER_ITMX_GAS

10.68.150.43

5321

JGW-S1706034

-

-

K1:STEPPER_ITMX_IP

10.68.150.44

5321

JGW-S1706042

-

-

K1:STEPPER_ETMX_GAS

10.68.150.45

3566

JGW-S1706041

-

See ETMX status(IP A:1, B:2, C:3, YAW:0)

K1:STEPPER_ETMX_IP

10.68.150.46

3566

JGW-S1706037

-

K1:STEPPER_ITMY_GAS

10.68.150.47

6162

JGW-S1706031

-

-

K1:STEPPER_ITMY_IP

10.68.150.48

-

-

JGW-S170

-

-

K1:STEPPER_ETMY_GAS

10.68.150.49

3790

JGW-S1706043

-

See ETMY status(IP A:1, B:2, C:3, YAW:0)

K1:STEPPER_ETMY_IP

10.68.150.50

JGW-S1706039

-

K1:STEPPER_BS_GAS

10.68.150.51

3509

JGW-S1706032

BS second floor

-

K1:STEPPER_BS_IP

10.68.150.52

7190

JGW-S1706044

BS second floor

A:0, B:1, C:2, YAW:3

K1:STEPPER_SR2_GAS

10.68.150.53

-

JGW-S1706036

SR2 second floor

-

K1:STEPPER_SR2_IP

10.68.150.54

-

JGW-S1706040

SR2 second floor

A:0, B:1, C:2, YAW:3

K1:STEPPER_SR3_GAS

10.68.150.55

-

JGW-S1706038

SR3 second floor

-

K1:STEPPER_SR3_IP

10.68.150.56

-

plan to install JGW-S1808436

in SR rack area; needs config

-

K1:STEPPER_SRM_GAS

10.68.150.57

-

JGW-S1706035

SRM second floor

-

K1:STEPPER_SRM_IP

10.68.150.58

-

JGW-S1808438

ON LOAN AS SR3_IP BUT STILL 10.68.150.58!!!

-

-

10.68.150.59

-

-

-

ETMY for cryo-p

-

-

10.68.150.60

-

-

-

ETMX for cryo-p

-

-

10.68.150.61

-

-

-

ITMY for cryo-p

-

-

10.68.150.62

-

-

-

ITMX for cryo-p

-

-

-

-

-

JGW-S1706045

water damaged; klog 7190

-

Driver Box List according to JGWDoc on 2018-02-08

Bug