Author Topic: Fusion 360 CAM, Mach4 Mill post-processor, probing, spindle speed out of range  (Read 1006 times)

0 Members and 1 Guest are viewing this topic.

Offline MRW74

  • Active Member
  • Posts: 3
    • View Profile
Hello everyone,

I've been browsing the forum for any hints concerning my issue, but, no luck; so I'm starting a new thread...
Sorry, if this is already beeing discussed somewhere else in this forum.

I'm trying to get some "probe" commands exported from Fusion 360 CAM to the Mach4 Mill post-processor (rev. 41728 and earlier).
The G-Code generated so far doesn't look bad, I guess?

(PROBETEST)
(T100  D=2.96 CR=1.48 - ZMIN=-4. - PROBE)
G90 G94 G91.1 G40 G49 G17
G21
G28 G91 Z0.
G90

(PROBE1)
M5
M9
T100 M6
(3D TOUCH PROBE)

M9
G28 G91 Z0.
G28 X0. Y0.
M30
!Error: Failed to post data. See log for details.


But then the post-processor stops,
and the aforementioned "details" are poppin' up in the following error message:

Error: Spindle speed out of range.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Failed to invoke function 'onSection'.
Error: Failed to invoke 'onSection' in the post configuration.
Error: Failed to execute configuration.


Seems like the Mach4 post-processor doesn't like to have 0 rpm set for the spindle speed (default while probing),
whereas standing perfectly still is mandatory for my touch probe (regarding the cable attached to it and all).

Ain't probing implemented yet in this post-processor, or are there any other ideas?

Sorry for my gibberish... I'm only a German CNC hobbyist trying to get some meaningful responses;
I prefer the English forum just because you guys are much more willingly to help - and way more friendly than the Germans...  :)

Thanks in advance,
Marcus

Offline TOTALLYRC

  • Active Member
  • Posts: 831
    • View Profile
Hi Marcus,
G31 is the code to probe. Since you have an M30(end of program) at the end of the code that you posted I am wondering where the G31 is????
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.

Offline dude1

  • Active Member
  • Posts: 1,251
    • View Profile

!Error: Failed to post data. See log for details.[/i]

But then the post-processor stops,
and the aforementioned "details" are poppin' up in the following error message:

Error: Spindle speed out of range.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Failed to invoke function 'onSection'.
Error: Failed to invoke 'onSection' in the post configuration.
Error: Failed to execute configuration.


Seems like the Mach4 post-processor doesn't like to have 0 rpm set for the spindle speed (default while probing),
whereas standing perfectly still is mandatory for my touch probe (regarding the cable attached to it and all).

Ain't probing implemented yet in this post-processor, or are there any other ideas?

Sorry for my gibberish... I'm only a German CNC hobbyist trying to get some meaningful responses;
I prefer the English forum just because you guys are much more willingly to help - and way more friendly than the Germans...  :)

Thanks in advance,
Marcus


It needs to be added to the post to work you can change the rang to less than -1 the error goes away then the real problem shows up it need added to the post

You can add probing into the post through useing pass through to call a sub A G31 probing cycle

Other wise you have to get it added you can do it your self the standard fanuc post probing is working it may work fine in Mach4 as that what Mach4 is based around.

Offline MRW74

  • Active Member
  • Posts: 3
    • View Profile
Hi all,
thanks for your replies.  :D

@TOTALLYRC: The post-processor doesn't reach the point where it should generate the G31 commands due to the error occurring.
@dude1: I'll give the Fanuc post-processor a try and see what G-Codes it generates for probing.

The "spindle speed out of range" issue at 0 rpm in the Mach4 Mill post-processor does not only affect probing cycles.  :(

I encounter the same error when using an "engraving stylus" tool with the spindle speed set to 0 rpm.
Does the spindle speed being set to -1 rpm save me from getting this "spindle speed out of range" error?

Does the spindle speed being set to -1 rpm suppress any M03 command output from the post-processor along the way?
An M03 will start my VFD and make the spindle run at its abs. min. value of 400 rpm if the "S" parameter is less than that...  :o

Sorry, I can't try out your suggestions right away;
I'm on the road again for two days from now on.   :-\
« Last Edit: January 09, 2018, 02:49:27 AM by MRW74 »

Offline dude1

  • Active Member
  • Posts: 1,251
    • View Profile
No in the post for the speed range it's set up as <1   >30000 changing the <1 to <-1 lets the real error come through what is the functions not enabled in the post.

This sort of thing depends on if ADSK or a staff member has a machine running the program or someone pays them and they allow them to let it out to the public, sometimes they just do it if they have someone to do the testing, same goes for resales.

Quite often it's users doing it. 

With the fanuc post if the codes work with Mach4 redoing the post will take time but it will work.

Offline MRW74

  • Active Member
  • Posts: 3
    • View Profile
OK, got it!
Thank you!  :D