Gcode

From Hyrel3D
Jump to: navigation, search



Main Sections
What is GCode?
了解T
最常编辑的gcode
控制运动
控制温度
控制物料流
控制位置和偏移量
控制激光和紫外线笔
控制主轴和车床
报告和诊断
控制辅助设备
Other Commands
Gcode Headers
Gcode Footer

Note: Codes in Black are supported on version 4 and above (v4+), 很可能第三版也一样.

注:橙色代码只支持版本5及以上(版本5以上).

请注意,Repetrel版本在4之前.2不能正确处理带有"tab"字符的gcode - tab是保留字符.

What is GCode?

Everything your Hyrel 3D Printer does is done by executing GCode,不管你是否意识到.

你在屏幕上按下的每一个按钮都会向打印机发送一个代码.

开始工作时(按“打印”键), the settings from your head are sent to the printer (including flow and prime/unprime values); then the gcode file is sent, line by line, to the printer.

所有参数都是持久的, 一旦它们确定下来, 它们将保持不变,除非或直到您(或文件)发送一个新的, 更新值(包括设置为0).

Please note that there are many flavors of gcode, 而大多数都有相同(或非常相似)的G0-G100和M0-M100, 超过100的规范基本上是非标准的.

重要的是要记住不同的可变字母可以有不同的含义, 这取决于所使用的G码或M码 - 尤其是T值.

右边的目录列出了代码的主要类别.

Below is a table listing them in numerical order (click Expand to expand):

Code_Chart
Code Supported 简要描述
G0 Yes Rapid Move
G1 Yes Working Move
G2 Yes Clockwise Arc
G2.1 Yes Spiral CW Arc1
G2.2 Yes Spiral CW Arc2
G2.3 Yes 三空间连续波螺旋弧
G3 Yes 逆时针的弧
G3.1 Yes Spiral CCW Arc1
G3.2 Yes Spiral CCW Arc2
G3.3 Yes 3-Space CCW螺旋弧
G4 Yes Timed Pause
G10 No Absolute E
G11 No Relative E
G16 Yes 电弧在任何平面
G17 Yes Arc in XY Plane
G18 Yes Arc in XZ Plane
G19 Yes Arc in YZ Plane
G20 Yes 单位设置为英寸
G21 Yes “单位”设置为“毫米”
G28 Yes 发送X, Y到物理家
G53 Yes Clear Offsets
G54-59 Yes Set Offsets
G81 Yes Peck Drilling
G90 Yes 绝对定位
G91 Yes Relatative定位
G92 Yes 重置坐标
G93 Yes 重置坐标
M0 Yes 停止,直到恢复
M3 Yes Spindle On CW
M4 Yes Spindle On CCW
M5 Yes Spindle Off
M6 Yes 声明头补偿
M7 Yes Aux 1 On (Mist)
M8 Yes Aux 2 On (Flood)
M9 Yes All Aux Off
M17 Yes Engage Motors
M18 Yes 脱离汽车
M30 Yes End of Program
M82 Yes 绝对E-Values
M83 Yes 相对E-Values
M84 Yes Disable Motors
M104 Yes Set Temp (Head)
M106 Yes 设置冷却/等.
M107 Yes 停止冷却/等等.
M109 Yes 等待温度(头)
M116 v5+ 暂停所有温度
M140 Yes Set Temp (Bed)
M141 Yes 设置临时(室)
M190 Yes 等待临时(床)
M191 Yes 等待温度(室)
M203 Yes Set G0 Speed
M221 Yes Set Flow Rate
M229 Yes Use E Values
M253 Yes 打开车床(CW)
M254 Yes 旋开车床(CCW)
M255 Yes Turn Off Lathe
M619 Yes Map Aux Port
M620 Yes Enable Device
M621 Yes Set Laser Power
M623 Yes Duration Emit
M660 Yes Set Tool Offsets
M670 Yes 开启y臂(龙门架)灯
M671 Yes 启动x臂(危险)灯
M672 Yes Set Y-arm Light
M674 Yes Rapid G1 Moves
M675 Yes 激活反应发光二极管
M676 Yes Activate Recirc. Fan
M677 Yes Activate Buzzer
M678 Yes 激活激光x毛
M679 Yes Activate Vacuum
M684 Yes Activate Exhaust
M685 Yes Activate Air
M689 Yes Activate Ext. Head
M701 Yes 组负责人报告
M702 Yes 建立克隆阵容
M703 Yes 加入克隆小队
M704 Yes 从克隆小队中移除
M718 Yes 停止记录到文件
M719 Yes 开始记录到文件
M721 Yes 设置Unprime值
M722 Yes Set Prime Values
M723 Yes Set Manual Flow
M728 Yes 设置电机升压电流
M756 Yes 设置流量高度
M772 Yes 重置所有指标
M773 Yes 生成基本报告
M783 Yes 领带与挤压
M790 Yes 新图层操作
M791 Yes Snap Image
M792 Yes Execute Action

Header Explained

Please visit GCode Header for a detailed description of our standard GCode headers.


了解T

A T Command 改变运动控制器的焦点和执行gcode的头部. Each of our printers have at least four tool positions.

随着从以前的版本跳转到版本5,T命令和变量的使用发生了很大的变化(为了更好).

Please see T_v4 for the old way (v4 and earlier), where the nomenclature for T Commands and the T Variables 是不一样的.

Please see T_v5 for the new way (v5 and later), where the nomenclature for T Commands and the T Variables are the same.

We will use a T# in the descriptions below to avoid confusion; please find the correct designation for your version by following the links above.

最常编辑的代码

Below are the gcodes users should first become familiar with.

Tool Changes

T0 告诉打印机从最左边的工具执行挤出(或发射)
T1 告诉打印机从工具左起第二个位置执行挤出(或发射)
T2 告诉打印机从工具的左起第三个位置执行挤出(或发射)
T3 告诉打印机从工具左起第四个位置执行挤出(或发射)
T4 告诉打印机从工具从左到右第五个位置执行挤出(或发射)(如果可用)

Movement

G0 对于“快速”,非印刷移动
G1 为“工作速度”动作,可打印(有E值)或不打印(无E值)

Temperature

M104 to set head temp
M109 设置和等待头部温度
M140 to set bed temp
M190 设置和等待床温度

Others

从这里学习哪些命令将取决于用户打算用设备做什么.

控制运动

控制运动
Code Supported 简要描述
G0 Yes Rapid Move
G1 Yes Working Move
G2 Yes Clockwise Arc
G2.1 Yes Spiral CW Arc1
G2.2 Yes Spiral CW Arc2
G2.3 Yes 三空间连续波螺旋弧
G3 Yes 逆时针的弧
G3.1 Yes Spiral CCW Arc1
G3.2 Yes Spiral CCW Arc2
G3.3 Yes 3-Space CCW螺旋弧
G4 Yes Timed Pause
G16 Yes 电弧在任何平面
G17 Yes Arc in XY Plane
G18 Yes Arc in XZ Plane
G19 Yes Arc in YZ Plane
M0 Yes 停止,直到恢复
M203 Yes Set G0 Speed
M674 Yes Rapid G1 Moves

G0 Rapid Move

G0是快速定位移动. It is not a working move, meaning that your equipment will not be printing, milling, lasering, or doing any other active work during a G0 move. G0的目的是将你的工具移动到一个新的位置,在那里工作将会发生. Accordingly, G0 movement speeds are set in your configuration settings, 而不是在你的gcode文件中指定.

特别注意:G0命令将F变量作为非持久的、一次性的速度设置.

Usage

 十亿Fn G0 Xn Yn锌

Parameters

 Xn 新的X位置要移到哪里
 Yn 新的Y位置要移到哪里
 Zn 新的Z位置要移动到哪里 
 An 新的A职位要搬去吗
 Bn B的新位置是要搬去的吗
 Fn 是用进料速度还是旅行速度. Only on G0 它不是持久的吗?

未规定的值保持不变.

Note: These positioning values can be absolute or relative to the last position; which depends on whether you are running on G90 绝对定位或 G91 相对定位. Absolute是默认值,应该在大多数情况下使用.

Note: All Hyrel printers have built-in support for three axes. Hyrel model 16A and EHR printers may be expanded to five; an additional axis on each machine is reserved for E values.

Example

 G0 X50 Y75 Z10

This command is decoded and executed by the printer as follows:

  • G0 (从当前位置快速(非打印)直线移动到)
    • X50 (50mm in the X)
    • Y75 (75mm in the Y)
    • Z10 (10mm in the Z)
    • (no change in A)
    • (no change in B)
    • (no change in F, use settings-specified feed rate)



G1 Working Move

G1是一个实用的移动, 在此期间,您可能正在打印, milling, lasering, 或做其他主动工作-提供了E(挤出)值. 在本机模式(如果你不添加 M229 E1 Dn时,挤出速率E的值将被忽略,但E会触发工作或打印动作. 在e值模式下(通过添加 M229 E1 Dn,切片机确定的E值将用于控制物料流动. G1 moves are made at the rate indicated by the F (feed rate) value; if no F value is specified, 最后一个F值集将被使用. See M229 for more details.

Usage

 G1 Xn Yn Zn Bn Fn Sn

Parameters

 Xn 新的X位置要移到哪里
 Yn 新的Y位置要移到哪里
 Zn 新的Z位置要移动到哪里 
 An 新的A职位要搬去吗
 Bn B的新位置是要搬去的吗
 Hn 是否应用存储的头部偏移(参见 M660 来存储补偿)
 Fn 是用进料速度还是旅行速度. Only on G0 它不是持久的吗?
 Sn 一次性的(非持续性的)物料流动率乘数(很少使用)只适用于这个动作吗

未规定的值保持不变.

Note: These positioning values can be absolute or relative to the last position; which depends on whether you are running on G90 绝对定位或 G91 相对定位. Absolute是默认值,应该在大多数情况下使用; there will be problems with an entire model sliced in relative mode. Relative is intended for special operations like drilling holes.

Note: All Hyrel printers have built-in support for three axes. Hyrel model 16A and EHR printers may be expanded to five; an additional axis on each machine is reserved for E values.

Example

 G1 x50 y75 e1 f1800 h2

This command is decoded and executed by the printer as follows:

  • G1 (working speed straight line move from the current location to)
    • X50 (50mm in the X)
    • Y75 (75mm in the Y)
    • (no change in A)
    • (no change in B)
    • E1 (在挤压时)
    • F1800 (以1800毫米/分钟)
    • H2 (调用存储在寄存器H2中的偏移量)
    • (没有临时扩展)



G2 Clockwise Arc

G2移动指定从当前位置到位置(X .)的顺时针圆弧(或完整的圆),Y,Z)curr 沿着围绕中心点(Xcurr+I, Ycurr+J).

Usage

 2、Xn n Yn Zn In Jn Fn En Sn

Parameters

 Xn 新的X位置要移到哪里
 Yn 新的Y位置要移到哪里
 Zn 是结束的新Z位置(可选,通常不规定)
 In is the relative 从当前X位置到圆弧中心位置的距离(默认为0)
 Jn is the relative 从当前Y位置到圆弧中心位置的距离(默认为0)
 Fn is the Feed rate (travel speed) at which to execute this move.
 En 表示正在工作或打印的移动
 Sn dictates how many segments are used to create the arc (or circle); 0.默认值为33333 mm
   S值小于3.0 dictate the length in mm of each segment for this element
   S values of 3.0或更多表示包含该元素的总线段数-仅允许在360°的完整圆上

未规定的值保持不变. 365现金买球将使用本地Hyrel流量计算(基于喷嘴直径)打印这个元素, layer thickness, 和馈电速度),即使您的gcode已启用使用E值与M229 E1 D1.

