Included in 86Duino Coding IDE 502

86LDmicro 2.0

PLC programming for QEC EtherCAT controllers

Write your machine logic in ladder diagram, Structured Text or SFC (IEC 61131-3). Test it on your PC without hardware, upload it to a QEC controller and watch it run live. EtherCAT I/O, Motion86 multi-axis motion and 86HMI screens are part of the same project.

Free · Windows 10 / 11 · 86LDmicro 2.0.0 is included in 86Duino Coding IDE 502 (Beta now; the official release is coming)
86LDmicro 2.0 main window: a Motion86 axis moving in simulation, with its live trend and the project tree with the EtherCAT network

  1. WriteLD, ST, SFC and C/C++ in one project
  2. SimulateRun everything on your PC, no hardware
  3. マイコンボードに書き込むBuild, compile and upload with F8
  4. MonitorLive power flow, values and forcing

What you can do

One tool from the first rung to a running machine

86LDmicro builds your PLC project into an 86Duino sketch and uses the 86Duino IDE’s compiler and uploader, so the PLC, EtherCAT, motion and HMI all run on the same QEC controller.

IEC 61131-3

Ladder, ST, SFC — and C/C++

Mix the language that fits each part of the machine in one project, with your own functions and function blocks.

  • Ladder editor with toolbox, keyboard shortcuts and ready-made common circuits
  • Structured Text with completion, parameter hints and snippets
  • Sequential Function Charts with alternative and parallel branches
  • C/C++ user code that reads and writes the same PLC variables
A ladder diagram, a Structured Text program and an SFC chart in 86LDmicro

No hardware needed

Simulate on your PC

画面上の F5 and the whole project runs on your PC. Find mistakes before you touch the machine.

  • Green power flow and live values in every editor
  • Toggle the inputs in Simulation I/O
  • Watch, write and force variables; plot them in Trace
  • EtherCAT axes and 86HMI screens are simulated too
Simulation: the start/stop latch holds after the start button is released, Simulation I/O shows the output on

Online

Watch the controller live

Connect over the same USB cable you upload with and press Ctrl+F5.

  • Live power flow and values from the controller
  • Write and force variables, RUN / STOP, warm and cold restart
  • Scan time, watchdog and the controller’s Logbook
  • A serial monitor for your own messages
Online: the ladder diagram shows the controller's power flow, the Watch window its values, the status bar ONLINE COM4: RUN

EtherCAT

EtherCAT, built in

Scan and configure the network in the QEC EtherCAT Configurator, then take its ENI into the project.

  • Every PDO entry linked to a variable with a double click
  • SubDevice pages with live process data, SDO and the CoE object dictionary
  • 86LDmicro notices a new ENI on the controller and offers to take it
The SubDevice page of a QEC-R11CFFG I/O module: each PDO entry with its index, type and linked variable

Motion86

Multi-axis motion on CiA 402 drives

Create a machine of up to 9 axes, test each axis from its page, then program it.

  • PLCopen MC_* function blocks for single axes
  • M86_* machine blocks: linear and circular interpolation, G-code
  • Jog, home and move from the machine and axis pages — online or in simulation
  • Machines stop on STOP, watchdog and restart
The Gantry machine page online: three axes powered and moved to X 80, Y 40, Z 20 mm

86HMI

Touch screens bound to your variables

Design the screen in the 86HMI Editor and bind its widgets to PLC variables in 86LDmicro.

  • Buttons, switches, lamps, numbers, bars and texts
  • Trends, alarm banners and page changes from the PLC
  • The 86HMI simulator runs with the PLC simulation on your PC
The 86HMI simulator of the XY dispensing station example, running with the PLC simulation

And more

Bring your programs, extend them, get help

A PLCopen XML project from CODESYS imported into 86LDmicro

Import LDmicro 1.1 and PLCopen XML

Open your LDmicro 1.1 programs (.ld) or PLCopen XML exported by CODESYS, OpenPLC or Beremiz. Your original files are never changed.

C/C++ user code in 86LDmicro with a build error pointing to its line

C/C++ next to the PLC

Use the 86Duino libraries — Ethernet, Modbus, CAN, EtherCAT objects — in user code with hook functions and GVL() access to PLC variables.

The AI assistant answering with a ladder network to insert

AI assistant and MCP

Ask the built-in assistant to explain an error or write ST and ladder code, then insert the answer. Claude Desktop and other MCP clients can read, check and simulate your project.

How it fits together

