How to cut into spoilboard for fixtures

Ahh, lost steps would definitely do that. I bet that’s what happened here.

1 Like

Hopefully this not ever happen again, but if I run into this issue again, where is this Wizard data file located to verify “dig-in” is actually off/on?

@Eric Ugh, I ran into this again. It is exactly what I originally said above:

M6 macro sets sets the work envelope Z value to something above my spoil board. Nothing I can do seems to fix this value, even with spoil board protection turned off.

Eric: Where is this value coming from, during the M6 macro, and how can I turn this off so I can actually run a job without having to reinstall a new CNC12 profile?

1 Like

Few other observed points:

  • This happened after running some jobs where Z0 in WCS was set above the spoilboard
  • It involved using the Z to Plate macro on the WPG (as selected in the setup wizard) at some point since things worked to non-working. This macro is something I rarely use.
  • The job I want to run now has Z0 at spoil board height
  • My spoil board is at -7.85 in machine coordinates
  • Clearing out the work envelope, then entering T4 M6 in MDI (I’m already on T4 and it is measured) sets the work envelope Z value to something like -7.83
  • No amount of clearing the work envelope prevents the M6 macro from re-establishing the value above the spoil board.
  • I can manually add G23 after every Tx M6 call to workaround this
  • G22 K[#10000 + [#9753 * -1]] results in a value above the spoil board
  • Neither tool setter location or spoil board has changed from dozens of jobs running as expected
  • The spoil board protection toggle switch has no effect. The m6 scripts only look for a positive value as defined in the wizard input. val > 0 is on, otherwise G23 (off) is issued.

So frustrating.

1 Like

I wonder if this is a factor. I’ve performed 100s of tool changes without issue. I used this macro on occasion on 5.22 (see my quoted post above). Upgraded to 5.24 and haven’t had a single issue, though I haven’t used this macro assigned to a WPG button. Used this macro assigned to WMPG today, and immediately ran into the work envelope issue.

I have used Z to Plate equivalent in CNC12 through the menus regularly without any problems.

– Update –

If anyone is following this… when it goes wrong (AFAIK):

#10000 seems to be off by the absolute difference between the Z0 value established by Z to plate (WMPG button). That is, if Z0 would be 0.02 as shown in the WCS table, the M6 macro (after using z to plate macro) would establish a work envelope Z limit that is 0.02 + whatever is configured in the wizard (#9753) above the table. Like that 0.02 value is being negated somewhere.

Seems if I re-calibrate everything and never use z to plate WMPG macro, I don’t have any problems.

Sorry, I can’t add much to this conversation. All I know is that Eric told me not to worry about the Z value in the work envelope, which comes from their macro script.

I wish I paid more attention to what file Eric edited this Wizard “dig-in” setting, which comes from the Wizard itself. I always felt like this setting was not being read/write properly in the datafile that is generated from the Wizard inputs. I never made sense why this dig-in setting wasn’t holding value.

Anyway, Eric got me back on track and all is well now. I hope that he will let us know what file to verify this setting.

I scrounged around the install file location and found a Wizard folder and looked around but didn’t open any file without knowing what I’m doing.

@berrianmtn The Z work envelope is always set when you measure a tool. It’s only ACTIVATED when you have the switch ON in the wizard. When you flip that switch on a value in the PLC is flipped and that is checked in the M3 script. If the M3 sees that you have it on, it will activate the work envelope (which was already set at tool measurement)

Work envelope is modal, so it’s cancelled at job stop.

In looking back through our updates that may have been tweaked between 5.22 and 5.24. If you’re having problems I would update to 5.24.

Not sure that is quite true, at least in 5.24. P703 (#9703) is the enable/disable flag as used in the wizard and scripts. P753 (#9753) is the configured value for spoil board dig in.

M6 macro will set and enable the work envelope using G22 if the configured value in #9753 is greater than zero, otherwise disable it using G23:

If #9753 GT 0 THEN G22 K[#10000 + [#9753 * -1]] ELSE G23 ;If we have spoilboard anti dig in enabled set work envelope for z axis, else do nothing.

M3 macro will issue G22 if #9703 is set to the value one, but will not disable it using G23 if #9703 is equal to zero

IF #9703 EQ 1 THEN G22 K[#10000 - ABS[#9753]] ELSE ;will set the Z work envelope to the current tool length + the spoilboard dig in if the user has this turned on

Therefore, seems the only way to truly disable the work envelope enforcement is to have spoil board dig in turned off AND have the value configured to zero.

Let me dig into this one. Good detective work!