Installation manual.
CNC 8060
CNC 8065
4.
PLC PROGRAMMIN
G
.
Action instructions.
·356·
(R
EF
: 1709)
= NGU R 1/1024
Complements the bits of a register.
It changes the state of each one of the 32 bits of a register.
= NGS R 1/1024
Register sign change.
Changes the sign of the register.
= ADS, = SBS, = MLS, = DVS, = MDS
Arithmetic operations.
for adding (ADS), subtracting (SBS), multiplying (MLS), dividing (DVS) and calculating the
module or remainder of a division (MDS).
Its programming format is:
"Operation" "1st operand" "2nd operand" "Result".
• The operands may be: Registers, CNC-PLC communication registers and numbers
(#) in the ±2147483647 range or between 0 and $FFFFFFFF.
• The result of the operation may be stored in a register or in a CNC-PLC
communication register.
Examples with R100=1234 and R101=100.
I15 = NGU R152
If input "I15 is =1", the PLC changes the state of the 32 bits of register R152.
R152 before: 0001 0001 0001 0001 0001 0001 0001 0001
R152 after: 1110 1110 1110 1110 1110 1110 1110 1110
I16 = NGS R89
If input "I16 = 1", the PLC changes the sign of the contents of register R89.
R89 before: 0001 0001 0001 0001 0001 0001 0001 0001
R89 after: 1110 1110 1110 1110 1110 1110 1110 1111
= ADS
= SBS
= MLS
= DVS
= MDS
R1/1024
R CNC-PLC
#
R1/1024
R CNC-PLC
#
R1/1024
R CNC-PLC
() = ADS
R100
R101
R102
; R102 = 1234 + 100
= 1334
() = SBS
R100
R101
R103
; R103 = 1234 - 100
= 1134
() = MLS
R100
R101
R104
; R104 = 1234 x 100
= 123400
() = DVS
R100
R101
R105
; R105 = 1234 : 100
= 12
() = MDS
R100
R101
R106
; R106 = 1234 MOD 100
= 34
() = ADS
1563
R101
R112
; R112 = 1563 + 100
= 1663
() = SBS
R100
1010
R113
; R113 = 1234 - 1010
= 224
() = MLS
1563
100
R114
; R114 = 1563 x 100
= 156300
() = MLS
SANALOG
10000
R115
= DVS
R115
32767
R115
; Spindle speed command in mV.
Содержание CNC 8060
Страница 1: ...Ref 1709 8060 8065 CNC Installation manual...
Страница 10: ...BLANK PAGE 10...
Страница 14: ...BLANK PAGE 14...
Страница 20: ...BLANK PAGE 20...
Страница 32: ...BLANK PAGE 32...
Страница 36: ...BLANK PAGE 36...
Страница 38: ...BLANK PAGE 38...
Страница 40: ...BLANK PAGE 40...
Страница 41: ...PART 1 INSTALLATION MANUAL...
Страница 42: ...BLANK PAGE 42...
Страница 58: ...Installation manual CNC 8060 CNC 8065 1 SOFTWARE INSTALLATION Software configuration 58 REF 1709...
Страница 340: ...Installation manual CNC 8060 CNC 8065 3 INTRODUCTION TO THE PLC Operation of a counter 340 REF 1709...
Страница 448: ...Installation manual CNC 8060 CNC 8065 6 LOGIC CNC INPUTS AND OUTPUTS Keystroke modifiable signals 448 REF 1709...
Страница 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Страница 533: ...PART 2 CONCEPTS...
Страница 534: ...BLANK PAGE 534...
Страница 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Страница 574: ...Installation manual CNC 8060 CNC 8065 11 CONFIGURING AN AXIS Home search 574 REF 1709 X Z H OM OW ZMH ZMW XMH...
Страница 598: ...Installation manual CNC 8060 CNC 8065 12 VOLUMETRIC COMPENSATION Error messages cause and solution 598 REF 1709...
Страница 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Страница 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Страница 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...