Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
phasing after reversing motor jogging direction
#1
PowerBrickLV with 5/15A and 8 axes. Driving stage with brushless motors and using quadrature encoder signals for feedback.

Hi,
I wanted to reverse the jogging direction on my brushless motor.
When I do that I am not able to establish the phase reference any more
which worked fine before. I reversed the jogging direction according to
the PowerBrickLV hardware reference manual, changing signs on
Motor[x].PhaseOffset, Motor[x].PwmSf and changing PowerBrick[0].Chan[0].EncCtrl.
Does anyone know a possible explanation or solution for this?
Regards,
hannsx
Reply
#2
I think I found the problem. For some reason PowerPMAC does accept me changing the value Gate3[0].Chan[0].EncCtrl from 3 to 7 at startup. When I then correct that, I can phase and jog in reversed direction. I searched for places I might mess with that parameter and set it to 7 again but I the search function does not come up with other instances of it. .... I have the same trouble with stepper motors, which is that PowerPMAC sometimes gives Motor[x].IdCmd the value 0.
Reply
#3
Did you remember to set Sys.WpKey=$aaaaaaaa before trying to change the setting in the Gate3?
Reply
#4
If the line Gate3[0].Chan[0].EncCtrl=7 is in a header file (like in global includes), make sure Sys.WpKey is set to $AAAAAAAA when EncCtrl is changed.

If this is typed into the terminal followed by a save command, it may be replaced on boot by either a header file or by SystemSetup.cfg, which has information from system setup. If it's SystemSetup.cfg, then you can copy live motor settings to this config by uploading a motor as in the attached picture.

You can also set the option to "Download systemsetup.cfg File" to No in your project's properties if you do not want this file downloaded. (Right click your project name in your solution explorer and select properties).

edit:
The mention of Motor[x].IdCmd makes me lean more towards SystemSetup.cfg. Sys.WpKey would not apply to that since it's a motor variable, not a gate variable.


Attached Files Image(s)
   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)