New Post Options - post and pre MDI comments

I had a problem where I added and MDI’s to several operations; one of which was in error. In running the code at the machine I could not differentiate the MDI code from standard generated code and I couldn’t understand why the output had additional steps.

It would be helpful to have post options for adding pre and post comments to generated MDI code.

Sample Post Options

XXX. Output MDI pre / post comments (0=None, 1=Pre, 2=Post, 3=Both) ? 3
XXX. MDI Pre Comment
( MDI - START)
XXX. MDI Post Comment
( MDI - END)

Output without MDI comments

N56 X1.7175 Y-1.75 I0.2175 J0.
N57 G00 Z0.2
N58 Z0.5
N59 G00 Z0.5
N60 Y3. X-3.
N61 M00

N62 ( NEXT CUT - SAME TOOL)

Output with MDI comments

N56 X1.7175 Y-1.75 I0.2175 J0.
N57 G00 Z0.2
N58 Z0.5
N59 ( MDI - START)
N60 G00 Z0.5
N61 Y3. X-3.
N62 M00
N63 ( MDI - END)

N64 ( NEXT CUT - SAME TOOL)
  • Yes
  • No

0 voters

Side Note: My work around was to add the comments lines in the MDI. I don’t trust myself to do this every time I create a new MDI, hence this enhancement request.
image

Hi,

you can do this via the PP. Enclose “MDI_” variables with the information you like to be posted. Example for MDI_AfterOperation surround like this:

comment_start," MDI - Start “,comment_end
MDI_AfterOperation
comment_start,” MDI - End ",comment_end

Bye, Harald

1 Like

That works. I was just wanting to avoid back-to-back start/end comment when there was not an active MDI.

(FIRST CUT - FIRST TOOL)
(MACHINE SETUP - 1-FEATURE 2 AXIS-POCKET)
(FEATURE 2 AXIS)

( MDI - Start )
( MDI - End )
(TOOL #61 0.25 1/4 - 3 FL EM, 0.75 CL, 27068)
N05 M06 T61