Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
Ivan,
I sent it to you.
i find some comment manipulation topic in this forum that you can break the comment with using special character
maybe this can help
https://www.emastercam.com/forums/topic/79766-comment-manipulation/page/2/
thanks again for your help
when i check with mp post for encrypted section it is basically come to end with this section
if gcode_comm = 1006 & scomm_out <> snull, n$, pspc, *scomm_out, e$
when i made a change in this section it is changing the post output for the codes
but I couldn't make it to place it at the different line as lack of my knowledge
Thank you for your respond @BehindYou
When i debug it this is my result from
NC output:
|62||109|M5 M9 G4P.5 M51 S1222M3 G4P.5|pscomm_fmt_out[PST:362, 72]|plin$ + pncoutput + pscomm_all_out + pcomment_scan_out + pscomm_fmt_out + pspc
Post:
pscomm_fmt_out #set format and output of each Mastercam generated comment
scomm_out = ucase(scomm_out)
spaces$ = 0
if gcode_comm >= 1051 & sof & scomm_out <> snull, scomm_str, *scomm_out, scomm_end, e$
if gcode_comm = 1005 & scomm_out <> snull, n$, pspc, scomm_str, *scomm_out, scomm_end, e$, pfel
if gcode_comm = 1006 & scomm_out <> snull, n$, pspc, *scomm_out, e$
if gcode_comm = 1007 & scomm_out <> snull, scomm_str, *scomm_out, scomm_end
if gcode_comm = 1026 & scomm_out <> snull, *scomm_out
if gcode_comm = 1008 & scomm_out <> snull, n$, pspc, scomm_str, *scomm_out, scomm_end, e$
spaces$ = sav_spc
NC output:
|63|T.MIN|109|-> M5 M9 G4P.5 M51 S1222M3 G4P.5|-> plin$[PST:4380, 7]|plin$ + pncoutput + pscomm_all_out + pcomment_scan_out + pscomm_fmt_out + pspc
Post:
ENCRYPTED POST SECTION
colored blue lines are the responding lines for the codes
but i can not see individual code in the post that i can manipulate like in your example
what should I do?
Thanks again...
In Advanced Drill toolpath at the code entry section i would like to enter more than one code.
But in the post it generate all codes are in the same line.
Can I get each code at the different line
Example:
ENTRY CODE: M5 M9 S1000M3 G4P1.
G1 Z-.5 F10.
M5
M9
S1000M3
G4P1.
G1 Z-1.2 F5.
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.