<< 点击显示目录 >> 主页 exOS使用助手 > exOS Automation Help > Concept > Configurable execution |
除了处理传输和安装外,exOS 还允许配置 exOS 组件的执行。在大多数情况下,exOS 组件会包含一个(或多个)服务,这些服务会在 Linux 系统上自动运行,并连接到 PLC,在运行期间提供功能。但也可以在安装后定义程序的一次性执行。不同的选项可以在 exOS 软件包中预先配置,也可以为每个组件单独配置。
服务"一章 介绍了配置服务的可能选项。
此外,exOS 还与仿真环境完全集成,用于开发和调试代码。通过其抽象层,使用 Hypervisor 共享内存数据交换功能在目标系统上运行的二进制文件可以通过 WSL(Windows Subsystem for Linux)在本地开发 PC 上运行,也可以在虚拟机中通过 ARSim 运行。因此,可以使用断点对代码进行调试,而不会导致 AR Runtime 应用程序停止。
有关在仿真环境中调试的更多详情,请参阅 WSL 章节。
Besides handling transfer and installation, exOS allows to configure the execution of exOS Components. In most cases, an exOS Component will contain one (or more) services that are run automatically on the Linux system and connect to the PLC to provide functionality during runtime. But also defining a one-time execution of a program after its installation is possible. The different options can be pre-configured in the exOS Package or may be configured individually for each component.
The chapter Services describes the possible options for configuring services.
On top of that, exOS fully integrates with a simulation environment to develop and debug code. Due to its abstraction layers, the same binaries running on the target system using Hypervisor shared memory data exchange, may run locally on the development PC via WSL (Windows Subsystem for Linux) or in a Virtual Machine against an Automation Runtime Simulation (ARSim). So, the code can be debugged with breakpoints without causing the Automation Runtime application to halt.
Please see the WSL chapter for more details on debugging in a simulation environment.