Message 1 of 6
Siemens SINUMERIK 840D need to add M5
Not applicable
09-15-2019
08:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to add an M5 at the end of each cycle prior to a tool change, currently if the tool is over 9,000 RPM I get a spindle position error. Getting a little tired of manually adding it in every time.
I tried changing line 2557 from OnImpliedCommand to OnCommand, that worked but it only adds the M5 at the end of the program, not between tool changes.
I then tried adding on M5 on line 2540 before the SUPA Command. This works perfect, except when I have multiple work offsets. It turns off the spindle when it retracts before switching to the next work offset, but then there is no command to turn the spindle on.
Is there anyway to fix this?
