Hello Guest it is April 27, 2024, 08:34:44 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 - Screwie Louie

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 »
11
Mach4 General Discussion / Re: Screen Set Ideas
« on: July 10, 2015, 03:26:58 PM »
Thanx Scott.

Could I read/write from/to the profile's Machine.ini file's sections - keys - values (i.e.,  [Motor0] CountsPerUnit = some value) as an alternate way using mc.Profile* to get/set values of an info struct?
I'm gonna spend a few and experiment a little....



12
Mach4 General Discussion / Re: Screen Set Ideas
« on: July 10, 2015, 12:34:19 PM »
Two questions for anyone who may know the answer...

1) Motor Counts are set from Mach4 Config menu. Is their a recall and set axis motor counts function at the user programmable level?

    i.e., The function call mc.mcMotorGetInfoStruct & mc.mcMotorSetInfoStruct is unavailable to me. Are motor counts assigned to pound variables by chance?
           --Another example are the jog increments that are set in the Config Menu. Where does Mach4 store these values and how can we retrieve and reset those values at a user programmable level?)
           --I hope I explained this well enough for you to visualize what I am asking....

2) mc.mcScrewMapping     --Isn't this the formal axis calibration function for mach4?


--josh

13
Mach4 General Discussion / Re: Screen Set Ideas
« on: July 10, 2015, 12:11:29 PM »
I get it!  ;D

...the 'newCounts' formula...

thanx!

--josh

14
Mach4 Toolbox / Re: Check for Update Script
« on: July 10, 2015, 01:29:24 AM »
Sweet :)

15
Mach4 General Discussion / Re: Mach 4 Axis Calibration solution
« on: July 09, 2015, 02:33:56 PM »
That is really cool! Thanx!  If you care to share the formula for the steps optimizer, I'll program it into a wizard and post if for everyone to use...whatcha think? And of course, your website and contribution will be credited in the code and in the File / About menu of the window. This would be a good project for me and added value to the community in addition to your post.

--josh

16
Mach4 General Discussion / Re: Order of tabs in a window
« on: July 07, 2015, 12:26:00 AM »
well technically, set current tab to 3 on the fifth scan of the PLC; to wit the PLC calls the function defined in the screen load up script....right?

17
Mach4 General Discussion / Re: Order of tabs in a window
« on: July 06, 2015, 12:48:34 PM »
Ahhh, I see. So you set the OperationsTabs to display the jogging tab upon screen load by making the current tab = jogging tab.

Yah, I went back and my stuff was missing too. Sorry Pedio.

Thanx Daz.    DazTheGas()

18
Mach4 General Discussion / Re: Custom DRO script
« on: July 06, 2015, 12:36:52 PM »
Yes!!!    iReg...

Excellent  >:D I can proceed to take over the world now.

Thanx!

19
Mach4 General Discussion / Re: Line following (tracing)
« on: July 05, 2015, 10:34:50 AM »
It's all about the Benjamin's!  >:D

(Benjamin Franklin is the president on our hundred dollar bill...in case you Kiwi's didn't know.) :)
...but yet the US dollar is the world's reserve currency...[enter conspiracy theory now]

what do you want to be when you grow up? ...I was always asked. Rockstar! Plastic Surgeon! a Pimp! a General! ...a CNC machinist / programmer said no one --Ever!

20
Mach4 General Discussion / Re: Custom DRO script
« on: July 05, 2015, 10:31:01 AM »
I wanted to use semaphore programming b/w macro calls and the PLC...I have to keep experimenting.

The weird thing is, I think I have to tell the PLC what gCode line to pull and if mCode = True then do something based off of a variable value or state condition (if req'd).

Am I wrong? Can user-defined macros make changes to global variable values which are defined in the Screen Load Up script -> then the PLC can observe and execute a function when those macros are running in gCode?

I think there is a conflict with m4's machState (i.e., File_Running vs Idle, etc.) to allow a function to execute. I believe this is a safety mechanism.


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