PLC Coder Timer Tia Portal

조회 수: 3 (최근 30일)
zara8783
zara8783 2019년 12월 12일
답변: Sri Kapali 2022년 2월 18일
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?

답변 (1개)

Sri Kapali
Sri Kapali 2022년 2월 18일
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).

카테고리

Help CenterFile Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by