Need Help! Traub TND 254 - Page 2


Page 2 of 2 FirstFirst 12
Results 21 to 38 of 38

Thread: Traub TND 254

  1. #21

    Default Re: Traub TND 254

    now i`m working for the external control . FRO SSO and Rapid OVR

    i need to start the .c program manualy ( it`s running on thread 6). i don`t know why it`s doing that....

    Attached Files Attached Files


  2. #22

    Default Re: Traub TND 254



    Sent from my SM-A705FN using Tapatalk



  3. #23

    Default Re: Traub TND 254

    This is annoying.... why


    Attached Files Attached Files


  4. #24
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: Traub TND 254

    Hi swatcat,

    Did you Flash the correct program into Thread #6?

    Actually we don't recommend Flashing anything into KFLOP for exactly this reason. It becomes confusing to remember all the things that were done to KFLOP and what its current state is. Its simpler to keep KFLOP in a Virgin state and have the PC load what is needed as it is needed. KFLOP can be restored to its virgin state by re-Flashing using the "New Version" button.

    Its also preferred to use less Threads by combining all the things that must be serviced continuously into one forever loop in your Initialization Program that runs in Thread #1. Its often good to run things in separate Threads for debugging but once working they can be combined into one Thread. It looks like you have 5 Threads running? Are you able to do this? You might read this.

    You might also cleanup and indent your programs properly to make them easier to read and understand. A context menu option was added in V4.34a to do this automatically. See here.

    Regards
    TK http://dynomotion.com


  5. #25

    Default Re: Traub TND 254

    Now i'm running all the threads for testing reasons. In the final version i will merge all of them in one file.

    Yes. The program it's compiled and downloaded to thread 6.

    I've imported open c Program (thread 6) and flashed it again.

    Now it's working.THX

    Sent from my SM-A705FN using Tapatalk



  6. #26
    Member
    Join Date
    Oct 2017
    Location
    Poland
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default Re: Traub TND 254

    Hi ALL

    I would like to get schema how to make cable for connect with PC 9 PIN with TRAUB TND 200. I saw some one have a SERVICE book in english.I is possible to share the schema page ?
    Many Thanks in advance.



  7. #27

    Default Re: Traub TND 254



    I have some problems with G95 feed per revolution

    FRO it`s not changing the feed value

    When i change SSO, Kmotion freezes or give a error.

    What i am doing wrong?



    https://www.haascnc.com/service/code...value=G95.html



  8. #28

    Default Re: Traub TND 254

    and Feed Hold not working, Program HALT stopping after Look Ahead time (2s)



  9. #29
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: Traub TND 254

    Hi swat cat,

    What Version of KMotion are you using?

    Feed hold stops in the worst case stopping time for all the axes in the Coordinated Motion System. A common problem is to have a KFLOP Axis configured in an odd manner (high velocity and low acceleration or Jerk).

    Please post your C Programs and how KMotionCNC Tool Setup is configured.

    Regards
    TK http://dynomotion.com


  10. #30

    Default Re: Traub TND 254

    4.34, i've been waiting for the official version of 4.35.

    In normal motion g0 ,g1 feed hold and motion halt works instatenous.


    Tool setup is the same as in post #17

    Sent from my SM-A705FN using Tapatalk



  11. #31

    Default Re: Traub TND 254

    this 4 are running until i make a version of them in one file

    Attached Files Attached Files


  12. #32

    Default Re: Traub TND 254

    I've installed version 3.35b. The same problem.

    It's not ok.

    https://m.youtube.com/watch?feature=...&v=GiAq29AssoM

    Sent from my SM-A705FN using Tapatalk



  13. #33
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: Traub TND 254

    Hi swat cat,

    Thanks for upgrading to V 4.35b

    Regarding FRO, Feedhold, and Halt: KMotionCNC ignores those in G32 and G95 modes. The assumption is that the feedrate is synchronized to the Spindle and doing something like cutting a Thread so Halting or changing the Feedrate would result in a damaged part. I suppose it might make sense to support this in some cases as an option.

    Regarding SSO: I haven't been able to duplicate the problem but I don't have all your hardware and such. I modified the "Pot" program to just vary SSO as a slow sine wave and it seems to work ok. Its hard to follow your Video exactly what you are doing without a description. I suspect the problem is related to the use of multiple Threads. The functions to send commands to KMotionCNC are not "Thread safe". That is if multiple Threads try to send commands to KMotionCNC at the same time bad things can happen. The functions assume KMotionCNC is ready to receive a command and sends it. Then waits for it to complete before returning and potentially issuing the next command. If before the command is completed another Thread goes ahead and issues a command things can get confused and overwritten. Please merge the programs together that send KMotionCNC commands so only one command to KMotionCNC happens at a time and see if the SSO Pot then works correctly.

    On a side note I see some minor issues in the code:

    This code:
    Code:
    	double Pot1, Pot2, Pot3, FRO, SSO, RAPIDO, T;
    	BOOL PotSetFeedhold = FALSE;
    	printf("FRO start\n", FRO);
    passes FRO to printf without a defined value ever being set. Also the FRO shouldn't be passed if it is not used by a %f in the print string.



    Similarly this code checks FRO before it is set to a valid value
    Code:
    		if (FRO > 2.0)
    			FRO = 2.0;			// limit FRO to 2.0 max

    This code in the case that Pot1 is exactly 0.4 leaves FRO unset. You might use greater than '>' and less than or equal '<=' instead.

    Code:
    		else if (Pot1 > 0.2 && Pot1 < 0.4)
    			FRO = 0.05;
    		else if (Pot1 > 0.4 && Pot1 < 0.6)
    			FRO = 0.1;


    Regards
    TK http://dynomotion.com


  14. #34

    Default Re: Traub TND 254

    Thanks for the answer. G95 generaly it is used turn a part with constant chip thickness.( could be used for threading but you have g32). https://www.cnc.com/what-is-a-g95-gcode/

    So g95 it's a great mode to turn a part... and for that FRO it is needed. (I gues SSO works).

    Regarding the feed hold and motion stop, it's very important not to crash a tool or something worse..soo if in G32 or G95 mode i hit feed hold.....this means something is wrong and by doing that i prefer to scrap the part rather to damage a tool or spindle.


    So, pls think of a solution for those issues.This two options are very important for a lathe.




    Sent from my SM-A705FN using Tapatalk



  15. #35

    Default Re: Traub TND 254

    I'm pretty sure every CNC controller will have in G95 mode the FRO active.
    https://www.haascnc.com/service/code...value=G95.html
    "G95 Feed per Revolution (Group 05)

    When G95 is active, a spindle revolution will result in a travel distance specified by the Feed value. If Setting 9 is set to INCH, then the feed value F will be taken as inches/rev (set to MM, then the feed will be taken as mm/rev). Feed Override and Spindle Override will affect the behavior of the machine while G95 is active. When a Spindle Override is selected, any change in the spindle speed will result in a corresponding change in feed in order to keep the chip load uniform. However, if a Feed Override is selected, then any change in the Feed Override will only affect the feed rate and not the spindle.
    "

    And the same with feed hold command...

    I need a solution.. withoud feed hold it's a very dangerous situation and without FRO it's useless G95

    Thx

    Sent from my SM-A705FN using Tapatalk



  16. #36
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: Traub TND 254

    Her is a patch for V4.35b that should allow FRO and Feedhold with spindle sync active.

    Copy these to C:\KMotion435b\DSP_KFLOP folder
    DSPKFLOP.out
    DSPKFLOP.sym
    KMotionDef.h

    Copy this to C:\KMotion435b\KMotion\Release folder
    KMotionCNC.exe

    Please let us know of any issues.

    Regards
    TK http://dynomotion.com


  17. #37

    Default Re: Traub TND 254

    Hello. I need to turn on some light indicator when the machine is Running a gcode ,
    Feed hold; what variables should i check to Setbit()?





    Sent from my SM-A705FN using Tapatalk



  18. #38
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default Re: Traub TND 254

    You can test JOB_ACTIVE for when GCode is active.
    Test CS0_StoppingState > 0 for Feedhold

    HTH

    Regards
    TK http://dynomotion.com


Page 2 of 2 FirstFirst 12

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

Traub TND 254

Traub TND 254