15. Handy Instruction Design Examples ‹ When parameter setting exceeds its range, the upper bound and lower bound will become the setting value. However, if the motion direction (DIR) exceeds the range, it will be set to 0. ‹ The maximum error of sampling time TS = - (1 scan time + 1ms) ~ + (1 scan time). When the error affects the output, please fix the scan time or execute PID instruction in the interruption subroutine of the timer. ‹ PV of PID instruction has to be stable before the execution of PID instruction. If you are to extract the input value of DVP04AD/04DA/06XA/04PT/04TC for PID operation, please be aware of the A/D conversion time of these modules.
DVP-PLC Application Examples 15-26 +5: The range that error value (E) doesn’t work 0~32,767 Ex: when S3 +5 is set as 5, MV of E between -5 and 5 will be 0. +6: Upper bound of output value (MV) -32,768~ 32,767 Ex: if S3 +6 is set as 1,000, the output will be 1,000 when MV is bigger than 1,000. S3 +6 has to be bigger or equal S3 +7; otherwise the upper bound and lower bound will switch. +7: Lower bound of output value (MV) -32,768~ 32,767 Ex: if S3 +7 is set as -1,000, the output will be -1,000 when MV is smaller than -1,000. +8: Upper bound of integral value -32,768~ 32,767 Ex:
if S3 +8 is set as 1,000, the output will be 1,000 when the integral value is bigger than 1,000 and the integration will stop. S3 +8 has to be bigger or equal S3 +9; otherwise the upper bound and lower bound will switch. +9: Lower bound of integral value -32,768~ 32,767 Ex: if S3 +9 is set as -1,000, the output will be -1,000 when the integral value is smaller than -1,000 and the integration will stop. +10,11: Accumulated integral value 32-bit floating point The accumulated integral value is only for reference. You can still clear or modify it (in 32-bit floating point) according to your need. +12: The previous PV is only for reference.
The previous PV - You can still modify it according to your need. +13: ~ +19: For system use only.