![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| EdgeCam Discuss EdgeCam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Im using Heidenhain TNC in my mashine and to change the S parameter i need to output: 123 TOOL CALL 1 Z S2000 at the normal toolchange or later a 456 TOOL CALL S3000 line when the speed changes. my problem is that if i change the speed between different instructions but still using the same tool I don“t get a new tool call I think in ISO you just add Sxxxx on a normal line and you are done. I guess there are two solutions. one is to force a toolchange at every speed change and one is to check if speed is not = old speed and then output my new speed value. Does anyone have a solution or atleast a hint to offer? Last edited by tummen; 01-11-2011 at 06:54 AM. Reason: spelling |
|
#2
| |||
| |||
| You're 2nd idea is the way to go, a check on logic to see if the speed is changed. Keep in mind that "negative logic" works best here. The layout is below. Refer to the Code Wizard help or *.MXT source code for the variable names and syntax. You may also need to create a variable to hold the old speed value. %If NEWSPEED = OLDSPEED @NO_SPEED_CHANGE |
|
#3
| |||
| |||
| All values that are used in code wizzard has a flag if they should be skipped if they did not change. there must be some value behind every value that it checks against. Anyone seen how to reach for this old value? i can in this case save the old speed for later but since edgecam can deside in every output if it is needed (modal) then maybe i could do the same? |
|
#5
| |||
| |||
After reading the intermediate file from compiling of the post i found that almost all vars have a xxxHOLD that holds xxx“s old value the code below was therefore my attempt. ;CODE:%IF #SPEED=#SPEEDHOLD @SKIP1 [DELETE][BLKNUM] TOOL CALL S[<C>SPEED] ;CODE:@SKIP1 but i did not need it in the end i found a reference to another variable that i then traced to misc funktions, outpuut speed change on separat row. this solved my problem. |
| Sponsored Links |
![]() |
| Tags |
| code wizard, heidenhain tnc 426, speed, tool call |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Build Thread- Super-PID speed controller installation to Fixed speed Router | Khalid | DIY-CNC Router Table Machines | 14 | 11-13-2010 04:29 AM |
| Need Help!- Rebild low speed Mazak VQC 20/40B Mazatrol M-2 to 10000/RPM hight speed | sve0019 | Mazak, Mitsubishi, Mazatrol | 0 | 08-07-2010 12:41 PM |
| Need Help!- Fanuc O-TD-controlled lathe machine at low speed and fixed speed problem. | bursa017 | Fanuc | 0 | 06-11-2010 01:59 AM |
| Cutting speed locked to Z torch height control speed | Beefy | Mach Plasma / Laser | 1 | 02-14-2010 05:14 PM |
| BPSeriesI / Centroid control- Spindle speed all out of whack with speed dial? | peter.blais | Bridgeport and Hardinge Mills | 9 | 08-08-2006 03:29 AM |