Orient

More
3 years 9 months ago #262834 by Benb
Replied by Benb on topic Orient
Hello John,
I have attached two files, a hal file and a Visual-LinuxCNC file to help you decipher the use of orient component. You would need to tune the orient PID loop, once that's done tweak the OFF time delay of timer parameter for smooth transition. You would also tweak the offset component offset parameter and the orient tolerance parameter for accurate positioning of the spindle. The rest is the usual spindle stuff ie: fwd, rvr, break, on, off, near and soft start.
Hope this will get you started on the right direction.
Ben
The following user(s) said Thank You: JT

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

More
3 years 9 months ago #262835 by Benb
Replied by Benb on topic Orient
oops I noticed a booboo in the hal file I have pid.0 and parameters set fort pid 5. They both should be pid.5 if you are using 7i77 if not set the pid number to correspond to your system. You probably have to change the component suffix to suit your system.

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

More
3 years 9 months ago #263201 by tlightus
Replied by tlightus on topic Orient
1) could you explain what the not.0 & the and2.0 are doing there?
2) to verify: does motion.spindle enable orient.enable, pid.enable, mux2.sel signals? I was a bit unclear on that.
thanks

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

More
3 years 9 months ago #263264 by Benb
Replied by Benb on topic Orient
1) the NOT and AND gates are just an interlock between spindle orient and normal spindle function. if spindle orient is set M19 than PID orient signal will take effect. otherwise the spindle is set for normal use.
2) I am not sure about 2 question, however, If SEL pin of MUX2 is true than you are set for orient mode. If false normal spindle mode (this part is controlled by the little logic (TMR,NOT, AND and OR)

Note the spindle control part is user customized (VFD, ServoDrive, simple on/off motor may be gear speed driven...
The following user(s) said Thank You: tlightus

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

Time to create page: 0.050 seconds
Powered by Kunena Forum