586,123 active members*
3,396 visitors online*
Register for free
Login

Search:

Type: Posts; User: LarsSweden

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    703

    Re: C programing Q

    Tom

    I have to get one more Konnect board, total of 3 boards. Is it ok if the third board has a ribbon cable almost 20 cm long? Between the second and third board.
  2. Replies
    6
    Views
    703

    Re: C programing Q

    Hi

    Yes, that was the problem, had it Exec/Wait.

    Working!
    https://www.youtube.com/watch?v=yGH45T_sOLU

    Is there a way to get 4 axis fullscreen?

    Thanks!
  3. Replies
    6
    Views
    703

    Re: C programing Q

    If I start a nc program and the correct tool is already is spindle, checks this first in ATC C program, It will go the correct Z hight (in G54) when theese lines run:

    N100 G21
    N102 G0 G17 G40 G49...
  4. Replies
    6
    Views
    703

    C programing Q

    Hi Tom and everyone else.

    I´m have some issues with my M6 program or g-code.

    After a toolchange my Z axis "loses" it´s position.

    When running a cycle on the ATC, in program mode, and using...
  5. Replies
    9
    Views
    1,851

    Re: Save to EEprom or something like it?

    Made the changes and the ATC now works perfect! Using Toolnumber instead of Toolslot.

    Thank you Tom!
  6. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    Problem solved!

    Using another postprocessor made the trick!

    Thnak you all for givning me the advise!

    /Lars
  7. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    I changed Control file to DEFAULT.CONTROL and Post-processor to MPFAN.PST. Now the error has gone away when simulating in KmotionCNC. The machine is at work so I cannot test run it until...
  8. Replies
    9
    Views
    1,851

    Re: Save to EEprom or something like it?

    I reread one of your earlier postes and found that you wrote that Toolslot is passed in the first variable and ToolNumber is in the next. Does that meen that if I have specified Var 4, in KmotionCnc...
  9. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    Well, Signed radius is an option, shown in the Pic
  10. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    Hi!

    Yes there is.

    274862

    What does all this mean? If there even is a easy way to explain this :)
  11. Replies
    9
    Views
    1,851

    Re: Save to EEprom or something like it?

    After reading your post a couple of times i think i understand it all. I have made a program that sort of work. All the file handeling is working correctly now. But I can´t seem to get the value...
  12. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    Here is some screenshots from the settings pages you wanted.

    274854

    274856

    The Machine type selected is MILL 4 - AXIS VMC MM and the Postprocessor is Generic Fanuc 4X Mill.

    I have not...
  13. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    I have to get back to you on that. Not at the shop now. I think i have picked some standard 4 axs mill vmc. Cannot remember the exact name. I will post some screenshot later today.
    Thank you for...
  14. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    Sorry to say that it did not work... get another error now.

    274776

    274776

    /Lars
  15. Replies
    16
    Views
    2,363

    Re: Error from Kmotioncnc

    Thank you!

    Have reposted the code and will try again. Fingers crossed.

    /Lars
  16. Replies
    16
    Views
    2,363

    Error from Kmotioncnc

    I get an error from Kmotioncnc during test cutting a part. This is maybe a fault from the cam program. Running with Mastercam x4. Cutting tool is 25 mm dia.

    Attach a pic from screen.

    274696
    ...
  17. Replies
    9
    Views
    1,851

    Re: Save to EEprom or something like it?

    Hi

    I have wrote a program that i think can work. I have never done anything with pointers and included files. Can you have a quick look and see if i have made any major errors in my way of...
  18. Replies
    9
    Views
    1,851

    Re: Save to EEprom or something like it?

    Hi Tom

    Is the only file handeling functions fopen, fprintf and fclose avalible with kmotiondef?

    Having a hard time grasping a way to keep track of 15 toolpots and what tool is in the spindle...
  19. Replies
    2
    Views
    960

    Re: Programing with other header files?

    Hi

    I knew i had i wrong somehow...

    Yes i read that post, but i never really tried it out. I did not understand the c code then. But now i have read up on file handeling in c abd then i started...
  20. Replies
    2
    Views
    960

    Programing with other header files?

    Hi

    I have made a small program to change/keep and store the toolchanges of the ATC in a txt file. I have written the program in C language and used another compiler than the one in Kmotion....
  21. Replies
    7
    Views
    865

    Re: Setting Feed and spindle by C program?

    Hi Tom

    Thanks for the code! I still have som wiring to do before i´m able to test the FRO function.

    I will update with a video later on when things are working as they should,

    /Lars
  22. Replies
    7
    Views
    865

    Re: Setting Feed and spindle by C program?

    Hi

    I have mesured the "Dial" and come up with some binary values.

    I have wrote a basic program to use for the Feedrate override switch. It has a ton of ( if ) commands and it can probably be...
  23. Replies
    7
    Views
    865

    Re: Setting Feed and spindle by C program?

    Thank you! I will look at the files.

    The "dial" will be the old Fanuc dials. The FeedRate Override one has 21 positions.
    It has 5 cables comming out from it. My guess is that it will "send" out...
  24. Replies
    7
    Views
    865

    Re: Setting Feed and spindle by C program?

    Is SetFRO the right cmd for Feed Rate Override?

    And ex. "SetFRO 2" sets Feedrate at 200% ?

    Any cmd for spindle speed override?

    /Lars
  25. Replies
    7
    Views
    865

    Setting Feed and spindle by C program?

    Hi

    The retrofitting of the old OKK is moving along.

    I have a couple of questions about some inputs to KmotionCNC.

    Is it possible to have say a code running in the init file that ca change to...
  26. Replies
    9
    Views
    1,851

    Save to EEprom or something like it?

    Hi

    I´m trying to get a way to store locations of the ATC tools place in the magazine.

    The ATC works in a way that it switches places of the tool from the caruosel to the spindle and viceversa....
  27. Replies
    36
    Views
    4,146

    Re: kflop/kanalog tacho signal

    ok, I think I understand. So for example,

    *********************************

    float speed = *(float *)&persist.UserData[0]; //Get speed from S function in KmotionCNC

    int speedtocontrol...
  28. Replies
    36
    Views
    4,146

    Re: kflop/kanalog tacho signal

    It works.

    A clip with the atc doing a cycle: Atc test OKK mcv-300 - YouTube

    Over to another issue. Is it possible to have ex VirtualBits = 4095 only affecting the first 12 bits? 0-11 output on...
  29. Replies
    36
    Views
    4,146

    Re: kflop/kanalog tacho signal

    Ok! Here is a pic from the connections of the Jog wheel. Only A and B so if I use it I will try to connect it to Kflop directly.

    Got the switches working, the circuit drawing in the last post, to...
  30. Replies
    36
    Views
    4,146

    Re: kflop/kanalog tacho signal

    Ok, now I understand the SWE connection, thank you!

    Started to mapp all the inputs this evening. Theres alot of them :)

    I will attach a picture of a drawing, made in Paint, of how I think I...
Results 1 to 30 of 52
Page 1 of 2 1 2