Hello
Guest
it is
March 29, 2024, 11:29:25 AM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
Mach4 General Discussion
/
Creating M-Code to activate Outputs
« previous
next »
Print
Pages:
«
1
2
3
»
Go Down
Author
Topic: Creating M-Code to activate Outputs (Read 3223 times)
0 Members and 1 Guest are viewing this topic.
Bill_O
563
Re: Creating M-Code to activate Outputs
«
Reply #10 on:
August 07, 2019, 08:18:46 AM »
this might help
https://www.machsupport.com/forum/index.php?topic=39763.msg266718#msg266718
bill
Logged
JeffMach3
15
Re: Creating M-Code to activate Outputs
«
Reply #11 on:
August 07, 2019, 11:50:27 PM »
I tried running it and the M code did not do anything. I opened it up in the editor and hit (start debugging) and it said C:\Machhobby\ZeroBraneStudio\bin\lua53. exe: error loading module 'machip' from file 'C:\Mach4hobby\Modules/machip. dll' : the specified module could not be found.
Logged
joeaverage
7,575
Re: Creating M-Code to activate Outputs
«
Reply #12 on:
August 08, 2019, 12:06:37 AM »
Hi,
well that a mystery to me, I ran this macro last night through the debugger and MDI and it worked in both instances.
Sounds like some part of the Mach installation is missing.
Craig
Logged
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
JeffMach3
15
Re: Creating M-Code to activate Outputs
«
Reply #13 on:
August 08, 2019, 12:08:50 AM »
Oh fun, do I try re install it
Logged
joeaverage
7,575
Re: Creating M-Code to activate Outputs
«
Reply #14 on:
August 08, 2019, 12:11:52 AM »
Hi,
h'mmmm....I might wait until smurph, Chaoticone or Daz read this post....I'd guess they know abit more about it.
What build Mach are you using?
Craig
Logged
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
JeffMach3
15
Re: Creating M-Code to activate Outputs
«
Reply #15 on:
August 08, 2019, 12:13:36 AM »
Version 4.2.0.4162
Build 4162
Logged
joeaverage
7,575
Re: Creating M-Code to activate Outputs
«
Reply #16 on:
August 09, 2019, 05:01:19 PM »
Hi,
that's the same build as I'm using.
Have a look in Mach4Hobby/Modules for the file machip.dll Is it there?
Craig
Logged
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
joeaverage
7,575
Re: Creating M-Code to activate Outputs
«
Reply #17 on:
August 09, 2019, 05:05:53 PM »
Hi,
I notice the file is machip
c
.dll not machip.dll........just the sort of typo that can catch you out.
Craig
Logged
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
JeffMach3
15
Re: Creating M-Code to activate Outputs
«
Reply #18 on:
August 10, 2019, 02:29:07 AM »
I checked and the file is there.
Logged
Cbyrdtopper
908
Re: Creating M-Code to activate Outputs
«
Reply #19 on:
August 10, 2019, 01:51:17 PM »
If all you want to do is to turn on and off an output from G Code, you should try using M64 and M65
Look on page 60 of the Mach4 G Code programming manual for mill and router style machines.
M64 P2 this will turn on output 2
M65 P2 this will turn off output 2
Logged
Chad Byrd
Print
Pages:
«
1
2
3
»
Go Up
« previous
next »