g-code command does not work in Cura "End g-code" #267

Open
opened 2019-10-20 10:24:15 +01:00 by Vertigo1206 · 7 comments
Vertigo1206 commented 2019-10-20 10:24:15 +01:00 (Migrated from github.com)

I am using this plugin for controlling an external fan with a Rasperry Output.
Switching on/off via navbar works well, also when I send the gcode "ENC O1 S1" via Terminal, but I get the response "echo:unknown command"
Bildschirmfoto 2019-10-19 um 10 24 32

But when I include the gcode in Cura, it does not work:
Bildschirmfoto 2019-10-19 um 10 26 16
Bildschirmfoto 2019-10-19 um 10 36 04
Is this because the printer is still busy with cooling?
In the Octopi log is nothing.

Using the Option "auto shutdown" with inverted output will work, but then I have to turn off the fan manually

I am using this plugin for controlling an external fan with a Rasperry Output. Switching on/off via navbar works well, also when I send the gcode "ENC O1 S1" via Terminal, but I get the response "echo:unknown command" <img width="381" alt="Bildschirmfoto 2019-10-19 um 10 24 32" src="https://user-images.githubusercontent.com/56785888/67157373-69761380-f32b-11e9-879d-e1866946bf9c.png"> But when I include the gcode in Cura, it does not work: <img width="650" alt="Bildschirmfoto 2019-10-19 um 10 26 16" src="https://user-images.githubusercontent.com/56785888/67157374-69761380-f32b-11e9-8435-4a95dc5dee7f.png"> <img width="630" alt="Bildschirmfoto 2019-10-19 um 10 36 04" src="https://user-images.githubusercontent.com/56785888/67157375-6a0eaa00-f32b-11e9-9c5e-af652f6b7d46.png"> Is this because the printer is still busy with cooling? In the Octopi log is nothing. Using the Option "auto shutdown" with inverted output will work, but then I have to turn off the fan manually
danioki commented 2019-10-30 23:37:39 +00:00 (Migrated from github.com)

leaving a comment here because I have the same problem but with the neopixel format of the G-code, the "ENC O2 R100 G100 B100" just send me the unknown command error.

leaving a comment here because I have the same problem but with the neopixel format of the G-code, the "ENC O2 R100 G100 B100" just send me the unknown command error.
vitormhenrique commented 2020-04-05 16:02:28 +01:00 (Migrated from github.com)

Do you have a gcode waiting for something before? for example cooling? have you tried removing that?

Do you have a gcode waiting for something before? for example cooling? have you tried removing that?
KriLL3 commented 2020-06-17 22:44:01 +01:00 (Migrated from github.com)

I can't get the g-code control feature to work either, I can control an analog RGB LED strip using a driver connected to I2C with the color selector in enclose plugin tab, but putting "ENC O1 R255 G0 B0" in the terminal tab or in the starting g-code in prusa slicer, or entirely on it's own in an otherwise empty .gocde file does nothing beyond "Recv: echo:Unknown command: "ENC O1 R255 G0 B0"" I guess O1 is correct if the output is ID1?: https://i.imgur.com/0wv7dnB.png

I can't get the g-code control feature to work either, I can control an analog RGB LED strip using a driver connected to I2C with the color selector in enclose plugin tab, but putting "ENC O1 R255 G0 B0" in the terminal tab or in the starting g-code in prusa slicer, or entirely on it's own in an otherwise empty .gocde file does nothing beyond "Recv: echo:Unknown command: "ENC O1 R255 G0 B0"" I guess O1 is correct if the output is ID1?: https://i.imgur.com/0wv7dnB.png
SM-26 commented 2020-11-09 13:51:00 +00:00 (Migrated from github.com)

Same here as well.
I'm trying to use G-code to change color of my LED strip, but I get an unknown command.

Same here as well. I'm trying to use G-code to change color of my LED strip, but I get an unknown command.
xl0rnx commented 2020-12-13 08:47:43 +00:00 (Migrated from github.com)

Go to Enclosure Plugin Settings -> Scroll down an expand Advanced Settings -> Activate gCode Control -> Should fix your Problems ;)

image

Go to Enclosure Plugin Settings -> Scroll down an expand Advanced Settings -> Activate gCode Control -> Should fix your Problems ;) ![image](https://user-images.githubusercontent.com/47308722/102007300-17126600-3d28-11eb-961c-97087a050bae.png)
ChristophDerndorfer commented 2021-01-03 14:26:20 +00:00 (Migrated from github.com)

As far as I understand it the "ENC" commands are custom commands by the Enclosure plugin and not part of the official gcode set that the Marlin Firmware supports. Hence why the printer returns the "unknown command" message when OctoPrint sends it to the printer. Yet the Enclosure plugin listens for them and executes the corresponding actions.

And at least for me with the Neopixel Jewel everything works as expected.

As far as I understand it the "ENC" commands are custom commands by the Enclosure plugin and not part of the [official gcode set that the Marlin Firmware supports](https://marlinfw.org/meta/gcode/). Hence why the printer returns the "unknown command" message when OctoPrint sends it to the printer. Yet the Enclosure plugin listens for them and executes the corresponding actions. And at least for me with the Neopixel Jewel everything works as expected.
akoirium commented 2021-05-10 05:29:16 +01:00 (Migrated from github.com)

Same problem for me ...
Gcode command not work in cura or other slicer but also directly on octoprint and the terminal...
Why ???

Same problem for me ... Gcode command not work in cura or other slicer but also directly on octoprint and the terminal... Why ???
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/OctoPrint-Enclosure#267