Keyboard Shortcuts
Likes
- MachCNC
- Messages
Search
mach3 reset not working
Rick
ok I have been running mach3 with the uc-100 controller on my laptop with no problems. The other day my computer gave up and went to a blue screen. I purchased a new computer , installed mach3, the license and the uc-100 driver. The reset will not clear and I cannot run the cnc router. I did the same with my desktop compter and got the same results. I hear the controller activate and the light on the uc-100 is solid green indicating all is well. HELP!!!!
|
Re: MODIO
开云体育This link explains how to prevent an application like MACH3 from writing to the VirtualStore folder created on a per user basis. Like as :? C:\Users\john\AppData\Local\VirtualStore\Program Files (x86)\MACH3\macros\Mach3Mill ? ? Now (finally!) when I edit a file like Macropump.m1s? it's actually editing the one in the C:/MACH folder which is where I moved MACH3.? And on that note with respect to the MacroPump accessing Modio I/O pins set as INPUTx and OUTPUTx… ? I can make the STATUS message show "OUTPUT6 is ON" but if I enable the testing on the output value after the input goes inactive I don't get the message "OUTPUT6 is OFF". I have to remove the test on IsActive(OUTPUT6) in order to have the STATUS message change. ? The reason I'm testing is that I really don't need that message being repeated constantly clogging up the HISTORY with extra messages. ? ? ' Show the user the state of the INPUT #2 input ? And finally, is there a way to edit the Macropump file and then have MACH3 reload it without stopping and restarting MACH3? ? Thanks John ? ? From: [email protected] [mailto:[email protected]] On Behalf Of designer_craig
Sent: January-19-20 11:14 AM To: [email protected] Subject: Re: [MachCNC] MODIO ? John, |
Re: MODIO
John,
I just upgraded my PC to W10 and have run into the same issue.? Also noticed a similar behavior on later updates to W7.? Seems for security reasons Microsoft is trying to prevent programs from writing any kind of variable data into their install directory under Program Files or Program Files(x86) once the application is installed.? I even had trouble on W10 placing a file directly under C:\.? think for older programs that did write to these locations they have added some means of "sand boxing" the variable (post post installation) date off to this? AppData\Local\VirtualStore location.?? Sort of makes sense now that most new apps get cryptographic signatures and get verified before being placed in a spot that gets launched.? I would install mach directly under C:\Mach3.??? In switching form W7 to W10 I had a number of old programs with similar behavior and just decided to make a directory called C:\MyProgram Files and put those programs there. I still have my? BP bill running on a Windows 2000 installation.? --No updates, no internet connection just works.?? Doubt I could get it connected to the internet with out HTTPS support. Good luck? Craig |
Re: MODIO
开云体育Hi Andy, I can certainly move it to C:\.? I think that's where it is on my WIN-XP ?MACH3 JGRO CNC router which uses the PMDX-125 and a USB Smooth Stepper. ? ? Just even setting the advanced properties to the shortcut on the desktop puts me back to the files in the expected place.?? The strange thing is my laptop and my workstation, neither of which are actually CNC PCs have a copy of MACH3 that don't exhibit this issue and are in C:\Program Files (86). ? So I guess there must be some flag or parameter set on my older WIN-7 systems that never installed the previous stupid Vista crap that hides things. ? The little bit I've played with WIN-10 showed a new issue with programs installed in the C:\program files (86) folders. ?At that company security is really strict and you can't even run administrator unless you have a special dongle for a USB port.? ?Programs like MPLAB-X would by default install into the C:\Program Files (86) folder but ran into problems because they'd try and store data in that same path. ? So running it with the administrator solved it until it came time to compile a dsPIC30 program.? The MPLAB-X running in administrator mode would launch the XC-16 compiler which would then silently just stop. ?No errors. ? Turns out a program running in administrator mode can't start another program in administrator mode and the XC-16 compiler also wanted to do something in that folder. ? Moving MPLAB-X and the XC-16 compiler out of the program files to the C:\ root folder under C:\Microchip solved the problem. Don't even have to run as administrator.? Until you want to use the ICD-4 for in circuit debugging.? Then the administrator dongle was needed again.? All that security to prevent problems. ? Just wish I knew why I can run MACH3 on my desktop and it can edit and save the files in the C:\Program Files (86) folder. ?Which I realize is nowadays probably a bad idea anyway. ? In either case, once I straightened that out, the MODIO is working with the standard INPUTx and OUPUTx signals.? Now to find that 4x20 LCD display… ? Thanks John ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Andy Wander
Sent: January-18-20 6:34 PM To: [email protected] Subject: Re: [MachCNC] MODIO ? Unless something has changed since I used it, the standard Mach3 installation would put the Mach3 folder right under the root, C:\Mach3. ? If it were me, I’d re-install Mach3 using all of the defaults. ? Then copy in your backed-up Mach3 folder and subfolders, and see if things are any better. ? From: [email protected] <[email protected]> On Behalf Of John Dammeyer ? I've been able to move a bit further but I'm having a MACH3/WIN-7 issue too.? I was editing files like the macropump.m1s and not seeing anything happen on the test system.? After a bit of research and searching all of drive C I found this one in what appears to be a user specific location.? This is what I created and edited with the VB Script Editor. ? ' C:\Users\john\AppData\Local\VirtualStore\Program Files (x86)\MACH3\macros\Mach3Mill ' Show the user the state of the INPUT #2 input If IsActive(INPUT2) Then ?????? ActivateSignal(OUTPUT6) ?????? Message( "OUTPUT6 is ON" ) Else ?????? DeactivateSignal(OUTPUT6) ?????? Message( "OUTPUT6 is OFF" )??? End If ? Except that if I look in? C:\Program Files (x86)\MACH3\macros\Mach3Mill the file doesn't exist ? Once I created the proper macropump.m1s file in that c:\Users\john\Appdata\…\Mach3Mill folder my MODIO code worked.? Which I expected because the task isn't exactly rocket science.? Close the switch on the MODIO INPUT2 pin and the OUTPUT6 LED starts blinking.? Release the switch and it stops.? Plus I get the two messages when I do that.? As expected. ? In MACH3 when I select menu entry: Operator | VB Script Editor And then in the VB Script Window select File | Open File … ? The path is shown as: C:\Program Files (x86)\MACH3\macros\Mach3Mill And I can load my macropump.m1s and see the above source code. ? But if I use file explorer and go to that same folder the macropump.m1s file isn't there. ? So WIN-7 is doing something and MACH3 is going along with it since it doesn't know that the actual data is being put somewhere else. ? And if I run MACH3 as administrator now I'm taken to the drive location that doesn't have the macropump.m1s ? I suspect I have to do something with WIN-7 to stop this.? The ID I sign in with already has administrator privileges.? I thought it might be something with User Access Control but I'm not sure. ? Any suggestions? ? Thanks John ? ? ? ? ? ? ? ? |
Re: MODIO
开云体育Unless something has changed since I used it, the standard Mach3 installation would put the Mach3 folder right under the root, C:\Mach3. ? If it were me, I’d re-install Mach3 using all of the defaults. ? Then copy in your backed-up Mach3 folder and subfolders, and see if things are any better. ? From: [email protected] <[email protected]> On Behalf Of John Dammeyer
Sent: Saturday, January 18, 2020 8:37 PM To: [email protected] Subject: Re: [MachCNC] MODIO ? I've been able to move a bit further but I'm having a MACH3/WIN-7 issue too.? I was editing files like the macropump.m1s and not seeing anything happen on the test system.? After a bit of research and searching all of drive C I found this one in what appears to be a user specific location.? This is what I created and edited with the VB Script Editor. ? ' C:\Users\john\AppData\Local\VirtualStore\Program Files (x86)\MACH3\macros\Mach3Mill ' Show the user the state of the INPUT #2 input If IsActive(INPUT2) Then ?????? ActivateSignal(OUTPUT6) ?????? Message( "OUTPUT6 is ON" ) Else ?????? DeactivateSignal(OUTPUT6) ?????? Message( "OUTPUT6 is OFF" )??? End If ? Except that if I look in? C:\Program Files (x86)\MACH3\macros\Mach3Mill the file doesn't exist ? Once I created the proper macropump.m1s file in that c:\Users\john\Appdata\…\Mach3Mill folder my MODIO code worked.? Which I expected because the task isn't exactly rocket science.? Close the switch on the MODIO INPUT2 pin and the OUTPUT6 LED starts blinking.? Release the switch and it stops.? Plus I get the two messages when I do that.? As expected. ? In MACH3 when I select menu entry: Operator | VB Script Editor And then in the VB Script Window select File | Open File … ? The path is shown as: C:\Program Files (x86)\MACH3\macros\Mach3Mill And I can load my macropump.m1s and see the above source code. ? But if I use file explorer and go to that same folder the macropump.m1s file isn't there. ? So WIN-7 is doing something and MACH3 is going along with it since it doesn't know that the actual data is being put somewhere else. ? And if I run MACH3 as administrator now I'm taken to the drive location that doesn't have the macropump.m1s ? I suspect I have to do something with WIN-7 to stop this.? The ID I sign in with already has administrator privileges.? I thought it might be something with User Access Control but I'm not sure. ? Any suggestions? ? Thanks John ? ? ? ? ? ? ? ? |
Re: MODIO
开云体育I've been able to move a bit further but I'm having a MACH3/WIN-7 issue too.? I was editing files like the macropump.m1s and not seeing anything happen on the test system.? After a bit of research and searching all of drive C I found this one in what appears to be a user specific location.? This is what I created and edited with the VB Script Editor. ? ' C:\Users\john\AppData\Local\VirtualStore\Program Files (x86)\MACH3\macros\Mach3Mill ' Show the user the state of the INPUT #2 input If IsActive(INPUT2) Then ?????? ActivateSignal(OUTPUT6) ?????? Message( "OUTPUT6 is ON" ) Else ?????? DeactivateSignal(OUTPUT6) ?????? Message( "OUTPUT6 is OFF" )??? End If Except that if I look in ?C:\Program Files (x86)\MACH3\macros\Mach3Mill the file doesn't exist ? Once I created the proper macropump.m1s file in that c:\Users\john\Appdata\…\Mach3Mill folder my MODIO code worked.? Which I expected because the task isn't exactly rocket science.? Close the switch on the MODIO INPUT2 pin and the OUTPUT6 LED starts blinking.? Release the switch and it stops.? Plus I get the two messages when I do that.? As expected. ? In MACH3 when I select menu entry: Operator | VB Script Editor And then in the VB Script Window select File | Open File … ? The path is shown as: C:\Program Files (x86)\MACH3\macros\Mach3Mill And I can load my macropump.m1s and see the above source code. ? But if I use file explorer and go to that same folder the macropump.m1s file isn't there. ? So WIN-7 is doing something and MACH3 is going along with it since it doesn't know that the actual data is being put somewhere else. ? And if I run MACH3 as administrator now I'm taken to the drive location that doesn't have the macropump.m1s ? I suspect I have to do something with WIN-7 to stop this.? The ID I sign in with already has administrator privileges.? I thought it might be something with User Access Control but I'm not sure. ? Any suggestions? ? Thanks John ? ? ? ? ? ? ? ? |
Re: MODIO
开云体育? The first time you saved the file, is it possible you didn’t put in a Carriage Return after the line “Message( "No macropump yet" )“ ? Very possible. ? I can send you an old micropump file that was used to write to an LCD on a ModIO, if you think it would be at all useful. I don’t use Mach3 any more(I’m on Mach4), so I can’t guarantee it will still work, but it used to work! I used the Modio manual, which unfortunately has copy/paste disabled so it wasn't easy to pull out the VBASIC source code example so theoretically it should send out to the LCD. ? Of course I still have to find my LCD display.? Or stick in a 2x40 line for now.? I have lots of those. ? From: [email protected] <[email protected]> On Behalf Of John Dammeyer
Sent: Saturday, January 18, 2020 12:43 AM To: [email protected] Subject: Re: [MachCNC] MODIO ? 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 ? 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 ? ? ? |
Re: MODIO
开云体育The first time you saved the file, is it possible you didn’t put in a Carriage Return after the line “Message( "No macropump yet" )“ ? ? I can send you an old micropump file that was used to write to an LCD on a ModIO, if you think it would be at all useful. I don’t use Mach3 any more(I’m on Mach4), so I can’t guarantee it will still work, but it used to work! ? From: [email protected] <[email protected]> On Behalf Of John Dammeyer
Sent: Saturday, January 18, 2020 12:43 AM To: [email protected] Subject: Re: [MachCNC] MODIO ? 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 ? 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 ? ? ? |
Re: MODIO
开云体育On my machine is it ? C:\Mach3\macros\”Profile Name”\macropump.m1s ? From: [email protected] <[email protected]> On Behalf Of John Dammeyer
Sent: Saturday, January 18, 2020 12:43 AM To: [email protected] Subject: Re: [MachCNC] MODIO ? 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 ? 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 ? ? ? |
Re: MODIO
开云体育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 ? ? ? |
Re: MODIO
开云体育General Config, check off “Run Macropump” ? From: [email protected] <[email protected]> On Behalf Of John Dammeyer
Sent: Friday, January 17, 2020 7:30 PM To: [email protected] Subject: [MachCNC] MODIO ? 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 ? ? ? |
MODIO
开云体育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 ? ? ? |
NSK linear bearings. Just can't remember..
...built a lot of custom robotics for Aerospace, Nuclear, many others and was always around linear slides but buy the time this technician got them they were usually hooked to ball screws etc.? I usually did all the electrical/electronic/sensor/motors blah blah.....fun as?heck, I was always the one to throw the switch?then the?Nerds and I would put it through the paces....(prepare to duck)
I have a bunch of NSK lgy25 mm slide units that seem rather tight, tight enough that it seems that 4 of them hooked to a 3/8 16 with a NEMA 34 might have too hard of a time pullin and pushin....that is a heck of a good gear ratio but still? I have one set that seems right, (slide easily with my fingertips)?they may be a little dry though and 3 sets that are pretty tight (grab ahold and physically pull)....I tried them on different rails that I got from different places...took the blocks apart and they all look new with no wear... They are a double row bearing also, so pretty heavy duty......I'm thinking of taking the outer row of balls off and running with one row....it won't hurt with the weight I'm carrying on a Y axis. When you dig through the junk yard, you get what you get!!!! |
Re: Using USS and MOD io panel
Hi Peter
Thanks for responding. I have the Macropump and M100 working well as per the M100 Modbus Interface Unit Users guide. That you authored. All I wish to do is to use some spare I/O pins to extend the little router with additional sw's and output to relays on Dotxx.? Then add a brain or two to involve M Codes. Brains I have working o SS I/O but nt the M100 Reading page 26/7 I should be able to use Mach inputs/outputs on Port 0 and pins 0 to 7. When I do this I get errors "port 0 must be on Smoothstepper." Trying to find a work around has been un successful. Can you offer an approach that will work? I would prefer to stay with the micropump as this system is working and I don't see how I can use the alternatives with your pendant setup when you reaalise mine interpretation is different to the Plugin dictates. Regards Graham |
Re: Electrical Noise
开云体育Thanks.? Just measured that value with the scope.? LinuxCNC 20kHz and 2.5kHz.depending on the parallel port interface. ? To simulate the LinuxCNC I have the Charge Pump running while ESTOP.? And here's the curious thing. ? If I mechanically trip the ESTOP button the PMDX-126 Red Light comes on showing ESTOP.? The RED MACH3 button starts blinking.? Both Pin17 (charge pump) and Pin1 (Enable) LEDs on the board are off.? ? But once I mechanically release the ESTOP button the red light stays on, the 12.5kHZ Charge Pump shows up on the scope.? But Pin17 LED does not light.? I can't get it out of the MACH3 ESTOP by clicking on the screen button.? Only the OFFLINE button and then RESET screen button take me out. ? Or if I unplug the parallel port cable and then plug it in again the RED led goes off and then the screen RESET button works and the OFFLINE button isn't needed. ? The diagnostic screen on MACH doesn't show anything strange. ? So I guess there's something odd at the parallel port level because unplugging a cable that doesn't have any outputs asserted and seeing the RED Led switch OFF and not ON again when the cable is plugged in again suggests there is something seen on the parallel port by the PMDX-126 gets confused. ? ? I'm going to guess that after an ESTOP event the PMDX needs the Charge Pump to go away for a moment.? When it doesn't it won't come out of reset properly.? And if there's noise on the cable then that same confusion may occur.? ? Linux handles the charge pump slightly differently. ? ? John ? ? ? ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Peter Homann
Sent: January-12-20 3:06 PM To: [email protected] Subject: Re: [MachCNC] Electrical Noise ? Hi John, The charge pump frequency is 12.5kHz.? ? Cheers, Peter Homann - (from my mobile) On 13 Jan 2020, at 9:45 am, John Dammeyer <johnd@...> wrote:
|
Re: Electrical Noise
开云体育Yes. Checked and as I said in the previous email I'm suspicious that the PMDX-126 doesn't like to come out of an ESTOP condition if the Charge Pump is still there.? So perhaps noise on that line from the AC servo at the wrong point just puts it back into ESTOP.? And that might be due to the timing of when it's enabled compared to when it's enabled by LinuxCNC. ? Still very peculiar. John ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Peter Homann
Sent: January-12-20 3:10 PM To: [email protected] Subject: Re: [MachCNC] Electrical Noise ? John, Check in Mach3 that the “charge pump on in eStop” checkbox is ticked. It is in the general config tab.? In Mach3, the charge pump signal is to indicate that Mach3 is running and has control of the parallel port.? ? Cheers, Peter Homann - (from my mobile) On 13 Jan 2020, at 10:06 am, Peter Homann <groups@...> wrote:
|
Re: Electrical Noise
开云体育John,Check in Mach3 that the “charge pump on in eStop” checkbox is ticked. It is in the general config tab.? In Mach3, the charge pump signal is to indicate that Mach3 is running and has control of the parallel port.? Cheers, Peter Homann - (from my mobile) http://www.homanndesigns.com On 13 Jan 2020, at 10:06 am, Peter Homann <groups@...> wrote:
|
Re: Electrical Noise
开云体育Hi John,The charge pump frequency is 12.5kHz.? Cheers, Peter Homann - (from my mobile) http://www.homanndesigns.com On 13 Jan 2020, at 9:45 am, John Dammeyer <johnd@...> wrote:
|
Re: Electrical Noise
开云体育Hi Peter, The PMDX-126 doesn’t change.? And it's the one tripping the ESTOP.? Looking at the lights I can see the Charge Pump (pin17) light come on along with the ENABLE.? The moment the ENABLE comes on the AC Servo is energized and then they both go off and the RED ESTOP LED comes on at the other end of the PMDX-126.? So I'm guessing it's something to do with the Charge Pump output from MACH3 being different from the Charge Pump output from LinuxCNC which uses one of the stepper motor driver channels as a Charge Pump.? ? The LinuxCNC is # MESA 7i92H P2 connections # ---Chargepump StepGen: 0.25 velocity = 10Khz square wave output--- ? I can't tell from the parallel port version hal file what the charge pump frequency is.? I'll ask on the LinuxCNC group. ? Does anyone know what the Charge Pump frequency for MACH3 is?? Maybe it's not a square wave? ? As I said before, preventing the AC Servo switching noise from coupling onto the parallel port cable? solves the problem and these things are incredibly hard to diagnose via emails or even phone calls. ?Separation is our friend in this case. ? Guess I'd better bring the scope back into the shop. ? John ? ? From: [email protected] [mailto:[email protected]] On Behalf Of Peter Homann
Sent: January-12-20 2:13 PM To: [email protected] Subject: Re: [MachCNC] Electrical Noise ? My first thought would be a differences in the settings or software algorithms for noise filtering.? ? Cheers? Peter Homann - (from my mobile) On 13 Jan 2020, at 8:11 am, John Dammeyer <johnd@...> wrote:
|