Hi,
I think the configuration is correct for Mach4 Input3
No, I don't think so, the 57E produces a 12 or maybe 14 bit digital word to represent the numerical value of the voltage on its input pin 44. How would the 57E
possibly pass a multibit value via a single Mach input?
The 57E maintains quite a few registers and the digital value is placed in one of those registers. My reading of the manual suggests that the 57E plugin creates and
updates those registers. You can use Diagnostic/Regfile to expand the 57E registers and view them.
Now I have a gauge set up with screen editor. What do I do to link the gauge to the analog input? Not sure how to use the register. Is there an example to look at in the manuals?
This is not going to be as straight forward as you think. The recent build of Mach has a voltmeter icon built in. What you may not have noticed is an entry 'Code' in the
properties list. If you click on it and view the dropdown list you have ALL the intended possible sources for the voltmeter to display, there appears to be well over a hundred
entries but none of them are a simple register value but rather a DRO or position variable or similar.
There are two possibilities:
1) Take the register value and use it to populate say an out-of-band axis DRO which is on the 'Code' list and use that to control the provided voltmeter icon.
2) Craft your own voltmeter, I note that wxLua has a 'PercentComplete' graphic which could be used.
Its not clear to me that either option is best, might be a case of trying both to see which one works best. Probably a useful excerise in Lua coding.
Craig