Hello Guest it is July 12, 2020, 04:16:56 PM

Author Topic: Mach4 Button OFFLINE  (Read 13436 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach4 Button OFFLINE
« Reply #50 on: January 26, 2018, 03:06:10 PM »
I created a led on the screen of mach4.
It works!
with M211 macro lights up
with macro M210 turns off
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #52 on: January 26, 2018, 03:13:28 PM »
yes yes, I created the LED as you recommended, and it works!
now...
what is the next step?
Re: Mach4 Button OFFLINE
« Reply #53 on: January 26, 2018, 03:16:14 PM »
Hi,
kool. The issue now is to get that output to turn a pin on and off on your controller.

I'm not sure how the CSIMO plugin works but the ESS one goes like this:

1) Nominate an ouput pin, say pin3 port2, and give it an alias (name), say SERVO_ENABLE
2) On the Mach Outputs page scroll down until you find ENABLE#0 and assign pin alias SERVO_ENABLE

Pin3 port2 should now reflect the state of Machs internal signal ENABLE0.

Good luck, your'e getting closer, the first few steps in programming Mach are very tough but get easier and very
satisfying too.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #54 on: January 26, 2018, 03:38:32 PM »
ok, in the meantime I thank you so much for your great patience!
time zone, for me it is almost night.
I try tomorrow.
Re: Mach4 Button OFFLINE
« Reply #55 on: January 26, 2018, 03:43:31 PM »
Hi,
mid morning here.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #56 on: January 27, 2018, 10:00:35 AM »
Hi,
I have done other tests.
result:
with macros I can only control led created on the screen and nothing else.
CSMIO has no plug-in to input / output, (except for controller-specific settings).
the inputs / outputs are set only by Mach4.
therefore, I can not insert 2 outputs with the same PIN number.
Re: Mach4 Button OFFLINE
« Reply #57 on: January 27, 2018, 12:04:07 PM »
Hi,
the LED on the screen is Machs output signal, ENABLE0

You have to use the CSIMO plugin to connect Machs output to one of the available digital output pins. It can be done. Its absolutely basic to any
CNC controller that you can turn a pin on and off.

You are correct you cannot assign two outputs to one pin, but that is no what you a re trying to do here. We have two macros one to turn ENABLE0 off
and the other to turn ENABLE0 on, just the one output.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #58 on: January 27, 2018, 01:11:42 PM »
Hi,
downloaded CSIMO manual for your controller, plenty about setting it up with Mach3 but nothing about Mach4.

CS Labs claim this is Mach4 ready so make them provide the documentation and support necessary. CS labs have been in the Mach4 market
for only a few months, clearly they are not as ready as they think they are.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #59 on: January 27, 2018, 06:43:32 PM »
if in Mach4, configure ENABLE # 0 on the Pin1 output, to which the relay is connected.
The relay opens / closes only when in Mach4 it changes from Enable / Disable.
the M210 and M211 macros are ignored and have no effect on the relay.
At CS Lab they are creating their "simCNC" control software (a few words for an essay) is already downloadable trial version.