Remap M8 and M9 how to change iocontrol.0.coolant-mist?

More
06 Mar 2020 21:30 #159351 by anfänger
Hello,

I have a mill and mounted my mist coolant on an moving arm, so it van be moved out of the way for tool change.
I can move the arm with custom M codes. Now I want to remap M8 and M9 but I wonder ho can I set the iocontrol bits to turn my coolant of? Or can I still use M8 and M9 in the scripts even when I remap it?

Thanks Patrick

Please Log in or Create an account to join the conversation.

More
07 Mar 2020 11:44 - 07 Mar 2020 11:48 #159402 by bbsr_5a
as you say yu move by coustom Mcode
so nothing change
NO remap needed
its simply a ON/OFF event
and the movement is given by a USERMCODE
Change your postprocessor to implement Your USERMCODE
and use the M8/M9 as it is decided to

the UserMcode can call a NGC file that moves your arm

like wise
M160 (arm in Move)
M8 Coolent on
........
.....
Coolent off
M161 (move Arm Out)

GERMAN:
das ist meist sache des Postprozesses Wasser An Wasser Aus jeweils davor einen User Mcode ausgeben
Arm Einfahren und Armausfahren
GEHT Auch mit einem Kleine Script zB python das vor jedem M8 ein M161 setzt und nach jedem M5/M9 ein arm aus M162
Nutze die erweiterunf durch UserMcodes um die sache deinen Gegebenheiten anzupassen.
Last edit: 07 Mar 2020 11:48 by bbsr_5a.

Please Log in or Create an account to join the conversation.

More
07 Mar 2020 12:45 #159408 by anfänger
Thanks for you suggestion this might me actually a quicker solution.

Cheers Patrick

Please Log in or Create an account to join the conversation.

More
07 Mar 2020 17:10 #159423 by cmorley
or use the HAL pin to start your arm moving process.

Chris
The following user(s) said Thank You: anfänger

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 23:58 #159534 by andypugh
Or have the arm moved by coolant hydraulic pressure :-)

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum