Hello Guest it is October 18, 2019, 08:30:22 PM

Author Topic: How to- USB powered LCD display of DRO`s  (Read 50194 times)

0 Members and 1 Guest are viewing this topic.

Online BR549

*
  •  6,902 6,902
    • View Profile
Re: How to- USB powered LCD display of DRO`s
« Reply #30 on: July 10, 2011, 10:31:00 AM »
OK Dave what exactly is the macro doing or not doing  on your machine.

Please be specific, (;-) TP

Offline budman68

*
  • *
  •  2,360 2,360
    • View Profile
Re: How to- USB powered LCD display of DRO`s
« Reply #31 on: July 11, 2011, 07:29:11 PM »
Hi Terry,

When I have everything connected, with the macropump in the macro folder, and "run macropump at startup" checked in General Config, I start Mach 3, and what SHOULD happen is my RESET button should immediatley start flashing as normal. Instead, it just sits in the red "state" and when I click on ANY buttons, they do not do anything. Nothing at all, like it's completely frozen.

The minute I uncheck the "run macropump at startup", all works fine. Somehow, something isn't happy running with it or it's as you and Ian, said, somethings just not being transferred correctly.

I have a Shuttle Pro plugin, and a Pokeys plugin as well.

Thanks,
Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: How to- USB powered LCD display of DRO`s
« Reply #32 on: July 12, 2011, 05:45:05 AM »
Dave can you post your macropump.m1s please?

Ian

Offline budman68

*
  • *
  •  2,360 2,360
    • View Profile
Re: How to- USB powered LCD display of DRO`s
« Reply #33 on: July 12, 2011, 11:30:10 AM »
Hi Ian,

Sure, but it'll look very familiar ;o)

Thanks,
Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: How to- USB powered LCD display of DRO`s
« Reply #34 on: July 12, 2011, 11:49:35 AM »
arf - thanks Dave - sorry - thought you may have had other things in there as well.

OK - let's try a few thangs. First we'll test sendserial.

switch off your macropump. From what you said above - Mach should now work ok - yes?
open vb editor - paste macropump code - run code in editor - does it come out on your LCD? is Mach still OK?

Offline budman68

*
  • *
  •  2,360 2,360
    • View Profile
Re: How to- USB powered LCD display of DRO`s
« Reply #35 on: July 12, 2011, 12:36:50 PM »
No, no, I'm the one who's sorry for thinking that is all that would be in the Macropump. I guess there are many ways to use this and was just thinking you should be able to read my mind  ;)

I wanted to add some more details about the startup that I missed. The DROs do show up on the LCD screen and read exactly what are shown in the DRO's in Mach 3.

Quote
switch off your macropump. From what you said above - Mach should now work ok - yes?

Yes, correct.

Quote
open vb editor - paste macropump code - run code in editor - does it come out on your LCD? is Mach still OK?

Yes, it worked. As soon as I hit the "run script" (green arrow icon), the LCD screen updated to reflect exactly what was on the Mach 3 DROs

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: How to- USB powered LCD display of DRO`s
« Reply #36 on: July 12, 2011, 01:17:32 PM »
OK, so now save an empty macropump.m1s and turn the macropump back on - what happens?

Offline budman68

*
  • *
  •  2,360 2,360
    • View Profile
Re: How to- USB powered LCD display of DRO`s
« Reply #37 on: July 12, 2011, 01:39:33 PM »
After following your instructions With the macropump still unchecked in General Config: The DRO's in Mach still jog, but the LCD does not update to reflect those movements.

After that happened, I checked the run macropump in Gen Config and restarted and the same thing, no movement on any buttons or flashing reset.

So there's obviously some sort of "roadblock" or bottleneck that isn't allowing the macropump to work upon startup? Possibly try a simpler macropump example?

Thanks,
Dave
« Last Edit: July 12, 2011, 01:41:39 PM by budman68 »
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline stirling

*
  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: How to- USB powered LCD display of DRO`s
« Reply #38 on: July 12, 2011, 02:29:52 PM »
Possibly try a simpler macropump example?

Can't think of a simpler one than an empty one  ;D

You did try the empty one yes?

Ian

Offline budman68

*
  • *
  •  2,360 2,360
    • View Profile
Re: How to- USB powered LCD display of DRO`s
« Reply #39 on: July 12, 2011, 02:35:19 PM »
I'm sorry, Ian, I thought you meant for me to save the script in from the "empty" VB Script Editor, instead of just loading the macro file into the actual folder ......duh....  :D

Now I saved an "empty" one and it loads up fine with the normal reset flashing and jogging works as well.

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)