Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Zero RPM Notification

Hello,

Just as the title implies, I was wondering if there was a way to be notified when I post process a program, to be told that I forgot to give an operation a speed and feed rate. This would save countless hours having had to walk from my office to my machine and back countless times because in one operation I forgot to set a spindle speed...

Thanks

8 REPLIES

Re: Zero RPM Notification

Hello,

 

just create a custom command in the Start of Path event where you ask the spindle speed from operation, e.g.:

 

proc PB_CMD_spindle_check {} {

global mom_spindle_rpm

if {$mom_spindle_rpm==0} {
MOM_display_message "no spindle speed" "warning" "W"
}

}

 

With MOM_display_message you get a warning during postrun.

spindle_check.jpg

 

Best regards

Thomas

Re: Zero RPM Notification

I am going to assume this is it post builder? I've never created a custom command before.

Re: Zero RPM Notification

or MOM_abort "no rpm, $operation name"

and it shut down postprocesing with the rror message

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #

Re: Zero RPM Notification

Could you provide me with instructions on how to do this?

Re: Zero RPM Notification

Bez názvu.jpg

---------------------------------------------
#♫ PB, 5ax, itnc, nx, vericut ♫ #
Solution
Solution
Accepted by topic author Imperial
‎02-02-2017 03:39 PM

Re: Zero RPM Notification

Here's what I ultimately came up with. Thanks for your help fellas!

 

For anyone wanting to do this that doesnt no how, just copy the image and place the Custom Command under the Operation Start Sequence  ->Initial Move (first line) and again under the First Move line.

 

Here's the script you can copy and paste to do this quickly:

 

global mom_spindle_speed mom_operation_name

if {$mom_spindle_speed==0} {
MOM_display_message " Zero RPM in Operation: $mom_operation_name " "Warning" "W"
}bandicam 2017-02-02 14-32-37-727.jpg

Once again thanks!

Re: Zero RPM Notification

One of the things I do to help prevent this prior to post processing is adding the speed column to the operation navigator. Prior to posting I just scroll over and make sure my speeds and feeds are set.

 

I know this doesn't answer your question, just something that helps me...

Re: Zero RPM Notification

You know what funny. After posting this and everything, I had some free time from programming parts to look more in depth at things I usually just glance over. I found that column know longer than 45 minutes after I posted this. Thanks for the response though!

Learn online





Solution Information