The HART Standard EDD _PV is automatically designed such that Primary Variable (PV) is mapped to Device Variable code 0, Secondary Variable (SV) is mapped to Device Variable 1, Tertiary Variable (TV) is mapped to Device Variable code 2, and Quaternary Variable (QV) is mapped to Device Variable code 3
Standard EDD _PV Definitions
If this is not the case, then see the example below
Example: PV, SV, TV, and QV are mapped to Device Variable codes 2,3,1, and 0 respectively
1. IMPORT STANDARD _PV:
a) For all Dynamic Variables supported (see Universal Command Specification, HCF_SPEC-127, FCG TS20127),
REDEFINE the member DEVICE_VARIABLE for all COLLECTION OF VARIABLE primary_variable, secondary_variable, tertiary_variable, quaternary_variable
b) Substitute any Device Variable codes 0, 1, 2, 3 with the correct code for each of the appropriate corresponding collections.
NOTE: Only Redefine those items that need modification .
b) Also, in IMPORT STANDARD _PV, update COLLECTION OF VARIABLE scaling using the same technique above
For Devices that support Commands 50 and 50, see How to modify HART EDD to support Commands 50/51?