Installation manual
CNC 8035
PLC PR
OGRAMMING
Ac
tion instr
u
ction.
8.
(S
OFT
M: V15.3
X
)
(S
OFT
T: V16.3
X
)
·311·
= NGS
Register sign change.
Example: I16 = NGS R89.
If input "I16 = 1", the PLC changes the sign of the contents of register R89.
= ADS
= SBS
= MLS = DVS
= MDS
They may be used to carry out arithmetic operations such as addition (ADS), subtraction (SBS),
multiplication (MLS), division (DVS) and module or remainder of a division (MDS).
Its programming format is:
The operands may be: Registers, CNC-PLC communication registers and numbers (#) within
±2147483647 or between 0 and $FFFFFFFF
The result of the operation may be stored in a register or in CNC-PLC communication register
Examples with R100=1234 and R101=100.
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/559
#
R1/559
#
R1/559
() = 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
() = DVS
R100
1000
R115
R115 = 1234 : 1000 = 1
() = MDS
8765
1000
R116
R116 = 8765 MOD 1000= 765
If a division by “0” is performed in the DVS operation, the CNC stops the execution
of the PLC program and it displays the corresponding error message.
Summary of Contents for 8035-M
Page 1: ...Soft M V15 3x Soft T V16 3x CNC 8035 Ref 1106 INSTALLATION MANUAL M T MODELS...
Page 2: ......
Page 4: ......
Page 10: ......
Page 12: ......
Page 18: ...CNC 8035 18 Version history M...
Page 24: ...CNC 8035 24 Version history T...
Page 28: ...CNC 8035 28 Safety conditions...
Page 32: ...CNC 8035 32 Material returning terms...
Page 34: ...CNC 8035 34 Additional remarks...
Page 36: ...CNC 8035 36 Fagor documentation...
Page 56: ...Installation manual CNC 8035 1 CNC CONFIGURATION CNC structure SOFT M V15 3X SOFT T V16 3X 56...
Page 178: ...Installation manual CNC 8035 4 MACHINE PARAMETERS Tables SOFT M V15 3X SOFT T V16 3X 178...
Page 424: ......
Page 430: ...Installation manual CNC 8035 B APPENDIX Probe connection SOFT M V15 3X SOFT T V16 3X 430...
Page 450: ...Installation manual CNC 8035 G APPENDIX Key codes SOFT M V15 3X SOFT T V16 3X 450...
Page 454: ...Installation manual CNC 8035 I APPENDIX Key inhibiting codes SOFT M V15 3X SOFT T V16 3X 454...
Page 468: ...CNC 8035 N APPENDIX SOFT M V15 3X SOFT T V16 3X 468 Installation manual...
Page 469: ...CNC 8035 N SOFT M V15 3X SOFT T V16 3X 469 Installation manual...
Page 470: ...CNC 8035 N SOFT M V15 3X SOFT T V16 3X 470 Installation manual...