Hello Guest it is March 19, 2024, 01:44:59 AM

Author Topic: Properly doing "Run Frome Here"  (Read 24039 times)

0 Members and 1 Guest are viewing this topic.

Re: Properly doing "Run Frome Here"
« Reply #30 on: June 30, 2010, 06:32:47 PM »
Hello Peter,

Thank you for your ideas, time and Help. I will investigate more and will let you know the outcome.

Thanks

Renato

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Properly doing "Run Frome Here"
« Reply #31 on: June 30, 2010, 06:41:44 PM »
RFH is NOT suppose to cycle any Mcodes. It is just suppose to cycle the modal states to insure mach wil restart in the correct place in the Correct mode. That is why in the popup it asks IF you want the spindle to turn back on as it not capable of doing it from the preveiw.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Properly doing "Run Frome Here"
« Reply #32 on: June 30, 2010, 08:50:19 PM »
Well testing proved that part wrong (;-) Seems it has changed from older versions. It does run Mcodes during the preveiw.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Properly doing "Run Frome Here"
« Reply #33 on: July 01, 2010, 04:17:53 AM »
Terry RFH will not switch on spindle unless you select it in the prep move box but it will do other M Codes such as coolant, or at least it will do them for me. It has always been that way for me for at least 3 years, prior to that I do not know as I never had any things such as coolant controlled from Mach.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Properly doing "Run Frome Here"
« Reply #34 on: July 01, 2010, 05:34:05 AM »
Meant to say Tool Changes dont work in RFH, for me at least, in Turn, dont have a changer on the Mill so dont know.
Hood
Re: Properly doing "Run Frome Here"
« Reply #35 on: July 01, 2010, 07:07:35 AM »
someone should write a specific diagnostic M70 and M71 that just pops a message. (M70 M71 are not among the well-known like M0 thru M9. MAch3 cannot do special handling for them).

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Properly doing "Run Frome Here"
« Reply #36 on: July 01, 2010, 07:13:17 AM »
In reality you should only be using over 100 for custom M Codes.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Properly doing "Run Frome Here"
« Reply #37 on: July 01, 2010, 07:23:22 AM »
Actually should maybe clarify what I said above,  Custom User macros should be over m100. It is quite OK to have custom versions of standard m-codes such as tool change (M6), Coolant(m7,m8,m9) etc.
Hood
« Last Edit: July 01, 2010, 07:25:00 AM by Hood »

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Properly doing "Run Frome Here"
« Reply #38 on: July 01, 2010, 09:59:36 AM »
Might be time to revist how the RFH works, scary thought to have it cycle macros. Scan them for modal values yes, run them NO. I guess that might have been the reason we stopped trying to use the RFH several years ago.

I will have a look in the old trouble notes.
Re: Properly doing "Run Frome Here"
« Reply #39 on: July 03, 2010, 07:55:40 AM »
I tried a test, and Mach3 executes macros in preparation for RFH. When clicking "RFH", Mach3 does the macros up to before the RFH line. After that, Mach3 needs a click on Run for the preparatory move and another click on Run for running from the RFH line. Consequences for renatos problem to be discussed later.

Macro used was: (file M71.m1s in folder \mach3\macros\ your profile name \
'M71
public m71call

m71call=m71call+1
p = param1()

msgbox"in m71" & " m71call=" & m71call & ", p="&p


G Code was:
(beginn)
G0 X0  
m71 p10
M71 p15
G0 X1
m71 p20
G0 X2
%


To explain the test, p10, p15 and p20 are arguments to the macro. Reading them in the macro is thru the Param1() function. The arguments help to distinguish and identify the macro calls, in this test.