Modulo function

Interest

The Modulo function allows to create periodic signals.

Definition

The Modulo(X,X1 ) function returns:

  • the remainder of the division of X by X1

Note: The arguments X and X1 can be formulas .

Operation mode

In case of transient application it is possible to define the triangular pulse function described in the figure below.

Create an I/O parameter: PE = Modulo(TIME, Tp ) ,

where:

  • TIME is the time parameter
  • Tp is the period value