cancel
Showing results for 
Search instead for 
Did you mean: 

Zero RPM Notification

Valued Contributor
Valued Contributor

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

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

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

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

Re: Zero RPM Notification

Phenom
Phenom

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

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

Re: Zero RPM Notification

Phenom
Phenom

Bez názvu.jpg

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

Re: Zero RPM Notification

Valued Contributor
Valued Contributor

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

Creator
Creator

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

Valued Contributor
Valued Contributor
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