@dc42 I'm referring to DuetSoftwareFramework/REST-API, but I'm interested in any interface that will let me know when a given command is finished executing and/or let me find the result of a given command.
Posts made by drivetrainsystems
-
RE: Issues sensor reading and wait for reply via USB
-
RE: Issues sensor reading and wait for reply via USB
@dc42 does the REST API not queue commands, but wait for a return value of sensor readings?
-
Issues sensor reading and wait for reply via USB
Can anyone tell me of a reasonable way to read from a sensor and get a reply back (programmatically) via USB? I have many commands queued up, and I have no way of knowing if the machine is ready to take my sensor reading (is in position). So, I need to issue the command, and once the queue of commands gets around to processing it, I need to get the sensor value.
-
RE: Referencing single-quote axes
@dc42 no I haven't. Can I do that through the web interface? Attempting... Do I have it correct though that I should NOT use a single quote any longer to refer to lowercase axis? (note that the reprap config tool DOES generate files with the single quote syntax.)
-
RE: Referencing single-quote axes
@Phaedrux @dc42 @droftarts if anyone has any input I really need help here. I recommended Duet3d to my client based on the fact that we can address 18 axes, wrote the software to do it, and am now dead in the water. We have to demo the machine in two days.
-
RE: Referencing single-quote axes
I may have found the answer: we don't use single quotes to address lowercase axis? If that is the case then I have a new problem: home files for A and a will have the same name and thus cannot be added to the zip file I upload to the board. Is there a workaround for that?
-
RE: Referencing single-quote axes
@droftarts I'm sorry I may have spoken too soon when I said my problem was resolved. I am having trouble now: if I issue a
G28 'a
The machine, instead of homing 'a, homes X,Y,Z. What am I doing wrong? I am under great pressure to get this working.
@dc42 cc you just in case I can get a response ASAP -
RE: Generic voltage sensor
@dc42 unfortunately my electronics skills are limited. I can put the calc in front of my electronics guy, unless you know what to do off the top of your head? iIf so, I can put your formula into the software ASAP,
-
RE: Generic voltage sensor
@dc42 do understand correctly that the value reported by M308 S0 in my above example (applying your voltage divider) will be a reflection of the voltage detected between the outer pins of io6in?
For instance, if I configure the reply value range for 0-100, and my sensor generates 5v (dropped to ~1.65v), will M308 S0 report a value of 50? (hope my details are sensible, I'm not quite yet grasping all the particulars of the process)
-
RE: Generic voltage sensor
I have found
M308 S0 P"io6in" Y"linear-analog" A"DNAreader" F0
maybe effectively sets up the sensor, and
M308 S0
reads the sensors value.
I'm wondering though, how can I configure the sensor to be sensitive to the voltage range of the optical reader: 0-10v? -
RE: Referencing single-quote axes
@dc42 no, I am controlling via USB from a laptop. I am using DWC for diagnostics, and it is hampering that DWC and RepRap config tool only allow limited number of axes. Also, RepRap config tool does not supply the latest firmware.
-
Generic voltage sensor
I hope this isn't a question with an obvious answer, because I can't seem to find one.
I have an optical sensor that varies it's output between 0-10 volts.
What is the best way to configure a Mini5+ to read that sensor?
What is the best way to then get that reading?@dc42 this sounds like something you may know off the top of your head
-
RE: Referencing single-quote axes
@droftarts sorry, yes I meant 3.5.1.
I will update to 3.5.4.
I have 16 axes total, using 3 Mini5+ boards connected via CAN.My config.g config.g
Update: initial tests on 3.5.4 look like the issue is resolved! Thanks.
-
Referencing single-quote axes
I see that duet3d supports axes past D now which is vital to my application. However, I am having trouble referencing these axes. For instance:
G0 'a100
does not affect the 'a axis but rather the A axis.
Am I using the correct syntax?
I am using a Duet3d Mini5+ and firmware 2.5.1 -
RE: Referencing single-quote axes
The config tool will let me create configurations for lower-case axes such as 'a. But the home files it creates affect the A axis. For instance, the line
G1 H1 'a-155 F1000 ; coarse home
does not power the 'a axis but rather the A axis. This appears to be the case with all G-Code commands; commands for single-quote axis do not affect the single-quote axis, but rather the capital-letter access.
-
RE: Mini 5+ 3 deep
@droftarts while removing the resistors I accidentally also desoldered C97 (just below the resistors.) Did I trash the board?
-
RE: Mini 5+ 3 deep
@droftarts perfect, thanks. And thanks esp for the soldering tip.
-
Duet3d Mini 5+ as expansion boards: SD card?
If I am using a Duet3d Mini 5+ as an expansion board, do I configure it via SD card files? Or does it get it's configuration from its parent board (also a Duet3d Mini 5+)? What about it's firmware, does that get updated from the parent?
-
RE: Mini 5+ 3 deep
@dc42 Thanks! Which resistor should I remove as the "termination resistor?"