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;
Summary of Contents for VEC-VA Series
Page 1: ......
Page 25: ...VA Motion Controller Programming Manual 20 Word STRING String VECTOR ...
Page 90: ...VA Motion Controller Programming Manual 85 ...
Page 116: ...VA Motion Controller Programming Manual 111 ...
Page 139: ...VA Motion Controller Programming Manual 134 ...
Page 274: ...VA Motion Controller Programming Manual 269 ...
Page 329: ...VA Motion Controller Programming Manual 324 ...
Page 342: ...VA Motion Controller Programming Manual 337 2 Motion curve and timing diagram ...
Page 352: ...VA Motion Controller Programming Manual 347 2 Motion curve and timing diagram ...
Page 357: ...VA Motion Controller Programming Manual 352 2 Motion curve and timing diagram ...
Page 372: ...VA Motion Controller Programming Manual 367 2 Timing and motion profiles of FIG ...
Page 386: ...VA Motion Controller Programming Manual 381 2 the motion profile and timing ...
Page 444: ...VA Motion Controller Programming Manual 439 ...
Page 460: ...VA Motion Controller Programming Manual 455 ...
Page 461: ...VA Motion Controller Programming Manual 456 2 a timing graph and ...
Page 481: ...VA Motion Controller Programming Manual 476 ...
Page 543: ...VA Motion Controller Programming Manual 538 ...
Page 561: ...VA Motion Controller Programming Manual 556 ...
Page 597: ...VA Motion Controller Programming Manual 592 ...
Page 603: ...VA Motion Controller Programming Manual 598 ...
Page 607: ...VA Motion Controller Programming Manual 602 ...
Page 610: ...VA Motion Controller Programming Manual 605 ...
Page 613: ...VA Motion Controller Programming Manual 608 ...
Page 648: ...VA Motion Controller Programming Manual 643 Mode 1 is not available ...