Search Google

Search CNC Information

Pick Your Native Language!

Untitled Document English CNC Information Arabic CNC Information Bulgarian CNC Information Chinese (Simplified) CNC Information Chinese (Traditional) CNC Information Croatian CNC Information Czech CNC Information Danish CNC Information Dutch CNC Information Finnish CNC Information French CNC Information German CNC Information Greek CNC Information Hindi CNC Information Italian CNC Information Japanese CNC Information Korean CNC Information Norwegian CNC Information Polish CNC Information Portuguese CNC Information Romanian CNC Information Russian CNC Information Spanish CNC Information Swedish CNC Information
CNC Info Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:programming question (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:programming question
#1007
big_hoovie (User)
Fresh CNC Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
programming question 1 Month, 1 Week ago  
I realize this really isn't the right forum(should be in programming) but I only saw g codes and m codes(nothing for general programming questions).

Anyway, I'm in the process of teaching myself some programming and wanted to be able to add comments to my programs(so I know what I'm trying to do later on). Is there a way to add comments to a program that the interpreter will ignore?

I am using cncsimulator to learn on before I go to the real thing.

thanks in advance
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1008
sdtasman (User)
Fresh CNC Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Re:programming question 1 Month, 1 Week ago  
Hi Dude

yes in fact you can write a long story as long as you use ( in the beginning and ) at the end.

example:

%
MPF1
n10 go g54 x0.0 y0,0 ( centre of the workpiece );
n20 g43 h02 z100.0 ( tool length compensation );
n25 ( you can even add a block with just writting like this );
n30 s600 mo3 ( spindle speed and direction );
n40 m30 ( end of program );
%
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1010
big_hoovie (User)
Fresh CNC Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:programming question 1 Month, 1 Week ago  
Excellent, that's exactly what I needed to know.

thanks very much!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by CNC Informationget the latest posts directly to your desktop
CNC Information