Example

 G2 x50 y75 i15 j20 e1 f1800

This command is decoded and executed by the printer as follows:

  • G2 (工作速度顺时针圆弧/圆从当前位置移动到)
    • X50 (50mm in the X)
    • Y75 (75mm in the Y)
    • (以某点为中心)
    • I15 (X轴进一步15mm)
    • J20 (Y轴前方20mm)
    • E1 (在挤压时)
    • F1800 (以1800毫米/分钟)

Example

 G2 x50 y75 i15 j20 e1 s6

This command is decoded and executed by the printer as follows:

  • G2 (工作速度顺时针圆弧/圆从当前位置移动到)
    • X50 (50mm in the X)
    • Y75 (75mm in the Y)
    • (以某点为中心)
    • I15 (X轴进一步15mm)
    • J20 (Y轴前方20mm)
    • E1 (在挤压时)
    • (使用先前确定的F率)
    • S6 (由六个边组成——形成一个原点上有一个点的六边形, 所有的角都刻在圆上)

Further Examples

90°
G2-1.png

180°
G2-2.png

270°
G2-3.png

360°
G2-4.png
注意,如果没有定义端点,G2将默认形成一个360°的圆.

因为这可能有很多需要接受的东西, 请随意玩弄Repetrel内置的Arc/Spiral工具:

Arctool1.png




G2.1 Spiral CW Arc1

A G2.1 makes a spiral circular move (only supports full 360 arcs, or Ln * 360). This arc is CW if spiraling in and CCW if spiraling out. 有效的结束X/Y总是与当前的XY相同,并没有指定(尽管实际的最终位置是圈数的函数, the pitch, 相反的代码. 可以提供一个末端Z,使其在移动过程中具有均匀的位移. 可以指定360个完整弧线的数量以及间距(弧线之间的中心线)。. 一个重要的特性是“反向代码”,允许创建青蛙的脚趾,而不必跳过青蛙的脚趾.

Usage

 G2.1 Zn In Jn Pn Ln En Sn Rn Fn

Parameters

 Zn 新的Z轴位置在哪里 (optional and usually not stipulated; will be relative or absolute, 根据当前模式)
 In is the relative 从当前X位置到圆弧中心位置的距离(默认为0)
 Jn is the relative 从当前Y位置到圆弧中心位置的距离(默认为0)
   Note: In and Jn 两者都默认为0,但至少其中一个必须显式地用非0值声明.
 Pn is the pitch (how close the laps are) in mm (required)
 Ln is the number of laps to complete (must be a positive integer; you don't need to finish the spiral)
 En 表示正在工作或打印的移动
 Sn dictates how many segments are used to create the arc (or circle); 0.默认值为33333 mm
   S值小于3.0 dictate the length in mm of each segment for this element
   S values of 3.0或更多表示包含该元素的总线段数-仅允许在360°的完整圆上
 Rn is a flag; 0 to spiral in (default), 1旋转出(向内跳后), 2从当前位置螺旋出来
 Fn is the Feed rate (travel speed) at which to execute this move.

未规定的值保持不变. 365现金买球将使用本地Hyrel流量计算(基于喷嘴直径)打印这个元素, layer thickness, 和馈电速度),即使您的gcode已启用使用E值与M229 E1 D1.

Example 1

 G2.1 I15 J20 P1.2 E1

This command is decoded and executed by the printer as follows:

  • G2.1 (working speed clockwise spiral move from the current location)
    • (Z没有变化)
    • (以某点为中心)
    • I15 (X轴进一步15mm)
    • J20 (Y轴前方20mm)
    • (完成所有圈)
    • P1.2 (1.2 mm between centers of travel of adjacent laps)
    • E1 (在挤压时)
    • (使用默认S为0.33333毫米段)
    • (使用默认R为0,从当前位置向中心螺旋移动)
    • (以G1 F既定速度移动)

Example 2

 G2.1 Z10 I15 J20 P0.5 l50 e1 s9 r1 f1200

This command is decoded and executed by the printer as follows:

  • G2.1 (working speed clockwise spiral move from the current location)
    • Z10 (在移动到Z10结束时,逐渐改变Z位置(相对或绝对), 根据当前模式))
    • (以某点为中心)
    • I15 (X轴进一步15mm)
    • J20 (Y轴前方20mm)
    • L50 (完成不超过50圈)
    • P0.5 (0.5 mm between centers of travel of adjacent laps)
    • E1 (在挤压时)
    • S9 (each 360 degrees composted of a total of 9 segments)
    • R1 (螺旋形从中心到当前位置)
    • F1200 (以每分钟1200毫米的速度)

Example 3

 G0 X0 Y25                   ; start location for outer spiral
 G0 Z1                       ; go to print layer height
 G2.1 I25 J0 P4 L3 E1        ; spiral in 3 laps, 4mm pitch 
 G1 X14 E1                   ; add connector for the arcs
 G2.1 I11 J0 P4 L3 E1 R2     ; spiral out 3 laps, 4mm pitch

这段代码生成以下代码:

Spiral.png

因为这可能有很多需要接受的东西, 请随意玩弄Repetrel内置的Arc/Spiral工具:

Arctool2.1.png




G2.2 Spiral CW Arc2

A G2.2 makes a spiral circular move (only supports full 360 arcs, or Ln * 360). This arc is CW if spiraling in and CCW if spiraling out. Unlike G2.1, G2.2指定最终的X/Y(和Z)位置. 可以提供一个末端Z,使其在移动过程中具有均匀的位移. 可以指定360个完整弧线的数量以及间距(弧线之间的中心线)。. Unlike G2.1, G2.2不需要反码,因为螺旋的方向是由当前位置的位置关系决定的, final position, 和中心位置.

Usage

 G2.2 Xn Yn Zn In Jn Pn Ln En Sn Rn Fn

Parameters

 Xn 新的X位置要移到哪里
 Yn 新的Y位置要移到哪里
 Zn 新的Z轴位置在哪里 (optional and usually not stipulated; will be relative or absolute, 根据当前模式)
 In is the relative 从当前X位置到圆弧中心位置的距离(默认为0)
 Jn is the relative 从当前Y位置到圆弧中心位置的距离(默认为0)
   从运动控制器固件4开始.203a:
   如果I和J都是0 (center = start), path will spiral outward CCW from current to final position.
   如果I和J匹配末端(中心=末端),路径将螺旋向内CW从电流到最终位置."
 Pn is the pitch (how close the laps are) in mm (optional)
 Ln 是要完成的圈数(或路径)(你不需要完成螺旋)
   Note, 如果P和L的值冲突, L will be modified to match what P will allow; at least one must be specified
 En 表示正在工作或打印的移动
 Sn dictates how many segments are used to create the arc (or circle); 0.默认值为33333 mm
   S值小于3.0 dictate the length in mm of each segment for this element
   S values of 3.0或更多表示包含该元素的总线段数-仅允许在360°的完整圆上
 Fn is the Feed rate (travel speed) at which to execute this move.

未规定的值保持不变. 365现金买球将使用本地Hyrel流量计算(基于喷嘴直径)打印这个元素, layer thickness, 和馈电速度),即使您的gcode已启用使用E值与M229 E1 D1.

Example 1

 G2.2 I15 J20 P1 E1

This command is decoded and executed by the printer as follows:

  • G2.2 (working speed clockwise spiral move from the current location)
    • (Z没有变化)
    • (以某点为中心)
    • I15 (X轴进一步15mm)
    • J20 (Y轴前方20mm)
    • P2 (1mm between centers of travel of adjacent laps)
    • (完成所有圈)
    • E1 (在挤压时)
    • (使用默认S为0.33333毫米段)
    • (以G1 F既定速度移动)

Example 2

 G2.2 z10 i15 j20 p2 l50 e1 s9 f1200

This command is decoded and executed by the printer as follows:

  • G2.2 (working speed clockwise spiral move from the current location)
    • Z10 (在移动到Z10结束时,逐渐改变Z位置(相对或绝对), 根据当前模式))
    • (以某点为中心)
    • I15 (X轴进一步15mm)
    • J20 (Y轴前方20mm)
    • P2 (2mm between centers of travel of adjacent laps)
    • L50 (完成不超过50圈)
    • E1 (在挤压时)
    • S9 (each 360 degrees composted of a total of 9 segments)
    • F1200 (以每分钟1200毫米的速度)

Example 3

 G0 X0 Y25                   ; start location for outer spiral
 G0 Z1                       ; go to print layer height
 G2.2 X12 I25 P4 E1          ; spiral in 3 laps, 4mm pitch
 G1 X14 E1                   ; add connector to next spiral
 G2.2 X2 I11 P4 E1           ; spiral out 3 laps, 4mm pitch

这个gcode也会生成以下代码:

Spiral.png



G2.3 3-Space CW Arc

A G2.3 move指定从当前位置到位置(X .)的顺时针圆弧(或完整的圆(s)),Y,Z)curr following a circular arc about the center point (Xcurr+I, Ycurr+J, Zcurr+K). Unlike G2, G2.1 and G2.2, G2.3不绑定X/Y平面. 可以指定360个完整弧线的数量以及间距(弧线之间的中心线)。. Usage

 G2.3 Xn Yn Zn An Bn In Jn Kn Un Vn Wn Dn Pn En Sn Fn

注:如果365现金买球在G16模式,Un, Vn, Wn定义了垂直于工作平面的向量. 如果365现金买球在G17 (X/Y平面)或G18 (X/Z平面)或G19 (Y/Z平面)模式,这些被忽略.

Parameters

 Xn 新的X位置结束在哪里
 Yn 新的Y坐标在哪里结束
 Zn 新的Z轴位置在哪里
 An 为新的A点到结束点的位置(第4轴)
 Bn 为B的新端点位置(第5轴)
 In is the relative 从当前X位置到圆弧中心位置的距离(默认为0)
 Jn is the relative 从当前Y位置到圆弧中心位置的距离(默认为0)
 Kn is the relative 从当前Z位置到圆弧中心位置的距离(默认为0)
   Note: In, Jn, and Kn 所有的默认值都为0,但至少其中一个必须显式地用非零值声明.
 Un 是垂直于工作平面的向量的X分量(默认为0)
 Vn 是垂直于工作平面的向量的Y分量(默认为0) 
 Wn 是垂直于工作平面的向量的Z分量(默认为0)
 Dn 这个单元的总位移是否垂直于工作平面
 Pn is the pitch (how close the laps are normal to the working plane) in mm (default 0; one path, 没有增量位移)
 En 表示正在工作或打印的移动
 Sn dictates how many segments are used to create the arc (or circle); 0.默认值为33333 mm
   S值小于3.0 dictate the length in mm of each segment for this element
   S values of 3.0或更多表示包含该元素的总线段数-仅允许在360°的完整圆上
 Fn is the Feed rate (travel speed) at which to execute this move.

未规定的值保持不变. 365现金买球将使用本地Hyrel流量计算(基于喷嘴直径)打印这个元素, layer thickness, 和馈电速度),即使您的gcode已启用使用E值与M229 E1 D1.



G3逆时针弧

详情请参阅上文G2. 所有选项都是相同的,除了方向(CCW).

Further Examples

90°
G3-1.png

180°
G3-2.png

270°
G3-3.png

360°
G3-4.png
注意,如果没有定义端点,G3将默认形成一个360°的圆.



G3.1 Spiral CCW Arc1

请参阅G2.1、以上,详见. 所有选项都是相同的, 方向除外(如螺旋进则为CCW,如螺旋出则为CW).



G3.2 Spiral CCW Arc2

请参阅G2.2、以上,详见. 所有选项都是相同的, 方向除外(如螺旋进则为CCW,如螺旋出则为CW).



