Chapter 7. PID Built-In Function Block346 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C7.2 Reference Array for the PID FunctionThis parameter block for the PID function occupies 40 words of memory, located at the startingInstance Variable specified in the PID function block operands. Some of the words are configurable.Other words are used by the CPU for internal PID storage and are normally not changed.Every PID function call must use a different 40-word memory area, even if all the configurableparameters are the same.The configurable words of the reference array must be specified before executing the PID function.Zeros can be used for most default values. Once suitable PID values have been chosen, they can bedefined as constants in BLKMOV functions so the program can set and change them as needed.The LD version of the PID function does not pass power flow if there is an error in the configurableparameters. The function can be monitored using a temporary coil while modifying data.7.2.1 Scaling Input and OutputsAll parameters of the PID function are 16-bit integer words for compatibility with 16-bit analogprocess variables. Some parameters must be defined in either PV counts or units or in CV counts orunits.The SP input must be scaled over the same range as the PV, because the PID function calculateserror by subtracting these two inputs.The process PV and control CV counts do not have to use the same scaling. Either may be -32,000 or0 to 32,000 to match analog scaling, or from 0 to 10,000 to display variables as 0.00% to 100.00%. Ifthe process PV and control CV do not use the same scaling, scale factors are included in the PIDgains.