EasyManuals Logo

Fagor CNC 8035 User Manual

Fagor CNC 8035
470 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 #312 background imageLoading...
Page #312 background image

Installation manual
CNC 8035
8.
PLC PROGRAMMING
Action instruction.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·312·
8.5.5 Logic action instructions
= AND = OR = XOR
To perform logic operations: AND, OR and XOR between register contents or between a register
content and a number. The result is always stored in a register.
Its programming format is:
Registers (R1/559) or numbers expressed in decimal, hexadecimal or binary format can be defined
as first or second operand.
The destination register indicates where the result of the operation will be deposited and will be
defined by means of a register (R1/559).
The mark M2003 is called zero flag and indicates whether the result of an AND, OR, XOR, operation
equals zero, in which case it follows that M2003=1.
Examples with: R200 = B1001 0010
R201 = B0100 0101
= RR = RL
Used to rotate registers clockwise (RR) or counterclockwise (RL). There are two types of rotations:
type 1 (RR1 or RL1) and type 2 (RR2 or RL2).
Rotation type 1 (RL1 or RR1):
It inserts a "0" at the least significant bit (RL1) or at the most significant bit (RR1), pushing the other
bits of the register. The value of the last bit disappears.
Rotation type 2 (RL2 or RR2):
Circular rotation of the register in the indicated direction.
AND
OR
XOR
R1/559
#
R1/559
#
R1/559
() = AND R200 R201 R202 R202=B0 M2003=1
() = OR R200 R201 R203 R203=B11010111 M2003=0
() = XOR R200 R201 R204 R204=B11010111 M2003=0
() = AND B1111 R201 R205 R205=B00000101 M2003=0
() = OR R200 B1111 R206 R206=B10011111 M2003=0
() = XOR B1010 B1110 R207 R207=B00000100 M2003=0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Fagor CNC 8035 and is the answer not in the manual?

Fagor CNC 8035 Specifications

General IconGeneral
BrandFagor
ModelCNC 8035
CategoryControl Systems
LanguageEnglish

Related product manuals