Simulink Closed-Loop PID Autotuner生成PLC代码不是完整的功能块(FB)
Ältere Kommentare anzeigen
Simulink Closed-Loop PID Autotuner通过PLC Coder使用TIA Portal生成PLC代码导入TIA Portal软件中,然后在编程软件中使用"从源生成块"自动生成PLC功能块(FB),是分散的小功能块(如下图所示),而不是完整的Closed-Loop PID Autotuner功能块(FB),请问Closed-Loop PID Autotuner模块如何生成的PLC代码导入PLC编程软件中才能生成完整的PLC功能块(FB),功能块接口和Simulink Closed-Loop PID Autotuner一样。
Antworten (1)
Maithili
am 23 Feb. 2026 um 21:10
0 Stimmen
Here are the steps to generate code for the Closed-Loop PID Autotuner block using PLC Coder:
- Put the PID Autotuner block into a "subsystem" block
- Set that "subsystem" block to be "atomic"
- With above two, it should generate one PLC FB
Hope this is helpful, thanks
Kategorien
Mehr zu Real-Time PID Autotuning finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!