Hello Guest it is March 28, 2024, 08:52:22 PM

Author Topic: Mach4 Button OFFLINE  (Read 26858 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach4 Button OFFLINE
« Reply #70 on: January 28, 2018, 05:12:35 AM »
you understood and responded to my hopes on the Jog.

"If its the fact that the machine cant jog two axes at once that's because they can't."

for the CSMIO, I'm sure that soon they solve problems.
I thank you very much again! you are very kind person!
when I have news, I update the post!
« Last Edit: January 28, 2018, 05:14:09 AM by daniba73 »
Re: Mach4 Button OFFLINE
« Reply #71 on: January 30, 2018, 03:21:43 AM »
Hi,
I was thinking... what do you think about using the physical switch to disable the servos?
Re: Mach4 Button OFFLINE
« Reply #72 on: January 30, 2018, 03:41:34 AM »
Hi,
yes that would work. Really that's what we were doing....using Mach and your controller to disable your servos.

Your project was to have a button on screen, rather like the one you're familiar with in Mach3, and when you hit it the servos would stop but Mach would carry on.
When you hit the button again Mach would reinstate the servos ensuring that the machine coordinates were consistent. Actually fairly simple.
We've hit a roadblock where we can't get your controller to produce an output. You could do it with a switch but its hardly called CNC when do have to do it by
hand.

To be honest the folks at CS Labs have been in the CNC business for a long while. The prospect that they released a device onto the market which could not
produce an output on a given pin from a Mach output signal is remote.

I think it more likely you have not yet understood how to set up your controller. I downloaded the plugin but without the device for my computer to talk to
I can't get the plugin to run and cannot therefore provide any help. Do the company have any videos? And not Mach3 videos.....we know they do Mach3 really
well but we need to know how to deal with the Mach4 plugin.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Mach4 Button OFFLINE
« Reply #73 on: January 30, 2018, 04:08:25 AM »
it is very probable that I do not know how to do it.
I try to create a button on the screen and assign an output.

Re: Mach4 Button OFFLINE
« Reply #74 on: January 30, 2018, 04:09:17 AM »
Hi,
I think I know how its done.

Do you have the CSIMO device installed? Is it the current motion device? I assume it is otherwise your machine would not run at all.

Open Mach. Go to Configure/Mach/Output Signals and scan down to ENABLE#0.
Check (green tick) Mapping Enabled. Put the cursor in the Device column and left click. If your CSIMO device is enabled it will occur in the drop down list.
Note in the screenshot attached my Device is ESS, outlined in red.
In the next column Output Name is the name of the pin. Again with the cursor in the column leftclick and a drop down list of the available output pins
should show. The ESS uses ports and pins to designate its individual pins, outlined I blue in the screenshot. You'll have to make a guess as to which pin you've hooked your relay.

Hit <apply>. You'll probably have to shut Mach down and restart it to have the change take effect.

Let us know how you get on.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Mach4 Button OFFLINE
« Reply #75 on: January 30, 2018, 07:02:13 AM »
yes, yes, I had done that! only difference is that CSMIO has no port numbers, but only PIN. In my case it was PIN 1.
The relay connected to output1.
The relay is activated / deactivated only by Mach4 with enable / disable.
the m210 and m211 macros had no effect on output1.

on the CNC Italy forum I found this macro, can it be useful?
I attach the file.
« Last Edit: January 30, 2018, 07:06:41 AM by daniba73 »
Re: Mach4 Button OFFLINE
« Reply #76 on: January 30, 2018, 07:18:12 AM »
maybe I understand how to do it, I create the on / off button on the screen where I activate the pin1 output.
update as soon as possible!
Re: Mach4 Button OFFLINE
« Reply #77 on: January 30, 2018, 09:23:22 AM »
Hi,
post a screenshot of the Mach/Output Signal ENABLE#0 entry please.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Mach4 Button OFFLINE
« Reply #78 on: January 30, 2018, 03:19:50 PM »
I only managed this way, but it works !!
Copy / paste the MIST M07 button and rename it.
when I press it I turn on / off the relay, so the servos go into ON / OFF mode.
Re: Mach4 Button OFFLINE
« Reply #79 on: January 30, 2018, 04:29:34 PM »
Hi,
kool, good work.

Need to work on the logic now. Suggest the the button toggle, that is you hit the button and the servos disable,
hit it again and they enable.

Can you post the code behind the button?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'