Delta AS Series Programming Manual page 487

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
The diagram of switching to PID_MAN / MOUT_AUTO:
1.
When switching the control mode (PID_MAN=0) from automatic to manual, you can set the flag MOUT_AUTO
to 1 and the output value of MOUT goes along with the output value of MV. After switching to the manual mode
(PID_MAN=1), you can set the MOUT_AUTO to 0.
2.
When PID_RUN changes from TRUE to FALSE, the PLC resets the value in MV to 0. When the value in MV is
to be retained, you can set EN to FALSE to dismiss the instruction and to keep the output value in MV.
Example 1
1.
Set all parameters before executing this instruction.
2.
When M0 is ON, the instruction is executed. When PID_RUN is ON, the instruction applies the DPID algorithm.
When PIC_RUN is OFF, MV is 0, and store the value in MV. When M0 switches to OFF, the instruction is not
executed, and the previous data is unchanged.
_6
Additional remarks
1.
The instruction can be used several times, but the registers specified by I_MV–I_MV+14 cannot be the same.
2.
I_MV occupies 30 registers.
3.
You can only use the 32-bit instruction in cyclic tasks and interval interrupt tasks. When using the 32-bit instruction
in an interval interrupt task, the sampling time (Cycle) is the same as the interval between the timed interrupt tasks.
4.
When the instruction is scanned, the 32-bit PID algorithm is applied according to the sampling time (Cycle), and it
refreshes MV. When you use the instruction in an interrupt task, the sampling time (Cycle) is the same as the
6 - 2 0 8
PID
Calculation
Manual input
MOUT
PID_MAN
FALSE
MV
TRUE
TRUE
FALSE
MOUT_AUTO

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents