Skip to main content

valueIsLessThan

Short summary​

This assertion method checks if the current value is less than the greater value

Parameters​

NameTypeCommentKind
currentValueBYTEcurrent value to checkinput
greaterValueBYTEgreater than upper limitinput
messageAssertMessagemessage if the assertion is falseinput

Code​

Declaration​

METHOD valueIsLessThan
VAR_INPUT
(* current value to check *)
currentValue :BYTE;
(* greater than upper limit *)
greaterValue :BYTE;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR