Hello Guest it is April 25, 2024, 01:47:21 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DazTheGas

591
Mach4 General Discussion / Happy New Year
« on: December 31, 2015, 06:54:48 PM »
Happy new year to all of ya

Daz

592
Mach4 General Discussion / Re: Version 2803 Problems
« on: December 31, 2015, 02:13:32 PM »
Actualy I have noticed you keep making a new new profile, can u post the machine ini file this will make it so much quicker to check the settings for you or even better use the package currwnt profile from the help menu and post as a zip file, then we can simply load your profile and test

DazTheGas

593
Mach4 General Discussion / Re: Version 2803 Problems
« on: December 31, 2015, 02:05:29 PM »
have you set the homing in the ess config as well as the mach config?

DazTheGas

595
Mach4 Videos / Mach4 Quicky #2 Keyboard Plugin
« on: December 31, 2015, 10:58:43 AM »
Using the keyboard Inputs in the PLC for Outputs

https://youtu.be/yzaf5pT0l50

The Code

Code: [Select]
if mc.mcSignalGetState (mc.mcSignalGetHandle (inst, mc.ISIG_INPUT63)) == 1 then
    mc.mcCntlFeedHold(inst)
else
 --   Do something else
end

DazTheGas

596
The keyboard plugin is for inputs and feedhold is an output.

You could assign a function of none in the plugin and tie this to an input, then in your plc you can activate the feedhold when this input state is changed.

DazTheGas

597
Mach4 General Discussion / Re: Version 2803 Problems
« on: December 24, 2015, 11:20:41 AM »
Bummer.... Thought this was going to be a "post your problems with 2803" thread. I have a ton of them!

unless you start a thread of your own to list any problems no one can help.

DazTheGas

598
Well I did think of doing something on these lines in the plc but the keys are then dead so its obviously disabling the motion and not the plugin.

Code: [Select]
    local tab, rc = scr.GetProperty("MainTabs", "Current Tab")
    local tabG_Mdione, rc = scr.GetProperty("nbGCodeMDI1", "Current Tab")
    local iReg = mc.mcIoGetHandle (0, "Keyboard/EnableKeyboardJog")
    if ((tonumber(tab) == 0 and tonumber(tabG_Mdione) == 1)) then
    mc.mcIoSetState(iReg, 0);
    else
    mc.mcIoSetState(iReg, 1);
    end

It would be easy to implement in the keyboard plugin using the new api command mcRegSendCommand this could send a command to disable the plugin whilst the mdi has focus instead of disabling it via the taskbar.

But failing that then Steves idea is prob the bets solution

Daz

599
Mach4 General Discussion / Re: Version 2803 Problems
« on: December 23, 2015, 06:08:07 AM »
Unfortunately I cannot assist on this one as its using the Darwin Plugin and my machines are all 64bit and unable to use the plugin, so this is really a topic for those using Darwin.

DazTheGas

600
Mach4 General Discussion / Re: Version 2803 Problems
« on: December 22, 2015, 07:25:49 AM »
Perhaps it would help if you posted your machine.ini there is so much information in this file as to how your machine is setup. Another way which is better is to use the profile packager and upload, Please note it will make a file with the extension M4PROF so you will need to change the extension to .zip

DazTheGas