
runtime
- 1) The message listening function is started first, responsible for establishing the shared memory of RTS and for the communication between the functional modules within and between cores;
- 2) The data communication function is responsible for handling the external communication services and engineering file management of the RTS system;
- 3) The project loading task is responsible for starting the loading project and real-time monitoring of the new project update status of the configuration programming software;
- 4) The diagnostic function is responsible for various types of diagnosis of the RTS system;
- 5) ModbusTCP function is responsible for processing ModbusTCP;
- 6) Engineering redundancy tasks are responsible for master-slave engineering synchronization;
- 7) Engineering computing functions run on core 1, which is the core purpose of this RTS system: running user projects;
- 8) The data redundancy function is responsible for data synchronization of dual-machine redundancy;
- 9) Multi-bus function is responsible for IO data exchange;
- 10) The security scheduling function realizes the loading of engineering operation logic, the processing of some communication services, and the management of whether to update external input and output data;
- 11) The engineering operation function is responsible for executing the executable logic issued by the configuration programming software;
- 12) The PCIE communication function is responsible for data interaction with the external communication module and the I/O communication module.
Real-time operating systems
OS is divided into three layers: hardware layer, implementation layer, and interface layer, among which the implementation layer can be divided into hardware-related layer and hardware-independent layer.
The hardware layer defines processors of various architectures (ARM/PowerPC/x86) and peripherals (memory, network card, Flash, FPGA, etc.). The hardware layer directly affects the implementation of hardware-related layers.
For different types of hardware architectures, the hardware-related layer needs to have different implementations. The role of the hardware-related layer is to manage the hardware and provide the hardware-independent layer with basic interfaces for operating the hardware, such as reading and writing registers, operating addresses, and controlling peripherals. This isolates the hardware layer from the hardware-independent layer, shields hardware differences, and ensures that the hardware-independent layer does not need to be changed after hardware replacement. It is specifically divided into processor driver, peripheral driver, memory protection, interrupt exception handling, and inter-task communication.
Supported processor chips
ARM-V7 processor
PowerPC processor
MIPS Processors