Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Charlie_M on February 09, 2015, 05:56:34 AM

Title: MDI screen
Post by: Charlie_M on February 09, 2015, 05:56:34 AM
Hello Everyone,

           I have my cnc router setup and I can jog the axis everything is working. I do not have the home/limit switches configured yet. So I go the the MDI screen if I enter G0 x23 lets say I would think I should get some movement. however I do not. Is there something I have to setup? Thanks

regards Charlie
Title: Re: MDI screen
Post by: Hood on February 09, 2015, 05:39:14 PM
Assuming you can jog then you should get movement from MDI, only thing I can think of is you have the option in General Config set to stop programmed moves on Input 1.

Hood
Title: Re: MDI screen
Post by: Charlie_M on February 09, 2015, 07:59:45 PM
Hi Hood,

            Can you tell me where exactly that setting is? Is in at Program safety?

Charlie
Title: Re: MDI screen
Post by: Hood on February 10, 2015, 02:45:57 AM
Yes, lower left General Config page. It should not be chosen unless of course you are wishing to use it.
Hood
Title: Re: MDI screen
Post by: Charlie_M on February 10, 2015, 05:30:54 AM
 Hi Hood,

    Its not checked. Does it matter that I am suing the demo version?
Title: Re: MDI screen
Post by: Hood on February 10, 2015, 07:08:11 AM
No, demo works fine with only a few limitations such as Run From Here doesnt work, 500 line limit in Mill (50 in lathe?) Threading in Lathe and THC in plasma I think.

If you attach your xml I will take a look.
One thing, when you command the move via MDI, do the DROs count as if the axis is moving?

Hood
Title: Re: MDI screen
Post by: Charlie_M on February 10, 2015, 07:12:39 AM
Hi Hood,

       no the Dros do not move. When I type in G0 X45 lets say, nothing happens and the history window pops up with nothing in it. I will post my xml later today. Thanks.
Title: Re: MDI screen
Post by: Hood on February 10, 2015, 07:13:26 AM
Are you pressing Enter on the keyboard after typing the G0X45?

Hood
Title: Re: MDI screen
Post by: Charlie_M on February 10, 2015, 05:16:08 PM
Yes.
Title: Re: MDI screen
Post by: Charlie_M on February 10, 2015, 06:24:24 PM
Hood,

  Thanks for the help. here is my xml file. I had to rename it. just remove the .txt. Thanks for the help.

Regards
charlie
Title: Re: MDI screen
Post by: Hood on February 12, 2015, 01:48:21 PM
Sorry not been online for a few days.
Just looked at your xml and it seems to be the  Code List hotkey that is the problem.

If you look at the pic below you have it set to 123.

What to do is go to Config menu then System Hotkeys and then click the Code List button, when the window pops up just click the red cross. Hopefully that will sort you out.
One other thing I see is you have the Enables in Ports and Pins, Outputs enabled and set up with the same pins as your motors output, that is not right. If you require enables then they should be different port/pin numbers than you have set for the motor outputs.
If it is a stepper setup then likely you do not need enables anyway, so disable them if that is the case.


Hood
Title: Re: MDI screen
Post by: Charlie_M on February 12, 2015, 05:30:31 PM
 Thanks Hood That did the trick. ;)

Regards
Charlie
Title: Re: MDI screen
Post by: Hood on February 12, 2015, 05:33:35 PM
Took me a wee while to find it but glad it worked :)
Hood
Title: Re: MDI screen
Post by: Charlie_M on February 12, 2015, 06:29:23 PM
Quote
Took me a wee while to find it but glad it worked



 ME Too!
Title: Re: MDI screen
Post by: Overloaded on February 12, 2015, 06:38:56 PM
Hey Hood, (or .... )
Would you explain for me what was actually happening here ?
I set 123 (F12) in mine and it made no difference.
MDI worked fine.
Just curious.
Thanks
Title: Re: MDI screen
Post by: Hood on February 13, 2015, 02:20:04 AM
Russ my mistake, F12 was the key I pressed when I was seeing if that was what the problem was.

When I was initially trying to MDI I could see nothing wrong and nothing was happening,  but I then went to the Diagnostics screen to see if there were any inhibits active on X Y or Z, there weren't but when I tried to MDI from that page I noticed the G Code window was being highlighted, that is when I wondered if it was a Hotkey setup.
I looked and the code window was set to the same key as the Enter key (13 I think), so every time you pressed Enter to use whatever had been typed into MDI it highlighted the Code window thus  anything I had typed in MDI was not acted upon. I changed to F12 just to test and sure enough that had been the problem.

Hood
Title: Re: MDI screen
Post by: Overloaded on February 13, 2015, 05:36:18 AM
Ahh, OK .... got it.
Thanks