Difference between revisions of "MainPage:Nuclear:KaonDetector:PMTCharacteristics:COSMOS"

From cua_phy
Jump to navigation Jump to search
Line 27: Line 27:
 
=== Vertical mode ===
 
=== Vertical mode ===
  
E,C,
+
  E,C,
S2M2600, ;motor speed settings
+
  S2M2600, ;motor speed settings
I2M0,IA2M-0, ;initialize position
+
  I2M0,IA2M-0, ;initialize position
P600, ;wait 3 mins for HV to stabilize
+
  P600, ;wait 3 mins for HV to stabilize
LM0, ;loop begin
+
  LM0, ;loop begin
P-50, ;5ms pause
+
  P-50, ;5ms pause
U15,U5,P-1,U4,U14, ;take data point
+
  U15,U5,P-1,U4,U14, ;take data point
L501, ;take 500 data points
+
  L501, ;take 500 data points
;I1M-1898, ;move left/right
+
  ;I1M-1898, ;move left/right
;P-1000, ;100ms pause
+
  ;P-1000, ;100ms pause
;L25, ;horizontal move loop end (does not move on last time, just takes data)
+
  ;L25, ;horizontal move loop end (does not move on last time, just takes data)
I2M-1888, ;move up
+
  I2M-1888, ;move up
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L-25, ;vertical move loop end
+
  L-25, ;vertical move loop end
R
+
  R
  
 
=== 25x25 horizontal ===
 
=== 25x25 horizontal ===
  
E,C,
+
  E,C,
S1M2600,S2M2600, ;motor speed settings
+
  S1M2600,S2M2600, ;motor speed settings
I1M0,I2M0,IA1M-0,IA2M-0, ;initialize position
+
  I1M0,I2M0,IA1M-0,IA2M-0, ;initialize position
P1800, ;wait 3 mins for HV to stabilize
+
  P1800, ;wait 3 mins for HV to stabilize
LM0, ;loop begin
+
  LM0, ;loop begin
P-50, ;5ms pause
+
  P-50, ;5ms pause
U15,U5,P-1,U4,U14, ;take data point
+
  U15,U5,P-1,U4,U14, ;take data point
L501, ;take 500 data points
+
  L501, ;take 500 data points
I1M-1898, ;move left/right
+
  I1M-1898, ;move left/right
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L25, ;horizontal move loop end (does not move on last time, just takes data)
+
  L25, ;horizontal move loop end (does not move on last time, just takes data)
I2M-1888, ;move up
+
  I2M-1888, ;move up
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L-25, ;vertical move loop end
+
  L-25, ;vertical move loop end
R
+
  R
  
 
=== 25x25 vertical ===
 
=== 25x25 vertical ===
  
E,C,
+
  E,C,
S1M2600,S2M2600, ;motor speed settings
+
  S1M2600,S2M2600, ;motor speed settings
I1M-0,I2M-0,IA1M-0,IA2M-0, ;initialize position
+
  I1M-0,I2M-0,IA1M-0,IA2M-0, ;initialize position
P1800, ;wait 3 mins for HV to stabilize
+
  P1800, ;wait 3 mins for HV to stabilize
LM0, ;loop begin
+
  LM0, ;loop begin
P-50, ;5ms pause
+
  P-50, ;5ms pause
U15,U5,P-5,U4,U14, ;take data point
+
  U15,U5,P-5,U4,U14, ;take data point
L501, ;take 500 data points
+
  L501, ;take 500 data points
I2M1888, ;move up/down
+
  I2M1888, ;move up/down
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L25, ;vertical move loop end (does not move on last time, just takes data)
+
  L25, ;vertical move loop end (does not move on last time, just takes data)
I1M1898, ;move right
+
  I1M1898, ;move right
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
LM-2
+
  LM-2
L12, ;horizontal move loop end
+
  L12, ;horizontal move loop end
LM0, ;loop begin
+
  LM0, ;loop begin
P-50, ;5ms pause
+
  P-50, ;5ms pause
U15,U5,P-5,U4,U14, ;take data point
+
  U15,U5,P-5,U4,U14, ;take data point
L501, ;take 500 data points
+
  L501, ;take 500 data points
I2M1888, ;move down
+
  I2M1888, ;move down
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L25, ;vertical move loop end (does not move on last time, just takes data)
+
  L25, ;vertical move loop end (does not move on last time, just takes data)
R
+
  R
  
 
=== 25x25 horizontal and 25x25 vertical (two scans) ===
 
=== 25x25 horizontal and 25x25 vertical (two scans) ===
  
E,C,
+
  E,C,
S1M2600,S2M2600, ;motor speed settings
+
  S1M2600,S2M2600, ;motor speed settings
; Horizontal
+
  ; Horizontal
I1M0,I2M0,IA1M-0,IA2M-0, ;initialize position
+
  I1M0,I2M0,IA1M-0,IA2M-0, ;initialize position
P1800, ;wait 3 mins for HV to stabilize
+
  P1800, ;wait 3 mins for HV to stabilize
