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
245
When the contact
C 211
is
O N
time , the
instruction is executed , and when the
ENAB
is
ON
,
the inverted
V449
in the second
2
bit , outputs;
if
ENAB
is
FALSE
when , without inverted output
self itself;
Execution result:
16#01
(
byte
)
---16#05
(
byte
)
10.5.6 PARITY_* (parity instruction for bit string )
IL programming language
LD, FBD programming language
Function:
PARITY_ *
instruction to check the input bit string is
. 1
the number of bits is odd or
even number, an odd number if the output is
FALSE
, is even if the output is
TRUE, PARITY_
*
instructions comprise team
RITY_BYTE, PARITY_WORDA
nd
PARITY _DWORD
directive, capable
of handling input bit strings of
BYTE, WORDA
nd
DWORD
types.
LD IN
PARITY_BYTE
ST OUT
ST
programming language
OUT:=PARITY_BYTE
(
IN
)
Note : IL, ST language programming needs to insert variables IN and OUT or use constants in
the current POU variable worksheet
PARITY_BYTE data processing instruction type
Input and
output
type of data
description
IN
BYTE
WORD
DWORD
Input bit string
OUT
BOOL
When the input bit string as a number of
bits is an odd number, the output
is FALSE; is a number of bits of an even number
of time ( including 0 th to 1 -bit ) , output
is TRUE
Funtion and Action examples
Check the number of
1
in
the address
V452
for output
description

Table of Contents

Related product manuals