PLC Coder Timer Tia Portal

3 Ansichten (letzte 30 Tage)
zara8783
zara8783 am 12 Dez. 2019
Beantwortet: Sri Kapali am 18 Feb. 2022
I generated a Stateflow code with PLC Coder. In the Stateflow I created a delay. We loaded this generated PLC code into Tia Portal and additionally received a function block PLC Coder Timer. How can I use it so that it is time-controlled like in Stateflow?

Antworten (1)

Sri Kapali
Sri Kapali am 18 Feb. 2022
Hello,
We added an option https://www.mathworks.com/help/plccoder/ug/plc-coder-interface.html#mw_1e9d7724-d4df-4702-a596-3d3f27bacf5e in R2020b where you can specify whether the generated code uses the target IDE timer implementation or Simulink timer implmmenetation (Target-Independent Counter).

Kategorien

Mehr zu Simulink PLC Coder finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by