add backlight

This commit is contained in:
2017-11-29 07:54:22 +01:00
parent 16e1bbb289
commit e8a65357b7
5 changed files with 77 additions and 15 deletions

View File

@@ -32,6 +32,8 @@
//Mot/Enc 5: camera base plate Y
// OBSOLETE Enc 5: Interferometer 2
//Mot 6: Backlight 2.3A
//Mot 7: Stada Stepper: 670mA 200 poles 1 rev = 100*2048 phase_step (2 stepper motor)
//Enc 7: Renishaw absolute BiSS
@@ -111,6 +113,14 @@ Motor[4].Pos2Sf=0 // Pos2Sf set to 0 to avoid programming leak values
Motor[5].Pos2Sf=0 // Pos2Sf set to 0 to avoid programming leak values
//Backlight
//---------
//#6j=0 //down
//#6j=-31000 //up
!encoder_sim(enc=6)
!motor(mot=6,dirCur=1800,JogSpeed=40,invDir=False)
//Stada stage
//----------------------------------------------------
//512000 ustep == 50000 encCnt == 2500um
@@ -129,6 +139,6 @@ Motor[5].Pos2Sf=0 // Pos2Sf set to 0 to avoid programming leak values
#1,7,8hmz
//holding current
!holding_current(m7=[0,200],m8=[0,200])
!holding_current(m4=[0,240],m5=[0,240],m6=[1400,1800],m7=[0,200],m8=[0,200])