I think feature X was the planned but not implemented filament flow sensor, and you should be good in connecting to that line.
M260 is not implemented in our version of marlin, which can be found here , you'd have to add your own version of that.
Best quick check to see if your i2c connection is live is the M12100 which scans the i2c bus.
Some gcodes like G28 are caught in the python code side when coming from a gcode file and won't be executed because it would loose us bed probe data, etc.
The "linux" olimex board also has an i2c bus and you could hook it up there, which would allow you to use command-line tools like i2cdetect, i2cget and i2cget.
this would require a lot less modification, you'd have to change the WAIT_FOR_CLEANUP steps to not happen and trigger your robot arm instead.
The python code I'm referring to can be found on your printer in /usr/share/griffin/griffin/printer/
good luck!!!
- 2 months later...
Recommended Posts
gr5 2,269
So there is the linux computer you ssh'ed into and then there is an arduino board with a flavor of Marlin on it. The firmware on the arduino board is derived from Marlin so UM is required to supply source code if you ask because Marlin is open source. I asked. I just put it here for you to look at:
gr5.org/jedi_marlin.zip
You can (hopefully) easily grep for "260" to see if it's implemented. Most likely it is. I suspect instead the code is blocked by linux from sending most gcodes onwards to the marlin board.
If I'm right then you'll have to find the list of which gcodes are sent on to marlin, which gcodes are interpreted (like T0 and T1 are probably converted into many gcodes. Perhaps.) and which gcodes are discarded.
Even though you do "sendgcode" it doesn't necessarily do what you tell it. Even if it claims it did.
Also there are some codes that will work after you enable something. So to set the nozzle temp using gcodes you first have to enable power to the nozzle or something and I forget how to do that but it's somewhere on this forum. I doubt this has anything to do with I2C and M260.
Anyway hopefully you find the code that triages gcodes and it's an easy fix.
Link to post
Share on other sites
gr5 2,269
Oh and keep in mind, any changes you make to either firmware will get overridden the next time you upgrade your UM3 with "latest firmware".
Link to post
Share on other sites