Hello Guest it is March 28, 2024, 07:28:09 PM

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 - rhd2Hnk

Pages: 1
1
General Mach Discussion / Re: DRO for axis target value?
« on: April 17, 2018, 08:20:31 AM »
Update here - using Macropump.m1s may solve the problem.

Code: [Select]
'Macro for target coordinates
'
Option Explicit
Dim XPOS,YPOS,ZPOS,XGO,YGO,ZGO

XPOS = GetOEMDRO(800)
YPOS = GetOEMDRO(801)
ZPOS = GetOEMDRO(802)

XGO = GetOEMDRO(196)
YGO = GetOEMDRO(197)
ZGO = GetOEMDRO(198)

SetUserDRO(1050, XPOS+XGO)
SetUserDRO(1051, YPOS+YGO)
SetUserDRO(1052, ZPOS+ZGO)

Simply use the User DRO Variables 1050-1052 in your custom screenset, enable "Run macro pump" in General config and restart Mach3.

BUT: the values may flicker and - especially on short tracks - don't represent the correct value...

2
General Mach Discussion / Re: DRO for axis target value?
« on: April 03, 2018, 06:06:39 AM »
Hi Craig,

do you really think, that this is necessary? As the DRO for "distance to go" already exists for every axis, then - in my opinion - there has to be a (internal) value from which it's calculated.

To look forward: do you think it's possible to simply add the "current position" and the "distance to go" in a new user DRO? Maybe in a regular triggered macro (macro pump)?

Marian

3
General Mach Discussion / DRO for axis target value?
« on: April 03, 2018, 03:46:51 AM »
Hi there,

i'm trying to set up an own screen set for Mach3 representing 3 values per axis: current position, distance to go and target position.
So i added a DRO for every X,Y and Z-axis with the current position (OEM DRO 800-803) and the distance to go (OEM DRO 196-199). But which DRO shoud i use for the target value of the current step in the G-Code?

If there is not such a value: How do i set up a user DRO to read this value?

Kind regards
Marian


Pages: 1