plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

KUKA KRL for VS Code

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> CNC & Robotics-Reg. U
View previous topic :: View next topic  
Author Message
Teknorob
Junior 2
Junior 2


Joined: 18 Nov 2025
Posts: 21

PostPosted: 03/02/2026 12:34    Post subject: KUKA KRL for VS Code Reply with quote

KUKA KRL for VS Code v1.9.+: From a Syntax Highlighter to a Full Industrial Engineering Toolkit

Hello fellow roboticists and automation engineers!

A couple of months ago, I introduced the first version of the KUKA KRL Extension for VS Code. Back then, it was mostly a comfortable code editor with custom themes, basic linting, and snippets to replace Notepad++ and OrangeEdit.

Since then, based on real commissioning feedback from automotive lines and industrial cells, the project has undergone a massive architectural overhaul. In v1.9.+, it is no longer just an editor — it is a full-fledged offline engineering and diagnostic environment for KUKA KSS 8.3–8.7 and iiQWorks.

Here is what was added and why it completely changes day-to-day workflow with KUKA robots:

--------------------------------------------------

1. Live Transparent ZIP Backup Mount & 2-Way Auto-Sync
No more extracting 50 MB archives into temporary folders and repacking them manually.

  • Open .zip directly as a workspace: Simply open any Robot_Archive.zip or KRCDiag_*.zip. The extension mounts it into VS Code with your project tree and auto-opens Cell.src.
  • Transparent In-Memory Patching (<80 ms): Whenever you hit Ctrl+S, changes are transparently patched directly back into the autentic .zip archive on disk without file locks or full repacking.
  • Archive Explorer (Zero-Unpack): Instant virtual in-memory inspection of files via krc-archive:// protocol.
  • 6D Coordinate Delta Math: Compare two backup archives side-by-side to see coordinate drift (ΔX, ΔY, ΔZ, ΔA, ΔB, ΔC in mm and degrees) between teaches.


--------------------------------------------------

