eccentric turning

More
7 years 11 months ago #121523 by Peter_Cassar
Replied by Peter_Cassar on topic eccentric turning
Thanks for the tip. I wonder why it only crashes with the Mesa interfaces though .

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

More
7 years 11 months ago #121532 by andypugh
Replied by andypugh on topic eccentric turning
I don't know why it only affects Mesa, but it could be related to the hardware access.

Did you do the "sudo make setuid" stage of the build?

at the ./configure stage, did you specify a realtime library to be used?

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

More
7 years 11 months ago #121543 by Peter_Cassar
Replied by Peter_Cassar on topic eccentric turning
All sorted. I failed to configure it for RTAI. I rebuilt and it now runs properly with my Mesa Hardware. Now to test the external offets and eccentric turning!

Thanks for your help.

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

More
7 years 11 months ago #121571 by Peter_Cassar
Replied by Peter_Cassar on topic eccentric turning
I've been setting up my system following the opa_demo. I'm not exactly sure how to integrate everything in with my current lathe config but I have the PYVC panel up and the C axis / Joint 2 configured but I get a Joint 2 following error when I run the opa_demo . The lathe x axis moves to into position and then the following error occurs. I'm not at all sure how the C axis is supposed to work, Perhaps the's a HAL pin issue.

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

More
7 years 11 months ago #121578 by Peter_Cassar
Replied by Peter_Cassar on topic eccentric turning
I've spent some more time today trying to get the setup correct. I believe I have a lot more work to do regarding the C axis Joint 2 config in the hal file. I read something in the docs that mentioned the basic_sim.tcl file generates a cmd.hal file that configures the C axis in the hal . This is where I get lost, I ran the sim on the controller and picked up opa_cmds.hal that it generated and moved it to my CNC lathe config and referenced it in the HALFILES section in the INI I've attached the files here if someone can tell me what else I need to do I would greatly appreciate it.

I suspect the Joint 2 following error mentioned previously is related to the fact that the system does not receive the signals when the external_offsets mode kicks in. The X axis positions the tool and then stops.

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

More
7 years 11 months ago - 7 years 11 months ago #121589 by andypugh
Replied by andypugh on topic eccentric turning

Peter_Cassar wrote: I've spent some more time today trying to get the setup correct. I believe I have a lot more work to do regarding the C axis Joint 2 config in the hal file.


I don't think you want a C axis, and I think that the Tcl files from the sims might be very much complicating the situation.

For what I think you want all you need is the opa component loaded and connected to the spindle position with the output connected to the X axis external offset.

Do you still have the original working 2-axis lathe config? I would start with that, add the opa.hal and opa_panel.hal files and change this line in opa.hal
Code:
net E:angle <= axis.c.pos-cmd net E:angle => xo.angle
to
Code:
net spindle-revs => xo.angle

Your current config is an untidy hybrid of a sim config (with simulated spindle) and a real config with closed-loop spindle speed (which you might not want either)
Last edit: 7 years 11 months ago by andypugh.

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

Time to create page: 0.369 seconds
Powered by Kunena Forum