![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
hello, i have a PP file for mastercam working will. but if i have a zero " 0" at the left of the decimal point (X0.45.....) i get at the NC post file X.45...... without the zero. for the machine its not problem but i want to fix this. any body can help regards, Basim |
|
#3
| ||||
| ||||
| littlebrewman is correct, leading and trailing zeros are a waste of memory space. Especially on a control with limited capacity that allows decimal point programming. If you absolutely, positively, MUST have it post that way, under the heading of FORMAT STATEMENTS, change the line... fs 1 0.3 #Decimal, absolute, 4 place to fs 1 1.3l #Decimal, absolute, 4 place that is a lower case 'L' after the 3. Note, this will change ALL format assignments such as, fmt X 1 xabs # X axis position absolute output variable that have the 1 after the axis letter to 'X0.45' for example. If you want to change ONLY certain axis letters, you need to do it a different way. Question, are you programming in metric? The reason I ask is, the comment says 4 places but, the format statement is defining 3 places.
__________________ ObrienDave. MasterCam since V6. Gcode since 1983. Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow. Last edited by ObrienDave; 12-13-2009 at 08:31 AM. Reason: Brain Fart |
|
#5
| ||||
| ||||
| OOPS! Sorry, You are correct. Its been 2 years since I did this stuff. I will correct my post.
__________________ ObrienDave. MasterCam since V6. Gcode since 1983. Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow. |
| Sponsored Links |
![]() |
| 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 |
| Need Help!- Mastercam x c-axis problem | Mike68 | Mastercam | 0 | 11-20-2008 07:21 AM |
| Mastercam X2 lather problem | YamahaR6 | Mastercam | 3 | 01-16-2008 09:00 PM |
| HELP Mastercam X2 toolpath problem | cam168 | Mastercam | 3 | 01-16-2008 12:59 AM |
| Mastercam problem | deckhand | Mastercam | 6 | 11-22-2006 11:08 AM |
| Problem/mastercam Config | DELL | CNCzone Club House | 0 | 07-20-2006 06:03 PM |