EasyManuals Logo
Home>Vector>Controller>VEC-VA Series

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 #156 background imageLoading...
Page #156 background image
VA Motion Controller Programming Manual
151
IN2
ANY
Second input
OUT
BOOL
result
When IN1<=IN2 , OUT is 1
When IN1>IN2 , OUT is 0;
program demonstration
Compare
V480
and
V481
in value
description
When the contact C300 is ON , the
instruction is executed;
When the address V480 is smaller than the
address V481 the value , V482 output is 1 :
When the address V480 is a value greater
than equal to the
address V481 the value , V482 output is 0 :
Execution result: 1.0<5.0 output 1
10.1.19 LIMIT (limit selection instruction )
IL programming language
LD, FBD programming language
Function: The LIMIT instruction is used to limit the input value to the interval determined
by the maximum and minimum values.
LD IN1
LIMIT IN , IN2
ST OUT
ST programming language
OUT:= LIMIT
(
IN1
,
IN,
IN2
)
Note : IL, ST language programming needs to insert variables IN, IN1, IN2 and OUT or use
constants in the current POU variable worksheet
LIMIT instruction processing data type
Input and
output
Operand type
description
IN1
ANY_INT
Minimum value
IN
ANY_INT
input value
IN2
ANY_INT
Maximum
OUT
ANY
output value
When IN1 <= ( the
IN ) <= IN2 when , OUT = the IN;
When IN<IN1 , OUT=IN1;
When IN>IN2 , OUT=IN2;

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