In the default package of Ansys Scade Suite™ model-based development environment for critical embedded software, we will first add a Function Operator (operator without memory). We can name this accordingly and define 3 inputs and 1 output in its Interface. Using the graphic interface we can drag-and-drop the inputs and outputs to create the logic of the operator. To do so, we will also need to add Mathematical actions, multiplication, and division specifically, and then connect everything with a few simple clicks on each entity. The outcome should be like this:
Fig 2 Operator
All the inputs and outputs in this example are of type int16.
Great, now we have the operator that will convert the given position to some number of cycles for a specific frequency and coefficient of the controller.