Machsupport Forum
Mach Discussion => Mach Screens => Screen designer tips and tutorials => Topic started by: RMT on August 28, 2007, 08:02:43 PM
-
Hi,
The Manual states to see appendix 2 online for info on oem codes, where do I find that?
Thanks
FranK
-
Look at the top of this page, forums tab, Wiki-Customize Mach, section 9 I think.
Brett
-
Brett ,
That just gives me the list that is in the manual, mabe I should ask first what does oem code mean, or stand for?
Frank
-
Not sure if this is what you are asking? OEM stands for original equipment manufacturer I think. You assign these codes to buttons, code, inputs, outputs etc. They perform the task assigned to that code then. I hope this is what you are asking.
Brett
-
Under Reference Table in the custimization manual there is a Repetitions DRO listed with oem code 78 and Fcode 12 , what I would like to add to the screen is a counter that count how many times I hit the cycle start button and resets when I close the G file. I'm not really sure how to get that done, I'm working with the simple 3 axis screen set and just added a smaller button "behind" the cycle start button and added a DRO , but I'm not sure about the script and the oem codes.
Thanks
Frank
-
Frank,
Here is an OEM Mach screen set with the Mods you requested.
1). There is a counter by the Reset button that counts the cycle starts, it increments by 1 each time you hit start.
2). When you press Close Gcode, it closes gcode and resets mach.
3). When you press Reset, or Mach Resets for any reason, your counter resets back to zero.
Open the zip file drop, "1024MOD.set" in your main directory, open it under view in mach and check out your new screen!!!
Scott
-
Scott
I had a poke around to see how you did it. You learn some little titbit every day. :)
S'pose another option would have been to have an extra button to set the DRO back to zero instead of using the reset to zero it.
I'll store that little idea away in the memory banks in case I want a job counter in the future.
Thanks for sharing, Greg
-
Scott,
This is great, got it to work on the simple 3 axis screen and decided to try also resetting the the counter when I close out the G-Code, since I don't think that I hit the reset button everytime I change programs, so I added this code to the close gcode button
SetUserDRO(1230,0)
DoOEMButton(169)
And it works, I think I'm getting the hang of it.
Thanks Again for posting that
Frank
-
Cool, glad it helped ya out
scott
-
Is there a LED OEM code for oemtrig series of inputs? I use these for my tool changer and would like to add them to the diag. screen.
I checked the wiki and didn't see it, not like that means it's not there.
Thanks Drew