Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

This function adds a new PID controller to the NETx Server. The controller loop is called every ta seconds.

Signature

AddPidController (ItemID, ItemID, ItemID, number, number, number, number, number, number, number, number, boolean)

Parameters

Name

Type

Mandatory/Optional

Description

actualItemIdItemIDMThe item that provides the current value
setpointItemIdItemIDMThe item that provides the set point
controlItemIdItemIDMThe item that is used to write the control value
tanumberMThe time interval of the controller (in seconds)
KpnumberMThe proportional gain of the controller
KinumberMThe integral gain of the controller (Ki = Kp/ti)
KdnumberMThe derivative gain of the controller (Kd = Kp*td)
minControlValuenumberMThe minimum value of the control value
maxControlValuenumberMThe maximum value of the control value
esumMinnumberMThe minimum of the error sum
esumMaxnumberMThe maximum of the error sum
onChangebooleanMIf true, the control value is only sent if it changes

Return

None.

  • No labels