VA Motion Controller Programming Manual
234
When the contact
C 207
is
O N
time , the
instruction is executed, when the
address
V4 32
the string length is not equal to
the address
V4 33 is
the string length
of time; address
V4 34 is
the output
1
; No's
output
0
Execution of results
; V42 . 9 < >
V4 30
Output
1
10.4.18 LE_STRING (string is less than or equal to)
LD, FBD programming language
Function: The
LE_STRING
directive is used to determine if the first string is less 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
LE_STRING instruction processing data types
Output, if the first character of the first input string is
less than or equal to the first character of the second input
string, then IN1<=IN2, OUT=1; otherwise OUT=0; the size
of the characters are pressed Its ASCII code calculation
Funtion and Action examples
Comparison
V4 35
and
V436
two
character strings