494 Example PID Algorithm Listings
Appendix G
Manual Control
The PIDB algorithm provides for manual control with "bumpless" transfer
between manual and automatic control. The variables that control the
manual mode are:
Auto/Manual control;
Man_state (0 = automatic (default), 1 = manual)
Manual output control;
Man_out (defaults to current auto value)
Manual control slew rate; Man_inc (defaults to 9.99E+37 (fast change))
Use the ALG:SCALAR and ALG:UPDATE commands to change the
manual control variables before or after the algorithm is running.
Status Variable
The PIDB algorithm uses 7 bits in a status variable (Status) to record the
state of clipping and alarm limits and the automatic/manual mode. When a
limit is reached or the manual mode is set, the algorithm sets a status bit to 1.
Output (<outp_chan>) at clipping limit;
Status.B0
I term (I_out) at clipping limit;
Status.B1
D term (D_out) reached at limit;
Status.B2
SD term (SD_out) at clipping limit;
Status.B3
Control mode (Man_state) is manual;
Status.B4
Error term (Error) out of limits;
Status.B5
Process Variable (<
inp_chan
>) out of limits;
Status.B6
History Mode
The PIDB algorithm provides two modes of reporting the values of its
operating variables. A variable
<History_mode>
controls the two modes.
The default history mode (
<History_mode>
= 0) places the following
algorithm values into elements of the Current Value Table (the CVT):
Process Variable (<
inp_chan
>) value to CVT element (10 * n) + 0
Error Term variable (Error) value to CVT element
(10 * n) + 1
Output (
<outp_chan>
) value to CVT element
(10 * n) + 2
Status word bits 0 through 6 (Status) to CVT element
(10 * n) + 3
Where n is the number of the algorithm from ’ALGn’.
So ALG1 places values into CVT elements 10 through 13, ALG2 places
values in CVT elements 20 through 23 ... ALG32 places values into CVT
elements 320 through 323.
When
<History_mode>
is set to 1, the operating values are sent to the CVT
as above and they are sent to the FIFO buffer as well. The algorithm writes
a header entry first. The header value is ( n * 256 ) + 4, where n is the
algorithm number from ’ALGn’ and the number 4 indicates the number of
FIFO entries that follow for this algorithm. This identifies which PIDB
algorithm the five element FIFO entry is from.
Содержание VT1422A
Страница 2: ...This page is blank...
Страница 8: ...8 Notes...
Страница 22: ...22 Support...
Страница 57: ...Field Wiring 57 Chapter 2...
Страница 58: ...58 Field Wiring Chapter 2...
Страница 96: ...94 Programming the VT1422A VT1529A B for Remote Strain Measurement Chapter 3...
Страница 162: ...160 Programming the VT1422A for Data Acquisition and Control Chapter 4...
Страница 224: ...222 Creating and Running Algorithms Chapter 6...
Страница 419: ...VT1422A Command Reference 417 Chapter 7 Notes...
Страница 420: ...418 VT1422A Command Reference Chapter 7 Notes...
Страница 425: ...Specifications 423 Appendix A Thermocouple Type E 200 800 C SCPs VT1501 02 03A...
Страница 426: ...424 Specifications Appendix A Thermocouple Type E 200 800 C SCPs VT1508 09A...
Страница 427: ...Specifications 425 Appendix A Thermocouple Type E 0 800 C SCPs VT1501A 02A 03A...
Страница 428: ...426 Specifications Appendix A Thermocouple Type E 0 800 C SCPs VT1508A 09A...
Страница 429: ...Specifications 427 Appendix A Thermocouple Type E Extended SCPs VT1501A 02A 03A...
Страница 430: ...428 Specifications Appendix A Thermocouple Type E Extended SCPs VT1508A 09A...
Страница 431: ...Specifications 429 Appendix A Thermocouple Type J SCPs VT1501A 02A 03A...
Страница 432: ...430 Specifications Appendix A Thermocouple Type J SCPs VT1508A 09A...
Страница 433: ...Specifications 431 Appendix A Thermocouple Type K SCPs VT1501A 02A 03A...
Страница 434: ...432 Specifications Appendix A Thermocouple Type R SCPs VT1501A 02A 03A...
Страница 435: ...Specifications 433 Appendix A Thermocouple Type R SCPs VT1508A 09A...
Страница 436: ...434 Specifications Appendix A Thermocouple Type S SCPs VT1501A 02A 03A...
Страница 437: ...Specifications 435 Appendix A Thermocouple Type S SCPs VT1508A 09A...
Страница 438: ...436 Specifications Appendix A Thermocouple Type T SCPs VT1501A 02A 03A...
Страница 439: ...Specifications 437 Appendix A Thermocouple Type T SCPs VT1508A 09A...
Страница 440: ...438 Specifications Appendix A 5k Thermistor Reference SCPs VT1501A 02A 03A...
Страница 441: ...Specifications 439 Appendix A 5k Thermistor Reference SCPs VT1508A 09A...
Страница 442: ...440 Specifications Appendix A RTD Reference SCPs VT1501A 02A 03A...
Страница 443: ...Specifications 441 Appendix A RTD SCPs VT1501A 02A 03A...
Страница 444: ...442 Specifications Appendix A RTD SCPs VT1508A 09A...
Страница 445: ...Specifications 443 Appendix A 2250 Thermistor SCPs VT1501A 02A 03A...
Страница 446: ...444 Specifications Appendix A 2250 Thermistor SCPs VT1508A 09A...
Страница 447: ...Specifications 445 Appendix A 5k Thermistor SCPs VT1501A 02A 03A...
Страница 448: ...446 Specifications Appendix A 5k Thermistor SCPs VT1508A 09A...
Страница 449: ...Specifications 447 Appendix A 10k Thermistor SCPs VT1501A 02A 03A...
Страница 450: ...448 Specifications Appendix A 10k Thermistor SCPs VT1508A 09A...
Страница 454: ...452 Specifications Appendix A...
Страница 480: ...478 VT1529A B Verification Calibration Appendix C...
Страница 484: ...482 Glossary Appendix D Notes...