Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
German Forum
Italian Forum
Portugese Forum
Resources
Links
User Reviews
User Videos
Contact Us
CNCZone
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
December 02, 2008, 08:20:32 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
VB and the development of wizards
Moving an axis
Pages:
1
Go Down
« previous
next »
Author
Topic: Moving an axis (Read 734 times)
0 Members and 1 Guest are viewing this topic.
umka
Active Member
Offline
Posts: 3
Moving an axis
«
on:
June 16, 2008, 03:19:07 AM »
How does one move an axis in the VB script editor.
I have tried the activatesignal(0) and deactivatesignal (0) to move the x axis + but it does not seem to work. I want to emulate pushing on arrow key on the keyboard and the asix moves.
Logged
Chaoticone
South Carolina, US
Administrator
Online
Posts: 2,809
Precision Chaos
Re: Moving an axis
«
Reply #1 on:
June 16, 2008, 08:29:38 AM »
You can go in screen 4 and have the button assigned the OEM code for jog but can't assign it to be a VB button and then put the code in the script. Vb can't stop on release.
Brett
Logged
If you could see the things I have in my head, you would be laughing too.
www.precisionchaos1.com
My guard dog is not what you need to worry about!
poppabear
S S SYSTEMS, LLC
Global Moderator
Online
Posts: 770
Briceville, TN, USA
Re: Moving an axis
«
Reply #2 on:
June 16, 2008, 10:40:15 AM »
Brett, not to argue, but, that is not Entirely True.........
If you make a Button in screen designer you CAN make a jog on, jog off you have to use an extra LED but, you have plenty of them. In flash you can do it with button states since you can look at push, and release states.
Here is how to do it in regular VB, this is an example for the X++ jog screen button:
NOTE: since the button are single action only, you will have to push and release to start the jog,
then to stop the jog you will have to push and release the button again. The code below goes inside your button make sure you pick a USER LED range that nothing else is using, I recomment 2000 or higher.
'X++ jog button script
This code has been removed.
it is possible but no adviseable.
'Enjoy
'Scott
'Just remember, you have to push and release the button ONCE to start jogging, an it will run that way
'UNTIL, you push the button again and then it will stop.
«
Last Edit: June 17, 2008, 08:43:28 PM by Chaoticone
»
Logged
All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
umka
Active Member
Offline
Posts: 3
Re: Moving an axis
«
Reply #3 on:
June 16, 2008, 04:11:16 PM »
Big thanks poppabear.
that has solved my problem and pendant works sweet now.
Logged
Chaoticone
South Carolina, US
Administrator
Online
Posts: 2,809
Precision Chaos
Re: Moving an axis
«
Reply #4 on:
June 17, 2008, 08:39:09 PM »
Np Scott. Actually it is true. Vb can't stop on release. I didn't want to post that work around because of safety issues. Having a push, push toggel for a jog button is to risky IMO.
Brett
Logged
If you could see the things I have in my head, you would be laughing too.
www.precisionchaos1.com
My guard dog is not what you need to worry about!
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*e*i*n*g
=> Mach Screens
=> Feature Requests
=> Non English Forums
=> FAQs
===> Finished Plugins for Download
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> Lazy Cam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> dspMC/IP motion controller
=> Third party software and hardware support forums.
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Promote and discuss your product .
=> Sieg Machines
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
=> One on one phone support.
=> Forum suggestions and report forum problems.
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
Loading...