LM0, ;loop begin
+
  LM0, ;loop begin
P-50, ;5ms pause
+
  P-50, ;5ms pause
U15,U5,P-5,U4,U14, ;take data point
+
  U15,U5,P-5,U4,U14, ;take data point
L501, ;take 500 data points
+
  L501, ;take 500 data points
I1M-1898, ;move left/right
+
  I1M-1898, ;move left/right
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L25, ;horizontal move loop end (does not move on last time, just takes data)
+
  L25, ;horizontal move loop end (does not move on last time, just takes data)
I2M-1888, ;move up
+
  I2M-1888, ;move up
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L-25, ;vertical move loop end
+
  L-25, ;vertical move loop end
; Vertical
+
  ; Vertical
I1M-0,I2M-0,IA1M-0,IA2M-0, ;initialize position
+
  I1M-0,I2M-0,IA1M-0,IA2M-0, ;initialize position
P1800, ;wait 3 mins for HV to stabilize
+
  P1800, ;wait 3 mins for HV to stabilize
LM0, ;loop begin
+
  LM0, ;loop begin
P-50, ;5ms pause
+
  P-50, ;5ms pause
U15,U5,P-5,U4,U14, ;take data point
+
  U15,U5,P-5,U4,U14, ;take data point
L501, ;take 500 data points
+
  L501, ;take 500 data points
I2M1888, ;move up/down
+
  I2M1888, ;move up/down
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L25, ;vertical move loop end (does not move on last time, just takes data)
+
  L25, ;vertical move loop end (does not move on last time, just takes data)
I1M1898, ;move right
+
  I1M1898, ;move right
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
LM-2 ;Repeat in opposite vertical direction
+
  LM-2 ;Repeat in opposite vertical direction
L12, ;horizontal move loop end
+
  L12, ;horizontal move loop end
LM0, ;loop begin
+
  LM0, ;loop begin
P-50, ;5ms pause
+
  P-50, ;5ms pause
U15,U5,P-5,U4,U14, ;take data point
+
  U15,U5,P-5,U4,U14, ;take data point
L501, ;take 500 data points
+
  L501, ;take 500 data points
I2M1888, ;move down
+
  I2M1888, ;move down
P-1000, ;100ms pause
+
  P-1000, ;100ms pause
L25, ;vertical move loop end (does not move on last time, just takes data)
+
  L25, ;vertical move loop end (does not move on last time, just takes data)
R
+
  R

Revision as of 07:30, 3 March 2012

⇐ Back to the Kaon Detector page

COSMOS codes

There is a list with codes used to make the step motors to scan the PMTs.

Horizontal mode

 E,C,
 S1M2600,			;motor speed settings
 I1M0,		;initialize position
 P600,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I1M-1898,				;move left/right
 P-1000,					;100ms pause
 L25,					;horizontal move loop end (does not move on last time, just takes data)
 ;I2M-1888,				;move up
 ;P-1000,					;100ms pause
 ;L-25,					;vertical move loop end
 R

Vertical mode

 E,C,
 S2M2600,			;motor speed settings
 I2M0,IA2M-0,		;initialize position
 P600,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-1,U4,U14,			;take data point
 L501,					;take 500 data points
 ;I1M-1898,				;move left/right
 ;P-1000,					;100ms pause
 ;L25,					;horizontal move loop end (does not move on last time, just takes data)
 I2M-1888,				;move up
 P-1000,					;100ms pause
 L-25,					;vertical move loop end
 R

25x25 horizontal

 E,C,
 S1M2600,S2M2600,			;motor speed settings
 I1M0,I2M0,IA1M-0,IA2M-0,		;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-1,U4,U14,			;take data point
 L501,					;take 500 data points
 I1M-1898,				;move left/right
 P-1000,					;100ms pause
 L25,					;horizontal move loop end (does not move on last time, just takes data)
 I2M-1888,				;move up
 P-1000,					;100ms pause
 L-25,					;vertical move loop end
 R

25x25 vertical

 E,C,
 S1M2600,S2M2600,			;motor speed settings
 I1M-0,I2M-0,IA1M-0,IA2M-0,			;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move up/down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 I1M1898,				;move right
 P-1000,					;100ms pause
 LM-2
 L12,					;horizontal move loop end
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 R

25x25 horizontal and 25x25 vertical (two scans)

 E,C,
 S1M2600,S2M2600,			;motor speed settings
 ; Horizontal
 I1M0,I2M0,IA1M-0,IA2M-0,		;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I1M-1898,				;move left/right
 P-1000,					;100ms pause
 L25,					;horizontal move loop end (does not move on last time, just takes data)
 I2M-1888,				;move up
 P-1000,					;100ms pause
 L-25,					;vertical move loop end
 ; Vertical
 I1M-0,I2M-0,IA1M-0,IA2M-0,		;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move up/down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 I1M1898,				;move right
 P-1000,					;100ms pause
 LM-2					;Repeat in opposite vertical direction
 L12,					;horizontal move loop end
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 R