Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: jevs on July 31, 2019, 10:43:09 PM

Title: How do I create a core function for the PMC editor?
Post by: jevs on July 31, 2019, 10:43:09 PM
I am just trying to do some of what should be some simple stuff but the roadblocks and learning curves are huge so far....

I found out you can use the PMC editor to automate creating a macro for you. However, I am stuck on the first step because there is no Core Function to pick for what I want to do...

I am trying to create two custom M codes.They will be M200 to turn on the oiler and M201 to turn it off.

I created a button and an LED that I want to use so I can do this manually. I copied the flood on off stuff and renamed them etc.

I also want to be able to have this output on whenever X or Y is moving.

I created the output setup and named it Enable Oiler in the ESS pins setup and turned it on the outputs.