Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An Xlogic implementation of a PID controller.

Description

Triggers the PID control loop of the provided control item. The XCommand has to be invoked every ta seconds (i.e. the controller interval).

Inputs

Name

Type

Mandatory/Optional

Description

actualItemIDMThe item that provides the current value
setpointItemIDMThe item that provides the set point
controlItemIDMThe item that is used to write the control value

Outputs

None

Parameters

Name

Type

Mandatory/Optional

Description

KpnumberMThe proportional gain of the controller
KinumberMThe integral gain of the controller (Ki = Kp/ti)
KdnumberMThe derivative gain of the controller (Kd = Kp*td)
esumMinnumberMThe minimum of the error sum
esumMaxnumberMThe maximum of the error sum
minValuenumberMThe minimum value of the control value
maxValuenumberMThe maximum value of the control value

Possible trigger types

  • Timer

...

Article applies to the following products:

  • NETx BMS Platform R2 Build 1000+
  • NETx Multi Protocol Server R2 Build 1000+