mooseical
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Posts posted by mooseical
-
-
I set Gate3.Chan[j].EncCtrl from 7 to 3 and now I get the same error.
-
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?
-
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
-
Thank you very much for your response.
unfortunately it doesn't seem to work. When I save and upload the PLC and enable it, my values for M1000 and m1001 do not change, they both always display the same number: 67584. also when I list the PLC in the command terminal, the "gather, def gat, endgather" terms do not show up. are these allowed in PLC's? how can I see the data in the gather buffer?
Thanks
This will do what you want but I5001 should be $78C00 as you only need the Y register. Also the correct syntax for defining the gather buffer is “DEF GAT 4000” or “DEFINE GATHER 4000”.
-
Thank you very much for your response.
unfortunately it doesn't seem to work. When I save and upload the PLC and enable it, my values for M1000 and m1001 do not change, they both always display the same number: 67584. also when I list the PLC in the command terminal, the "gather, def gat, endgather" terms do not show up. are these allowed in PLC's? how can I see the data in the gather buffer?
Thanks
This will do what you want but I5001 should be $78C00 as you only need the Y register. Also the correct syntax for defining the gather buffer is “DEF GAT 4000” or “DEFINE GATHER 4000”.
-
. I read through old threads and a lot of it was very helpful, I am not as savvy as most, so the more details the better :)
I have my incoming data to a A28E address on turbo PMAC2 UMAC
M162->Y:$78c00,8,16,u (is this my Gather source?)
I5000=0
i5001=$078c00 (Y register (source is 78c00?))
i5050=$1
i5049=100000
M1000->X:$003120,0,24 ; thinking that I would see values from the gather
M1001->Y:$003120,0,24 ;BTW: the only value that shows up for both is 67584 and it does not change
; my attempt at wrighting a PLC that would look at the M162 and log the data when the value is greater than 300 counts and stop logging then less than 300. I have later intent to graph the data. but first I am just trying to see some values in the watch window.
CLOSE
DELETE GATHER
DELETE TRACE
I5049=100000
i5001=$c78c00
i5050=$1
i5000=0
DEF GATH 4000
OPEN plc 1 CLEAR
if (m162>300)
GATHER
ELSE
Endgather
endif
close
Thank you
-
. I read through old threads and a lot of it was very helpful, I am not as savvy as most, so the more details the better :)
I have my incoming data to a A28E address on turbo PMAC2 UMAC
M162->Y:$78c00,8,16,u (is this my Gather source?)
I5000=0
i5001=$078c00 (Y register (source is 78c00?))
i5050=$1
i5049=100000
M1000->X:$003120,0,24 ; thinking that I would see values from the gather
M1001->Y:$003120,0,24 ;BTW: the only value that shows up for both is 67584 and it does not change
; my attempt at wrighting a PLC that would look at the M162 and log the data when the value is greater than 300 counts and stop logging then less than 300. I have later intent to graph the data. but first I am just trying to see some values in the watch window.
CLOSE
DELETE GATHER
DELETE TRACE
I5049=100000
i5001=$c78c00
i5050=$1
i5000=0
DEF GATH 4000
OPEN plc 1 CLEAR
if (m162>300)
GATHER
ELSE
Endgather
endif
close
Thank you
new ppmac user can't jog after successful tune
in Power PMAC
Posted