5 - 15
MELSEC-Q/QnA
5. PID CONTROL PROCEDURE
5.1.1 Number of loops to be used and the number of loops to be executed in a
single scan
(1) The number of loops to be used means the number of loops for which PID
operation is executed. The sampling cycle time is measured for the set number
of loops when the PID operation instruction
*
is executed. PID operation is
executed for the loop for which the sampling cycle time reaches or exceeds the
set sampling cycle.
(2) Processing time increases in proportion to the number of loops for which PID
operation is executed when the PID operation instruction is executed.
A : Fixed time for measuring sampling time
Processing time = A + B n
B : Time required to execute PID operation for a
loop
n = Number of loops
(3) The number of loops to be executed in a single scan means the number of loops
for which PID operation is executed in one scan when there is more than one
loop for which sampling cycle time reaches or exceeds the set sampling cycle
when the PID operation instruction is executed.
If the number of loops to be executed in a single scan is set, PID operation is
only executed for the set number of loops even if there are a greater number of
loops for which the sampling cycle time reaches or exceeds the set sampling
cycle when the PID operation instruction is executed. PID operation is executed
for the rest of the loops in the next scan.
Sequence program
Execution of the PID operation
END 0
END 0
Scan time
Execution of
PID operation instruction
Next PID operation
instruction step
Processing time
= A + B n
Processing time
= A + B n
POINT
If the number of loops for which sampling cycle time reaches or exceeds the set
sampling cycle is greater than the number of loops to be executed in a single scan,
the PID operation execution priority is as follows:
(1) The lowest numbered loop is given the highest priority.
(2) If there are loops in the preceding scan for which PID operation has not been
executed, they are given the highest priority.
REMARK
*: The following instructions are available as the PID operation instructions.
S.PIDCONT (incomplete derivative)
PIDCONT (complete derivative)
Содержание Q Mode
Страница 1: ......
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 18: ...1 4 MELSEC Q QnA 1 GENERAL DESCRIPTION MEMO ...
Страница 48: ...4 14 MELSEC Q QnA 4 FUNCTIONS OF PID CONTROL MEMO ...
Страница 51: ...5 3 MELSEC Q QnA 5 PID CONTROL PROCEDURE MEMO ...
Страница 65: ...5 17 MELSEC Q QnA 5 PID CONTROL PROCEDURE MEMO ...
Страница 72: ...5 24 MELSEC Q QnA 5 PID CONTROL PROCEDURE MEMO ...
Страница 74: ...6 2 MELSEC Q QnA 6 PID CONTROL INSTRUCTIONS MEMO ...
Страница 120: ...9 28 MELSEC Q QnA 9 COMPLETE DERIVATIVE PID CONTROL INSTRUCTIONS AND PROGRAM EXAMPLES MEMO ...
Страница 125: ......
Страница 126: ......