Configure Masso to Check if VFD is on

Is there a way to configure the masso to check if the VFD is on/active and not to run the program if inactive/off?

I can get a logic high from the VFD if it is on without a fault. Can I send this signal to the Masso and have it pause the job until it is on?

I use ‘m66_wait_for_input’ command to achive that. It check for 30 sec if ‘auxiliary 4’ detect that the vfd is running. If so, it continu. if not it display a message and wait for cycle start to be press.

I first connected the multi-output (FA and DCM) of my vfd and G3 TTL input 17 configure as ‘Auxiliary 4’.

  • vfd FA connected to G3 TTL input 17
  • vfd DCM connected to G3 GND

Then I added these lines at the beginning of my GCODE just after the first Sxxxx M3.

MSG Waiting for spindle to start (30 sec max)
M66 P4 L3 Q30000 S2
MSG Please start VFD (Press cycle-start to resume)
M00
MSG

1 Like

What level of safety, or what functionality, would you like to see?

Initial thoughts are having the VFD signal control a relay that is part of E Stop circuit, or alternatively have it as a configurable input on Masso - one that may not stop everything, and would allow it to be cleared (with or without rehoming would need to be decided/determined depending on your choice).

If you want those lines to be added by the post processor automatically, just add the yellow line to your fusion 360 post processor file.

Cheers

case COMMAND_START_SPINDLE:
forceSpindleSpeed = false;
writeBlock(sOutput.format(spindleSpeed), mFormat.format(tool.clockwise ? 3 : 4));
writeBlock(“MSG Waiting for spindle to start (30 sec max)”);
writeBlock(“M66 P4 L3 Q30000 S2”);
writeBlock(“MSG Please start VFD (Press cycle-start to resume)”);
writeBlock(“M00”);
writeBlock(“MSG”);
return;

Thank you.

A bit of homework for me and my Masso, Optidrive (vfd) and post processors.

I’ll tell if i get it to work.

Desired Outcome:

  • Spindle and bit dont plunge into work piece if the vfd is not operational. Pause to allow me to switch the vfd on.

I dont want it to respond to "is spindle spinning " as some operations dont hve a spinning spindle, such as drag knife, diamond engraver and pen plotter.

Hi,

Just to let you know that I published a new post processor as part of ‘onefinity-community-post-processors’ GitHub Package.

onefinity-community-post-processors

You,ll notice that (in response to your outcome) that you can enable/disable each spindle check operation individually for each NC Program. Another precision, each spindle check operation is configurable and do not need any intervention if condition is met before the defined timeout value is reach. But if the timeout value is reach before condition is met then you’ll have to press 'Cycle Start to continue).

Cheers

Ghislain

2 Likes

Hi @blaghislain I am getting the following error in F360:

“Error: The machine configuration has TCP enabled which is not supported by this postprocessor.
Error at line: 1039”

NC Program reads:

(TOP STEP1 3-175MM)
(MACHINE)
( VENDOR ONEFINITY)
( MODEL JOURNEYMAN)
( DESCRIPTION GENERIC 3-AXIS)
(POST)
( MASSO ONEFINITY COMMUNITY EDITION V2024-05-14A)
(T1 D=3.175 CR=0. - ZMIN=-3.15 - FLAT END MILL)
N10 G90 G94 G17
N15 G21
!Error: Failed to post data. See log for details.

Is this something I am doing wrong.

I am using Elite Journeyman following upgrade from PRO series. Cheers Andy

I knew it - as soon as I posted a requested for help I would find a solution.

In my machine set-up I had TCP enabled - I have unenabled it and things are good.

Thank you

1 Like

Exactly. For other who want to disable here is Autodesk link :

2 Likes

Hi, @blaghislain. It feels like you’re my post-processor person.

Is the following fixable?

When I run two toolpaths from F360, say pocket followed by contour, with the same tool but with different spindle speeds, the machine pauses; with the spindle and coolant still on, a message pops up on the screen waiting for user engagement.

It looks like the post-processor is inserting code that, atleast for me, is unwanted.

Hi AndyP. You have this gcode inserted:

  • because you are using the ‘MASSO Onefinity Community Edition’ (check your NC Program POST in fusion - ref red rectangle in my image).
  • because the post property option ‘Spindle Running Check Enable’ is Checked. (see green rectangle in my image).

This community edition require that your VFD is connect to masso controler ( see github Readme ) so the masso controler is able to detect if the spindle is running or not and will continu automatically or stop if manual intervention is required.

  • If your VFD IS NOT connected to masso, I recommend to use native onefinity masso post processor instead.
  • If your VFD IS connected to masso, I recommend to uncheck post properties options (see green rectangle) related to spindle start and stop.

1 Like

Thank you.

I will have a go at “connecting” my VFD to the Masso to provide a state to the Masso (high or low at Auxillary 4)