Hello Guest it is July 12, 2020, 04:46:52 PM

Author Topic: Mach4 Button OFFLINE  (Read 13442 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach4 Button OFFLINE
« Reply #80 on: January 30, 2018, 04:50:05 PM »
Hi,
I simply copied and renamed the button you see in the image (copy button) and then entered in the main screen (the first image of the screen that I attached)
the internal logic of the button does not know it, in any case it is the original one of Mach4.
The current behavior of the "SERVO ON / OFF" button is this:
you press and the relay remains active.
press again the relay is deactivated.

P.S How is the quality of translation from Italian to English?
Re: Mach4 Button OFFLINE
« Reply #81 on: January 30, 2018, 05:25:18 PM »
Hi,
translation is OK.

Internal to Mach there is code attached to that button. You are going to have to find it. Eventually you will
modify it to do what you want.

Go to the screen editor, click the desired object, in this case a button, veiw the events associated with the button,
open the event script and copy it. Please post the copy.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #82 on: January 30, 2018, 05:31:46 PM »
Hi,
you say that the button has its original script? But the original button is Mist Coolant.

I think the macros work but you have a relay attached to the Mist output not EANBLE#0 at all!

I need a screenshot of Machs Output Signals page, in particular the ENABLE#0  entry.

I also need to see what events are ascribed to the button and the event script/function.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #83 on: January 30, 2018, 05:45:17 PM »
yes, it's connected to the Mist.
Through ENABLE # 0 I could not control the relay ..!
Output1 is only activated / deactivated only with ENABLE / DISABLE in Mach4 and nothing else!
I did a lot of tests, but without result!

now they are no longer in front of the lathe.
when I was testing with ENABLE # 0, the screen was the same as yours, the only difference is that yours also has a port number.
my plugin only the pin number.
only difference is only in that.
Re: Mach4 Button OFFLINE
« Reply #84 on: January 30, 2018, 05:54:50 PM »
Hi,
please post a screenshot.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #85 on: January 30, 2018, 05:58:58 PM »
ok tomorrow I will provide.
but current, or with ENABLE # 0  ??
Re: Mach4 Button OFFLINE
« Reply #86 on: January 30, 2018, 06:33:17 PM »
Hi,
all of them.

I'm beginning to think that CISMO can't handle OSIG_ENABLE0.

There are about 180 output signals defined in Mach but I'm thinking that a subset of those only is recognised
by the CSIMO device. Can you put an email to the company to get a definitive answer about which signals,
both input and output, that their device will recognise.

If I'm correct it make me wonder if the CISMO device is the correct controller to be trying to learn how to
program Mach4. I assure you that Mach4 and Lua are entirely hard enough without adding limitations
imposed by  controller shortcomings.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #87 on: January 31, 2018, 03:40:05 AM »
Hi,
If you tell me which question to ask exactly, I will provide you.
It is not easy to understand for a person who does not know the thread of the speech, so it is necessary to ask a specific question.
Re: Mach4 Button OFFLINE
« Reply #88 on: January 31, 2018, 04:09:59 AM »
Hi,
we need to know if there are any restrictions on the range of Mach4s input and output signals that are recognized by their device.

In particular why is OSIG_ENABLE0 not able to be attached to an output pin.

I still want to see a screenshot of Machs Output Signals page. I have asked you four or five times for a screenshot....it gets pretty tedious having to ask repeatedly.

Craig
My wife left with my best friend...
     and I miss him!
Re: Mach4 Button OFFLINE
« Reply #89 on: January 31, 2018, 04:18:02 AM »
Hi,
yes, you're right, I'm sorry.
as soon as possible I make screenschot.