EasyManua.ls Logo

Siemens SINUMERIK 880 - Page 228

Siemens SINUMERIK 880
288 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...
01.93 11 Programming of Cycles
11.9 Mathematical functions
@654 <Var> <Var 1> <Value>
The bit pattern in <Value> is logically negated. The result is stored in <Var>.
Example:
R50 = 00101100
@654 R52 R50 The contents of the pattern variable R50 are negated and
the result stored in R52.
R52 has the contents 11010011.
@655 <Var> <Var 1> <Value>
Bit 0 in <Var 1> and <Value > is logically ORed. The result is stored in <Var>.
@656 <Var> <Var 1> <Value>
Bit 0 in <Var 1> and <Value > is logically EXORed. The result is stored in <Var>.
@657 <Var> <Var 1> <Value>
Bit 0 in <Var 1> and <Value > is logically ANDed. The result is stored in <Var>.
Example:
R50 = 1
R51 = 0
@657 R52 R50 R51 A logical AND operation is performed on the Boolean
variables R50 and R51 and the result is stored in R52.
The contents of R52 are 0.
@658 <Var > <Var 1> <Value>
Bit 0 in <Var 1> and <Value > is logically ANDed. The result is negated and stored in
<Var>.
Example:
R50 = 1
R51 = 0
@658 R52 R50 R51 A logical AND operation is performed on the Boolean
variables R50 and R51; the result is negated and
stored in R52. The contents of R52 are 1.
@659 <Var> <Value>
The logic value (0 or 1) in <Value> is negated. The result is stored in <Var>.
© Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 11–41
SINUMERIK 880, (PG)

Table of Contents

Other manuals for Siemens SINUMERIK 880

Related product manuals