Pid i, Source operand s1 (control register) – IDEC MicroSmart User Manual

Page 359

Advertising
background image

21: PID I

NSTRUCTION

« FC4A M

ICRO

S

MART

U

SER

S

M

ANUAL

»

21-3

Source Operand S1 (Control Register)

Store appropriate values to data registers starting with the operand designated by S1 before executing the PID instruction
as required, and make sure that the values are within the valid range. Operands S1+0 through S1+2 are for read only, and
operands S1+23 through S1+26 are reserved for the system program.

Note: The value stored in the data register designated by S1+3 (operation mode) is checked only when the star t input for
the PID instruction is turned on. Values in all other control registers are refreshed in ever y scan.

Operand

Function

Description

R/W

S1+0

Process variable
(after conversion)

When S1+4 (linear conversion) = 1 (enable linear conversion):
Stores the process variable after conversion.
When S1+4 (linear conversion) = 0 (disable linear conversion):
Stores the process variable without conversion.

R

S1+1

Output manipulated variable

Stores the output manipulated variable (manual mode output variable and AT
output manipulated variable) in percent.
0 to 100 (0% to 100%)

R

S1+2

Operating status

Stores the operating or error status of the PID instruction.

R

S1+3

Operation mode

0: PID action
1: AT (auto tuning) + PID action
2: AT (auto tuning)

R/W

S1+4

Linear conversion

0: Disable linear conversion
1: Enable linear conversion

R/W

S1+5

Linear conversion maximum
value

–32768 to +32767

R/W

S1+6

Linear conversion minimum
value

–32768 to +32767

R/W

S1+7

Propor tional gain

1 to 10000 (0.01% to 100.00%)
0 designates 0.01%,

≥10001 designates 100.00%

R/W

S1+8

Integral time

1 to 65535 (0.1 sec to 6553.5 sec), 0 disables integral action

R/W

S1+9

Derivative time

1 to 65535 (0.1 sec to 6553.5 sec), 0 disables derivative action

R/W

S1+10

Integral star t coefficient

1 to 100 (1% to 100%), 0 and

≥101 (except 200) designate 100%

200 executes integral action within the propor tional band (upgraded CPU only)

R/W

S1+11

Input filter coefficient

0 to 99 (0% to 99%),

≥100 designates 99%

R/W

S1+12

Sampling period

1 to 10000 (0.01 sec to 100.00 sec)
0 designates 0.01 sec,

≥10001 designates 100.00 sec

R/W

S1+13

Control period

1 to 500 (0.1 sec to 50.0 sec)
0 designates 0.1 sec,

≥501 designates 50.0 sec

R/W

S1+14

High alarm value

When S1+4 (linear conversion) = 0: 0 to 4095 (

≥4096 designates 4095)

When S1+4 = 1: Linear conversion min.

≤ High alarm ≤ Linear conversion max.

When S1+14 < S1+6 (linear conversion min.), S1+6 becomes high alarm.
When S1+14 > S1+5 (linear conversion max.), S1+5 becomes high alarm.

R/W

S1+15

Low alarm value

When S1+4 (linear conversion) = 0: 0 to 4095 (

≥4096 designates 4095)

When S1+4 = 1: Linear conversion min.

≤ Low alarm ≤ Linear conversion max.

When S1+15 < S1+6 (linear conversion min.), S1+6 becomes low alarm.
When S1+15 > S1+5 (linear conversion max.), S1+5 becomes low alarm.

R/W

S1+16

Output manipulated variable
upper limit

0 to 100, 10001 to 10099 (other values designate 100)

R/W

S1+17

Output manipulated variable
lower limit

0 to 100 (

≥101 designates 100)

R/W

S1+18

Manual mode output
manipulated variable

0 to 100 (

≥101 designates 100)

R/W

S1+19

AT sampling period

1 to 10000 (0.01 sec to 100.00 sec)
0 designates 0.01 sec,

≥10001 designates 100.00 sec

R/W

S1+20

AT control period

1 to 500 (0.1 sec to 50.0 sec)
0 designates 0.1 sec,

≥501 designates 50.0 sec

R/W

S1+21

AT set point

When S1+4 (linear conversion) = 0: 0 to 4095 (

≥4096 designates 4095)

When S1+4 = 1: Linear conversion min.

≤ AT set point ≤ Linear conversion max.

R/W

S1+22

AT output manipulated variable

0 to 100 (

≥101 designates 100)

R/W

S1+23
S1+24
S1+25
S1+26

— Reser ved for processing the PID instruction —

Advertising