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 #160 background imageLoading...
Page #160 background image
VA Motion Controller Programming Manual
155
OUT:=MAX
(
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 MAX instruction
Input and output
type of data
description
IN1
ANY_NUM
First input
IN2
ANY_NUM
Second input
OUT
ANY
Result :
When IN1 <= IN2 , OU T is IN2;
When IN1 >= IN2 , OUT is IN1;
Funtion and Action examples
Integer
7
and
10
output
the largest value
description
When the contact is ON , the execution of
the instruction, comparing the
address V494 and V495 the value, the greater the
output there is an address V496 in:
Execution result : 10>7 output 10
10.1.24 MIN (minimum instruction )
IL programming
language
LD, FBD programming language
Function: The instruction is used to determine the minimum of two values.
LD IN1
MIN IN2
ST OUT
ST programming
language
OUT:=MIN
(
IN1
,
IN2
)
Note : IL, ST language programming needs to insert variables IN1, IN2 and OUT or use
constants in the current POU variable worksheet
The data type processed by the MIN instruction
Input and output
type of data
description
IN1
ANY_NUM
First input
IN2
ANY_NUM
Second input
OUT
ANY
Result :

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