G3.3 3空间CCW弧

请参阅G2.3、以上,详见. 所有选项都是相同的,除了方向(CCW).



G4 Timed Pause

G4是一组秒(S)或毫秒(P)的暂停。.

Usage

 G4 Sn Pn

Parameters

 Sn 暂停的秒数是多少
 Pn 暂停的毫秒数是多少

You may use S or P,或者如果您同时使用这两种方法,那么总值将是暂停时间.

Example

 G4 S0.5

This command is decoded and executed by the printer as follows:

  • G4 (Timed pause)
    • S0.5 (0.5 seconds)

Example

 G4 P500

This command is decoded and executed by the printer as follows:

  • G4 (Timed pause)
    • P500 (500毫秒)



G16弧平面:任意

G16允许空间中点的自由形式指定,而不限制它们在轴向平面上.

G16 ~ G19只适用于G2.x and G3.X命令,并定义将在其上创建元素的平面.

Usage

 G16

Parameters

 N/A

Example

 G16

This command is decoded and executed by the printer as follows:

  • G16 (允许元素在任何方向)



G17弧平面:XY

G17将该元素限制在X/Y平面.

G16 ~ G19只适用于G2.x and G3.X命令,并定义将在其上创建元素的平面.

Usage

 G17

Parameters

 N/A

Example

 G17

This command is decoded and executed by the printer as follows:

  • G17 (X/Y平面限制元素)



G18弧平面:XZ

G18将该元素限制在X/Z平面.

G16 ~ G19只适用于G2.x and G3.X命令,并定义将在其上创建元素的平面.

Usage

 G18

Parameters

 N/A

Example

 G18

This command is decoded and executed by the printer as follows:

  • G18 (X/Z平面上的限制元素)



G19弧平面:YZ

G19将该元素限制在Y/Z平面.

G16 ~ G19只适用于G2.x and G3.X命令,并定义将在其上创建元素的平面.

Usage

 G19

Parameters

 N/A

Example

 G19

This command is decoded and executed by the printer as follows:

  • G19 (Y/Z平面上的限制元素)



M0停止直到恢复

M0 is a stop until resume command; text listed after a semicolon will be displayed, and clicking the Play 按钮(替换 Pause 按钮)将导致工作恢复. Note that all lines will be truncated at 100 characters.

  • ; 的所有文本 ; 将被回显到打印蒙版(控制选项卡).

此外,一个M0命令还可以接受以下参数,因此将暂停和然后:

Usage

 M0[说| PIC | vid | send | beep | shell]

Parameters

 说样品信息 -电脑将使用内置的文本转换语音功能,在扬声器上回传讯息。
 PIC C:\sample.jpg - the computer will display the image at the specified location
 VID C:\sample.mp4 - the computer will play the video at the specified location
 发送样品信息 -电脑会将讯息发送到辅助端口,如果连接
 BEEP 电脑会发出哔哔声
 SHELL C:\program.exe - the computer will execute the file at the specified location

注意,可以组合多个选项.

Example

 M0

This command is decoded and executed by the printer as follows:

  • M0 (暂停,直到恢复)

Example

 M0 ; SAY Hello Wilbur ; PIC C:\mr_ed.png

This command is decoded and executed by the printer as follows:

  • M0 (暂停,直到恢复)
    • SAY Hello Wilbur (公告文字:你好威尔伯)
    • PIC C:\mr_ed.png (展示图片:C: \ mr_ed.png)



M203设置“G0速率”

M203将重新指定速率 G0 动作执行. 如果未声明,则将使用存储在Repetrel中的设备值. 这些可以在 Settings > Printer, on the Printer tab. The values set on your unit are set based on testing; exceed them at your own risk.

Usage

 M203 Xn Yn Zn An Bn

Parameters

 Xn G0移动的新速度是在X轴上吗
 Yn G0移动的新速度在Y轴上吗
 Zn G0移动的新速度是在Z轴上吗
 An G0移动的新速度是在A轴上吗
 Bn G0移动的新速度在B轴上吗

Example

 M203 Y2000

This command is decoded and executed by the printer as follows:

  • M203 (Set G0 Speed)
    • (X保持不变)
    • Y2000 (Y轴:2000毫米/分钟)
    • (Z保持不变)
    • (保持不变)
    • (B保持不变)



M674使用Turbo模式

M674将启用Turbo模式, where certain non-printing (no E value) working (G1, G2, 或G3)移动将被视为G0移动(以“快速移动速度”而不是“工作移动速度”执行). 杀死一个任务将清除M674设置.

Usage

 M674 Sn

Parameters

 Sn is the minimum distance threshold for Turbo Mode to activate, and is required; no S value returns an error.

Example 1

 M674 S2

This command is decoded and executed by the printer as follows:

  • M674 (设置Turbo模式)
    • S2 (移动2毫米或以上)

Example 2

 M674 S50

This command is decoded and executed by the printer as follows:

  • M674 (设置Turbo模式)
    • S50 (移动50毫米或以上)



Back to top

控制温度

控制温度
Code Supported 简要描述
M104 Yes Set Temp (Head)
M106 Yes 设置冷却/等.
M107 Yes 停止冷却/等等.
M109 Yes 等待温度(头)
M116 v5+ 暂停所有温度
M140 Yes Set Temp (Bed)
M141 Yes 设置临时(室)
M190 Yes 等待临时(床)
M191 Yes 等待温度(室)

什么是温床2和密室2? Well, our Hydra models have room to have a second hotbed, 哪个更小, 更高的温度的温床, 或者是亚环境冷床, 甚至是高分辨率的温床. 365现金买球已经讨论过在主室中有一个更小的室, to bring the air around the print (but not the head) to much higher temperatures; call for details.



M104设置温度(磁头)

M104可设置挤出机温度,但不暂停打印机.

注意,实际的 T# 值可以在 T_v4 or T_v5,这取决于你运行的是哪个版本.

Usage

 M104 Sn T#

Parameters

 Sn 新的设定温度是°C吗
 T# is the tool assignment for this temperature command

Example

M104 T# S75 

This command is decoded and executed by the printer as follows:

  • M104 (设置冷却/发光二极管)
    • T# (target head)
    • S75 (to 75°C)



M106设置冷却等.

M106设置冷却风扇(或交联led灯)的速度(或强度). 这也打开了安静风暴的风扇.

Usage

 M106 Cn

or

 M106 T# Sn

or

 M106 T# Pn

Parameters

 T# 是目标头
 Sn is the percent of duty cycle for the cooling fan (or LEDs); default: 100
 Cn is the range (0-100 or 0-255) that we will use; if unspecified, 默认值是C100(使用C255兼容大多数切片器)
 Pn is the percent of duty cycle for the cooling fan (or LEDs) 只有在挤压动作时才会出现

Example

 M106 C255

This command is decoded and executed by the printer as follows:

  • M106 (设置冷却/发光二极管)
    • (on all tools)
    • (no speed)
    • C255 (of range 0-255)

Note, 使用这个命令, 这个打印作业的其余部分的所有M106命令都将基于这个范围(除非使用新的C值指定).

Example

 M106 T# S50

This command is decoded and executed by the printer as follows:

  • M106 (设置冷却/发光二极管)
    • T# (target head)
    • S50 (目标值为50)
    • (以前定义的(或默认的0-100)范围)

Example

M106 T# P100 

