EasyManuals Logo

Vector VEC-VA Series User Manual

Vector VEC-VA Series
649 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #159 background imageLoading...
Page #159 background image
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.
LD IN1
LT IN2
ST OUT
ST
programming
language
OUT:=IN1<IN2
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
Input and
output
Operand type
description
IN1
ANY
First input
IN2
ANY
Second input
OU T
BOOL
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
description
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 )
IL programming
language
LD, FBD programming language
Function: The
MAX
instruction is used to determine the maximum value of two values.
LD IN1
MAX IN2
ST OUT
ST
programming
language

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Vector VEC-VA Series and is the answer not in the manual?

Vector VEC-VA Series Specifications

General IconGeneral
BrandVector
ModelVEC-VA Series
CategoryController
LanguageEnglish

Related product manuals