.BLDC.Functions.directionOfRotation

Detect direction of rotation

Interface

function directionOfRotation
  extends Modelica.Icons.Function;
  input Boolean A "Track A";
  input Boolean preA "pre(Track A)";
  input Boolean B "Track B";
  input Boolean preB "pre(Track B)";
  output Integer dir "Direction of rotation";
end directionOfRotation;

Generated at 2025-04-01T18:24:36Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos