Skip to main content

valueIsGreaterThan

Short summary​

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

Parameters​

NameTypeCommentKind
currentValueLTIMEcurrent value to checkinput
lessValueLTIMEless than lower limitinput
messageAssertMessagemessage if the assertion is falseinput

Code​

Declaration​

METHOD valueIsGreaterThan
VAR_INPUT
(* current value to check *)
currentValue :LTIME;
(* less than lower limit *)
lessValue :LTIME;
(* message if the assertion is false *)
message :AssertMessage;
END_VAR