Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Pronterface Macro for Reading Data
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mrtm3050  
View profile  
 More options Aug 15 2012, 11:36 am
From: mrtm3050 <mrtm3...@gmail.com>
Date: Wed, 15 Aug 2012 08:36:12 -0700 (PDT)
Local: Wed, Aug 15 2012 11:36 am
Subject: Pronterface Macro for Reading Data

Hey All,

I'm very new to the 3D printing world but I wanted to ask if anyone has any
experience writing a python MACRO that lets you read the position data of
the extruder head. The examples are very minimal online and I can't really
find anything to receive the serial data. I want to be able to send and
receive position data through the MACRO and then send the read position
data via OSC.

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Schwartz  
View profile  
 More options Aug 15 2012, 4:28 pm
From: Gary Schwartz <gschwar...@gmail.com>
Date: Wed, 15 Aug 2012 13:28:12 -0700 (PDT)
Local: Wed, Aug 15 2012 4:28 pm
Subject: Re: Pronterface Macro for Reading Data

It looks like entering   M114    in the box in the lower right & "Send"
will do the job.

*M114: Get Current Position<http://reprap.org/wiki/G-code#M114:_Get_Current_Position>
  *This causes the RepRap machine to report its current X, Y, Z and E
coordinates to the host.

For example, the machine returns a string such as:   ok C: X:0.00 Y:0.00
Z:0.00 E:0.00


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
NCBob  
View profile  
 More options Aug 15 2012, 6:47 pm
From: NCBob <ncbob...@gmail.com>
Date: Wed, 15 Aug 2012 15:47:57 -0700 (PDT)
Local: Wed, Aug 15 2012 6:47 pm
Subject: Re: Pronterface Macro for Reading Data

I think he's looking for python script to send the m114 and read the results from the serial port.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nolan Poe  
View profile   Translate to Translated (View Original)
 More options Aug 16 2012, 4:14 pm
From: Nolan Poe <nolan.h....@gmail.com>
Date: Thu, 16 Aug 2012 13:14:03 -0700 (PDT)
Local: Thurs, Aug 16 2012 4:14 pm
Subject: Re: Pronterface Macro for Reading Data

It's pretty doable, you just have to send the command and read on the
serial port. But the problem is during the print, the host software will be
using the serial port. What is the application of this script?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nolan Poe  
View profile  
 More options Aug 16 2012, 4:30 pm
From: Nolan Poe <nolan.h....@gmail.com>
Date: Thu, 16 Aug 2012 13:30:13 -0700 (PDT)
Local: Thurs, Aug 16 2012 4:30 pm
Subject: Re: Pronterface Macro for Reading Data

Wait, nevermind... totally misinterpreted this. OP wants to make a
plugin/macro for pronterface. I can't really offer any meaningful tips,
other than using M114. Maybe somebody else with pronterface experience can
help you out.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mrtm3050  
View profile  
 More options Aug 17 2012, 3:41 pm
From: mrtm3050 <mrtm3...@gmail.com>
Date: Fri, 17 Aug 2012 12:41:14 -0700 (PDT)
Local: Fri, Aug 17 2012 3:41 pm
Subject: Re: Pronterface Macro for Reading Data

Thanks for the replies guys. To be clear, I'm looking to write a
pronterface macro, which must be done in Python to interface with the
motors, send M114 signals to the motors to change it's position for
example, but most importantly, then read the current position. That's the
part I don't know how to do. How do you write a macro in python that can
read the current position data? This data is normally output via the serial
console, I just need programmatic access to it.

The purpose of this is to send the current position of the motors to
completely separate program via a network library (Open Sound Control).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »