A
I'm trying to modify the units of an already defined control constant. The constant is AKPAP_Site. This should be 14.7 psi. The units are specified in Const_Q.SRC as CNT04. When this is added to the pressure transmitter (320 psi) that has units of psi the result id 2047.9 instead of 334.7. It is messing up the mass gas flow calculation. I tried changing it in Const_Q.SRC to psi. Then when it was complied there was an error that says AKPAP_Site is psi, should be CNT04 setting value to zero. Sure enough after download the output of the block was 320 psi. The unit was put back to CNT04 and the output went back to 2047.9. I think there must be another file that has to be changed but I can't figure it out. I also have the problem for an analog input that I want to specify as psi and when compiling it says it needs to be CNT15, which is what the spare ma input was originally defined. Anybody know? Thanks for any help.
Andy
Andy