I'm not trying to do anything special, or use any thing special, That was just what I managed to cobble together to get those m-code functions together, they worked, so I left them alone,
All I am trying to accomplish is when the operator enters a M41 (or whichever of my remapped codes ), it puts out a signal that I can then use however I need, ( in classicladder, directly to my 7i71 as an output,,,,,,) If there is more proper way to handle those remapped m-codes I'm all ears, as I have always said, I know just enough to be dangerous :) As for the python task, same thing, it's been on every INI file from the start of me doing these machines, I pretty much copy and past sections onto my new builds. It is way easier than using pncconfig to get things going, because we always have options that aren't available thru the config utility, Resolvers, 7i80HD cards for example. I will remove that straight away from what you are saying. Rick On 7/15/2015 12:21 PM, Sebastian Kuzminsky wrote: > On 7/15/15 10:00 AM, Rick Lair wrote: >> What is the proper way then to do that, take for instance the M41, it is >> supposed to signal the low gear change command. >> >> I put those together then 3 yrs ago, and they are on all three machines. >> >> It was the only way I could figure out, with my limited knowledge, how >> to get things to work, > Gear changing is usually handled in HAL using stand-alone components, > not by patching Motion. I dont know what changes you've made to Motion, > so i don't know if that's appropriate in your case, or if there's > something very unusual about your hardware that requires this unorthodox > approach. > > Also, i see you're using the PYTHON_TASK plugin, which was started and > then abandoned by someone who no longer contributes to LinuxCNC, and is > still marked as "experimental". Are you using it because your > index_fanuc_lathe_tool remap script requires it? (That script was not > included in your Remapped Codes attachment, btw.) > > -- Thanks Rick Lair Superior Roll & Turning LLC 399 East Center Street Petersburg MI, 49270 PH: 734-279-1831 FAX: 734-279-1166 www.superiorroll.com ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users