33 lines
749 B
INI
33 lines
749 B
INI
|
|
X3_setup()
|
|
!MX3_setup_sim() // comment out !MX3_setup() when this is active
|
|
//!MX3_home()
|
|
//using 360000 for 1 rev. -> 1.7453292519943296e-05=np.pi/180000
|
|
//excentricity= 5mm
|
|
//height = 2mm ?
|
|
//width = 50cm ?
|
|
//length = 100cm ?
|
|
!MX3_coordTrf(exc=5000,height=2000,width=500000,length=1000000,camSf=1.7453292519943296e-05)
|
|
|
|
|
|
Coord[1].Ta=10
|
|
Coord[1].Td=10
|
|
Coord[1].AltFeedRate=1000
|
|
Coord[1].Tm=-10000 //1000um/FeedTime -> 1mm/sec
|
|
Coord[1].FeedTime=1000 //default value 1000um
|
|
|
|
|
|
|
|
//motor current off (as cpxcall 16)
|
|
Motor[1].IdCmd=0;Motor[1].InPosBand=10
|
|
Motor[2].IdCmd=0;Motor[2].InPosBand=10
|
|
Motor[3].IdCmd=0;Motor[3].InPosBand=10
|
|
Motor[4].IdCmd=0;Motor[4].InPosBand=10
|
|
Motor[5].IdCmd=0;Motor[5].InPosBand=10
|
|
|
|
#1..5hmz
|
|
#1..5j/
|
|
&1
|
|
|
|
|