VA Motion Controller Programming Manual
154
Function: The
LT
instruction is used to compare the size of two values. When the first input is
less than the second, the output is
1
and the others are
0.
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
Data type processed by
LT
instruction
Result :
When
IN1 < IN2
,
OUT
is
1;
When
IN1 >= IN2
,
OUT
is
0;
Funtion and Action examples
Comparative V491 ( 10.0 )
and V492 ( 100.0 ) of the value
When the contact is ON when the instruction
is executed, when the address V491 is a
value smaller than V492 the value , the
address V493 the output 1
Execution result: 10.0< 100.0 =
V493 output 1
10.1.23 MAX (Maximum Instruction )
LD, FBD programming language
Function: The
MAX
instruction is used to determine the maximum value of two values.