functiondirectionOfRotation
Detect direction of rotation
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | A | Track A | |
| Boolean | preA | pre(Track A) | |
| Boolean | B | Track B | |
| Boolean | preB | pre(Track B) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | dir | Direction of rotation |