I am all but certain the divisor should be 4 not 3, the CLR should not be necessary with the current method, and a simpler approach would replace the
NXB CLR ... MVM ... NXB BTD ... DIV ... BND
inner branches, plus the first MUL on the next rung, with
NXB XIC Helper_DINT[10].29 OTE Helper_DINT[10].30 OTE Helper_DINT[10].30 NXB MUL Helper_DINT[10] 0.001 PT_4232.PSI BND
That said, how does multiplying -29.3334 by 0.001 yield a result of -0.022?
__________________
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good
Last edited by drbitboy; January 13th, 2022 at 04:27 PM.
|