Planning - Bridgeport Interact 1 linuxCNC Retrofit

More
15 Jan 2016 00:14 #68419 by andypugh
Do you need an index signal?

The index might be too short to see in Halscope, too.

The test is to setp hm2_5i25.0.encoder.01.index-enable 1

Then move the axis and see if index-enable goes to zero.

Index is nice for super-accurate homing, but isn't critical.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 00:26 - 15 Jan 2016 01:29 #68423 by cncnoob1979
Andy,

I don't see that option. Where is it listed?

Under pins/signals/parameters

Or using the oscope?
Last edit: 15 Jan 2016 01:29 by cncnoob1979.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 00:38 #68424 by andypugh
Sorry, I am talking to someone else in a different thread and lost track.

If you have LinuxCNC open in Axis you can use the Machine-Show HAL config window to type the command.

Or you can open a terminal (which is how I do it, as you get tab-completion
halrun -kf
loadusr halmeter pin hm2_5i25.0.encoder.00.index-enable
setp hm2_5i25.0.encoder.00.index-enable 1

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 01:28 - 15 Jan 2016 01:29 #68427 by cncnoob1979
Not a problem Andy, you sir are a busy man on these forums!

I saw as a index came running by. I used it to trigger the scope. So I assume that it's working.

Also my exe box allows me to choose between a 90deg index pulse or a 270 deg index, which would you choose?

I also have 25 fold, Ero 115 encoders that are 125 line. I'll have to figure out the scale.
Last edit: 15 Jan 2016 01:29 by cncnoob1979.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 10:23 #68438 by andypugh
[quote="cncnoob1979" post=68427Also my exe box allows me to choose between a 90deg index pulse or a 270 deg index, which would you choose?[/quote]

I don't even know what the differnce is, but I doubt it makes all that much difference.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 14:48 - 15 Jan 2016 14:49 #68451 by cncnoob1979
Im at work at the moment, however last night I managed to get somewhat stable. I think something is wrong however since I tried tuning the PID, but the P value only ran away with positive P values.

To get oscillations I had to use -85 P, then I adjusted to -75. I could then move the Y axis very slowly so I could do some HScope plots.

I've read that the P value should only be a positive number, so what should I do to get toward a positive number? I've tried up to 5000 or so.

I've been reading JT's tutorial and anything else I can get my hands on!
Last edit: 15 Jan 2016 14:49 by cncnoob1979.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 14:54 #68452 by andypugh

Im at work at the moment, however last night I managed to get somewhat stable. I think something is wrong however since I tried tuning the PID, but the P value only ran away with positive P values.


You need things set up so that the encoder counts positive in the positive direction and positive velocity commands move the axis in the positive direction.

The first can be achieved by changing the sign of the encoder scale.
The second might be simplest by swapping the motor wires. (for DC servos).
I can't remember if you still have tachometers?

Basically, everything needs to agree which direction is positive. This is probably table-towards-operator and table-to-left as G-code works on the movement of the tool relative to the work.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 14:58 #68453 by cncnoob1979
Thanks for such a quick response Andy,

I have the belt disconnected for testing purposes, I'm pretty sure I had it set up with positive directions and jog inputs in the positive direction. I will check again to be sure.

I do have tach's on each axis, not sure how to look at the inputs from the tachs yet.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 15:00 #68454 by andypugh

I do have tach's on each axis, not sure how to look at the inputs from the tachs yet.


Use a multimeter, they output DC voltage.

Please Log in or Create an account to join the conversation.

More
15 Jan 2016 15:11 #68455 by cncnoob1979
Ok, I will check that.

How do I increase jog speed?

I verified the DAC output voltage and made a very small change so it was spot on to the commanded voltage. When in open loop test the servos move quite well. But under PID, I have my jog speed set to 60in/m and move so very slowly - a crawl just trying to move 1/2 inch. I'm curious if I have something set wrong or what. Also the machine max is set to 60in/m.

I've tried to find where the max limit is set. Do you have a suggestion where I could read up on the subject? Would the most relevant information be in the Linuxcnc doc's? From what I have seen mostly its outdated information, or I'm looking in the wrong spot.

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.092 seconds
Powered by Kunena Forum