{"id":17047002,"url":"https://github.com/deathaxe/sublime-s840d","last_synced_at":"2026-02-06T05:04:31.057Z","repository":{"id":158368669,"uuid":"49065943","full_name":"deathaxe/sublime-s840d","owner":"deathaxe","description":"CNC SINUMERIK 840D/ONE language support for SublimeText","archived":false,"fork":false,"pushed_at":"2025-11-12T18:05:12.000Z","size":3460,"stargazers_count":24,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-11-12T20:17:34.991Z","etag":null,"topics":["cnc","sinumerik","sublime-package","sublime-syntax","sublime-text-3","sublime-text-plugin","syntax-highlighting"],"latest_commit_sha":null,"homepage":"","language":"DIGITAL Command Language","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deathaxe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-05T12:57:29.000Z","updated_at":"2025-09-25T22:24:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9a2de16-9667-41a1-9adb-1deacb263f2d","html_url":"https://github.com/deathaxe/sublime-s840d","commit_stats":null,"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/deathaxe/sublime-s840d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathaxe%2Fsublime-s840d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathaxe%2Fsublime-s840d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathaxe%2Fsublime-s840d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathaxe%2Fsublime-s840d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deathaxe","download_url":"https://codeload.github.com/deathaxe/sublime-s840d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deathaxe%2Fsublime-s840d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29151648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cnc","sinumerik","sublime-package","sublime-syntax","sublime-text-3","sublime-text-plugin","syntax-highlighting"],"created_at":"2024-10-14T09:48:05.744Z","updated_at":"2026-02-06T05:04:31.039Z","avatar_url":"https://github.com/deathaxe.png","language":"DIGITAL Command Language","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CNC Sinumerik\r\n\r\n[![Release](https://img.shields.io/github/tag/deathaxe/sublime-s840d.svg?style=flat-square)](https://github.com/deathaxe/sublime-s840d/releases)\r\n[![The MIT License](https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square)](http://opensource.org/licenses/MIT)\r\n[![Package Control](https://packagecontrol.herokuapp.com/downloads/CNC%20Sinumerik.svg?style=flat-square)](https://packagecontrol.io/packages/CNC%20Sinumerik)\r\n\r\nThis package provides syntax highlighting support for **SINUMERIK 840D/ONE**\r\nComputerized Numerical Control to [Sublime Text][1].\r\n\r\n\r\n#### G-Code example\r\n\r\n![gcode](example.jpg)\r\n\r\n\r\n## 🚀 Features\r\n\r\n#### NC cycles\r\n\r\n  * file extensions: MPF, SPF, DEF, TEA\r\n  * syntax highlighting\r\n    - ISO G-Code\r\n    - SINUMERIK highlevel commands\r\n    - known NC cycles, functions and commands\r\n    - known NC variables and machine data (NC-Version 04.07.02.01)\r\n    - Highlight illegal usage of control keywords.\r\n  * indention rules\r\n  * code-snippets for most common control functions\r\n  * commands to `Minify`, `Beautify`, `Add/Update block numbers`, `Save Protected Program File (CPF)`\r\n  * Goto Definition\r\n    - Show labels in local symbol list\r\n    - Show PROC names in indexed symbol list\r\n  * Context sensitive auto completions for:\r\n    - variable attributes in definitions (access rights, unit)\r\n    - ISO parameters (e.g.: SPOS= , FP=, ...)\r\n    - ISO commands (e.g.: TRANS, ROT, ...)\r\n    - functions (e.g.: COUPDEF(...))\r\n  * tooltip support\r\n    - \\*.mdat \\*.svar files from CreateMyConfig\r\n\r\n### EasyScreen / RunMyScreens\r\n\r\n  * file extensions: COM\r\n  * syntax highlighting\r\n  * indention rules\r\n  * code-snippets for\r\n    - classes: `ARRAY`, `BLOCK`, `DIALOG`, `MENU`\r\n    - methods: `LOAD`, `UNLOAD`, `PRESS`, ...\r\n    - functions: `RNP`, `WNP`, `CP`, `DP`, `EP`, ...\r\n  * Goto Definition for classes.\r\n\r\n\r\n#### NC archives (text)\r\n\r\n  * file extensions: ARC\r\n  * embedds NC cycles and RunMyScreens syntax highlighting\r\n\r\n\r\n### Step7 PLC sources\r\n\r\n  * AWL syntax highlighting\r\n  * ASC symbol table syntax highlighting\r\n  * SCL syntax\r\n\r\n\r\n## 💾 Installation\r\n\r\n### Package Control\r\n\r\nFor all Sublime Text 3 users install via [Package Control][2] is recommended.\r\n\r\n  1. [Install][3] Package Control if you haven't yet.\r\n  2. Use \u003ckbd\u003ectrl+shift+P\u003c/kbd\u003e then `Package Control: Install Package`\r\n  3. Look for `CNC Sinumerik` and install it.\r\n\r\n\r\n### Manual Installation\r\n\r\nClone the repository in your Sublime Text Packages directory, located somewhere\r\nin user's \"Home\" directory:\r\n\r\n```shell\r\ngit clone git://github.com/deathaxe/sublime-s840d.git \"CNC Sinumerik\"\r\n```\r\n\r\nYou can also download the latest source from GitHub\r\n[https://github.com/deathaxe/sublime-s840d][zip] and extract the whole content\r\ninto the _\"Packages/CNC Sinumerik\"_ directory.\r\n\r\n\r\n## ⚙ Settings\r\n\r\nAll settings are organized per view and can therefore be placed to any valid\r\nSublime Text settings file or may be applied temporarily for single views.\r\n\r\n\r\n#### Basic Setup\r\n\r\nIf `s840d_arc.sublime-settings`, `s840d_gcode.sublime-settings` or\r\n`s840d_hmi.sublime-settings` don't exist in the user folder they will be\r\nautomatically created to ensure the following essential syntax specific\r\nsettings:\r\n\r\n```JavaScript\r\n  \"ensure_newline_at_eof_on_save\": true,\r\n  \"translate_tabs_to_spaces\": true,\r\n  \"use_tab_stops\": false\r\n```\r\n\r\nThey are all required to ensure NC will read the resulting file correctly. You\r\ncan override these settings by creating your own syntax specific setting\r\n`Preferences -\u003e Settings - Syntax Specific`\r\n\r\n\r\n#### G-Code block start\r\n\r\n`\"s840d_gcode_block_start\": 0`\r\n\r\nIf not explicitly called with `\"start\": 0815` the `s840d_renumber` command will\r\nuse this setting as first block number. With default value `0` the first block\r\nnumber is automatically selected to so all block numbers have same length.\r\n\r\n\r\n#### G-Code block increment\r\n\r\n`\"s840d_gcode_block_increment\": 10`\r\n\r\nIf not explicitly called with `\"increment\": 0815` the `s840d_renumber` command\r\nwill use this setting to increment the block numbers.\r\n\r\n\r\n## © License\r\nThe code is available at [GitHub][home] under [MIT licence][lic].\r\n\r\n\r\n[home]: \u003chttps://github.com/deathaxe/sublime-s840d\u003e\r\n[zip]:  \u003chttps://github.com/deathaxe/sublime-s840d/archive/master.zip\u003e\r\n[lic]:  \u003chttps://github.com/deathaxe/sublime-s840d/blob/master/LICENSE\u003e\r\n[1]:    \u003chttp://www.sublimetext.com\u003e\r\n[2]:    \u003chttps://packagecontrol.io\u003e\r\n[3]:    \u003chttps://packagecontrol.io/installation\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeathaxe%2Fsublime-s840d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeathaxe%2Fsublime-s840d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeathaxe%2Fsublime-s840d/lists"}