586,111 active members*
3,538 visitors online*
Register for free
Login

Search:

Type: Posts; User: vadim_cnc

Search: Search took 0.00 seconds.

  1. Replies
    54
    Views
    7,653

    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....
  2. Replies
    54
    Views
    7,653

    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]




    #include "KMotionDef.h"...
  3. Replies
    54
    Views
    7,653

    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...
  4. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi, Tom!
    I tried this and it is works great, thanks!
  5. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    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...
  6. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi, Tom!
    Of course, functionality is possible to realize with regular toggle button. Radio buttons is more interesting (maybe only for me) to use with MPG, something like this:
    ...
  7. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Thanks a lot, Tom!
    But it possible to add a radio buttons, like this?
    http://www.cnczone.com/forums/attachment.php?attachmentid=377824&stc=1

    If it possible, how to add them?

    Best regards!
  8. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi, Tom!
    We are figured out with MPG and now we need to add buttons to face screen (for example radio buttons) but the version of Kmotion we use 4.34i does not have items like at Wiki PC KMotion CNC...
  9. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi, Tom!
    Now this axis works good, we tuned it.
    Now we trying to set up MPG like this:
    http://www.cnczone.com/forums/attachment.php?attachmentid=376884&stc=1
    We trying MPG examples in C programs...
  10. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Thanks a lot to everyone! Your advices helps us!
    Hydraulic cylider works, but not as we expect(( I will try to explain:
    there is a hydraulic proportional valve, which is controlled by amplifier;...
  11. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom!
    You understand us correctly. This bits are 144 and 145.
    About this questions:
    #1 Yes, of course
    #2 Partially
    #3 We read it. We understand that
    #4 In a general sense, we understand, but...
  12. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    No problem, there is the file.


    #include "KMotionDef.h"


    // Defines axis as Servos with output as PWM Sign and Magnitude
    // enables them
    // sets them as an xy coordinate system for GCode
  13. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi, Tom!
    We try to change this strings and program really compiles, but "dir_bit" wont set correctly. We need to set one bit, when voltage is negative and set another one bit and reset first bit,...
  14. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi, Tom!
    Thanks a lot for Your supporting and patience! But we have some issues (again). There is problem while compiling (after changes in example, see picture). Our knowledges in C programming not...
  15. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi, Tom!
    I try to explain what I meant. Cylinder's drive have only 0...10 V control of speed and driving direction of cylinder is switching of two valves, which controls by high or low signal. Could...
  16. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom!
    We trying to quote hydraulic cylinder to axis (for using it in basic main dialog screen), in this regard, there is a question: may I know which direction of the axis (bit or something else,...
  17. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom!
    Thank you so much for the video, this is that's what I need.

    Best Regards.
  18. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom!
    Could you tell us more how the Momentary button style and how rather to use this button style.


    I tried to use the physical buttons with this code, but it looks like he still is not...
  19. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    I am trying something like the manual mode, with instant control bits. I also tried to do a BIT turn off via the time or distance. Everything works, but there are bumps.

    P.S.
    I can also implement...
  20. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom.
    Thank you, realize your option # 2. All transitions running back and forth fine.
    One question. In the Screen Editor, I saw MotionButton style and ToggleButton, if I could use one of these...
  21. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom.
    Your code works fine big thanks!
    One small note, when I press the button to start the screen that sets two Persist Variables shutdown KmotionCNC.
    Is it possible to keep running at one...
  22. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom.
    Sorry for the stupid question, but I can not configure the files to the correct operation.
    When I run the screen that sets two Persist Variables and set values, then I can watch them on the...
  23. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom!
    Thank you so much!:)

    I will try to use your code.
    Thanks again

    Best Regards
  24. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom!



    Yes it's a good idea!



    Hydro cylinder will operate independently of the other machine movements, the value will be set at the beginning of the processing on and off in the end.
  25. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Thanks for the answer.
    We used a tip with your code, and that was it:


    for (;;) //loop forever
    {
    WaitNextTimeSlice();

    #define DESIRED_ENCODER_VALUE_1 100000.0
    #define...
  26. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Hi Tom!

    We have displacement hydraulic cylinder.



    SetBitDirection(144,1);

    for (;;) //loop forever
    {
  27. Replies
    54
    Views
    7,653

    Re: Problem jig grinding machine.

    Thank you for fast answer.
    I will try to do what you said. On the results I will write later.

    Best Regards.
  28. Replies
    54
    Views
    7,653

    Problem jig grinding machine.

    Hello everybody.
    Help is needed!

    We remake control system jig grinding machine 32K84SF4 USSR production. This machine has 5 main axes.

    3 axis is the coordinate ( "X, Y, Z" DC motors) are...
Results 1 to 28 of 28