300
7 PID Control Function
In this chapter, we mainly introduce the applications of PID instructions for XD, XL series,
including: call the instructions, set the parameters, items to notice, sample programs etc.
7-1 PID Introduction
PID instruction and auto tune function are added into XD/XL series PLC basic units. Via auto
tune method, users can get the best sampling time and PID parameters and improve the
control precision.
PID instruction has brought many facilities to the users.
Output can be data form D, HD, and on-off quantity Y, user can choose them freely when
programming.
Via auto tune, users can get the best sampling time and PID parameters and improve the
control precision.
User can choose positive or negative action via software setting. Positive action is used for
heating control; negative action is used for cooling control.
PID control separates the basic units with the expansions, which improves the flexibility of
this function.
XD/XL series PLC have two methods for auto tune, step response method and critical
oscillation method.
For temperature control object:
Step response method: the PID auto tune will start when current temperature of object
controlled is equal to ambient temperature.
Critical oscillation method: the PID auto tune can start at any temperature.
7-2 Instruction Form
1)Summary
Execute PID control instructions with the data in specified registers.
Normally ON/normally closed
coil trigger
2)Operands
set the address of the target value (SV)
set the address of the tested value (PV)
set the start address of the control parameters
the address of the operation result (MV) or output
port
tudonghoatoancau.com