Hello
Guest
it is
May 24, 2025, 03:20:39 PM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
Mach4 General Discussion
/
Read DRO from Lua
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Read DRO from Lua (Read 3078 times)
0 Members and 1 Guest are viewing this topic.
KentCNC
49
Read DRO from Lua
«
on:
February 20, 2021, 05:26:33 PM »
How do you read a DRO using Lua? Not sure how to reference the DRO?
Logged
rhtuttle
575
Re: Read DRO from Lua
«
Reply #1 on:
February 21, 2021, 03:13:26 PM »
local TempZ = mc.mcAxisGetPos (inst, 2) -- Get work position of Z-Axis
local TempA = mc.mcAxisGetPos (inst, 3) -- Get work position of A-Axis
Logged
Bill_O
598
Re: Read DRO from Lua
«
Reply #2 on:
February 22, 2021, 08:57:07 AM »
Kent,
This might help.
Use the version from 6_22_2020 towards the bottom.
https://www.machsupport.com/forum/index.php?topic=43260.msg279695#msg279695
Bill
Logged
KentCNC
49
Re: Read DRO from Lua
«
Reply #3 on:
February 22, 2021, 10:40:51 AM »
Thank you for the replies. I have lots to learn, but slowly making progress.
Logged
Print
Pages:
1
Go Up
« previous
next »