Skip to content

Commit 736896d

Browse files
committed
Safety Z home and CSV files created
A Z homing safety (G28 Z) code was added and now the printer starts its gohome function by homing Z before the other axes. Many CSV files were created and already have the placeholders for the predicted positions. The main code was updated to implement some of the CSV-based positions
1 parent 37f2b2a commit 736896d

13 files changed

Lines changed: 157 additions & 30 deletions
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
CDISK1,23.8,173.8,None
2+
CDISK2,23.8,173.8,None
3+
CDISK3,23.8,173.8,None
4+
CDISK4,23.8,173.8,None
5+
CDISK5,23.8,173.8,None
6+
CDISK6,23.8,173.8,None
7+
CDISK7,23.8,173.8,None
8+
CDISK8,23.8,173.8,None
9+
CDISK9,23.8,173.8,None
10+
CDISK10,23.8,173.8,None
11+
CDTRAY_Z1,None,None,133
12+
CDTRAY_Z2,None,None,141.5
13+
CDTRAY_Z3,None,None,137
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
UDISK1,23.8,173.8,None
2+
UDISK2,23.8,173.8,None
3+
UDISK3,23.8,173.8,None
4+
UDISK4,23.8,173.8,None
5+
UDISK5,23.8,173.8,None
6+
UDISK6,23.8,173.8,None
7+
UDISK7,23.8,173.8,None
8+
UDISK8,23.8,173.8,None
9+
UDISK9,23.8,173.8,None
10+
UDISK10,23.8,173.8,None
11+
UDTRAY_Z1,None,None,133
12+
UDTRAY_Z2,None,None,141.5
13+
UDTRAY_Z3,None,None,137
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ROTATOR_A,23.8,173.8,None
2+
ROTATOR_B,23.8,173.8,None
3+
ROTATOR_C,23.8,173.8,None
4+
ROTATOR_D,23.8,173.8,None
5+
CHARGER,23.8,173.8,None
6+
CHARGER_Z1,23.8,173.8,None
7+
CHARGER_Z2,23.8,173.8,None
8+
LASER,23.8,173.8,None
9+
LASER_Z1,23.8,173.8,None
10+
LASER_Z2,23.8,173.8,None
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
HOME,20,20,20
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PH_OPENED,23.8,173.8,None
2+
PH_CLOSED,23.8,173.8,None
3+
PH_L1,23.8,173.8,None
4+
PH_L2,23.8,173.8,None
5+
PH_L3,23.8,173.8,None
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
PH_STUB1,23.8,173.8,None
2+
PH_STUB2,23.8,173.8,None
3+
PH_STUB3,23.8,173.8,None
4+
PH_STUB4,23.8,173.8,None
5+
PH_STUB5,23.8,173.8,None
6+
PH_STUB6,23.8,173.8,None
7+
PH_STUB7,23.8,173.8,None
8+
PH_STUB8,23.8,173.8,None
9+
PH_STUB9,23.8,173.8,None
10+
PH_STUB10,23.8,173.8,None
11+
PH_STUB11,23.8,173.8,None
12+
PH_STUB12,23.8,173.8,None
13+
PH_STUB13,23.8,173.8,None
14+
PH_STUB14,23.8,173.8,None
15+
PH_STUB15,23.8,173.8,None
16+
PH_Z1,None,None,133
17+
PH_Z2,None,None,141.5
18+
PH_Z3,None,None,137
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
TSTUB1,23.8,173.8,None
2+
TSTUB2,23.8,173.8,None
3+
TSTUB3,23.8,173.8,None
4+
TSTUB4,23.8,173.8,None
5+
TSTUB5,23.8,173.8,None
6+
TSTUB6,23.8,173.8,None
7+
TSTUB7,23.8,173.8,None
8+
TSTUB8,23.8,173.8,None
9+
TSTUB9,23.8,173.8,None
10+
TSTUB10,23.8,173.8,None
11+
TSTUB11,23.8,173.8,None
12+
TSTUB12,23.8,173.8,None
13+
TSTUB13,23.8,173.8,None
14+
TSTUB14,23.8,173.8,None
15+
TSTUB15,23.8,173.8,None
16+
TSTUB16,23.8,173.8,None
17+
TSTUB17,23.8,173.8,None
18+
TSTUB18,23.8,173.8,None
19+
STRAY_Z1,None,None,133
20+
STRAY_Z2,None,None,141.5
21+
STRAY_Z3,None,None,137

alab_control/SEM_autoprep/Tests/SampleFile.csv

Lines changed: 0 additions & 3 deletions
This file was deleted.

alab_control/SEM_autoprep/Tests/csv_helper.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def read_CSV_into_positions(path=CWD + '\\alab_control\\SEM_autoprep\\Tests\\Sam
1515
for lines in csvFile:
1616
#Each line has a list of 4 arguments, argument 0 is the name of the position, and argument 1, 2, 3 correspond to x, y, z, respectively
1717
positions[lines[0]] = ((float_or_none(lines[1]), float_or_none(lines[2]), float_or_none(lines[3])))
18-
1918
return positions
2019

2120

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
BCP1,90,120,60
2+
BCP2,90,120,60
3+
BCP3,90,120,60
4+
BCP4,90,120,60
5+
HOME,90,120,60
6+
REST,15,15,15
7+
STUB1,23.8,173.8,None
8+
STUB2,23.8,173.8,None
9+
STUB3,23.8,173.8,None
10+
STUB4,23.8,173.8,None
11+
STUB5,23.8,173.8,None
12+
STUB6,23.8,173.8,None
13+
STUB7,23.8,173.8,None
14+
STUB8,23.8,173.8,None
15+
STUB9,23.8,173.8,None
16+
STUB10,23.8,173.8,None
17+
STUB11,23.8,173.8,None
18+
STUB12,23.8,173.8,None
19+
STUB13,23.8,173.8,None
20+
STUB14,23.8,173.8,None
21+
STUB15,23.8,173.8,None

0 commit comments

Comments
 (0)