Hello Guest it is April 24, 2024, 08:39:21 AM

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 19 »
31
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   

32
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,

33
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.
 

34
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.

35
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.

36
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

37
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.

38
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.

39
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.

40
Mach4 General Discussion / Mach4 Timer Script
« on: April 30, 2019, 10:31:01 AM »
I’d like to have a timer start and stop a lub pump after an hour of spindle on time. That would be an accumulated time of spindle on and off time. The scr.StartTimer(#,Time,oneshot) starts the event after the time has expired. The scr.StopTimer(#) seems to cancel the timer before the event. I’d like to start and then pause the timer and then restart. The scr.RestartTimer(#) doesn’t seem to have any effect on the timer. How Is the RestartTimer supposed to work? Thanks for any help.
 

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