The leader in industrial automation and control solutions

Information about PID (Proportional-Integral-Derivative) control configuration within MapleLogic.

In this section

Browse the pages in this section for detailed information on each topic.

  1. PID Basics

    PID Control Basics Proportional-Integral-Derivative, PID, control is a control loop feedback mechanism in which the controller continuously calculates an error value as the difference between a measured process value (PV) and a desired set value (SV). The PID controller attempts to minimize the error over time by adjusting a control variable to a new value.…

  2. Instructions

    PID Control Instructions There is no need to manually write the PIDCAL and PIDINIT instructions since they are automatically created by the PID special program. To write a PID program in the ladder diagram, refer to the below Instructions below PID Initialization Instruction: PIDINIT PIDINIT is used to check the items and to initialize the…

  3. Specifications

    PID Control Specifications ItemSpecificationNoteProportional Gain (Kp)1 ~ 30,0001 ~ 6,553,500Integral Gain (Ki)0 ~ 30,000(0.0s ~ 3,000.0s)No Integral Operation: 0Derivative Gain (Kd)0 ~ 30,000(0.0s ~ 3,000.0s)No Derivative Operation: 0Sampling Interval (Ts)1 ~ 6,000(0.01s ~ 60.00s)Range of Set Value (SV)0 ~ 16,000Range of Process Value (PV)0 ~ 16,000Range of Manipulated Output Value (MV)0 ~ 16,000Range of Manually Manipulated Value…

  4. PID Initialization

    The PIDINIT instruction checks the items and initializes the data registers set up for a PID operation. The PID Control Special Program: If the value of each item is 0, that item is not used in the PID calculation. PID Control Initialization OffsetItemDescriptionRangeNote0Number of Loops-1 ~ 321 ~ 64Common for All Loops+1Number of Loops for…

  5. PID Calculation

    PID Control Calculation The PIDCAL performs a PID calculation based on the set value (SV) and process value (PV) values. The result of the calculation is stored in the manipulation value (MV) area of the WORD data register. Refer to the table below for operation data locations: Operation Data Location OffsetItemDescription & Range0Set Value (SV)0…

  6. Error Codes

    PID Control Initialization Error Codes CodeError NameDescriptionRange0No ErrorPID is functioning without error.-1Error in Number of LoopsThe loop value is out of the range, 1 ~ 32 or 1 ~ 64.AllLoops2Error in 1 Scan Loop NumberNo error in the value, PID operation can be omitted if the setting value (SV) is too small.AllLoops3Error in Operation TypeA value is neither 0 or 1.EachLoop4Error…