Hello Guest it is March 28, 2024, 01:50:37 PM

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.


Topics - perplexed

Pages: 1
1
VB and the development of wizards / LCD and Macropump help needed
« on: November 16, 2017, 11:46:52 PM »
Hi all, I am new to the forums and hoping to gain some help in relation to displaying data on a 20x4 LCD using macropump.

I agreed to help a friend add additional information to the LCD to make working safer...Mach 3 is running on one PC and the LCD is on the front panel of a slave machine above the mill at the other end of the workstation.

At present we can get the X, Y, Z, and A position data to show on the LCD, as well as measurement units (mm or inches), and whether EStop is triggered or the machine is in Run mode (see attached pic).

We have placeholders (SwR1 and SwR2) which we would like to populate with the following information:

SwR1 - which axis is currently selected in jog mode e.g. X, Y, Z, A
SwR2 - the jog increment e.g. 10mm, 1mm, 0.1mm etc

I have attached the macropump code.

I note from searching the forums that others have been directed to Peter Homann's code for the DIY pendant...I have looked through this and tried to get it working by using relevant parts to no avail.  The attached code is also based on the DIY pendant code.

If someone could please either write some code to get the information to display as needed, or give a thorough explanation that will help I would be grateful...I have been pulling my hair out for nearly 2 weeks now trying various options and believe it is something simple I'm missing but just cannot crack it.  I have a project I am working on that until we sort this I cannot proceed with as it is both a safety issue and will definitely speed working up.

Thanks in advance!
Hopefully perplexed not much longer!!

Pages: 1