DRO for interface #1863
Unanswered
Armandleo93
asked this question in
Help
Replies: 2 comments 2 replies
-
Not up to the second, but I pull it out with the pendant API and send it to
an LCD.
Eg.
FOR /F "delims=" %%A IN ('xidel.exe
http://192.168.7.85:8080/api/v1/status/getStatus -e
"rowCount:=($json).rowCount" -e
"completedRowCount:=($json).completedRowCount" -e
"remainingRowCount:=($json).remainingRowCount" -e
"sendDuration:=($json).sendDuration" -e
"sendRemainingDuration:=($json).sendRemainingDuration" -e
"workCoordX:=round(($json).workCoord.x,2)" -e
"workCoordY:=round(($json).workCoord.y,2)" -e
"workCoordZ:=round(($json).workCoord.z,2)" -e "state:=($json).state" -e
"fileName:=($json).fileName" --output-format=cmd') DO %%A
The tool I am using to extract the JSON is cross-platform.
…-Chris
On Fri, Apr 22, 2022 at 4:50 PM Armandleo93 ***@***.***> wrote:
Hi,
Not sure where to post this so I thought I'd start here.
I'm trying to build and interface for my cnc, one similar to the
openbuilds interface.
I'm just trying to work out of there is a way of getting info from the DRO
out of UGS into something like a raspberry pi pico and display it on a
screen all connected via USB?
Thanks for any suggestions
—
Reply to this email directly, view it on GitHub
<#1863>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKYAC2REOA5YJOL2BROFZYDVGM3MNANCNFSM5UDYO73Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Correct. You may want to take a look at this project: https://github.com/aleslukek/UGS-Wifi-Pendant Here is an example of sending some gcode: curl -H "Content-Type: application/json" -X POST -d "{"commands":"G20G90G53G0Z0;G53G0X0Y0"}" http://192.168.7.85:8080/api/v1/machine/sendGcode I would say you are better off connecting to UGS over wifi than USB. -Chris |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Not sure where to post this so I thought I'd start here.
I'm trying to build and interface for my cnc, one similar to the openbuilds interface.
I'm just trying to work out of there is a way of getting info from the DRO out of UGS into something like a raspberry pi pico and display it on a screen all connected via USB?
Thanks for any suggestions
Beta Was this translation helpful? Give feedback.
All reactions