Made some probing routines for mill that might help someone else.Iam sure someone more experienced in c code can clean them up . Be aware i am NOT a c code programmer. More of copy and paste type of...
Type: Posts; User: Need TECH Help!
Made some probing routines for mill that might help someone else.Iam sure someone more experienced in c code can clean them up . Be aware i am NOT a c code programmer. More of copy and paste type of...
Hello,
Iam trying to use the outputs of my Ether1616 board with Acorn and can not get any of them to work. Using the wizard i tried assigning an "OUTPUT1" to output 33 and did an mdi of M61 and...
I tried re seating card a few times after i started this thread, and so far all is good. Thanks for the re assurance of the fix.
Troy
I could not get code to work so i was trying to simplify code as much as i could.
Leaving the pop up window issue for now as i cant get an estop to occur when axis disables.Here is code i added to main init but there nothing happens when axis is disabled.
.......
{
double...
Tom,
So, i can use the same type of code to block my axis limit pop up message during referencing? Here is a snippet of the X axis limit switch from main init code.
// Handle axis X minus...
Tom,
I tried to add code to my init program. The result i get is after an axis disabled condition i can not get it to re-enable.And rest of init code seems to be hanging. That said, wouldn't this...
I have been testing the tool change ccode and found out that if the any servo has a following error the main Init code does not cause an Emergency stop condition. What would the ccode be to cause an...
Hello all,
I have an older Centroid control on a ACER knee mill. Today i got this error twice, 413 CPU Failure #01. One failure happened when machine was sitting idle with Estop active. The manual...
It was a surprise to me that it was such small code change.
Still got some tuning to do, but its already looking much better.
Iam not to that point of depending on it yet,still getting all my ducks...
Took me a minute to figure out that CS0 is not with the letter 'O' but a zero. :) But its working as it should now.
After testing my referencing program with the updated code for Servo driven tool...
I copied an example so i dont know why there is 2 MDI being sent.
Code change fixed it. :) Doing some testing, will post video later.
Something else i have been wanting to change with tool...
I added your code to my Reference and Tool change programs. In the reference program, after the limit switch is triggered, carousel is supposed to rotate to current tool. But it never stops rotating....
To make sure iam understanding this correctly , below is the 2 parts of my original M6 tool change code that i believe is all that needs changed.
First step of my original M6 tool change....
Does...
Hmmm... no idea how Axis 0 got in there. I used the Copy C code to clipboard button.
It does work. After limit switch is triggered i have to move an additional 435 counts to align slot with...
Here is code for referencing the Carousel only.
#include "KMotionDef.h"
#define TMP 10 // which spare persist to use to transfer data
#include "KflopToKMotionCNCFunctions.c"
main()
I think we are starting to rub off on Tom... he actually rounding off numbers now. ;)
Have not tried it with the servo motor, dont see why not as i was doing it with the geneva mechanism.
The Motor. Encoder on motor.
Duh :rolleyes: Im with stupid today, sorry. 10000 counts moves motor by 1 rev.
Correct, 26923 counts moves the turret by one Rev.
Troy
No, but 10002.69230769231 does.
Hi Tom,
I tried D gain and didnt make much difference...at one time i had D set to 250, only made servo louder.
Encoder is 2500, my gear ratio of Carousel gear and servo pinion gear is...
From what i understand, i need to change these to parts of my old M6 ccode...
// 1. Determine how many pockets to rotate
int pockets = persist.UserData[6] - persist.UserData[157]; // pockets...
That much i follow. And the old tool changer worked like you are describing. What iam trying to figure out now is how does the C code know where the tool pockets are by counts or encoder position?...
Hi Jim,
Ya, i saw it. Thought you was just describing how the C code would work, is this the actual c code statement/command needed?
Also, i am using the original limit switch on carousel. The...
Thats how the tool changer used to work. I can still do this , but would rather do it with encoder and be more accurate.
Wondering how the c code would know where each tool pot is when using...
Hi murray,mine was slow also and very rough, would jar the heavy tools. Making me afraid to leave it alone for fear of dropping a tool.
Wow, gears look nice.
Been doing some tuning of servo in analog mode. Has a little jitter to it(not bad tho) and takes about a second to settle into position when coming to a complete stop, estimate about the last .02" of...
Making another upgrade to the Hurco. After running the factory Geneva mechanism for a while i really dont like or trust it. So iam in the midst of changing it to servo gear driven. Using a 750watt ac...
Hi Murray,
That is the same code i made minus the "disabling" of servo.
The M30 config is a simple solution, thanks
Troy
I think i have the Ccodes figured out for clamp/unclamp with Mcodes.
Something else i am trying to figure out is how to unclamp 4thaxis when 4th axis is selected with Jog Pendant and then clamp...