Programming the HP E1415 for PID Control
79
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 you set History_mode 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 5 element FIFO entry is from.
See the program listing for PIDB in Appendix D page 347.
Defining a PID with
ALG:DEFINE
Select the PID algorithm you want to use (PIDA or PIDB). Determine which
channels to specify for the PID input, PID output, and optionally the digital
channel to use as an alarm channel. Execute the command
ALGorithm[:EXPLicit]:DEFine ’<alg_name>’,’<alg_def_string>’.
•
<alg_name> is ALG1 for the first defined algorithm, ALG2 for the
second etc. up to the maximum of ALG32. The "ALG" is not case
sensitive. That is, ALG1, alg1, aLg1 are all equivalent.
•
<alg_def_string> contains a string that selects the PID algorithm
(PIDA... , or PIDB... ), and specifies the input, and output "channels".
PIDB also takes an alarm "channel". The general form of the string is:
PIDx(<inp_channel>,<outp_channel>,<alarm_channel>)’
Summary of Contents for VXI 75000 C Series
Page 2: ......
Page 16: ...16 ...
Page 18: ......
Page 30: ...30 Getting Started Chapter 1 Notes ...
Page 32: ...32 Field Wiring Chapter 2 Figure 2 1 Channel Numbers at SCP Positions ...
Page 44: ...44 Field Wiring Chapter 2 Figure 2 11 HP E1415 Terminal Module ...
Page 54: ...54 Field Wiring Chapter 2 Notes ...
Page 61: ...Programming the HP E1415 for PID Control 61 Chapter 3 Programming Overview Diagram ...
Page 136: ...136 Creating and Running Custom Algorithms Chapter 4 Notes ...
Page 152: ...152 Algorithm Language Reference Chapter 5 Notes ...
Page 304: ...304 HP E1415 Command Reference Chapter 6 Command Quick Reference Notes ...
Page 308: ...308 Specifications Appendix A Thermocouple Type E 200 800C SCPs HP E1501 02 03 ...
Page 309: ...Specifications 309 Appendix A Thermocouple Type E 200 800C SCPs HP E1508 09 ...
Page 310: ...310 Specifications Appendix A Thermocouple Type E 0 800C SCPs HP E1501 02 03 ...
Page 311: ...Specifications 311 Appendix A Thermocouple Type E 0 800C SCPs HP E1509 09 ...
Page 312: ...312 Specifications Appendix A Thermocouple Type E Extended SCPs HP E1501 02 03 ...
Page 313: ...Specifications 313 Appendix A Thermocouple Type E Extended SCPs HP E1508 09 ...
Page 314: ...314 Specifications Appendix A Thermocouple Type J SCPs HP E1501 02 03 ...
Page 315: ...Specifications 315 Appendix A Thermocouple Type J SCPs HP E1508 09 ...
Page 316: ...316 Specifications Appendix A Thermocouple Type K SCPs HP E1501 02 03 ...
Page 317: ...Specifications 317 Appendix A Thermocouple Type R SCPs HP E1501 02 03 ...
Page 318: ...318 Specifications Appendix A Thermocouple Type R SCPs HP E1508 09 ...
Page 319: ...Specifications 319 Appendix A Thermocouple Type S SCPs HP E1501 02 03 ...
Page 320: ...320 Specifications Appendix A Thermocouple Type S SCPs HP E1508 09 ...
Page 321: ...Specifications 321 Appendix A Thermocouple Type T SCPs HP E1501 02 03 ...
Page 322: ...322 Specifications Appendix A Thermocouple Type T SCPs HP E1508 09 ...
Page 323: ...Specifications 323 Appendix A 5K Thermistor Reference SCPs HP E1501 02 03 ...
Page 324: ...324 Specifications Appendix A 5K Thermistor Reference SCPs HP E1508 09 ...
Page 325: ...Specifications 325 Appendix A RTD Reference SCPs HP E1501 02 03 ...
Page 326: ...326 Specifications Appendix A RTD SCPs HP E1501 02 03 ...
Page 327: ...Specifications 327 Appendix A RTD SCPs HP E1508 09 ...
Page 328: ...328 Specifications Appendix A 2250 Thermistor SCPs HP E1501 02 03 ...
Page 329: ...Specifications 329 Appendix A 2250 Thermistor SCPs HP E1508 09 ...
Page 330: ...330 Specifications Appendix A 5K Thermistor SCPs HP E1501 02 03 ...
Page 331: ...Specifications 331 Appendix A 5K Thermistor SCPs HP E1508 09 ...
Page 332: ...332 Specifications Appendix A 10K Thermistor SCPs HP E1501 02 03 ...
Page 333: ...Specifications 333 Appendix A 10K Thermistor SCPs HP E1508 09 ...
Page 334: ...334 Specifications Appendix A Notes ...
Page 346: ...346 Glossary Appendix C Notes ...
Page 388: ...388 Generating User Defined Functions Appendix F Notes ...