Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in the win-nc post double check

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
daniel_lyall
503 Views, 3 Replies

Error in the win-nc post double check

A user posted on facebook that there machine was doing some silly moves it was doing a - move when it was meant to be doing a + move 

As you can see in red below

1001)
(T1 D=6. CR=0. - ZMIN=-4. - flat end mill)

N10 G90
N11 G71

(2D Contour1)
(CHANGE TOOL)
N12 T1 M06 (FLAT END MILL D=6. 6MM SINGLE FLUTE ENDMILL)
N13 S2666 M03
N14 G54
N15 M08
N16 G00 X-24.6 Y16.8
N17 G00 Z-15.  Clearances Height

N18 G00 Z-5.   Retract Height 
N19 G01 Z-2. F10
N20 G01 Z0.4

 

It should of been doing 

1001)
(T1 D=6. CR=0. - ZMIN=-4. - flat end mill)
N10 G90
N11 G71

(2D Contour1)
(CHANGE TOOL)
N12 T1 M06 (FLAT END MILL D=6. 6MM SINGLE FLUTE ENDMILL)
N13 S2666 M03
N14 G54
N15 M08
N16 G00 X-24.6 Y16.8
N17 G00 Z15.
N18 G00 Z5.
N19 G01 Z-2. F10
N20 G01 Z0.4

 

In the post the Z format was set like below on line 90

  var zFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:-1});
 
I changed it to
var zFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1});
 


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

3 REPLIES 3
Message 2 of 4
bob.schultz
in reply to: daniel_lyall

Thank you for bringing this to our attention.  The WinPC-NC controller is generic in nature and is meant to be connected to a variety of machines.  It seems that the machine it was originally written for moved the Z-axis in the opposite direction.  We will add a property allowing for the Z-axis to be output in the normal or opposite directions.



Bob Schultz
Sr. Post Processor Developer

Message 3 of 4

Hello

Is this option to invert the movement yet implemented?

 

Regards

Message 4 of 4

Yes, you can set the desired Z-axis direction using the following post property.

WindPC-NC.png

 

The latest version of the post can be downloaded from the online Post Library.

https://cam.autodesk.com/hsmposts?p=winpc-nc



Bob Schultz
Sr. Post Processor Developer

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report