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 #251 background imageLoading...
Page #251 background image
VA Motion Controller Programming Manual
246
When the contact
C 212
is
O N
time , the instruction is
executed , the address
V4 52 is
in is
one
of the
number removed , when is
1
is an odd number ,
the address
V453
output is
0
; when a is
1
the number is an
even number when ( or all
0
time ) address
V453
output
1
Execution result:
16#11010100
(
D WORD
)
---- 1
(
BOOL
)
10.5.7 R _BIT_IN_* ( instruction of a single position 0 in a
bit string )
IL programming language
LD, FBD programming language
Function: The R _BIT_IN_* instruction is used to input a single bit position 0 in the input bit
string , including the R_BIT_IN_BYTE and R_BIT_IN_DWORD instructions, to handle input bit
strings of BYTE, WORDAnd DWORD types.
LD ENAB
R_BIT_IN_ BYTE IN , BIT_NO
ST OUT
ST programming language
OUT:=R_BIT_IN_ BYTE
(
IN
)
Note : IL, ST language programming needs to insert variables IN1, IN, IN2 and OUT or use
constants in the current POU variable worksheet
R_BIT_IN_BYTE instruction processing data types
Input and output
type of data
description
IN1
(
ENAB
)
BOOL
Enable
IN
BYTE
WORD
DWORD
Input bit string
IN2
(
BIT_NO
)
SINT
A first bit string to be operated
NO
bit
range
: BYTE
when
0 ~ 7, WORD
when
0 ~ 15
DWORD
when
0 to 31
( the other value is
invalid )
OUT
BYTE
Output, when
IN1
is
FALSE
, the
output
OUT
is equal to the
input
IN;
when
IN1
is
TRUE
, the

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