Hello Guest it is May 10, 2024, 03:22:47 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 - Bill_O

71
Mach4 General Discussion / Re: Run From Here
« on: November 15, 2022, 03:43:14 PM »
Craig,

I have no idea until I start playing with it exactly how I will do it or if I can do it.
I am swamped until the start of the year but wanted to start thinking about it.
Just wanted something easier for my customers to use.
Thanks to you I have someplace to start.
Thanks.
If I get something I will post it on here.

Bill

72
Mach4 General Discussion / Re: Auto Tool Setter Offsets
« on: November 15, 2022, 09:56:41 AM »
I would like to see how this is done also.
I can not use the probe to set my tools in Manual Tool Change either.

73
Mach4 General Discussion / Re: Run From Here
« on: November 14, 2022, 08:20:22 AM »
Joe,

I know about the button.
It is a pain if you don't do it correct.
That is what I would like to work on.
I have no problem writing the rest of the LUA I just need to know how to do the "Run From Here" in code.

74
Mach4 General Discussion / Run From Here
« on: November 11, 2022, 01:39:55 PM »
I am wanting to make this a little easier for my customers.
The old M3 was a little easier and i want to make this even easier than that, only 1 click of the mouse.
Is there any way to do "Run From Here" in a script?
Is it mc.mcRunFromHere(inst)?
or RunFromHere()?
or?

Thanks,
Bill

75
Mach4 General Discussion / Re: Lua script: Pause for operator to jog?
« on: November 11, 2022, 01:13:51 PM »
Here is how I would do it.

Check to see if the table or tool setter has been done.
Push a button to do the table.
Set a register for the value from machine home.
Set a register that that operation has been done.
Pop up message window telling them to do the other operation.
When they click OK it exits the macro.
Jog to the position you need and push a different button to do tool set operation.
Check if the table has been done.
If not pop up message window telling them to do it first and exit the macro.
Set a register for the value from machine home.
Set the done register for the table back to not done.
Do your math and tool offset for the tool number.



76
Mach4 General Discussion / Re: Lua script: Pause for operator to jog?
« on: November 09, 2022, 04:29:01 PM »
No answer from me but I would like to know how to do this also.

77
Mach4 General Discussion / Re: delay and timer in signal script #mach 4
« on: November 03, 2022, 05:29:27 PM »
Should have read that a little better.

if (ISigFDBK == 0)then
   mc.mcSignalSetState(hsignal,1)
   wx.wxMilliSleep(5000)
   mc.mcSignalSetState(hsignal,0)
end

78
Mach4 General Discussion / Re: delay and timer in signal script #mach 4
« on: November 03, 2022, 01:08:11 PM »
wx.wxMilliSleep(3000)
That is a 3 second delay

79
Mach4 General Discussion / Re: Mach4 scaling using M51
« on: November 01, 2022, 09:32:52 AM »
Here is the code.
I use a lot over variables and some registers but you might be able to follow it.

80
Mach4 General Discussion / Re: Mach4 scaling using M51
« on: November 01, 2022, 07:52:40 AM »
It finds some dots printed on material and adjusts the scaling for x and y and compensates for rotation.
Lot of math.