Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Trebleplink on March 07, 2013, 01:45:37 PM

Title: "Allow wav files"
Post by: Trebleplink on March 07, 2013, 01:45:37 PM
In the Mach3 general logic configuration screen a checkbox is present to "allow wav files"   also, "allow speech"

I have an application that could benefit from playing .wav files for at different times during a part program.  Is that the intent of these functions?  Is there any documentation on these?

Title: Re: "Allow wav files"
Post by: BR549 on March 07, 2013, 05:53:11 PM
Yes and YES, Mach3 programers guide.

(;-) TP
Title: Re: "Allow wav files"
Post by: Trebleplink on March 07, 2013, 07:37:06 PM
OK, so how does "allow wave files" in the setup tie into the sub playwave ?  Playwave does not function without the box checked?

Is "allow speech" something else?

Title: Re: "Allow wav files"
Post by: BR549 on March 07, 2013, 07:50:23 PM
Turn on the allow wave and allow speach.

From a Mcode  add in the code you want to do.

Playwave plays a Soundfile that you define

Speak uses the window speak function to say the words you defined in the call.

It is in the Mach3 macro programmers manual.

(;-) TP
Title: Re: "Allow wav files"
Post by: Trebleplink on March 07, 2013, 09:34:34 PM
Thank you sir.

Title: Re: "Allow wav files"
Post by: dude1 on March 08, 2013, 03:20:54 AM
could you give more info not sure how to do this
Title: Re: "Allow wav files"
Post by: Chaoticone on March 08, 2013, 10:07:08 AM
http://www.machsupport.com/docs/Mach3_V3.x_Macro_Prog_Ref.pdf

Page 93
Title: Re: "Allow wav files"
Post by: dude1 on March 08, 2013, 02:40:46 PM
i have seen all of that stuff but how do i put it into a macro, tool change macro, end of program macro and fault macro
Title: Re: "Allow wav files"
Post by: Trebleplink on March 09, 2013, 11:35:37 AM
I would go to the video section of this website and watch the one on macros.

Title: Re: "Allow wav files"
Post by: BR549 on March 09, 2013, 11:54:39 AM
First you start off learning simple CB programming then you expand your skills and modify your running macros.

Just a thought, (;-) TP