Processing actual values

You can retrieve the actual values from the PI structure.

With the help of the structure of the command PI.LeftMDRDiagnostic, you can evaluate the error bits of the left drive:

  • #PI.LeftMDRDiagnostic.Overheat;
  • #PI.LeftMDRDiagnostic.MaxTorque;