3.15. PID.PID Class Reference

Public Member Functions

Public Attributes

3.15.1. Detailed Description

Represents a PID controller.

Attributes:
    domain (str): The domain name.
    name (str): The base name of the PID controller.
    conn: The connection associated with the PID controller.
    sp (float): Setpoint value.
    mv (float): Manipulated variable.
    pv (float): Process variable.
    ckd (float): Controller Kd value.
    cki (float): Controller Ki value.
    ckp (float): Controller Kp value.
    pki (float): Plant Ki value.
    pkp (float): Plant Kp value.
    amplitude (float): Amplitude value.
    offset (float): Offset value.
    automode (int): Auto mode flag.
    autotime (int): Auto time value.
    autotimeMs (int): Auto time in milliseconds.
    updatefrequency (int): Update frequency value.
    errorInt (float): Integral error.
    errorPrev (float): Previous error.
    errorDrv (float): Derivative error.
    setpointTimer: Timer for setpoint updates.
    mvPvTimer: Timer for MV and PV updates.
    dt (float): Time delta.
    next_call (float): Next call time.
    me: Model emitter.