2. KRL Safe Auto-Repair Engine (QuickFix & Fix-All)
Deterministic one-click fixes (Ctrl+. lightbulb or Fix All) for programming hazards before loading to the robot:

  • Missing BRAKE before RESUME: Injects mandatory BRAKE deceleration before RESUME inside collision and sensor interrupt routines.
  • Uncommitted Payload Dynamic Data: Automatically inserts BAS(#PAYLOAD, nTool) commit calls after multi-attribute $LOAD assignments.
  • BOM & Non-ASCII Purge: Strips invisible UTF-8 BOM markers and non-standard typographical characters that crash the KSS compiler.
  • Loop & FOLD Recovery: Fixes dangerous FOR ... STEP 0 infinite interpreter loops and re-synchronizes broken ;FOLD / ;ENDFOLD boundaries.
  • Safety Rollback & Monaco Diff Review: Preview exact red/green line diffs before accepting changes. If any AST regression is detected, the transaction is automatically rolled back.


--------------------------------------------------

3. 16+ Industrial Static Safety Gates & KSS Compiler Parity
The background scanner continuously audits your workspace against official KUKA specifications:

  • Status (S) & Turn (T) Validator: Checks 6-axis Turn bitmasks (0..63) and Status (0..7). Automatically enforces Status S = 2 ('B010') on 4-axis palletizer robots (KR 300 PA, KR 470 PA, etc.) to prevent special configuration faults.
  • Vorlaufstopp (Advance Run Breaker) Detection: Flags subprogram calls and I/O reads breaking the continuous advance pointer between C_DIS / C_PTP approximation points.
  • SUBMIT Interpreter Rules: Strictly forbids robot motion commands (PTP, LIN, CIRC) inside sps.sub and verifies ROBOT_STOP() usage.
  • Manipulator Dynamics & Overload Check: Cross-checks $config.dat LOAD_DATA against nominal arm payload from $TRAFONAME.
  • Hardware I/O Range Checks: Validates hardware limits for $IN/$OUT [1..4096/8192], $FLAG [1..1024], $TIMER [1..64], and $CYCFLAG.
  • SRC <-> DAT Integrity: Matches KUKA compiler error catalog parity (KSS01412, KSS01413, KSS01422, KSS01425) for unlinked module headers and missing point declarations.


--------------------------------------------------

4. 6D Kinematics & Trajectory Engineering
Full 4x4 Homogeneous Transformation Matrix math right inside the IDE:

  • Trajectory & Point Mirroring: Mirror paths across X, Y, or Z Cartesian planes with automatic recalculation of Turn bitmasks (T XOR 32, 40, 48) so robot wrists don't unwind 360ฐ.
  • 6D Batch Point Shift: Shift selected coordinates via Tool Offset (P : ΔF), Base Offset (ΔF : P), or Cartesian Delta vectors with live Monaco Diff preview.
  • Trajectory Reversal: Inverts motion path backwards with intelligent auxiliary/target point swapping for CIRC / SCIRC arcs.
  • Tool & Base Coordinate Inspector: Scans TOOL_DATA, BASE_DATA, and LOAD_DATA with one-click export to CSV spreadsheets.


--------------------------------------------------

5. Modern KRL & Fleet Tools

  • Official KUKA.Sim 4.10 System Variables: Autocomplete and full typing for over 950 system variables ($POS_ACT, $AXIS_ACT, $TORQMON, etc.) with German physical units and array dimensions.
  • iiQKA Spline Modernizer: Wrap legacy motions into modern SPLINE blocks with automated $TORQMON collision guard frames.
  • KRCDiag Inspector: Inspect native controller diagnostic packages and parse KrcLog.evt / KrcLogS.evt logs directly inside VS Code.
  • Interactive Control Center: Direct one-click access to 70+ utilities, calculators, and diagnostic switches.


--------------------------------------------------

How to Install or Update

1. Open VS Code.
2. Press Ctrl+P.
3. Paste:
Code:
ext install LiskinLabs.kuka-krl-extension


Or search for KUKA KRL Extension in the Extensions tab.

Useful Links:
• Documentation Portal: [url]https://liskinlabs.github.io/kuka-krl-extension/[/url]
• Visual Studio Marketplace: [url]https://marketplace.visualstudio.com/items?itemName=LiskinLabs.kuka-krl-extension[/url]
• Open VSX Registry: [url]https://open-vsx.org/extension/LiskinLabs/kuka-krl-extension[/url]
• Public Showcase & Issue Tracker: [url]https://github.com/LiskinLabs/kuka-krl-extension[/url]

--------------------------------------------------

If you have tricky robot backups, exotic KFD tech packages, or edge cases that trigger false positives — please let me know here or open an issue on GitHub. Let's make KRL programming reliable and fast together!


Last edited by Teknorob on 10/10/2026 20:54; edited 2 times in total
Back to top
View user's profile Send private message
fotamecus
Member
Member


Joined: 06 Nov 2017
Posts: 159

PostPosted: 03/02/2026 22:20    Post subject: Reply with quote

Nice! I will try it in next days.
Back to top
View user's profile Send private message
Teknorob
Junior 2
Junior 2


Joined: 18 Nov 2025
Posts: 21

PostPosted: 10/10/2026 21:49    Post subject: Re: KUKA KRL for VS Code Reply with quote

A quick note on updates & feedback (plus 100% discount for community members)

Just wanted to add a few words on how this project evolves.

I actively develop and update this extension primarily for my own daily needs — whenever I'm on-site commissioning KUKA cells and hit a real-world bottleneck, a tricky kinematic edge case, or an annoying manual routine, I turn it into an automated feature or linter rule in the next release.

Because of that, feedback from practicing engineers is what shapes the roadmap most:

  • If you have ideas for features or improvements that would speed up your workflow;
  • If you've found any bugs, false positives, or exotic KRL syntax that isn't parsed cleanly;
  • Or if there's a specific repetitive task you wish was automated in 1-click —

Please don't hesitate to reply here in the thread or send me a PM. I'm always open to discussing real production requirements and implementing them.

100% Discount for Forum Members:
Since I really want active feedback and battle-testing from this community, I can share a 100% OFF promo code for the Pro tier.
If you want to test the full industrial feature set (Live ZIP mounting, 6D trajectory mirroring, and Auto-Repair engine) in your projects, just drop a reply below or shoot me a PM, and I will send you the promo code!

Cheers!
Back to top
View user's profile Send private message
fotamecus
Member
Member


Joined: 06 Nov 2017
Posts: 159

PostPosted: 13/10/2026 20:56    Post subject: Reply with quote

Great!

I would like to get a promo code.
Back to top
View user's profile Send private message
Teknorob
Junior 2
Junior 2


Joined: 18 Nov 2025
Posts: 21

PostPosted: 14/10/2026 10:21    Post subject: Reply with quote

Hi fotamecus (and everyone following the thread),

First of all, thank you all for the massive interest, the extension has just crossed 3,500+ installs!

So that you can experience the full industrial toolkit in your real production projects, I generated 10 promo codes giving 100% OFF the first month of the Pro subscription:


  • Code:
    PLCFORUMH9YWNVGG

  • Code:
    PLCFORUMSZ4GUR3D

  • Code:
    PLCFORUMKNZLEGFU

  • Code:
    PLCFORUMCULFH77H

  • Code:
    PLCFORUMUHXFRC43

  • Code:
    PLCFORUML3HCG7TS

  • Code:
    PLCFORUMLNW3E25F

  • Code:
    PLCFORUMGFVEDSNE

  • Code:
    PLCFORUMKGZ3B8RV

  • Code:
    PLCFORUMX6B6VU6Z



(Note: Each code has limited activations. If all 10 codes above are already claimed and none of them work for you, just drop me a PM and I will send you an additional code).

--------------------------------------------------

How to Claim Your Free Pro Month & Activate the License:

1. Select the Monthly Plan & Apply the Code:
Go to the official checkout page: https://checkout.dodopayments.com/buy/pdc_0NmAaL3aw5WKbMZgAVCDZ (or direct Monthly Plan link: https://checkout.dodopayments.com/buy/pdt_0NmAUzwdbzeERSktsOLTp )

  • Select the KUKA KRL Professional (Engineer Pro Monthly — 1 Workstation) plan.
  • Paste one of the promo codes above into the discount box and click Validate your รฎntreg for the first monthly cycle will drop to $0.00.
  • Fill in your details (Full Name, Email, Billing address) and complete the order.


[url=https://ibb.co/JFvPRMJZ]KUKA KRL for VS Code KUKA KRL for VS Code[/url]

2. Get Your License Key from Email:
Immediately after checkout, Dodo Payments will email your license key (format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

3. Activate Inside VS Code (2 Quick Ways):
Open VS Code and enter your key using either method:

  • Via Left Sidebar Quick Menu: Click the KUKA KRL icon on the left Activity Bar -> expand KUKA Commands -> expand Support & Service -> click Activate Pro License.
  • Via Control Center: Open the KUKA KRL Professional Control Center (under Quick Actions & Audit -> Open Control Center) -> switch to the Account & Support tab -> under Profile & Key, click the orange Enter License Key button.

Paste your key into the prompt at the top of the editor and press Enter.

[url=https://ibb.co/VY2QQbDq]KUKA KRL for VS Code KUKA KRL for VS Code[/url]

--------------------------------------------------

Make sure to keep auto-updates enabled on the VS Code Marketplace. My colleagues and I rely on this extension daily on production lines — whenever we hit a bug, a new KSS edge case, or need an extra automation tool, I implement it and push a new release immediately.

Give the Pro tools a heavy run on your robot backups, and let me know how much commissioning time they save you!

Best regards.
Back to top
View user's profile Send private message
fotamecus
Member
Member


Joined: 06 Nov 2017
Posts: 159

PostPosted: 14/10/2026 13:46    Post subject: Reply with quote

Nice. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> CNC & Robotics-Reg. U All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro