Hello Guest it is March 02, 2021, 03:17:28 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 - attila0216

Pages: « 1 2 3 »
11
VB and the development of wizards / Re: DRO ZERO VB Script
« on: April 10, 2016, 02:36:17 AM »
Ger21!

Thank you very much!!!

12
VB and the development of wizards / DRO ZERO VB Script
« on: April 09, 2016, 03:34:33 PM »
Hi Everyone,

Could someone pls help me with my macro? What i am trying to achieve is after Z moved 10 in incremental ZERO the Z DRO and back to Absolute mode. BUt instead of zeroing always stays 10. What is wrong? Anyone has idea? Here it is:

Code "G91"
Sleep(20)
Code "G00 Z 10"
Sleep(50)
Call SetDro (2,0.0000)
Sleep(200)
Code "G90"
Sleep(20)

Thank You for any input

13
General Mach Discussion / Re: Vbscript doesn't run from button
« on: December 14, 2015, 04:36:50 PM »
Ok, i understand. Now it is working!  A BIG Thank you for that!!!!

14
General Mach Discussion / Re: Vbscript doesn't run from button
« on: December 14, 2015, 04:31:58 PM »
I don't really understand this now. What g code can i write for dro821 override?

15
General Mach Discussion / Re: Vbscript doesn't run from button
« on: December 14, 2015, 04:10:46 PM »
Yes it is in correct folder. Really strange that when i press play in macroprogramming window it is working but throgh the created button it doesnt.

16
General Mach Discussion / Vbscript doesn't run from button
« on: December 14, 2015, 02:44:54 PM »
Today, i have wrote a simple script: SetOemDRO(821,0) and saved as M1100.m1s. And in screen4 i have created a button and added the oemcode for it. Now, when i press this button nothing happens, however when i test the script so when i press play its fine and zeros the feedrate. So what am i doing wrong? Any idea?


17
PoKeys / Mach3 SetOemDro
« on: December 14, 2015, 06:49:58 AM »
Today i have created a script Setoemdro(821,50) For a rotary switch for feedrate knob. In Pokeys input4 i have given oembutton 1150 for that in screen4 i have given for that button the 1150 macro. But when i press nothing happens. In Macroprogramming it runs fine and sets feedrate to 50%. So What i would like to do is i have this 12 positions rotary switch and would like to have for each position a predefined feedrate percentage. Like 0 position 0% , position 1: 10% position 2: 20% and so on  till 12th position which is: 110%. I have tried this with buttons but doesn't work. Could someone help me how can this be done? I have tried a simple potentiometer on analog input on my Pokeys56U, but its flickering.
Thank you for any input.

18
PoKeys / Re: e-stop assign to 5 pins
« on: October 08, 2015, 06:24:32 AM »
Ok thanks Neoto. I will try that. By the way, poexbusre relay board finally working. I have wired it to different power supply and now doesnt turns pc off. Also machine status light working with a macropump.

19
PoKeys / Re: e-stop assign to 5 pins
« on: October 06, 2015, 03:13:36 PM »
Ok i am not in shop now butvi remember i have seen these mach I/O till 100. Could you pls tell me a little mor details about how to use them ibhave the brain i can write simple vbscript, but don't really know what is this mach i/0

20
PoKeys / Re: e-stop assign to 5 pins
« on: October 06, 2015, 02:37:26 PM »
Thank you. And how can i do that? I have tried assigned pin36 to oemtrigger2 in system hotkey oemtrigger refers to a brain which a simple input pass signal estop. But doesn't work

Pages: « 1 2 3 »