Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Sinumerik CNCNew to Visual Studio Code? Get it now.
Sinumerik CNC

Sinumerik CNC

MaTka

|
5,496 installs
| (3) | Free
Sinumerik CNC is sinumerik machine controller syntax highlighting extension.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cnc-sinumerik

Sinumerik CNC is set of commands for syntax highlighting for Sinumerik controller files.

Features

  • syntax highlighting for Sinumerik controller files
  • snippets for G and M codes

Snippets functions

Sinumerik840D

Snippet Command
Boring Cycle85 Cycle85(RTP, RFP, SDIS, DP, DPR, DTB, FFR, RFF)
Boring Cycle86 Cycle86(RTP, RFP, SDIS, DP, DPR, DTB, SDIR, RPA , RPO, RPAP, POSS)
Boring Cycle87 Cycle87(RTP, RFP, SDIS, DP, DPR, SDIR)
Boring Cycle88 Cycle88(RTP, RFP, SDIS, DP, DPR, DTB, SDIR)
Boring Cycle89 Cycle89(RTP, RFP, SDIS, DP, DPR, DTB)
Centering Cycle81 CYCLE81( RTP, RFP, SDIS, DP, DPR)
Circle of holes HOLES2 HOLES2 (CPA,CPC, RAD, STA1, INDA, NUM)
Circular spigot milling Cycle77 CYCLE77(_RTP, _RFP, _SDIS, _DP, _DPR, _PRAD, _PA, _PO, _MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _AP1)
Circular pocket POCKET2 POCKET2(RTP, RFP, SDIS, DP, DPR, PRAD, CPA, CPO, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF)
Circular pocket POCKET4 POCKET4(_RTP, _RFP, _SDIS, _DP, _PRAD, _PA, _PO, _MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _MIDA, _AP1, _AP2, _AD, _RAD1, _DP1)
Circular slot on circle SLOT2 SLOT2(RTP, RFP, SDIS, DP, DPR, NUM, FSL, WID, CPA, CPO, RAD, STA1, INDA, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF, _FFCP)
Compensated tapping Cycle840 Cycle840(RTP, RFP, SDIS, DP, DPR, DTB, SDR, SDAC, ENC, MPIT, PIT, _AXN, _PTAB, _TECHNO)
Counterbore Cycle82 Cycle82(RTP, RFP, SDIS, DP , DPR, DTB )
Deephole Cycle83 Cycle83(RTP, RFP, SDIS, DP, DPR, FDEP, FDPR, DAM, DTB, DTS, FRF, VARI, _AXN, MDEP, _VRT, _DTD, _DIS1)
Dot matrix Cycle801 CYCLE801(_SPCA,_SCPO, _STA, _DIS1, _DIS2, NUM1, NUM2)
Engraving Cycle60 CYCLE60(_TEXT, _RTP, _RFP, _SDIS, _DP, _DPR, _PA, _PO, _STA, _CP1, _CP2, _WID, _DF, _FFD, _FFP1, _VARI, _CODEP)
Face milling Cycle71 CYCLE71(_RTP, _RFP, _SDIS, _DP, _PA, _PO, _LENG, _WID, _STA, _MID, _MIDA, _FDP, _FALD, _FFP1, _VARI, _FDP1)
Hight speed settings - Cycle832 CYCLE832(_TOL, _TOLM)
Path milling Cycle72 CYCLE72(_KNAME, _RTP, _RFP, _SDIS, _DP, _MID, _FAL, _FALD, _FFP1, _FFD, _VARI, _RL, _AS1, _PL1,_FF3, _AS2, _LP2)
Pocket milling with islands Cycle73 CYCLE73(_VARI, _BNAME, _PNAME, _TN, _RTP, _RFP, _SDIS, _DP, _DPR, _MID, _MIDA, _FAL, _FALD, _FFP1, _FFD, _CDIR, _PA, _PO, _RAD, _DP1, _DN)
Rectangular pocket POCKET1 POCKET1(RTP, RFP, SDIS, DP, DPR, LENG, WID, CRAD, CPA, CPD, STA1, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF)
Rectangular pocket POCKET3 POCKET3(_RTP, _RFP, _SDIS, _DP, _LENG, _WID, _CRAD, _PA, _PO, _STA, _MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _MIDA, _AP1, _AP2, _AD, _RAD1, _DP1)
Rectangular spigot milling Cycle76 CYCLE76(_RTP, _RFP, _SDIS, _DP, _DPR, _LENG, _WID, _CRAD, _PA, _PO, _STA, _MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _AP1, _AP2)
Rigid tapping Cycle84 Cycle84(RTP, RFP, SDIS, DP, DPR, DTB, SDAC, MPIT, PIT, POSS, SST, SST1, _AXN, _PTAB, _TECHNO, _VARI, _DAM, _VRT)
Row of holes HOLES1 HOLES1 (SPCA,SPCO, STA1, FDIS, DBH, NUM)
Slot milling on circle LONGHOLE LONGHOLE(RTP, RFP, SDIS, DP, DPR, NUM, LENG, CPA, CPO, RAD, STA1, INDA, FFD, FFP1, MID)
Slot milling on circle SLOT1 SLOT1(RTP, RFP, SDIS, DP, DPR, NUM, LENG, WID, CPA, CPO, RAD, STA1, INDA, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF, _FALD, _STA2)
Swivelling working plane Cycle800 CYCLE800(_FR, _TC, _ST, _MODE, _X0, _Y0, _Z0, _A, _B, _C, _X1, _Y1, _Z1, _DIR, _FR _I)
Thread milling Cycle90 Cycle90(RTP, RFP, SDIS, DP, DPR, DIATH, KDIAM, PIT, FFR, CDIR, TYPTH, CPA, CPO)
Transfer island contour Cycle75 CYCLE75(_KNAME, _LSANF, _LSEND)
Transfer pocket edge contour Cycle74 CYCLE74(_KNAME, _LSANF, _LSEND)
Snippet Command
Absolute command G90 G90
Activate ISO dialect mode G291 G291
Activate Siemens mode G290 G290
auto return to ref point G28 G28 X Y Z;
Boring G85 G85 X Y Z R F K
Boring G86 G86 X Y Z R F K
Boring G87 G87 X Y Z R Q P F K
Boring G89 G89 X Y Z R P F K
Changing tool offset value G10 G10 L$[] P R;
circular interpolation G0
Centering G81 G81 X Y Z R F K
Cutting mode G64 G64
Cutter radius compenstation cancel G40 G40
Cutter radius compenstation G41/G42 G4$[] Z D
czlindric interpolation G07.1 G07.1 ;
dwell G04 G04 X ;
Drilling G73 G73 X Y Z R Q F K
Drilling G82 G82 X Y Z R F K
exact stop G09 G09 X Y Z;
F commandG94/G95 G9$[]
Fine bodring G76 G76 X Y Z R Q P F K
Incremental command G91 G91
inch designation G20 G20;
Interrupt G96 G96 P
Left hand tapping G74 G74 X Y Z R P Q F K
linear interpolation G01 X Y Z F;
metric designation G21 G21;
Mirroring off G50.1 G50.1;
Mirroring on G51.1 G51.1 X Y Z;
Modal or by block G65/G66 G6$[] P L
Movement in machine coordinates G53/SUPA G00 X Y Z ;
Movement in work coordinates G92 G92 X Y Z ;
off rotation coordinates G69 G69;
Pech drilling G83 G83 X Y Z R Q F K
Plane selection G17/G18/G19 G1$[]
Polar coordinate G15/G16 G1$[]
Polar coordinate interpolation G12.1/G13.1 G1$[].1
Positioning level G98 G98 P
Reference level G99 G99
return to ref point G27 G27 X Y Z;
rotation coordinates G68 G68 X Y R;
Scaling off G50 G50;
Scaling on G51 G51 X Y Z P;
Second to four ref point G30 G30 P X Y Z;
Skip function G31 G31 X Y Z F P
Tapping G84 G84 X Y Z R P Q F K
Tapping mode G63 G63
Tool lenght offset cancel G49 G49
Tool lenght offset G43/G44 G4$[] Z H
tool retact and return G10.6 G10.6 X Y Z;
Workpiece shift system data G10 G10 P00 $[] $[] $[]
Snippet Command
Activate bottleneck detection CDON CDON
Add Program Number O
Body of heidenhain file ;`$TM_FILENAME
COMPCAD compressor COMPCAD
COMPCURV compressor COMPCUR
COMPON compressor COMPON
Deactivate bottleneck detection CDOF CDOF
GOTO GOTO
Local Subprogram N
Supress tool offsets SUPD SUPD
SUPA Command SUPA
Tool lenght offset TOFF TOFF[]=
Tool lenght offset TOFFL TOFFL=
Tool lenght radius offset TOFFLR TOFFLR=
Tool radius offset TOFFR TOFFR=
tool offset D D
Tool lenght and radius offset TOFFLR TOFFLR=
Tool lenght offset parallel to axis TOFF TOFF[]=
Snippet Command
Coolant off M09
Coolant on M0$[]
End program M02 M02
End program M30 M30
M03 M03 S
M04 M04 S
M05
M06 M06 T
M19 M19
M97 M97 P L
M98 M98 P L
Optional stop M01 M01
Spindle S M0
Stop M00 M00

Sinumerik One

Snippet Command

Release Notes

Syntax highlighting is almost done for all important commands. Highlighting is tested on "default" color theme Dark+ which I recommend for you.

0.5.0

Addin setings to select version of Sinumeric - actually 840D and One.

0.4.0

Adding snippets

0.3.3

Removing parentheses from comments in highlihting syntax. Setting the coloring of pair brackets. Other minor improvements in syntax highlighting recognition.

0.3.2

Adding picture as logo

0.3.1

Small extension for syntax highligthing for M function. Now is available combination _Mxxx

0.3.0

Add more commands in syntax highlighting

0.2.0

Small improvemnts in syntax highlighting

0.1.0

Added most important commands into syntax highlighting Initial release of project

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft