EasyManua.ls Logo

Fagor CNC 8060 - Logic Action Instructions

Fagor CNC 8060
900 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...
Installation manual
CNC 8060
CNC 8065
PLC PROGRAMMING.
4.
(REF: 1402)
·257·
Action instructions.
4.4.5 Logic action instructions.
= AND
= OR
= XOR
Logic operations
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:
Examples with R200 = B1001 0010 and R201 = B0100 0101.
= RR1
= RR2
= RL1
= RL2
Register rotation.
Register contents may be rotated to the right (RR) or to the left and 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.
Programming format:
The programming format is:
AND
OR
XOR
R1/1024
R CNC-PLC
#
R1/1024
R CNC-PLC
#
R1/1024
R CNC-PLC
() = AND R200 R201 R202 ; R202 = B0
() = OR R200 R201 R203 ; R203 = B11010111
() = XOR R200 R201 R204 ; R204 = B11010111
() = AND B1111 R201 R205 ; R205 = B00000101
() = OR R200 B1111 R206 ; R206 = B10011111
() = XOR B1010 B1110 R207 ; R207 = B00000100
Origin Number of repetition Dtarget
RR1
RR2
RL1
RL2
R1/1024
R CNC-PLC
R1/1024
R CNC-PLC
0/31
R1/1024
R CNC-PLC

Table of Contents

Other manuals for Fagor CNC 8060

Related product manuals