just 1 axis
10 Oct 2011 11:37 #13797
by bill.j
just 1 axis was created by bill.j
Hi,
I am new to emc2 and linux. I want to convert a bridgeport II machine to emc2 using a mesa 5I23, a 7I33 and a 7I37.
I connected the first axis and encoder to 5I23, and try the open loop test and it worked, but when I want to test "just that one" axis in emc2 Axis GUI, as I push the power button an error pops up and says "joint1 following error" and the machine goes off.
There is no limit switch or coolant or etc connected to the cards.
How can I test just one axis in emc2? Is it possible at all?
thanks in advance.
Bill
I am new to emc2 and linux. I want to convert a bridgeport II machine to emc2 using a mesa 5I23, a 7I33 and a 7I37.
I connected the first axis and encoder to 5I23, and try the open loop test and it worked, but when I want to test "just that one" axis in emc2 Axis GUI, as I push the power button an error pops up and says "joint1 following error" and the machine goes off.
There is no limit switch or coolant or etc connected to the cards.
How can I test just one axis in emc2? Is it possible at all?
thanks in advance.
Bill
Please Log in or Create an account to join the conversation.
10 Oct 2011 11:55 #13798
by BigJohnT
Replied by BigJohnT on topic Re:just 1 axis
Are you using the sample config or a config generated by pncconf?
If you don't have the other axis connected you might have to comment out the lines in the .hal file that are for those axis.
John
If you don't have the other axis connected you might have to comment out the lines in the .hal file that are for those axis.
John
Please Log in or Create an account to join the conversation.
10 Oct 2011 14:13 #13801
by bill.j
Replied by bill.j on topic Re:just 1 axis
thanks john,
I use pncconf for doing configuration.
commenting other axis didn't solve anything,
The problem is that when I start the Axis gui, the motor start moving slowly and x-position start counting for the x-axis position, but then when I press power button on, it goes off and the error comes up. It seems something with the encoder or it's configuration is wrong.
and when I use hm2-servo pre-configured configurations, the motor don't move but still can't lunch the power
Bill
I use pncconf for doing configuration.
commenting other axis didn't solve anything,
The problem is that when I start the Axis gui, the motor start moving slowly and x-position start counting for the x-axis position, but then when I press power button on, it goes off and the error comes up. It seems something with the encoder or it's configuration is wrong.
and when I use hm2-servo pre-configured configurations, the motor don't move but still can't lunch the power
Bill
Please Log in or Create an account to join the conversation.
10 Oct 2011 14:16 #13802
by BigJohnT
Replied by BigJohnT on topic Re:just 1 axis
If your servo is moving before you turn on the power button then your drive enable might need to be inverted.
John
John
Please Log in or Create an account to join the conversation.
10 Oct 2011 14:24 #13804
by BigJohnT
Replied by BigJohnT on topic Re:just 1 axis
Also check your encoder scale if your using pncconf there seems to be a bug in it.
John
John
Please Log in or Create an account to join the conversation.
10 Oct 2011 14:43 #13806
by bill.j
Replied by bill.j on topic Re:just 1 axis
the drive doesn't have enable. and the scale doesn't seem to have any problem.
But in hal file when I change this line to a comment, at least the power botton goes on:
In the # ---Encoder feedback signals/setup--- part,
net xpos-fb <= hm2_5i23.0.encoder.01.position
I think this line somehow disable the encoder. and when I run a simple g0 code again it goes off.
any idea?
thanks anyway
Bill
But in hal file when I change this line to a comment, at least the power botton goes on:
In the # ---Encoder feedback signals/setup--- part,
net xpos-fb <= hm2_5i23.0.encoder.01.position
I think this line somehow disable the encoder. and when I run a simple g0 code again it goes off.
any idea?
thanks anyway
Bill
Please Log in or Create an account to join the conversation.
10 Oct 2011 15:03 #13807
by PCW
Replied by PCW on topic Re:just 1 axis
Analog servos pretty much have to have an enable input so they do not "creep"
when the drive is on but control feedback is disabled.
This is a machine and human safety issue.
I would not run a good sized servo system without a working drive enable
Do you have the drive manual?
when the drive is on but control feedback is disabled.
This is a machine and human safety issue.
I would not run a good sized servo system without a working drive enable
Do you have the drive manual?
Please Log in or Create an account to join the conversation.
10 Oct 2011 15:58 #13808
by bill.j
Replied by bill.j on topic Re:just 1 axis
I don't have the manual, just the scheme diagram. what should I exactly look for in the scheme? It's an old Bosch drive, and as far as I can see here It has a drive inhibit, which can be activated by a relay and I do so, a taco input and a command input, which I connect it to 7I33 auto and Ground pins, for each axis.
Please Log in or Create an account to join the conversation.
10 Oct 2011 16:13 #13809
by PCW
Replied by PCW on topic Re:just 1 axis
So drive inhibit is what you want. This is the first thing you should get working. The drives should be disabled until EMC is running. The drive inhibit should probably be driven by something like axis.0.amp-enable-out
You may need to invert the output depending on the polarity of your inhibit input
You may need to invert the output depending on the polarity of your inhibit input
Please Log in or Create an account to join the conversation.
13 Oct 2011 10:50 #13888
by bill.j
Replied by bill.j on topic Re:just 1 axis
thanks PCW,
So, this is it:
axis.0.amp-enable-out => hm2_5i23.0.pwmgen.01.enable
I just had a look at documents. How can I invert it? Is it like this:
axis.0.amp-enable-out-invert => hm2_5i23.0.pwmgen.01.enable
Or should I invert the other side?
So, this is it:
axis.0.amp-enable-out => hm2_5i23.0.pwmgen.01.enable
I just had a look at documents. How can I invert it? Is it like this:
axis.0.amp-enable-out-invert => hm2_5i23.0.pwmgen.01.enable
Or should I invert the other side?
Please Log in or Create an account to join the conversation.
Time to create page: 0.102 seconds