Hello Guest it is April 19, 2024, 09:53:34 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 - corydoras

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
21
General Mach Discussion / Re: Auto Calculator Size
« on: March 18, 2019, 01:00:23 PM »
Thanks for the howto.
I got the script working, now its just a problem with the #Expand code.
When I press the button with this script, I get this error message. (see attachment)
(I noticed a path that has a folder named ScreensetMacros, I do not have this folder in my Mach3 folder)

Is the config button supposed to be configured with std code 34  ,and with this text?:

Sub Main
   call NumericKeyboard(800)

End Sub


#Expand <C:\Mach3\macros\plasma\numerickeyboard>

Best reg
Roy

22
General Mach Discussion / Re: Auto Calculator Size
« on: March 17, 2019, 03:27:45 PM »
read my post
https://www.machsupport.com/forum/index.php?topic=39655.0

An Android tablet or a windows 10 tablet connecting into a MACH3 PC as a RD Client will ALREADY provide touchscreen, ZOOM, PAN and large touch Keyboard capability for data entry.

A simple screenset like the ready uploaded "School_Router.set" could be used if just running programs if using Remote Desktop touchscreen since buttons are LARGE.



Thanks a lot, that is so cool.
For this project I have a compact computer with touchscreen running win8, and I am making a custom screenset for a motion control application using the mach 3 screen designer.
I have the screenset mostly worked out, but would like a bigger keypad for my lumpy fingers.

best regards
Roy

23
General Mach Discussion / Re: Auto Calculator Size
« on: March 17, 2019, 03:16:30 PM »
hello Roy,

have a look here: https://www.machsupport.com/forum/index.php?topic=39117.0

or here: https://www.machsupport.com/forum/index.php?topic=36213.msg247828#msg247828

there is some code code i did for an other user, witch can be easy modified for your Needs.

Thank you very much Thomas.
I looked into this, and made the macro, but when I try to run the script I get this error message.
I just might have done something wrong.
I have not figured out yet how to call the macro from a button, so i just ran it from the script editor to test

Attached are the screenshot of the error message

Best regards
Roy

24
General Mach Discussion / Auto Calculator Size
« on: March 17, 2019, 10:14:09 AM »
Hi I am working on a new custom screenset, and I will be working on a touch screen.
So for this I am going to use the Auto Calulator feature for the input of the DRO´s
I have searched this forum and found someone ask the same question a few years back, but no response, that I can find.
My chubby fingers are a little to large for the small keys on the Auto calculator.
The function is great as the keypad pops up when you press the desired DRO, but again I would like it to be a bit larger.

I know that there are no further development on mach3 anymore, but If anyone has been able to solve this issue, or have some other good solutions, it is greatly appreciated

A numeric keyboard with an enter key is all that is needed

best reg
Roy

25
Thank you VERY much Klaus

That really saved my day.
Just what I was looking for, and it worked perfectly.
I wish you a good weekend.

I might have couple of questions down the road as my application build progresses

best regards
Roy

26
Thanks for the info Klaus.
Is there a script that is continuously running in mach 3, that this could be put in?
I want to loop the script to continuously monitor if there is a difference between these values, and then set the state of the LED

Best reg
Roy

27
Thank you Klaus for the information Klaus
I tried it and it worked.
So when I input a new value the LED is RED until script is executed. then turns green.

What would make the script perfect would be to have the status of the LED set by comparing the USER DRO value with the axis vDRO value
SO if I input a value in the user DRO the LED turn red until the script is executed and the axis has traveled to the input value, Then turn green.
So some kind of Visual basic command comparing these value saying something like this:

If X DRO value is >< than USER DRO
then SetUserLED(1000, 1)
else SetUserLED(1000, 0)

Or simply just:

If X DRO value is = USER DRO
then SetUserLED(1000, 1)

Sorry, I do not know VB script commands, but I think you understand, as you have made the software:):)

Best reg
Roy

28
I am creating a motion control system based on a mach3 shell. BUT I would really like a feature that I cannot figure out.
I am not very experienced on Klaus´s Mach screendesigner, but I have made some custom screensets before (for other motion control applications)
I am using a custom DRO input field to move a servo into the position entered in the DRO field. 

The way I solved this is by using a user defined OEM code for the DRO, and after entering the value I run a script on a button that looks like this:

Xtcp= GetUserDro (1200)
Ytcp= GetUserDro (1201)
Ztcp= GetUserDro (1202)
Feed= GetDRO(18)



Code"G0"                 
Code"G53 Z"&Ztcp
While IsMoving
Wend
Code"G53 Y"&Ytcp
While IsMoving
Wend
Code"G53 x"&Xtcp
While IsMoving
Wend

Setdro(18,Feed)

Now back to my problem: I do not want to mess up the screenset with a DRO showing actual position.
So after entering the value I would like the background of the input DRO to be red as long as the target value and set value are not equal.
Optionally, custom OEM LED show that the machine is moving, and then switching to green when in position.

Is there anyone out there that could help me along with this, or tell me if I am asking to much of the software?

Best regards
Roy

29
General Mach Discussion / Re: MDI not working
« on: February 25, 2017, 10:54:57 AM »
I Made clean install in another directory, and everything works great untill I copy and paste my xml file, so I bet I have this one messed up.

I have attached the file here if you have the time to take a look at it


Best reg
Roy

30
General Mach Discussion / Re: MDI not working
« on: February 25, 2017, 10:38:49 AM »
Thank you Tweakie for the reply, and for the detailed instructions.

First I tried to replace the xml file with the oldest one I had, but that did not help.
I the backed up my settings, and installed v .062, and now it shows v .062 installed, but it kept all my settings, and still nothing,

Maybe I have to uninstall the old Mach 3?

I also found another thing that I am not able to change, and thats the tool change position.

It will not change in the old screenset or the 2010 set...., But I did manage to set it up waaaay back.

Funny stuff

Best reg
Roy

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