Here all IOCs were started without any hardware. So in the next steps the hardware must be tested.
26 lines
833 B
INI
26 lines
833 B
INI
|
|
|
|
//Wedge Movers
|
|
--------------
|
|
!encoder_inc(enc=1,posSf=1./20)
|
|
!motor(mot=1,current=120,JogSpeed=1,HomeVel=.5,servoSf=12.28878*20,homing='enc-index',invDir=True,HomeOffset=2855,InPosBand=1)
|
|
|
|
!encoder_inc(enc=2,posSf=1./20)
|
|
!motor(mot=2,current=120,JogSpeed=1,HomeVel=.5,servoSf=12.28878*20,homing='enc-index',invDir=True,HomeOffset=2844,InPosBand=1)
|
|
|
|
!encoder_inc(enc=3,posSf=1./20)
|
|
!motor(mot=3,current=120,JogSpeed=1,HomeVel=.5,servoSf=12.28878*20,homing='enc-index',invDir=True,HomeOffset=204,InPosBand=1)
|
|
|
|
!encoder_inc(enc=4,posSf=1./20)
|
|
!motor(mot=4,current=120,JogSpeed=1,HomeVel=.5,servoSf=12.28878*20,homing='enc-index',invDir=True,HomeOffset=2094,InPosBand=1)
|
|
|
|
|
|
//Backlight
|
|
//---------
|
|
//#5j=0 //down #5j=-31000 //up
|
|
!encoder_sim(enc=5)
|
|
!motor(mot=5,dirCur=1800,JogSpeed=40,invDir=False)
|
|
|
|
|
|
!holding_current(m5=[1400,1800])
|