21: PID I
NSTRUCTION
21-2
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
PID (PID Control)
Applicable CPU Modules and Quantity of PID Instructions
A maximum of 8 or 14 PID instructions can be used in a user program, depending on the CPU module type.
Valid Operands
For the valid operand number range, see pages 6-1 and 6-2.
Source operand S1 (control register) uses 27 data registers starting with the operand designated by S1. Data registers D0
through D1273 and D2000 through D7973 can be designated by S1. For details, see the following pages.
Source operand S2 (control relay) uses 8 points of outputs or internal relays starting with the operand designated by S2.
Outputs Q0 through Q300 and internal relays M0 through M1270 can be designated by S2. For details, see page 21-11.
Source operand S3 (set point): When the linear conversion is disabled (S1+4 set to 0), the valid range of the set point (S3)
is 0 through 4095 which can be designated using a data register or constant. When the linear conversion is enabled (S1+4
set to 1), the valid range is –32768 to 32767 that is a value after linear conversion. Use a data register to designate a nega-
tive value for a set point when the linear conversion is used. For details, see page 21-12.
Source operand S4 (process variable) is designated using a data register allocated as analog input data of the connected
analog I/O module, such as D760 or D766. See page 24-8. To read input data from an analog I/O module, designate a
proper data register number depending on the slot position of the analog I/O module and the analog input channel number
connected to the analog input source. For details, see page 21-13.
Destination operand D1 (manipulated variable) stores –32768 through 32767 that is a calculation result of the PID action.
For details, see page 21-13.
FC4A-C10R2/C
FC4A-C16R2/C
FC4A-C24R2/C
FC4A-D20K3/S3
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
—
—
X (8)
X (8)
X (14)
Operand
Function
I
Q
M
R
T
C
D
Constant
S1 (Source 1)
Control register
—
—
—
—
—
—
D0-D7973
—
S2 (Source 2)
Control relay
— Q0-Q300 M0-M1270 —
—
—
—
—
S3 (Source 3)
Set point
—
—
—
—
—
—
D0-D7999
0-4095
S4 (Source 4)
Process variable (before conversion)
—
—
—
—
—
—
D0-D7999
—
D1 (Destination 1) Manipulated variable
—
—
—
—
—
—
D0-D7999
—
When input is on, auto tuning and/or PID action is exe-
cuted according to the value (0 through 2) stored in a
data register operand assigned for operation mode.
D1
*****
S1
*****
PID
S2
*****
S3
*****
S4
*****
Содержание FC4A-C10R2
Страница 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Страница 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Страница 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Страница 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Страница 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Страница 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Страница 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Страница 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Страница 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Страница 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Страница 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Страница 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Страница 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...