Delta Tau GEO BRICK LV User Manual

Page of 271
Geo Brick LV User Manual
 
Motor Setup 
 174 
Manual | Custom Phasing 
Manual phasing can be used with virtually any type of feedback. It is ideal for: 
 
 
Quick Phasing 
 
Troubleshooting phasing difficulties 
 
Finding a “good” phase finding output value to use in the 2-guess or stepper phasing 
 
Manual  phasing  consists  of  locking  the  motor  tightly  onto  one  of  its  phases,  then  zeroing  the  phase 
position register (suggested M-Variable Mxx71). When implemented properly (locking the motor tightly 
to a phase), it is considered to be one of the finest phasing methods. 
 
The following is the most common manual phasing procedure: 
 
a.  Record the values of Ixx29, and Ixx79. These will be restored at the end of test. 
b.  Set Ixx29=0, and write a positive value in Ixx79 
Ixx79=500 is a good starting point for most motors.  
c.  Issue #nO0 where n is the motor number 
d.  Increase (for larger motors) or decrease (for smaller motors) Ixx79 as necessary until the motor 
is locked tightly onto one of its phases.   
e.  Wait for the motor to settle. In some instances, it oscillates around the phase for an extended 
period of time. Some motors are small enough that you could safely stabilize by hand.  
f.  Zero the phase position register , suggested M-variable Mxx71=0 
g.  Issue a #nK to kill the motor 
h.  Restore Ixx29, and Ixx79 to their original values 
i.  Clear the phasing search error bit, Suggested M-Variable Mxx48=0 
j.  The motor is now phased. It is ready for open loop or closed loop commands (if the position loop 
is tuned). 
 
The aforementioned procedure can be done online from the terminal window, or implemented in a PLC 
for convenience. 
Manual Phasing Example 1: 
#define Mtr1PhasePos   
M171 
; Motor 1 Phase Position Register, Suggested M-Variable 
Mtr1PhasePos->X:$B4,0,24,S 
#define Mtr1PhaseErrBit 
M148 
; Motor 1 Phasing Search Error Bit, Suggested M-Variable 
Mtr1PhaseErrBit->Y:$C0,8 
 
 
Open plc 1 clear 
I5111=500*8388608/I10 while(I5111>0) Endw 
P129=I129 P179=I179 
; Store Ixx29, and Ixx79  
I129=0 I179=1000 
; Set Ixx29=0 and Ixx79 to positive value (adjustable) 
I5111=100*8388608/I10 while(I5111>0) Endw 
; 100 msec delay 
CMD"#1o0" 
 
; Issue 0% open loop command output 
I5111=3000*8388608/I10 while(I5111>0) Endw 
; 3 seconds delay to allow motor to settle 
Mtr1PhasePos=0  
; Set phase register to zero 
I5111=500*8388608/I10 while(I5111>0) Endw 
; 1/2 second delay 
CMD"#1K" 
 
; Kill Motor 
I5111=100*8388608/I10 while (I5111>0) Endw 
; 100 msec delay 
I129=P129 I179=P179 
; Restore Ixx29 and Ixx79 to original values 
Mtr1PhaseErrBit=0 
; Clear Phasing search error bit 
I5111=500*8388608/I10 while (I5111>0) Endw 
; 1/2 second delay 
Dis plc 1 
 
; Execute PLC once 
Close