VA Motion Controller Programming Manual
231
10.4.14 GT_STRIN (string is greater than)
LD, FBD
programming language
Function: The GT_STRING directive is used to determine if the first string is greater than the
second string.
OUT:=GT_ STRING ( IN1 , IN2 )
Note
: IL, ST
language programming needs to insert variables
IN1, IN2
and
OUT
or use
constants in the current
POU
variable worksheet
10.4.15 GE_STRING (string is greater than or equal to)
LD, FBD programming language
Function: The
GE_STRING
directive is used to determine if the first string is greater than or
equal to the second string.
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
GE_STRING data processing instruction type
Output if the first character of the first input string is
greater than or equal to the first
The first character of the two input strings is considered to
be IN1>=IN2, OUT=1; otherwise OUT=0; the size of the
characters is calculateDAccording to its ASCII code.