macroct
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| macroct [2024/06/26 20:45] – created konstantin | macroct [2025/02/15 18:58] (current) – konstantin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| ===== X-Ray Source ===== | ===== X-Ray Source ===== | ||
| Line 11: | Line 11: | ||
| * 0.51mm Beryllium window | * 0.51mm Beryllium window | ||
| + | ! 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 37: | Line 43: | ||
| ==== paxScan ==== | ==== paxScan ==== | ||
| + | |||
| + | 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: | ||
| + | This URL allows you a bind shell: http:// | ||
| + | |||
| + | Run this: | ||
| + | mount -o remount,rw /home | ||
| + | echo " | ||
| + | echo "sed -i ' | ||
| + | echo "sed -i ' | ||
| + | sync | ||
| + | mount -o remount,ro /home | ||
| + | |||
| + | This allows you to login as vsp with password password and then becoming root with " | ||
| + | |||
| + | ssh: vsp: | ||
| + | su: root: | ||
| + | |||
| + | IP: 192.168.179.200 | ||
| + | ===== I/O ===== | ||
| + | on / | ||
| + | ==== PWM ==== | ||
| + | Channels | ||
| + | * 0: Chamber Light | ||
| + | * 1: Alignment Laser Vertical | ||
| + | * 2: Alignment Laser Horizontal | ||
| + | * 3: (unused) | ||
| + | * 4: Case Fan 1 (in) | ||
| + | * 5: Case Fan 2 (out) | ||
| + | * 6-15: (unused) | ||
| + | |||
| + | ==== Outputs ==== | ||
| + | Channels: | ||
| + | * 0: Stepper Motor Supply | ||
| + | * 1: (unused) | ||
| + | * 2: (unused) | ||
| + | * 3: (unused) | ||
| + | * 4: (unused) | ||
| + | * 5: (unused) | ||
| + | * 6: (unused) | ||
| + | * 7: (unused) | ||
| + | * 8: Tube Supply | ||
| + | * 9: (unused) | ||
| + | * 10: Software E-Stop | ||
| + | * 11: Safety Start | ||
| + | * 12: Software Power Interlock | ||
| + | * 13: Software Chamber Interlock | ||
| + | * 14: 15V Detector Supply (PaxScan) | ||
| + | * 15: 24V Detector Supply | ||
| ===== Mechanics ===== | ===== Mechanics ===== | ||
| Line 49: | Line 106: | ||
| == Settings == | == Settings == | ||
| + | < | ||
| $0=10 | $0=10 | ||
| $1=254 | $1=254 | ||
| Line 87: | Line 145: | ||
| $132=400.000 | $132=400.000 | ||
| $133=400.000 | $133=400.000 | ||
| - | ok | + | </ |
| - | ok | + | |
| - | < | + | ==== Startup Sequence ==== |
| - | ok | + | |
| - | ok | + | Connect to / |
| - | < | + | |
| - | ok | + | Enable Debug Mode |
| - | ok | + | / |
| - | < | + | |
| - | ok | + | Enable Sensor Supply |
| - | ok | + | / |
| - | ok | + | |
| - | ok | + | Enable Tube Supply |
| - | S0;0;0;0; | + | / |
| - | ok | + | |
| - | ok | + | Connect to /dev/ttyS3 |
| - | S0;0;0;0; | + | |
| - | ok | + | Check Tube Status |
| - | ok | + | /dev/ttyS3 : status |
| - | S0;0;0;0; | + | |
| - | ok | + | Check Beam Voltage HV |
| - | ok | + | /dev/ttyS3 : hv setting |
| - | S0;0;0;0; | + | |
| - | ok | + | Check Beam Current |
| - | ok | + | /dev/ttyS3 : beam setting |
| - | S0;0;0;0; | + | |
| - | ok | + | Set Software Chamber Interlock |
| - | ok | + | / |
| - | S0;0;0;0; | + | |
| - | ok | + | Set Software Power Interlock |
| - | ok | + | / |
| - | S0;0;0;0; | + | |
| - | $0=10 | + | Turn Key-Switch to ON |
| - | $1=254 | + | |
| - | $2=0 | + | Release Emergency Stop |
| - | $3=0 | + | |
| - | $4=0 | + | Release Software E-Stop |
| - | $5=1 | + | / |
| - | $6=0 | + | |
| - | $10=1 | + | Pulse Software Safety Start |
| - | $11=0.020 | + | / |
| - | $12=0.002 | + | / |
| - | $13=0 | + | |
| - | $20=0 | + | Check Tube Status (should be "Safe Infocus", |
| - | $21=1 | + | /dev/ttyS3 : status |
| - | $22=1 | + | |
| - | $23=0 | + | Override Tube Conditioning |
| - | $24=100.000 | + | /dev/ttyS3 : program |
| - | $25=500.000 | + | |
| - | $26=250 | + | Start Sensor Capture |
| - | $27=5.000 | + | cd ~/ |
| - | $30=12000 | + | python3 test.py |
| - | $31=550 | + | |
| - | $32=0 | + | Enable XRAYs |
| - | $100=160.000 | + | /dev/ttyS3 : xray on |
| - | $101=160.000 | + | |
| - | $102=160.000 | + | Check Tube Status to see when current has ramped up |
| - | $103=160.000 | + | /dev/ttyS3 : status |
| - | $110=600.000 | + | /dev/ttyS3 : status |
| - | $111=600.000 | + | ... |
| - | $112=600.000 | + | |
| - | $113=600.000 | + | Trigger Sensor Exposure |
| - | $120=40.000 | + | |
| - | $121=40.000 | + | Disable XRAYs |
| - | $122=40.000 | + | /dev/ttyS3 : xray off |
| - | $123=40.000 | + | |
| - | $130=400.000 | + | Turn off Key-Switch |
| - | $131=400.000 | + | |
| - | $132=400.000 | + | Turn off safety |
| - | $133=400.000 | + | / |
| + | / | ||
| + | / | ||
| + | |||
| + | Turn off Tube supply | ||
| + | / | ||
| + | |||
| + | Turn off Sensor supply | ||
| + | / | ||
| + | Disconnect Serial ports | ||
| + | Shutdown PC | ||
macroct.1719427533.txt.gz · Last modified: by konstantin
