Pid (Pid Control) - IDEC FC4A-C10R2 User Manual

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

21: PID I
NSTRUCTION

PID (PID Control)

PID
S1
*****
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.
FC4A-C10R2/C
FC4A-C16R2/C
Valid Operands
Operand
Function
S1 (Source 1)
Control register
S2 (Source 2)
Control relay
S3 (Source 3)
Set point
S4 (Source 4)
Process variable (before conversion) —
D1 (Destination 1) Manipulated variable
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.
21-2
S2
S3
S4
*****
*****
*****
FC4A-C24R2/C
X (8)
« FC4A M
ICRO
When input is on, auto tuning and/or PID action is exe-
D1
cuted according to the value (0 through 2) stored in a
*****
data register operand assigned for operation mode.
FC4A-D20K3/S3
X (8)
I
Q
M
— Q0-Q300 M0-M1270 — — —
S
U
'
M
»
MART
SER
S
ANUAL
FC4A-D20RK1/RS1 & FC4A-D40K3/S3
X (14)
R
T
C
D
— — — D0-D7973
— — — D0-D7999
— — — D0-D7999
— — — D0-D7999
Constant
0-4095

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents