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 #173 background imageLoading...
Page #173 background image
VA Motion Controller Programming Manual
168
OUT
ANY_BIT
As a result, when the value of the pin
IN
or
N
changes, it
is shifted left. Move left by two, as follows
Value before left shift
1 1 1 0 0 0 1 1
Value after left shift
1 0 0 0 1 1 0 0
Funtion and Action examples
The address V536 ( BYTE ) the value of the
left . 3 bit
description
When the contact C300 is ON when this
instruction is executed, the address V535 all
bits to the left . 3 bits:
Execution result: 1 6#01 moves
left 3 bits output 16 #80
10.1.38 SHR (right shift instruction )
IL programming language
LD, FBD programming language
Function: The instruction is used to shift the input value to the right, the right end of the
data is shifted out, and the left end is filled with 0 .
LD IN1
SHR IN2
ST OUT
ST programming language
OUT:=SHR
(
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 SHR instruction
Input and
output
type of
data
description
IN1
(
IN
)
ANY_BIT
Input

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