开云体育Yes.? That's been done. I found that checkbox after I posted.? ?But the other question was where is the Macropump file located?? I find when I use the VB Script editor to edit an unused button the path to this file on my laptop is: C:\Program Files (x86)\MACH3\macros\Mach3Mill ? But on the test PC (WIN-7) there are some files are in ? c:\Users\john\AppData\local\..\MACH3\Macros\Mach3Mill\ and they are different and there aren't as many. ? Now a few hours later that difference has vanished.? Not sure why. I'll try a new test. ? I created the Macropump.m1s file and added this: Message( "No macropump yet" ) ? Saved it as MacroPump.m1s.? ?Restarted MACH3.? Tried to edit the file.? This time it was empty; there to load but empty.? Put the same statement in again.? Saved again.? Restarted MACH3. Now I'm getting the message. ? Very strange. ? I'll try reading an input pin on the MODIO and serving up a dialog.? Ultimately what I want is based on a number of inputs and to display which of the ones caused a FAULT (DC Motor #1 or #2 or AC Servo or Missing High Voltage Power). ?The Enable pin 1 when set again will clear this error.? It's cleared by the FAULT input to the BoB. ? So I don't really need the LCD display but I'd like to show the message there too.? Hence the need for the MacroPump.? To serve the messages over MODBUS to the LCD display. ? Thanks John ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Andy Wander
Sent: January-17-20 8:02 PM To: [email protected] Subject: Re: [MachCNC] MODIO ? General Config, check off “Run Macropump” ? From: [email protected] <[email protected]> On Behalf Of John Dammeyer ? After at least 10 years of hibernation my MODIO is out of the original shipping box and connected to a PC running MACH3.? I also have a tool I've used with other Modbus projects from called a Modbus Slave.? It lets me snoop a Modbus network and watch messages.? I've also got the Modbus Poll program which would let me work with the MODIO independently.? ? In either case I've noticed a few anomalies between the MODIO manual and the hardware that have me a bit confused.? First the web site shows a photo of my hardware but the manual still shows a much older revision and refers to jumpers that don't exist.? At the moment that's not a big issue. ? The configuration is a bit confusing but I'll leave that for now too. ? It's a reference to writing a Macropump.m1s? that is the most important part to start with.? There's no example of that file.? The manual on page 30 refers to it for sending information like XYZ position to the LCD screen. ? If I create a file Macropump.m1s how do I tell MACH3 to periodically call this??? Or does it just look for that in the C:\Program Files (x86)\MACH3\macros\Mach3Mill folder? ? First thing I need to do though is find my 4x20 LCD display.? I thought it was in the same box but it's clearly been used somewhere else.? I remember seeing it a few months ago… ? John ? ? ? |