Welcome, Guest. Please login or register.
Did you miss your activation email?
November 18, 2017, 01:24:04 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  is possible vbscript for dobutton(23) ?
Pages: 1   Go Down
Print
Author Topic: is possible vbscript for dobutton(23) ?  (Read 746 times)
0 Members and 1 Guest are viewing this topic.
terrapigui
Holding

Offline Offline

Posts: 2


View Profile
« on: September 01, 2017, 03:02:32 AM »

Hi
sorry for my bad english.
i need a equivalent code vbscript for dobutton(23) for modify the feedrate when active signal trough inductive sensor.
i need improve accuracy
is possible?
thanks

Additional Information...

After a long time, I have had to restart the cnc I made a few years ago. I am using the mach3 and I have adapted capacitive sensors on the X axis and the Y axis, I use them as a reference to position my mandrino the one Point x = 0 and = 0 that I get when I run the ref all home button.
The problem is that I need a maximum precision because I use it to mill pcb boards, I have noticed that when I stop motors, or I interrupt the program and I want to start again, when I return to give ref all home it returns in theory to the point x = 0 and = 0, but in reality there is a margin of error, so doing another pass ruined the work done.
I have come to the conclusion that when I refer to 0 with the sensors, the feedrate speed is high to have an accuracy, so I want to adapt a script that does the following:
When sensor X is detected (the sensor led lights up), stop and then move very slowly until the sensor led is turned off, the same with the Y axis.
Someone could lend me a hand with that script? I'm very stuck with the topic of macros and scripts.

« Last Edit: September 01, 2017, 05:09:11 AM by Tweakie.CNC » Logged
Dewlosin
Holding

Offline Offline

Posts: 1


View Profile
« Reply #1 on: September 07, 2017, 05:34:40 AM »

Would you recommend this to me to understand more?
Logged
Tweakie.CNC
CNC is only limited by our imagination.
Global Moderator
*
Offline Offline

Posts: 6,895


Super Kitty.


View Profile WWW
« Reply #2 on: September 07, 2017, 05:43:50 AM »

Would you recommend this to me to understand more?

@Dewlosin - I have absolutely no idea - perhaps you could explain in more detail.

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!