< All Topics

Modify Motor Frequency Converter Symbol

  1. Look for a specific motor (contains “CO400) in its name
  2. Set Motors Connection ID
  3. Set the frequency converters symbol
  4. Print out motor name and symbol name
foreach (var motor in Experior.Core.Motors.Motor.Items.Values)
{
    if (motor.Name.Contains("CO400"))
    {
        motor.InputSpeed.ID = "Connection1";
        motor.InputSpeed.Symbol = "CO400.M1_FQ1";
        Log.Write("Name = " + motor.InputSpeed.Name + " Symbol = " + motor.InputSpeed.Symbol );
    }
}
Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Previous List and set Normally Closed on photocells
Next Set Output Bit From Code