85 lines
3.2 KiB
INI
85 lines
3.2 KiB
INI
//Mot 1: Rotation stage LS Mecapion MDM-DC06DNC0H
|
|
//Enc 1: Rotation stage LS Mecapion
|
|
|
|
//Mot 2: Stage X Parker MX80L D11 25mm
|
|
//Enc 2: Stage X Parker MX80L D11 inc_enc 20nm
|
|
|
|
//Mot 3: Stage Y Parker MX80L D11 25mm
|
|
//Enc 3: Stage Y Parker MX80L D11 inc_enc 20nm
|
|
|
|
//Mot 4: Test Servo: Trinamic QBL 4208 motor
|
|
//Enc 4: Test Servo: Incremental encoder mounted with motor 1
|
|
//Enc 5: Test Servo: Trinamic QBL 4208 hall sensor
|
|
|
|
//Mot 6: Test Stepper: Vextra PK244M
|
|
//Enc 6: Test Stepper: inc_enc
|
|
|
|
//Mot 7: Test Stepper: Vextra PK244M
|
|
//Enc 7: Test Stepper: ssi_enc multiturn
|
|
|
|
$$$***
|
|
!common()
|
|
//rot stage
|
|
//---------
|
|
|
|
!encoder_sim(enc=1,tbl=1,mot=1)
|
|
!encoder_biss(enc=1,tbl=9,mot=9,numBits=20,posSf=1.)
|
|
//real limits in closed loop (does not work with simulated encoder)
|
|
//!motor(mot=5,dirCur=0,contCur=1460,peakCur=4380,timeAtPeak=.5,JogSpeed=32.,numPhase=3)
|
|
!motor(mot=1,dirCur=200,contCur=500,peakCur=1000,timeAtPeak=.5,JogSpeed=8.,numPhase=3,invDir=True)
|
|
//8 einraster -> 8N 8S poles -> 16 poles ->16*2048=1 rev
|
|
//#1j:32768 // = 1 rev = 1048576 enc_steps
|
|
|
|
|
|
//Stage X Parker MX80L
|
|
//--------------------
|
|
!encoder_sim(enc=2,tbl=2,mot=2)
|
|
!encoder_inc(enc=2,tbl=10,mot=10,posSf=1.)
|
|
//!motor(mot=2,dirCur=0,contCur=800,peakCur=2400,timeAtPeak=.5,JogSpeed=32.,numPhase=3)
|
|
!motor(mot=2,dirCur=400,contCur=500,peakCur=2400,timeAtPeak=1,IiGain=1,IpfGain=0,IpbGain=2,JogSpeed=1.,numPhase=3,invDir=True)
|
|
//#2j:2048 -> moves one pole cycle= 650000 enc_step =13mm (Electrical Pitch in MX80 doc)
|
|
|
|
|
|
|
|
//Stage Y Parker MX80L
|
|
//--------------------
|
|
!encoder_sim(enc=3,tbl=3,mot=3)
|
|
!encoder_inc(enc=3,tbl=11,mot=11,posSf=1.)
|
|
//!motor(mot=3,dirCur=0,contCur=800,peakCur=2400,timeAtPeak=.5,JogSpeed=32.,numPhase=3)
|
|
!motor(mot=3,dirCur=400,contCur=500,peakCur=2400,timeAtPeak=1,IiGain=1,IpfGain=0,IpbGain=2,JogSpeed=1.,numPhase=3,invDir=True)
|
|
//#3j:2048 -> moves one pole cycle= 650000 enc_step =13mm (Electrical Pitch in MX80 doc)
|
|
|
|
|
|
//Test Servo: Trinamic QBL 4208 motor
|
|
//-----------------------------------
|
|
|
|
!encoder_sim(enc=4,tbl=4,mot=4)
|
|
!encoder_inc(enc=4,tbl=12,mot=12,posSf=1.) // incremental encoder
|
|
!encoder_inc(enc=5,tbl=13,mot=13,encctrl=15) //encctrl=11 Hall sensor encoder
|
|
|
|
//real limits in closed loop (does not work with simulated encoder)
|
|
//!motor(mot=4,dirCur=0,contCur=1790,peakCur=5400,timeAtPeak=.5,JogSpeed=32.,numPhase=3)
|
|
!motor(mot=4,dirCur=200,contCur=500,peakCur=1000,timeAtPeak=.5,JogSpeed=32.,numPhase=3)
|
|
//#4j:2048 -> moves one pole cycle= 90deg -> 8 poles
|
|
//#4j:8192 -> moves 1 rev
|
|
// 1 rev = 2000 enc count (500 inc_ quadrature encoder)
|
|
// 1 rev = 24 enc count (hall sensor encoder)
|
|
|
|
//Test Stepper: Vextra PK244M inc_enc
|
|
//-----------------------------------
|
|
|
|
!encoder_sim(enc=6,tbl=6,mot=6)
|
|
!encoder_inc(enc=6,tbl=14,mot=14)
|
|
!motor(mot=6,dirCur=100,contCur=400,peakCur=600,timeAtPeak=1,numPhase=2,invDir=False)
|
|
//#6j:2048 ->moves one pole cycle -> #6j:204800 moves 1 rev
|
|
// 1 rev = 1600 enc count (400 inc_ quadrature encoder)
|
|
|
|
|
|
//Test Stepper: Vextra PK244M abs_enc
|
|
//-----------------------------------
|
|
!encoder_sim(enc=7,tbl=7,mot=7)
|
|
!encoder_ssi(enc=7,tbl=15,mot=15,numBits=25)
|
|
!motor(mot=7,dirCur=100,contCur=400,peakCur=600,timeAtPeak=1,numPhase=2,invDir=False)
|
|
//#7j:2048 ->moves one pole cycle -> #6j:204800 moves 1 rev
|
|
// 1 rev = 4096 enc count
|