9 - 2
MELSEC-Q/QnA
9. COMPLETE DERIVATIVE PID CONTROL INSTRUCTIONS AND
PROGRAM EXAMPLES
QCPU
PLC CPU
Basic
Universal
Process CPU
QnA
Q4AR
*1
*1: First five digits of serial No. are 04122 or later
Applicable
CPU
Redundant
CPU
High Performance
9.1.1 PID control data settings
Usable Devices
Internal Devices
(System, User)
MELSECNET/10 (H)
Direct J \
Set Data
Bit Word
File Register
Bit Word
Special Function
Module U \G
Index Register
Zn
Constant Other
S
Instruction
mnemonic
Execution
condition
Command
PIDINIT
PIDINITP
S
PIDINIT
PIDINITP
Command
S
[SET DATA]
Set Data
Description
Data Type
S
First number of devices in which data for PID control is set
16-bit binary
[FUNCTIONS]
(1) The PID control data for the number of loops to be used, which are set to the
device number specified by
S
or later, are entered in the CPU module in a batch,
thereby making the PID control possible.
Refer to Section 5.1 for details of the PID control data.
(2) When the PIDINIT instruction is executed at more than one point within a scan,
the setting value of the PIDINIT instruction closest to the PIDCONT instruction is
effective.
(3) The PIDINIT instruction must be executed before the PIDCONT instruction.
PID control is not possible if the PIDINIT instruction has not been executed.
[OPERATION ERRORS]
(1) An operation error will occur, the error flag (SM0) will be turned ON, and an error
code will be stored in SD0, in the following cases.
• When the value set as the PID control data is outside the allowable range.
(Error code: 4100)
• When (Number of loops used) < (Number of loops executed in one scan).
(Error code: 4100)
• When (MV upper limit value) < (MV lower limit value).
(Error code: 4100)
• When the device range allocated to the PID control data area, designated by
S
,
exceeds the last device number of the corresponding device.
(Error code: 4101)
Содержание 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: ......