Keyboard Shortcuts
Likes
- MachCNC
- Messages
Search
mach 4 install ntdll.dll error
Newbie here,
Having a devil of a time getting Mach 4 installed on a Win XP Dell Optiplex 745. CPU speed is just a touch slow, but this is my first foray into CNC and using a PC that was lying around. Otherwise PC meets requirements. I have XP SP3 installed with all updates from Microsoft update site. Had to install Windows Visual C++ Reditributable for Visual Studio 2015 and bcrypt.dll. But I now get "the procedure entry point EtwGetTraceLoggerHandle could not be located in the dynamic link library ntdll.dll". I have scoured the internet and did not find a solution. Anyone have experience with this? Thanks, Dale Grice |
Re: auto zero
Can tell me where to download script
toggle quoted message
Show quoted text
Thanks Denny
|
Re: auto zero
Oh and hit the tab key which brings up the On screen pendant. Adjust the jog speed to a % of full speed.
toggle quoted message
Show quoted text
-----Original Message----- |
Re: auto zero
Hi Denny,
toggle quoted message
Show quoted text
Here's what I do for my touch plate which is a PC board that is 0.0625" thick. I also don't allow the search to go on for more than 3" response = MsgBox( "Auto Zeroing, Put Ground Clip on Tool bit", 1 ) If IsSuchSignal (22) Then code "G31 Z-3 F20" While IsMoving() Wend Call SetDRO( 2, 0.0625 ) code "G1 Z1" While IsMoving() Wend response = MsgBox( "Auto Zeroing Complete. Remove Ground Clip", 1 ) End If -----Original Message----- |
Re: auto zero
If you're getting the compile error, then there's an error in the script.
toggle quoted message
Show quoted text
Hit the TAB key and you can adjust the jog speed from there. On July 24, 2019 at 9:21 AM "Dennis Sumner desum414@... [mach1mach2cnc]" <mach1mach2cnc@...> wrote: |
auto zero
I am new to cnc just built a cnc router all works well. Trying to set up auto zero plate for z axis. Have wiring install as per build your cnc instructions, the digitize light comes on when wires are touched together,I have downloaded script. when I hit auto zero tool button it says scripter compile error in. have reloaded script. any help would be great, Also how can I slow jog speed down when using keyboard to jog.
Thanks Denny |
(No subject)
How about an actual short example of what didn't work and what did? Then the responses become more educational.
Thanks John From: mach1mach2cnc@... [mailto:mach1mach2cnc@...] Sent: July-21-19 2:26 PM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Thanks for the response. I had got the notion that there were problems with scripting and got misled by making a couple of assumptions. Although I had pared the script down to just an if-then clause, I still had an M99 in the macro. When this instruction was on the same line as my working snippet, the macro compiled but when I placed it on the following line, in the macro, the compilation triggered and error. I don't know why I didn't get an error in the first instance , but when I moved the m99 into the gcode program following the macro in the O100 subroutine call, everything worked fine when the conditional was added. Perhaps if the compiler had given me some clue as to what it didn't like, I could have avoided a week of grief. Thanks again, Terry |
(No subject)
Thanks for the response.? I had got the notion that there were problems with scripting and got misled by making a couple of assumptions. Although I had pared the script down to just an if-then clause, I still had an M99 in the macro.? When this instruction was on the same line as my working snippet, the macro compiled but when I placed it on the following line, in the macro, the compilation triggered and error. I don't know why I didn't get an error in the first instance , but when I moved the m99 into the gcode program following the macro in the O100 subroutine call, everything worked fine when the conditional was added. Perhaps if the compiler had given me some clue as to what it didn't like, I could have avoided a week of grief. Thanks again, Terry |
Re: mach scriper/editor/debugger
I've written some fairly complex macros in Mach3 over the years and I don't remember anything in particular regarding that. I just installed 3.043 (demo mode, no LPT-port driver, no motion device) and tried some basic things with IF/THEN and SELECT CASE, saved as M1000.m1s and it seems to work fine both when executed from within the editor and when called with M1000 from the MDI-line. Can you post an example that doesn't work? What motion device are you using? /Henrik.
------ Originalmeddelande ------
Fr?n: "'trkurtz77 .' trkurtz77@... [mach1mach2cnc]" <mach1mach2cnc@...>
Till: mach1mach2cnc@...
Skickat: 2019-07-21 04:13:33
?mne: [mach1mach2cnc] mach scriper/editor/debugger ? |
Re: looking for help
I'd like to tag along so keep us posted. Ralph
|
mach scriper/editor/debugger
I'm hoping to find someone who has worked with mach2 and Mach3 macro scripting over the years who can give me the straight skinny about the use of conditional programming (if-then-else,case, loops, etc.)? The Mach2 manual section iv has numerous examples using these constructs. Mach3_V3.x_Macro_Prog_Ref manual, which New Fangled Solutions sends folks to to answer all their questions about Mach3 final published version, who are wondering why the heck they can't get a simple if-then-end if to compile.? Code snippets using SetVar, GetVar, Code "xxx" work fine, but put one in conditional construct, It errors at runtime of the Mxxx.m1s macro. Using the debugger flashes syntax and compile errors but offers no clue as to which line# or what instruction is errant.? Question: Was there ever a time when conditionals were working in Macros for Mach2 or 3? Question:? Did conditionals start causing problems in new releases of Mach? Question: Is anybody out there, currently using conditionals successfully, in the final release of Mach3? Or some other version? Maybe it can be done only on the 3rd Tuesday of the month if there is a full moon rising.? Thanks in advance for any knowledge you can share about the history and state of mach3 macro scripting in the final release version, or any other version, that might provide insight. Terry |
Re: Beagling...
Peter Homann is correct that the easiest way is a brick type PC on the back of a monitor with an Ethernet Smooth Stepper and MACH4.
Monitor, keyboard and mouse are constants just like BoB, motors, couplers, power supplies switches etc. The LinuxCNC approach with a Raspberry Pi (and there are those working on it) is something like the Ethernet MESA 7i92H which has two parallel port compatible 26 pin headers. From there you are in the same boat as the SS needing some sort of Bob, motors, power supply, switches etc. The MESA board is $89 compared to a much more expensive Ethernet SS. A Pi is what about $40? But I still like the MACH3 user interface better than the AXIS on the MachineKit for the Beagle. And then there's MPGs and Pendants. Pretty easy to hook Peter's hardware with an encoder to MACH. A little harder on Linux. I bought an HB04 Pendant a few years ago. It's plug and play right away with MACH3. After 4 days I finally have it working on LinuxCNC. And even then I'm not yet happy with what it does. OTOH, I use a Shuttle Express on the CNC router. Minimal buttons so keyboard is still always there but so handy for fast moves down to 0.001" steps. I think it can connect to LinuxCNC via USB which would probably also mean MachineKit for the Beagle. If not perhaps another week of wasted time to get it working? John Dammeyer From: mach1mach2cnc@... [mailto:mach1mach2cnc@...] Sent: July-10-19 1:07 AM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Beagling... Masso looks ok, but only step n dir. And I can't run scripts for fixtures.. Will have to delve into machinekit.. Roland On Wed, 10 Jul 2019 at 00:20, Groups groups@... [mach1mach2cnc] <mach1mach2cnc@...> wrote: Hi Roland, There are plenty if Standalone controllers around. Masso is one such option. My preference though is to use a windows 10 NUC controller mounted to the back of a touchscreen running Mach3/4, connected to an Ethernet Smoothstepper based controller. My guess is that the effort to port Mach4 to the beagle board would be considerable. Cheers Peter Homann - (from my mobile) On 10 Jul 2019, at 1:34 am, Roland Jollivet Roland.Jollivet@... [mach1mach2cnc] <[email protected] <mailto:mach1mach2cnc@...> > wrote: On the recent discussion on PC versus an embedded controller; We had Mach3 and the parallel port then Mach4, and now you have to buy some hardware to do the I/O So why can't Mach4 run on a Beaglebone, and all the I/O is handled by the superfast PRU's? Now you can; - run your machine in a Windows environment - on a very compact setup - closed loop servos can be supported (ie encoder to BB) - the link between Mach and the I/O is now direct, as opposed to a USB link - the cost of the BBB covers CPU and I/O One would still need power H-bridges or Gecko or DRV8825 or whatever your motors need, so that is irrelevant. Roland [Non-text portions of this message have been removed] |
Beagling...
Masso looks ok, but only step n dir. And I can't run scripts for fixtures.. Will have to delve into machinekit.. Roland
|
Re: Beagling...
开云体育Hi Roland,There are plenty if Standalone controllers around. Masso is one such option.? My preference though is to use a windows 10 NUC controller mounted to the back of a touchscreen running Mach3/4, connected to an Ethernet Smoothstepper based controller. My guess is that the effort to port Mach4 to the beagle board would be considerable.? Cheers? Peter Homann - (from my mobile) On 10 Jul 2019, at 1:34 am, Roland Jollivet Roland.Jollivet@... [mach1mach2cnc] <mach1mach2cnc@...> wrote:
|
Beagling...
Hi John I really don't like the idea of having a string a bunch of $99 devices to get to the motor My real issue is that I have dozens, literally, of big and small DC servo motors, which are cheap to get. Many of these have encoders. So, a DC motor is really easy to drive, PWM out to just one power H-bridge, and then I need a bit of conditioning on the encoder, maybe. So I'm trying to find a lowest $ solution to be able to make use of these motors. Closed loop. A G320 is halfway there, but more $ and 'wastes' the PRU's (and then I'm going to build dozens of cnc machines, ha ha ha) And I might want to use linear encoders, or custom serial encoders. So, from what you've said and other sites I've looked at, the BB offers the best hardware platform to do everything, except the high current stuff. I also do like these boards for the 'Windows and I/O' platform; Roland
|
Re: Beagling...
Hi Roland,
What's really only missing is a MACH3 like user interface on MachineKit which is a version LinuxCNC running on the Beaglebone Black. It has the AXIS user interface which isn't nearly as easy to use as MACH3 is. When this video was made I hadn't yet cast the parts for the X axis drive. But the short G-Code program that is running is running on the Beaglebone with MachineKit I used the Xylotex Cape which has a DB-25 compatible with the PC. It's no longer available but there is something similar. The problem with cape I had is the physical hardware forced normally open limit switches. Which for me was unacceptable so it's been shelved for now. So like the Beagle Replicape for 3D printers, we need something similar to the PMDX-126 that acts as a cape for the BeagleBone Black. Since one needs some sort of BoB anyway a "CAPE" type BoB is the least expensive route if it covers the minimum of two parallel ports of I/O. I have a PMDX-125 with USB Smooth Stepper for my JGRO CNC router working with WIN-XP. I also created a dual boot PC with WIN-XP and LinuxCNC and bought a PMDX-126. I've run two parallel ports to it with WIN-XP and discovered just how much I like the Smooth Stepper. With the parallel ports touch anything on the screen and the DC Servos error out because the stepping pulses are delayed. Not with the USB SS I borrowed from the CNC router. And not with LinuxCNC and parallel ports. I have bought a MESA Ethernet connected 7i92H which has two parallel ports and the ability to do the stepping on board but as yet haven't been able to create the appropriate files to make it functional. Working on other issues first. But LinuxCNC doesn’t have the same issues with editing files while G-Code is running. Quite amazing actually. My plan, and the reason for the dual boot, was to investigate creating a MACH3 like user interface for LinuxCNC. One that used parallel ports or something like the Ethernet driven 7i92H. The look and feel would be like MACH3. Clearly I'd have to add some sort of VBASIC interpreter so that my tool touch macro from the CNC router would function. I don't know. It's all just dreaming at the moment. I have been able to make LinuxCNC cut parts on the mill. But just getting the HB04 Pendant functional has taken 4 days elapsed time. Booting up WIN-XP and MACH3 was plug and play. It's supported on both systems. Just painful to get running under LinuxCNC. As for the Beagle substituting for say the Ethernet Smooth Stepper, I think like many murder mystery movies, follow the money to find the motive. I doubt there's any money to be made using a Beagle in place of a Smooth Stepper. John Dammeyer On the recent discussion on PC versus an embedded controller; We had Mach3 and the parallel port then Mach4, and now you have to buy some hardware to do the I/O So why can't Mach4 run on a Beaglebone, and all the I/O is handled by the superfast PRU's? Now you can; - run your machine in a Windows environment - on a very compact setup - closed loop servos can be supported (ie encoder to BB) - the link between Mach and the I/O is now direct, as opposed to a USB link - the cost of the BBB covers CPU and I/O One would still need power H-bridges or Gecko or DRV8825 or whatever your motors need, so that is irrelevant. Roland |
Beagling...
On the recent discussion on PC versus an embedded controller; We had Mach3 and the parallel port then Mach4, and now you have to buy some hardware to do the I/O So why can't Mach4 run on a Beaglebone, and all the I/O is handled by the superfast PRU's? Now you can; - run your machine in a Windows environment - on a very compact setup - closed loop servos can be supported (ie encoder to BB) - the link between Mach and the I/O is now direct, as opposed to a USB link - the cost of the BBB covers CPU and I/O One would still need power H-bridges or Gecko or DRV8825 or whatever your motors need, so that is irrelevant. Roland |
Re: MACH3 on VISTA or WIN-7
开云体育Thanks Steve I will definitely check out this bookChuck? -sent from my iphone --
|