Installation manual.
CNC 8060
CNC 8065
PLC PROGRAMMIN
G
.
4.
Action instructions.
·357·
(R
EF
: 1709)
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
Summary of Contents for CNC 8060
Page 1: ...Ref 1709 8060 8065 CNC Installation manual...
Page 10: ...BLANK PAGE 10...
Page 14: ...BLANK PAGE 14...
Page 20: ...BLANK PAGE 20...
Page 32: ...BLANK PAGE 32...
Page 36: ...BLANK PAGE 36...
Page 38: ...BLANK PAGE 38...
Page 40: ...BLANK PAGE 40...
Page 41: ...PART 1 INSTALLATION MANUAL...
Page 42: ...BLANK PAGE 42...
Page 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Page 533: ...PART 2 CONCEPTS...
Page 534: ...BLANK PAGE 534...
Page 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Page 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Page 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Page 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...