- Posts: 3
- Thank you received: 0
How to use M7 M8 M9 G-code in EMC2 ?
- mansourirad
- Offline
- New Member
-
Less
More
14 years 10 months ago #15660
by mansourirad
How to use M7 M8 M9 G-code in EMC2 ? was created by mansourirad
Salam,
I want to use a motor for liquid cooler and control it with M7 M8 M9 G-code commands
please help me:
which pin in parport (LPT1) Active?
My release is EMC2.4.3
I want to use a motor for liquid cooler and control it with M7 M8 M9 G-code commands
please help me:
which pin in parport (LPT1) Active?
My release is EMC2.4.3
Please Log in or Create an account to join the conversation.
- dzarek
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
14 years 10 months ago - 14 years 10 months ago #15661
by dzarek
Replied by dzarek on topic Re:How to use M7 M8 M9 G-code in EMC2 ?
M8 - usually 16 pin LPT, but you can use any pin you want
Last edit: 14 years 10 months ago by dzarek.
Please Log in or Create an account to join the conversation.
- mansourirad
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
14 years 10 months ago #15666
by mansourirad
Replied by mansourirad on topic Re:How to use M7 M8 M9 G-code in EMC2 ?
Thanks,
Please tel me :
in page " EMC2 stepper Mill configuration " I most select which title for Pin16 or other?
Digital out 0 ?
Digital out 1 ?
coolant flood ?
coolant mist ?
Please tel me :
in page " EMC2 stepper Mill configuration " I most select which title for Pin16 or other?
Digital out 0 ?
Digital out 1 ?
coolant flood ?
coolant mist ?
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
14 years 10 months ago #15667
by ArcEye
Replied by ArcEye on topic Re:How to use M7 M8 M9 G-code in EMC2 ?
Hi
In you .hal file connect
net coolant-flood <= iocontrol.0.coolant-flood => parport.N.pin-nn-out
Where N is parport number and nn is the pin number of an on-board (BOB) relay or the parport pin number to activate an external relay for coolant.
M8 and M9 will trigger on / off
regards
In you .hal file connect
net coolant-flood <= iocontrol.0.coolant-flood => parport.N.pin-nn-out
Where N is parport number and nn is the pin number of an on-board (BOB) relay or the parport pin number to activate an external relay for coolant.
M8 and M9 will trigger on / off
regards
Please Log in or Create an account to join the conversation.
- careyer
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
11 years 7 months ago - 11 years 7 months ago #57101
by careyer
Replied by careyer on topic How to use M7 M8 M9 G-code in EMC2 ?
Hi there :laugh:
I tried the hint written by ArcEye (thanks man) and I can turn on my Laser-Cutter with M8 now... and M9 will disable it.
Which command do I need to add to my .hal file in order to make it M7 instead of M8?
I would like to fire the Laser with M7 and cooling air with M8... and switch of both with M9
Hope someone can help and give me an example!
Thank you so much!
Best regards!
Thomas
I tried the hint written by ArcEye (thanks man) and I can turn on my Laser-Cutter with M8 now... and M9 will disable it.
Which command do I need to add to my .hal file in order to make it M7 instead of M8?
I would like to fire the Laser with M7 and cooling air with M8... and switch of both with M9
Hope someone can help and give me an example!
Thank you so much!
Best regards!
Thomas
Last edit: 11 years 7 months ago by careyer.
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
11 years 7 months ago #57111
by ArcEye
Replied by ArcEye on topic How to use M7 M8 M9 G-code in EMC2 ?
That is an old thread :laugh:
Just substitute mist for flood, M7 is mist, M8 is flood.
Does not matter which one you use, what matters is what it is connected to
regards
Just substitute mist for flood, M7 is mist, M8 is flood.
Does not matter which one you use, what matters is what it is connected to
regards
Please Log in or Create an account to join the conversation.
Time to create page: 2.358 seconds