Toshiba PROSEC T3H user manual Floating point essential PID FPID3, Expression

Page 53

2. Expanded Functions

2.4.3 Floating point essential PID (FPID3)

FUN 232

FPID3

Floating point essential PID

Expression

Input [ A+1A FPID3 B+1B C+1C ]Output

Function

Performs PID (Proportional, Integral, Derivative) control which is a fundamental method of feed-back control. (Pre-derivative real PID algorithm)

The operation of this FPID3 instruction is the same as the PID3 (FUN156) instruction except for dealing data as floating point data.

Execution condition

Input

Operation

Output

OFF

Initialization

OFF

ON

Execute PID every setting interval

ON when

 

 

execution

Operand

 

 

Name

 

 

 

 

Device

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

 

 

 

 

Con-

Index

 

 

 

 

 

X

Y

S

L

R

Z

T.

C.

I

O

X

Y

S

L

 

R

W

T

 

C

D

F

 

I

O

I

J

K

stant

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

W

W

W

W

W

 

 

 

 

 

 

W

W

 

 

 

 

 

 

 

 

A

Top of input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B

Top of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

parameter

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

C

Top of

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

output data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input data

 

 

 

B+1B

 

 

Control parameter

 

 

 

C+1C

 

 

Output data

 

 

 

 

A+1A

Process input value

 

PVC

Proportional gain

 

 

 

 

KP

Manipulation value

MV

 

 

 

A-mode set value

 

ASV

 

 

 

Integral time

 

 

 

 

 

 

TI

 

 

 

Last error

en-1

 

 

 

C-mode set value

 

CSV

 

 

 

Derivative time

 

 

 

 

TD

 

 

 

Last derivative value

Dn-1

 

 

 

M-mode MV input

MMV

 

 

 

Dead-band

 

 

 

 

 

GP

 

 

 

Last PV

PVn-1

 

 

 

MV tracking input

 

TMV

 

 

 

A-mode initial SV

 

 

ISV

 

 

 

Last SV

SVn-1

 

 

 

Mode setting

MODE

 

 

 

Input filter constant

 

 

 

FT

 

 

 

Integral remainder

 

 

Ir

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ASV differential limit

DSV

 

 

 

Derivative remainder

 

Dr

 

 

 

A-mode: Auto mode

 

 

 

 

 

 

 

MMV differential limit DMMV

 

 

 

Internal MV

MVn

 

 

 

 

 

 

 

 

 

 

Initial status

 

 

 

 

STS

 

 

 

Internal counter

 

 

C

 

 

 

C-mode: Cascade mode

 

 

MV upper limit

 

 

 

MH

 

 

 

Control interval

 

t

 

 

 

M-mode: Manual mode

 

 

MV lower limit

 

 

 

ML

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MV differential limit

 

DMV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Control interval setting

 

 

n

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User’s Manual 51

Image 53
Contents USER’S Manual Important Information Hazard Classifications General InformationWiring Safety Precautions InstallationOperation Maintenance Safety Label Terminology About This ManualT3 manuals VacContents Prosec T3H Section T3H Overview Introducing the T3H Differences between T3H and T3 Two types of T3H CPU modules are available T3H components CPU moduleStatus LEDs RAM/ROM switchMode control switch Programmer port Battery coverComputer link port IC memory card slotExpansion interface module CPU T3H CPUCH1 CH2 Expansion cable Power supply moduleRack Following types of I/O modules are available O moduleModule internal current consumption Data transmission moduleTOSLINE-S20LP AsciiRAS Specifications Functional specificationsSFC Instruction execution speed Tenr TeorTest DtstRST SETTset TrstSIN PID2COS TANInstruction execution speed cont’d Shown below Section Expanded Functions System operation Auto-RUN / Standby selection Timer interrupt intervalSaving the sampling trace condition Auxiliary register Expanded registersExternal I/O register Link register TimerLink Global Special register File registerSEND/RECV Expanded FunctionsTOSLINE-S20 Expanded Functions Starting register Expanded file register data read MRADR S T Expanded file register data Write MWExpanded Functions TOSLINE-S20LP loop support Ethernet support Instructions Double-word multiplication and division D∗ Expanded Functions DSV Essential PID PID3Algorithm Control block diagramParameter details ASV ← ISV OperationExpanded Functions Floating point essential PID FPID3 Digital filter PVn = 1− FT⋅ PVC+ FT⋅ PVn − Here ≤ FT ASV differential limit DSV 0 to 100 %/∆ t Data range +1 ⋅C Expanded Functions Expanded data transfer Xfer Type Transfer parameter tableCPU register ↔ Expanded F register IC memory card CPU register ↔ S20/S20LP scan memory CPU register ↔ Eeprom D register When the data writing address range exceeds page boundary MID Network data send SendExpanded Functions S20LP T3H self-station RW100 RW101 RW227 Network data receive Recv Expanded Functions H0A Expanded Functions Prosec T3H Toshiba Corporation