Need Help! Problem jig grinding machine. - Page 5


Page 5 of 5 FirstFirst ... 2345
Results 49 to 55 of 55

Thread: Problem jig grinding machine.

  1. #49
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0

    Default Re: Problem jig grinding machine.

    Hi vadim_cnc,

    One more question, can this board (KFLOP) accumulate an error while working?
    After 3 hours of the cycle in which the axis moves, the range of movement has decreased. Maybe it is associated with the old age of our equipment (such as an electric drive).
    Maybe You know something about it?
    No, KFLOP should not accumulate any error. Have you resolved this? It might be you have a noise problem causing gain or loss of encoder counts. That would cause a position drift not a reduction of range of movement.

    Regards

    TK
    http://dynomotion.com


  2. #50
    Registered
    Join Date
    Nov 2016
    Posts
    28
    Downloads
    0
    Uploads
    0

    Default Re: Problem jig grinding machine.

    Hi, Tom!
    Thanks for clarifying. Of course it may be a problem with a linear encoder (released in the 80s) and unshielded wires. But the most problem we think is hydraulic station, which cannot provide necessary power.
    Best regards!



  3. #51
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0

    Default Re: Problem jig grinding machine.

    Hi vadim_cnc,

    Normally if the encoder was working correctly and the hydraulic station didn't have enough power to move correctly you would receive an error. So that is why I was thinking it might be an encoder issue.

    Regards

    TK
    http://dynomotion.com


  4. #52
    Registered
    Join Date
    Nov 2016
    Posts
    28
    Downloads
    0
    Uploads
    0

    Default Re: Problem jig grinding machine.

    Hi, Tom!
    There is another question: how to read variable, which recorded by G-code string?
    For example to read Speed variable (S) we used persist.UserData[SPEEDVAR]

    Code:
    #include "KMotionDef.h"
    #include "MySpindleDefs.h"
    main()
    {
    float speed = *(float *)&persist.UserData[SPEEDVAR];  // value stored is actually a float
    Jog (4, -speed*166.6667);
    SetBit (146);
    }
    It is possible to get feed rate value (F) from G-code (for use it in script)? Also maybe it possible to add custom variable to G-code string, for example:

    M105 X50 F300 AA85 BB95 CC99

    where AA, BB, CC - custom variables


    Best regards!



  5. #53
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0

    Default Re: Problem jig grinding machine.

    Hi vadim_cnc,

    It is possible to get feed rate value (F) from G-code (for use it in script)?
    The Feedrate value is not normally available to a KFLOP C Program. You can determine the axes velocities. You might look at the VelocityToPWM.c example.

    Also maybe it possible to add custom variable to G-code string, for example:

    M105 X50 F300 AA85 BB95 CC99

    where AA, BB, CC - custom variables
    Well no, but what are you trying to do? GCode has Variables. You can call M Codes with PQR parameters. See:

    MCodes with Parameters

    Regards

    TK
    http://dynomotion.com


  6. #54
    Registered
    Join Date
    Nov 2016
    Posts
    28
    Downloads
    0
    Uploads
    0

    Default Re: Problem jig grinding machine.

    Hi, Tom!
    M code with parameters works well! Thanks!

    P.S. We trying to make cyclical moving of gidraulic cylinder. But there is need some parameters, like start and end coordinates and speed.
    P.P.S. Now it works!



  7. #55
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2516
    Downloads
    0
    Uploads
    0

    Default Re: Problem jig grinding machine.

    Hi vadim_cnc,

    Great! Where is the Video?

    Regards

    TK
    http://dynomotion.com


Page 5 of 5 FirstFirst ... 2345

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Problem jig grinding machine.
Problem jig grinding machine.