User Tools

Site Tools


Sidebar

Home



G-Code


About

  Order of execution
  Parameters

G-Codes

M-Codes

Other Codes

O-Words

Comments

  clear
  print
  debug
  status
  msg
  msgdlg
  clipboard
  mdi

  log
  logcreate
  logopen
  logclose

  txt

  pointsclear
  pointssave
  pointsload
  pointsshapes
  pointpos
  point

  expr

  py
  pythr

  name
  desc

  dlgname
  dlg
  dlgshow

  arrclr
  array
  arrchr
  crc16
  crc32

  sw_reset
  sw_print

  block_begin
  block_end

  color

Functions

Operators

Macros

gcode:comments:comment-name

name

Sets program name.

Syntax

(name,str)

Parameters

str Program name.

Examples

(name,Lissajous curve)
(desc,Generates Lissajous curve)
G17 G21 G90 G91.1 G94
O1000 sub
  G00 X#1 Y[#2+#10] Z#3
  #20 = 0
  O1002 while [#20 LE 360]
    #21 = [#4 * sin[#6 * #20 + #8]]
    #22 = [#5 * cos[#7 * #20 + #9]]
    G01 X[#1+[#10*#21]] Y[#2+[#10*#22]]
    #20 = [#20 + #11]
  O1002 endwhile
O1000 endsub
(#1=x #2=y #3=z #4=A #5=B #6=a #7=b #8=d #9=g #10=scale #11=res)
O1000 call [0] [0] [0] [1] [1] [1] [3] [0] [0] [100] [5]

See also

gcode/comments/comment-name.txt · Last modified: 2023/02/20 12:04 by 127.0.0.1

Page Tools