Download Micro800 Programmable Controllers General Instructions

Transcript
Table of Contents
MC_ReadParameter ...................................................................... 468
MC_ReadStatus ............................................................................. 471
MC_Reset ...................................................................................... 476
MC_SetPosition ............................................................................ 479
MC_Stop ....................................................................................... 483
MC_TouchProbe........................................................................... 487
Motion fixed input/output........................................................................ 491
MC_WriteBoolParameter.............................................................. 492
MC_WriteParameter ..................................................................... 496
Chapter 18
Process control instructions
DERIVATE ................................................................................... 502
HYSTER ....................................................................................... 504
INTEGRAL................................................................................... 506
PWM ............................................................................................. 512
PWM status codes ....................................................................................... 514
SCALER ........................................................................................ 516
STACKINT................................................................................... 519
TND .............................................................................................. 522
LIMIT ........................................................................................... 524
Chapter 19
Program control instruction
SUS ............................................................................................... 528
Chapter 20
Proportional Integral
Derivative (PID) instruction
10
What is Proportional Integral Derivative (PID) control? ................ 532
How the IPIDController function block implements PID control . 533
IPIDCONTROLLER .................................................................... 535
GAIN_PID data type ................................................................................. 539
AT_Param data type ................................................................................... 540
IPIDController function block operation ...................................... 541
Using the Proportional Integral Derivative instruction .................. 543
Using auto-tune with the IPIDController function block .................. 543
Example: IPIDController with auto-tune .............................................. 550
Example: How to create a feedback loop for the manipulated value.. 552
Example: How to add a UDFB to a PID program ................................ 553
Example: How to create an IPIDController program to control
temperature................................................................................................... 554
RockwellAutomationPublication2080-RM001B-EN-E-March2014