@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.
Latest 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)