Structured Text assigns values with := and ends statements with a semicolon. Arithmetic precedence still matters: multiplication happens before addition unless parentheses change the order. Use the same process inputs to compare the two expressions. A zero term can conceal a precedence mistake, so include nonzero and negative readings in the check.
For a request to add a fixed value to twice a measured quantity, only the measured quantity is multiplied. Parenthesizing the sum doubles both terms and changes the request. Use a nonzero fixed value and a negative measurement so neither a zero term nor a typical positive reading can hide the error.
Read the tag list and the requested sequence before editing.