@huihoo: .NET 在嵌入式领域的又一成功应用 PLCnextTechnology 嵌入式公共语言运行时 (eCLR) 该运行时系统能够将标准硬件和特定的嵌入式平台转换为符合 IEC 61131 标准的超高速、功能强大且具备多任务处理的控制器。Pr…
摘要
This tweet thread discusses the success of .NET in embedded systems via PLCnext Technology's eCLR runtime, and highlights the PLCnext ROS Bridge that enables hardware interoperability between industrial PLCs and ROS for robotic applications.
查看缓存全文
缓存时间: 2026/07/15 19:59
.NET 在嵌入式领域的又一成功应用 PLCnextTechnology 嵌入式公共语言运行时 (eCLR)
该运行时系统能够将标准硬件和特定的嵌入式平台转换为符合 IEC 61131 标准的超高速、功能强大且具备多任务处理的控制器。ProConOS 嵌入式 CLR 使用符合 ISO/IEC 23271 标准的通用中间语言 (CIL)。IEC 61131 语言以及 C# 均可用于对固件和功能块进行编程。通过提前编译 (AOT),CIL 中间代码在执行前会被翻译成本地机器代码。因此,源代码可以非常快速地实时执行
之前有介绍 .NET nanoFramework https://x.com/huihoo/status/2037320525949898794…
这里想表达的就是学习和掌握更多硬件嵌入式实时系统的技能 牢牢把握住物理光电硬件的第一线能力 而不是仅靠软件技能和 AI(这个可能会加速你的变废)
最近想就 PLC 和 ROS 展开学习下 https://rosindustrial.org/news/2026/3/27/plcnext-ros-bridge-enabling-hardware-interoperability-between-industrial-plcs-and-ros…
PLCnext ROS Bridge: Enabling Hardware Interoperability Between Industrial PLCs and ROS — ROS-Industrial
Source: https://rosindustrial.org/news/2026/3/27/plcnext-ros-bridge-enabling-hardware-interoperability-between-industrial-plcs-and-ros For developers already working with ROS, the integration of industrial fieldbuses, I/Os, and functional safety into robotic applications often introduces unexpected challenges. ROS offers a flexible and modular software framework, although connecting it to industrial automation hardware typically requires additional integration layers and specialized knowledge.
This led Phoenix Contact to the idea of creating a solution that allows ROS developers to leverage a PLC where it excels, for example in deterministic control, industrial communication, and safety, while high performance computation and complex logic remain handled within ROS.
PLCnext Technology Architecture Overview
PLCnext Controls run on Yocto Linux, a real-time capable operating system that hosts the PLCnext Runtime. The Runtime manages deterministic process data and stores it in the Global Data Space (GDS).
Key architectural components:
- PLCnext OS: Yocto-based embedded Linux
- PLCnext Runtime (tasks, data handling, Axioline integration): Provides deterministic processing and the Global Data Space
- Global Data Space (GDS): Central storage for process variables accessible from PLC programs and system apps
- PLCnext Apps: Packaged software components that can be installed on the controller
PLCnext ROS Bridge
Concept
At its core, the PLCnext ROS Bridge is a custom ROS node with dedicated services running inside a Docker container, packaged as a PLCnext App. It provides a bidirectional communication gateway between the PLCnext Global Data Space (industrial side) and ROS topics (robotics side).
To illustrate this, consider a motor connected to the PLC viaEtherCAT/FSoEorPROFINET/PROFIsafe. The motor, along with its associated safety functions, can be managed through simple PLC logic and represented by a set of variables. Depending on the implementation, these variables, such as setpoints, command velocities, etc., can be exposed to ROS. When the navigation stack publishes a command velocity, the ROS Bridge, as a subscriber to this topic, writes the received values to the corresponding variable on the PLC side. Likewise, information such as safety status or system state can be sent from the PLC to ROS and made available through a defined topic.
Commissioning Workflow
The ROS Bridge Node is generated through an automated code-generation process. This process is driven by the Interface Description File (IDF), which defines the PLC instance paths (variables) that should be exposed to ROS.
A typical build process performs the following steps:
- Building the ROS Packages- Parse the IDF and generate the source code for the topic, publisher and subscribers - Build the ROS Node
- Place the resulting binaries and gRPC dependencies into a Docker image with a minimal ros-core installation.
- Package the Docker image, together with required metadata, into a read-only PLCnext App.
The resulting App can be deployed to a PLCnext Controller using the Web-Based Management (WBM) interface. While it is possible to build everything in a local environment, the project is designed to be built via CI/CD. An example pipeline can also be found in the GitHub repository.
Runtime Behaviour
After installation, the App starts the container defined via the compose file. Inside this container, the generated ROS Node connects to the Global Data Space using the built gRPC client and then exposes the selected PLC variables via ROS publishers and subscribers. This enables ROS developers to integrate automation components, such as sensors, actuators, I/O modules, and fieldbus devices, into a ROS-based architecture through the GDS. Moreover, the Bridge sets up a set of services that enable users to read and write information at runtime.
Further Reading
- A Demo including a PLCnext Project can be downloaded from the PLCnext Store:https://www.plcnextstore.com/permalinks/apps/latest/60002172000613
- The Source Code can be found in the PLCnext GitHub Repository:https://github.com/PLCnext/PLCnext-ROS-bridge
More Information about the PLCnext Technology:
灰狐 (@huihoo): 嵌入式系统开发一直是 C/C++ 的优势领域 C# 也在这个领域有了不错进展
.NET nanoFramework 是一个针对受限嵌入式设备的免费开源平台 https://t.co/pX0SpmZIVL
作为开发人员,你可以使用强大而熟悉的工具,如:Visual Studio 和 .NET C# 技能在微控制器上编写应用
相似文章
@Russell3402: https://x.com/Russell3402/status/2056331558223786416
本文深入探讨多智能体系统的分工设计,包括触发方式、拓扑结构和调用链,分析Codex、Claude Code、OpenClaw、Hermes Agent等系统的工程实践。
@GitTrend0x: 微软宣布推出 OpenClaw 官方应用。 允许代理控制你的 Windows: ✓ 内置权限 ✓ 从系统托盘实现完全控制 ✓ 默认安全,在容器中运行 开源代码: https://github.com/openclaw/openclaw-w…
微软宣布推出OpenClaw官方Windows应用,允许AI助手控制Windows,具有内置权限、系统托盘完全控制和容器安全运行。
@seclink: https://x.com/seclink/status/2067970118873993482
当前主流纯数据驱动机器人方案存在数据效率低、泛化性差的缺陷,新提出的神经符号物理智能范式将任务拆分为世界建模和规划两步,仅需1-10个演示即可学会新任务,泛化能力远超传统端到端方案,为通用机器人提供了更可靠的路径。
@oragnes: 最近挖到一个 Harness 硬核的开源项目:pi(前阵子刚从 badlogic 迁到 earendil-works 旗下)。 是一套为开发者兜底的 AI Agent 基础设施全家桶 + 终端编程助手 CLI。 少造点轮子:直接提供了一套…
Pi 是一个开源的 AI Agent 基础设施套件和终端编程助手 CLI,提供统一 API 以抹平多模型差异,支持并发工具调用以降低延迟,并允许开发者控制思考预算。
@Alacritic_Super: 如果你正在构建软件定义汽车、机器人技术或嵌入式系统,不妨了解一下 Veecle OS。它是一个开源的…
Veecle OS 是一个基于 Rust 的开源编程框架,使开发者能够使用统一架构为低功耗嵌入式设备和高性能系统编写软件,面向软件定义汽车、机器人技术和嵌入式应用。