I have another challenge with the program. I'm attempting to ensure that a range of input can be given as a setpoint and that any other input (such as negative or greater than the highest possible setpoint) is flagged as an error and zero is moved to the data register. I've completed the logic to compare and move zero to the data register, but my challenge is determining how to flag the error code either through the HMI or from the ladder program.