PLC Coder Timer Tia Portal

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?

Respuestas (1)

Sri Kapali
Sri Kapali el 18 de Feb. de 2022

0 votos

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).

Categorías

Más información sobre Simulink PLC Coder en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Dic. de 2019

Respondida:

el 18 de Feb. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by