EasyManua.ls Logo

Vector VEC-VA Series - GET_MSB ( Remove the High 8 -Bit Instruction in the Bit String )

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
Loading...
VA Motion Controller Programming Manual
243
A reaDAddress
V444
low
.
8
-bit value
description
When the contact C 209 is O N time , the instruction
is executed , the address of V444 is low . 8 bit of
the value of the state taken out , stored in the
address V445 in ;
Execution result: 16 #0012 ( word ) --16 #12 ( byte )
10.5.4 GET_MSB ( Remove the high 8 -bit instruction in the
bit string )
IL
programming
language
LD, FBD
programming language
Function:
GET_MSB
instruction for reading the most significant byte of the input bit
string (
The Most Significant BYTE
) values.
LD IN
GET_MSB
ST OUT
ST
programming language
OUT:=GET_MSB ( IN ) ;
Note : IL, ST language programming needs to insert variables IN , and OUT or use constants in
the variable worksheet of the current POU
GET_MSB instruction processing data types
Input and
output
type of data
description
IN
WORD
Input bit string
OUT
BYTE
Output, the value of the highest
byte ( higher 8 bits )
Funtion and Action examples
Read the value of the upper
8
bits
of the address
V446
description
When the contact
C 210
is
O N
time , the instruction
is executed , the address of
V44 . 6
high
. 8
bit of
the value of the state taken out , stored in the
address
V44 . 7
in ;
Execution result:
16 #1200
(
word
)
--16 #12
(
byte
)

Table of Contents

Related product manuals