Force RPM output for each tool

Force RPM output for each tool

sales
Enthusiast Enthusiast
1,136 Views
8 Replies
Message 1 of 9

Force RPM output for each tool

sales
Enthusiast
Enthusiast

Hello,

We are using the current siemens 840D mill post.

The post will not output S8000 M3 on the second our 3rd tool if the RPM is the same as on the previous tool (which would make sense).

The problem is we use some tool check laser macro where the tool gets checked at 3000 RPM after finishing the operation, when the macro is finished and it moves on to the next tool, which has no spindle speed out put only M3 (since the previos tool had the same rpm) it will keep cutting @ 3000 RPM (laser check tool speed).

I like to force spindle output for each tool after the tool change to make sure it will get back to the correct rpm.

Thank you.

Mike

0 Likes
Accepted solutions (2)
1,137 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable

Mike

 

The easiest solution i see is to make the variable "forceSpindleSpeed" to be true.  If you do a search for that variable name and change all instances to true instead of false you should get the spindle speed to come out at every tool.

0 Likes
Message 3 of 9

sales
Enthusiast
Enthusiast

Hello,

That's what i did changed it in all 3 places but it did not work.

What else can I try?

Thank you for your help.

 

0 Likes
Message 4 of 9

Anonymous
Not applicable
Accepted solution

Mike

 

The next thing to try is forcing the sOutput variable.

 

Near the top of the post is the variable definitions.  Change the following line.

 

var sOutput = createVariable({prefix:"S"}, rpmFormat);

 

to this

 

var sOutput = createVariable({prefix:"S", force:true}, rpmFormat);

Message 5 of 9

sales
Enthusiast
Enthusiast

testing

0 Likes
Message 6 of 9

sales
Enthusiast
Enthusiast

It still did not output the Rpm only M3, any other ideas?

Thank you!

Mike

0 Likes
Message 7 of 9

ivan.stanojevic
Advisor
Advisor
Accepted solution

@sales

 

Please test the attached post



Ivan Stanojevic


Message 8 of 9

sales
Enthusiast
Enthusiast

That works, Thank you!

The mistake I had was "Force" and It should be "force".

Mike

 

0 Likes
Message 9 of 9

sales
Enthusiast
Enthusiast

Mcarver,

it works now.

The mistake I had was "Force" and It should be "force".

I apologize, thank you for your help!

Mike

 

0 Likes