Hello Guest it is July 05, 2020, 05:12:55 PM

Author Topic: Mach4 Button OFFLINE  (Read 13375 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach4 Button OFFLINE
« Reply #100 on: February 01, 2018, 05:54:06 AM »
P.S OSIG_ENABLE0 activates / deactivates the relay via ENABLE / DISABLE in Mach4.
and nothing else!
Re: Mach4 Button OFFLINE
« Reply #101 on: February 01, 2018, 06:09:23 AM »
Hi,
not quite correct, yes Mach both sets and resets the Enable signals but you can using the API turn them on and off.....you've already proven that by having an
on screen LED. Indeed that's why I wanted to use that particular signal, Mach will still be able to set/reset AND you will be able to specifically set/reset as well.

The problem we've had is that we cant connect that to a pin on the controller. I can with the ESS.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #102 on: February 01, 2018, 06:18:48 AM »
I have done so many tests that I am now confused ..
I will try (if I can do it) to assign the output to the LED.
speaking different language, for me it's all much more difficult to understand.
Re: Mach4 Button OFFLINE
« Reply #103 on: February 01, 2018, 06:39:15 AM »
Hi,
I wouldn't worry about it, we trying to use a workaround anyway.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #104 on: February 01, 2018, 06:41:52 AM »
let me try again.
Re: Mach4 Button OFFLINE
« Reply #105 on: February 02, 2018, 01:46:02 AM »
Hi,
I tried again ...
negative result ... it is always the same.
with ENABLE # 0 I can only switch on / off the LED on the screen, without affecting the relay.
Re: Mach4 Button OFFLINE
« Reply #106 on: February 02, 2018, 02:16:46 AM »
Hi,
I think its worth getting some insight into this behavior from CS Labs. I/O is absolutely fundamental to any CNC program.
Understanding exactly how your software and hardware interact is required to achieve any worthwhile result.

With the ESS I can turn a pin (port 1 pin 1) on and off by operating the Enable/Disable button of Mach OR by running the macros. This is what I'm hoping that you
can get your controller to do.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #107 on: February 02, 2018, 02:41:45 AM »
Hi,
with the transition to the macro tested yesterday, the relay works.
I would say to continue on that road .. what do you think?
Re: Mach4 Button OFFLINE
« Reply #108 on: February 02, 2018, 03:00:28 AM »
Hi,
yes, that's the way to proceed. May complicate the logic a bit but we should be able to get something to work whereas if we try to carry on with
OSIG_ENABLE0 we are going to get nowhere.

I would still ask CS labs about it, you need to know how and why even if you can work around it at the moment.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #109 on: February 02, 2018, 03:22:36 AM »
if you want to try to ask CSLAB, explain that you are helping a friend who owns CSMIO. (They are very available, I give you the certainty !, Not very quick in the answers, (will have many open questions).
not a question of my laziness.
the reason is that you could ask correct and targeted questions.
If you speak English correctly, the questions are clear.
with a translator, I never have the security of being able to make myself understood.
in this way, you can work with safe bases, so less time is wasted.
« Last Edit: February 02, 2018, 03:24:59 AM by daniba73 »