Hello Guest it is April 25, 2024, 04:57:08 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 - Ya-Nvr-No

261
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 24, 2014, 09:10:28 PM »
Had some excellent help from Scott on this project

Editable text help files

button presses brings up the list of codes that can be edited on the fly.
I'd like to add more buttons for notes or other resource data that might be useful on demand

Thanks again Scott, "you da man"

262
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 23, 2014, 06:46:20 PM »
thanks that's nice to hear, but its more just tedious detail then anything
fun crap to learn, I'm sure you can do a lot of this, just takes never giving up.

263
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 23, 2014, 06:31:08 PM »
Took Scotts great idea and created an I/O screen
uses a toggle button to jump to the screen on cycle start to view status.
toggle buttons for outputs and leds for inputs & output states

264
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 21, 2014, 02:01:42 PM »
Working on adding tool pocket location tracking and tool usage times using pound variables for storage and retrieval.


265
not quite following all this; but if you know the image name in the screenset image folder you can swap them with a scr.SetProperty function

    buttonImage = 'TOOLT9.BMP' -- known image name stored in the screen.set
    scr.SetProperty('bbutton29', 'Image', buttonImage);

266
I haven't had a M5 before my tool changes in ArtCam in years though I do have one at the END

added one of my posts below
I added the .txt as not sure it would post here

267
START = "T[T] M6"
START = "[ S] M3"

TOOLCHANGE = "T[T] M6"
TOOLCHANGE = "[ S]  M3"

268
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 09, 2014, 09:39:09 PM »
Starting to work on the MPG functions and features.

269
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 05, 2014, 10:27:07 PM »
Took scotts idea of imbedding code and having a button to call a compiled wizzard

Here is a popup 6 axis MPG and variable search all, wizzard.

put the (MPG_Module.mcc) in the modules folder "c:/Mach4Hobby/MODULES" and
add this these iRegs0 variables or paste them in the machine.ini file for your profile
this gives you control of the axis positions with the buttons and updates the DRO's
the [iReg#] number is just the ones in my machine.ini file


[iReg9]
Name=Xvalue
Desc=Save X
InitialValue=0
[iReg10]
Name=Yvalue
Desc=Save Y
InitialValue=0
[iReg11]
Name=Zvalue
Desc=Save Z
InitialValue=0
[iReg12]
Name=Avalue
Desc=Save A
InitialValue=0
[iReg13]
Name=Bvalue
Desc=Save B
InitialValue=0
[iReg14]
Name=Cvalue
Desc=Save C
InitialValue=0

then create a button and put the below script under the clicked option. (make sure your path for the module is correct)
when the button is used the module loads into memory and pops up. (least it should)

package.path = "./?.lua;c:/Mach4Hobby/MODULES/?.mcc;" --where the module file is.  
local MP = require "MPG_Module";--load the module file

myMPG()

270
Mach4 General Discussion / Re: Screen Set Ideas
« on: August 02, 2014, 01:11:22 PM »
Figured out a way to make a gradient temperature scale.
was wishing the gauge control had a way to change colors but was informed it wont happen till microsoft makes it possible.
(makes me wonder now; how all this will port over to the Mac or Linux OS)  ???

uses DRO's and the 'Z order' function. (finally found a very good use for that feature)