Hello Guest it is January 20, 2022, 09:09:27 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.


Messages - Tony Bullard

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 »
21
Mach4 General Discussion / Re: msvcp140.dll missing
« on: December 29, 2019, 04:00:42 PM »
Thank you Steve,
I removed msvcp140.dll from SysWOW64 and installed Microsoft Visual C++ 2015 Redistrubable (X64). It did put msvcp140.dll in SysWOW64. I still get the same  machipc.dll' as above.
I do appreciate the help. Thank you.

Tony

22
Mach4 General Discussion / Re: msvcp140.dll missing
« on: December 29, 2019, 01:46:21 PM »
Thank you.
   msvcp140.dll was in C:\windows\System32. I also put it in  C:\windows\SysWOW64.
   Now I don't get the msvcp140.dll missing error but get this error in the edit/debug screen: Attached

"ZeroBraneStudio\bin\lua53.exe: error loading module 'machipc' from file 'C:\Mach4Hobby\Modules/machipc.dll':
   %1 is not a valid Win32 application."

I've replaced machicp_dll from another machine to no avail. Both machines are 64 bit. one works ok, the other dosn't
Any other help would be appreciated.
Thanks   

23
Mach4 General Discussion / msvcp140.dll missing
« on: December 28, 2019, 09:08:38 AM »
Macros will not run in the Edit/Debug scripts editor. This is the error message: Attached

The file does appear to be in the Mach4 folder. See attached.

I’m using Mach4 version 4.2.0.4300 build 4300 Windows 7 64 bit. I’ve reinstalled Mach4 to no avail. Any help would be appreciated.
Thank you,

24
PoKeys / Mach4 Pokeys57Ecnc Encoder speed
« on: May 19, 2019, 09:28:54 AM »
Three fast encoders input pairs are available and can handle quadrature signal frequencies to about 100 kHz. Their raw value is held in registers. How can I in real time compare pulses to a time base to get a speed? Or how can I get the frequency? Is there another Pokeys plug-in That has this option?

Thanks for any help.
 

25
Mach4 General Discussion / Re: Mach4 Timer Script
« on: May 05, 2019, 08:28:38 AM »

Hi Craig,

Thank you again. The Time # variables are there and are represented correctly. I must not have coded my test correctly. I will work on some timers and post my results hopefully this week.

26
Mach4 General Discussion / Re: Mach4 Timer Script
« on: May 04, 2019, 08:10:29 AM »
Thank you for the method. They return null in a button script for me. Apparently the time variables are not implemented yet.
From poppabear.

27
Mach4 General Discussion / Re: Mach4 Timer Script
« on: May 03, 2019, 01:12:40 PM »
Is there a way to use the Time Function # variables in scripts?
From Mach4 Mill Gcode Programing.pdf

28
Mach4 General Discussion / Re: Mach4 Timer Script
« on: May 03, 2019, 07:32:13 AM »
  MyLubeTimer:start(10000) starts the timer for 10seconds.

MyLubeTimer:Stop()  stops the timer.

MyLubeTimer:start(-1) restarts MyLubeTimer for 10 seconds. In other words the default valve.
 
I think I'll take another look at the TimerPanel.

29
Mach4 General Discussion / Re: Mach4 Timer Script
« on: May 01, 2019, 03:31:54 PM »
Thank you Craig. No the timing is not critical and I can easily adjust the code to use it for the lub pump. As much as I'd like to do most everything in Mach4 I may just use an Arduino with its millis function for the timed events.

30
Mach4 General Discussion / Re: Mach4 Timer Script
« on: May 01, 2019, 01:42:50 PM »
Thank you. This looks promising. I've set up a register and functions to get and wright to them. My plc Interval is 50. I run this code in the PLC Script for a test. The functions are in the Screen Load Script.

local val = GetRegister("HurcoTimer")
val = val + 1
WrightRegister("HurcoTimer", val)

I am in demo mode. The PLC Interval seems to be much slower than 50. I get 1000 counts in 62 seconds repeatedly. Any suggestions? thanks.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 »