Kernel adaptation: The FCS kernel simulation function is completely consistent with the actual FCS kernel interface, ensuring source code reuse and functional equivalence
Scheduling mechanism: After a thread calls the kernel simulation function, it triggers scheduling (scheduling point) and switches threads through the suspend/resume command of the Win32 API
Interrupt handling: An independent interrupt thread, triggered by a window message, pauses the current task when interrupted, and resumes scheduling after processing is completed
Summary and Future Prospects
Core achievement: Through FCS templates, flexible communication design, and virtual testing capabilities, we have achieved a unified improvement in engineering efficiency, enhanced adaptability of on-site equipment, and high reliability
Future direction: Plan to further expand open interfaces and cross platform features, extend FCS simulator technology to scenarios such as PC direct control processes and gateway function development, and strengthen the gateway application potential of on-site communication functions
Key issues
Question 1: Through which designs does the CENTUM CS 1000 reduce total cost of ownership (TCO)? Please explain from three dimensions: engineering, hardware, and maintenance.
Answer: 1 Engineering dimension: Provide FCS templates (regulation control, sequence control, monitoring), automatically allocate resources, control CPU load, simplify design process; Innovative FCS simulators and inter station communication simulators can complete application testing without actual hardware, reducing the cost of building engineering environments. 2. Hardware dimension: Integrating mature control functions and enhanced communication capabilities of the CENTUM CS series, without the need for additional dedicated communication modules, reducing hardware procurement costs. 3. Maintenance dimension: The communication function is separated from the control application, and there is no need to modify the control application when the protocol is changed; The synchronous hot standby system ensures uninterrupted control in case of CPU failure, reduces downtime maintenance losses, and overall improves system maintainability.
Question 2: How does CENTUM CS 1000 solve the problem of diversified communication of on-site control equipment? What are the advantages of its communication architecture?
Answer: Solution: 1 Adopting a "communication function and control application separation" architecture, communication data is stored in a separate "communication I/O area", and control applications access it through addresses or tags to automatically identify data types. Protocol changes do not affect control applications; 2. Provide commonly used protocol communication packages, special protocols support C language encoding adaptation, and are compatible with multiple interfaces and protocols. Advantages of Communication Architecture: 1 Strong flexibility, adaptable to dispersed and diverse on-site control equipment; 2. High stability, separate design reduces the impact of single module failure on the overall system; 3. Good scalability, supporting quick adaptation when adding or replacing on-site devices in the later stage.
Question 3: How do the FCS simulator and inter station communication simulator of CENTUM CS 1000 work together to achieve full process coverage of virtual testing?
Answer: Collaborative process: 1 Preliminary preparation: Generate control application definitions through engineering functions and import them into the FCS simulator; 2. Single FCS testing: The FCS simulator runs on the Windows NT system, simulating actual FCS control actions, and verifying the control logic of a single FCS by simulating internal VLnet communication and operation monitoring functions, as well as testing function interactions; 3. Multi FCS interaction test: Enable inter station communication simulator, receive cross FCS communication data packets sent by the target FCS simulator, save setting requests or return preset data, simulate data interaction between multiple FCS; 4. Result verification: View data status and set return values through a graphical interface to complete the full scenario testing of the control application. Core value: It can cover the entire process of testing from single FCS to multi FCS collaboration without the need for actual FCS hardware and multiple device networking, greatly improving engineering efficiency and reducing testing costs.
