EasyManua.ls Logo

Vector VEC-VA Series

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
241
BIT_TEST IN1
ST OUT
ST programming
language
OUT:=BIT_T0_EST
(
IN, IN1
)
Note
: IL, ST
language programming needs to insert variables
IN, IN1
and
OUT
or use
constants in the variable worksheet of the current
POU
BIT_TEST data processing instruction type
Input and output
type of data
description
IN
(
IN
)
ANY_BIT
Input bit string
IN1
(
NO
)
SINT
Bit string to be read in the
first
NO
bit range
: BYTE 0
~
. 7,
WORD0 ~ 15, ~ 31 is DWORD0
OUT
BOOL
Output, enter the value of
the NOth bit in the bit string
Funtion and Action examples
Read the value of the
4th
bit in
the address
V441
byte ;
description
When the contact
C 208
is
O N
time , the
instruction is executed , the reaDAddress
V441
in the first
4
bit value ,
V442
address output
of the corresponding bit status :
Note (the first of several from
0
to
start calculation)
10.5.2 GET_ CHAR (Remove the character instruction in the
string )
IL
programming language
LD, FBD
programming language
Function: The
GET_CHAR
instruction is used to get a character from the input string and
the
ASCII
code represents the character.
LD IN

Table of Contents

Related product manuals