Your PC, one USB cable, a QEC controller

System: a Windows PC with the 86Duino IDE and 86LDmicro, connected over USB to a QEC-M-02, with EtherCAT I/O modules and a 3-axis drive

Requirements

Operating systemWindows 10 / 11 (64-bit)
86Duino IDE86Duino Coding IDE 502 — 86LDmicro 2.0.0 is included
ControllerQEC-M-02; the other QEC boards of the 86Duino IDE can be selected in the project settings
ConnectionUSB cable to the controller (upload, online monitoring, serial monitor)
オプションMicrosoft Edge (EtherCAT Configurator in its own window); Python 3 (MCP server for AI tools)

QEC-M-02 EtherCAT MainDevice

QEC-M-02
EtherCAT MainDevice with local isolated I/O, the controller 86LDmicro 2.0 is developed and tested on. See the QEC MDevices

Get started

From a blank project to a running PLC in 5 steps

The full walkthrough, with every click, is in chapter 5 of the user manual.

The 86Duino IDE 502

Install the IDE

Download 86Duino IDE 502 from the Software ページ and unzip it. 86LDmicro is already inside.

A new 86LDmicro project

Open 86LDmicro

Open a sketch, select your QEC board and COM port, then Tools > 86LDmicro. It creates the project for you.

A start/stop latch and a timer in ladder

Write the program

Declare the variables and draw a start/stop latch and a timer with the toolbox and shortcuts.

The program running in simulation

Simulate

画面上の F5, toggle the inputs in Simulation I/O and watch the power flow turn green.

The program running on the controller, online

Upload and go online

画面上の F8 to upload, then Ctrl+F5 to watch the controller live.

ドキュメンテーション

User manual

Installation, the interface, ladder, ST and SFC, simulation, EtherCAT, Motion86, 86HMI, C/C++ user code, the AI assistant and troubleshooting — with step-by-step examples and over 300 pictures.

Cover of the English manual
English
86LDmicro User Manual v2.0 · PDF
ダウンロード
Cover of the Traditional Chinese manual
繁體中文
86LDmicro 使用手冊 v2.0 · PDF
下載
Cover of the Japanese manual
日本語
86LDmicro ユーザーマニュアル v2.0 · PDF
ダウンロード

Offline documents are also included in the IDE: tools\LDmicro\tool\docs (USER_GUIDE.md, USER_CODE_API.md, ETHERCAT_MOTION.md).

For engineers

Automate, extend, integrate

Command-line tool

86ldmicro-cli checks, builds, simulates, uploads and monitors projects from scripts and CI. Manual, section 15.5.

C/C++ user code API

Hook functions, GVL() access and EtherCAT objects: USER_CODE_API.md and chapter 14 of the manual.

AI tools

The 86LDmicro skill and AI reference (docs\ai) and the MCP server (mcp). Manual, section 15.4.

Source code

86LDmicro is free software under the GNU GPL v3. 86LDmicro-2.0.0-src.zip — build instructions in README.md.

FAQ

Frequently asked questions

Is 86LDmicro free?

Yes. 86LDmicro is free software under the GNU GPL v3 and is included in the 86Duino IDE; its source code can be downloaded from this page. The programs you write with it are yours — see the license note below.

Do I need a controller to try it?

No. You can create, check and simulate a project on your PC. Connect a QEC controller when you want to upload and monitor it online.

I have programs written in LDmicro 1.1. Can I use them?

Yes. Open the sketch from the IDE and 86LDmicro offers to import data\myLD.ld, or use File > Import. The original file is not changed, and the old LDmicro 1.1 can still be used.

Which controllers are supported?

86LDmicro 2.0 is developed and tested on the QEC-M-02. The other QEC boards of the 86Duino IDE can be selected in the project settings.

Does it support EtherCAT drives from other vendors?

EtherCAT SubDevices described in the ENI from the QEC EtherCAT Configurator can be used; CiA 402 drives can be used as Motion86 axes.

Where do I get help?

Read the user manual and its FAQ chapter first. For anything else, talk to QEC.

Start with the 86Duino IDE 502

86LDmicro 2.0 is inside — open a sketch and choose Tools > 86LDmicro.

Go to the Software page

86LDmicro 2.0 © 2026 ICOP Technology Inc., based on LDmicro by Jonathan Westhues and contributors. 86LDmicro is free software under the GNU General Public License v3; download its complete source code: 86LDmicro-2.0.0-src.zip.
上部へスクロール