This command is decoded and executed by the printer as follows:

  • M106 (设置冷却/发光二极管)
    • T# (target head)
    • P100 (在挤出过程中以100%占空比移动

But Davo, I want to cure a certain spot for 10 seconds with every layer change; how do I do this?

Easy. 编辑你的切片机配方添加以下代码后,层改变(编辑需要的持续时间, intensity, or position):

 ;---- begin cod代码
 G91 ; relative moves
 G0 Z5 ; drop bed
 G90 ; absolute moves
 G0 X130 Y110 ; move into position
 M106 S100 T# ; turn on T# UV at 100%
 G1 X140 Y110 F100 ; move 10 mm in the X at 100 mm/min
 G1 X140 Y120 F100 ; move 10 mm in the Y at 100 mm/min
 G1 X130 Y120 F100 ; move -10 mm in the X at 100 mm/min
 G1 X130 Y110 F100 ; move -10 mm in the Y at 100 mm/min
 M106 S0 T# ; turn off T# UV (set it to 0%)
 ——end cod gcode

这些命令由打印机解码和执行如下:

  • G91 (使用相对移动)
  • G0 (非工作移动)
    • Z5 (+5 mm in the Z)
  • G90 (使用绝对移动)
  • G0 (非工作移动)
    • X130 (位置X130)
    • Y110 (位置Y110)
  • M106 (Set Aux (UV))
    • S100 (100% duty)
    • T# (On target head)
  • G1 (工作(印刷)移动)
    • X140 (位置X140)
    • Y110 (位置Y110
    • F100 (At 100 mm/min)
  • G1 (工作(印刷)移动)
    • X140 (位置X140)
    • Y120 (位置日元
    • F100 (At 100 mm/min)
  • G1 (工作(印刷)移动)
    • X130 (位置X130)
    • Y120 (位置日元
    • F100 (At 100 mm/min)
  • G1 (工作(印刷)移动)
    • X130 (位置X130)
    • Y110 (位置Y110
    • F100 (At 100 mm/min)
  • M106 (Set Aux (UV))
    • S0 (0% duty)
    • T# (On target head)



M107停止冷却等.

M107 turns off the cooling fan (or crosslinking LEDs); this is essentially the same as an M106 S0 (setting it to 0 percent). 这也将关闭安静风暴的风扇.

Usage

 M107 T#

Parameters

 T# (target head)

Example

M107 T#  

This command is decoded and executed by the printer as follows:

  • M107 (冷却/ led设置为0%)
    • T# (target head)



M109等待温度(头)

M109等待挤出机达到温度,也可以选择设置温度. 记住,365现金买球有加热和冷却(亚环境)头作为选择.

注意,实际的 T# 值可以在 T_v4 or T_v5,这取决于你运行的是哪个版本.

Usage

 a . T, T, T, T, T, T, T, T, T W0

请使用(H和/或C)或(L和/或U)或(R)与您的M109命令.

Note, this will FAIL (non-fatally) if you address a virtual group address; be sure to use an actual physical address.

Parameters

 T# 目标头-(必需)
 Sn (optional) 新的设定温度是°C吗; if omitted, no new target temperature is set
 Hn 如果存在,则是低端(或“加热到”)绝对温度,之后365现金买球停止暂停
 Cn 如果出现,则是高端(或“冷却到”)的绝对温度之后,365现金买球停止暂停
 Ln if present, is the lower-end relative temperature 与设定温度的区别 在那之后,365现金买球停止停顿
 Un if present, is the upper-end relative temperature 与设定温度的区别 在那之后,365现金买球停止停顿
 Rn 如果存在,则表示相对温度需要与设置的温度有多接近才能结束暂停
 W0 if present, will set the temp and advance to the next line without pause, 但在执行M116时, 将暂停直到达到临时

想到的 Sn as the target temperature, but once the target is between Cn (or Ln) and Hn (or Un),暂停已经结束(但是 Sn 仍然是要达到的设置温度. 你可以用Hn或Ln,但不能同时用. 你可以使用Cn或Un,但不能同时使用.

Example 1

 M109 T# S240

This command is decoded and executed by the printer as follows:

  • M109 (wait for temp)
    • T# (target head)
    • S240 (并将温度设置为240°C)

Example 2

 M109 T# S240 R5

This command is decoded and executed by the printer as follows:

  • M109 (wait for temp)
    • T# (target head)
    • S240 (并将温度设置为240°C)
    • R5 (但一旦目标温度在设定点5°C以内,则结束等待)

Example 3

 M109 t # s240 h230

This command is decoded and executed by the printer as follows:

  • M109 (wait for temp)
    • T# (target head)
    • S240 (并将温度设置为240°C)
    • H230 (but end the wait once the target's temperature reaches 230°C)

Example 4

 M109 t # s240 l10 u5

This command is decoded and executed by the printer as follows:

  • M109 (wait for temp)
    • T# (target head)
    • S240 (并将温度设置为240°C)
    • L10 (但一旦目标温度低于设定值10°C,则结束等待)
    • U5 (或在目标温度达到设定点以上5°C时结束等待)

注意:当目标的温度在230°C到245°C之间时,这个等待结束

Example 5

 M109 T# S0 R5

This command is decoded and executed by the printer as follows:

  • M109 (wait for temp)
    • T# (target head)
    • S0 (to 0°C)
    • R5 (但在目标温度为设定温度的+/-5℃时结束等待)

Example 6

 M109 R10
  • M109 (wait for temp)
    • (没有t# -使用头部与当前焦点)
    • R10 (设定温度+/-10℃)

Example 7

 M109 T# S240 W0

This command is decoded and executed by the printer as follows:

  • M109 (wait for temp)
    • T# (target head)
    • S240 (并将温度设置为240°C)
    • W0 (但在执行M116之前不要暂停)



M116等待温度(v5+)

版本5支持M116.x和更高版本(v5+)的Repetrel软件和运动控制器固件.

Usage

 M116 

Parameters

 'none'

Example

 M116

This command is decoded and executed by the printer as follows:

  • M116 (等待任何设置的温度(M109, M190, M191)与 W0 价值观就像之前



M140设置温度(床)

M140设置床温(无需等待达到新的温度).

Usage

 M140 Sn T#

Parameters

 Sn 新的设定温度是°C吗
 T# 是目标床(默认是主床)

Example

M140 S75

This command is decoded and executed by the printer as follows:

  • M140 (设置床温度)
    • S75 (to 75°C)
    • (on primary bed)



M141设置温度(Chamber)

M141设置室内温度(无需等待新的温度达到).

Usage

 M141 Sn T#

Parameters

 Sn 新的设定温度是°C吗
 T# is the target chamber (default is the primary chamber)

Example

M141 S75

This command is decoded and executed by the printer as follows:

  • M141 (设置室温度)
    • S75 (to 75°C)
    • (在主室)



M190等待温度(床)

M190等待床达到温度,也可以选择设置温度. 记住,365现金买球有加热床和冷床(亚环境床)可供选择.

Usage

 a . T + T + T + T + T + T + T

请使用(H和/或C)或(L和/或U)或(R)与您的M190命令.

Note, this will FAIL (non-fatally) if you address a virtual group address; be sure to use an actual physical address.

Parameters

 T# (可选的)是目标床(默认是主要(或唯一)床)
 Sn (optional) 新的设定温度是°C吗; if omitted, no new target temperature is set
 Hn 如果存在,则是低端(或“加热到”)绝对温度,之后365现金买球停止暂停
 Cn 如果出现,则是高端(或“冷却到”)的绝对温度之后,365现金买球停止暂停
 Ln if present, is the lower-end relative temperature 与设定温度的区别 在那之后,365现金买球停止停顿
 Un if present, is the upper-end relative temperature 与设定温度的区别 在那之后,365现金买球停止停顿
 Rn 如果存在,则表示相对温度需要与设置的温度有多接近才能结束暂停

想到的 Sn as the target temperature, but once the target is between Cn (or Ln) and Hn (or Un),暂停已经结束(但是 Sn 仍然是要达到的设置温度. 你可以用Hn或Ln,但不能同时用. 你可以使用Cn或Un,但不能同时使用.

Example 1

 M190 T# S240

This command is decoded and executed by the printer as follows:

  • M190 (wait for temp)
    • T# (target bed)
    • S240 (并将温度设置为240°C)

Example 2

 M190 T# S240 R5

This command is decoded and executed by the printer as follows:

  • M190 (wait for temp)
    • T# (target bed)
    • S240 (并将温度设置为240°C)
    • R5 (但一旦目标温度在设定点5°C以内,则结束等待)

Example 3

 M190 t # s240 h230

This command is decoded and executed by the printer as follows:

  • M190 (wait for temp)
    • T# (target bed)
    • S240 (并将温度设置为240°C)
    • H230 (but end the wait once the target's temperature reaches 230°C)

Example 4

 M190 t # s240 l10 u5

This command is decoded and executed by the printer as follows:

  • M190 (wait for temp)
    • T# (target bed)
    • S240 (并将温度设置为240°C)
    • L10 (但一旦目标温度低于设定值10°C,则结束等待)
    • U5 (或在目标温度达到设定点以上5°C时结束等待)

注意:当目标的温度在230°C到245°C之间时,这个等待结束

Example 5

 M190 T# S0 R5

This command is decoded and executed by the printer as follows:

  • M190 (wait for temp)
    • T# (target bed)
    • S0 (to 0°C)
    • R5 (但在目标温度为设定温度的+/-5℃时结束等待)

Example 6

 M190 R10
  • M190 (wait for temp)
    • (不要t# -使用当前焦点的床)
    • R10 (设定温度+/-10℃)



M191等待温度(室)

M191等待室达到温度,也可以选择设置温度. 记住,365现金买球有加热和冷却(亚环境)的房间作为选择.

Usage

 1 T, T, T, T, T, T, T, T, T, T

请使用(H和/或C)或(L和/或U)或(R)您的M191命令.

Note, this will FAIL (non-fatally) if you address a virtual group address; be sure to use an actual physical address.

Parameters

 T# is the target chamber (default is the primary (or only) chamber)
 Sn (optional) 新的设定温度是°C吗; if omitted, no new target temperature is set
 Hn 如果存在,则是低端(或“加热到”)绝对温度,之后365现金买球停止暂停
 Cn 如果出现,则是高端(或“冷却到”)的绝对温度之后,365现金买球停止暂停
 Ln if present, is the lower-end relative temperature 与设定温度的区别 在那之后,365现金买球停止停顿
 Un if present, is the upper-end relative temperature 与设定温度的区别 在那之后,365现金买球停止停顿
 Rn 如果存在,则表示相对温度需要与设置的温度有多接近才能结束暂停

想到的 Sn as the target temperature, but once the target is between Cn (or Ln) and Hn (or Un),暂停已经结束(但是 Sn 仍然是要达到的设置温度. 你可以用Hn或Ln,但不能同时用. 你可以使用Cn或Un,但不能同时使用.

Example 1

 M191 T# S240

This command is decoded and executed by the printer as follows:

  • M191 (wait for temp)
    • T# (目标室)
    • S240 (并将温度设置为240°C)

Example 2

 M191 T# S240 R5

This command is decoded and executed by the printer as follows:

  • M191 (wait for temp)
    • T# (目标室)
    • S240 (并将温度设置为240°C)
    • R5 (但一旦目标温度在设定点5°C以内,则结束等待)

Example 3

 M191 t # s240 h230

This command is decoded and executed by the printer as follows:

  • M191 (wait for temp)
    • T# (目标室)
    • S240 (并将温度设置为240°C)
    • H230 (but end the wait once the target's temperature reaches 230°C)

Example 4

 M191 t # s240 l10 u5

This command is decoded and executed by the printer as follows:

  • M191 (wait for temp)
    • T# (目标室)
    • S240 (并将温度设置为240°C)
    • L10 (但一旦目标温度低于设定值10°C,则结束等待)
    • U5 (或在目标温度达到设定点以上5°C时结束等待)

注意:当目标的温度在230°C到245°C之间时,这个等待结束

Example 5

 M191 T# S0 R5

This command is decoded and executed by the printer as follows:

  • M191 (wait for temp)
    • T# (目标室)
    • S0 (to 0°C)
    • R5 (但在目标温度为设定温度的+/-5℃时结束等待)

Example 6

 M191 R10
  • M191 (wait for temp)
    • (无t# -使用腔与当前焦点)
    • R10 (设定温度+/-10℃)



Back to top

控制物料流

控制物料流
Code Supported 简要描述
G10 No Absolute E
G11 No Relative E
M82 Yes 绝对E-Values
M83 Yes 相对E-Values
M221 Yes Set Flow Rate
M229 Yes Use E Values
M721 Yes 设置Unprime值
M722 Yes Set Prime Values
M723 Yes Set Manual Flow
M728 Yes 设置电机升压电流
M756 Yes 设置流量高度

You can specify flow rate variables in your gcode; we do not do this by default, 但是把这些值从头部本身取下来. 你在gcode中规定的任何值都会取代存储在head中的值. 使用365现金买球的配方,切片程序生成gcode,它指示温度和移动命令,并指示哪些移动应该分发材料(G1移动带有E值).

However, we have two different ways to control flow.

  • If you use M229 E1 D1 we will use the E values generated by the slicer 打印动作, 但是当在打印和非打印动作之间转换时,365现金买球将始终使用头部的prime/unprime设置来推进和收回. 这允许不同的挤压宽度和层厚度(在同一层-与支持材料). This is how just about all slicers and printers work.
  • 如果您不使用该命令, 365现金买球不使用E值(除了区分打印移动和非打印移动),365现金买球纯粹根据移动速度计算流量, 宣布层厚度, 和喷嘴直径. 有关解释载于 http://hyrel3d.net/wiki/index.php/Flow_Rate

当一个头被加载时, 它发送这个流数据(如何计算流, 以及在印刷和非印刷移动之间转换时,多少质数和非质数(提前和撤回)材料,甚至在更换工具时需要做多少质数或非质数.

In this way, 同样的gcode(温度变化)可以用于任何材料, 假设您使用的物理参数与模型切片时使用的物理参数相同.



G10 UNUSED1

G10不被Repetrel识别.

On some other printers, this will set tool offsets; we do this via M6.

On some other printers, this will do a retract; we do this via M721.



G11 UNUSED

G11不被Repetrel识别.

On some other printers, this will do an advance or unretract; we do this via M722.



M82绝对E-Values

M82规定从此以后, 挤出定位(E值)将从原始(0)点计算.

注意,这只适用于v4和更高版本,当E值通过启用时 M229.

Usage

 M82

Parameters

 N/A

Example

M82

This command is decoded and executed by the printer as follows:

  • M82 (使用绝对E值)



它相对E-Values

M83规定从今以后, 挤压定位(E值)将从相对(最后使用)点计算.

注意,这只适用于v4和更高版本,当E值通过启用时 M229.

Usage

 M83

Parameters

 N/A

Example

 M83

This command is decoded and executed by the printer as follows:

  • M83 (使用相对E值)



M221设置“流量”

M221 sends information to the printer about material flow.

Note, our default mode is volumetric calculations; if you need to slice with linear calculations, Pn大约乘以2.4 (you can do the math).

Usage

 n, n, T

Parameters

 Pn 是在电机上分配1 μl(体积)或1 mm(线性)的材料的脉冲数;
 Sn 是直接流量倍增器(允许库存过小或过大;
 Wn is the width of the cross section of the volume to fill;
 Zn is the height (layer thickness) of the cross section of the volume to fill; and
 T# is the tool (head) to which these values will be applied.

Example

 M221 S1.0 T# P77 W0.5 Z0.3

This command is decoded and executed by the printer as follows:

  • M221 (set flow rate)
    • S1.0 (流量倍增器为1.0)
    • T# (target head)
    • P77 (每微升77次脉冲)
    • W0.5 (0.5mm nozzle)
    • Z0.3 (0.3mm层厚度-注意你的代码 M756 将覆盖此值)



M229使用E值

从版本4开始, Hyrel will begin to enable the use of E-values in your gcode. 可变挤压宽度和支持/填充厚度切片机,飘柔! Note, calculations are done for every single move individually.

Usage

 M229 En Dn Sn

Parameters

 En can be 0 (native flow calculation) or 1 (use E values)
 Dn how directed to head; see below
   D0 on head controller directly; constant flow, not adjusted for motion acceleration/deceleration
   D1 在运动控制器上,通过CANBUS发送到头部,调整运动的加/减速度
   D2 运动控制器, 通过C轴步进销送至头部,调整运动加/减速度
   D3 运动控制器, 通过CANBUS和C轴发送到头部,并进行运动加减速调整
 Sn sets a threshold in seconds; isolated non-printing moves below this threshold will not trigger unprime/prime actions

注意:E1 D0是非法组合.

Example 1

 M229 E1 D1

This command is decoded and executed by the printer as follows:

  • M229 (E values)
    • E1 (enabled)
    • D1 (流量计算通过CANBUS引导并调整到运动加速/减速)

以上是启用E值的默认方式.

Example 2

 M229 E0 D0

This command is decoded and executed by the printer as follows:

  • M229 (E values)
    • E0 (disabled)
    • D0 (水头控制器流量计算)

上面是忽略E值的默认方式,也是v3和早期版本的工作方式.

Example 3

 M229 E0 D1

This command is decoded and executed by the printer as follows:

  • M229 (E values)
    • E0 (disabled)
    • D1 (流量计算通过CANBUS引导并调整到运动加速/减速)

Example 4

 M229 E0 D0 S0.02

This command is decoded and executed by the printer as follows:

  • M229 (E values)
    • E0 (disabled)
    • D0 (水头控制器流量计算)
    • S0.02 (小于0的独立非打印移动.02 seconds will not trigger unprime/prime actions)



M721设置非初始值

当检测到从打印移动到非打印移动的过渡时,M721向打印机发送关于有多少材料取消打印的信息.

Usage

 M721 Sn En Pn T#输入

Parameters

 Sn is the speed at which unprime moves should be executed; this is normally 10,000
 En is the number of pulses on the feed (extrusion) motor to execute; this varies greatly among materials
 Pn is the number of milliseconds relative to the end of the move to begin the unprime (retract) action; a negative number initiates this before the end of the move
 T# 是目标头
 In is the flag for executing an Immediate action; so M721 I1 是否会在gcode中使用先前指定的值执行反质数.

Example 1

M721 s10000 e100 p-15 t #

This command is decoded and executed by the printer as follows:

  • M721 (unprime)
    • S10000 (收费订为10,000 pps)
    • E100 (将脉冲设置为100)
    • P-15 (将打印移动结束前的停留时间设置为15ms)
    • T# (on target head)
    • (but no immediate execution; execute when needed)

Example 2

M721 T# I1

This command is decoded and executed by the printer as follows:

  • M721 (unprime)
    • T# (on target head)
    • I1 (now)



M722设置基本值

当检测到从非打印移动到打印移动的过渡时,M722向打印机发送关于有多少材料到初始(提前)的信息. 这样做主要是为了补偿早期的不启动(收回)。, 把鱼头准备好.

Usage

 M722 Sn En Pn T#输入

Parameters

 Sn is the speed at which unprime moves should be executed; this is normally 10,000
 En is the number of pulses on the feed (extrusion) motor to execute; this varies greatly among materials
 Pn 相对于移动的开始停留的毫秒数是否允许初始(提前)动作
 T# 是目标头
 In is the flag for executing an Immediate action; so M722 I1 是否会在gcode中使用先前指定的值执行质数.

Example

M722 s10000 e100 p-15 t #

This command is decoded and executed by the printer as follows:

  • M721 (prime)
    • S10000 (收费订为10,000 pps)
    • E100 (将脉冲设置为100)
    • P-15 (将打印移动结束前的停留时间设置为15ms)
    • T# (on target head)
    • (but no immediate execution; execute when needed)

Example

M722 T# I1

This command is decoded and executed by the printer as follows:

  • M722 (prime)
    • T# (on target head)
    • I1 (now)



M723设置“手动流程”

M723告诉指定的挤出机(s)以指定的速率(在电机上)按照指定的脉冲数推进材料, 无论X/Y/Z移动. 它通常只在手动操作时使用,而不是在gcode执行时使用. 它可以在移动到一个位置后分配一定数量的材料(如将材料沉积到水库).

M723还用于激活和设置DMH动态搅拌头上的搅拌装置的速度.


Usage

 M723 Sn En T#

Parameters

 Sn 是电机前进的速度,单位是每秒脉冲数(默认值:500);
 En 是馈电(挤出)电机上要执行的脉冲数(默认65535本质上是“永远”);
 T# 是目标头

Example

M723 s500 e50000 t #

This command is decoded and executed by the printer as follows:

  • M723 (启动手动送纸)
    • S500 (每秒500次脉冲)
    • E50000 (50000次脉冲)
    • T# (target head)



M728设置电机升压电流

M728 will set the motor current boost; default is 0.

Usage

 M728 Sn T#

Parameters

 Sn 新的设定温度是°C吗
 T# 目标头(或设备)

Example

 M728 T# S0

This command is decoded and executed by the printer as follows:

  • M728 (设定电机升压电流)
    • T# (target head)
    • S0 (off)



M756设置“流”的高度

M756 will overwrite the Z value from the M221 command, allowing you to calculate flow for thinner or thicker layers. We declare M756 at the beginning of every layer; normally, 它们都是一样的(除非你对不同的层厚度进行切片).

注意:如果你正在使用,这个命令会被忽略 M229 E1 D1 可以使用E值.

Usage

 M756 Sn

Parameters

 Sn is the layer thickness in mm for flow calculations

Example

 M756 S0.125

This command is decoded and executed by the printer as follows:

  • M756 (设置层高度用于流量计算)
    • S0.125 (at 0.125mm)



Back to top

控制位置和偏移量

控制位置和偏移量
Code Supported 简要描述
G10 No Set Offsets
G20 Yes 单位设置为英寸
G21 Yes “单位”设置为“毫米”
G28 Yes 发送到物理家
G53 Yes Clear Offsets
G54-59 Yes Set Offsets
G90 Yes 绝对定位
G91 Yes Relatative定位
G92 Yes 重置坐标
G93 Yes 重置坐标
M6 Yes 声明头补偿
M660 Yes Set Tool Offsets
M702-4 Yes Cloning Heads

The following commands define if new positioning data is defined in inches (G20) or mm (G21); or from the origin (G90) or from the present location (G91). 它们还规定了从一个头到另一个头的偏移量(M6),以及如何调用该偏移量(T).

G10 UNUSED2

G10不被Repetrel识别.

On some other printers, this will set tool offsets; we do this via M6.

On some other printers, this will do a retract; we do this via M721.

将单位设置为英寸

20国集团宣布,今后的测量单位将以英寸为单位.

与G20合作是实验性的,在Hyrel设备上没有支持. 使用风险由您自己承担.

Usage

 G20

Parameters

 N/A

Example

G20

This command is decoded and executed by the printer as follows:

  • G20 (单位设置为英寸)



G21设置单位为毫米

G21 declares that henceforth, measurements will be given in mm.

Usage

 G21

Parameters

 N/A

Example

G21

This command is decoded and executed by the printer as follows:

  • G21 (单位设为毫米)



G28发送到物理家

G28将指定的轴发送到传感器定义的物理家位置, 不管逻辑集合为0,0, 然后以较慢的速率弹出并重新获取传感器门限. This pop-off and re-acquire was implemented during v3.

After homing, a G28 也将当前偏移量重置为0 -包括任何可能已经用 G92 或H(定义在 M660 and invoked on a G1), performs a G53,并应用头偏移为0毫米(如 M6 O0).

Any axis not homed will have its position remain unchanged. We do not support intermediate positioning during homing.

Usage

 G28 Xn Yn Zn An Bn I1

Parameters

 X0 确保X轴归巢
 Y0 确保Y轴归巢
 Z0 确保Z轴归巢
 A0 确保A轴归巢
 B0 确保B轴归巢

Example

 G28 X0 Y0

This command is decoded and executed by the printer as follows:

  • G28 (home axis)
    • X0 (X axis to 0)
    • Y0 (Y axis to 0)
    • (Z保持不变)
    • (保持不变)
    • (B保持不变)



G53明确补偿

G53设置夹具偏移量为(0,0,0,0,0). 它不接受参数或变量. 它不清除存储的偏移值.

Usage

 G53

Parameters

 N/A

Example

G53

This command is decoded and executed by the printer as follows:

  • G53 (set fixture offsets to 0; no effect on H (head) offsets)



G54 - G59 -设置偏移量

G54, G55, G56, G57, G58, and G59 will each store and invoke fixture offsets in the X, Y, Z, A, 和/或所有后续移动的B轴. 任何未被调用的值将保持其先前的值(0,除非前面另有指定). 这些偏移量应用于所有定位,直到应用一个新的偏移量,或 G53 用于清除所有偏移.

这张图显示了打印机(除了EHR)如何使用G54-G59偏移量:

G54.png

注意,这与an不同 M6, where the offsets are only applied to a SINGLE tool position. 这些补偿是累积的 M6 values.

Usage

 G54 (... (5) Xn, Yn, Zn, An, Bn

Parameters

 Xn X轴上的偏移量是mm吗
 Yn Y轴上的偏移量是mm吗
 Zn Z轴上的偏移量是mm吗
 An A轴上的偏移量是mm吗
 Bn B轴上的偏移量是mm吗

Example

G54 X30 Y-20

This command is decoded and executed by the printer as follows:

  • G54 (单位设为毫米)
    • X30 (所有X位置增加30mm)
    • Y-20 (从所有Y位置减去20mm)
    • (不改变先前存储的偏移量)

Example

G55

This command is decoded and executed by the printer as follows:

  • G55 (应用新的夹具偏移量)
    • (no variable: use previous G55 values, or as stored under Settings > Printer > Fixture Offsets)




G90绝对定位

G90规定以后从原点(0,0点)计算定位.

Usage

 G90

Parameters

 N/A

Example

G90

This command is decoded and executed by the printer as follows:

  • G90 (使用绝对定位)



G91 Relatative定位

G91规定以后的定位是相对于起始位置计算的.

Usage

 G91

Parameters

 N/A

Example

G91

This command is decoded and executed by the printer as follows:

  • G91 (使用相对定位)



G92复位坐标偏移

G92将枚举的所有轴的当前位置重置为指定的坐标.

Usage

 G92 Xn Yn Zn An Bn En

Parameters

 Xn 是当前X位置的新值吗
 Yn 是当前Y位置的新值吗
 Zn 是当前Z位置的新值吗
 An 是当前A位置的新值吗
 Bn 是当前B位置的新值吗
 En 是当前E位置的新值吗
 

Example

G92 X0 Y50

This command is decoded and executed by the printer as follows:

  • G92 (替换当前值)
    • X0 (目前X位置为0)
    • Y50 (目前Y坐标为50)

Example

G92 E0

This command is decoded and executed by the printer as follows:

  • G92 (替换当前值)
    • E0 (目前E位置为0)



清除坐标偏移

G93清除所有通过 G92 command.

Usage

 G93

Parameters

 N/A

Example

G93

This command is decoded and executed by the printer as follows:

  • G93 (清除所有轴的坐标偏移值)



M6申报头偏移量

M6 declares that a particular head holds a set of X, Y, and/or Z offsets, which will be invoked during a T (tool change) command. Repetrel会自动从存储在头部的信息中读取这些数据, and sends it to the printer before the gcode file is loaded.

Usage

 n (n) n (k) n (k) n (k) n (k) n

Parameters

 T# is the Tool position for which these offsets are being set
 On is the Offset position where these are being stored
 Xn 偏移量在X轴上吗
 Yn 偏移量在Y轴上吗
 Zn 偏移量是在Z轴上吗
 An 偏移量在A轴上吗
 Bn 偏移量在B轴上吗
 Dn is the current tool diameter (used with pocket commands)
 In non-persistent; can be default 0 (store values but do not move these distances) or 1 (store values and move these distances)
 Kn persistent setting; can be default 0 (use I value) or 1 (ignore I1 and always act with I0)

Example

 1 t, t, t, t, t, t, t, t, t, t

This happens (for every head loaded) when you click print, and the head values are sent to the Motion Controller.

This command is decoded and executed by the printer as follows:

  • M6 (声明头补偿)
    • T# (target head)
    • O1 (偏移量存储在寄存器“O1”中)
    • X20 (X+20)
    • Y-30 (Y-30)
    • Z40 (Z+40)
    • (no change to A)
    • (no change to B)
    • (没有直径变化)
    • (no move)

Example

 1 t, t, t, t, t, t, t, t, t, t, t

This happens when you execute a tool change with T#,因此它触发移动(I1),以正确放置下一个磁头.

This command is decoded and executed by the printer as follows:

  • M6 (声明头补偿)
    • T# (target head)
    • O1 (偏移量存储在寄存器“O1”中)
    • X20 (X+20)
    • Y-30 (Y-30)
    • Z40 (Z+40)
    • (no change to A)
    • (no change to B)
    • (没有直径变化)
    • (存储和移动距离)

Example

 M6 K1

在工具更改期间,您可以将此内容包含在标题中以更改行为.

This command is decoded and executed by the printer as follows:

  • M6 (声明头补偿)
    • (所有未来的T#或M6命令)
    • (没有偏移寄存器,所以忽略所有偏移)
    • K1 (总是用M6强制I0,除非K0存在(或之前设置过)

请注意,这与G54-G59不同,G54-G59的偏移量应用于每个工具位置.



分配工具高度偏移

与高分辨率引擎(和其他单位回家远离O, like a CNC), M660声明一个特定的头, when called upon, 应该打印在基于gcode的被这个偏移量修改过的Z位置, 因为在这些单元中, Z-Zero通常在打印表面以下. 默认情况下,这只用于EHR(引擎,高分辨率)

注意:你必须有一个 G28 Z0 在电子病历上运行M660.

Usage

 M660 Hn Zn
 (followed by)
 G1 Xn Yn Zn Fn Hn(见 #G1_Working_Move 其他细节

Parameters

 H 正在为其设置偏移量的头偏移寄存器;
 Z Z轴偏移量的单位是mm吗.

Example 1

 M660 H2 Z28.2       ; (specified before any moves)
 (followed by)
 G1 X50 Y75 F4800 H2   ; (specified on the first G1 move)

This command is decoded and executed by the printer as follows:

  • M660 (apply offset)
    • H2 (存储在寄存器2)
    • Z28.2 (+28.2 to Z position)
  • (there may be more commands before the G1 move invoking the H2)
  • G1 (working speed straight line move from the current location to)
    • X50 (50mm in the X)
    • Y75 (75mm in the Y)
    • (Z没有变化)
    • E1 (在挤压时)
    • F1800 (以1800毫米/分钟)
    • H2 (调用存储在寄存器H2中的偏移量)

To be clear, this requires editing two lines of code:

在你的gcode中,你将在第一层代码之前输入M660. Example: M660 H2 Z28.2 ; set tool height for tool two (Z offset). 在第一层的第一次移动中(通常是Z移动),你将添加一个 H 值,以便调用此工具高度.

Example 2

Before editing:

 G1 Z0.275 F360      ; move to next layer (0)
 (followed by)
 G1 X50 Y75 F4800

After editing:

 G1 Z0.275 F360 H2   ; move to next layer (0) and invoke head Z offset for this tool
 (followed by)
 G1 X50 Y75 F4800 H2



M702 - M704克隆头

克隆,从打印,或平行打印,是当多个头做 exact same print at the same time.

这些命令在版本4和更早版本中的用法将在后面解释 T_v4.

Usage of these commands with version 5 and later is explained on T_v5.



T Tool Change

执行更换工具, 调用在任务开始时从Repetrel发送到打印机的M6文件中指定的参数. 不要混淆T命令和T变量.

详情请参阅本页的第一个条目.



Back to top

控制激光和紫外线笔

控制激光和紫外线笔
Code Supported 简要描述
M620 Yes Enable Device
M621 Yes Set Laser Power
M623 Yes Duration Emit
Laser Examples
UV Pen Examples


The CO2 和二极管激光器和UV笔需要以下启用代码:

M620启用设备

M620使能设备.

Usage

 M620 T# En An

Parameters

 T# 是工具位置
 En 可以是默认的0(禁用)或1(启用)
 An is the duration in seconds after shut-off that the cooling remains active; default is 30 (but this will not override temperature safety measures)

Example

 M620 T# E1

This command is decoded and executed by the printer as follows:

  • M620 (enable device)
    • T# (target head - MUST be specified, can NOT be inherited)
    • E1 (enable)



M621设置激光功率

M621 sets the power for the LASER (not other heads).

Usage

 M621 Dn Pn

Parameters

 Pn is the power, in a value between 0 (min) and 100 (max).
 Dn is the initial power (similar to a prime) to penetrate material (optional; uses Pn if unspecified)

Note: No tool is specified; this will happen on the laser already enabled with M620.

Example

 M621 P40

This command is decoded and executed by the printer as follows:

  • M621 (激活设备)
    • P40 (在“打印”(e值)移动期间为40%)




M623时间发出

M623用于设置激光笔或UV笔的功率,参数如下:

Usage

 M623 Dn Pn

Parameters

 Dn 持续时间,以毫秒为单位(只用于静态曝光,不用于移动曝光)
 Pn is the power, in a value between 0 (min) and 100 (max).

Note: Dn max for UV pens is 60,000 (1 minute); Dn max for other devices 1,000 (1 second);

下面是例子:

 M623 P80 D500

This command is decoded and executed by the printer as follows:

  • M623 (activate tool)
    • P80 (power 80%)
    • D500 (持续时间500秒)
 M623 P80 D10000 

This command is decoded and executed by the printer as follows:

  • M623 (activate tool)
    • P80 (power 80%)
    • D10000 (持续10秒)

Laser Examples

A sample of code for lasering will look like this:

 G0 X100 Y100 F1000  ; move to start location at 1000 mm/min
 M620 T# E1          ; enable target device 
 M621 P100           ; set light emission in vector mode (slot 3) to full power (100%)
 T#                  ; toolchange to target head
 G1 X120 Y100 E1     ; emitting (printing) move 20mm from origin in X axis
 G1 X120 Y120 E1     ; emitting (printing) move 20mm from origin in Y axis
 G1 X120 Y130        ; non-emitting move 10mm from origin in Y axis
 G1 X140 Y130 E1     ; emitting move 20mm from origin in X axis
 
 ... (剩下的激光工作)
 
 M620 T# E0          ; disable target device <= should be before M30 command

UV Pen Examples

A sample of code for UV Curing will look like this:

 G0 X100 Y100 F1000  ; move to start location at 1000 mm/min
 M620 T# E1         ; enable target device
 M621 P100           ; set light emission in vector mode (slot 3) to full power (100%)
 T#                  ; toolchange to target head
 G1 X120 Y100 E1     ; emitting (printing) move 20mm from origin in X axis
 G1 X120 Y120 E1     ; emitting (printing) move 20mm from origin in Y axis
 G1 X120 Y130        ; non-emitting move 10mm from origin in Y axis
 G1 X140 Y130 E1     ; emitting move 20mm from origin in X axis
 
 ... (你剩下的治疗工作)
 
 M620 T# E0         ; disable target device <= should be before M30 command

有关更复杂的示例,请参见 UV_and_Clench page.



Back to top

控制主轴和车床

控制主轴和车床
Code Supported 简要描述
M3 Yes Spindle On CW
M4 Yes Spindle On CCW
M5 Yes Spindle Off
M253 Yes 打开车床(CW)
M254 Yes 旋开车床(CCW)
M255 Yes Turn Off Lathe
G81 G81 Peck Drilling

机床和主轴工具命令. 注意,365现金买球建议使用 SimplyCAM.

您可以回顾一下365现金买球使用的5轴gcode this video from here.

M3打开主轴(CW)

M3告诉打印机在当前磁头(如果有磁头)顺时针方向激活(启动)主轴电机, 使用设置在头部的RPM值. 注:S0和关闭是一样的. Note: DO NOT CHANGE DIRECTION while the spindle is in motion.

Usage

 M3 T# Sn Fn

Parameters

 T# - target head
 Sn - power (0-100%)
 Fn - optional; PWM in Hz (defaults on heads should be fine for most uses)

Example

 M3 T# S75

This command is decoded and executed by the printer as follows:

  • M3 (激活主轴顺时针)
    • T# (target head)
    • S75 (at 75% power)
    • (default PWM)



M4打开主轴(CCW)

详见上文M3. 所有选项都是相同的,除了方向(逆时针).



M5关闭主轴

M5告诉打印机关闭(停止)当前磁头上的主轴电机(如果有的话). M5与M3 S0或M4 S0具有相同的作用.

Usage

 M5 T#

Parameters

 T# - target head

Example

 M5 T# 

This command is decoded and executed by the printer as follows:

  • M3 (关闭主轴)
    • T# (target head)



M253打开车床(CW)

M253告诉打印机顺时针方向激活(启动)车床电机(如果有的话), 使用M92为RPM设置的值. 只适用于Hydra 16A型号.

注:S0和关闭是一样的.

Usage

 M253 Sn

Parameters

 Sn -速度单位每分钟(默认:RPM,如果设置为M92每转几步)

Example

 M253 S75

This command is decoded and executed by the printer as follows:

  • M253 (激活主轴顺时针)
    • S75 (at 75 RPM)



M254转车床(CCW)

详情请参考上文M253. 所有选项都是相同的,除了方向(逆时针).



M255关掉车床

M255告诉打印机关闭(停止)车床电机(如果它有一个). M255的作用与G253 S0、G254 S0相同.

Usage

 M255 

Parameters

 N/A

Example

 M255 

This command is decoded and executed by the printer as follows:

  • M255 (禁用车床)



G81派克钻井

G81告诉打印机移动到X/Y和Z的起始位置, and to make (if needed) repeated descents and retracts. This is used to make holes, especially deep holes. 注意:此命令前主轴工具的开启方式为M3或M4, and turned off with an M5 after all work is done.

Usage

 n + T + T + T + T + T + T + T + T + T

Parameters

 T# - target head
 Xn - X position
 Yn - Y position
 In -初始Z位置
 Pn 在每个周期中向下啄这么多毫米
 Qn - retract upward this many mm after each cycle (to clear debris)
 Zn -最大啄食深度
 Fn - Z型工作速度,单位为mm/min

Example

 3 t, t - i, t - i, t - i, t - i, t - i, t - i, t - i, t - i.5 F200

注意,在此命令之前必须设置和应用M660偏移量,以允许刀具长度.

This command is decoded and executed by the printer as follows:

  • G81 (开始啄周期)
    • X100 Y75 (移动到X/Y起始位置X100 Y75)
    • I3 (移动到Z的起始位置Z3,这将是365现金买球最大的缩回高度)
    • P3 (每次往下啄3毫米)
    • Q-2 (retract upward 2mm after each peck (to clear debris))
    • Z-7.5 (啄到最大深度7.5mm)
    • F200 (工作(钻孔)行程速度200mm /min)
    • after this, 在移动到下一行之前,头部会缩回到I位置(本例中为Z3)



Back to top

报告和诊断

报告和诊断
Code Supported 简要描述
M701 Yes 组负责人报告
M718 Yes 停止记录到文件
M719 Yes 开始记录到文件
M670 Yes 使Y-arm光
M672 Yes Set Y-arm Light
M772 Yes 重置所有指标
M773 Yes 生成基本报告

The following commands help with reporting and diagnostics. Most users never need them, but here are the basics. 更高级/详细的报告是可用的.

M701设置头部报告

M701告诉头部发送头部特定信息到运动控制器和Repetrel的频率(如果通过M719启用,则传递到文本文件).

Usage

 M701 T# Pn

Parameters

 T# - target head
 Pn -条目之间的周期(默认为1)

Example

 M701 P12

This command is decoded and executed by the printer as follows:

  • M701 (head reporting)
    • (目前活跃的头)
    • P12 (每12秒)



M718停止日志记录到文件

M718告诉Repetrel停止任何记录到文本文件的数据,可能已经启用了M719.

Usage

 M718

Parameters

 N/A

Example

 M718

This command is decoded and executed by the printer as follows:

  • M718 (logging off)



M719开始记录到文件

M719告诉运动控制器什么系统范围的信息报告回Repetrel, 并告诉Repetrel开始将这些细节记录到文本文件中.

Usage

 M719 Pn Sn 
 
 M719 Pn Xn Yn Zn An Bn Vn En Ln

Parameters

 Pn - period,单位是秒
 Sn - can be default 0 (see options below) or 1 (report ALL data) 
 Xn -每个条目报告X位置
 Yn -报告每个条目的Y位置
 Zn -报告每个条目的Z位置
 An -报告一个位置与每个条目
 Bn -报告B位置与每个条目
 Vn -报告每个条目的速度
 En -报告每个条目的流量
 Ln -报告每个条目的行号

注意:这些值是持久化的, 如果之前启用了, will still be enabled unless disabled with a 0 parameter.

Example 1

 M719 P10 S1

This command is decoded and executed by the printer as follows:

  • M719 (logging on)
    • P10 (每10秒)
    • S1 (报告)

Example 2

 M719 P.1 Xn Yn Zn Ln
  • M719 (logging on)
    • P.1 (every 0.1 seconds)
    • X1 (报告X位置)
    • Y1 (报告Y位置)
    • Z1 (报告Z位置)
    • (不要报告职位)
    • (不要报告B位)
    • (不要报告速度)
    • (不要报告流量)
    • L1 (报告行号)



M670使能龙门/ y臂灯

M670设置y臂led的强度.

Usage

 M670 Sn Pn

Parameters

 Sn is the (percent of duty cycle, 0-100) for the LEDs
 Pn is the period (on-off interval - default is 1 second)

Example 1

 M670 S50 P1

This command is decoded and executed by the printer as follows:

  • M670 (启用Y-arm光)
    • S50 (50% duty cycle)
    • P1 (1 second cycle)

这将打开y臂灯50%的1秒,然后关闭50%的1秒-或打开0.5秒,调到0.5 seconds.

Example 2

 M670 S25 P4

This command is decoded and executed by the printer as follows:

  • M670 (启用Y-arm光)
    • S25 (25% duty cycle)
    • P4 (4第二周期)

This would turn the Y-arm light on for 25% of 4 second, then off for 75% of 4 seconds - or on for 1 second, 关闭3秒.



M672设置龙门/ y臂状态

M672可用于有龙门/ y臂灯的状态变化来反映传感器的状态. 例如,您可以在X轴处于home状态或Y轴出现故障时启用它.

Usage

 M672 Sn

Parameters

 Sn can be (unlisted numbers are unused at present):
       0  : Normal on/off
       10 : X Home
       11 : X Limit1
       12 : X Limit2
       13 : X Fault
       20 : Y Home
       21 : Y Limit1
       22 : Y Limit2
       23 : Y Fault
       30 : Z Home
       31 : Z Limit1
       32 : Z Limit2
       33 : Z Fault
       40 : A Home
       41 : A Limit1
       42 : A Limit2
       43 : A Fault
       50 : B Home
       11 : B Limit1
       52 : B Limit2
       53 : B Fault
       60 : C Home
       61 : C Limit1
       62 : C Limit2
       63 : C Fault

Example

 M672 S

This command is decoded and executed by the printer as follows:

  • M672 (将y臂灯映射到传感器状态)



M772重置所有指标

M772 will reset all internal gathering registers to 0.

Usage

 M772 Sn

Parameters

 Sn 0 is default; S can be...
     0 只重置所有值
     1 还生成一个基本的打印报告
     255 还生成所有可能的报告(有助于高级调试)

Example

 M772 S1

This command is decoded and executed by the printer as follows:

  • M772 (重置所有指标)
    • S1 (并生成基本打印报告



M773生成基本报表

M773生成打印统计信息的基本报告(包括平均速度、质数等).)

Note: this report will be more meaningful if you use M772 在作业开始时重置这些计数器.

Usage

 M773

Parameters

 N/A

Example

 M773

This command is decoded and executed by the printer as follows:

  • M773 (生成基本的报告)

Sample Output

 >IN:  50: ******************************************************************
 >IN:  50: **  Begin M773 - print job metrics Report
 >IN:  50: ******************************************************************
 >IN:  50: 
 >IN:  50:                       Time (s)    Dist (m)
 >IN:  50:                       --------    --------
 >IN:  50: Totals:                    0.0       0.000
 >IN:  50: 
 >IN:  50: Printing moves:            0.0       0.000
 >IN:  50: Non-printing moves         0.0       0.000
 >IN:  50: 
 >IN:  50: Accelerating:              0.0       0.000
 >IN:  50: Cruising:                  0.0       0.000
 >IN:  50: Decelerating:              0.0       0.000
 >IN:  50: 
 >IN:  50: can e steps issued:       0
 >IN:  50: approx filament (PI*d)    0.000 m
 >IN:  50: approx filament (PIr^2)   0.000 m
 >IN:  50: unprimes issued:          0
 >IN:  50: primes issued:            0
 >IN:  50: unprime-primes avoided:   0
 >IN:  50: 
 >IN:  50: ******************************************************************
 >IN:  50: **  End M773 Report
 >IN:  50: ******************************************************************



Back to top

控制辅助设备

控制辅助设备
Code Supported 简要描述
M7 Yes Aux 1 On (Mist)
M8 Yes Aux 2 On (Flood)
M9 Yes All Aux Off
M620 Yes Enable Device
M670 Yes 开启y臂(龙门架)灯
M671 Yes 启动x臂(危险)灯
M675 Yes 激活反应发光二极管
M676 Yes Activate Recirc. Fan
M677 Yes Activate Buzzer
M678 Yes 激活激光x毛
M679 Yes Activate Vacuum
M684 Yes Activate Exhaust
M685 Yes Activate Air
M689 Yes Activate Ext. Head
M783 Yes 领带与挤压


单独的端口控制命令.

M7激活辅助1

EHR 12VDC端口
12VDC端口,30米,ESR

M7发送12VDC到与“Mist Coolant”相关的端口,365现金买球有时称其为Aux1. With no parameters, it is read as M7 S100 (on continuously). See also M783 领带与挤压.

Usage

 M7 Sn Tn

Parameters

 Sn is the percentage (0-100) for Aux 1 to come on (default is 100)
 Tn is the head to which Aux 1 will synchronize, coming on at 100% when that head is extruding; using a T value forces S100

Example 1

 M7 S100

This command is decoded and executed by the printer as follows:

  • M7 (Aux1 value)
    • S100 (set to 100%)

Example 2

 M7 S25

This command is decoded and executed by the printer as follows:

  • M7 (Aux1 value)
    • S25 (set to 25%)

Example 3

 M7 S0

This command is decoded and executed by the printer as follows:

  • M7 (Aux1 value)
    • S0 (set to 0%)

Example 4

 M7 T#

This command is decoded and executed by the printer as follows:

  • M7 (Aux1 value)
    • T# (当t#挤压时设置为100%)



M8激活辅助2

M7发送12VDC到与“泛洪冷却剂”相关的端口,365现金买球有时称其为Aux2. With no parameters, it is read as M8 S100 (on continuously). See also M783 领带与挤压.

Usage

 M8 Sn Tn

Parameters

 Sn is the percentage (0-100) for Aux 2 to come on (default is 100)
 Tn is the head to which Aux 2 will synchronize, coming on at 100% when that head is extruding; using a T value forces S100

Example 1

 M8 S100

This command is decoded and executed by the printer as follows:

  • M8 (Aux2 value)
    • S100 (set to 100%)

Example 2

 M8 S25

This command is decoded and executed by the printer as follows:

  • M8 (Aux2 value)
    • S25 (set to 25%)

Example 3

 M8 S0

This command is decoded and executed by the printer as follows:

  • M8 (Aux2 value)
    • S (set to 0%)

Example 4

 M8 T#

This command is decoded and executed by the printer as follows:

  • M8 (Aux2 value)
    • T# (当t#挤压时设置为100%)



M9禁用Aux1 & Aux2

M9切断了Aux1和Aux2的电源. 相当于运行M7 S0和M8 S0.

Usage

 M9

Parameters

 N/A

Example

 M9

This command is decoded and executed by the printer as follows:

  • M9 (将Aux 1和Aux 2设置为0(关闭))



M620激活发射器

See #M620_Enable_Device above.



启动y型臂(龙门式)灯

M670发送12VDC到相关端口,打开龙门(16A)或y臂(30M, ESR)灯.

Usage

 M670 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M670 S100

This command is decoded and executed by the printer as follows:

  • M670 (龙门式/ y型臂值)
    • S100 (set to 100%)

Example 2

 M670 S25

This command is decoded and executed by the printer as follows:

  • M670 (龙门式/ y型臂值)
    • S25 (set to 25%)

Example 3

 M670 S0

This command is decoded and executed by the printer as follows:

  • M670 (龙门式/ y型臂值)
    • S0 (set to 0%)



启动x臂(危险)灯

M671发送12VDC到相关端口打开x臂/危险灯(30M/ESR仅限).

Usage

 M671 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M671 S100

This command is decoded and executed by the printer as follows:

  • M671 (x臂/危险值)
    • S100 (set to 100%)

Example 2

 M671 S25

This command is decoded and executed by the printer as follows:

  • M671 (x臂/危险值)
    • S25 (set to 25%)

Example 3

 M671 S0

This command is decoded and executed by the printer as follows:

  • M671 (x臂/危险值)
    • S0 (set to 0%)



M675激活响应led灯

M675发送12VDC到端口相关的打开响应led(仅30M/16A).

Usage

 M675 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M675 S100

This command is decoded and executed by the printer as follows:

  • M675 (响应led值)
    • S100 (set to 100%)

Example 2

 M675 S25

This command is decoded and executed by the printer as follows:

  • M675 (响应led值)
    • S25 (set to 25%)

Example 3

 M675 S0

This command is decoded and executed by the printer as follows:

  • M675 (响应led值)
    • S0 (set to 0%)



M676激活Recirc. Fan

M676 sends 12VDC to the port associated turning on the Recirc. Fan (16A only).

Usage

 M676 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M676 S100

This command is decoded and executed by the printer as follows:

  • M676 (Recirc. Fan value)
    • S100 (set to 100%)

Example 2

 M676 S25

This command is decoded and executed by the printer as follows:

  • M676 (Recirc. Fan value)
    • S25 (set to 25%)

Example 3

 M676 S0

This command is decoded and executed by the printer as follows:

  • M676 (Recirc. Fan value)
    • S0 (set to 0%)



M677激活蜂鸣器

M677将12VDC发送到相关的端口,并打开蜂鸣器(仅为旧的30Ms).

Usage

 M677 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M677 S100

This command is decoded and executed by the printer as follows:

  • M677 (Buzzer value)
    • S100 (set to 100%)

Example 2

 M677 S25

This command is decoded and executed by the printer as follows:

  • M677 (Buzzer value)
    • S25 (set to 25%)

Example 3

 M677 S0

This command is decoded and executed by the printer as follows:

  • M677 (Buzzer value)
    • S0 (set to 0%)



M678激活激光x发

M678发送12VDC到相关的端口,打开激光x -头发(16A与CO2 lasers only).

Usage

 M678 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M678 S100

This command is decoded and executed by the printer as follows:

  • M678 (激光x毛值)
    • S100 (set to 100%)

Example 2

 M678 S25

This command is decoded and executed by the printer as follows:

  • M678 (激光x毛值)
    • S25 (set to 25%)

Example 3

 M678 S0

This command is decoded and executed by the printer as follows:

  • M678 (激光x毛值)
    • S0 (set to 0%)





M679激活真空

M679发送12VDC到相关的端口打开真空(仅30M/ESR).

Usage

 M671 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M679 S100

This command is decoded and executed by the printer as follows:

  • M679 (Vacuum value)
    • S100 (set to 100%)

Example 2

 M679 S25

This command is decoded and executed by the printer as follows:

  • M679 (Vacuum value)
    • S25 (set to 25%)

Example 3

 M679 S0

This command is decoded and executed by the printer as follows:

  • M679 (Vacuum value)
    • S0 (set to 0%)



M684激活排气

M671发送12VDC到相关端口打开排气(仅16A).

Usage

 M684 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M684 S100

This command is decoded and executed by the printer as follows:

  • M684 (Exhaust value)
    • S100 (set to 100%)

Example 2

 M684 S25

This command is decoded and executed by the printer as follows:

  • M684 (Exhaust value)
    • S25 (set to 25%)

Example 3

 M684 S0

This command is decoded and executed by the printer as follows:

  • M684 (Exhaust value)
    • S0 (set to 0%)



M685设置空气上电

M685发送12VDC到相关端口打开(正压)空气(仅16A).

Usage

 M685 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M685 S100

This command is decoded and executed by the printer as follows:

  • M685 (Air value)
    • S100 (set to 100%)

Example 2

 M685 S25

This command is decoded and executed by the printer as follows:

  • M685 Air value)
    • S25 (set to 25%)

Example 3

 M685 S0

This command is decoded and executed by the printer as follows:

  • M685 (Air value)
    • S0 (set to 0%)



M689激活Ext. Head

M689 sends 12VDC to the port associated turning on the Ext. Head.

Usage

 M689 Sn

Parameters

 Sn is the percentage (0-100; no default - if no Sn, no change)

Example 1

 M689 S100

This command is decoded and executed by the printer as follows:

  • M689 (Ext. Head value)
    • S100 (set to 100%)

Example 2

 M689 S25

This command is decoded and executed by the printer as follows:

  • M689 (Ext. Head value)
    • S25 (set to 25%)

Example 3

 M689 S0

This command is decoded and executed by the printer as follows:

  • M689 (Ext. Head value)
    • S0 (set to 0%)



M783领带到挤压

M783可以绑定一些辅助端口(如Aux 1), 通常由M7控制, or Aux 2, 通常由M8控制, etc.) to be powered (at 100%) during a certain head's extrusion. 一些用户使用这个,这样他们就可以在365现金买球的设备上使用Ultimus或visectec头进行打印. See also M7 and M8.

注:M619可以用来映射M783绑定的端口-365现金买球获取更多信息.

Usage

 M783 T# 

Parameters

 T# is the tool to which the designated aux port will be tied

Example

 M783 T#

This command is decoded and executed by the printer as follows:

  • M783 (将当前辅助端口连接到头部状态)
    • T# (target head)




Back to top

Other Commands

Other Commands
Code Supported 简要描述
M17 Yes Engage Motors
M18 Yes 脱离汽车
M30 Yes End of Program
M84 Yes Disable Motors
M790 Yes 新图层操作
M791 Yes Snap Image
M792 Yes Execute Action

Other commands.

M17从事汽车

M17适用于所有电机(定位和挤出电机), locking them at their current postion; this prevents the bed and yoke from being pushed manually in the X and Y.

Note that an M18 or M84 将脱离ESR和30M型号的电机, but 16A and EHR models use different controllers, 这些命令并不能解锁马达. 在16A或30M的车上,为了达到同样的效果,你可以启动紧急刹车.

Usage

 M17

Parameters

 N/A

Example

 M17

This command is decoded and executed by the printer as follows:

  • M17 (engage motors)



M18脱离汽车

M18将切断所有电机(定位和挤出电机)的电源, unlocking them; this allows the motors to cool down (as they normally lock in place while still), 以及允许一个人手动推动床和轭在X和Y. It also notifies the GUI that motors are disabled. All axes with homes must be rehomed after an M18.

注意,这与 M84 与之相反的 M17.

Note that an M18 or M84 将脱离ESR和30M型号的电机, but 16A and EHR models use different controllers, 这些命令并不能解锁马达. 在16A或30M的车上,为了达到同样的效果,你可以启动紧急刹车.

Usage

 M18

Parameters

 N/A

Example

 M18

This command is decoded and executed by the printer as follows:

  • M18 (脱离汽车)



M30程序结束

M30告诉打印机这项工作已经完成. 在M30之后没有gocde将作为前一个任务的一部分被执行.

注意,M30还消除了任何克隆设置, 改变头索引为0, 清除夹具偏移量(G53), 清除所有M229的e值设置, 复位M106的持续范围, 重置任何打印错误, 重置M660头偏移为0, 将头重置为其存储的值, 并触发任何排队的报告.

Usage

 M30

Parameters

 N/A

Example

 M30

This command is decoded and executed by the printer as follows:

  • M30 (end or program)



M84禁用汽车

M84调用M18. 使用请参见M18.

Note that an M18 or M84 将脱离ESR和30M型号的电机, but 16A and EHR models use different controllers, 这些命令并不能解锁马达. 在16A或30M的车上,为了达到同样的效果,你可以启动紧急刹车.



M790新建图层动作

M790 will trigger any associated new layer actions, which can include capturing an image from the designated camera. 它不带参数.

M791 Snap Image

M791 will cause the camera selected under the Interface > Camera1 tab, 如果设置为直播视频, 捕获图像并保存到 C:\Users\hyrel\Pictures\HyrelPrinterPictures\Camera1, named pic#.png

M792执行行动

M792导致Repetrel执行一个动作,例如显示图像或发出警告哔哔声.

Usage

 M792[说| PIC | vid | send | beep | shell]

Parameters

 说样品信息 -电脑将使用内置的文本转换语音功能,在扬声器上回传讯息。
 PIC C:\sample.jpg - the computer will display the image at the specified location
 VID C:\sample.mp4 - the computer will play the video at the specified location
 发送样品信息 -电脑会将讯息发送到辅助端口,如果连接
 BEEP 电脑会发出哔哔声
 SHELL C:\program.exe - the computer will execute the file at the specified location

注意,可以组合多个选项.

Example

 M792 ; SAY Hello Wilbur ; PIC C:\mr_ed.png

This command is decoded and executed by the printer as follows:

  • M792 (execute action)
    • SAY Hello Wilbur (公告文字:你好威尔伯)
    • PIC C:\mr_ed.png (展示图片:C: \ mr_ed.png)



Back to top

Gcode Header

Here are some sample headers for Gcode on our equipment:

16A, T1, Heated

下面是365现金买球的标准头使用加热头在第二个插槽与加热床上的16A:

 ; ///////////////   BEGIN HYREL HEADER for a 16A with a Heated Head in T1/T12 - 2021.02.24   \\\\\\\\\\\\\\\
 
 ; GENERAL :
 
 N14                ; set line numbers for error logging - Slic3r version
 M772 S1            ; reset metrics and arm automatic reporting 
 M627 X0 Y0 Z0 J-500 K5                 ; setup abort action 
 
  
 M107               ; fans/UV           ; off
 M106 C255          ; fans/UV           ; set to 0-255 range
 
 G53                ; clear offsets
 G21                ; units             : mm
 G91                ; coordinatess      : relative
 G0 Z10 	           ; drop bed 
 G90                ; coordinates       : absolute
 
 M229 E1 D1         ; enable E-values (volumetric)
 
 ; TEMP CONTROL :
 
 M190 S100          ; bed preheat  : set and wait
 M140 S[bed_temperature]          ; bed temp     : set, no wait
 M104 T12 S[temperature]      ; head temp    : set, no wait
 
 G28 X0 Y0          ; home, goto   : X and Y
  
 M190 S[bed_temperature]          ; bed temp     : set and wait
 M109 T12 S[temperature]      ; head temp    : set and wait
 
 T1                 ; use SECOND tool position from the left    
 
 ; \\\\\\\\\\\\\\\   END HYREL HEADER for a 16A with a Heated Head in T1/T12 - 2021.02.24   ///////////////

30米和ESR, T1,加热

下面是365现金买球的标准头使用加热头在第二个插槽与加热床上的16A:

 ; ///////////////   BEGIN HYREL HEADER for a 30M/ESR with an Unheated Head in T0/T11 - 2021.02.24   \\\\\\\\\\\\\\\
 
 ; GENERAL :
 
 N14                ; set line numbers for error logging - Slic3r version
 M772 S1            ; reset metrics and arm automatic reporting 
 M627 X0 Y0 Z0 J-500 K5                 ; setup abort action 
 
 
 M107               ; fans/UV           ; off
 M106 C255          ; fans/UV           ; set to 0-255 range
 
 G53                ; clear offsets
 G21                ; units             : mm
 G91                ; coordinatess      : relative
 G0 Z10 	           ; drop bed 
 G90                ; coordinates       : absolute
 
 G28 Z0             ; home, goto        : Z (ignored if no Z home)
 G28 X0 Y0          ; home, goto        : X and Y
 
 M229 E1 D1         ; enable E-values (volumetric)
 
 ; TEMP CONTROL :
 
 ;M190 S[bed_temperature]          ; bed temp     : set and wait    <= COMMENTED OUT
 ;M109 T11 S[temperature]        ; head temp    : set and wait    <= COMMENTED OUT
 
 T0                 ; use FIRST tool position from the left    
 
 ; \\\\\\\\\\\\\\\   END HYREL HEADER for a 30M/ESR with an Unheated Head in T0/T11 - 2021.02.24   ///////////////

Gcode Footer

标准,所有的模型

下面是365现金买球的标准Gcode页脚,它应该在所有Gcode文件的末尾:

 ; ///////////////   BEGIN HYREL STANDARD FOOTER - 2021.02.12   \\\\\\\\\\\\\\\
 
 ; temp control:
 
 
 M107 T100       ; fans, diodes  : off
 M620 T100 E0    ; CO2 lasers    ; off
 M104 T100 S0    ; head temps    : off
 M140 T90 S0     ; bed temps     : off
 M5              ; spindles      : off
 
 ; housekeeping
 
 G91             ; coordinates   : relative
 G0 Z10          ; drop bed 
 G90             ; coordinates   : absolute
 G0 Y0           ; home, goto    : Y axis
 G0 X0           ; home, goto    : X axis
 M84             ; motors        : disable
 G53             ; clear offsets
 M30             ; program       : end
 			
 ; \\\\\\\\\\\\\\\   END HYREL STANDARD FOOTER - 2021.02.12   ///////////////