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?
November 23, 2008, 11:09:51 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
Mach Screens
Screen designer tips and tutorials
VBCodes for x-y-z-positions to modify
Pages:
1
Go Down
« previous
next »
Author
Topic: VBCodes for x-y-z-positions to modify (Read 1272 times)
0 Members and 1 Guest are viewing this topic.
Holger0815
Active Member
Offline
Posts: 14
VBCodes for x-y-z-positions to modify
«
on:
December 08, 2007, 11:36:46 AM »
Hi,
I'm going to add some buttons to a screen of mine. Task is this: I mounted a camera to the z-axis with an offset to the tool of approx 60x40mm. I want to drill PCBs. To adjust the PCB before drilling I want to make a button (calling a script) what adds the offset between cam and tool to the xy coordinates and then move the controlled point back to the (stored) coordinates. State will be remembered in a userLED. By pressing the button again the offset will be subtracted in the same way (depending of the LED state there will be add/subtract). So I can switch between Cam and Tool to align the PCB and drill the PCB.
Manually I will get this result by writing a value into the x (y, z) DRO e.g. on screen 1.
But up to now I didn't manage to do this by an VB-script:
I tried to GET/SETDRO(0), this should be the X DRO acc to wiki.
I tried the OEM DRO 184-186, this should be "X cont.Pnt.coord DRO" acc. to wiki,
I tried to get/setParam("XDRO") ...
No result, the Axis DRO was never modified.
Could anyone give me a hint how to ?
Thanks so much! You would rescue my weekend ;-)
Regards
Holger
Logged
Bodini
Active Member
Offline
Posts: 110
Re: VBCodes for x-y-z-positions to modify
«
Reply #1 on:
December 08, 2007, 11:17:08 PM »
Quote from: Holger0815 on December 08, 2007, 11:36:46 AM
I tried to GET/SETDRO(0), this should be the X DRO acc to wiki.
X dro is 800, y is 801, z is 802
Logged
Bodini
Active Member
Offline
Posts: 110
Re: VBCodes for x-y-z-positions to modify
«
Reply #2 on:
December 08, 2007, 11:19:45 PM »
oh yeah, try 'SetOemDro' and 'GetOemDro' too.
Logged
Holger0815
Active Member
Offline
Posts: 14
Re: VBCodes for x-y-z-positions to modify
«
Reply #3 on:
December 11, 2007, 04:04:40 PM »
Thanks.
I worked around it by modifying the param values of the current work offset and applying this offset then again.
Works well.
Regards
Holger
Logged
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...