imsmooth
Posts: 10
Joined: Sat May 10, 2014 8:39 pm

directly sending commands

Sat Jun 14, 2014 1:08 pm

I would like to send my own commands, like test fan 0 or 1.

I'm guessing this is the SEND line. However, I don't know what the commands are for the fan or anything else. Is there a tutorial that explains the commands?

User avatar
TenKOhms
Posts: 172
Joined: Wed May 14, 2014 3:04 pm

Re: directly sending commands

Sat Jun 14, 2014 3:10 pm

Hi, open up the Machine Control Panel, and with your printer connected, under the "Communication" tab you can send in G-Code to your printer.

Here is a list of G-Codes and their functions:
http://reprap.org/wiki/G-code
Attachments
Capture.PNG

joesoap583
Posts: 99
Joined: Sat Mar 08, 2014 11:01 pm

Re: directly sending commands

Sun Jun 22, 2014 7:24 am

My understanding is that my MakerBot Replicator 2X uses X3G, not gcode. So I can't send gcode commands to it. Is this correct?
Posting as a private individual - 3D printing is a hobby activity.
Creality CR-10S owner.

User avatar
TenKOhms
Posts: 172
Joined: Wed May 14, 2014 3:04 pm

Re: directly sending commands

Mon Jun 23, 2014 12:57 pm

joesoap583 wrote:My understanding is that my MakerBot Replicator 2X uses X3G, not gcode. So I can't send gcode commands to it. Is this correct?
Sorry, that is correct. With Makerbot Replicator 2+ and clones using sailfish firmware, you cannot send G-Code directly to the printer via the MCP

joesoap583
Posts: 99
Joined: Sat Mar 08, 2014 11:01 pm

Re: directly sending commands

Mon Jun 23, 2014 5:32 pm

Are there X3G alternatives? After all, S3G does the conversion from gcode to X3G automagically when you do the print request. That seems to suggest that X3G has equivalent commands to gcode.

A bit like French and English. Talk to me in French and you might as well be speaking gibberish.
Posting as a private individual - 3D printing is a hobby activity.
Creality CR-10S owner.

jwiede
Posts: 11
Joined: Tue Mar 11, 2014 10:46 pm

Re: directly sending commands

Tue Jun 24, 2014 10:54 pm

joesoap583 wrote:Are there X3G alternatives? After all, S3G does the conversion from gcode to X3G automagically when you do the print request. That seems to suggest that X3G has equivalent commands to gcode.
There are equivalents, but X3G is a binary format (with self-checking, aka checksumming, IIRC), so the cmds aren't something you can just compose and type in a text box, they need to be a stream of byte values not necessarily within ASCII-typeable characters.

joesoap583
Posts: 99
Joined: Sat Mar 08, 2014 11:01 pm

Re: directly sending commands

Wed Jun 25, 2014 2:58 am

jwiede wrote:
joesoap583 wrote:Are there X3G alternatives? After all, S3G does the conversion from gcode to X3G automagically when you do the print request. That seems to suggest that X3G has equivalent commands to gcode.
There are equivalents, but X3G is a binary format (with self-checking, aka checksumming, IIRC), so the cmds aren't something you can just compose and type in a text box, they need to be a stream of byte values not necessarily within ASCII-typeable characters.
As an ex-programmer I am familiar with binary vs ascii code. It seems to me that this requirement might be satisfied if the text input allowed binary data to be entered as a series of octal (or hex) values, perhaps preceded with '0x' or some such. That wouldn't seem to be a lot of work to add that capability - and then S3D could open up new opportunities for supporting MakerBot printers.

Perhaps the folks at S3D might want to flag this as a possible enhancement request?
Posting as a private individual - 3D printing is a hobby activity.
Creality CR-10S owner.

Return to “General Discussion and Tips”