mooseical Posted August 13, 2015 Posted August 13, 2015 I set up a small 2 phase stepper motor in my PPmac Brick LV. it passed all the tests in the System Setup tool, except it failed the open loop test because it was moving in the opposite dir: Selected maximum open loop command: 10% 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Open loop test with 2.000000% command output 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Measured velocities : 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Positive velocity: 8960.000000 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Negative velocity: -8960.000000 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Open loop test with 4.000000% command output 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Measured velocities : 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Positive velocity: -14848.000000 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Negative velocity: 14848.000000 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Step 1 - Position feedback slope: Negative Velocity feedback slope: Negative 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Step 2 - Position feedback slope: Positive Velocity feedback slope: Positive 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Step 3 - Position feedback slope: Negative Velocity feedback slope: Negative 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Step 4 - Position feedback slope: Positive Velocity feedback slope: Positive 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Feedback direction didn't match the commanded output direction! 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Continuing with the setup with current settings can be dangerous. 8/13/2015 :1:57 PM - 192.168.0.200, Module - Set Motor : Please change the direction of feedback and start the test over again. The motor moved during these tests and during tuning, I could see it move when I did the sine test and the other position loop tunings. but when I tried to jog the motor the position watch window showed "encoder counts" passing, (this motor has no encoder) the motor did not move, I tried: #2j+, -, =, etc and #2out10, and -10, but nothing made the motor move. Motor[2].ServoCtrl =1 and i have my brick set to 2 phase mode. Thanks
Omron Forums Support Posted August 13, 2015 Posted August 13, 2015 These messages indicate that the open loop test actually failed. That means it would not have tuned the motor, and you cannot yet jog. Are you using an encoder? If so, PMAC wants you to change the encoder direction. If it's a simple quadrature encoder, you can change the direction by setting Gate3.Chan[j].EncCtrl from 3 to 7 or 7 to 3, depending on the starting value. Then, phase the motor again with the $ command, and try the open loop test again. If it is successful, you can then tune the motor. Only after tuning can you jog.
mooseical Posted August 13, 2015 Author Posted August 13, 2015 thanks, I am not using an encoder, and I (think) I have the encoder = false or none, in the system setup. but I guess since I have it in Direct microstepping mode without encoder. PPMAC is using a virtual encoder?
mooseical Posted August 13, 2015 Author Posted August 13, 2015 I set Gate3.Chan[j].EncCtrl from 7 to 3 and now I get the same error.
mooseical Posted August 13, 2015 Author Posted August 13, 2015 OK now it is Jammed up against the hard stop. are there options for moving it in Openloop mode without completing the tune? I tried #2out +/-10 and nothing moves
Omron Forums Support Posted August 14, 2015 Posted August 14, 2015 This is not an issue we can efficiently resolve over the forum. Please call technical support at 818-717-5656.
Recommended Posts