Man 8035t Inst
Man 8035t Inst
Man 8035t Inst
1x)
(Soft T: V16.1x)
CNC 8035
INSTALLATION MANUAL
(M & T MODELS)
Ref. 0901
It is possible that CNC can execute more functions than those described in its
associated documentation; however, Fagor Automation does not guarantee the
validity of those applications. Therefore, except under the express permission
from Fagor Automation, any CNC application that is not described in the
documentation must be considered as "impossible". In any case, Fagor
Automation shall not be held responsible for any personal injuries or physical
damage caused or suffered by the CNC if it is used in any way other than as
explained in the related documentation.
The content of this manual and its validity for the product described here has been
verified. Even so, involuntary errors are possible, thus no absolute match is
guaranteed. Anyway, the contents of the manual is periodically checked making
and including the necessary corrections in a future edition. We appreciate your
suggestions for improvement.
All the trade marks appearing in the manual belong to the corresponding owners.
The use of these marks by third parties for their own purpose could violate the
rights of the owners.
The examples described in this manual are for learning purposes. Before using
them in industrial applications, they must be properly adapted making sure that
the safety regulations are fully met.
This product uses the following source code, subject to the terms of the GPL license. The applications busybox V0.60.2;
dosfstools V2.9; linux-ftpd V0.17; ppp V2.4.0; utelnet V0.1.1. The librarygrx V2.4.4. The linux kernel V2.4.4. The linux boot
ppcboot V1.1.3. If you would like to have a CD copy of this source code sent to you, send 10 Euros to Fagor Automation
for shipping and handling.
Installation manual
INDEX
CNC CONFIGURATION
1.1
1.1.1
CHAPTER 2
HEAT DISSIPATION
2.1
2.2
2.3
CHAPTER 3
MACHINE PARAMETERS
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.9.1
4.9.2
4.9.3
CHAPTER 5
CHAPTER 4
CNC structure............................................................................................................ 1
Connectors ............................................................................................................ 4
Parameters that may be modified from the OEM program or OEM subroutine....... 40
General machine parameters .................................................................................. 42
Axis parameters...................................................................................................... 77
Spindle parameters ............................................................................................... 102
Drive parameters ................................................................................................... 117
Serial line parameters............................................................................................ 120
Ethernet parameters.............................................................................................. 122
PLC Parameters ................................................................................................... 126
Tables................................................................................................................... 129
Miscellaneous (M) function table ....................................................................... 129
Leadscrew error compensation table................................................................. 131
Cross compensation parameter table................................................................ 133
CONCEPTS
5.1
5.1.1
5.1.2
5.1.3
5.2
5.2.1
5.2.2
5.3
5.3.1
5.3.2
5.3.3
5.3.4
5.4
5.4.1
5.4.2
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Installation manual
5.5
5.5.1
5.5.2
5.5.3
5.5.4
5.5.5
5.5.6
5.5.7
5.6
5.6.1
5.6.2
5.6.3
5.6.4
5.7
5.8
5.8.1
5.8.2
5.9
5.9.1
5.9.2
5.9.3
5.9.4
5.10
5.11
5.11.1
5.12
5.13
5.13.1
5.13.2
5.14
CHAPTER 6
PLC RESOURCES
6.1
6.2
6.3
6.4
6.5
6.5.1
6.5.2
6.5.3
6.5.4
6.6
6.6.1
CHAPTER 7
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
ii
Inputs..................................................................................................................... 209
Outputs .................................................................................................................. 209
Marks..................................................................................................................... 210
Registers ............................................................................................................... 212
Timers ................................................................................................................... 213
Monostable mode. TG1 input ............................................................................ 216
Delayed activation mode. TG2 input ................................................................. 218
Delayed deactivation mode. TG3 input ............................................................. 220
Signal limiting mode. TG4 Input ........................................................................ 222
Counters ................................................................................................................ 224
Operating mode of a counter ............................................................................. 226
CHAPTER 8
PLC PROGRAMMING
8.1
8.2
8.3
8.4
8.5
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.5.6
Installation manual
CHAPTER 9
CNC-PLC COMMUNICATION
9.1
9.2
9.2.1
9.2.2
9.3
9.4
9.5
CHAPTER 10
CHAPTER 11
CHAPTER 12
CHAPTER 13
A
B
C
D
E
F
G
H
I
J
K
L
M
N
APPENDIX
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
iii
Basic characteristics.
RAM memory
256 Kb
3 ms / 1000 instructions
Standard
Standard
5 V or 24 V probe inputs
40 I / 24 O
4 TTL/1Vpp inputs
2 TTL inputs
Software options.
Model
M-MON
M-MON-R
M-COL
M-COL-R
T-MON
T-COL
Opt
Opt
Opt
Opt
Opt
Opt
Electronic threading
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Multiple machining
Stand
Stand
Stand
Stand
-----
-----
Rigid tapping
Stand
Stand
Stand
Stand
Stand
Stand
DNC
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Stand
Retracing
-----
Stand
-----
Stand
-----
-----
Color monitor
-----
-----
Stand
Stand
-----
Stand
Number of axes
Hard disk
Before start-up, verify that the machine that integrates this CNC meets the 89/
392/CEE Directive.
CNC 8035
DECLARATION OF CONFORMITY
The manufacturer:
Fagor Automation, S. Coop.
Barrio de San Andrs 19, C.P. 20500, Mondragn -Guipzcoa- (SPAIN).
We declare:
We declare under our exclusive responsibility the conformity of the product:
EN 61000-4-2
Electrostatic discharges.
EN 61000-4-3
EN 61000-4-4
EN 61000-4-6
EN 61000-4-8
EN 61000-4-11
ENV 50204
CNC 8035
III
Here is a list of the features added in each software version and the manuals that describe them.
The version history uses the following abbreviations:
INST
Installation manual
PRG
Programming manual
OPT
Operation manual
Software V07.1x
July 2003
First version.
Software V09.0x
February 2004
List of features
Incline axis.
Machine parameters.
Manual
INST / PRG
INST
INST
Name the logic inputs and outputs with the axis name
BLOABOR: Ending the execution of a block using a PLC mark (main channel).
BLOABORP: Ending the execution of a block using a PLC mark (PLC channel).
ELIMIS: Park the spindle.
While compiling the PLC program, the outputs are initialized to zero.
Variables.
INST / PRG
PRG
PRG
CNC 8035
Software V09.1x
December 2004
List of features
Calculation of central unit heat dissipation .
New board "Axes2".
Automatic keyboard type identification.
Frequency filters for axes and spindles.
Machine parameters.
Manual
INST
INST
INST
INST
INST
INST / PRG
INST
Software V9.12
INST
INST / OPT
INST / PRG
PRG
PRG
OPT
OPT
February 2005
List of features
Look-ahead
Manual
INST / PRG
Software V09.13
April 2005
List of features
Hirth axis pitch may be set in degrees via parameters.
Rollover positioning axis. Movement in G53 via the shortest way.
Manual
INST
INST
CNC 8035
Software V09.15
June 2005
List of features
CAN servo system.
VI
Manual
INST
August 2005
List of features
Manual
OPT
INST / OPT
OPT
INST
INST / OPT
INST/PRG/OPT
INST
INST
INST
INST
INST
INST / PRG
INST / PRG
Software V11.11
Software V11.01
February 2006
List of features
Handwheel feedback taken to a free feedback connector.
New variables: RIP, GGSE, GGSF, GGSG, GGSH, GGSI, GGSJ, GGSK, GGSL, GGSM, PRGSP
and PRBMOD.
G04 K0. Block preparation interruption and coordinate update.
Manual
INST
INST
PRG
Software V11.13
June 2006
List of features
Smooth stop when homing the axes, it may be selected with a.m.p. I0TYPE.
Software V11.14
Manual
INST
August 2006
List of features
Selecting the additive handwheel as handwheel associated with the axis.
Manual
INST
Software V11.18
June 2007
List of features
Copy and execute programs on Hard Disk (KeyCF).
Manual
CNC 8035
OPT
Software V11.20
May 2008
List of features
Home search on SERCOS axes using absolute feedback.
Manual
INST
VII
Software V13.01
December 2006
List of features
Display of PLC or CNC messages in Russian and Chinese.
New FAGOR filters.
Leadscrew backlash compensation. Compensation peak cutting criterion.
Home search on Gantry axes (managing two home switches).
Automatic spindle homing with the first M3/M4.
Allow two "switched" axes to have different gear ratios.
Look-Ahead. Angle below which, it machines in square corner mode.
Teach-in. Execution of the edited block.
Improvements to the oscilloscope and direct access from jog and execution modes.
Editing on hard disk (KeyCF)
Data safety backup. Backup - Restore.
New set of gains and accelerations.
Withdraw or skip a drilling or mill type threading cycle.
MSGFILE: Number of PLC messages and errors expanded to 255 and 128 respectively.
Faster rigid tapping without sending M functions to the PLC.
Software V13.02
Manual
INST
INST
INST
INST
OPT
INST
PRG
OPT
OPT
OPT
OPT
INST
INST / PRG
INST / OPT
INST
March 2007
List of features
Tool inspection. Resume the interrupted cycle.
Manual
OPT / PRG
Software V15.01
May 2007
List of features
Do not execute a program sent via DNC until pressing START.
Select the set of gains and accelerations to be used in a home search.
Prevent motion blocks from being executed in square corner mode.
There are now more zero offsets.
G86. Boring with rapid withdrawal and spindle orientation.
The labels can now have 8 digits.
Maintain the longitudinal axis when changing the work plane.
Editing on hard disk (KeyCF) on CNC's without memory expansion.
Software V15.11
VIII
INST
INST
INST / PRG
PRG
PRG
PRG
INST / PRG
OPT
March 2008
List of features
CNC 8035
Manual
Spindle home search on the next revolution after detecting that the home switch has been
pressed.
Home search on SERCOS axes using absolute feedback.
Defining a helical interpolation without programming the final coordinate of the axes of the plane.
Starting the CNC up while FAGOR filters are active.
Larger numeric format to define the arc center in a G2/G3.
Monitoring the offset between the spindle and the longitudinal axis during rigid tapping.
Hysteresis in the reversal movement compensation command.
G210. Bore milling cycle.
G211/G212. Thread milling cycles.
Manual part centering without a probe.
New default value for a.m.p. INPOSW2 (P51).
Setting the CNC in Turkish.
Manual
INST
INST
PRG
INST
PRG
INST / OPT
INST
PRG
PRG
OPT
INST
INST
Software V15.12
May 2008
List of features
Improved Look-Ahead function:
Manual
INST / PRG
CNC 8035
IX
CNC 8035
Here is a list of the features added in each software version and the manuals that describe them.
The version history uses the following abbreviations:
INST
Installation manual
PRG
Programming manual
OPT
Operation manual
Software V08.1x
July 2003
First version.
Software V10.0x
February 2004
List of features
Incline axis.
Machine parameters.
Manual
INST / PRG
INST
INST
Name the logic inputs and outputs with the axis name
BLOABOR: Ending the execution of a block using a PLC mark (main channel).
BLOABORP: Ending the execution of a block using a PLC mark (PLC channel).
ELIMIS: Park the spindle.
While compiling the PLC program, the outputs are initialized to zero.
Variables.
INST / PRG
PRG
PRG
CNC 8035
XI
Software V10.1x
December 2004
List of features
Calculation of central unit heat dissipation .
New board "Axes2".
Automatic keyboard type identification.
Frequency filters for axes and spindles.
Machine parameters.
Manual
INST
INST
INST
INST
INST
INST / PRG
INST
Software V10.12
INST
INST / OPT
INST / PRG
PRG
PRG
PRG
OPT
OPT
February 2005
List of features
Look-ahead.
Manual
INST / PRG
Software V10.13
April 2005
List of features
Hirth axis pitch may be set in degrees via parameters.
Rollover positioning axis. Movement in G53 via the shortest way.
Manual
INST
INST
CNC 8035
Software V10.15
June 2005
List of features
CAN servo system.
XII
Manual
INST
August 2005
List of features
Manual
OPT
INST / OPT
OPT
INST
INST / OPT
INST/PRG/OPT
INST
INST
INST
INST
INST
INST / PRG
PRG
Software V12.11
Software V12.01
February 2006
List of features
Handwheel feedback taken to a free feedback connector.
New variables: RIP, GGSE, GGSF, GGSG, GGSH, GGSI, GGSJ, GGSK, GGSL, GGSM, PRGSP
and PRBMOD.
G04 K0. Block preparation interruption and coordinate update.
Manual
INST
INST
PRG
Software V12.13
June 2006
List of features
Smooth stop when homing the axes, it may be selected with a.m.p. I0TYPE.
Software V12.14
Manual
INST
August 2006
List of features
Selecting the additive handwheel as handwheel associated with the axis.
Manual
INST
Software V12.18
June 2007
List of features
Copy and execute programs on Hard Disk (KeyCF).
Manual
CNC 8035
OPT
Software V12.20
May 2008
List of features
Home search on SERCOS axes using absolute feedback.
Manual
INST
XIII
Software V14.01
December 2006
List of features
Display of PLC or CNC messages in Russian and Chinese.
New FAGOR filters.
Leadscrew backlash compensation. Compensation peak cutting criterion.
Home search on Gantry axes (managing two home switches).
Automatic spindle homing with the first M3/M4.
Allow two "switched" axes to have different gear ratios.
Look-Ahead. Angle below which, it machines in square corner mode.
Teach-in. Execution of the edited block.
Improvements to the oscilloscope and direct access from jog and execution modes.
Editing on hard disk (KeyCF)
Data safety backup. Backup - Restore.
New set of gains and accelerations.
MSGFILE: Number of PLC messages and errors expanded to 255 and 128 respectively.
Faster rigid tapping without sending M functions to the PLC.
Withdrawal of axes when interrupting a threading operation.
Spindle override change while threading.
Threading in blind threads (without thread exit)
Jogging in G95.
Manual
INST
INST
INST
INST
OPT
INST
PRG
OPT
OPT
OPT
OPT
INST
INST / OPT
INST
INST / PRG
INST / PRG
OPT / PRG
PRG
Software V16.01
May 2007
List of features
Do not execute a program sent via DNC until pressing START.
Select the set of gains and accelerations to be used in a home search.
Prevent motion blocks from being executed in square corner mode.
There are now more zero offsets.
The labels can now have 8 digits.
Editing on hard disk (KeyCF) on CNC's without memory expansion.
Software V16.11
March 2008
List of features
Spindle home search on the next revolution after detecting that the home switch has been
pressed.
Home search on SERCOS axes using absolute feedback.
Starting the CNC up while FAGOR filters are active.
Larger numeric format to define the arc center in a G2/G3.
Monitoring the offset between the spindle and the longitudinal axis during rigid tapping.
Hysteresis in the reversal movement compensation command.
New default value for a.m.p. INPOSW2 (P51).
Setting the CNC in Turkish.
G86/G87. Threading cycles with variable pitch.
CNC 8035
Software V16.12
Manual
INST
INST
INST
PRG
INST / OPT
INST
INST
INST
PRG
May 2008
List of features
Improved Look-Ahead function:
Advanced look-ahead algorithm (integrating FAGOR filters).
Look-ahead operation with FAGOR filters active
Smoother machining speed.
XIV
Manual
INST
INST
INST / PRG
PRG
PRG
OPT
Manual
INST / PRG
SAFETY CONDITIONS
Read the following safety measures in order to prevent harming people or damage
to this product and those products connected to it.
This unit may only be repaired by authorized personnel at Fagor Automation.
Fagor Automation shall not be held responsible of any physical damage or defective
unit resulting from not complying with these basic safety regulations.
CNC 8035
XV
Safety conditions
CNC 8035
XVI
OUT IN
X1
FUSE
FUSIBLE
+24V
0V
X9
X10
X11
X12
X2
X3
X4
X5
Safety conditions
X8
X7
X6
Inputs-Outputs
All the digital inputs and outputs have galvanic isolation via optocouplers between
the CNC circuitry and the outside.
Safety symbols
Symbols which may appear on the manual.
Symbol for danger or prohibition.
It indicates actions or operations that may cause damage to people or
to units.
Warning symbol.
It indicates situations that may be caused by certain operations and
the actions to be taken to prevent them.
CNC 8035
Obligation symbol.
It indicates actions and operations that must be carried out.
Information symbol.
It indicates notes, warnings and advises.
XVII
CNC 8035
XVIII
Safety conditions
WARRANTY TERMS
Initial warranty
All products manufactured or marketed by FAGOR carry a 12-month warranty for the
end user which could be controlled by the our service network by means of the
warranty control system established by FAGOR for this purpose.
In order to prevent the possibility of having the time period from the time a product
leaves our warehouse until the end user actually receives it run against this 12-month
warranty, FAGOR has set up a warranty control system based on having the
manufacturer or agent inform FAGOR of the destination, identification and onmachine installation date, by filling out the document accompanying each FAGOR
product in the warranty envelope. This system, besides assuring a full year of
warranty to the end user, enables our service network to know about FAGOR
equipment coming from other countries into their area of responsibility.
The warranty starting date will be the one appearing as the installation date on the
above mentioned document. FAGOR offers the manufacturer or agent 12 months to
sell and install the product. This means that the warranty starting date may be up to
one year after the product has left our warehouse so long as the warranty control
sheet has been sent back to us. This translates into the extension of warranty period
to two years since the product left our warehouse. If this sheet has not been sent to
us, the warranty period ends 15 months from when the product left our warehouse.
This warranty covers all costs of material and labour involved in repairs at FAGOR
carried out to correct malfunctions in the equipment. FAGOR undertakes to repair or
replace their products within the period from the moment manufacture begins until
8 years after the date on which it disappears from the catalogue.
FAGOR has exclusive competence in deciding whether the repair enters within the
term defined as the warranty period.
Excluding clauses
Repairs will be carried out on our premises. Therefore, all expenses incurred as a
result of trips made by technical personnel to carry out equipment repairs, despite
these being within the above-mentioned period of warranty, are not covered by the
warranty.
Said warranty will be applied whenever the equipment has been installed in
accordance with instructions, has not be mistreated, has not been damaged by
accident or by negligence and has not been tampered with by personnel not
authorised by FAGOR. If, once servicing or repairs have been made, the cause of
the malfunction cannot be attributed to said elements, the customer is obliged to cover
the expenses incurred, in accordance with the tariffs in force.
Other warranties, implicit or explicit, are not covered and FAGOR AUTOMATION
cannot be held responsible for other damages which may occur.
CNC 8035
XIX
Warranty on repairs
Warranty terms
In a similar way to the initial warranty, FAGOR offers a warranty on standard repairs
according to the following conditions:
PERIOD
12 months.
CONCEPT
EXCLUDING
CLAUSES
When the customer does not choose the standard repair and just the faulty material
has been replaced, the warranty will cover just the replaced parts or components
within 12 months.
For sold parts the warranty is 12 moths length.
Maintenance contracts
The SERVICE CONTRACT is available for the distributor or manufacturer who buys
and installs our CNC systems.
CNC 8035
XX
When sending the central nit or the remote modules, pack them in its original package
and packaging material. If the original packaging material is not available, pack it as
follows:
1. Get a cardboard box whose three inside dimensions are at least 15 cm (6 inches)
larger than those of the unit. The cardboard being used to make the box must have
a resistance of 170 kg. (375 pounds).
2. Attach a label indicating the owner of the unit, person to contact, type of unit and
serial number.
3. In case of failure, also indicate the symptom and a short description.
4. Wrap the unit in a polyethylene roll or similar material to protect it.
5. When sending the central unit, protect especially the screen.
6. Pad the unit inside the cardboard box with polyurethane foam on all sides.
7. Seal the cardboard box with packing tape or industrial staples.
CNC 8035
XXI
CNC 8035
XXII
ADDITIONAL REMARKS
Mount the CNC away from coolants, chemical products, blows, etc. which could
damage it. Before turning the unit on, verify that the ground connections have been
properly made.
In case of a malfunction or failure, disconnect it and call the technical service. Do not
get into the inside of the unit.
CNC 8035
XXIII
CNC 8035
XXIV
Additional remarks
FAGOR DOCUMENTATION
OEM manual
It is directed to the machine builder or person in charge of installing and starting-up
the CNC.
USER-M manual
Directed to the end user.
It describes how to operate and program in M mode.
USER-T manual
Directed to the end user.
It describes how to operate and program in T mode.
CNC 8035
XXV
CNC 8035
XXVI
Fagor documentation
CNC CONFIGURATION
1.1
CNC structure
The central unit is located on the rear of the monitor.
Keyboard auto-identification
The keyboard has an auto-identification system that updates g.m.p. CUSTOMTY
(P92) automatically.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Installation manual
56.3 [2.21]
8.5 [0.3]
115.5 [4.54]
335 [13.2]
352 [13.9]
125 [4.92]
318 [12.51]
287.8 [11.3]
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
40 [1.6]
CNC structure
CNC CONFIGURATION
273 [10.7]
1.
193 [7.6]
222.35 [8.8]
Dimensions
Installation manual
Enclosure
335 [13.2]
6 [ 0.236]
323 [12.72]
32 [1.26]
CNC structure
1.
CNC CONFIGURATION
257 [10.12]
193 [7.6]
M5x0.7
The minimum distance from each side of the monitor to its enclosure in order to
guarantee the required ambient conditions is shown below:
180 [7.087]
50 [1.968]
50 [1.968]
50 [1.968]
50 [1.968]
It is up to the installer to make sure that the enclosure has forced ventilation or
ventilation grooves in order to prevent the inside temperature to exceed the specified
ambient temperature.
Between 5 C and +50 C (41 F and 122 F)
Relative humidity between 5% and 95% non condensing
When using a fan to better ventilate the enclosure, a DC fan must be used since an
AC fan may generate electromagnetic interference resulting in distorted images
being displayed by the CRT.
CNC 8035
Installation manual
1.1.1
Connectors
From versions V11.1x and V12.1x on, there is a new axes board that includes
the recognizance of 24V at the inputs and outputs. This board will appear in
Diagnosis > Configuration > Hardware with the name of "Axes 3". This board
is not compatible with previous software versions.
The connectors are located in the rear of the CNC.
CNC structure
CNC CONFIGURATION
1.
E
X1
X8
X7
+24V
0V
X9
X10
X11
X12
X2
X3
X4
X5
X6
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
(A)
Power supply.
(B)
Ground connection.
(C)
(D)
Operator panel.
(E)
X1
X2
For digital I/O connection (I1 through I16 and O1 through O8).
X3
X4
X5
X6
X7
X8
X9
X10
X11
X12
COMPACT FLASH
Installation manual
Do not open this unit. Only personnel authorized by Fagor Automation may
open this module.
Do not handle the connectors with the unit connected to mains. Before doing
it, make sure that the unit is disconnected.
The machine manufacturer must comply with the EN 60204-1 (IEC-204-1)
standard in terms of protection against electrical shock due to faulty I/O
contacts with external power supply.
SA-TTL-TTLD
SA-FS-P
CNC structure
CNC CONFIGURATION
1.
Signal adapters
1000 kHz.
460 ns.
Phase shift:
90 20.
7 V.
6 V.
Hysteresis:
0,2 V.
3 mA.
400 kHz.
460 ns.
Phase shift:
90 20.
Vmax:
7 V.
Hysteresis:
0,25 V.
3 mA.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Installation manual
CNC structure
CNC CONFIGURATION
1.
Maximum frequency: 500 kHz
A and B signals
200 kHz.
460 ns.
Phase shift:
90 20.
7 V.
6 V.
Hysteresis:
0,2 V.
3 mA.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Maximum frequency:
200 kHz.
460 ns.
Phase shift:
90 20.
Vmax:
7 V.
Hysteresis:
0,25 V.
3 mA.
Installation manual
Power supply.
0V
Power supply.
Chassis
1.
Shield.
20 V minimum
Ripple:
4V
Nominal current:
2A
8A
30 V maximum
CNC structure
CNC CONFIGURATION
Pin
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Installation manual
Connector X1
RS232
It is a 9-pin SUB-D type male connector to connect the RS 232 C serial port.
The cable shield must be connected to the metallic hood at each end.
Pin
CNC structure
CNC CONFIGURATION
1.
Signal
1
DCD
RxD
TxD
DTR
GND ISO
---
RTS
CTS
---
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Full connection.
Installation manual
Pin
24 V
O1
O3
O5
O7
---
---
---
---
10
I1
11
I3
12
I5
13
I7
14
I9
15
I11
16
I13
17
I15
18
0V
19
0V
20
24 V
21
O2
22
O4
23
O6
24
O8
25
---
26
---
27
---
28
---
29
I2
30
I4
31
I6
32
I8
33
I10
34
I12
35
I14
36
I16
37
Chassis
1.
CNC structure
The emergency output, which coincides with O1 of the PLC, will be activated
(change from logic level 1 to 0) when an ALARM or ERROR occurs at the CNC
or when the PLC output O1 is set to 0 (logic level 0).
CNC CONFIGURATION
Connector X2
CNC 8035
Shield.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Installation manual
Connector X3
CNC structure
CNC CONFIGURATION
1.
Chassis
+5 V
PRB1_5
5 V TTL input.
PRB1_24
Probe 1. 24 V DC input.
GND
+5 V
PRB2_5
PRB2_24
Probe 2. 24 V DC input.
GND
Shield.
Probe 1. +5 V output for the probe.
Up to 2 probes may be connected. There are 2 feedback inputs for each one (5V and
24V).
All shields must only be connected to ground at the CNC end through pin 1 of the
connector leaving the other end free. The wires of the shielded cables cannot be
unshielded for more than 75mm (about 3 inches).
Connector X4
/A
/B
I0
/ I0
---
---
Feedback signals.
+5 V
10
ana_out
11
GND
12
GND
13
---
14
---
15
Chassis
Shield.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
10
Installation manual
Connector X5
/A1
B1
/B1
A2
/A2
B2
/B2
1.
+5 V
Supply output.
10
+5 V
Supply output.
11
GND
Supply output.
12
GND
Supply output.
13
100P
14
---
15
Chassis
Shield
CNC structure
CNC CONFIGURATION
Pin
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
11
Installation manual
Connector X7
CNC structure
CNC CONFIGURATION
1.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
12
24 V
O33
O35
O37
O39
O41
O43
O45
O47
10
---
11
---
12
---
13
---
14
---
15
---
16
---
17
---
18
0V
19
0V
20
24 V
21
O34
22
O36
23
O38
24
O40
25
O42
26
O44
27
O46
28
O48
29
---
30
---
31
---
32
---
33
---
34
---
35
---
36
---
37
Chassis
Shield.
Installation manual
For connecting the outputs for the velocity command of the axes
9-pin normal density SUB-D type female connector.
Signal and function
1
Chassis
Shield.
Cons 1
Cons 2
Cons 3
Cons 4
GND
GND
GND
GND
The cable shield must be connected to the metallic hood at each end.
The axis nomenclature is set when setting machine parameters AXIS1 (P0) to AXIS4
(P3).
1.
CNC structure
Pin
CNC CONFIGURATION
Connector X8
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
13
Installation manual
Connector X9
CNC structure
CNC CONFIGURATION
1.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
14
---
I65
I67
I69
I71
I73
I75
I77
I79
10
I81
11
I83
12
I85
13
I87
14
---
15
---
16
---
17
---
18
0V
19
0V
20
---
21
I66
22
I68
23
I70
24
I72
25
I74
26
I76
27
I78
28
I80
29
I82
30
I84
31
I86
32
I88
33
---
34
---
35
---
36
---
37
Chassis
Shield.
Installation manual
X11
X12
/A
/B
I0
/ I0
---
---
+5 V
10
+5 V
11
GND
12
GND
13
100P
14
---
15
Chassis
Feedback signals.
1.
CNC structure
CNC CONFIGURATION
Pin
Shield
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
15
Installation manual
CNC CONFIGURATION
1.
This slot is used for the KeyCF that may be used to update the software versions
among other operations.
The KeyCF supplied by Fagor with each CNC has an identification code
corresponding to:
The card id (all the cards are different).
The software features that have been purchased for that unit
The id code only needs very little memory space. The rest of memory space of the
KeyCF may be used to store data on machine customizing (user screens, PLC
program backup and/or machine parameters, etc.) as well as user part-programs.
The KeyCF cannot be accessed manually from the outside, but it can via DNC. The
CNC will recognize it as <Hard Disk>. This may be observed by accessing the left
panel of the <explorer>.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
16
Installation manual
"USB" port
1.
X1
X9
X10
X11
X12
X2
X3
X4
X5
X6
CNC structure
+24V
0V
CNC CONFIGURATION
X8
X7
The CNC recognizes this device as USB Hard Disk. Even if the CNC is turned on,
when the USB device is either inserted or extracted, it will be recognized immediately.
When it is connected, it will be shown as <USB hard disk> on the left panel of the
<explorer>. To see its contents, press the <update> (refresh) softkey.
Within the USB device, the CNC will only recognize files with extensions *fgr (software
version), *fpg (FPGA files) and part-programs. The CNC will not recognize any other
type of file. Check it by selecting <USB hard disk> on the left panel of the explorer.
The right panel only shows the files stored with the extensions mentioned earlier.
Only software versions can be transferred to the CNC's hard disk (KeyCF) through
this USB device. It can also be transferred from the USB to the hard disk (KeyCF).
WARNING:Part-programs cannot be edited or executed from the USB hard disk.
To install a new software version stored in the USB hard disk, first copy the *fgr file
into the hard disk (KeyCF).
Once the software version has been copied into the KeyCF, the transferred version
may be installed. This is done using the tools of the <explorer>. See the section
"Loading the version from the hard disk" in the 8035 CNC manual.
WARNING:A new software version cannot be installed directly from the USB hard
disk.
CNC 8035
From versions V11.1x and V12.1x on, the CNC will manage the hard disk
(KeyCF) and the USB hard disk at the same time.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
17
Installation manual
Ethernet
CNC structure
CNC CONFIGURATION
1.
Ethernet
i
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
18
The NFS protocol is used to communicate with the remote hard disk. This
protocol must be available at the PC that is used as server.
Installation manual
DIGITAL DRIVES
Digital CAN servo system
Digital servo is being used to communicate with Fagor drives.
CAN field bus and standard CanOpen communication protocol.
Module identification at the bus
Each one of the elements integrated into the CAN bus is identified by the 16-position
rotary switch (0-15) "Address" (also referred to as "Node_Select"). This rotary switch
selects the address (node) occupied by each element integrated in the bus.
CNC structure
The corresponding drive must be turned off and back on (or press the Reset button)
for the address change to be assumed.
1.
CNC CONFIGURATION
Although the switch has 16 positions, only positions 1 through 8 are valid. The CNC
does not have a switch, The drives occupy consecutive positions (recommended)
starting from 1.
The central unit must always be at one end of the line. The other end will be the last
one of the remote module groups.
The switch position of the terminating elements must be "1" and that of the rest of
the elements "0". The CNC does not have a switch and always has the terminating
resistor activated.
Characteristics of the CAN cable
Use a specific CAN cable. The ends of all the wires and the shield must be protected
by the corresponding pin. Also use the pins to secure the cable to the connector.
Type:
Flexibility:
Cover:
PUR
Impedance:
Pin
ISO GND
CAN L
SHIELD
CAN H
SHIELD
Signal
Description
ISO GND
Ground / 0 V.
CAN L
SHIELD
CAN shield.
CAN H
SHIELD
CAN shield.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
The connector has two shield pins. Both pins are equivalent; the CAN shield may be
connected to either one.
19
Installation manual
Interconnection of modules
It is connected in series. The figure shows the CAN connection between the central
unit and 2 drives.
DRIVE MODULE 1
DRIVE MODULE 2
78 9
34 5
Line Term = 0
Line Term = 1
CNC structure
CNC CONFIGURATION
0 1
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
20
ISO GND
F0 1
F0 1
1.
BCD
ADDRESS = 2
78 9
B CD
ADDRESS = 1
34 5
CNC
0 1
ISO GND
CAN L
ISO GND
SHIELD
SHIELD
SHIELD
CAN H
CAN H
SHIELD
CAN H
CAN L
SHIELD
CAN L
SHIELD
HEAT DISSIPATION
The working temperature of the central unit enclosure must not exceed 45 C (113F).
To ensure that this temperature is not exceeded, the enclosure must have enough
surface to evacuate the heat generated inside and maintain the ambient conditions
within the working temperature range.
Ti
Ta
30mm
(m2)
(W)
Ta
(C)
Ti
(C)
(C)
(m3/h)
Dissipating surface
Only surfaces dissipating heat by convection will be considered, the top and the rear
of the enclosure. The rest of the surfaces are not to be considered when calculating
the total surface.
CNC 8035
21
Installation manual
2.1
Ta
A
Ti
P
HEAT DISSIPATION
2.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
22
P
A = -------------5 T
Surface with smooth metallic enamel.
P
A = -----------------5,7 T
Installation manual
Ta
A
Ti
P
P
A = -----------------5,6 T
2.
P
A = -----------------7,6 T
Ta
A
Ti
P
A = -----------------5,8 T
HEAT DISSIPATION
2.2
Ta
A
Ti
P
P
A = -------------------6,75 T
Surface with smooth metallic enamel.
P
A = -----------------9,1 T
Ta
A
Ti
P
P
A = -----------------7,5 T
Surface with smooth metallic enamel.
P
A = -----------------9,8 T
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
23
Installation manual
2.3
2.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
24
V
40
HEAT DISSIPATION
3,8 P= -------------T
40
Bear in mind that this air flow through the unit extracts hot air to the outside, but it
allows dirt into the enclosure. Thus, a filter should be installed to maintain the ambient
conditions allowed.
Power switch.
This power switch must be mounted in such a way that it is easily accessed
and at a distance between 0.7 meters (27.5 inches) and 1.7 meters (5.5ft)
off the floor.
Install this unit in the proper place.
It is recommended, whenever possible, to install the CNC away from
coolants, chemical product, blows, etc. that could damage it.
+ 24 V
Power supply.
0V
Power supply.
Chassis
Shield.
20 V minimum
Ripple:
4V
Nominal current:
2A
8A
30 V maximum
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
25
Installation manual
Machine connection
The machine-tool must have all the interference generating elements (relay coils,
contactors, motors, etc.) uncoupled.
DC relay coils.
Diode type 1N4000.
AC relay coils.
RC connected as close as possible to the coils. Their approximate values should
be:
MACHINE AND POWER CONNECTION
3.
R 220 / 1 W
C 0.2 F / 600 V
AC motors.
RC connected between phases with values:
R 300 / 6 W
C 0.47 F / 600 V
Ground connection
It is imperative to carry out a proper ground connection in order to achieve:
Protection of anybody against electrical shocks caused by a malfunction.
Protection of the electronic equipment against interference generated by the
proper machine or by other electronic equipment near by which could cause
erratic equipment behavior.
Thus, it is essential to connect all metallic parts to a point and it to ground in order
to achieve this. Therefore, it is crucial to install one or two ground points where the
above mentioned elements must be connected.
Use large section cables for this purpose in order to obtain low impedance and
efficiently avoid any interference. This way all parts of the installation will have the
same voltage reference.
Proper ground installation reduces the effects of electrical interference. But, signal
cables also require additional protections. This is generally achieved by using twistedpair cables that are also covered with antistatic shielding mesh-wire. This shield must
be connected to a specific point avoiding ground loops that could cause undesired
effects. This connection is usually done at one of CNCs ground point.
Each element of the machine-tool/CNC interface must be connected to ground via
the established main points. These points will be conveniently set close to the
machine-tool and properly connected to the general ground (of the building).
When a second point is necessary, it is recommended to join both points with a cable
whose section is no smaller than 8 mm2.
Verify that the impedance between the central point of each connector housing and
the main ground point is less than 1 .
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
26
Installation manual
3.
Chassis
Ground
Protection ground (for safety)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
27
Installation manual
3.1
3.
+24 V DC.
+30 V.
+18 V.
Output voltage
100 mA.
Digital inputs
The digital PLC inputs offered by the CNC system are used to read external devices,
etc.
The electrical characteristics of these inputs are:
Nominal voltage value
+24 V DC.
+30 V DC.
+18 V DC.
Under +5 V.
5 mA.
7 mA.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
28
The 0V point of this power supply must be connected to the main ground point
of the electrical cabinet.
Installation manual
10 Kw.
75 mm.
Shielded cables should be used connecting the shield at each connector as shown
here. See chapter "1 CNC configuration".
It is recommended to adjust the servo drives so the maximum feedrate (G00)
is obtained at a velocity command of +9.5V .
3.
Analog inputs and outputs
Voltage range
3.2
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
29
Installation manual
3.3
Setup
Some general points to consider
Inspect the whole electrical cabinet verifying the ground connections BEFORE
powering it.
This ground connection must be done at a single machine point (Main Ground Point)
and all other ground points must be connected to this point.
Setup
3.
The power supply used for the digital inputs and outputs must be regulated and its
zero volts must be connected to the main ground point.
Check the connection of the cables and connectors. DO NOT connect or disconnect
these cables to/from the CNC when the CNC is on.
Without powering the electrical cabinet on, check all the pins of the connectors for
short-circuits.
Precautions
It is recommended to reduce the axis travel installing the limit switches closer to each
other or detaching the motor from the axis until they are under control.
Verify that there is no power going from the servo drives to the motors.
Verify that the connectors for the digital inputs and outputs are disconnected.
Verify that the E-STOP button is pressed.
Connection
Verify that the A.C. power is correct.
With the CNC completely disconnected from the electrical cabinet, power the
electrical cabinet and verify that it responds properly:
Verify that there is proper voltage between the pins corresponding to external 0V and
24V of the connectors for the digital inputs and outputs.
Apply 24V to each one of the terminals of the electrical cabinet being used that
correspond to the digital outputs of the CNC and verify their correct performance.
Check that the electrical cabinet responds properly.
With the motors being decoupled from the axes, verify that the system consisting of
drive, motor and tacho is operating properly.
Connect the A.C. power to the CNC. If there is any problem, the CNC will display the
corresponding error.
Select the PLC monitoring mode at the CNC and activate the digital outputs (O1=1)
one by one to verify their proper operation.
CNC 8035
With power turned off, connect the I/O and feedback connectors to the CNC.
Connect the CNC and the electrical cabinet to A.C. power and confirm the counting
direction of each axis.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
30
Installation manual
//
Setup
3.
Some characters appear next to certain parameters indicating when the CNC
assumes the new value assigned to that parameter.
Before making this adjustment, position the axes near the middle of their travel and
place the hard stops (monitored by the electrical cabinet) near these mid-travel points
in order to prevent any possible damage to the machine.
Verify that the PLC Mark LATCHM is OFF. Then, after selecting the parameters of
the desired axes, go on to adjusting them following these advises:
Adjust the axes one by one.
Connect the power output of the drive corresponding to the axis being adjusted.
Selecting the Jog mode at the CNC, jog the axis to be adjusted.
In case of runaway, the CNC will display the relevant following error and the
machine parameter labelled LOOPCHG (corresponding to the sign of the analog
output of the CNC) will have to be changed.
If the axis does not run away; but the direction of the move is not the desired one,
parameters labelled AXISCHG (P13) (axis feedback counting direction) and
LOOPCHG (P26) (sign of the analog output) will have to be changed.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
31
Installation manual
3.
Setup
Set a.m.p. REFDIREC (P33) to indicate the direction of the axis when searching
Home.
Set g.m.p. REFEED1 (P34) and REFEED2 (P35) to indicate the feedrates for
Home search.
a.m.p. REFVALUE (P36) will be set to 0.
Once in the JOG mode and after positioning the axis in the right area, start homing
the axis. When done, the CNC will assign a "0" value to this point.
If the machine reference zero is in a different physical location from the machine
reference point (location of the marker pulse), proceed as follows:
After moving the axis to a known position (with respect to Machine Reference
Zero), observe the position reading of the CNC for that point.
This will be the distance away from the machine reference point; thus, the value
to be assigned to a.m.p. REFVALUE (P36) will be:
Machine coordinate of the measured point - CNC reading at that point.
Example:
If the point whose known position is located 230 mm from Machine Reference
Zero and the CNC reads -123.5 mm as the coordinate value for this point, the
coordinate of the Machine Reference Point with respect to Machine Reference
Zero will be:
REFVALUE = 230 - (-123.5) = 353.5 mm.
Assign this new value and press [RESET] so it is assumed by the CNC.
It is also necessary to search Home once again in order for this axis to assume
the correct reference values.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
32
Installation manual
Setup
3.
Remove take the wire jumper that short-circuited the analog input.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
33
Installation manual
3.4
3.
During the initializing process carried out by the CNC on power-up, the EMERGENCY
OUTPUT of the CNC (pin 2 of connector X10) remains at low (at 0) in order to avoid
a premature activation of the electrical cabinet.
If this process is successful, the CNC will set the real value of PLC output O1 to 1.
Otherwise, it will keep the /EMERGENCY OUTPUT signal active (low) and it will
display the corresponding error message.
Once the initialization process is over, the PLC will execute the PLC program stored
in memory. If none is available, it wait for one to be entered and executed.
When the execution of the first cycle (CY1) (or the first program scan) is finished the
PLC will assign the value of output O1 to physical output /EMERGENCY OUTPUT.
It is recommended to program the CY1 cycle of the PLC program assigning a value
of 1 to O1 when everything checks out fine and a value of 0 when there is an error.
The interface of the electrical cabinet will take into account all the elements that could
cause this type of error. Among such elements are:
E-stop has been pressed.
The travel limit of any axis has be exceeded.
There is a malfunction on a drive or it is locked without analog signal.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
34
Installation manual
When the CNC detects an error, it will indicate it to the PLC with the general logic
output /ALARM" and it will set the emergency output low (pin 2 of connector X2).
Since this signal corresponds to the PLC output O1, it can also be activated by the
PLC program.
I1
RE
3.
24 V
Emergency STOP
RSE
Emergency
STOP button
Other emergency
buttons
RE
0V
Emergency from
electrical cabinet
O1
RSE
0V
Emergency output
Emergency STOP relay
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
35
36
Installation manual
3.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
MACHINE PARAMETERS
It is recommended to save the CNC machine parameters into the hard disk
(KeyCF) or in a peripheral or PC to avoid losing them.
On power-up, the CNC performs a system autotest and when this is over, it displays
the following screen:
Report window.
The CNC allows the display of a previously defined screen instead of the Fagor logo.
Refer to the operation manual.
During the autotest, if any error occurs, its relevant message will be displayed in the
report window.
The main menu for the various operating modes will appear at the bottom of the CRT.
These options will be selected using the softkeys F1 through F7.
Since it is possible to have more than 7 options to choose from at one time, use the
"+" softkey to display the rest of them.
Once the "Machine Parameters" operating mode has been selected, the CNC shows
the machine parameter tables that are saved in the hard disk (KeyCF).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
37
Installation manual
4.
MACHINE PARAMETERS
Cross compensation.
To access each one of them, use the softkeys shown at the bottom of the screen.
Some characters appear next to certain parameters indicating when the CNC
assumes the new value assigned to that parameter.
Character
Type of update
//
Just do a reset.
The rest of the parameters (those unmarked) will be updated
automatically, only by changing them.
On each table, it is possible to move the cursor line by line using the [] [] keys or
page by page using the Page-up and Page-down keys.
Abbreviations used in this manual
The manual uses the following abbreviations to identify the type of machine
parameter.
Abbreviation
Machine parameter
Example
g.m.p.
a.m.p.
s.m.p.
plc.m.p.
Function
[CL]
Deletes characters.
[INS]
[CAP]
Switches between upper case and lower case letters; when the CRT shows CAP,
it will indicate that the upper case mode has been selected.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
38
Make sure this mode is selected since all characters entered in these tables must
be upper case.
[ESC]
[ENTER]
Assumes the edited line and ends the editing of the line.
Installation manual
The CNC offers the following options when working with each parameter of these
tables:
EDIT
MODIFY
INITIALIZE
LOAD
Load into memory the tables saved in the hard disk (KeyCF),
a peripheral device or a PC.
SAVE
Save the tables into the hard disk (KeyCF), a peripheral device
or a PC.
MM/INCHES
4.
MACHINE PARAMETERS
FIND
When selecting the drive parameters at the CNC, it is possible to display and
modify the parameters stored at each drive.
The CNC does not have parameters of the drive although their copies may
be stored in the hard disk (KeyCF).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
39
Installation manual
4.1
4.
MACHINE PARAMETERS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
40
Parameter
Number
Update
TLOOK
P161
CODISET
P147
Immediate
Number
Update
BACKLASH
P14
Immediate
ACCTIME
P18
INPOSW
P19
Immediate
MAXFLWE1
P21
Immediate
MAXFLWE2
P22
Immediate
PROGAIN
P23
Immediate
DERGAIN
P24
Immediate
FFGAIN
P25
Immediate
BAKANOUT
P29
Immediate
BAKTIME
P30
Immediate
REFDIREC
P33
Immediate
REFVALUE
P36
Immediate
MAXVOLT
P37
Immediate
G00FEED
P38
MAXFEED
P42
JOGFEED
P43
ACCTIME2
P59
PROGAIN2
P60
Immediate
DERGAIN2
P61
Immediate
FFGAIN2
P62
Immediate
JERKLIM
P67
FLIMIT
P75
TORQDIST
P78
Immediate
PRELOAD
P79
Immediate
TPROGAIN
P81
Immediate
TINTTIME
P82
Immediate
TCOMPLIM
P83
Immediate
Installation manual
MAXGEAR1
P2
MAXGEAR2
P3
MAXGEAR3
P4
MAXGEAR4
P5
ACCTIME
P18
INPOSW
P19
Immediate
PROGAIN
P23
Immediate
DERGAIN
P24
Immediate
FFGAIN
P25
Immediate
REFDIREC
P33
Immediate
REFVALUE
P36
Immediate
MAXVOLT1
P37
Immediate
MAXVOLT2
P38
Immediate
MAXVOLT3
P39
Immediate
MAXVOLT4
P40
Immediate
OPLACETI
P45
Immediate
ACCTIME2
P47
PROGAIN2
P48
Immediate
DERGAIN2
P49
Immediate
FFGAIN2
P50
Immediate
SLIMIT
P66
Immediate
JERKLIM
P80
A modification in the MAXGEAR(14) parameters sets the square corner mode even
if a round corner has been programmed.
4.
MACHINE PARAMETERS
Number
Parameter
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
41
Installation manual
4.2
AXIS1 (P0)
AXIS2 (P1)
AXIS3 (P2)
AXIS4 (P3)
AXIS5 (P4)
AXIS6 (P5)
AXIS7 (P6)
AXIS8 (P7)
MACHINE PARAMETERS
4.
They permit associating axes, handwheels, spindles or live tools with each feedback
input and analog output according to the following code:
Value
Meaning
Value
Meaning
12
X axis.
13
Y axis.
14
Z axis.
21
U axis.
22
V axis.
23
W axis.
24
A axis.
25
B axis.
26
"C" axis.
27
10
Main spindle.
28
11
Handwheel.
29
The following table shows the feedback input, the analog voltage output and the
default values associated with each parameter.
Parameter
Feedback
Analog voltage
(connector)
Default value
-M-
-T-
AXIS1 (P0)
1st axis
X10
X8 - Pin 2
1 (X axis)
1 (X axis)
AXIS2 (P1)
2nd axis
X11
X8 - Pin 3
2 (Y axis)
3 (Z axis)
AXIS3 (P2)
3rd axis
X12
X8 - Pin 4
3 (Z axis)
0 (free)
AXIS4 (P3)
Not being
used
----
----
0 (free)
0 (free)
AXIS5 (P4)
Spindle
X4
X4 - Pins 10 and
12
10 (spindle)
10 (spindle)
AXIS6 (P5)
1st
handwheel
X5
----
11
(handwheel)
11
(handwheel)
AXIS7 (P6)
2nd
handwheel
X5
----
0 (free)
0 (free)
AXIS8 (P7)
Not being
used
----
----
0 (free)
0 (free)
CNC 8035
General handwheel.
It can be used to jog any axis one by one. Select the axis and turn the handwheel
to move it.
Individual handwheel.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
42
Installation manual
INCHES (P8)
It defines the measuring units assumed by the CNC for machine parameters, tool
tables and programming on power-up and after executing M02,M30, EMERGENCY
or RESET. The code is:
Value
Meaning
Millimeters (G71)
Inches (G70)
By default: 0
Meaning
Indicates which function, G05 (round corner) or G07 (square corner) is assumed on
power-up, after executing M02,M30, EMERGENCY or RESET. The code is:
Value
Meaning
MACHINE PARAMETERS
Value
Default value: 0
ICORNER (P10)
4.
Indicates which function G00 (rapid traverse) or G01 (linear interpolation) is assumed
on power-up, after executing M02,M30, EMERGENCY or RESET. The code is:
IMOVE (P9)
Default value: 0
IPLANE (P11)
Indicates which function: G17 (XY plane) or G18 (ZX plane) is assumed on powerup, after executing M02,M30, EMERGENCY or RESET. The code is:
Value
Meaning
ILCOMP (P12)
It is only used in the Mill model CNC and indicates which function: G43 (tool length
compensation ON) or G44 (tool length compensation OFF) is assumed on powerup, after executing M02,M30, EMERGENCY or RESET; the code is:
Value
Meaning
ISYSTEM (P13)
Meaning
IFEED (P14)
Meaning
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Default value: 0
43
Installation manual
THEODPLY (P15)
Indicates whether the CNC will display real or theoretical position values according
to the following code:
Value
Meaning
GRAPHICS (P16)
MACHINE PARAMETERS
4.
On the T model, it indicates the axes coordinates system to be used for the graphic
representation. In this model, it also defines the layout of the keys of the X-Z axis on
the jog keypad; on vertical lathes, the X axis keys are swapped with those of the Z
axis and vice versa.
Possible values
Integer numbers between 0, 1, 2, 3.
Default value: 0
GRAPHICS = 0
GRAPHICS = 1
GRAPHICS = 2
GRAPHICS = 3
On the M model, it indicates the axis system being used for the graphic representation
as well as the motion possibilities for the W axis added to those of the Z axis in the
graphic representation (W additive).
Value
Meaning
Mill graphics.
CNC 8035
GRAPHICS = 0
RAPIDOVR (P17)
(SOFT M: V15.1X)
(SOFT T: V16.1X)
GRAPHICS = 4
Indicates whether it is possible to vary the feedrate override between 0% and 100%
when working in G00.
Value
Meaning
YES
It may be modified.
NO
44
Installation manual
The feedrate override % may be changed from the operator panel switch, from the
PLC, via DNC or by program.
The feedrate % can always be changed in JOG movements.
MAXFOVR (P18)
CIRINLIM (P19)
MACHINE PARAMETERS
From the operator panel switch, it may be varied between 0% and 120% and from
the PLC, DNC or by program between 0% and 255%.
4.
Indicates the maximum error allowed when calculating the end point of an arc.
From the programmed path, the CNC will calculate the radius for both the starting
point and end point of the arc. Although both of them should be "exactly" the same,
This parameter allows a certain calculation tolerance by establishing the maximum
difference between these two radii.
Possible values
Between 0.0001 and 99999.9999 millimeters.
Between 0.00001 and 3937.00787 inches.
Default value: 0.01 mm.
PORGMOVE (P21) Indicates whether the CNC assumes or not as the new polar coordinate origin the
center of the last G02 or G03 programmed.
Value
Meaning
YES
NO
BLOCKDLY (P22)
CNC 8035
It indicates the delay between motion blocks when operating in G7 (square corner).
This dwell can be very useful when some devices have to activated after the execution
of each block.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Possible values
Integers between 0 and 65535 ms.
Default value: 0 (there is no delay)
45
Installation manual
NTOOL (P23)
Indicates the number of tools in the tool magazine. On the other hand, the CNC
adjusts the length of the tool table to that value.
Possible values
Integer numbers between 0 and 255.
Default value: 100
NPOCKET (P24)
Indicates the number of pockets in the tool magazine. On the other hand, the CNC
adjusts the length of the tool magazine table to that value.
4.
Possible values
MACHINE PARAMETERS
Meaning
YES
NO
In a non-random magazine, the tools must be placed in the tool magazine table in
the pre-established order (P1 T1, P2 T2, P3 T3, etc.). Optionally, g.m.p. TOOLMATY
(P164) may be used to assign several different tools to each tool position. In this case,
the magazine position number may be different from the tool number.
TOOLMONI (P26)
Selects the display units of the tools nominal and real lives.
Value
Meaning
NTOFFSET (P27)
Indicates the number of tool offsets available in the tool offset table. On the other
hand, the CNC adjusts the length of the tool offset magazine table to that value.
Possible values
Integer numbers between 0 and 255.
Default value: 100
TOFFM06 (P28)
CNC 8035
Value
Meaning
YES
NO
(SOFT M: V15.1X)
(SOFT T: V16.1X)
46
Installation manual
NMISCFUN (P29)
Possible values
Integers between 0 and 65535 ms.
Default value: 100
See "5.8 Auxiliary M, S, T function transfer" on page 179.
NPCROSS (P31)
Indicates the number of points available in the first cross compensation table.
This compensation is used when the movement of one axis causes a position change
on another axis. The CNC offers a table where one could enter the position variations
of one axis for the particular positions of the other axis.
4.
MACHINE PARAMETERS
If the corresponding M function has been set in the M table not to wait for the AUXEND
signal, the time period indicated in this parameter will be the duration of the
MSTROBE signal.
MINAENDW (P30)
Possible values
Integer numbers between 0 and 255.
Default value: 0 (not available)
MOVAXIS (P32)
Used in the first cross compensation table, it indicates the axis causing position
variations on another axis. The definition code is:
Value
Meaning
Value
Meaning
None.
V axis.
X axis.
W axis.
Y axis.
A axis.
Z axis.
B axis.
U axis.
"C" axis.
Default value: 0 (none)
COMPAXIS (P33)
Used in the first cross compensation table, it indicates the axis suffering the position
variations caused by another axis. The compensation is applied onto this axis. The
definition code is:
Value
Meaning
Value
Meaning
None.
V axis.
X axis.
W axis.
Y axis.
A axis.
Z axis.
B axis.
U axis.
"C" axis.
Default value: 0 (none)
CNC 8035
Example
If NPCROSS=20, MOVAXIS=X and COMPAXIS=W, the CNC will allow access to
the cross compensation table.
Each one of these 20 points (NPCROSS) of this table will indicate the X position
value and the error suffered by the W axis when the X axis is positioned at this point.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
This way, the CNC will apply the compensation of the X axis table onto the W axis.
47
Installation manual
REFPSUB (P34)
Indicates the number of the subroutine associated with function G74 (machine
reference zero or home search). This subroutine will be executed automatically when
G74 is programmed alone in a block or, also, when searching home in the JOG mode
by pressing the softkey "ALL AXES".
Possible values
Integer numbers between 0 and 9999.
Default value: 0 (no associated subroutine)
MACHINE PARAMETERS
4.
INT1SUB (P35)
INT2SUB (P36)
INT3SUB (P37)
INT4SUB (P38)
They indicate the number of the subroutine associated with the corresponding
general logic input: "INT1" (M5024), "INT2" (M5025), "INT3" (M5026)", "INT4"
(M5027).
When one of these inputs is activated, the program currently being executed is
interrupted and the CNC jumps to execute the associated subroutine whose number
is indicated in the corresponding parameter.
These interruption subroutines do not change the nesting level of local parameters,
thus only global parameters must be used in them.
Once the CNC completes the execution of the subroutine, it will continue running the
original program.
Possible values
Integer numbers between 0 and 9999.
Default value: 0 (no associated subroutine)
PRBPULSE (P39)
Indicates whether the probe functions of the CNC react to the up-flank (leading edge)
or down-flank (trailing edge) of the signals provided by the probes connected through
connector X3.
Value
Meaning
+ sign
- sign
PRBXMIN (P40)
PRBXMAX (P41)
PRBYMIN (P42)
PRBYMAX (P43)
PRBZMIN (P44)
PRBZMAX (P45)
CNC 8035
Indicate the position of the tabletop probe used for tool calibration.
These position values must be absolute and with respect to machine reference zero
(home). If a lathe model CNC, these values must be in radius.
PRBXMIN
PRBXMAX
PRBYMIN
PRBYMAX
PRBZMIN
PRBZMAX
Possible values
(SOFT M: V15.1X)
(SOFT T: V16.1X)
48
Installation manual
PRBMOVE (P46)
Indicates the maximum distance the tool can travel when calibrating it with a probe
in JOG mode.
Possible values
Between 0.0001 and 99999.9999 millimeters.
Between 0.00001 and 3937.00787 inches.
Default value: 50 mm.
Indicates the number of the user program associated with the execution mode. This
program will be executed via the user channel when pressing the softkey USER in
the EXECUTE mode.
Indicates the number of user program associated with the Edit mode. This program
will be executed via the user channel when pressing the softkey USER in the EDIT
mode.
Possible values
Integer numbers between 0 and 65535.
4.
MACHINE PARAMETERS
Possible values
USERDPLY (P47)
Indicates the number of the user program associated with the JOG mode. This
program will be executed via the user channel when pressing the softkey USER in
the JOG mode.
Possible values
Integer numbers between 0 and 65535.
Default value: 0 (none)
USERDIAG (P50)
Indicates the number of the user program associated with the Diagnosis mode. This
program will be executed via the user channel when pressing the softkey USER in
the DIAGNOSIS mode.
Possible values
Integer numbers between 0 and 65535.
Default value: 0 (none)
ROPARMIN (P51)
ROPARMAX (P52)
They indicate the upper limit "ROPARMAX " and lower limit "ROPARMIN" of the global
arithmetic parameter group (P100-P299), user arithmetic parameters (P1000P1255) or OEM arithmetic parameters (P2000-P2255) to be write-protected. There
are no restrictions to read these parameters.
Possible values
Integer numbers between 0 and 9999.
Default value: 0 (it is not protected)
The parameters write-protected from the CNC may be modified from the PLC.
PAGESMEM (P53)
NPCROSS2 (P54)
MOVAXIS2 (P55)
COMAXIS2 (P56)
NPCROSS3 (P57)
MOVAXIS3 (P58)
COMAXIS3 (P59)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
49
Installation manual
TOOLSUB (P60)
Indicates the number of the subroutine associated with the tools. This subroutine will
be executed automatically every time a T function is executed.
Possible values
Integer numbers between 0 and 9999.
Default value: 0 (none)
CYCATC (P61)
4.
This parameter must be used when having a machining center, g.m.p. TOFFM06
(P28) = YES.
A "cyclic tool changer" is an automatic tool changer which requires an M06 command
(tool change) after searching for a tool and before searching for the next one.
MACHINE PARAMETERS
With a non-cyclic tool changer, it is possible to search for several tools in a row without
necessarily having to make the actual tool change (M06 function).
Value
Meaning
YES
It is a cyclic changer.
NO
TRMULT (P62)
TRPROG (P63)
TRDERG (P64)
MAXDEFLE (P65)
MINDEFLE (P66)
TRFBAKAL (P67)
TIPDPLY (P68)
Indicates whether the CNC displays the position of the tool tip or that of the tool base
when working with tool length compensation.
Value
Meaning
On the Mill model, it is necessary to execute G43 in order to work with tool length
compensation. When not working with tool length compensation (G44), the CNC
displays the tool base position.
On the Lathe model, it always works with tool length compensation. Therefore, by
default, the CNC always displays the tool tip position.
ANTIME (P69)
CNC 8035
This reduces idle time, thus increasing the number of punches per minute.
Possible values
Integers between 0 and 65535 ms.
Default value: 0
(SOFT M: V15.1X)
(SOFT T: V16.1X)
If the total duration of the movement is lower than the value in parameter ANTIME,
the anticipation signal (ADVINPOS) will be activated immediately.
If ANTIME = 0, the anticipation signal ADVINPOS will never be activated.
50
Installation manual
PERCAX (P70)
TAFTERS (P71)
g.m.p. TOOLSUB (P60) indicates the number of the subroutine associated with the
tool.
The TAFTERS parameter determines whether the tool selection is carried out before
or after executing that subroutine.
Meaning
YES
NO
4.
LOOPTIME (P72)
It sets the sample period used by the CNC and, consequently, affects the block
processing time.
Value
Meaning
4 ms period (standard).
Period of 4 milliseconds.
Period of 5 milliseconds.
Period of 6 milliseconds.
MACHINE PARAMETERS
Default value: NO
Value
Sampling periods shorter than 2 msec. are not allowed when not using the
CPU-TURBO option.
Likewise, the CNC configuration limits the sample period. The shorter the
sample period, the less time will the CPU have to process data. Therefore,
bear in mind that:
Sinewave feedback requires more calculation time.
More axes means more calculation time.
if the user channel is active, more calculation time is required.
IPOTIME (P73)
COMPTYPE (P74)
It sets the interpolation period used by the CNC and, consequently it affects its block
processing time.
Value
Meaning
IPOTIME = LOOPTIME.
IPOTIME = 2 * LOOPTIME.
It determines how tool radius compensation is applied. This parameter has three
digits.
(units) Type of tool radius compensation beginning and end.
The units set the type of beginning/end of tool radius compensation applied by the
CNC.
Value
Meaning
xx0
xx1
CNC 8035
Default value: 0
(SOFT M: V15.1X)
(SOFT T: V16.1X)
COMPTYPE= x0
COMPTYPE= x1
51
Installation manual
Meaning
x00
x10
4.
MACHINE PARAMETERS
Default value: 00
COMPTYPE = 00
COMPTYPE = 10
When the beginning or the end of the compensation takes place in a different plane
(there is an intermediate vertical movement) and with angle greater than 270, one
should be analyze the CNC's behavior as shown next:
At the beginning of the compensation, the tool should be positioned before
penetrating into the part. The additional block must be executed in the upper plane
and, consequently, together with the first block (COMPTYPE=00).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
52
Installation manual
At the end of the compensation, the tool should withdraw from the part without
penetrating into it. The additional block must be executed in the upper plane and,
consequently, together with the second block (COMPTYPE=10).
MACHINE PARAMETERS
4.
Meaning
0xx
1xx
After activating the compensation, it could happen that the plane axes do not get
involved in the first motion block either because they have not been programmed or
because the same point as the tool position has been programmed or because a null
incremental move has been programmed. In this case, the compensation is applied
in the current tool position; depending on the first movement programmed in the
plane, the tool moves perpendicular to the path on its starting point.
The first movement programmed in the plane may be either linear or circular.
Example of beginning of compensation (COMPTYPE=1x1)
Y
X
Y
X
G90
G01 Y40
G91 G40 Y0 Z10
G02 X20 Y20 I20 J0
(X0 Y0)
G90
G01 X-30 Y30
G01 G41 X-30 Y30 Z10
G01 X25
(X0 Y0)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
53
Installation manual
FPRMAN (P75)
It is only used on lathe model CNC's and it indicates whether feedrate per revolution
is permitted or not.
Value
Meaning
YES
Admitted.
NO
Not admitted.
Default value: NO
MPGAXIS (P76)
MACHINE PARAMETERS
4.
It is only used on the Lathe model CNCs and it indicates which axis the handwheel
is assigned to. It is set according to the following codes:
Value
Meaning
Value
Meaning
None.
V axis.
X axis.
W axis.
Y axis.
A axis.
Z axis.
B axis.
U axis.
"C" axis.
Default value: 0 (shared)
DIRESET (P77)
It is used on the lathe model CNC. It indicates whether the RESET is effective with
or without a previous CYCLE STOP.
Value
Meaning
YES
NO
If DIRESET=YES, the CNC first carries out an internal CYCLE STOP to interrupt
program execution and, then, executes the RESET.
Obviously, if it is performing a threadcutting or similar operation, not admitting a
CYCLE STOP, it will wait for the operation to be concluded before interrupting the
program.
PLACOMP (P78)
MACELOOK (P79) When using "Look-Ahead" the operator sets the percentage of acceleration being
applied in Look-Ahead by means of function G51.
With g.m.p. MACELOOK (P79) the OEM can limit the maximum percentage of
acceleration that the user may set with G51.
Possible values
Integer numbers between 0 and 255.
Default value: 0 (there is no limit)
MPGCHG (P80)
MPGRES (P81)
MPGNPUL (P82)
These parameters must be used when having an electronic handwheel to jog the
axes.
MPGCHG (P80)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
54
Installation manual
MPGRES (P81)
Parameter MPGRES (P81) indicates the counting resolution of the electronic
handwheel and depends on the display format selected for the corresponding a.m.p.
DFORMAT (P1).
Possible values
0, 1 and 2.
Default value: 0
5.3 mm
MPGRES=0
MPGRES=1
0.001 mm
4.4"
0.010 mm
0.0001"
MPGRES=2
0.100 mm
0.0010"
0.0100"
0.0001 mm
0.0010 mm
0.0100 mm
3.5"
0.00001"
0.00010"
0.00100"
6.2 mm
0.01 mm
5.3"
0.10 mm
0.001"
1.00 mm
0.010"
0.100"
MACHINE PARAMETERS
DFORMAT (P1)
4.4 mm
4.
Resolution
Format
MPGNPUL (P82)
Parameter MPGNPUL (P82) indicates the number of pulses per turn of the electronic
handwheel.
Possible values
Integer numbers between 0 and 65535.
Default value: 0 (means 25)
Example
Having a Fagor electronic handwheel (25 pulses per turn) we would like to move 1
mm per handwheel turn.
1. Set the a.m.p. for the feedback input of the electronic handwheel AXIS1 (P0)
through AXIS7 (P6), to a value of 12 (Fagor 100P handwheel). Also set g.m.p.
MPGAXIS (P76) to indicate which axis has been assigned this handwheel.
2. Set parameter MPGNPUL=25 or 0 meaning 25 pulses per turn of the Fagor
handwheel.
3. Since the handwheel outputs square signals and the CNC applies a x4 multiplying
factor to them, we get 100 pulses per turn.
4. The value to be assigned to parameter MPGRES depends on the axis resolution
format.
With 5.3mm type display format, set MPGRES=1
With 4.4mm type display format, set MPGRES=2
With 6.2mm type display format, set MPGRES=0
Format
Resolution
MPGRES=0
MPGRES=1
MPGRES=2
5.3 mm
Resolution
0.001 mm
0.010 mm
0.100 mm
Pulses / turn
0.100 mm
1.000 mm
10.000 mm.
4.4 mm
Resolution
0.0001 mm
0.0010 mm
0.0100 mm
Pulses / turn
0.0100 mm
0.1000 mm
1.0000 mm
6.2 mm
Resolution
0.01 mm
0.10 mm
1.00 mm
Pulses / turn
1.00 mm
10.000 mm 100.000 mm
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
55
Installation manual
MPG1CHG (P83)
MPG1RES (P84)
MPG1NPUL (P85)
MPG2CHG (P86)
MPG2RES (P87)
MPG2NPUL (P88)
MPG3CHG (P89)
MPG3RES (P90)
MPG3NPUL (P91)
MACHINE PARAMETERS
4.
These parameters must be used when the machine has several electronic
handwheels, one per axis.
Set the a.m.p. for the feedback input of the electronic handwheel AXIS1 (P0) through
AXIS7 (P6), to one of the following values:
Value
Meaning
Value
Meaning
21
Handwheel associated
with X.
26
Handwheel associated
with W.
22
Handwheel associated
with Y.
27
Handwheel associated
with A.
23
Handwheel associated
with Z.
28
Handwheel associated
with B.
24
Handwheel associated
with U.
29
Handwheel associated
with C.
25
Handwheel associated
with V.
Keyboard auto-identification
The keyboard has an auto-identification system that updates this parameter
automatically.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
56
XFORM (P93)
XFORM1 (P94)
XFORM2 (P95)
XDATA0 (P96)
XDATA1 (P97)
XDATA2 (P98)
XDATA3 (P99)
XDATA4 (P100)
XDATA5 (P101)
XDATA6 (P102)
XDATA7 (P103)
XDATA8 (P104)
XDATA9 (P105)
Installation manual
PRODEL (P106)
The CNC takes this parameter into account when probing, functions G75 and G76.
When the digital probe communicates with the CNC via infrared beams, there could
be some delay (milliseconds) from the time the probe touches the part to the instant
the CNC receives the probe signal.
MACHINE PARAMETERS
The probe keeps moving until the CNC receives the probe signal.
4.
While probing, the CNC always takes into account the value assigned to parameter
PRODEL and provides the following information (variables associated with the
coordinates).
TPOS
Actual position of the probe when the CNC receives the probe signal.
DPOS
Theoretical position of the probe when the probe touched the part.
With "PRODEL=0", the DPOS variable has the same value as the TPOS variable.
MAINOFFS (P107) Indicates whether the CNC maintains the tool offset number (D) on power-up and
after an EMERGENCY or RESET.
Value
Meaning
It maintains it.
Default value: 0
ACTGAIN2 (P108)
The axes and the spindle can have 3 sets of gains and accelerations. By default, the
CNC always assumes the first set indicated by the parameters of the axis or of the
spindle ACCTIME, PROGAIN, DERGAIN and FFGAIN.
Parameter ACTGAIN2 indicates when the CNC assumes the second set of gains and
accelerations, indicated by the parameters of the axis or of the spindle ACCTIME2,
PROGAIN2, DERGAIN2 and FFGAIN2.
This parameter has 16 bits counted from right to left.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
57
Installation manual
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Bit
Meaning
Bit
Meaning
G51
G34
G50
MACHINE PARAMETERS
4.
10
G74
11
JOG
12
Rigid tapping
13
G33
G95
14
G01
G75 / G76
15
G00
Default value in all the bits: 0
Every time each of the functions or work modes assigned to the bits of g.m.p.
ACTGAIN2 (P108) or ACTGAINT (P185) is activated, the CNC checks the value
assigned to the bit corresponding to that function in these parameters and acts as
follows:
If the bits of ACTGAIN2 is set to 0 and the bit of ACTGAINT is set to 0, it applies
the first set "ACCTIME, PROGAIN, etc".
If the bit of ACTGAINT2 is set to 1 and the bit of ACTGAINT is set to 0, it applies
the third set "ACCTIME2, PROGAIN2, etc".
If the bits of ACTGAINT is set to 1 and the bit of ACTGAIN2 is set to 0, it applies
the third set "ACCTIMET, PROGAINT, etc".
When that function or work mode is deactivated, the CNC applies the first of the sets
"ACCTIME, PROGAIN".
Example
When setting ACTGAIN2 = 1000 0000 0001 0000 and ACTGAINT = 0000 0000
0000 0000, the CNC applies the second set to all the axes and the spindle whenever
function G0 or the JOG mode is selected.
TRASTA (P109)
58
(Set 1)
G1 X20
(Set 2)
G1 X20
(Set 1)
(Set 1)
(Set 1)
G1 Y30
(Set 2)
G7 G1 Y30
(Set 2)
The gains and accelerations may also be changed from the PLC. To do that, there
is a general logic CNC input ACTGAIN2 (M5013). Every time this input is activated,
the CNC selects the second set of gains and accelerations regardless of the active
operating mode or function.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Example 2
Installation manual
This parameter indicates whether the CNC takes into consideration or not the additive
zero offset when displaying the coordinates of the axes on the screen and when
accessing the POS(X-C) and TPOS(X-C) variables.
Meaning
When displaying the position of the axes, the CNC takes into
account the additive offset except when showing the Command
- Actual -To Go coordinates.
The coordinate returned by the POS(X-C) and TPOS(X-C)
variables takes into account the additive zero offset.
Default value: 0
4.
MACHINE PARAMETERS
Value
DIPLCOF (P110)
With variable PLCOF(X-C), it is possible to set an additive zero offset for each
CNC axis from the PLC.
With the additive handwheel.
HANDWIN
(P111)
HANDWHE1
(P112)
HANDWHE2
(P113)
HANDWHE3
(P114)
HANDWHE4
(P115)
STOPTAP (P116)
Indicates whether the general inputs /STOP (M5001), /FEEDHOL (M5002) and /
XFERINH (M5003) are enabled (P116=YES) or not (P116=NO) while executing
function G84, regular tapping or rigid tapping.
INSFEED (P117)
CNC 8035
DISTYPE (P118)
PROBERR (P119)
Indicates whether the CNC issues an error message when the axes reach the
programmed position without having received the probe signal while executing
function G75 or G76.
Value
Meaning
YES
NO
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Default value: NO
59
Installation manual
MACHINE PARAMETERS
4.
Value
Meaning
Value
Meaning
English
Czech
Spanish
Polish
French
Mainland Chinese
Italian
10
Basque
German
11
Russian
Dutch
12
Turkish
Portuguese
Default value: 0
GEOMTYPE (P123) It indicates whether the cutter geometry is associated with the tool (T) or with the tool
offset (D).
The "T" function, tool number, indicates the magazine position it occupies.
The "D" function, offset, indicates the tool dimensions.
Value
Meaning
When using a tool holding turret, the same turret position is usually used by several
tools. In those cases, the "T" function refers to the turret position and the "D" function
to the dimensions and geometry of the tool occupying that position. Thus,
"GEOMTYPE=1".
SPOSTYPE (P124) Not being used.
AUXSTYPE (P125) Not being used.
FOVRG75 (P126)
It indicates whether function G75 ignores the feedrate override switch of the front
panel or not.
Value
Meaning
NO
YES
CNC 8035
CFGFILE (P127)
STEODISP (P128)
It indicates whethe the CNC displays the real or theoretical RPM (affected by the %)
of the main spindle.
Value
Meaning
60
Installation manual
HDIFFBAC (P129)
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Bit
Handwheel 1.
Handwheel 2.
10
11
12
13
14
15
4.
Meaning
MACHINE PARAMETERS
Meaning
Bit
Bit 15 indicates how the CNC acts when requesting a feedrate greater than the
maximum allowed depending on the handwheel turning speed and the position of the
switch.
(0)
It limits the feedrate to the maximum allowed but it moves the indicated
distance.
(1)
It limits the feedrate and the distance to the maximum allowed. The movement
stops when the handwheel stops. It does not move the indicated distance.
The individual handwheels, those associated with each axis, always limit the feedrate
and the distance.
bits 0 and 1 indicate whether the handwheels output differential signals (1) or not (0).
RAPIDEN (P130)
It indicates how the rapid movements are carried out. The behavior of this key is
managed using the EXRAPID mark.
Value
Meaning
It has no effect.
CNC 8035
Number of the program that contains the OEM texts in several languages.
By default, the CNC sets this parameter to "0" (there is no program).
(SOFT M: V15.1X)
(SOFT T: V16.1X)
If programmed with a value of "0", the texts defined by the OEM are in a single
language and stored in several programs:
PLCMSG
61
Installation manual
PLCERR
The MSGFILE program may be in user memory, in the Memkey card or in the hard
disk (KeyCF). If it is in several places, it takes the one in user memory.
If any of these texts is in Russian or mainland Chinese, the file format must be
converted from Unicode to a special Unicode customized for the Fagor CNC. Use
WinDNC to do this conversion.
i
MACHINE PARAMETERS
4.
Meaning
It is not permitted.
If RETRACAC = 2, only the M0 is executed; the rest of the M functions are not sent
out to the PLC, it neither executes them nor interrupts the withdrawal. The [CYCLE
START] key must be pressed after executing M0.
Retracing is activated and deactivated with the RETRACE (M5051) signal.
If while executing a part program, the PLC sets this signal high, the CNC interrupts
the execution of the program and starts executing backwards what has executed so
far.
When the PLC sets the RETRACE signal back low and retracing is canceled. The
CNC starts executing forward what was done backwards and it will go on to execute
the part of the program that was not machined.
G15SUB (P134)
TYPCROSS (P135) It indicates how cross compensation is applied. This parameter has two digits.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Value
Meaning
x0
x1
62
Installation manual
(tens) The cross compensation on Gantry axis affects the slave axis
The tens indicate whether cross compensation on Gantry axes affects only the
master axis or both.
Value
Meaning
0x
1x
Meaning
Value
Meaning
11
Handwheel.
12
21
Handwheel associated
with X.
22
Handwheel associated
with Y.
23
Handwheel associated
with Z.
24
Handwheel associated
with U.
25
Handwheel associated
with V.
26
Handwheel associated
with W.
27
Handwheel associated
with A.
28
Handwheel associated
with B.
29
Handwheel associated
with C.
4.
MACHINE PARAMETERS
If a CNC is configured so that any of the feedback inputs of its axes or spindles is
free (because they are digital axes or spindle without feedback connection to the
CNC), these free connectors could be configured as electronic or mechanical
handwheels.
AXIS9 (P136)
PAXIS9 (P137)
AXIS10 (P138)
PAXIS10 (P139)
AXIS11 (P140)
PAXIS11 (P141)
AXIS12 (P142)
PAXIS12 (P143)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
63
Installation manual
ACTBACKL (P144) It is related to a.m.p. BACKLASH (P14), leadscrew backlash compensation due to
change of direction.
This parameter has 16 bits counted from right to left.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
4.
MACHINE PARAMETERS
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Bit
Meaning
Bit
10
11
12
13
14
15
Meaning
G2 / G3
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
CNC 8035
Bit
Meaning
Bit
10
11
12
13
14
15
Meaning
(SOFT M: V15.1X)
(SOFT T: V16.1X)
64
Installation manual
This bit indicates whether the additional pulse of velocity command is applied only
on circular paths G2/G3 (bit=1) or in any other type of movement (bit=0).
STPFILE (P146)
It defines the number of the program where the oscilloscope configuration will be
saved. This program will be saved in the hard disk (KeyCF).
MACHINE PARAMETERS
4.
General machine parameters
If the duration of the rectangular pulse is adjusted for low speed, it may be too high
for high speed or not enough for low speed when adjusted for high speed. In this
cases, it is recommended to use the exponential type that applies a strong pulse at
the beginning and decreases in time.
Possible values
Integer numbers between 0 and 65535.
Default value: 0
CODISET (P147)
COCYF1 (P148)
Not being used.
COCYF2 (P149)
COCYF3 (P150)
COCYF4 (P151)
COCYF5 (P152)
COCYF6 (P153)
COCYF7 (P154)
COCYZ (P155)
COCYPOS (P156)
COCYPROF (P157)
COCYGROO (P158)
COCYZPOS (P159)
LOOKATYP (P160) This parameter has 16 bits counted from right to left.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Bit
Meaning
1...12
13
14
15
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
65
Installation manual
4.
MACHINE PARAMETERS
Fagor filters are not used with look-ahead, even if these filters have been
activated by machine parameters for the axes.
1 Value:
Default value: 0.
Bit 14. Smoother machining speed.
This bit activates (bit=1) or cancels (bit=0) the smoothing of machining speed. Default
value: 0.
Bit 15. Advanced look-ahead algorithm (integrating Fagor filters).
This bit activates (bit=1) or cancels (bit=0) the advanced look-ahead algorithm
(integrating Fagor filters). Default value: 0.
TLOOK (P161)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
66
MAINTASF (P162)
CAXGAIN (P163)
Installation manual
TOOLMATY (P164) When using a non-random tool magazine (e.g. a turret), it indicates how many tools
may be assigned to each turret position.
When defined with a 0 value in a non-random magazine, the tools must be placed
in the tool magazine table in the pre-established order (P1 T1, P2 T2, P3 T3, etc.).
Meaning
4.
MAXOFFI (P165)
Tool wear offsets may be modified from tool inspection mode. This parameter
indicates the maximum amount of wear that may be entered for "I" (it is programmed
in mm or in inches).. It is defined in diameter at the lathe model.
Default value: 0.5
MAXOFFK (P166)
Tool wear offsets may be modified from tool inspection mode. This parameter
indicates the maximum amount of wear that may be entered for "K" (it is programmed
in mm or in inches)..
Default value: 0.5
MACHINE PARAMETERS
Default value: 0
Value
TOOLTYPE (P167) It defines the behavior of the tool or of the tool offset.
This parameter has 16 bits counted from right to left.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Bit
Meaning
0 - 12
13
14
15
Bit 13. The stop signal is taken into account after the "T" function is completed.
This function is applied when the tool change subroutine has been defined so it is
executed as a single block and the stop signal has been disabled.
If the stop signal ([CYCLE STOP] key or PLC signal) is received while executing a
subroutine, the CNC memorizes it until enabling the stop signal. In this situation, it
does not finish the subroutine and it does not consider the T as done, which could
cause irregularities at the tool magazine. To avoid this situation, it is possible to
consider the stop signal after executing the "T" function.
This bit determines whether the stop signal is considered after completing the "T"
function (bit=1) or not (bit=0). If the bit is set to 0, the stop signal is considered in
the following cases.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
67
Installation manual
4.
MACHINE PARAMETERS
Bit 15. Stop block preparation when executing the "T" function.
If while executing the "T" function, the block preparation detects a programming error,
this function might not be executed completely This means that the tool change may
have concluded correctly but the requested tool has not been assumed by the CNC.
To avoid this situation, it is possible to stop block preparation during the execution of
the "T" function.
This bit determines whether block preparation is interrupted (bit=1) or not (bit=0)
while executing a "T" function.
Remember that when having a subroutine associated with the "T" function, the tool
change is carried out as follows:
1. It executes the associated subroutine.
2. The "T" function is executed without using the M06 function.
3. The CNC assumes the change.
PROBEDEF (P168) Defines the behavior of the probe.
This parameter has 16 bits counted from right to left.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Bit
Meaning
1 - 15
CNC 8035
CANSPEED (P169) CAN bus transmission speed for the digital drives.
The transmission speed depends on the length of the cable or total CAN connection
distance.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Value
Meaning
68
Installation manual
Meaning
F0 cannot be programmed.
Default value: 0
If set to 0, F0 may be programmed and the motion blocks will be executed at the
maximum feedrate allowed.
Meaning
Value
Meaning
None.
V axis.
X axis.
W axis.
Y axis.
A axis.
Z axis.
B axis.
U axis.
"C" axis.
MACHINE PARAMETERS
ANGAXNA (P171)
4.
X
X'
60
ANGAXNA
ORTAXNA
ANGANTR
60
OFFANGAX
The axes defined in parameters "ANGAXNA" and "ORTAXNA"must exist and must
be linear. Those axes may have Gantry axes associated with them.
While searching home, the movements are carried out on the incline axes of the
machine. PLC mark "MACHMOVE" determines how the manual movements with
handwheels or with the keyboard will be carried out.
The incline plane is activated from the part-program (function G46). If the incline plane
is active, the displayed coordinates will be those of the Cartesian system. Otherwise,
it will display the coordinates of the real axes.
ORTAXNA (P172)
Axis perpendicular to the Cartesian axis associated with the incline plane.
Value
Meaning
Value
Meaning
None.
V axis.
X axis.
W axis.
Y axis.
A axis.
Z axis.
B axis.
U axis.
"C" axis.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
69
Installation manual
ANGANTR (P173)
Angle between the Cartesian angle and the angular axis it is associated with. If its
value is 0, there is no need to do an angular transformation.
Positive angle when the angular axis has been rotated clockwise and negative if
counterclockwise.
Possible values
Within 90 degrees.
Default value: 0
4.
MACHINE PARAMETERS
OFFANGAX (P174) Distance between machine zero and the origin of the coordinate system of the incline
axis.
Possible values
Within 99999.9999 millimeters.
Within 3937.00787 inches.
Default value: 0
COMPMODE
(P175)
Meaning
COMPMODE = 0.
The compensation method depends on the angle between paths.
For angles up to 300, it compensates joining both paths with straight sections.
For angles over 300, it compensates joining both paths with arcs.
COMPMODE = 2.
The compensation method depends on the angle between paths.
For angles up to 300, it calculates the intersection between the compensated
paths.
For angles over 300, it resolves it like when COMPMODE = 0.
< 300
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
70
> 300
Installation manual
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit
Meaning
0 - 10
11
12
13
14
15
4.
MACHINE PARAMETERS
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
ADIMPG (P176)
CNC 8035
Bit 14. Cancel the additive offset after M02, M30, emergency or Reset.
This bit determines (bit=1) that the additive offset is canceled after executing M02/
M30 or after an emergency or reset.
Bit 15. Manual intervention with additive handwheel is available.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
This bit indicates whether manual intervention with an additive handwheel is available
(bit=1) or not (bit=0). If set to 0, the rest of the bits are ignored.
71
Installation manual
The additive handwheel is activated and deactivated with PLC signal MANINT.
ADIMPRES (P177) Resolution of the additive handwheel.
Value
Meaning
4.
MACHINE PARAMETERS
These values are only applied when bit 12 of parameter ADIMPG has been set to 1.
SERCDEL1 (P178) Not being used.
SERCDEL2 (P179) Not being used.
EXPLORER (P180) It sets how to access the explorer.
Value
Meaning
REPOSTY (P181)
Meaning
MAXOFFJ (P182)
This parameter indicates the maximum incremental value allowed for Y axis wear
compensation (it is programmed in mm or in inches). Default value: 0.5.
DISSIMUL (P184)
It may be used to disable the simulation modes and the block search modes when
selecting blocks in execution. Setting the relevant bit to 1 disables it and removes from
the menu the softkey assigned to this bit. This parameter has 16 bits counted from
right to left.
For the block search: Disabling in execution:
DISSIMUL =
xxxx
xxxx
bit 7 = 1
EXEC G SEARCH
bit 6 = 1
0/1 x x x
xxxx
xxxx
xxxx
0/1 x x x
xxxx
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
72
Installation manual
The axes and the spindle can have 3 sets of gains and accelerations. By default, the
CNC always assumes the first set indicated by the parameters of the axis or of the
spindle ACCTIME, PROGAIN, DERGAIN and FFGAIN.
Parameter ACTGAINT indicates when the CNC assumes the third set of gains and
accelerations, indicated by the parameters of the axis or of the spindle ACCTIMET,
PROGAINT, DERGAINT and FFGAINT.
This parameter has 16 bits counted from right to left.
4.
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Bit
Meaning
Bit
Meaning
G51
G34
G50
10
G49
2
3
G74
11
G48
JOG
12
G47
Rigid tapping
13
G33
G95
14
G01
G75 / G76
15
G00
MACHINE PARAMETERS
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ACTGAINT (P185)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
73
Installation manual
MACHINE PARAMETERS
4.
Example 2
(Set 1)
G1 X20
(Set 2)
G1 X20
(Set 1)
(Set 1)
(Set 1)
G1 Y30
(Set 2)
G7 G1 Y30
(Set 2)
The gains and accelerations may also be changed from the PLC. To do that, there
is a general logic CNC input ACTGAINT (M5063). Every time this input is activated,
the CNC selects the third set of gains and accelerations regardless of the active
operating mode or function.
RETRACTE (P186) It enables or disables the various retraction (withdrawal) options in a drilling or a mill
type threading.
0 Value: disabled.
1 Value: enabled.
Bit
Meaning
1
2
3
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
74
Installation manual
TAPTYPE (P188)
This version improves the rigid tapping speed. This is especially useful in processes
where it is continuously thread cutting.
If bit 0 of g.m.p. TAPTYPE (P188) = 1, the M3, M4 and M5 that are executed in rigid
tapping appear in the history, but they are not sent to the PLC. Since these M's are
not sent to the PLC, the dwells associated with them are eliminated and,
consequently, the cycle is faster.
MANTFCON (P198) While executing in look-ahead (G51), some blocks of the program cause the feedrate
to slow down almost to zero causing a square-corner effect. To avoid this effect, when
G05 or G51 have been programmed, it is necessary to maintain the machining
feedrate of the blocks that cause it.
To maintain the machining feedrate of these blocks and avoid the square-corner
effect, change bit 0 of general machine parameter MANTFCON (P189).
This parameter has 16 bits counted from right to left.
4.
MACHINE PARAMETERS
Meaning
0
1
Bit 0
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Meaning
CNC 8035
G90, G91
G92 Sxxx
G96, G97 (when not changing from one to another)
G151, G152
(SOFT M: V15.1X)
(SOFT T: V16.1X)
75
Installation manual
Special cases
If Bit 0 of g.m.p. MANTFCON (P189) = 1:
When executing auxiliary M, S, T functions, the CNC will do it in square-corner
mode.
If a block contains coordinates that coincide with the position of the previous block,
the CNC will not execute it in square-corner mode.
STARTDIS (P190)
MACHINE PARAMETERS
1. Once the program has been transmitted, it is executed without pressing any key
at the CNC.
4.
2. Once the program has been transmitted, it is not executed until the START key
is pressed at the CNC.
The new general machine parameter STARTDIS (P190) determines whether the
program may be executed or not without pressing START.
This parameter has 16 bits counted from right to left.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Meaning
LCOMPTYP
(P191):
It may be used to set whether the longitudinal axis will be maintained or changed when
changing the work plane(G17, G18 or G19).
This parameter has 16 bits counted from right to left.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Meaning
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
76
Installation manual
Axis parameters
It sets the type of axis and whether it is governed by the CNC or by the PLC.
Value
Meaning
4.
Axis parameters
AXISTYPE (P0)
MACHINE PARAMETERS
4.3
By default, rotary axes are Rollover and are displayed between 0 and
359.9999. If rollover is not desired, set a.m.p. ROLLOVER (P55)=NO. The
axis position will be displayed in degrees.
Positioning-only and/or Hirth axes follow the shortest path when programmed
in absolute (G90). In other words, if its current position is 10, and its target
position is 350, the axis will go through, 10, 9, ... 352, 351, 350.
See "5.1 Axes and coordinate systems" on page 135.
DFORMAT (P1)
Indicates the work units (radius or diameter) and the display format used for the axis.
Value
GANTRY (P2)
Work units
Data format
degrees
mm.
inch.
radius
5.3
5.3
4.4
radius
4.4
4.4
3.5
radius
5.2
5.2
5.3
radius
diameters
5.3
5.3
4.4
diameters
4.4
4.4
3.5
diameters
5.2
5.2
5.3
It is not displayed
Indicates, if it is a Gantry axis, which axis is this one associated with. This parameter
is to be set only on the slaved axis according to the following code.
Value
Meaning
Value
Meaning
Not Gantry.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
77
Installation manual
Example:
If the X and U axes form a Gantry pair, the U axis being the slave axis, program
as follows:
Parameter GANTRY (P2) for the X axis = 0
Parameter GANTRY (P2) for U axis = 1 (associated with X axis)
This way, When programming an X axis move, the U axis will also move the same
distance.
Axis parameters
MACHINE PARAMETERS
4.
SYNCHRO (P3)
DROAXIS (P4)
Meaning
NO
It is a normal axis.
YES
LIMIT+ (P5)
LIMIT - (P6)
They set the travel limits for the axis (positive and negative). Each one of them
indicates the distance from machine reference zero to the relevant travel limit.
Possible values
Within 99999.9999 degrees or millimeters.
Within 3937.00787 inches.
Default value: For LIMIT+ (P5) = 8000 mm.
For LIMIT- (P6) = -8000 mm.
On linear axes, if both parameters are set to 0, the travel limits will be ignored.
On the rotary axes, act as follows:
When both parameters are set to "0", the axis may be moved indefinitely in any
direction (rotary tables, indexers, etc.)
When working with positioning axes and Hirth axes, try to program in incremental
coordinates to avoid mistakes. For example, C axis with P5=0, P6=720 and the
positioning axis in 700 (340 on the screen), when programming G90 C10, the
CNC tries to move the axis via the shortest path (701, 702, etc.) but it will issue
an error message for overrunning the travel limits.
If the travel of positioning axes and hirth axes is limited to less than a turn, they
cannot move via the shortest path.
When the travel is limited to less than a revolution and a positive and negative
display is desired, for example P5=-120, P6=120, it is possible to program G90
with positive and negative values.
PITCH (P7)
Defines the pitch of the ballscrew or the resolution of the linear feedback device being
used.
It must be set when the feedback is handled through the CNC connector; analog servo
or digital with DRIBUSLE = 0.
Possible values
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
On linear axis with rotary encoder, it sets the leadscrew pitch per encoder turn.
On linear axis with linear encoder, it sets the resolution of the encoder.
On rotary axis, it sets the number of degrees the shaft rotates per encoder turn.
78
Installation manual
With this type of servo system, parameter PITCHB (P86) has no meaning.
Encoder type
PITCH (P7)
NPULSES (P8)
Linear axis.
Linear encoder.
Encoder resolution.
Rotary encoder.
Rotary encoder.
Rotary axis.
4.
PITCH = 5 mm.
PITCH = 36.
MACHINE PARAMETERS
When using gear reduction on the shaft, only the whole assembly must be taken into
account when setting one of parameters PITCH or NPULSES.
Axis parameters
Axis type
Encoder type
PITCH (P7)
PITCHB (P86)
NPULSES (P8)
Linear axis.
Linear encoder.
Encoder resolution.
Rotary encoder.
Encoder resolution.
Rotary encoder.
Rotary axis.
When using gear reduction on the shaft, only the whole assembly must be taken into
account when setting one of parameters PITCH or NPULSES.
NPULSES (P8)
Indicates the number or pulses/rev provided by the rotary encoder. When using a
linear encoder, it must be set to 0.
It must be set when the drive's velocity command is analog or it is sent via CAN
(DRIBUSLE = 0 or 1).
When using gear reduction on the shaft, only the whole assembly must be taken into
account when setting one of parameters PITCH or NPULSES.
Possible values
Integer numbers between 0 and 65535.
Default value: 1250
i
DIFFBACK (P9)
When using CAN servo, if both parameters NPULSES and PITCHB are set
to 0, the CNC will assume the equivalent values of the drive.
CNC 8035
Indicates whether the spindle encoder uses differential signals (double ended) or not.
Value
Meaning
NO
YES
(SOFT M: V15.1X)
(SOFT T: V16.1X)
79
Installation manual
SINMAGNI (P10)
Indicates the multiplying factor (x1, x4, x20, etc.) that the CNC must apply only to
sinusoidal feedback signal.
For square feedback signals, this parameter must be set to 0 and the CNC will always
apply a multiplying factor of x4.
Possible values
Integer numbers between 0 and 255.
Default value: 0
4.
Axis parameters
MACHINE PARAMETERS
The axis feedback resolution must be set using a.m.p. PITCH (P7), NPULSES (P8)
and SINMAGNI (P10) as shown in the following table:
PITCH
(P7)
NPULSES
(P8)
SINMAGNI
(P10)
Leadscrew
pitch
Nr of pulses
Leadscrew
pitch
Nr of pulses
multiplying
factor
linear encoder
pitch
multiplying
factor
FBACKAL (P11)
This parameter is to be used only when the feedback signals are sinusoidal or
differential (double ended).
Indicates whether the feedback alarm for this axis will be ON or OFF.
Value
Meaning
OFF
ON
FBALTIME (P12)
It indicates the maximum time that the axis may stay without properly responding to
the CNCs command.
Depending on the command for an axis, the CNC calculates the number of feedback
pulses that it must receive for each sample period.
The axis will be considered that it is working fine when the number of pulses received
is between 50% and 200% of the calculated number.
If at any time, the number of feedback pulses received is out of this range, the CNC
will keep checking that axis until it detects that the number of pulses received has
come back to normal. But if more time elapses than the one indicated in this
parameter without the axis coming back to normal, the CNC will issue the relevant
error message.
Possible values
Integers between 0 and 65535 ms.
Default value: 0 (it is not checked)
CNC 8035
AXISCHG (P13)
Indicates the counting direction. If correct, leave it as is, but to change it, select YES
if it was set to NO and viceversa. When changing this parameter, also change a.m.p.
LOOPCHG (P26).
Possible values
NO / YES.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
80
Default value: NO
Installation manual
BACKLASH (P14)
LSCRWCOM (P15) Indicates whether the CNC should apply leadscrew error compensation or not.
OFF
ON
NPOINTS (P16)
Indicates the number of leadscrew error compensation points available in the table.
The values in this table will be applied if a.m.p. "LSCRWCOM" (P15) is ON.
Possible values
Integer numbers between 0 and 255.
Default value: 30
DWELL (P17)
4.
Axis parameters
Meaning
MACHINE PARAMETERS
Value
Indicates the dwell from the moment the "ENABLE" signal is activated until the analog
voltage is sent out.
Possible values
Integers between 0 and 65535 ms.
Default value: 0 (none)
ACCTIME (P18)
Defines the acceleration stage or the time it takes the axis to reach the feedrate
selected with a.m.p. GOFFED (P38). This time is also valid for the deceleration stage.
Possible values
Integers between 0 and 65535 ms.
Default value: 0 (none)
INPOSW (P19)
Indicates the width of the IN POSITION zone (dead band) where the CNC considers
the axis to be in position.
Possible values
Between 0 and 99999.9999 degrees or millimeters.
Between 0 and 3937.00787 inches.
Default value: 0.01 mm.
INPOTIME (P20)
Indicates the time period that the axis must remain in the "IN POSITION" zone in order
to consider it to be in position.
On axes that are only controlled during the interpolation or the positioning (dead
axes), this prevents the CNC from considering the block completed before the axis
has stopped and could get out of the in-position zone.
Possible values
Integers between 0 and 65535 ms.
Default value: 0
MAXFLWE1 (P21)
CNC 8035
Indicates the maximum following error allowed when this axis moves.
Possible values
Between 0 and 99999.9999 degrees or millimeters.
Between 0 and 3937.00787 inches.
Default value: 30 mm.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
81
Installation manual
MAXFLWE2 (P22)
Indicates the maximum following error allowed when this axis is stopped.
Possible values
Between 0 and 99999.9999 degrees or millimeters.
Between 0 and 3937.00787 inches.
Default value: 0.1 mm.
PROGAIN (P23)
4.
Indicates the value of the proportional gain. It sets the command in millivolts desired
for a following error of 1 mm.
Axis parameters
MACHINE PARAMETERS
Possible values
Integers between 0 and 65535 mV/mm.
Default value: 1000 mV/mm.
Example:
A feedrate of 20000 mm/min is selected by a.m.p. G00FEED (P38) to obtain 1 mm
of following error (axis lag) for a feedrate of F = 1000 mm/min.
Command from the drive: 9.5V for a feedrate of 20000 mm/min.
Command for a feedrate of F = 1000 mm/min:
Command = (9.5/20000) x 1000 = 475 mV
Therefore "PROGAIN" = 475
DERGAIN (P24)
Indicates the value of the derivative gain. Its value represents the analog voltage (in
millivolts) corresponding to a change in following error of 1mm (0.03937 inches) in
10 milliseconds.
This analog voltage will be added to the one calculated for the proportional gain.
Analog voltage
DERGAIN
= PROGAIN + ------------------------------------
10 t
To apply this gain to an axis, that axis should be working with acc/dec [a.m.p.
ACCTIME (P18) other than 0].
Possible values
Integer numbers between 0 and 65535.
Default value: 0 (derivative gain not applied)
FFGAIN (P25)
Indicates the % of the analog voltage due to the programmed feedrate. The rest will
depend upon the following error. Both the proportional and derivative gains will be
applied onto this following error.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Analog voltage
82
Installation manual
The feed-forward gain improves the position loop minimizing the following error, but
it should only be used when working with acceleration/deceleration.
Possible values
Between 0 and 100.99 rpm (numbers with 2 decimals).
Default value: 0 (feed-forward gain not applied)
Usually, a value between 40% and 80% is assigned depending mainly on the type
of machine and its characteristics.
Indicates the sign of the analog output. If correct, leave it as is, but to change it, select
YES if it was set to NO and viceversa.
Possible values
NO / YES.
Default value: NO
MINANOUT (P27)
Axis parameters
LOOPCHG (P26)
4.
MACHINE PARAMETERS
When having a CNC with a version V11.01 or later where FFGAIN or FFGAIN2
have two decimals, when passing them to an older version, those parameters
lose their decimals.
SERVOFF (P28)
MINANOUT
1
--3277
--32767
0.3 mV.
--1 V.
--10 V.
SERVOFF
Analog voltage
-32767
---3277
--1
--3277
--32767
-10 V.
---1 V.
--0.3 mV.
--1 V.
--10 V.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
83
Installation manual
BAKANOUT (P29)
Additional velocity command pulse to make up for the possible leadscrew backlash
when reversing the moving direction.
Possible values
It is given in D/A converter units and it admits integer values between
0 and 32767 which corresponds to an analog voltage of 10V.
Default value: 0 (not applied)
Axis parameters
MACHINE PARAMETERS
4.
BAKANOUT
Additional analog
voltage
1
--3277
--32767
0.3 mV.
--1 V.
--10 V.
Every time the movement is inverted, the CNC will apply to that axis the velocity
command corresponding to the movement plus the additional velocity command
pulse set in this parameter. This additional analog voltage will be applied for a period
of time indicated in the a.m.p. BAKTIME (P30).
BAKTIME (P30)
It indicates the duration of the additional velocity command pulse to make up for
backlash in movement reversals.
Possible values
Integers between 0 and 65535 ms.
Default value: 0
DECINPUT (P31)
Indicates whether or not this axis has a home switch for machine reference search.
Value
Meaning
NO
YES
REFPULSE (P32)
It indicates the type of flank of the I0 signal that is used for home search.
Value
Meaning
+ sign
- sign
REFDIREC (P33)
Meaning
+ sign
Positive direction.
- sign
Negative direction.
Default value: + sign
REFEED1 (P34)
CNC 8035
Indicates the axis feedrate when searching home until it hits the home switch.
Possible values
Between 0.0001 and 199999.9999 degrees/min or mm/min.
Between 0.00001 and 7874.01574 inches/min.
Default value: 1000 mm/min.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
84
Installation manual
REFEED2 (P35)
Indicates the axis feedrate when searching home after hitting the home switch until
it finds the marker pulse (Io).
Possible values
Between 0.0001 and 99999.9999 degrees/min or mm/min.
Between 0.00001 inches/min and 3937.00787 inches/min.
Default value: 100 mm/min.
Indicates the position value of the machine reference point (physical location of the
marker pulse) with respect to machine reference zero.
4.
MACHINE PARAMETERS
Possible values
Axis parameters
REFVALUE (P36)
G00FEED (P38)
UNIDIR (P39)
Meaning
+ sign
Positive direction.
- sign
Negative direction.
Default value: + sign
OVERRUN (P40)
Indicates the distance to be kept between the approach point and the programmed
point. If it is a Lathe model, this distance must be in radius.
Possible values
Between 0.0001 and 99999.9999 degrees/min or mm/min.
Between 0.00001 inches/min and 3937.00787 inches/min.
Default value: 0 (not unidirectional)
CNC 8035
UNIFEED (P41)
Indicates the feedrate to be used from the approach point to the programmed point.
Possible values
Between 0.0001 and 99999.9999 degrees/min or mm/min.
Between 0.00001 inches/min and 3937.00787 inches/min.
Default value: 0
(SOFT M: V15.1X)
(SOFT T: V16.1X)
85
Installation manual
MAXFEED (P42)
JOGFEED (P43)
4.
Axis parameters
MACHINE PARAMETERS
MAXCOUPE (P45) It indicates the maximum difference allowed between the following errors of the
Gantry axes.
This value is only assigned to the slave axis.
Possible values
Between 0.0001 and 99999.9999 degrees or millimeters.
Between 0.00001 and 3937.00787 inches.
Default value: 1 mm.
ACFGAIN (P46)
Indicates whether or not the value assigned to a.m.p. DERGAIN (P24) is applied onto
the variations of the programmed feedrate (AC-forward).
Value
Meaning
NO
YES
ACFGAIN = NO
ACFGAIN = YES
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
86
Installation manual
REFSHIFT (P47)
This parameter is used when once the machine has been all set up, it is necessary
to reinstall the feedback system and the new machine reference point (home) no
longer coincides physically with the previous one.
It indicates the difference existing between the two reference points, the previous one
and the current one.
Possible values
Within 99999.9999 degrees or millimeters.
Within 3937.00787 inches.
This movement is carried out at the feedrate indicated by a.m.p. REFEED2 (P35).
STOPTIME (P48)
STOPMOVE (P49)
These parameters are used in conjunction with a.m.p. "STOPAOUT (P50)" with
function G52 (move to hardstop).
STOPTIME (P48)
MACHINE PARAMETERS
If this parameter has a value other than 0, once the home search has been carried
out (the reference mark of the feedback device has been detected) , the CNC moves
the distance indicated by a.m.p. REFSHIFT (P47). This way, the machine reference
point will always be the same.
Axis parameters
4.
Default value: 0
The CNC considers that the hardstop has been run into when a certain time period
elapses without the axis moving. This time period is indicated, in thousands of a
second, by parameter STOPTIME (P48).
Possible values
Integers between 0 and 65535 ms.
Default value: 0
STOPMOVE (P49)
The CNC considers the axis to be stopped when its movements do not exceed the
value set by STOPMOVE (P49) during the time period set by STOPTIME (P48).
Possible values
Between 0.0001 and 99999.9999 millimeters.
Between 0.00001 and 3937.00787 inches.
Default value: 0
STOPAOUT (P50)
This parameter is used with function G52 (move to hardstop) and it indicates the
residual analog voltage supplied by the CNC to exert pressure once contact has been
detected.
Possible values
It is given in D/A converter units and it admits integer values between
0 and 32767 which corresponds to an analog voltage of 10V.
Default value: 0
STOPAOUT
1
--3277
--32767
0.3 mV.
--1 V.
--10 V.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
When using servo motors, first reduce the maximum torque of the drive by
means of an "M" function in order to prevent the motor from overheating.
87
Installation manual
INPOSW2 (P51)
This parameter is used when function G50 (controlled round corner) is active.
It defines the area before the programmed coordinate where the CNC considers the
axis to be in position and goes on to execute the next block.
Possible values
Between 0 and 99999.9999 degrees or millimeters.
Between 0 and 3937.00787 inches.
Default value: 0.1 mm.
4.
Axis parameters
MACHINE PARAMETERS
Meaning
x0
normal I0.
x1
x2
x3
When using linear encoders with distance-coded reference marks (I0), set a.m.p.
I0CODI1 (P68) and I0CODI2 (P69).
Tenths:
It defines whether it stops smoothly or not when detecting the reference mark of the
axes or not.
Value
Meaning
0x
1x
When setting the smooth stop, parameters "DERGAIN" and "FFGAIN" should be set
to zero.
ABSOFF (P53)
The CNC takes this parameter into account when a.m.p. I0TYPE (P52) has been set
with a value other than 0.
Linear encoders having a distance-coded reference mark indicate the machine
position with respect to the "zero" of the linear encoder.
Possible values
Within 99999.9999 millimeters.
Within 3937.00787 inches.
Default value: 0
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
88
In order for the CNC to show the position of the axes with respect to the machine
reference zero (home), this parameter must be assigned the position value
(coordinate) of the machine reference zero (point "M") with respect to the "zero" of
the linear encoder (C).
Installation manual
MINMOVE (P54)
This parameter has to do with the axis logic outputs "ANT1" through "ANT3".
If the axis move is smaller than the value indicated by this a.m.p. MINMOVE (P54),
the corresponding axis logic output "ANT1 through "ANT3" goes high.
Possible values
Within 99999.9999 degrees or millimeters.
Within 3937.00787 inches.
Default value: 0
Meaning
NO
It is NOT Rollover.
YES
It is Rollover.
Default value: YES
It indicates the address of the digital drive (CAN) associated with the axis. It
corresponds with the value of the drive's rotary switch (address, device select).
Value
Meaning
Analog axis.
1-8
Axis parameters
Value
DRIBUSID (P56)
4.
The CNC takes this parameter into account when the axis has been set as rotary
"AXISTYPE (P0)=2 or 3". It indicates whether the rotary axis is Rollover or not.
MACHINE PARAMETERS
ROLLOVER (P55)
Default value: 0
It is recommended (not necessary) that the Can addresses of the various axes and
spindles be consecutive and start from number 1 (the address of the CNC is always
0). For example, with 3 CAN axes and 1 CAN spindle, the values of this parameter
must be 1, 2, 3 and 4.
EXTMULT (P57)
Default value: 0
Example:
E.g. Fagor linear encoder "FOT" has a graduation pitch of 100 m and a feedback
signal period of 20 m.
EXTMULT = 100 / 20 = 5
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
89
Installation manual
Axis parameters
MACHINE PARAMETERS
4.
I0CODI2
(P69)
EXTMULT
(P57)
S O P GOP
SVOP
M OT C OT
MOC COC
MOP COP
FOP
1000
1001
S OX GOX
SVOX
MOX
COX
FOT
1000
1001
MOY
COY
1000
1001
10
LOP
2000
2001
LOX
2000
2001
10
1000
1001
25
I0CODI1
(P68)
I0CODI2
(P69)
EXTMULT
(P57)
FOX
Rotary encoder
SMOTIME (P58)
I0CODI1
(P68)
HO
SO
90000 pulses
1000
1001
HO
SO
180000 pulses
1000
1001
10
HOP
SOP
18000 pulses
1000
1001
ACCTIME2 (P59)
PROGAIN2 (P60)
DERGAIN2 (P61)
FFGAIN2 (P62)
These parameters define the second set of gains and accelerations. They must be
set like the parameters that define the first set.
First set
Second set
ACCTIME (P18)
PROGAIN (P23)
DERGAIN (P24)
FFGAIN (P25)
ACCTIME2 (P59)
PROGAIN2 (P60)
DERGAIN2 (P61)
FFGAIN2 (P62)
To select the second set of gains and accelerations, set g.m.p. ACTGAIN2 (P108)
correctly or activate the CNCs general logic input ACTGAIN2 (M5013).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
90
Installation manual
DRIBUSLE (P63)
The CNC considers this parameter when using a digital drive (CAN). Axis parameter
DRIBUSID (P56) other than 0.
Even when the data exchange between the CNC and the drive is done via digital CAN
bus, one must define whether the feedback is also handled via bus or through the
corresponding connector for the axis or spindle.
4.
DRIBUSLE = 0
DRIBUSLE = 1
POSINREF (P64)
SWITCHAX (P65)
Meaning
Value
Meaning
None.
10
Spindle.
Axis parameters
Meaning
MACHINE PARAMETERS
Value
Default value: 0
Example:
On a machine where the X and Z axes cannot move at the same time, the X axis is
the main axis and the Z axis is the secondary (associated with the X axis).
SWITCHAX for X = 0.
SWITCHAX for Z = 1.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
91
Installation manual
SWINBACK (P66)
Meaning
4.
Axis parameters
MACHINE PARAMETERS
The following examples show several possibilities. In all of them, the toggling of the
analog voltage must be done from the PLC using the SWTCH2 mark.
X axis (main)
Z axis (secondary)
B. The two axes share the same feedback device. It must be connected to the
feedback connector of the main axis.
JERKLIM (P67)
CNC 8035
X axis (main)
Z axis (secondary)
It defines the derivative of the acceleration. It may be used to limit the acceleration
changes to smooth the machine movements on small speed increments or
decrements and with FFGAIN values close to 100%.
The CNC ignores this parameter when moving with electronic handwheels,
mechanical handwheels, look ahead, threading (G33) and rigid tapping.
The smaller the value assigned to JERKLIM, the smoother the machines response,
but the acc/dec time will be longer. When increasing the value of JERKLIM, it
decreases the acc/dec time but the machine response worsens.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Possible values
Between 0 and 99999.9999 m/s3.
Default value: 0
92
Installation manual
Recommended values:
In millimeters
In inches
4.
Axis parameters
The CNC takes this parameter into account when a.m.p. I0TYPE (P52) has been set
with a value other than 0. Parameter I0CODD1 (P68) indicates the gap between 2
fixed distance-coded I0's and parameter I0CODD2 (P69) indicates the gap between
2 variable distance-coded I0's.
MACHINE PARAMETERS
I0CODI1 (P68)
I0CODI2 (P69)
20 m
I0CODI2
(P69)
EXTMULT
(P57)
S O P GOP
SVOP
M OT C OT
MOC COC
MOP COP
FOP
1000
1001
S OX GOX
SVOX
MOX
COX
FOT
1000
1001
MOY
COY
1000
1001
10
LOP
2000
2001
LOX
2000
2001
10
1000
1001
25
I0CODI1
(P68)
I0CODI2
(P69)
EXTMULT
(P57)
FOX
Rotary encoder
ORDER (P70)
I0CODI1
(P68)
HO
SO
90000 pulses
1000
1001
HO
SO
180000 pulses
1000
1001
10
HOP
SOP
18000 pulses
1000
1001
CNC 8035
Filter order. The down ramp is dampened down; the larger the number the greater
the drop.
Value
Filter type
[0 - 4]
[0 - 4]
[0 - 30]
FAGOR filter
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Installation manual
When applying a filter, it must be set with an order of 3. Before setting it to another
value, consult with Fagor Automation's technical service.
If the filter has been designed wrong, it will not be applied.
The filters are not applied while moving with an electronic handwheel or a
mechanical handwheel or while tracing. It is recommended not to activate
these filters on machines carrying out movements against a hard stop.
Using a FAGOR filter does not admit values greater than 15.
When detecting that the FAGOR filter order is too high for the filter configuration
(according to parameters FREQUEN and LOOPTIME), on power-up it will issue the
message: "It is recommended to lower the order of the frequency filter".
Axis parameters
MACHINE PARAMETERS
4.
Filter type. Three types of filters may be used, namely "low passing", "anti-resonance
(band rejection, notch filter)" and "FAGOR (low passing)". To obtain a good machining
quality, all the axes and the spindle interpolating with each other should be defined
with the same type of filter and with the same frequency.
Value
Meaning
Ao
A
0,707Ao
(-3dB)
f
FREQUEN
Ao
A
0,707Ao (-3dB)
CNC 8035
f1
f2
FREQUEN
(SOFT M: V15.1X)
(SOFT T: V16.1X)
94
Installation manual
The meaning of this parameter depends on the type of filter being applied.
On "low passing" and "FAGOR" filters, it indicates the break point frequency or
frequency where the amplitude drops 3 dB or it reaches 70% of the nominal
amplitude.
-3dB = 20 log (A/Ao) ==> A = 0.707 Ao
Axis parameters
FREQUEN (P72)
4.
MACHINE PARAMETERS
After the start-up, if the value of that parameter is not changed, the CNC will
cancel that parameter automatically.
For the "anti-resonance" (notch) filter, it indicates the mid frequency or frequency at
which the resonance reaches its maximum value.
Possible values
Between 0 and 500.0 Hz.
Default value: 30
NORBWID (P73)
Standardized bandwidth.
This parameter is only taken into account for the "anti-resonance (notch)" filter type.
Possible values
between 0 and 100.0
Default value: 1
It is calculated with the following formula.
Points f1 and f2 correspond to the cutoff
frequency or frequency at which its
amplitude drops 3 dB or reaches 70% of the
nominal amplitude.
Ao
A
0,707Ao (-3dB)
f1
f2
FREQUEN
NORBWID = FREQUEN
----------------------------( f2 f1 )
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
95
Installation manual
SHARE (P74)
Signal percentage that passes through the filter. This value must be equivalent to the
percentage overshooting of the resonance because it has to make up for it.
This parameter is only taken into account for the "anti-resonance (notch)" filter type.
Possible values
between 0 and 100
Default value: 100
4.
Axis parameters
MACHINE PARAMETERS
Ar
Ao
f
SHARE=100(Ar-Ao)/Ao
FLIMIT (P75)
Maximum safety limit for the axis feedrate. This limit is activated from the PLC and
is applied to all the work modes, including the PLC channel.
Possible values
Between 0 and 99999.9999 degrees/min or mm/min.
Between 0 inches/min and 3937.00787 inches/min.
Default value: 0
This limit is activated for all the axes using the mark FLIMITAC (M5058). When the
limit is canceled, the CNC recovers the programmed feedrate.
This limit permits clearing the axis feedrate temporarily via PLC, e.g. when opening
the doors, etc.
CNC 8035
TANSLAID (P76)
TANSLANA (P77)
TORQDIST (P78)
PRELOAD (P79)
PRELFITI (P80)
TPROGAIN (P81)
TINTTIME (P82)
TCOMPLIM (P83)
ADIFEED (P84)
(SOFT M: V15.1X)
(SOFT T: V16.1X)
96
Installation manual
FRAPIDEN (P85)
Maximum axis feedrate when activating the EXRAPID mark and when pressing the
rapid key in execution or in simulation with motion.
If set to 0, it assumes the feedrate set by parameter G00FEED. If it is set with a value
higher than G00FEED, the feedrate will be limited to G00FEED.
Possible values
Between 0 and 199999.9999 degrees/min or mm/min.
Between 0 and 7874.01574 inches/min.
Default value: 0
Leadscrew pitch.
This parameter must only be set when using CAN servo system. When not using CAN
servo system, the leadscrew pitch is defined with parameter PITCH (P7).
When using gear reduction on the shaft, only the whole assembly must be taken into
account when setting one of parameters PITCHB or NPULSES.
i
HPITCH (P89)
Axis parameters
PITCHB (P86)
4.
MACHINE PARAMETERS
This limit does not affect the rapid jog which will still have the value of parameter
G00FEED.
When using CAN servo, if both parameters NPULSES and PITCHB are set
to 0, the CNC will assume the equivalent values of the drive.
On Hirth axes, it indicates its pitch in degrees. When set to 0, it assumes a pitch value
of 1.
Possible values
Between 0 and 99999.9999 degrees.
(the remainder of 360/HPITCH must necessarily be zero)
Default value: 1
It admits values other than 1 and decimal values. When HPITCH is set with a decimal
value, the screen will show the coordinates with decimals.
Any stop or continuous jog movement will stop the axis in coordinates multiple of
HPITCH. The incremental jog movements will be similar to the ones carried out with
a 1 degree pitch.
For incremental switch positions of 1, 10, 100 or 1000, it will move 1 step.
For an incremental switch position 10000, the movement will be multiple of the
closest pitch to 10 (and under 10). If the pitch value is greater than 10, it will
move a single step.
Even if the position of a Hirth axis does not coincide with its Hirth pitch, any other axis
may be moved to a valid position in both automatic and jog modes. An error message
will be issued if the position to move the axis does not coincide with the pitch. In any
case, it is possible to move any other axis in both automatic and jog modes.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
97
Installation manual
AXISDEF (P90)
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Each bit has a function or work mode associated with it. By default, all the bits will
be assigned the value of 0. Assigning the value of 1 activates the corresponding
function.
Axis parameters
MACHINE PARAMETERS
4.
Bit
Meaning
0 - 14
15
Bit 15. Rollover axis. Movement in G53 via the shortest way.
This bit indicates how the movements in G53 are carried out for a positioning-only
rotary axis without travel limits.
AXISTYPE = 3 or 4
ROLLOVER = YES
LIMIT+ = 0
LIMIT- =0
When set to 1, G53 movements are carried out along the shortest path. When
several presets have been made, the axis may rotate several complete turns.
DRISET (P91)
It defines from which set of the drive will the following drive parameters be read:
NP 121: Input rpm.
NP 122: Output rpm.
This parameter is used to apply a different gear ratio to each axis when having two
Sercos axes that share the same drive. This allows controlling two completely
different axes with the same motor.
Bit
Meaning
0-7
Drive set from which drive parameters NP121 and NP 122 will
be read.
Default value: 0
A.m.p. DRISET (P91) is only taken into account when two Sercos axes share the
same drive with switch parameters. Otherwise, it will read the data of set 0.
ACCTIMET (P92)
PROGAINT (P93)
DERGAINT (P94)
FFGAINT (P95)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
98
These parameters define the third set of gains and accelerations. They must be set
like the parameters that define the first set.
First set
Second set
Third set
ACCTIME (P18)
PROGAIN (P23)
DERGAIN (P24)
FFGAIN (P25)
ACCTIME2 (P59)
PROGAIN2 (P60)
DERGAIN2 (P61)
FFGAIN2 (P62)
ACCTIMET (P92)
PROGAINT (P93)
DERGAINT (P94)
FFGAINT (P95)
To select the third set of gains and accelerations, set g.m.p. ACTGAINT (P185)
correctly or activate the CNCs general logic input ACTGAINT (M5063).
Installation manual
It indicates whether the position difference between the master and the slave will be
corrected or not so that difference is zero once both axes of a Gantry pair have been
homed.
Value
Meaning
The position difference between the master and the slave is not
corrected.
4.
MAXDIFF (P97)
It indicates the maximum position difference in mm between the master and the slave
once both axes of a Gantry pair have been homed; the position difference will not be
corrected over this value.
Value
Meaning
0.0001 - 99999.9999
MACHINE PARAMETERS
Default value: 1
Axis parameters
DIFFCOMP (P96)
This axis machine parameter is taken into account when it is about correct the position
difference.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
99
Installation manual
PEAKDISP (P98)
Every time the axis movement is inverted, the CNC will apply to that axis the velocity
command corresponding to the movement plus an additional velocity command (to
make up for backlash). This additional command is eliminated (compensation peak
cutoff) depending on the values of the following parameters:
G.m.p. BAKTIME (P30), g.m.p. ACTBAKAN (P145) and a.m.p. PEAKDISP (P98).
Axis machine parameter PEAKDISP (P98) defines the actual distance traveled along
the corresponding axis after the theoretical reversal, from which the reversal peak is
cut off on that axis.
4.
Axis parameters
MACHINE PARAMETERS
Possible values
Between 0 and 99999.9999 millimeters.
Default value: 0.005
This parameter is only taken into account when bit 1 of g.m.p. ACTBAKAN (P145)
is set to 1 if the peak is exponential or if it is square.
If the value of a.m.p. PEAKDISP (P98) = 0 and bit 1 of g.m.p. ACTBAKAN (P145)
= 1, the compensation peak is cut off with the second consecutive loop where the
counting reversal has been detected.
Example: cutting the exponential compensation off.
[rpm]
BAKANOUT
Command to execute
the compensation.
Theoretical
position.
Moving distance
set by parameter (PEAKDISP).
Position given
by the feedback
device.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
100
Installation manual
This parameter is used to be able to control when the compensation should really
be applied after detecting a movement reversal and not applying it every time a
reversal command is received.
This a.m.p. should be set with the value that the position must vary after the first
movement reversal (hysteresis) so it is considered that the command to compensate
has been issued, hence prevent it from issuing the compensations every time it
receives the command to reverse the moving direction if that margin has not been
exceeded. The value entered in this parameter must be in mm for linear axes and in
degrees for rotary axes. Default value 0.0000.
If REVEHYST= 5 dm, the CNC will not activate the reversal compensation in all the
reversals after the first one as long as the position does not change at least a value
equal to the setting of a.m.p. REVEHYST since the first command to reverse the
position command was issued.
In other words, if a reversal command is sent when the position command has varied
2 dm from the position where the first reversal command took place, it does not issue
the compensation (it has not exceeded the value given by a.mp. REVHYST) and it
just reverses the movement.
4.
Axis parameters
Example
MACHINE PARAMETERS
REVEHYST (P99)
Only when the position command variation reaches 5 dm, it will issue the
compensation and the next command to reverse will be taken as the new reference
for evaluating the position variation to determine when it reaches the value given in
a.m.p. REVEHYST again and it compensates for it again.
Position
1
P99
P99
t
1
2
3
1 3
Considerations
Being a.m.p. REVEHYST (P99) =0, the backlash compensation by reversal peak
or backlash will always be applied in each reversal.
Having set a.m.p. REVEHYST (P99) with a value other than 0, to set a.m.p.
PEAKDISP (P14) to cut the backlash peak, we recommend to use a smaller
REVEHYST value than that of PEAKDISP so as not to apply the backlash peak.
If they have been set as DRO axes, the value of a.m.p. BACKLASH (P14) will be
taken into account for these axes. In these cases, especially if they have
sinusoidal feedback, we recommend to use a value of a.m.p. REVEHYST (P99)
other than 0 in order to apply backlash compensation.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
101
Installation manual
4.4
Spindle parameters
SPDLTYPE (P0)
4.
Meaning
10 V analog output.
Spindle parameters
MACHINE PARAMETERS
Default value: 0
DFORMAT (P1)
Meaning
In 4 digits.
In 5 digits.
In 4.3 format
In 5.3 format
It is not displayed.
Default value: 0
MAXGEAR1 (P2)
MAXGEAR2 (P3)
MAXGEAR3 (P4)
MAXGEAR4 (P5)
They indicate the maximum spindle speed assigned to each gear. When using an
automatic gear change, these values will be used to make the change.
MAXGEAR1
MAXGEAR2
MAXGEAR3
MAXGEAR4
Possible values
Integers between 0 and 65535 rpm.
Default value: For MAXGEAR1 (P2) = 1000 rpm.
For MAXGEAR2 (P3) = 2000 rpm.
For MAXGEAR3 (P4) = 3000 rpm.
For MAXGEARa4 (P5) = 4000 rpm.
When not using all 4 gears, use the lower ones and set the unused ones to the same
value as the highest one used.
AUTOGEAR (P6)
Indicates whether the gear change is generated automatically or not by the CNC
activating the M functions M41, M42, M43 and M44.
Value
Meaning
NO
YES
POLARM3 (P7)
POLARM4 (P8)
CNC 8035
Indicates the sign of the spindle analog for M03 and M04.
Value
Meaning
+ sign
Positive analog.
- sign
Negative analog.
Default value: For POLARM3 (P7) = + sign.
For POLARM4 (P8) = - sign.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
102
If the same value is assigned to both parameters, the CNC will output a single polarity
(0V to 10V) signal with the indicated sign.
Installation manual
SREVM05 (P9)
Meaning
NO
It is not necessary.
YES
It is necessary.
Default value: YES
Spindle parameters
Possible values
Integer numbers between 0 and 255.
SOVRSTEP (P12)
4.
Indicate the minimum and maximum % applicable to the programmed spindle speed.
MACHINE PARAMETERS
MINSOVR (P10)
MAXSOVR (P11)
Possible values
Integer numbers between 0 and 255.
Default value: 5
NPULSES (P13)
Indicates the number of pulses per revolution provided by the spindle encoder. 0
means that there is no spindle encoder.
It must be set when the drive's velocity command is analog or it is sent via CAN
(DRIBUSLE = 0 or 1).
When the main spindle does not have an encoder (NPULSES=0), the CNC shows
its theoretical rpm (affected by the %).
Possible values
Integer numbers between 0 and 65535.
Default value: 1000
i
DIFFBACK (P14)
Meaning
NO
YES
FBACKAL (P15)
Indicates whether the feedback alarm for this axis will be ON or OFF.
CNC 8035
Value
Meaning
OFF
ON
103
Installation manual
AXISCHG (P16)
Indicates the counting direction. If correct, leave it as is, but to change it, select YES
if it was set to NO and viceversa. If this parameter is changed, s.m.p. LOOPCHG (P26)
must also be changed so the spindle does not "run away".
Possible values
NO / YES.
Default value: NO
DWELL (P17)
4.
Indicates the dwell from the moment the "ENABLE" signal is activated until the analog
voltage is sent out.
Spindle parameters
MACHINE PARAMETERS
Possible values
Integers between 0 and 65535 ms.
Default value: 0 (there is no dwell).
ACCTIME (P18)
This parameter is used when working with the spindle in closed loop and it indicates
the acceleration time given to reach the maximum speed set by s.m.p. MAXVOLT1
(P37) thru MAXVOLT4 (P40) in each gear. This time is also valid for the deceleration
stage.
Possible values
Integers between 0 and 65535 ms.
Default value: 0 (there is no control).
INPOSW (P19)
Indicates the width of the IN POSITION zone where the CNC considers the spindle
to be in position when working in closed loop (M19).
Possible values
Between 0 and 99999.9999 degrees.
Default value: 0.01 degrees.
INPOTIME (P20)
Indicates the time period that the spindle must remain in the "IN POSITION" zone
in order to consider it to be in position.
This prevents the CNC from considering the spindle to be in position and executing
the next block on those machines where the spindle could just overshoot the "IN
POSITION" zone.
Possible values
Integers between 0 and 65535 ms.
Default value: 0
MAXFLWE1 (P21)
Indicates the maximum following error allowed for the spindle when moving in closed
loop (M19).
Possible values
Between 0 and 99999.9999 degrees.
Default value: 30 degrees.
MAXFLWE2 (P22)
Indicates the maximum following error allowed for the spindle when stopped in closed
loop (M19).
Possible values
Between 0 and 99999.9999 degrees.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
104
Installation manual
PROGAIN (P23)
The CNC takes this parameter into account when operating in closed loop (M19).
Indicates the value of the proportional gain. Its value represents the analog voltage
corresponding to a following error of 1 degree.
Velocity command (mV)
= Following error (degrees) x PROGAIN
Possible values
This value is taken for the first spindle gear and the CNC calculates the values for
the rest of the gears.
Example:
s.m.p. MAXGEAR1 (P2) = 500 rev/min. The desired speed for a 1 degree of
following error is S = 1000/min (2.778 rev/rpm).
Command from the drive: 9.5V for 500 rpm
MACHINE PARAMETERS
Spindle parameters
4.
The CNC takes this parameter into account when operating in closed loop (M19).
Indicates the value of the derivative gain. Its value represents the analog voltage (in
millivolts) corresponding to a change in following error of 1mm (0.03937 inches) in
10 milliseconds.
This analog voltage will be added to the one calculated for the proportional gain.
Analog voltage
DERGAIN-
= PROGAIN + ----------------------------------
10 t
It is a good idea to also use the acc./dec. a.m.p. ACCTIME2 (P18) for this axis (with
a value other than "0") if this gain is to be applied.
Possible values
Integer numbers between 0 and 65535.
Default value: 0 (derivative gain not applied)
FFGAIN (P25)
The CNC takes this parameter into account when operating in closed loop (M19).
Indicates the % of the analog voltage due to the programmed speed. The rest will
depend upon the following error; both the proportional and derivative gains will be
applied onto this following error.
CNC 8035
Analog voltage
(SOFT M: V15.1X)
(SOFT T: V16.1X)
DERGAIN- + FFGAIN
Fprog MAXVOLT
= PROGAIN + --------------------------------------------------------------------------------------------------------------------
10 t
100 G00FEED
105
Installation manual
The feed-forward gain improves the position loop minimizing the following error, but
it should only be used when working with acceleration/deceleration.
Possible values
Integer numbers between 0 and 100.
Default value: 0 (feed-forward gain not applied)
Usually, a value between 40% and 80% is assigned depending mainly on the type
of machine and its characteristics.
4.
Spindle parameters
MACHINE PARAMETERS
LOOPCHG (P26)
Indicates the sign of the analog output. If correct, leave it as is, but to change it, select
YES if it was set to NO and viceversa.
Possible values
NO / YES.
Default value: NO
MINANOUT (P27)
SERVOFF (P28)
MINANOUT
1
--3277
--32767
0.3 mV.
--1 V.
--10 V.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
106
SERVOFF
Analog voltage
-32767
---3277
--1
--3277
--32767
-10 V.
---1 V.
--0.3 mV.
--1 V.
--10 V.
Installation manual
LOSPDLIM (P29)
UPSPDLIM (P30)
Indicate the upper and lower limits of the actual spindle speed so the CNC can "notify"
the PLC (by means of the "REVOK" signal) that the actual spindle rpms are the same
as the programmed ones.
Possible values
Integer numbers between 0 and 255.
Default value: For LOSPDLIM (P29) = 50%.
Default value: For UPSPDLIM (P30) = 150%.
Meaning
NO
YES
Indicates the type of marker pulse Io to synchronize the spindle when working in M19.
Value
Meaning
+ sign
- sign
Spindle parameters
Value
4.
Indicates whether or not the spindle has a home switch to synchronize the spindle
when working in M19.
MACHINE PARAMETERS
DECINPUT (P31)
Indicates the rotating direction when synchronizing the spindle during M19.
Value
Meaning
+ sign
Positive direction.
- sign
Negative direction.
Default value: + sign
REFEED1 (P34)
Indicates the spindles positioning speed when in M19 and the synchronizing speed
until it finds the home switch.
Possible values
Between 0.0001 degrees/min and 99999.9999 degrees/min.
Default value: 9000 degrees/min.
REFEED2 (P35)
Indicates the synchronizing speed of the spindle after hitting the home switch and until
it finds the marker pulse.
Possible values
Between 0.0001 degrees/min and 99999.9999 degrees/min.
Default value: 360 degrees/min.
REFVALUE (P36)
Indicates the position value assigned to the reference point of the spindle (home or
marker pulse).
Possible values
Within 99999.9999 degrees.
Default value: 0
MAXVOLT 1 (P37)
MAXVOLT 2 (P38)
MAXVOLT 3 (P39)
MAXVOLT 4 (P40)
CNC 8035
Possible values
Integer numbers between 0 mV and 9999 mV.
Default value: 9500 (9.5 V)
There is no need to set this parameter for an axis handled via CAN.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
107
Installation manual
GAINUNIT (P41)
The CNC takes this parameter into account when operating in closed loop (M19).
Defines the units for s.m.p. PROGAIN (P23) and DERGAIN (P24).
Value
Meaning
millivolts/degree.
millivolts/0.01 degree
Default value: 0 (mV/degree)
This parameter is used when working with the spindle in closed loop.
Spindle parameters
MACHINE PARAMETERS
4.
A value of "1" will be assigned when the analog voltage corresponding to a following
error of 1 degree is very small. This offers greater sensitivity for adjusting s.m.p.
PROGAIN (P23) and DERGAIN (P24)
ACFGAIN (P42)
The CNC takes this parameter into account when operating in closed loop (M19).
Indicates whether or not the value assigned to a.m.p. DERGAIN (P24) is applied onto
the variations of the programmed speed (AC-forward).
Value
Meaning
NO
YES
ACFGAIN = NO
ACFGAIN = YES
M19TYPE (P43)
CNC 8035
Value
Meaning
(SOFT M: V15.1X)
(SOFT T: V16.1X)
108
Installation manual
DRIBUSID (P44)
It indicates the address of the digital drive (Sercos or CAN) associated with the
spindle. It corresponds with the value of the drive's rotary switch (address, device
select).
Value
Meaning
Analog spindle.
1-8
When working in open loop (M3, M4) spindle speed variations may be in a step or
in a ramp.
This parameter indicates the duration of the ramp in milliseconds for the maximum
"S". If OPLACETI=0, it will be in a step.
Possible values
Integers between 0 and 65535 ms.
Spindle parameters
OPLACETI (P45)
4.
MACHINE PARAMETERS
It is recommended (not necessary) that the Can addresses of the various axes and
spindles be consecutive and start from number 1 (the address of the CNC is always
0). For example, with 3 Sercos axes and 1 Sercos spindle, the values of this
parameter must be 1, 2, 3 and 4.
SMOTIME (P46)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
109
Installation manual
Spindle parameters
MACHINE PARAMETERS
4.
ACCTIME2 (P47)
PROGAIN2 (P48)
DERGAIN2 (P49)
FFGAIN2 (P50)
These parameters define the second set of gains and accelerations. They must be
set like the parameters that define the first set.
First set
Second set
ACCTIME (P18)
PROGAIN (P23)
DERGAIN (P24)
FFGAIN (P25)
ACCTIME2 (P47)
PROGAIN2 (P48)
DERGAIN2 (P49)
FFGAIN2 (P50)
To select the second set of gains and accelerations, set g.m.p. ACTGAIN2 (P108)
correctly or activate the CNCs general logic input ACTGAIN2 (M5013).
DRIBUSLE (P51)
The CNC considers this parameter when using a digital drive (CAN). Axis parameter
DRIBUSID (P56) other than 0.
Even when the data exchange between the CNC and the drive is done via digital CAN
bus, one must define whether the feedback is also handled via bus or through the
corresponding connector for the axis or spindle.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
110
Value
Meaning
DRIBUSLE = 0
DRIBUSLE = 1
Installation manual
MSPIND0 (P52)
Indicates when functions M3, M4, M5 are to be sent out. While the spindle is
accelerating and decelerating.
SYNPOSOF (P53)
SYNSPEOF (P54)
ACCTIME3 (P55)
PROGAIN3 (P56)
DERGAIN3 (P57)
FFGAIN3 (P58)
These parameters define the third set of gains and accelerations. They must be set
like the parameters that define the first set.
First set
ACCTIME
PROGAIN
DERGAIN
FFGAIN
(P18)
(P23)
(P24)
(P25)
Second set
ACCTIME2
PROGAIN2
DERGAIN2
FFGAIN2
(P47)
(P48)
(P49)
(P50)
Spindle parameters
MACHINE PARAMETERS
4.
Third set
ACCTIME3
PROGAIN3
DERGAIN3
FFGAIN3
(P55)
(P56)
(P57)
(P58)
Possible values
The same as for the first gear.
Default value: For ACCTIME3 (P55) = 4000 ms .
For PROGAIN3 (P56) = 50 mV/degree.
For DERGAIN3 (P57) = 0.
For FFGAIN3 (P58) = 100.
When working with FFGAIN3 (P58) = 100, set the MAXGEAR and MAXVOLT
parameters properly.
ACCTIME4 (P59)
SECACESP (P60)
SYNCPOLA (P61)
CONCLOOP (P62) It indicates whether the spindle operates in closed positioning loop (as if it were an
axis) or not.
Value
Meaning
NO
YES
CNC 8035
In order to operate in closed positioning loop, the spindle must have an encoder and
a good servo system for the full speed range.
When working with M19, the first two sets of gains and accelerations are used
regardless of the value given to this parameter.
When working in closed positioning loop (M3, M4, M5) the third set of gains and
accelerations is used: ACCTIME3, PROGAIN3, DERGAIN3 and FFGAIN3.
SYNMAXSP (P63)
(SOFT M: V15.1X)
(SOFT T: V16.1X)
111
Installation manual
M3M4SIM (P64)
SINMAGNI (P65)
It indicates the multiplying factor (x1, x4, x20, etc.) that the CNC must apply only to
sinusoidal feedback signals of the spindle.
For square feedback signals, this parameter must be set to 0 and the CNC will always
apply a multiplying factor of x4.
Possible values
Integer numbers between 0 and 255.
4.
Spindle feedback resolution is set by s.m.p. NPULSES (P13) and SINMAGNI (P65).
Spindle parameters
MACHINE PARAMETERS
Default value: 0
Example
We would like to obtain a 0.001 resolution by using a 3600 pulse/rev sinusoidal
encoder.
We must calculate the multiplying factor "SINMAGNI" to be applied by the CNC to
the pulses provided by the encoder in order to obtain the desired resolution.
SINMAGNI = degrees per turn / (number of pulses x resolution)
SINMAGNI = 360 / (3600 x 0,001) = 100
Therefore: NPULSES =3600 SINMAGNI=100
SLIMIT (P66)
Maximum safety limit for the spindle speed. This limit is activated from the PLC and
is applied in all the work modes, including the PLC channel. When the spindle is
controlled by the PLC by means of the PLCCNTL mark, this limit is ignored.
Possible values
Between 0 and 65535 rpm.
Default value: 0
This limit is activated using the mark SLIMITAC (M5059). When this limit is canceled,
the CNC recovers the programmed speed.
This limit permits clearing the spindle speed temporarily via PLC, e.g. when opening
the doors, etc.
ORDER (P67)
Filter order. The down ramp is dampened down; the larger the number the greater
the drop.
Value
Filter type
[0 - 4]
[0 - 4]
[0 - 30]
FAGOR filter
Default value: 0 (the filter is not applied).
When applying a filter, it must be set with an order of 3. Before setting it to another
value, consult with Fagor Automation's technical service.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
When detecting that the FAGOR filter order is too high for the filter configuration
(according to parameters FREQUEN and LOOPTIME), on power-up it will issue the
message: "It is recommended to lower the order of the frequency filter".
It is recommended to start from low values (e.g.: ORDER=5) and go on increasing
this value until that message is displayed.
112
Installation manual
When using filters, it is recommended to use low values of PLC parameter PLC
CPUTIME (e.g.: 0, 1), to assign to the CPU the strictly necessary amount of power.
Filter type. Three types of filters may be used, namely "low passing", "anti-resonance
(band rejection, notch filter)" and "FAGOR (low passing)". To obtain a good machining
quality, all the axes and the spindle interpolating with each other should be defined
with the same type of filter and with the same frequency. For the spindle, the filters
are only applied in M19 and in rigid tapping where the spindle is interpolated with the
Z axis.
Meaning
4.
Default value: 0
Ao
A
0,707Ao
(-3dB)
Spindle parameters
Value
MACHINE PARAMETERS
TYPE (P68)
f
FREQUEN
Ao
A
0,707Ao (-3dB)
f1
f2
FREQUEN
CNC 8035
After the start-up, if the value of that parameter is not changed, the CNC will
cancel that parameter automatically.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
113
Installation manual
FREQUEN (P69)
The meaning of this parameter depends on the type of filter being applied.
On "low passing" and "FAGOR" filters, it indicates the break point frequency or
frequency where the amplitude drops 3 dB or it reaches 70% of the nominal
amplitude.
-3dB = 20 log (A/Ao) ==> A = 0.707 Ao
For the "anti-resonance" (notch) filter, it indicates the mid frequency or frequency at
which the resonance reaches its maximum value.
4.
Possible values
Spindle parameters
MACHINE PARAMETERS
Standardized bandwidth.
This parameter is only taken into account for the "anti-resonance (notch)" filter type.
Possible values
between 0 and 100.0
Default value: 1
It is calculated with the following formula.
Points f1 and f2 correspond to the cutoff
frequency or frequency at which its
amplitude drops 3 dB or reaches 70% of the
nominal amplitude.
Ao
A
0,707Ao (-3dB)
f1
f2
FREQUEN
SHARE (P71)
----------------------------NORBWID = FREQUEN
( f2 f1 )
Signal percentage that passes through the filter. This value must be equivalent to the
percentage overshooting of the resonance because it has to make up for it.
This parameter is only taken into account for the "anti-resonance (notch)" filter type.
Possible values
between 0 and 100
Default value: 100
Calculation example for a particular response of the machine.
Ar
Ao
CNC 8035
f
SHARE=100(Ar-Ao)/Ao
(SOFT M: V15.1X)
(SOFT T: V16.1X)
114
Installation manual
JERKLIM (P80)
Parameters INPREV1 trough INPUTRE4 indicate the input speed for each gear.
Parameters OUTPREV1 through OUTPREV4 indicate the output speed for each
gear.
Meaning
JERKLIM = 0
4.
Spindle parameters
When using a CAN servo system (only with DRIBUSLE = 0), these parameters set
the gear ratios in each range.
MACHINE PARAMETERS
INPREV1 (P72)
OUTPREV1 (P73)
INPREV2 (P74)
OUTPREV2 (P75)
INPREV3 (P76)
OUTPREV3 (P77)
INPREV4 (P78)
OUTPREV4 (P79)
These parameters define the third set of gains and accelerations. They must be set
like the parameters that define the first set.
First set
Second set
Third set
ACCTIME (P18)
PROGAIN (P23)
DERGAIN (P24)
FFGAIN (P25)
ACCTIME2 (P47)
PROGAIN2 (P48)
DERGAIN2 (P49)
FFGAIN2 (P50)
ACCTIMET (P81)
PROGAINT (P82)
DERGAINT (P83)
FFGAINT (P84)
To select the third set of gains and accelerations, set g.m.p. ACTGAINT (P185)
correctly or activate the CNCs general logic input ACTGAINT (M5063).
THREAOVR (P85)
When beginning to machine long threads on large lathes, the part usually "bends".
To prevent this, it is possible to change the spindle override in the first passes. This
parameter affects canned cycles G86 and G87 while machining the thread.
Possible values
Meaning
0% - 30%
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Spindle machine parameter M19TYPE (P43) must be set to "1" in order for the
override to work while threading.
115
Installation manual
In order not to damage the thread when varying the override, the feed-forward
value of the axes must be close to 100% so as to work with a near-zero
following error.
Spindle parameters
MACHINE PARAMETERS
4.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
116
Installation manual
Drive parameters
This option is available when the CNC uses digital servo drive system; i.e. the drives
are connected to the CNC via CAN.
CAN interface
This option works fine for spindles with drive version SPD V7.01 or newer. It
also works fine for axes with drive version ACSD V1.01 or newer.
When selecting the drive parameters at the CNC, it will display the ones stored in each
drive and if any is modified, it is modified at the drive. The CNC does not have
parameters of the drive although their copies may be stored in the hard disk (KeyCF).
When accessing the parameters of a drive, the CNC shows a screen that looks like
this. Refer to the drive manual for further details on commands, variables, etc.
displayed on the screen
AXIS X DRIVE PARAM
GROUP
P...... N....
11:50:14
G) General Parameters
NAME
SP43
SP10.0
SP2.0
SP3.0
CP1
CP2
VALUE
ACCESS BASIC
PASSWORD
VERSION
MODIFY
SET 0
COMMENT
0 ...
200 r.p.m
50 milisec
0 milisec
183 ...
125 ...
NODE 1
SERCOS ID
VelocityPolarityParameters
VelocityLimit
VelocityIntegralTime
KD_Velo
CurrentProportionalGain
CurrentIntegralTime
EXECUTE
COMMAND
CHANGE
GROUP
4.
Drive parameters
This option displays the tables of the drive parameters that are stored in the hard disk
(KeyCF) and the softkeys of the digital axes. Press one of those softkeys for editing
the drive parameters for that particular axis.
MACHINE PARAMETERS
4.5
43
91
101
102
106
107
FXM31.20F.I0.000
CHANGE
SET
TO FLASH
DRIVE
In the GROUP window, one must select the group of parameters or variables to
be displayed. To change the group, press the [Change Group] softkey, select the
new group with the [] [] keys and press [ENTER].
In the SET window, one must select the set of parameters or variables to be
displayed. To select another set, press the [Change set] softkey, select the new
set with the [] [] keys and press [ENTER].
The NODE window shows the node number identifying that drive in the CAN
connection; i.e. the position of its rotary switch.
In other words, the position of the Sercos switch. The main window shows the
variables or parameters of the selected group and set indicating their Fagor name
in each variable, its value, its meaning and its identifier. If the variable does not
have a write permission, a key will appear before the Fagor name.
This information is updated when selecting a new information (group or set), when
modifying a variable or parameter or when pressing page/up page-down. It is not
refreshed continuously.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
117
Installation manual
The ACCESS window shows the permitted access level. There are 3 access
levels at the drive: basic level, OEM level and Fagor level. To change the level,
press the [Password] softkey, key in the relevant code and press [ENTER].
The VERSION window shows the software version installed at the drive, the name
of the motor associated with the drive and the drive model.
4.
Drive parameters
MACHINE PARAMETERS
Password
Modifies the access level selected in the "Access" window.
In the case of CAN servo system, to access the drive parameters with an OEM access
level, the password is defined in Utilities mode as OEMPSW; not a pre-established
one as when using Sercos .
Modify
To modify the variables that are not protected (those without a key icon).
After selecting the variable with the [] [] keys, pressing the "modify" softkey
displays two windows. The first one shows the range of possible values and the
second one the current value. Enter the new value and press [ENTER].
The drive assumes that value and refreshes the screen.
Execute command
Shows the list of commands that can be executed by the drive. Select one using the
[] [] keys and press [ENTER].
Change group
Selects the group of parameters or variables to be displayed.
Change set
Selects the set number of the parameters or variables to be displayed.
To drive flash
The drive stores all its parameters in its flash memory and it then executes a softreset command. This command interrupts the communication, press [ENTER] to
restore it.
Save
It makes a copy of the parameters of the drive's RAM memory into the CNC's hard
disk (KeyCF) or to a peripheral device or PC through the serial line.
The parameters are storedwith the name of the axis they are associated with (for
example, the X axis parameters). A file saved from the CNC via WinDNC may be
loaded into the drive via DDSSETUP and vice versa.
CNC 8035
Load
It copies into the drive's RAM memory the parameters saved in the CNC's hard disk
(KeyCF) or in a peripheral device or in PC through the serial line.
The CNC copies the axis parameters that are being edited.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Drive Errors
It displays a window with the warnings and errors of the drive. If all of them do not
fit on the screen, use [] [] keys.
118
Installation manual
Options
It shows a screen where one can select to display either all the parameters and
variables or just the ones than can be modified.
Press the [Modify Option] softkey to change it and [ENTER] to validate it. This option
is common to all the axes.
Drive parameters
MACHINE PARAMETERS
4.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
119
Installation manual
4.6
BAUDRATE (P0)
Indicates the communication speed, in baud, between the CNC and the peripherals.
It is given in baud and it is selected with the following code:
MACHINE PARAMETERS
4.
Value
Meaning
Value
Meaning
110 baud.
9,600 baud.
150 baud.
19,200 baud.
300 baud.
38,400 baud.
600 baud.
10
57,600 baud.
1,200 baud.
11
115,200 baud.
2,400 baud.
12
Reserved.
4,800 baud.
Default value: 11 (115200 baud)
NBITSCHR (P1)
Meaning
PARITY (P2)
Meaning
No parity.
Odd parity.
Even parity.
Default value: 0
STOPBITS (P3)
Indicates the number of stop bits at the end of each transmitted word.
Value
Meaning
1 STOP bit.
2 STOP bits.
Default value: 0
PROTOCOL (P4)
Meaning
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
120
PWONDNC (P5)
Meaning
NO
YES
Active on power-up
Default value: NO
Installation manual
DNCDEBUG (P6)
Indicates whether the debugging feature for DNC communications is active or not.
It is advisable to use this safety feature in all DNC communications. It could be
deactivated in the debugging process.
Value
Meaning
NO
YES
Meaning
CAN
EOT
Indicates the character used to indicate "end of line" when communicating with
general peripheral device.
Value
Meaning
LF
CR
LF-CR
CR-LF
Value
Default value: 0
EOLCHR (P8)
4.
Indicates the character used to abort communications with general peripheral device.
MACHINE PARAMETERS
ABORTCHR (P7)
Default value: 0
EOFCHR (P9)
Indicates the character used to indicate "end of text" (end of file) when communicating
with a general peripheral device.
Value
Meaning
EOT.
ESC.
SUB
ETX
Default value: 0
XONXOFF (P10)
Meaning
ON
It is active.
OFF
It is NOT active.
Default value: ON
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
121
Installation manual
4.7
Ethernet parameters
These parameters may be used to configure the CNC like any other node in the
network, the DNC for Ethernet, the hard disk (KeyCF) and the Ethernet network.
Doing that requires the Ethernet option.
Parameters
Configuration
Basic configuration:
DIRIP (P24)
4.
NETMASK (P25)
Ethernet parameters
MACHINE PARAMETERS
CNHDPAS1 (P7)
IPWDNC (P27)
Basic configuration and also:
IPSNFS (P28)
DIRNFS (P29)
If the CNC is configured like another node in the network, it may be accessed from
any PC of the network knowing its IP. Only the CNC's KeyCF may be accessed; i.e.
it is not possible to access programs in RAM nor read variables, tables, etc.
With the CNC configured in the network, the following is possible from any PC of the
network:
Access the part-program directory of the hard disk (KeyCF).
Edit, modify, delete, rename, etc., the programs stored on the hard disk (KeyCF).
Copy programs from the hard disk (KeyCF) to the PC and vice versa.
HDDIR (P0)
CNMODE (P1)
CNID (P2)
CNC name when connecting it via FTP (only when allowed by the FTP client).
Possible values
It admits up to a maximum of 15 characters (without blank spaces).
Default value: FAGORCNC
CNGROUP (P3)
...
CNHDDIR1 (P6)
CNHDPAS1 (P7)
EXTNAME2 (P8)
...
SERUNI2 (P21)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
122
Installation manual
DNCEACT (P22)
IPTYPE (P23)
DIRIP (P24)
CNC's IP address.
Possible values
Four numbers between 0 and 255 separated by dots.
Default value: 0.0.0.0 (the network is not activated)
Possible values
Four numbers between 0 and 255 separated by dots.
Default value: 0.0.0.0 (the network is not activated)
IPGATWAY(P26)
Gateway IP address.
Possible values
Four numbers between 0 and 255 separated by dots.
Default value: 0.0.0.0 (it has no gateway)
IPWDNC (P27)
Ethernet parameters
4.
Network mask.
MACHINE PARAMETERS
NETMASK (P25)
IPSNFS (P28)
DIRNFS (P29)
MACID (P30)
ETHEINLE (P31)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
123
Installation manual
4.
At the Web browser (e.g. IExplorer) or from the file explorer (only on Windows 98),
write in the command line the user name, the password and the CNC's IP address.
The user name is always "cnc".
Ethernet parameters
MACHINE PARAMETERS
CNC_1
10.1.6.25
MILL_MACH_01
On the Web browser or from the file explorer (only on Windows 98), write the
defined name in the command line.
For example (CNC without password): ftp://CNC_01.
For example (CNC with password): ftp://cnc:password@MILL_MACH_01
Through the "Favorites" menu of the Web browser.
In the Web explorer, write the IP address in the command line. After accessing
the site, select the "Favorites" option on the menu > add to favorites and assign
a name to that IP address. This way, it is possible to access the CNC by selecting
the assigned name on the "Favorites" menu.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
124
Installation manual
Ethernet parameters
1. First, select the network site, in this case an ftp folder. Write "ftp://" followed
by the CNC's IP address defined by machine parameter DIRIP (P24).
4.
MACHINE PARAMETERS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
125
Installation manual
4.8
PLC Parameters
WDGPRG (P0)
Indicates the Watchdog time-out period for the main PLC program.
Possible values
Integers between 0 and 65535 ms.
Default value: 0
WDGPER (P1)
4.
Indicates the Watch-Dog time-out period for the periodic module of the PLC.
PLC Parameters
MACHINE PARAMETERS
Possible values
Integers between 0 and 65535 ms.
Default value: 0
USER0 (P2)
...
USER23 (P25)
CPUTIME (P26)
This parameter indicates the time the system CPU dedicates to the PLC.
Value
Meaning
1 ms every 8 samplings.
1 ms every 4 samplings.
1 ms every 2 samplings.
The sampling period is determined by the g.m.p. LOOPTIME (P72). Hence, for a
sampling period of 4 msec. and a CPUTIME=0, the system CPU dedicates 1
millisecond every 8 samplings (thus, 32 milliseconds) to the PLC.
CNC 8035
The Status window of the PLC statistics screen indicates the time the system CPU
dedicates to the PLC. Refer to the operation manual.
Same as with sinewave feedback, number of axes and the user channel
active, the PLC demands calculation time from the system CPU.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
126
The more time the CPU dedicates to the PLC, the greater the sampling time
will be, g.m.p. LOOPTIME (P72).
Installation manual
PLCMEM (P27)
SRR700 (P28)
...
SRR739 (P67)
SWR800 (P68)
...
SWR819 (P87)
OCANSPE (P88)
IOCAGEN (P89)
IOCANID1 (P90)
IOCANID2 (P91)
IOCANID3 (P92)
IOCANID4 (P93)
ICAN1 (P94)
OCAN1 (P95)
ICAN2 (P96)
OCAN2 (P97)
ICAN3 (P98)
OCAN3 (P99)
ICAN4 (P100)
OCAN4 (P101)
NUICAN1 (P102)
NUOCAN1 (P103)
NUICAN2 (P104)
NUOCAN2 (P105)
NUICAN3 (P106)
UOCAN3 (P107)
NUICAN4 (P108)
NUOCAN4 (P109)
IANA5V (P130)
NUILO1 (P131)
NUOLO1 (P132)
These PLC machine parameters may be used to redefine the numbering of the inputs/
outputs of the local expansion module without having to modify the PLC program.
Value
Meaning
NUILO1
NUOLO1
PLC Parameters
MACHINE PARAMETERS
4.
The CPU of the 8035 CNC may have digital 16I/8O and optionally a single local digital
expansion of 24I/16O.
The inputs/outputs that do not belong to the expansion module are numbered starting
from I1 and O1 and cannot be set by parameters.
IMPORTANT:The numbering of both the first local input and the first local output of
the expansion module must be a multiple of 8 plus 1 (1+ 8n).
CNC 8035
If incoherent parameter settings are detected on power-up, an error message
will be issued indicating it.
Inside the expansion module, the numbering of the rest of inputs/outputs will be
sequential from the first one on.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
The numbering for the inputs/outputs of the expansion module will be different
depending on the values entered in parameters NUILO1 and NUOLO1.
127
Installation manual
To properly number the inputs/outputs of the expansion module follow the indications
of the example.
Example:
Let's assume an 8035 CNC with 16i/8O and a local expansion module with 24I/16O.
How should all the inputs/outputs of the expansion module be numbered?
X The inputs/outputs that do not belong to the expansion module (16I/8O) cannot
be set by parameters; therefore, the first input is always numbered as I1 and the first
output as O1.
4.
PLC Parameters
MACHINE PARAMETERS
X The inputs/outputs of the expansion module with the PLC parameters set to zero:
Parameters of the expansion module
NUILO1 = 0
NUOLO1 = 0
will be:
I/O of the expansion module
I17 - I40
O9 - O24
The inputs of the expansion module are numbered sequentially after the last input
that does not belong to the expansion module (I16+1 = I17). Follow the same
procedure for the outputs.
X The inputs/outputs of the expansion module with the PLC parameters set to a value
other than zero and multiple of (1+ 8n) where "n" is a natural number:
Parameters of the expansion module
NUILO1 = 65
NUOLO1 = 33
will be:
I/O of the expansion module
I65 - I86
O33 - O48
The inputs of the expansion module are numbered sequentially after the value
assigned to parameter NUILO1 (I65) chosen at will with the restriction (8n+1).
Follow the same procedure for the outputs.
i
NUILO2 (P133)
NUOLO2 (P134)
NUILO3 (P135)
NUOLO3 (P136)
NUILO4 (P137)
NUOLO4 (P138)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
128
Installation manual
4.
Tables
4.9.1
Tables
MACHINE PARAMETERS
4.9
A subroutine can be associated with each M function and it will be indicated by the
letter S.
Possible values
Integer numbers between 0 and 9999.
If 0 is assigned to this field, it means that the M function has no
subroutine associated with it.
The third field consists of 8 customizing bits called bit 0 through bit 7:
bit 0
Indicates whether the CNC must wait or not for the AUXEND signal (M done) to
consider it executed and go on to the next program block
Value
Meaning
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
129
Installation manual
bit 1
bit 2
Tables
MACHINE PARAMETERS
4.
bit 3
bit 4
Indicates whether the M function is executed before or after the movement block
where it is programmed.
Value
Meaning
Meaning
Indicates whether the M function is executed or not after the associated subroutine
is executed.
Value
Meaning
When bit "2" has been set to "1", it indicates whether block preparation is to be
interrupted until the execution of the M function begins or until it ends (until the Mdone signal is received).
Value
Meaning
bit 5
bit 6
bit 7
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
130
Installation manual
Tables
4.
MACHINE PARAMETERS
4.9.2
Each parameter of the table represents a point of the profile to compensate. The
following information is defined at each point:
The position occupied by the point in the profile (position to compensate). This
position is defined by its coordinate referred to machine reference zero.
Possible values
Within 99999.9999 mm or 3937.00787 inches.
The error of the leadscrew at that point, when moving in the positive direction.
Possible values
Within 99999.9999 mm or 3937.00787 inches.
The error of the leadscrew at that point, when moving in the negative direction.
Possible values
Within 99999.9999 mm or 3937.00787 inches.
For each axis position, define the amount of error to be compensated in both
directions. If the amount of error in the negative direction is zero in all points, it
assumes that the amount of error defined for the positive direction is valid for both
directions.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
131
Installation manual
MACHINE PARAMETERS
4.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
132
Installation manual
COMPAXIS (P33)
NPCROSS (P31)
Parameter MOVAXIS indicates the axis that moves and COMPAXIS the axis affected
by the movement of the "movaxis" (to be compensated) and NPCROSS indicates the
number of points in the table.
Tables
4.
MACHINE PARAMETERS
4.9.3
The table must indicate the amount of error to be compensated in specific positions
of the moving axis.
The position is defined in home coordinates (referred to machine reference zero).
Depending on g.m.p. TYPCROSS (P135), the CNC will take into account either the
theoretical or real (actual) coordinates.
Possible values for the position and error fields:
Possible values
Within 99999.9999 mm or 3937.00787 inches.
When defining the profile points in the table, the following requirements must be met:
The axis points must be in sequential order starting from the most negative (least
positive) point to be compensated.
For those points outside the compensation zone, the CNC will apply the
compensation value corresponding to the table point closest to them.
When both leadscrew and cross compensations are applied on the same axis, the
CNC will apply the sum of the two.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
133
Installation manual
Tables
MACHINE PARAMETERS
4.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
134
CONCEPTS
5.1
Axis nomenclature
The axes are named according to DIN 66217.
U, V, W
A, B, C
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
135
Installation manual
The figure below shows an example of the nomenclature of the axes on a millingprofiling machine with a tilted table.
CONCEPTS
5.
Axis selection
Out of the 9 possible axes that there could be, the CNC lets the OEM select up to
3 of them at the mill model and 2 of them at the lathe model.
Moreover, all the axes should be suitably defined as linear, rotary, etc. through the
axis machine parameters.
There is no limitation to the programming of the axes, and up to 3 axes may be
interpolated at the same time.
Example of milling.
The machine has two regular linear axes: X, Y and Z, an analog spindle (S) and a
handwheel.
Setting of g.m.p. AXIS1 (P0) through AXIS8 (P7).
AXIS1 (P0) = 1
X axis
AXIS2 (P1) = 2
Y axis
AXIS3 (P2) = 3
Z axis
AXIS4(P3)=10
Spindle (S)
Handwheel
AXIS5 (P4) = 0
AXIS6 (P5) = 0
AXIS7 (P6) = 11
AXIS8 (P7) = 0
The CNC activates a machine parameter table for each axis (X, Y, Z, U) and another
one for the spindle (S).
a.m.p. AXISTYPE (P0) must be set as follows.
CNC 8035
X axis
AXISTYPE (P0) = 0
Y axis
AXISTYPE (P0) = 0
Z axis
AXISTYPE (P0) = 0
136
SPDLTYPE (P0) = 0
Likewise, a.m.p DFORMAT (P1) and s.m.p. DOFORMAT (P1) must be properly set
to indicate their display formats.
Installation manual
Example of lathe.
The machine has two regular linear axes: X and Z and an analog spindle (S).
Setting of g.m.p. AXIS1 (P0) through AXIS8 (P7).
AXIS1 (P0) = 1
X axis
AXIS2 (P1) = 3
Z axis
AXIS3 (P2) = 10
Spindle (S)
CONCEPTS
AXIS5 (P4) = 0
AXIS6 (P5) = 0
AXIS7 (P6) = 0
AXIS8 (P7) = 0
The CNC activates a machine parameter table for each axis (X, Z) and another one
for the spindle (S).
a.m.p. AXISTYPE (P0) must be set as follows.
X axis
AXISTYPE (P0) = 0
Z axis
AXISTYPE (P0) = 0
5.
AXIS4(P3)=0
SPDLTYPE (P0) = 0
Likewise, a.m.p DFORMAT (P1) and s.m.p. DOFORMAT (P1) must be properly set
to indicate their display formats.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
137
Installation manual
5.1.1
Rotary axes
With this CNC, it is possible to select the type of rotary axis by means of a.m.p.
AXISTYPE(P0).
CONCEPTS
5.
AXISTYPE (P0) = 2
Positioning-only axis
AXISTYPE (P0) = 3
AXISTYPE (P0) = 4
By default, their position is always displayed between 0 and 360 (Rollover axis). If
these limits are not to be set, modify a.m.p. ROLLOVER (P55).
ROLLOVER = YES
ROLLOVER = NO
No display limits.
Although the display is limited between 0 and 360, the internal count is accumulative.
Therefore, a.m.p. "LIMIT+(P5)" and "LIMIT-(P6)" should be set to limit the maximum
number of turns in each direction.
When both parameters are set to "0", the axis can move indefinitely in either direction
(rotary tables, indexers, etc.). See "4.3 Axis parameters" on page 77.
When using leadscrew error compensation, set positions 0 and 360, first and last
point of the table, with the same amount of error. This way, the CNC will apply the
same compensation in all the revolutions. See "5.5.7 Leadscrew error
compensation" on page 167.
LIMIT+ = 8000
LIMIT- =-8000
ROLLOVER=YES
CNC 8035
LIMIT+ = 0
LIMIT- =0
LIMIT+ = 350
(SOFT M: V15.1X)
(SOFT T: V16.1X)
138
LIMIT- =10
ROLLOVER=YES/NO
Installation manual
Positioning-only axis
It cannot interpolate with linear axes. Movement always in G00, and they do not admit
tool radius compensation (G41, G42).
Absolute coordinate programming (G90).
Always positive and in the shortest direction. End coordinate between 0 and
359.9999.
Incremental coordinate programming (G91).
AXISTYPE=3
ROLLOVER=YES
LIMIT+ = 8000
LIMIT- =-8000
ROLLOVER=YES
LIMIT+ = 0
LIMIT- =0
CONCEPTS
Positioning-only axis
5.
The sign indicates the turning direction. If the programmed movement exceeds
360, the axis will turn more than once before positioning at the desired point.
LIMIT+ = 350
ROLLOVER=YES/NO
LIMIT- =10
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
139
Installation manual
More than one Hirth axis may be used, but they can only move one at a time.
Rotary Hirth axis (whole degrees)
AXISTYPE=3
ROLLOVER=YES
LIMIT+ = 8000
LIMIT- =-8000
5.
CONCEPTS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
140
ROLLOVER=YES
LIMIT+ = 0
LIMIT- =0
LIMIT+ = 350
LIMIT- =10
ROLLOVER=YES/NO
Installation manual
Gantry axes
Gantry axes are any two axes that, due to the way the machine is built, must move
together in synchronism. For example: bridge type mills.
Only the movements of one of those axes must be programmed and it is called the
main or master axis. The other axis is referred to as "slave axis".
In order to operate this way, it is necessary to have the a.m.p. GANTRY (P2)
corresponding to both axes set as follows:
5.
Parameter "GANTRY" of the slave axis must indicate which axis is its "master"
(or main axis).
Also, a.m.p. MAXCOUPE (P45) of the slave axis must indicate the maximum allowed
difference between the following errors of both axes.
Example of a bridge type milling machine with two Gantry axes (X-U, Z-W).
Machine parameters.
X axis
GANTRY = 0
U axis
GANTRY = 1
Z axis
GANTRY = 0
W axis
GANTRY = 3
CONCEPTS
5.1.2
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
141
Installation manual
5.1.3
Incline axis
With the angular transformation of an incline axis, it is possible to make movements
along an axis that is not perpendicular to another.
On certain machines, the axes are configured in a Cartesian way, they are not
perpendicular to each other. A typical case is the X axis of a lathe that for sturdiness
reasons is not perpendicular to the Z axis.
5.
CONCEPTS
X'
Cartesian axis.
X'
Angular axis.
Orthogonal axis.
X
X'
60
ANGAXNA
ORTAXNA
ANGANTR
60
OFFANGAX
CNC 8035
The parameter OFFANGAX sets the distance between machine zero and the origin
that defines the coordinate system of the incline axis. The axes defined in parameters
"ANGAXNA" and "ORTAXNA"must exist and must be linear. Those axes may have
Gantry axes associated with them.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
142
The parameter ANGANTR defines the angle between the Cartesian axis and the
angular axis it is associated with. The angle is positive when the angular axis has been
rotated clockwise and negative if otherwise. If its value is 0, there is no need to do
an angular transformation.
Installation manual
Movement programming
Movement along the incline axis, but programming the coordinate in the Cartesian
system. While this mode is active, in the motion block only the coordinate of the
incline axis must be programmed.
Jog movements
PLC mark "MACHMOVE" determines how the manual movements with handwheels
or with the keyboard will be carried out.
MACHMOVE = 0
MACHMOVE = 1
CONCEPTS
The movements are programmed in the Cartesian system and are transformed
into movements on the real axes.
5.
The incline plane is activated from the part-program (function G46). Two kinds of
movements may be executed.
Home search
While searching home, the movements are carried out on the incline axes of the
machine. The incline axis is deactivated when searching home on any axis that is part
of the incline axis configuration.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
143
Installation manual
5.2
Jog
5.2.1
Jog
CONCEPTS
5.
Z+
X+
Y+
XZ-
Mill model
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
144
Y-
X+
ZC-
C+
Z+
X-
Lathe model
Installation manual
Path-jog mode
This mode may be used to act upon the jog keys of an axis to move both axes of the
plane at the same time for chamfering (straight sections) and rounding (curved
sections). The "path jog" mode acts when the switch is in the continuous or
incremental jog positions.
The CNC assumes as "Path jog" the keys associated with the X axis.
Feature setting
To activate or cancle the "Path jog" work mode, act upon the logic CNC input
"MASTRHND" M5054.
M5054 = 0
M5054 = 1
Jog
5.
5.2.2
To indicate the type of movement, use CNC logic input "HNLINARC" M5053.
M5053 = 0
Linear path.
M5053 = 1
Arc path.
For a linear path, indicate the path angle in the MASLAN variable (value in degrees
between the linear path and the first axis of the plane). For an arc, indicate the arc
center coordinates in the MASCFI, MASCSE variables (for the first and second axes
of the main plane).
Variables MASLAN, MASCFI and MASCSE may be read and written from the CNC,
DNC and PLC.
Path jog
Type of movement
Continuous jog
OFF
ON
OFF
ON
Incremental jog
Handwheel
CNC 8035
The rest of the jog keys always work in the same way, whether "path jog" is on or off.
The rest of the keys move only the axis and in the indicated direction.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
145
Installation manual
5.
CONCEPTS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
146
Installation manual
5.
10
100
CONCEPTS
5.3
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
147
Installation manual
5.3.1
Standard handwheel
General handwheel.
1. Select the axis to be jogged.
Press one of the JOG keys of the axis to be jogged. The selected axis will be
highlighted.
When using a Fagor handwheel with an axis selector button, the axis may be
selected as follows:
5.
CONCEPTS
Push the button on the back of the handwheel. The CNC select the first axis
and it highlights it.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
148
When pressing the button again, the CNC selects the next axis and so on in
a rotary fashion.
To deselect the axis, hold the button pressed for more than 2 seconds.
2. Jog the axis.
Once the axis has been selected, it will move as the handwheel is being turned
and in the direction indicated by it.
Individual handwheels.
Each axis will move as the corresponding handwheel is being turned according to
the switch position and in the direction indicated by it.
Simultaneous handwheels.
The machine may have a general handwheel and up to 3 individual handwheels
associated with each axis. The individual handwheels have priority over the general
handwheel. So, if an individual handwheel is moving, the general handwheel will be
ignored.
Installation manual
Path handwheel
With this feature, it is possible to jog two axes at the same time along a linear path
(chamfer) or circular path (rounding) with a single handwheel.
The CNC assumes as the "path handwheel" the general handwheel or, when this one
is missing, the one associated with the X axis (mill) or Z axis (lathe).
Feature setting
5.
To activate or cancle the "Path jog" work mode, act upon the logic CNC input
"MASTRHND" M5054.
M5054 = 0
M5054 = 1
To indicate the type of movement, use CNC logic input "HNLINARC" M5053.
M5053 = 0
Linear path.
M5053 = 1
Arc path.
For a linear path, indicate the path angle in the MASLAN variable (value in degrees
between the linear path and the first axis of the plane). For an arc, indicate the arc
center coordinates in the MASCFI, MASCSE variables (for the first and second axes
of the main plane).
CONCEPTS
5.3.2
Variables MASLAN, MASCFI and MASCSE may be read and written from the CNC,
DNC and PLC.
The next example uses the [O2] key to activate and deactivate the "path handwheel"
mode and the [O3] key to indicate the type of movement.
DFU B29 R561 = CPL M5054
Activate or cancel the "path handwheel" mode.
DFU B31 R561 = CPL M5053
Select the type of movement; straight section or arc section.
Simultaneous handwheels
When selecting the path handwheel mode, the CNC behaves as follows:
If there is a general handwheel, it will be the one working in path handwheel mode.
The individual handwheels, if any, will remain associated with the corresponding
axes.
If there is no general handwheel, one of the individual handwheels starts working
in "path handwheel" mode. The one associated witht the X axis if mill model or
the one associated with the Z if lathe model.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
149
Installation manual
5.3.3
5.
CONCEPTS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
150
Set the corresponding feedrate override from the PLC depending on the pulses
received from the handwheel.
The following CNC variables return the number of pulses the handwheel has turned.
HANPF
HANPS
HANPT
HANPFO
Installation manual
CONCEPTS
5.
PRG
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
151
Installation manual
5.3.4
CONCEPTS
5.
G01 X_ Z_
G01 X_ Z_
X
(Z,X)
ADIOFX
A
(X,Z)
ADIOFZ
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
When testing the software limits during block preparation, it checks the theoretical
coordinate ignoring the additional movement of the additive handwheel.
The additive handwheel is configured by machine parameters and is activated and
deactivated by PLC.
152
Installation manual
Coordinates display
Parameter DIPLCOF determines whether the CNC takes into consideration or not
the additive zero offset when displaying the coordinates of the axes on the screen
and when accessing the POS(X-C) and TPOS(X-C) variables.
CONCEPTS
5.
Movement with an electronic handwheel
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
153
Installation manual
5.4
feedback system
The various feedback inputs available at the CNC admit sinusoidal and squarewave
differential signals from feedback systems. The following axis machine parameters
indicate the type of feedback system and the resolution used for each axis.
When using linear feedback devices.
CONCEPTS
feedback system
5.
PITCH (P7)
NPULSES (P8)
=0
DIFFBACK (P9)
SINMAGNI (P10)
FBACKAL (P11)
NPULSES (P8)
DIFFBACK (P9)
SINMAGNI (P10)
FBACKAL (P11)
Next, the feedback counting speed (frequency) limitation is described as well as how
to set these machine parameters for the axes.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
154
Installation manual
When using a Fagor linear encoder, the signal pitch is 20 m. Therefore, with a
counting resolution of 1 m, the maximum feedrate will be:
20 m/pulse x 250,000 pulses/sec = 300 m/min.
When using Fagor linear encoders, the maximum feedrate is limited by their own
characteristics to 60 m/min.
CONCEPTS
Example 1:
5.
feedback system
5.4.1
Example 2:
Using an indexer with a sinusoidal Fagor encoder of 3600 lines per turn, for a feedback
resolution of 1 m, the maximum axis feedrate will be:
(360 degrees/turn / 3600 pulses/turn) x 250,000 pulses/s. = 25,000 degrees/s.=
1,500,000 degrees /min
Since Fagor sinusoidal encoders admit a frequency of up to 200 kHz, the maximum
feedrate will be:
(360 degrees/turn / 3600 pulses/turn) x 200,000 pulses/s. =
= 20,000 degrees/sec.= 1,200,000 degrees/min.
Squarewave signals
The maximum frequency (speed) for differential squarewave feedback is 425 kHz
with a separation of 450 ns between A and B flanks which is equivalent to 90 20.
The maximum feedrate for each axis will depend upon the selected resolution and
the signal pitch (distance per pulse) in use.
When using Fagor linear encoders, the maximum feedrate is limited by their own
characteristics to 60 m/min.
When using FAGOR rotary encoders, their intrinsic output frequency limit is (200Kz).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
155
Installation manual
5.4.2
Resolution
The CNC provides a number of machine parameters for the axes and for the spindle
in order to establish the counting resolution of each one of the axes and the spindle.
PITCH (P7)
Defines the pitch of the ballscrew or the linear encoder being used. When using a
Fagor linear encoder, this parameter must be set with the pitch value of the feedback
signals (20 m or 100 m).
When using a rotary axis, indicate the number of degrees per encoder revolution. E.g.
if the encoder is mounted on the motor and the axis has a gear ratio of 1/10, parameter
PITCH must be set with the value of 360/10 = 36.
CONCEPTS
feedback system
5.
NPULSES (P8)
Indicates the number or pulses/rev provided by the rotary encoder. When using a
linear encoder, just enter "0". If a gear box is used on the axis, the whole assembly
must be taken into account when setting the number of pulses per turn.
SINMAGNI (P10)
Indicates the multiplying factor (x1, x4, x20, etc.) that the CNC must apply only to
sinusoidal feedback signal.
For square feedback signals, this parameter must be set to 0 and the CNC will always
apply a multiplying factor of x4.
The counting resolution for each axis will be defined by means of the combination
of these parameters as shown in the following table:
PITCH
NPULSES
SINMAGNI
Leadscrew pitch
Nr of pulses
Leadscrew pitch
Nr of pulses
multiplying factor
multiplying factor
Example 1:
Resolution in "mm" with squarewave encoder.
We would like to obtain a 2m resolution by using a squarewave encoder mounted
on 5 mm pitch leadscrew.
Since the CNC applies a x4 multiplying factor to squarewave signals, we would
require an encoder that provides the following number of pulses (lines) per turn.
Nr of pulses = ballscrew pitch / (multiplying factor x Resolution)
Nr pulses = 5000 m / (4 x 2 m) = 625 pulses/turn
Therefore:
INCHES = 0
PITCH=5.0000
Allthough the CNC accepts a maximum squarewave frequency of 400 kHz, when
using Fagor squarewave rotary encoders their output frequency is limited to 200 kHz;
thus, the maximum possible feedrate (F) will be:
Max. feedrate = (200.000 pulses/sec. / 625 pulses/turn) x 0.2 inch/turn
Max. feedrate = 1600 mm/s = 96 m/min.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
156
Installation manual
Example 2:
Resolution in "mm" with sinusoidal signal encoder
We would like to obtain a 2m resolution by using a 250-line sinusoidal encoder
mounted on 5 mm-pitch ballscrew.
We must calculate the multiplying factor "SINMAGNI" to be applied by the CNC to
the pulses provided by the encoder in order to obtain the desired resolution.
SINMAGNI = ballscrew pitch / (Nr pulses x Resolution)
SINMAGNI = 5000 m / (250 x 2 m) = 10
PITCH=5.0000
Although the CNC accepts a maximum squarewave frequency of 250 kHz, when
using Fagor sinusoidal rotary encoders, the output frequency is limited to 200 kHz;
thus, the maximum possible feedrate (F) will be:
CONCEPTS
INCHES = 0
feedback system
5.
Therefore:
Example 3:
Resolution in "mm" with squarewave linear encoder
Since the CNC applies a x4 multiplying factor to squarewave signals, we must select
a linear encoder whose grading pitch is 4 times the desired resolution.
FAGOR linear encoders use a grading pitch of either 20 m or 100 m. Therefore,
the resolution that can be obtained with them are: 5 m (20/4) or 25 m (100/4).
Therefore:
INCHES = 0
PITCH=0.0200
PITCH=0.1000
NPULSES = 0
SINMAGNI=0
The CNC's maximum squarewave feedback input frequency is 400 kHz which means
that the maximum feedrate obtainable with a 20 m pitch linear encoder is:
Max. Feed = 20 m/pulse x 400.000 pulses/sec.
Max. feedrate = 8000 mm/s = 480 m/min.
When using Fagor linear encoders, the maximum feedrate is limited by their own
characteristics to 60 m/min.
Example 4:
Resolution in "mm" with sinusoidal signal linear encoder
We have a sinusoidal linear encoder with a 20 m pitch and we would like to obtain
1 m resolution.
We must calculate the multiplying factor "SINMAGNI" to be applied by the CNC to
the pulses provided by the linear encoder in order to obtain the desired resolution.
SINMAGNI = linear encoder pitch / resolution = 20 m / 1 m = 20
Therefore:
INCHES = 0
PITCH=0.0200
NPULSES = 0
SINMAGNI=20
CNC 8035
The CNC's maximum sinusoidal feedback input frequency is 250 kHz which means
that the maximum feedrate for this axis will be:
Max. Feed = 20 m/pulse x 250,000 pulses/sec.
Max. feedrate = 5.000 mm/s = 300 m/min.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
When using Fagor linear encoders, the maximum feedrate is limited by their own
characteristics to 60 m/min.
157
Installation manual
Example 5:
Resolution in "inches" with squarewave encoder
Calculate the necessary squarewave encoder line count and parameter settings to
obtain a 0.0001 inch counting resolution on a 4 pitch ballscrew (4 turns/inch = 0.25
inch/rev.).
Since the CNC applies a x4 multiplying factor to squarewave signals, we would
require an encoder that provides the following number of pulses (lines) per turn.
Nr of pulses = ballscrew pitch / (multiplying factor x Resolution)
5.
CONCEPTS
feedback system
Allthough the CNC accepts a maximum squarewave frequency of 400 kHz, when
using Fagor squarewave rotary encoders their output frequency is limited to 200 kHz;
thus, the maximum possible feedrate (F) will be:
Max. feedrate = (200.000 pulses/sec. / 625 pulses/turn) x 0.255 inch/turn
Max. feedrate = 80 inch/sec. = 4800 inch/min.
Example 6:
Resolution in "inches" with sinusoidal encoder
We would like to obtain a 0.0001 inch resolution by using a 250-line sinusoidal
encoder mounted on a leadscrew with a 5 turns/inch pitch.
We must calculate the multiplying factor "SINMAGNI" to be applied by the CNC to
the pulses provided by the encoder in order to obtain the desired resolution.
SINMAGNI = ballscrew pitch / (Nr pulses x Resolution)
SINMAGNI = 0.2 inch/turn / (250 x 0.0001) = 8
Therefore:
INCHES = 1
PITCH=0.20000
Although the CNC accepts a maximum squarewave frequency of 250 kHz, when
using Fagor sinusoidal rotary encoders, the output frequency is limited to 200 kHz;
thus, the maximum possible feedrate (F) will be:
Max. feedrate = (200.000 pulses/sec. / 250 pulses/turn) x 0.2 inch/turn
Max. feedrate = 160 inch/sec. = 9.600 inch/min.
Example 7:
Resolution in "degrees" with squarewave encoder
We would like to obtain a 0.0005 resolution by using a squarewave encoder mounted
on a x10 reduction gear.
Since the CNC applies a x4 multiplying factor to squarewave signals, we would
require an encoder that provides the following number of pulses (lines) per turn.
Nr of pulses = /turn / (multiplying factor x gear ratio x Resolution)
Nr of pulses = 360 / (4 x 10 x 0.0005) = 18,000 pulses/turn
CNC 8035
Therefore:
INCHES = 0
(SOFT M: V15.1X)
(SOFT T: V16.1X)
PITCH=36.0000
Allthough the CNC accepts a maximum squarewave frequency of 400 kHz, when
using Fagor squarewave rotary encoders their output frequency is limited to 200 kHz;
thus, the maximum possible feedrate (F) will be:
Max. feedrate = (200,000 pulses/sec) / (18,000 pulses/turn)
Max. feedrate =11.111 turns/sec = 666.666 rpm
158
Installation manual
Example 8:
Resolution in "degrees" with sinusoidal encoder
We would like to obtain a 0.001 resolution by using a 3600 pulse/rev sinusoidal
encoder.
We must calculate the multiplying factor "SINMAGNI" to be applied by the CNC to
the pulses provided by the encoder in order to obtain the desired resolution.
SINMAGNI = degrees per turn / (Nr. of pulses x Resolution)
SINMAGNI = 360 / (3600 x 0.001) = 100
Although the CNC accepts a maximum squarewave frequency of 250 kHz, when
using Fagor sinusoidal rotary encoders, the output frequency is limited to 200 kHz;
thus, the maximum possible feedrate (F) will be:
CONCEPTS
INCHES = 0
feedback system
5.
Therefore:
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
159
Installation manual
5.5
Axis adjustment
In order to be able to set the axes, their corresponding feedback devices must be
previously connected to the CNC.
Before making this adjustment, position the axes near the middle of their travel and
place the hard stops (monitored by the electrical cabinet) near these mid-travel points
in order to prevent any possible damage to the machine.
5.
CONCEPTS
Axis adjustment
The axis adjustment is carried out in two steps. First, the servo drive loop is adjusted
and, then, the CNC loop.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
160
Installation manual
Drive setting
Offset (drift) adjustment
This adjustment is made on one axis at a time:
Select the JOG mode at the CNC and press the softkey sequence: [Display]
[Following error]. The CNC shows the current following Error (axis lag) of the axes.
5.
CONCEPTS
Adjust the offset by turning the offset potentiometer at the drive (NOT AT THE
CNC) until a "0" following error is obtained.
Axis adjustment
5.5.1
Set each a.m.p. MAXVOLT (P37) = 9500 so the CNC outputs a maximum analog
voltage of 9.5 V.
The maximum axis feedrate, a.m.p. MAXFEED (P42), depends on the motor rpm as
well as on the gear ratio and type of ballscrew being used.
Example for the X axis:
The maximum motor rpm is 3,000 and the ballscrew pitch is 5mm/rev. Thus:
Maximum rapid traverse feedrate (G00) = ballscrew rpm. x ballscrew pitch
"MAXFEED" (P42) = 3,000 rpm. x 5 mm/rev. = 15000 mm/min.
In order to adjust the drive, a.m.p. G00FEED (P38) should be set to the same value
as a.m.p. MAXFEED (P42).
Also, a small CNC program must be executed that will move the axis back and forth
a short distance in order to verify that the amount of following error in both directions
is the same. One such program could be:
N10
N20
X -200
(RPT N10, N20)
While the axis is moving back and forth, measure the analog voltage provided by the
CNC to the drive and adjust the feed potentiometer at the drive (NOT AT THE CNC)
until reaching 9.5 V.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
161
Installation manual
5.5.2
Gain setting
The various types of gains must be adjusted for each axis in order to optimize the
system's performance for the programmed movements.
An oscilloscope is highly recommended to make this critical adjustment by monitoring
the tacho signals. The illustration below shows the optimum shape for this signal (on
the left) and the instabilities to be avoided during start-up and braking.
CONCEPTS
Axis adjustment
5.
There are three gain types for each axis. They are adjusted by means of axis machine
parameters and following the sequence indicated next.
Proportional gain
It defines the analog output corresponding to a feedrate resulting in 1 mm of following
error.
It is defined with a.m.p. PROGAIN (P23).
Feed-forward gain
It sets the percentage of analog output dependent of the programmed feedrate.
To use it, acc/dec must be active ACCTIME (P18).
It is defined with a.m.p. FFGAIN (P25).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
162
If ACFGAIN = No
If ACFGAIN = Yes
Installation manual
5.
Example:
The maximum feedrate for a particular axis (rapid traverse G00) is 15 m/min, but we
would like to limit its maximum porgrammable machining feedrate (F) to 3 m/min with
an axis lag of 1 mm at a feedrate of 1 m/min (gain of 1 in metric).
CONCEPTS
Axis adjustment
5.5.3
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
163
Installation manual
5.5.4
CONCEPTS
Axis adjustment
5.
For example, if a.m.p. FFGAIN (P25) has been set to "80", the axis analog voltage
will be:
80% of it will depend on the programmed feedrate (feed-forward gain).
20% of it will depend on the axis following error (proportional gain).
Setting the Feed-Forward gain involves a critical adjustment of a.m.p. MAXVOLT
(P37).
1. Move the axis in G00 and at 10%.
2. Measure the actual analog voltage at the drive.
3. Set parameter MAXVOLT (P37) to a value 10 times the measured value.
For example, If the measured voltage was 0.945 V, then set this parameter to 9.45
V, in other words: P37=9450.
Next, set a.m.p. FFGAIN (P25) to the desired value.
As an example, the following values may be used:
For slow machining.
between 40 and 60%
For regular feed machining.
between 60 and 80%
Machines (laser, plasma).
between 80 and 100%
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
164
Installation manual
CONCEPTS
5.
When it is due to variations of the programmed feedrate, "ACFGAIN" (P46) = YES,
it is called AC-forward gain" since it is due to acc./dec.
Axis adjustment
5.5.5
Best results are usually obtained when using it as AC-forward Gain, "ACFGAIN"
(P46) = YES together with feed-forward gain.
This gain is only to be used when operating with acceleration/deceleration control.
A practical value between 2 to 3 times the Proportional Gain, "PROGAIN" (P23), may
be used.
To perform a critical adjustment, proceed as follows:
Verify that there are no oscillations of following error, In other words, that it is not
unstable.
Check,with an oscilloscope, the tacho voltage or the analog voltage at the drive
(velocity command), verify that it is stable (left graph) and that there are no
instabilities when starting up (center graph) or when braking (right graph).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
165
Installation manual
5.5.6
CONCEPTS
Axis adjustment
5.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
166
Installation manual
CONCEPTS
5.
Axis adjustment
5.5.7
Each parameter of the table represents a point of the profile to compensate. The
following information is defined at each point:
The position occupied by the point in the profile (position to compensate). It is
defined by its coordinate referred to machine zero. Possible values 99999.9999
mm or 3937.00787 inches.
The amount of error of the axis in this point in the positive direction. Possible
values 99999.9999 mm or 3937.00787 inches.
The amount of error of the axis in this point in the negative direction. Possible
values 99999.9999 mm or 3937.00787 inches.
For each axis position, define the amount of error to be compensated in both
directions. If the amount of error in the negative direction is zero in all points, it
assumes that the amount of error defined for the positive direction is valid for both
directions.
Leadscrew error compensation on rotary axes
On rotary axes, although the display is limited between 0 and 360, the internal count
is accumulative. When using leadscrew error compensation, set positions 0 and
360, first and last point of the table, with the same amount of error. This way, the CNC
will apply the same compensation in all the revolutions.
Otherwise, the compensation will be limited to the indicated field.
Considerations and limitations
CNC 8035
When defining the profile points in the table, the following requirements must be met:
The axis points must be in sequential order starting from the most negative (least
positive) point to be compensated.
For those points outside the compensation zone, the CNC will apply the
compensation value corresponding to the table point closest to them.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
The amount of error of the machine reference point may have any value.
The error difference between two consecutive points must not be greater than the
distance between them (maximum slope= 100%).
167
Installation manual
CONCEPTS
Axis adjustment
5.
Setting example:
The X axis ballscrew must be compensated in the positive direction for between X-20
and X160 according to the leadscrew error graph below:
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
168
Point
Position
Positive error
Negative error
P001
-20,000
EX
0,001
EX
P002
0,000
EX
-0,001
EX
P003
30,000
EX
0,000
EX
P004
60,000
EX
0,002
EX
P005
90,000
EX
0,001
EX
P006
130,000
EX
-0,002
EX
P007
160,000
EX
-0,003
EX
Installation manual
Reference systems
A CNC machine needs the following origin and reference points defined:
Machine zero
Machines origin point. This is set by the manufacturer as the origin of the coordinate
system of the machine.
5.
Part origin point. This is the origin point that is set for programming the measurements
of the part. It can be freely selected by the programmer, and its machine reference
zero can be set by the zero offset.
Reference point
This is a point on the machine established by the manufacturer (physical location of
the marker pulse from the feedback device).
CONCEPTS
Part zero
Reference systems
5.6
Machine zero
Part zero
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
169
Installation manual
5.6.1
Home search
With this CNC, home search may be performed in jog mode or by program. Home
search may be carried out on one axis at a time or on several axes at the same time.
When this search (with or without distance-coded Io) is carried out in JOG mode, the
active zero offset will be cancelled and the CNC will display the position values
indicated by a.m.p. REFVALUE (P36). In all other cases, the active part zero will be
maintained and the CNC will display the position values with respect to that part zero.
5.
CONCEPTS
Reference systems
If after the machine is all set up it is necessary to remove the feedback system,
it may happen that when it is reinstalled, its marker pulse is no longer at the
same physical location as it was before.
In that case, the distance (shift) between the previous marker pulse location
and the current one must be assigned to a.m.p. REFSHIFT (P47) of the
affected axis in order for the machine reference point (home) to remain the
same.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
170
This way, when searching home, the axis will move this additional distance,
indicated by a.m.p. REFSHIFT (P47) value, after finding the new marker pulse
of the feedback system. This movement is carried out at the feedrate indicated
by a.m.p. REFEED2 (P35).
Installation manual
5.
If the second feedback uses distance-coded reference marks, the offset applied in
the home search will be the value of a.m.p. ABSOFF (P53).
Proceed as follows to remove the travel limit switches and the home switches:
1. Set both feedbacks (variables PV51 and PV53) for the same counting (position
reading) direction.
Drive:
CONCEPTS
This home search requires servo drive version V6.17 or later. It also requires
CNC version V15.11 (at the mill model) or V16.11 (at the lathe model) or later.
Reference systems
CNC:
2. Change the value of drive parameter PP177 (distance between the zero position
of the motor-drive system and the theoretical zero) so the position value of the
first feedback (PV51) is correct.
3. Restart the CNC and the drives.
4. Home the axis. Set the second feedback (PV53) correctly by changing one of the
following CNC axis parameters:
If the linear encoder uses distance-coded reference marks: a.m.p. ABSOFF
(P53).
If it is another type of linear encoder: a.m.p. REFVALUE (P36).
5. Restart the CNC and check that the coordinates after a home search are correct.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
171
Installation manual
Gantry axes
Home search on Gantry axes may be carried out in JOG mode or by program. It will
be carried out as follows:
On axes with no distance-coded feedback system:
The CNC starts the movements of both axes in the direction indicated by
a.m.p. REFDIREC (P33) of the main axis.
These movements will be performed at the feedrate indicated by a.m.p.
REFEED1 (P34) for the main axis until the home switch for this axis is hit.
CONCEPTS
Reference systems
5.
Then, the home search will start on both axes at the feedrate indicated by
a.m.p. REFEED2 (P35) of the main axis.
The CNC will wait until the marker pulse (home) of the slave axis is found and
then, it will look for the marker pulse from the main axis.
If machine parameter I0TYPE=3, the home search procedure is the following:
The CNC starts the movements of both axes in the direction indicated by
a.m.p. REFDIREC (P33) of the main axis.
These movements will be performed at the feedrate indicated by a.m.p.
REFEED1 (P34) for the main axis until the home switch for this axis is hit.
It then moves back at REFEED2 until the home switch is released.
Once the switch has been released, the CNC will wait until the marker pulse
(home) of the slaved axis is found and then, it will look for the marker pulse
from the main axis. This is done without changing the direction or the speed
of the movement.
On axes with distance-coded feedback system:
The CNC starts moving both axes in the direction indicated by a.m.p. REFDIREC
(P33) for the main axis at the feedrate indicated by a.m.p. REFEED2 (P35) of the
main axis.
The CNC will wait until the marker pulse (home) of the slave axis is found and then,
it will look for the marker pulse from the main axis.
If the difference obtained between both reference positions is not the same as the
one indicated by a.m.p. REFVALUE (P36) for both axes, the CNC will correct the
position of the slave axis. This will end the home search operation.
When this search is carried out in the JOG mode, the active zero offset will be
cancelled and the CNC will display the position value indicated by a.m.p. REFVALUE
(P36) for the main axis. In all other cases, the displayed position value will be referred
to the zero offset (or part zero) active before the home search.
If the a.m.p. REFDIREC (P33) of the main axis has been set for a positive
direction, the a.m.p. REFVALUE (P36) of the slave axis must be set to a value
lower than that assigned to the main axis.
Likewise, if the a.m.p. REFDIREC (P33) of the main axis has been set for a
negative direction, the a.m.p. REFVALUE (P36) of the slave axis must be set
to a value greater than that assigned to the main axis. They must never have
the same value.
When encoders are used for feedback, the difference between the values
assigned to a.m.p. REFVALUE (P36) of both axes must be smaller than the
pitch of the ballscrew.
CNC 8035
Managing two home switches is only possible if axis machine parameter I0TYPE
(P52) =3.
If both the master and the slave axes have a home switch (a.m.p. DECINPUT (P31)
of the master and slave are YES), the home search will be carried out as follows:
172
Installation manual
The CNC starts the movements of both axes in the direction indicated by a.m.p.
REFDIREC (P33) of the main axis.
This movement is carried out at the feedrate indicated by a.m.p. REFEED1 (P34)
of the main axis. The axes move until one of them presses its home switch.
Then, the home search will start on the axis that pressed the home switch first
at the feedrate indicated by a.m.p. REFEED2 (P35) of the main axis.
Once the first axis has been homed, its coordinate is initialized with a.m.p.
REFVALUE (P36) and it starts homing the other axis.
Master and slave start moving together at a.m.p. REFEED1 (P34) of the main axis
until detecting the home switch of the second axis.
If the master axis is the first one to press the home switch and its a.m.p. REFSHIFT
(P47) is other than zero, it does not start the second home search until executing
the movement for the REFSHIFT (P47) on the master axis.
CONCEPTS
After this, depending on the value of axis machine parameter DIFFCOMP (P96),
it will compensate for the difference between the master and slave axes or it will
leave uncompensated.
5.
Reference systems
It, then, starts homing the second axis at a.m.p. REFEED2 (p35) of the main axis
and once detected, it initializes its coordinate.
Special cases:
If when starting the home search, either the master or the slave is pressing the
home switch, the axes will move until releasing the home switch and it then homes
that axis first.
If when starting the home search both the master and the slave are pressing the
home switch, it first homes the master axis.
When commanding a simultaneous homing of the gantry axis and other axes; it
first moves all the axes having a home switch until all the home switches are
pressed (in the case of a gantry pair, one of the home switches will be pressed).
After this, if I0TYPE (P52) =3, the axes move one by one to release the home
switches and search home in the selected order.
Managing the alignment between master and slave using a PLC mark
and a machine parameter
After homing both axes of the Ganty pair, if a.m.p. of the master DIFFCOMP (P96)
= 1, it corrects the position difference of the slave so the coordinate difference
between the master and the slave is zero.
Whether parameter DIFFCOMP = 1 or = 0, the difference between the Gantry axes
may be corrected at any time using the PLC marks SERVOaxisON and the
DIFFCOMaxis where "axis" is the name or the logic number of the master axis. The
theoretical difference between the master and the slave is corrected as follows:
With the leading edge (up flank) of DIFFCOMaxis while SERVOaxisON = 1.
With the leading edge (up flank) of SERVOaxisON while DIFFCOMaxis = 1.
In this case, to correct the theoretical difference between master and slave, both
the master and the slave axes must be set as Gantry axis or as DRO axis.
Otherwise, the upflank of the SERVOaxisON mark corrects the following error of
the slave axis.
Besides, the value of axis machine parameter MAXDIFF (P97) is taken into account
when it is about correct the position difference.
If the position difference between master and slave is not compensated because the
coordinate difference is greater than the value of a.m.p. MAXDIFF, PLC mark
MAXDIFFaxis will be activated. In this case the PLC can issue a warning.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
173
Installation manual
5.6.2
CONCEPTS
Reference systems
5.
Likewise, set a.m.p. REFDIREC (P33) to indicate the direction of the axis when
searching Home.
On the other hand, set a.m.p. REFEED1 (P34) that defines the approach feedrate
of the axis until the home switch is pressed and a.m.p. REFEED2 (P35) that
indicates the homing feedrate until the reference mark (marker pulse) is detected.
The machine reference point will be set to "0". a.m.p. REFVALUE (P36).
Once in the JOG mode and after positioning the axis in the right area, start homing
the axis. When done, the CNC will assign a "0" value to this point.
After moving the axis to the Machine Reference Zero or up to a known position
(with respect to Machine Reference Zero), observe the position reading of the
CNC for that point.
This will be distance from the Machine Reference Zero to that point. Therefore,
the value to be assigned to a.m.p. REFVALUE (P36), which defines the
coordinate corresponding to the Machine Reference Point (physical location of
the marker pulse).
REFVALUE = Machine coordinate CNC reading.
Example:
If the point whose known position is located 230 mm from Machine Reference
Zero and the CNC reads -123.5 mm as the coordinate value for this point, the
coordinate of the Machine Reference Point with respect to Machine
Reference Zero will be:
"REFVALUE" = 230 - (-123.5) = 353.5 mm.
After allocating this new value, press SHIFT + RESET or turn the CNC off and
back on in order for the CNC to assume this new value.
The axis must be homed again in order for it to assume its right reference values.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
174
Installation manual
Considerations
If at the time when the home search is requested, the axis is sitting on the home
switch, the axis will back up (in the direction opposite to the one indicated by
"REFDIREC (P33) ") until it is off the switch and then, it will go on to search home.
If the axis is positioned beyond the software limits "LIMIT+" (P5) and "LIMIT-" (P6),
it must be brought back into the work area (within those limits) and on the proper side
for referencing (home searching).
CONCEPTS
5.
Reference systems
Care must be taken when placing the home switch and when setting feedrates
"REFEED1 (P34)" and "REFEED2 (P35)". The home switch (1) will be installed so
the marker pulse (2) will be found in the zone corresponding to feedrate "REFEED2"
(P35). If there is no room for it, reduce the value of "REFEED1 (P34)". For example,
for rotary encoders whose consecutive marker pulses are very close to each other.
When the selected axis does not have a machine reference (home) switch (a.m.p.
DECINPUT (P31) = NO), the CNC will move the spindle at the feedrate set by a.m.p.
REFEED2 (P35) until the first marker pulse from the current position is found, thus
ending the home search.
FAGOR linear encoders (scales) provide a negative marker (reference) pulse Io every
50 mm (about 2 inches) and the FAGOR rotary encoders provide one positive
reference pulse per revolution.
Do not mistake the type of pulse provided by the feedback system with the value to
be assigned to a.m.p. REFPULSE (P32). This parameter must indicate the type of
active flank (leading or trailing edge), positive or negative of the reference mark (Io)
used by the CNC.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
175
Installation manual
5.6.3
5.
Reference systems
Considerations
If the axis is positioned beyond the software limits "LIMIT+" (P5) and "LIMIT-" (P6),
it must be brought back into the work area (within those limits) and on the proper side
for referencing (home searching).
When using distance-coded linear encoders, home switches are no longer
necessary.
However, home switches may be used as travel limits during home search.
CNC 8035
If while homing, the home switch is pressed, the axis will reverse its movement
and it will keep searching home in the opposite direction.
Distance-coded Fagor linear encoders have negative coded marker pulses (Io).
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Do not mistake the type of pulse provided by the feedback system with the value to
be assigned to a.m.p. REFPULSE (P32).
This parameter must indicate the type of active flank (leading or trailing edge),
positive or negative of the reference mark (Io) used by the CNC.
If while homing an axis, its corresponding DECEL* signal is set high, the axis will
reverse movement and the home search will be carried out in the opposite direction.
176
Installation manual
5.
Once both travel limits have been set for all the axes, press SHIFT + RESET or
turn the CNC OFF and back ON in order for these new values to be assumed by
the CNC.
CONCEPTS
Repeat these steps in the negative direction assigning the resulting coordinate
to a.m.p. LIMIT- (P6).
Reference systems
5.6.4
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
177
Installation manual
5.7
Unidirectional approach
The FAGOR 8055 CNC provides a number of machine parameters to help improve
repeatability when positioning the axes in rapid (G00) by always approachingg the
end point in the same direction.
"UNIDIR" (P39)
Indicates the direction of unidirectional approach.
5.
CONCEPTS
Unidirectional approach
OVERRUN
Indicates the distance to be kept between the approach point and the
programmed point. If this parameter is set to 0, the CNC will not perform the
unidirectional approach.
"UNIFEED" (P41)
Indicates the feedrate to be used from the approach point to the programmed
point.
The CNC will calculate the approach point (2) based on the programmed target point
(1) and the a.m.p. UNIDIR (P39) and OVERRUN (P40).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
178
Installation manual
Auxiliary M function
5.
It also activates the general logic output "MSTROBE" to "tell" the PLC to start
executing them.
Every time the CNC detects an M function, it analyzes the M function table to find
out when to pass it along to the PLC (either before or after the movement) and whether
it must wait for the "AUXEND" signal or not before resuming program execution.
If the programmed function is not defined in that table, it will be executed at the
beginning of the block and the CNC will wait for the "AUXEND" signal to resume
program execution.
See "9.1 Auxiliary M, S, T functions" on page 256. See "10.6 General logic
outputs" on page 290. See "4.9 Tables" on page 129.
CONCEPTS
The CNC uses logic outputs "MBCD1" thru "MBCD7" (R550 thru R556) to "tell" the
PLC which M functions it must execute. One function per logic output.
5.8
Example 1:
Execution of a motion block containing 7 M functions 4 of which are executed before
the axes move (M51, M52, M53, M54) and 3 afterwards (M61, M62, M63).
1. It sends out to the PLC the 4 M functions programmed to be executed before the
move.
It sets logic outputs "MBCD1=51", "MBCD2=52" "MBCD3=53" "MBCD4=54" and
it activates the general logic output "MSTROBE to "tell" the PLC to go ahead with
their execution.
Should any of them need the AUXEND activated, the CNC will "wait" for this signal
to be activated before going on to executing the rest of the block.
If none of them need the AUXEND signal activated, the CNC will maintain the
"MSTROBE" signal activated for a period of time set by the general machine
parameter "MINAENDW (P30)". This output stays active for the time indicated by
g.m.p. MINAENDW (P30).
2. The programmed axis move will be executed.
3. It sends out to the PLC the 3 M functions programmed to be executed after the
move.
It sets logic outputs "MBCD1=61", "MBCD2=62", "MBCD3=63" and it activates
the general logic output "MSTROBE to "tell" the PLC to go ahead with their
execution.
Should any of them need the AUXEND activated, the CNC will "wait" for this signal
to be activated before going on to executing the rest of the block.
If none of them need the AUXEND signal activated, the CNC will maintain the
"MSTROBE" signal activated for a period of time set by the general machine
parameter "MINAENDW (P30)". This output stays active for the time indicated by
g.m.p. MINAENDW (P30).
CNC 8035
Example 2:
Execution of a motionless block containing 7 M functions 4 of which are executed
before the axes move (M51, M52, M53, M54) and 3 afterwards (M61, M62, M63).
1. It sends out to the PLC the 4 M functions programmed to be executed before the
move.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
179
Installation manual
Should any of them need the AUXEND activated, the CNC will "wait" for this signal
to be activated before going on to executing the rest of the block.
If none of them need the AUXEND signal activated, the CNC will maintain the
"MSTROBE" signal activated for a period of time set by the general machine
parameter "MINAENDW (P30)". This output stays active for the time indicated by
g.m.p. MINAENDW (P30).
2. It sends out to the PLC the 3 M functions programmed to be executed after the
move.
It sets logic outputs "MBCD1=61", "MBCD2=62", "MBCD3=63" and it activates
the general logic output "MSTROBE to "tell" the PLC to go ahead with their
execution.
CONCEPTS
5.
Should any of them need the AUXEND activated, the CNC will "wait" for this signal
to be activated before going on to executing the rest of the block.
If none of them need the AUXEND signal activated, the CNC will maintain the
"MSTROBE" signal activated for a period of time set by the general machine
parameter "MINAENDW (P30)". This output stays active for the time indicated by
g.m.p. MINAENDW (P30).
S function
The CNC transfers the "S function" out to the PLC only when using the BCD-coded
"S" output. s.m.p. SPDLTYPE (P0) set to other than "0".
The CNC sends the programmed "S" value via logic output "SBCD" (R557) and
activates the general logic output "SSTROBE" to indicate to the PLC to go ahead with
its execution.
This transmission is carried out at the beginning of the block execution and the CNC
will wait for the "AUXEND" general input to be activated and then consider its
execution completed.
T function
The CNC will indicate via the variable "TBCD" (R558) the T function which has been
programmed in the block and activates the general logic output "TSTROBE" to tell
the PLC to go ahead with its execution.
This transmission is made at the beginning of the block execution and the CNC will
wait for the general input "AUXEND" to be activated to consider the execution
completed.
Second T function
The CNC transfers the second T function to the PLC in the following cases:
When having a machining center with non-random tool magazine. g.m.p.
TOFFM06 (P28) = YES and RANDOMTC (P25) = NO
CNC 8035
When using a random tool magazine, g.m.p. RANDOMTC (P25) = YES and a
special tool change takes place. See the chapter "Tool table" of the operating
manual.
On executing the M06 function, a the CNC indicates the position of the magazine
(empty pocket) where the tool being in the spindle must be placed.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
180
This indication will be made by means of the variable "T2BCD" (R559) and by
activating the general logic output "T2STROBE" to tell the PLC that it must execute
this. The CNC will wait for the general input AUXEND to be activated to consider the
execution completed.
Installation manual
It must be borne in mind that at the beginning of the execution of the block,
the CNC can tell the PLC the execution of the M, S, T and T2 functions by
activating their STROBE signals together and waiting for a single signal
"AUXEND" for all of them.
CONCEPTS
5.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
181
Installation manual
5.8.1
CONCEPTS
5.
2. When the PLC detects the activation of one of the STROBE signals, it must
deactivate the general CNC logic input "AUXEND" to tell the CNC that the
execution of the corresponding function or functions has begun.
3. The PLC will execute all the auxiliary functions required, it being necessary to
analyze the general CNC logic outputs:
"MBCD1" through "MBCD7" and "MSTROBE"
to execute the M functions.
"SBCD" and "SSTROBE"
to execute the S function
"TBCD" and "TSTROBE"
to execute the T function
"T2BCD and "T2STROBE"
to execute the second T function
Once this has been executed the PLC must activate the general logic input
"AUXEND" to indicate to the CNC that the processing of the required functions
was completed.
4. Once the general input "AUXEND" is active, the CNC will require that this signal
be kept active for a period of time greater than that defined by means of the g.m.p.
MINAENDW (P30).
This way, erroneous interpretations of this signal by the CNC due to an improper
PLC program logic are avoided .
5. Once the period of time "MINAENDW (P30)" has elapsed with the general input
"AUXEND" at a high logic level, the CNC will deactivate the general logic outputs
"MSTROBE", "SSTROBE", "TSTROBE", "T2STROBE" to tell the PLC that the
execution of the required auxiliary function or functions has been completed.
When executing 2 consective blocks which send information to the PLC and after
finishing the execution of the first block, the CNC waits a MINAENDW period of time
before starting to execute the second block.
This way, it assures that a MINAENDW delay takes place between the STROBE off
(end of first block) and STROBE on (beginning of the second block).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
182
It is advisable for the "MINAENDW (P30)" value to be equal to or greater than the
duration of a PLC cycle, in order to ensure the detection of this signal by the PLC.
Installation manual
2. The CNC will keep the general logic output "MSTROBE" active during the time
indicated by means of g.m.p. MINAENDW (P30).
Once this period of time has elapsed the CNC will continue to execute the
program.
It is advisable for the "MINAENDW (P30)" value to be equal to or greater than the
duration of a PLC cycle, in order to ensure the detection of this signal by the PLC.
3. When the PLC detects the activation of the general logic signal "MSTROBE" it
will execute the required auxiliary "M" functions at the CNC logic outputs "MBCD1
thru 7".
CONCEPTS
5.
Auxiliary M, S, T function transfer
5.8.2
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
183
Installation manual
5.9
Spindle
5.9.1
Spindle types
The setting of s.m.p. SPDLTYPE (P0) allows the following possibilities:
SPDLTYPE = 0 Analog spindle output..
SPDLTYPE = 1 2-digit BCD coded spindle output (S).
5.
Spindle
CONCEPTS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
184
Installation manual
Spindle
5.
5.9.2
This transmission is carried out at the beginning of the block execution and the CNC
will wait for the "AUXEND" general input to be activated and then consider its
execution completed.
If it uses 2-bit BCD code, the CNC will indicate the S value to the PLC by means of
this register and according to the following conversion table:
Programmed
S
S
BCD
Programmed
S
S
BCD
Programmed
S
S
BCD
00
50-55
54
800-899
78
20
56-62
55
900-999
79
26
63-70
56
1000-1119
80
29
71-79
57
1120-1249
81
32
80-89
58
1250-1399
82
34
90-99
59
1400-1599
83
35
100-111
60
1600-1799
84
36
112-124
61
1800-1999
85
38
125-139
62
2000-2239
86
39
140-159
63
2240-2499
87
10-11
40
160-179
64
2500-2799
88
12
41
180-199
65
2800-3149
89
13
42
200-223
66
3150-3549
90
14-15
43
224-249
67
3550-3999
91
16-17
44
250-279
68
4000-4499
92
18-19
45
280-314
69
4500-4999
93
20-22
46
315-354
70
5000-5599
94
23-24
47
355-399
71
5600-6299
95
25-27
48
400-449
72
6300-7099
96
28-31
49
450-499
73
7100-7999
97
32-35
50
500-559
74
8000-8999
98
36-39
51
560-629
75
9000-9999
99
40-44
52
630-709
76
45-49
53
710-799
77
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
185
Installation manual
If a value over 9999 is programmed the CNC will tell the PLC the spindle speed
corresponding to value 9999.
If S output in 8-digit BCD is used the CNC will indicate the programmed spindle speed
to the PLC by means of this register. This value will be coded in BCD format (8 digits)
in thousandths of a revolution per minute.
S 12345.678
5.
Spindle
CONCEPTS
Analog output
In order for the CNC to provide an analog output to control the spindle speed, it is
necessary to set s.m.p. SPDLTYPE (P0) = 0.
The CNC will generate the analog output (within +10V.) corresponding to the
programmed rotation speed or a unipolar analog output voltage if the s.m.p.
POLARM3 (P7) and POLARM4 (P8) have been assigned the same value.
The Closed Loop mode of operation (with M19) is described later on in this manual.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
186
Installation manual
The auxiliary functions M41, M42, M43 and M44 are used to "tell" the PLC that spindle
gear 1, 2, 3 or 4 must be selected.
Spindle
When not using all 4 gears, use the lower parameters starting with MAXGEAR1 (P2).
Set the unused gears with the same value as the highest of the ones used.
5.
CONCEPTS
5.9.3
In turn, the PLC must "tell" the CNC the speed gear being selected. This will be
indicated by means of the logic inputs for the spindle: "GEAR1 (M5458)", "GEAR2
(M5459)", "GEAR3 (M5460)" and "GEAR4 (M5461)".
Since to each "S" speed corresponds a spindle gear, before selecting a new "S" one
must:
1. Analyze whether the new "S" involves a gear change.
2. If it does, execute the M function corresponding to the new gear (M41 thru M44)
in order for the PLC to select it.
3. Wait for the PLC to select the new gear. Check spindle logic inputs "GEAR1"
(M5458), "GEAR2" (M5459), "GEAR3" (M5460) and "GEAR4" (M5461).
4. Select the new speed "S".
To have the CNC perform all these operations automatically, set s.m.p. AUTOGEAR
(P6) =YES to indicate that the gear change is to be generated by the CNC.
When the CNC detects a gear change, it sends out to the PLC the corresponding M
code (M41 thru M44) via one of the logic outputs "MBCD1-7" (R550 thru R556).
It also activates general logic output "MSTROBE" (M5532) to "tell" the PLC to go
ahead with the execution.
The PLC deactivates CNC general logic input "AUXEND" (M5016) to indicate to the
CNC that it began processing the "M" function.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
187
Installation manual
When requiring spindle oscillation control during a gear change, follow these steps:
1. Indicate, from the PLC, at CNC logic input "SANALOG" (R504) the value of the
residual S voltage to be applied to the spindle drive.
Also, set CNC logic input "PLCCNTL" (M5465) high to let the CNC know that from
this moment on, the PLC is the one setting the analog voltage for the spindle.
2. From this instant on, the CNC outputs the spindle analog voltage indicated by the
PLC at CNC logic input "SANALOG" (R504).
If the PLC changes the value of the "SANALOG" input, the CNC will update the
analog voltage accordingly.
Spindle
CONCEPTS
5.
3. Once the operation has concluded, the CNC must recover the control of the
spindle back from the PLC. To do this, CNC logic input "PLCCNTL" (M5465) must
be set low again.
Once the requested gear change is completed, the PLC must set the corresponding
CNC logic input "GEAR1" (M5458), "GEAR2" (M5459), "GEAR3" (M5460) or
"GEAR4" (M5461) high.
Finally, the PLC will reactivate CNC general logic input "AUXEND" (M5016) indicating
to the CNC that it has finished executing the auxiliary function.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
188
Installation manual
The S5.5 code indicates the spindle position, in degrees, from the spindle reference
point (marker pulse).
When switching form open to closed loop, the CNC behaves as follows:
If the spindle has a home switch:
Spindle
5.
Also, when switching from open to closed loop, either an "M19" or an "M19 S5.5"
must be executed.
CONCEPTS
5.9.4
In this case, it is possible to detect the right reference mark among the possible
ones (having the encoder at the motor) originated especially by different gear
ratios.
In order for the drive to detect the right reference mark, the home switch detection
must be accurate. This is achieved by having the spindle turn one more revolution
once the home switch has been detected. The end portion of this last spindle
revolution is carried out slowly.
From versions V15.11 (mill model) and V16.11 (lathe model) on, it is possible
to apply a derivative gain or feed-forward while homing the spindle.
Spindle home search:
The spindle must have an encoder so it can be homed.
Once the home switch has been detected, the spindle will keep turning in the
same direction and at the speed indicated by s.m.p. REFEED1 (P34). Before
completing the next 350, the spindle slows down to the speed indicated by s.m.p.
REFEED2 (P35). From then on, the home switch is detected while turning at
REFEED2 speed and keeps moving until detecting the reference mark.
REFEED1
350
REFEED2
I0
DECELS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
This type of spindle home search may be carried out with a SERCOS, analog
or CAN drive. In order for it to work on CAN or analog spindles when there
are several reference marks per revolution due to different gear ratios, the
189
Installation manual
reference mark must be managed with the DECELS signal ignoring the actual
(real) reference mark signal.
For greater accuracy, if the average cycle of the PLC exceeds 8 ms, we
recommend to manage the DECELS input at the PLC with a periodic cycle
equal to or shorter than 8 ms. It is also recommended to manage the DECELS
input from a local input.
When managing the DECELS input from a CAN remote input, use the
commands IREMRD, OREMWR and MWR inside the periodic cycle to obtain
proper synchronism.
5.
PE **
Spindle
CONCEPTS
IREMRD
NOT I200= DECELS
OREMWR
MWR
END
The delay of the DECELS signal detector can cause a low home search
feedrate "REFEED1". In order for this not to affect successive positioning
movements that are not related with home search, we recommend to use a
positioning feedrate higher than "REFEED1" through the "M19FEED"
variable and its associated PLC mark "PLCFM19".
If the spindle does not have a home switch:
If the spindle does not have a home switch, it searches the encoder marker pulse
at the turning speed set by s.m.p. REFEED2 (P35). S.m.p. REFDIREC (P33) sets
the spindle homing direction.
Then, it positions the spindle at the programmed S5.5 point. S.m.p. REFVALUE
(P36) sets the position value assigned to the reference point of the spindle (home
or marker pulse).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
190
Installation manual
Gain setting
The various types of gains must be adjusted in order to optimize the system's
performance for the programmed movements.
An oscilloscope is highly recommended to make this critical adjustment by monitoring
the tacho signals. The illustration below shows the optimum shape for this signal (on
the left) and the instabilities to be avoided during start-up and braking.
There are three types of gain. They are adjusted by means of machine parameters
and following the sequence indicated next.
Spindle
CONCEPTS
5.
Proportional gain
It defines the analog output corresponding to a feedrate resulting in 1 of following
error.
It is defined with s.m.p. PROGAIN (P23).
Feed-forward gain
It sets the percentage of analog output dependent of the programmed feedrate.
To use it, acc/dec must be active s.m.p. ACCTIME (P18).
It is defined with s.m.p. FFGAIN (P25).
If "ACFGAIN = Yes"
CNC 8035
a.m.p. PROGRAIN (P23) sets the value of the proportional gain. Expressed in
millivolts/degree, it takes any integer between 0 and 65535.
Its value indicates the analog output corresponding to a feedrate resulting in 1 of
following error.
This value is taken for the first spindle gear and the CNC calculates the values for
the rest of the gears.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
191
Installation manual
Example
The maximum speed for the 1st gear is 500 rpm and we would like to obtain 1 of
following error at a speed of S = 1000 /min. (2.778 rpm).
Command from the drive: 9.5V for 500 rpm
Analog output corresponding to S = 1000 /min. (2.778 rpm)
Analog velocity command = (S x 9,5 V) / "MAXGEAR1"
Analog voltage = (9.5 V / 500 rev/min) *2.778 rev/min =52.778 mV.
5.
Spindle
CONCEPTS
Therefore "PROGAIN" = 53
Bear in mind
When setting the proportional gain that:
The maximum amount of following error allowed by the CNC for the spindle is the
value indicated by s.m.p. MAXFLWE1 (P21). When exceeded, the CNC issues
the corresponding following error message.
The amount of following error decreases as the gain increases, but it tends to
make the system unstable.
For example, if s.m.p. FFGAIN (P25) has been set to "80", the spindle analog voltage
will be:
80% of it will depend on the programmed feedrate (feed-forward gain)
20% of it will depend on the spindle following error (proportional gain)
Setting the Feed-Forward gain involves a critical adjustment of s.m.p. MAXVOLT
(P37).
1. Set the spindle at maximum speed and at 10%.
2. Measure the actual analog voltage at the drive.
3. Set parameter MAXVOLT (P37) to a value 10 times the measured value.
For example, If the measured voltage was 0.945 V, then set this parameter to 9.45
V, in other words: P37=9450.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
192
Installation manual
Spindle
CONCEPTS
5.
Best results are usually obtained when using it as AC-forward Gain, "ACFGAIN"
(P42) = YES together with feed-forward gain.
This gain is only to be used when operating with acceleration/deceleration control.
A practical value between 2 to 3 times the Proportional Gain, "PROGAIN" (P23), may
be used.
To perform a critical adjustment, proceed as follows:
Verify that there are no oscillations of following error, In other words, that it is not
unstable.
Check,with an oscilloscope, the tacho voltage or the analog voltage at the drive
(velocity command), verify that it is stable (left graph) and that there are no
instabilities when starting up (center graph) or when braking (right graph).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
193
Installation manual
CONCEPTS
5.
The machine reference point will be set to "0". s.m.p. REFVALUE (P36).
Once in JOG mode and after positioning the spindle in the right area, start homing
the spindle. When done, the CNC will assign a "0" value to this point.
After moving the spindle to the Machine Reference Zero or up to a known position
(with respect to Machine Reference Zero), observe the position reading of the
CNC for that point.
This will be distance from the Machine Reference Zero to that point. Therefore,
the value to be assigned to s.m.p. REFVALUE (P36), which defines the coordinate
corresponding to the Machine Reference Point (physical location of the marker
pulse).
REFVALUE (P36) = Machine coordinate CNC reading.
Example:
If the point whose known position is located at 12 mm from Machine
Reference Zero and the CNC reads -123.5 as the coordinate value for this
point, the coordinate of the Machine Reference Point with respect to Machine
Reference Zero will be:
"REFVALUE" P36 = 12 - (-123.5) = 135.5
After allocating this new value, press SHIFT + RESET or turn the CNC off and
back on in order for the CNC to assume this new value.
The spindle must be homed again in order for it to assume its right reference
values.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
194
Installation manual
Considerations
If at the time when the home search is requested, the spindle is sitting on the home
switch, the spindle will back up (in the direction opposite to the one indicated by
"REFDIREC (P33) ") until it is off the switch and then, it will go on to search home.
Care must be taken when placing the home switch and when setting feedrates
"REFEED1 (P34)" and "REFEED2 (P35)". The home switch (1) will be installed so
the marker pulse (2) will be found in the zone corresponding to feedrate "REFEED2"
(P35). If there is no room for it, reduce the value of "REFEED1 (P34)". For example,
for encoders whose consecutive marker pulses are very close to each other.
Spindle
CONCEPTS
5.
When the spindle does not have a machine reference (home) switch (s.m.p.
DECINPUT (P31) = NO), the CNC will move the spindle at the feedrate set by s.m.p.
REFEED2 (P35) until the first marker pulse from the current position is found, thus
ending the home search.
Fagor rotary encoders provide one positive reference pulse per revolution.
Do not mistake the type of pulse provided by the feedback system with the value to
be assigned to s.m.p. REFPULSE (P32).
This parameter must indicate the type of active flank (leading or trailing edge), positive
or negative of the reference mark (Io) used by the CNC.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
195
Installation manual
5.10
5.
CONCEPTS
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
196
Installation manual
CONCEPTS
/ALARM (M5507)
5.
There are to ways to cause an emergency at the CNC, by activating the physical input
/EMERGENCY STOP or the general logic input "/EMERGEN" from the PLC.
Whenever any of these signals is activated, the CNC stops the axes feed and the
spindle rotation and it displays the corresponding error message.
By the same token, when the CNC detects an internal malfunction or at an external
device, it stops the axes feed and the spindle rotation displaying at the same time the
corresponding error message.
In both cases, the CNC will activate the /EMERGENCY OUTPUT and /ALARM
signals to indicate to the PLC and to the outside world that an emergency has
occurred at the CNC.
Once the cause of the emergency has disappeared, the CNC will deactivate these
signals to indicate to the PLC and to the outside world that everything is back to
normal.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
197
Installation manual
5.
/EMERGENCY OUTPUT
Physical output to the outside.
/EMERGEN (M5000)
Physical output to the CNC.
There are two ways to "tell" the PLC that an emergency condition must be treated,
by activating the physical input EMERGENCY STOP of the PLC (which is I1) or the
general logic input "/ALARM" of the PLC which is mark M5507.
In both cases, the treatment of these signals will be up to the PLC programmer. The
PLC program must have the necessary instructions to properly attend to these
emergency inputs and act accordingly.
By the same token, the PLC program must have the necessary instructions to
properly activate the emergency outputs when required.
These emergency signals are the physical output /EMERGENCY OUTPUT (output
O1 of the PLC) and the general logic output /EMERGEN" which is mark M5000 of
the PLC.
It must be borne in mind that every time a new PLC program cycle is initiated, the
real inputs are updated with the physical inputs. Therefore, input I1 will have the value
of the physical input /EMERGENCY STOP.
Also, before executing the PLC program cycle, the values of the M and R resources
corresponding to the CNC logic outputs (internal variables) are updated as well as
mark M5507 corresponding to the /ALARM signal.
After the execution of each cycle, the PLC updates the physical outputs with the
values of the real outputs except the physical output /EMERGENCY OUTPUT which
will be activated whenever the real output O1 or mark M5507 (/ALARM signal coming
from the CNC) is active.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
198
Installation manual
5.11
The more data to be transmitted, the more overloaded the transmission will be. These
registers should be limited leaving only the ones absolutely necessary after the setup.
On the other hand, there is data that MUST be transmitted at each position loop
(velocity commands, feedback, etc.) and other information that could be transmitted
in several loops (monitoring, etc.). Since the CNC must know the priority for those
transmissions, from now on, we will use the terms "cyclic channel" and "service
channel" to refer to each of them.
CONCEPTS
The data exchange between the CNC and the drives takes place in each position loop.
5.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
199
Installation manual
P29=>R701
P30=>R702
P31=>R703
etc.
These parameters are set in 1.5 format. The units digit identifies the drive (node)
supplying the data and the decimals indicate the identifier number (see table below).
5.
CONCEPTS
For example, "P32=1.00040" indicates that PLC register R704 contains the
"VelocityFeedback" supplied by the drive located in bus node 1.
Identifier
Class2Diagnostics (Warnings)
00012
Class3Diagnostics (OperationStatus)
00013
VelocityFeedback
00040
PositionFeedbackValue1
00051
TorqueFeedback
00084
CurrentFeedback
33079
FagorDiagnostics
33172
AnalogInputValue
33673
AuxiliaryAnalogInputValue
33674
DigitalInputsValues
33675
PowerFeedback
34468
PowerFeedbackPercentage
34469
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
200
Meaning
Id at the drive
0,1,2,3
GV25 ActualGearRatio
000255
4,5,6,7
GV21 ActualParameterSet
000254
SV4
000330
SV5
000331
10
SV3
000332
11
TV10 TGreaterEqualTx
000333
12
TV60 PGreaterEqualPx
000337
Installation manual
P70=>R802
P71=>R803
etc.
These parameters are set in 1.5 format. The units digit identifies the drive (node)
supplying the data and the decimals indicate the identifier number (see table below).
5.
CONCEPTS
For example, "P70=2.34178" indicates that the value of PLC register R802 will be
assigned to the "DigitalOutputsValues" of the drive located in bus node 2.
P68=>R800
Identifier
DA1Value
34176
DA2Value
34177
DigitalOutputsValues
34178
VelocityCommand
00036
The "VelocityCommand" variable can be modified for the axes that have been
selected as DRO axes, by a.m.p. DROAXIS (P4) or via PLC by activating the logic
CNC axis input "DRO1,2,3,...".
Service channel
The service channel can only be accessed through a high-level block of a partprogram, a PLC channel or a user channel. All variables can be accessed except the
string type appearing in the drive manual.
Reading and writing from a part-program or from a user channel.
Read:
Write:
(SVARaxis** = P**)
Example:
Write:
Example:
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
201
Installation manual
5.12
5.
The encoder signals must be taken to the specific connectors of the CNC.
In the example, the handwheel signals are taken to the feedback input (connector).
Set the corresponding g.m.p. AXIS , for example: AXIS4(P3)=11.
The emergency button must be used in the safety chain of the electrical cabinet.
The HBE handwheel has one contact and the HBA and LGB models have a dual
safety contact.
The enable push button (or buttons), the axis selector and resolution selector
switches are always handled by the PLC.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
202
Installation manual
CONCEPTS
There are 2 ways to use the "Enable Push Button".
I78
I79
5.
The example uses input I79, making it necessary to push both buttons in order to use
the handwheel.
Definition of symbols (mnemonics).
DEF
HDWON
M600
Handwheel jog
DEF
JOGON
M601
JOG
DEF
XSEL
M602
X axis selected
DEF
YSEL
M603
Y axis selected
DEF
ZSEL
M604
Z axis selected
DEF
4SEL
M605
DEF
5SEL
M606
DEF
6SEL
M607
DEF
7SEL
M608
PRG
REA
If the handwheel enable (I79) and the switch is at handwheel position (x1, x10 or x100)
I79 AND (I73 OR I74) = HDWON
I73
I74
JOG
x1
x10
x100
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
turn the switch to the () position: "NOT I73 AND NOT I74"
position the CNC panel selector in the JOG area (not handwheel, not incremental)
"SELECTOR > 7"
203
Installation manual
I79 AND NOT I73 AND NOT I74 AND CPS SELECTOR GE 8
= JOGON
Axis selection. Inputs I70, I71, I72.
I70 I71 I72
CONCEPTS
5.
NOT I70
= XSEL
XSEL
NOT I70
AND I72
= YSEL
YSEL
NOT I70
AND I71
AND I72
= ZSEL
ZSEL
NOT I70
AND I71
= 4SEL
4SEL
I70
AND I71
= 5SEL
5SEL
I70
AND I71
AND I72
= 6SEL
6SEL
I70
AND I72
= 7SEL
7SEL
If handwheel jog (HDWON), R60 must be ready to store what will be written into the
HBEVAR variable. The "a, b, c" bits indicate the x1, x10, x100 factor for each axis and
bit 30 (*) must be set to "1" in order for the CNC to read the handwheel pulses.
C
* ^
c b a c b a c b a c b a c b a c b a c b a c b a c b a
() = MOV 0 R60
Sets the bit (a) of the selected axis to "1". x1 multiplying factor.
HDWON AND XSEL
= MOV 1 R60
= MOV 8 R60
It then analyzes the multiplying factor indicated at the switch (x1, x10, x100).
I73 I74
x1
I73 AND
I74
x10
I73 AND
NOT I74
x100
And finally, the bit 30 (*) of HBEVAR=1 is enabled, for the CNC to read the handwheel
pulses.
( )= OR R60 $40000000 R60
CNC 8035
When enabling the handwheel or changing the position of one of the switches,
HBEVAR and its image register (R61) are updated (refreshed).
DFU HDWON OR CPS R60 NE R61
(SOFT M: V15.1X)
(SOFT T: V16.1X)
When disabling the handwheel, HBEVAR=0 and its image register (R61) are
initialized.
DFD HDWON = MOV 0 R61 = CNCWR(R61,HBEVAR,M201)
If JOG movement (JOGON) and [+] key pressed: "I75", then axis movement in the
positive direction.
204
Installation manual
CONCEPTS
5.
If JOG movement (JOGON) and [-] key pressed: "I77", then axis movement in the
negative direction.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
205
Installation manual
5.13
5.
CONCEPTS
Should the operator forget to enter or validate these speeds in each program
change, the execution in machining mode will not be possible.
It will not exceed the lower speed among the maximum by parameter, the
maximum by program and the maximum entered manually.
There is a variable, MDISL, associated with the spindle speed limits to make this
maneuver easier. This variable is read-write from the PLC and read-only from DNC
and CNC.
Besides updated by the PLC, this variable can also be updated in the following cases:
When programming G92 in MDI mode.
When programming G92 in ISO code in MC or TC mode.
In MC or TC mode, when a new speed limit is defined in the "SMAX" field.
The speed limits entered via CNC, PLC (PLCSL) and DNC (DNCSL) keep the same
functionality and priority and are not affected by the MDISL variable; in other words,
the CNC also limits the spindle speed with these variables.
CNC 8035
At the beginning of the execution, it reads the program being executed (CNCRD)
and the speed limit set by MDISL.
;
M100 = CNCRD(PRGSL,R103,M1000)
206
Installation manual
If there is a new program in execution (M101) and the speed has not been limited
with MDISL (R102), it issues error 10. This error must be defined in the PLC
messages.
;
M101 AND CPS R102 NE 0 = MOV R101 R201 = MOV R102 R202
If there is a new program in execution (M101) and the speed has been limited with
MDISL (R102), it copies the program number and the speed limit.
;
M102 AND CPS R102 NE 0 = MOV R102 R202
If the same program is in execution (M102) and the speed is limited again with
MDIS (R102), it copies the speed limit.
CONCEPTS
5.
;
M100 AND CPS R202 LT R103 = CNCWR(R202,PLCSL,M1000)
If there is a program in execution (M100) and the speed limit with MDISL (R202)
is smaller than the limit by CNC (R103), it applies the limit by PLC (value set by
MDISL).
;
M100 AND CPS R202 GT R103 = CNCWR(R210,PLCSL,M1000)
If there is a program in execution (M100) and the speed limit with MDISL (R202)
is greater than the limit by CNC (R103), it does not limit the speed by PLC
(R210=0).
;
DFD M100 = CNCWR(R210,PLCSL,M1000) = CNCWR(R210,MDISL,M1000)
After the execution, it cancels the speed limit by PLC and initializes the MDISL
variable.
;
END
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
207
Installation manual
5.14
CONCEPTS
5.
TOOL
TOD
NXTOOL
Number of next tool. Tool that is selected but is awaiting the execution
of M06 to be active.
NXTOD
Variables TOOL, NXTOOL, TOD and NXTOD can only be written from the PLC while
no block or part-program is being executed or simulated.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
208
Bit 0
Program in execution.
Bit 1
Program in simulation.
Bit 2
Bit 8
PLC RESOURCES
6.1
Inputs
They are elements that provide information to the PLC on the signals they receive
from the outside world. They are represented by the letter I followed by the input
number which is desired to reference, for example I1, I25, I102, etc.
The PLC may control 512 inputs although when communicating with the outside
world it can only access the physical ones.
Local physical inputs are the ones corresponding to the central unit.
6.2
Outputs
They are elements that let the PLC activate or deactivate the various devices of the
electrical cabinet. They are represented by the letter O followed by the output number
which is desired to reference, for example O1, O25, O102, etc.
The PLC may control 512 outputs although when communicating with the outside
world it can only access the physical ones.
Local physical outputs are the ones corresponding to the central unit.
Output O1 coincides with the emergency output of the CNC (connector); thus, it must
be kept high (logic level 1).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
209
Installation manual
6.3
Marks
These are elements capable of memorizing in one bit (as if they were an internal relay)
information defined by the user, their value being inalterable even when the power
supply to the system is turned off.
This will be programmed by the letter M followed by the number of the mark which
it is wished to reference, for example, M1, M25, M102, etc.
6.
Marks
PLC RESOURCES
M1
- M2000
M2003
Clock marks
M2009 - M2024
M4000 - M4127
M4500 - M4563
Screen marks
M4700 - M4955
M5000 - M5957
Marks M1 thru M2047 have image values unlike the remainder of the marks, and so
the PLC will always work with their real values.
The arithmetic flag mark available at the PLC is:
M2003
Is the Zero flag and is set to 1 (high logic level) when the result of an
AND, OR, XOR operation is 0.
The clock marks M2009 to M2024, make up internal clocks of different periods which
can be used by the user.
The following table shows the available marks and the average period of each one.
M2009
100 ms.
M2015
6.4 s.
M2021
16 s.
M2010
200 ms.
M2016
12.8 s.
M2022
32 s.
M2011
400 ms.
M2017
1 s.
M2023
64 s.
M2012
800 ms.
M2018
2 s.
M2024
128 s.
M2013
1.6 s.
M2019
4 s.
M2014
3.2 s.
M2020
8 s.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
210
M2046
M2047
The PLC allows, by means of the activation of a series of message marks, the PLC
message corresponding to the PLC message table to be displayed on the CNC
screen. They can be named by means of the mark M4000 - M4254 or by means of
their associated mnemonic MSG1 - MSG255:
M4000
M4001
M4002
--------
M4253
M4254
MSG1
MSG2
MSG3
--------
MSG254
MSG255
Likewise, 128 error marks are available which allow the error corresponding to the
PLC error table to be displayed on the CNC screen as well as to interrupt the execution
of the CNC program, stopping axis feed and spindle rotation. Activating any of these
marks does not activate the external CNC emergency output.
Installation manual
M4502
--------
M4626
M4627
ERR1
ERR2
ERR3
--------
ERR127
ERR128
Because the PLC program is not interrupted by these marks, it is advised to make
it possible to change their status via accessible external inputs; otherwise, the CNC
will keep receiving the same error at every PLC scan (cycle) thus preventing access
to any PLC mode.
M4700
M4701
M4702
--------
M4954
M4955
PIC0
PIC1
PIC2
--------
PIC254
PIC255
The PLC has marks M5000 through M5957 to exchange information with the CNC,
all of which have associated mnemonics. See chapter "10 Logic CNC inputs and
outputs".
6.
PLC RESOURCES
By activating one of the marks M4700-M4955 user pages 0-255 can be activated in
the CNC. They can be named by means of mark M4700-M4955 or by means of their
associated mnemonic PIC0 - PIC255:
Marks
M4500
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
211
Installation manual
6.4
Registers
These are elements which store a numerical value in 32 bits, their value remaining
unalterable even when the power supply to the system is cut off.
They do not have image values and are represented by the letter R, followed by the
register number it is desired to reference, for example R1, R25, R102, etc.
The PLC has the following registers:
Registers
PLC RESOURCES
6.
User registers
R1-R499
R500-R559
The PLC will consider each value stored in each register as an integer with a sign,
and can be within 2147483647.
It is also possible to make reference to a BIT of the REGISTER by putting the letter
B and the bit number (0/31) in front of the selected register. For example:
B7R155
The PLC considers bit 0 as being the one with least significance and bit 31 as being
the one with most significance.
The value stored in a register can be treated as being decimal, hexadecimal
(preceded by $), binary (preceded by B) or in BCD. Example:
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
212
decimal
156
Hexadecimal
$9C
Binary
Installation manual
Timers
These are elements capable of maintaining their output at a determined logic level
during a preset time (time constant), after which the output changes status.
They do not have image values and are represented by the letter T, followed by the
number of the timer it is required to reference, for example, T1, T25, T102, etc.
The time constant is stored in a 32-bit variable, and so its value can be between 0
and 4294967295 milliseconds, which is equivalent to 1193 hours (almost 50 days).
6.
Timers
The PLC has 256 timers, each of which has T status output and TEN, TRS, TG1, TG2,
TG3 and TG4 inputs. It is also possible to consult at any moment the time which has
elapsed from the moment it was activated.
PLC RESOURCES
6.5
Example:
I2 = TEN 10 Input I2 controls the Enable input of timer T10.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
213
Installation manual
Timers
PLC RESOURCES
6.
If, once the timer is activated, a leading edge is produced at the TRS input, the PLC
initializes the timer, assigning value 0 to its T status and cancelling the count (it
initializes this to 0). The timer is deactivated and its trigger input must be activated
to turn the timer back on.
Example:
I3 = TRS 10 Input I3 controls the Reset input of timer T10.
TG2 22 R200
Inputs TG1, TG2, TG3 and TG4 are used to activate the timer in four different
operating modes:
TG1 input in MONOSTABLE mode
TG2 input in DELAYED CONNECTION mode
TG3 input in DELAYED DISCONNECTION mode
TG4 input in SIGNAL LIMITING mode
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
214
This activation of the timer is made when a logic level transition of any of these inputs
is produced, either from 0 to 1 or from 1 to 0 (leading or trailing edge) depending
on the chosen input. By default and every time the timer is initialized by means of the
reset input (TRS), the PLC will assign logic level 0 to these inputs.
The operating mode of each of these trigger inputs is explained individually.
Installation manual
In binary type instructions, function T123 makes reference to the logic status of the
timer.
T123 = M100
Timers
Although when written as T123 it coincides with the status output, both are different
and they are also used in different types of instruction.
6.
PLC RESOURCES
This output indicates the time elapsed in the timer since the moment it was activated.
It is referred to by the letter "T" followed by the timer number. For example: T1, T25,
T102, etc.
In arithmetic and comparison functions T123 makes reference to the time elapsed
in the timer from the moment it was activated.
I2 = MOV T123 R200
Transfers the time of T123 to register R200.
CPS T123 GT 1000 = M100
Compares the time elapsed at T123 is greater than 1000. If so, it activates mark
M100.
The PLC has a 32-bit variable to store the time of each timer.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
215
Installation manual
6.5.1
Timers
PLC RESOURCES
6.
If the timer is initialized with values TEN=1 and TRS=0, the timer will be activated
when a leading edge is produced at input TG1. At that moment, the timer status
output (T) changes states (T=1) and the timing starts from "0".
Once the time specified by the time constant has elapsed, timing will be considered
as having finished. The timer status output (T) changes status (T=0) and the elapsed
time will be maintained with the time value of the timer (T).
Any changes at the TG1 input (up or down-flank) while timing, has no effect.
If, once the timing is complete it is required to activate the timer again, another leading
edge must be produced at the TG1 input.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
216
Installation manual
Timers
PLC RESOURCES
6.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
217
Installation manual
6.5.2
Timers
PLC RESOURCES
6.
If the timer is initialized with values TEN=1 and TRS=0, the timer will be activated
when a leading edge is produced at TG2 input. At that instant, the timing "t" begins
from "0".
Once the time specified by the time constant has elapsed the timing operation will
be considered as having completed and the timer status output (T=1) will be activated
and will remain in this status until the trailing edge is produced in the trigger input TG2.
The elapsed time will remain as a timer time value (T) once timing has been
completed.
If, once the timing has finished, it is required to activate the timer again, another
leading edge must be produced in the TG2 input.
If the trailing edge of the trigger input TG2 is produced before the time specified by
the time constant has elapsed, the PLC will consider that the timing operation has
concluded, maintaining the time count it had at that moment as the timer time (T).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
218
Installation manual
Timers
PLC RESOURCES
6.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
219
Installation manual
6.5.3
Timers
PLC RESOURCES
6.
If the timer is initialized with values TEN=1 and TRS=0, the timer will be activated
when a leading edge is produced at the TG3 input. At that moment, the timer status
output will have a value of T=1.
The timer waits for a down-flank at input TG3 to start the "t" timing from "0".
Once the time specified by the time constant has elapsed the timing operation will
be considered as having completed and the timer status output will be deactivated
(T=0).
The elapsed time will remain as a timer time value (T) once timing has been
completed.
If, once the timing has finished, it is required to activate the timer again, another
leading edge must be produced at the TG3 input.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
220
If another leading edge of the trigger input TG3 is produced before the time specified
by the time constant has elapsed, the PLC will consider that the timer has been
activated again, maintaining its status (T=1) and initializing timing at 0.
Installation manual
Timers
PLC RESOURCES
6.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
221
Installation manual
6.5.4
Timers
PLC RESOURCES
6.
If the timer is initialized with values TEN=1 and TRS=0, the timer will be activated
when a leading edge is produced at the TG4 input. At that moment, the timer status
output (T) changes states (T=1) and the timing starts from "0".
Once the time specified by the time constant has elapsed, timing will be considered
as having finished. The time status output (T) changes status (T=0) and the elapsed
time will be kept as a timer time value (T).
If, before the time specified by the time constant has elapsed, a trailing edge is
produced in the trigger input TG4, the PLC will consider that the timing operation has
concluded it will deactivate the status output (T=0) and maintain the value it has at
that moment as the timer time value (T).
If, once the timing has concluded, it is required to activate the timer again, another
leading edge must be produced at the TG4 input.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
222
Installation manual
Timers
PLC RESOURCES
6.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
223
Installation manual
6.6
Counters
They are elements capable of counting up or down a preset amount of events. They
do not have image values and are represented by the letter C, followed by the counter
number which it is required to reference, for example C1, C25, C102, etc.
The counter's count is stored in a 32-bit variable. Consequently, its value will be in
the 2147483647 range.
6.
Counters
PLC RESOURCES
The PLC has 256 counter, each of which has the C status output and CUP, CDW, CEN
and CPR inputs. It is also possible to consult the count value at any time.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
224
Installation manual
Example:
I10 = CEN 12
Counters
PLC RESOURCES
6.
CPR 22 R200
Presets the C22 counter with the value of the Register R200
when the instruction is executed.
The counter is preset with the indicated value with an up-flank at the CPR input.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
225
Installation manual
6.
Counters
PLC RESOURCES
The PLC has a 32-bit variable to store the count of each counter.
6.6.1
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
226
It is recommended to save the PLC program and files into the hard disk
(KeyCF) or in a peripheral or PC to avoid losing them.
The PLC program (PLC_PRG) may be edited at the front panel or copied from the
hard disk (KeyCF) or from a peripheral device or PC.
The PLC program (PLC_PRG) is stored in the internal CNC memory with the partprograms and it is displayed in the program directory (utilities) together with the partprograms.
Before executing the PLC_PRG program, it must be compiled. Once it is done
compiling, the CNC requests whether the PLC should be started or not.
To make the operator life easier and avoid new compilations, the source code
generated at each compilation is stored in memory.
After power-up, the CNC acts as follows:
1. If there is an executable program stored in memory,
it executes it (RUN).
2. If there is no executable program, but there is a
PLC_PRG in memory, it compiles it (COMPILE) and
executes it (RUN).
3. If there is no PLC_PRG in memory, it looks for it in
the hard disk (KeyCF).
If it is there, it compiles it (COMPILE) and executes
it (RUN). If it is not there, it does nothing. Later on,
when accessing the Jog mode, Execution mode,
etc. the CNC will issue the corresponding error
message.
Once the program has been compiled, it is not necessary to keep the source program
(PLC_PRG) in memory because the PLC always executes the executable program.
The PLC has 512 inputs and 512 outputs. Some of them, depending on the CNC
configuration, communicate with external devices.
There is an exchange of information between the CNC and the PLC which is done
automatically and the system has a series of commands which allow the following
to be done quickly and simply:
The control of Logic CNC inputs and outputs by means of an exchange of information
between both systems.
CNC 8035
The transfer from the CNC to the PLC of M, S and T auxiliary functions.
To display a screen previously defined by the user, as well as generating
messages and errors in the CNC.
Read and modify internal CNC variables from the PLC.
Access all PLC resources from any part-program.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
227
Installation manual
7.1
PLC resources
Inputs (I)
They are elements that provide information to the PLC on the signals they receive
from the outside world. They are represented by the letter I and there are 512 inputs
available.
Outputs (O)
PLC resources
7.
They are elements that let the PLC activate or deactivate the various devices of the
electrical cabinet. These are represented by the letter O and there are 512 outputs
available.
Marks (M)
These are elements capable of memorizing in one bit (as if it were an internal relay)
the status of the different internal variables of the CNC (information of the logic
outputs received in the communication between the CNC and the PLC of the CNC)
and the status of the different variables of the PLC, whether these are internal or
established by the user. They are represented by the letter M, and there are 2000
user marks and other special marks.
Registers (R)
These are elements which allow a numerical value to be stored in 32 bits or facilitate
CNC-PLC communication with the Logic CNC inputs and outputs. They are
represented by the letter R and there are 256 user registers and other special
registers.
Timers (T)
These are elements which, once activated, alter the status of their output for a specific
time (time constant). They are represented by the letter T, and there are 256 timers.
Counters (C)
They are elements capable of counting up or down a preset amount of events. They
are represented by the letter C and there are 256 counters.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
228
Installation manual
7.
For example, if the physical input I10 is at 24V, the PLC sets the I10 resource to "1".
7.2
2. It allocates the current values of the logic CNC outputs (CNCREADY, START,
FHOUT, etc.) to PLC resources M5500 thru M5957 and R550 thru R562 .
3. It runs the program cycle.
The following sections indicate how the PLC program is structured and which are
its execution modules. See "7.4 Modular structure of the program" on page
233.
4. After executing the cycle, it updates the Logic CNC inputs (/EMERGEN, /STOP,
/FEEDHOL, etc.) with the current values of PLC resources M5000 thru M5465
and R500 thru R505.
5. It assigns the current values of the PLCs O resources to the physical outputs
(connectors).
For example, if the "O5" resource is at "1", the PLC sets physical output O5
(connector) to 24V.
6. The cycle ends and is ready for the next scan.
Bear in mind that all the actions of the program executed by the PLC alter the status
of its resources.
Example: I10 AND I20 = O5
When this condition is met [resource I10 is "1" and I20 is also "1"], the PLC sets
resource "O5" to "1". If this condition is not met, the PLC sets resource "O5" to "0".
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
229
Installation manual
Therefore, the status of a resource may change during the execution of the PLC
program.
Example, assuming that the initial status of resource M100 is "0":
M100 AND I7 = O3
Resource M100 = "0"
I10 = M100
M100 takes the value of resource I10
7.
PLC program execution
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
230
Installation manual
The following example shows how the PLC acts when working with real or image
values.
() = M1
M1 = M2
M2 = M3
M3 = O5
7.
IMA
M1 M2 M3 O5 M1 M2 M3 O5
()=M1
M1 = M2
Scan 1
M2 = M3
Scan 2
M3 = O5
Scan 3
Scan 4
As can be observed, the system is faster when operating with real resource values.
REA
PLC program
Operating with image values permits analyzing the same resource along the whole
program with the same value regardless of its current (instantaneous) real value.
Operating with real values
In the first scan, when execution the instruction M1 = M2, M1 has a real value of 1
set by the previous instruction.
The same is true for instructions M2=M3 and M3=O5
That is why real values are used, output O1 takes the value of 1 in the first scan.
Operating with image values
The first cycle (scan) sets the real value of M1=1; but its image value will not be set
to "1" until the end of the cycle.
In the 2nd cycle (scan), the image value of M1 is "1" and the real value of M2 is set
to "1"; but the image value of M2 will not be set to "1" until the end of the cycle.
In the 3rd cycle (scan), the image value of M2 is "1" and the real value of M3 is set
to "1"; but the image value of M3 will not be set to "1" until the end of the cycle.
In the 4th cycle (scan), the image value of M3 is "1" and the real value of O5 is set to "1".
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
231
Installation manual
7.3
Loop time
The time the PLC requires to execute the program is called cycle time and can vary
in the successive cycles of a same program, as the conditions under which they are
executed are not the same.
Loop time
7.
plc.m.p WDGPRG (P0) sets the maximum cycle execution time This is called
WATCH-DOG time and if a cycle is executed which lasts longer than 1.5 times this
time, or two cycles are executed, one after the other, taking longer than this time
period, the CNC will display the WATCH-DOG error of the main module.
This way, the execution of cycles that, due to their duration, disturb the operation of
the machine can be prevented and the PLC can be prevented from executing a cycle
which has no end due to a programming error.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
232
Installation manual
7.4
Should the main program contain the main module only it is not necessary to place
the instructions PRG and END.
7.4.1
Each module must begin with the directing instruction which defines it (PRG, PE,
CY1) and end with the directing instruction END.
7.
7.4.2
7.4.3
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
233
Installation manual
The execution time of this module will be limited by the value of plc.m.p. WDGPER
(P1)
This module operates by default with the real values of resources I, O, M.
Example:
PE 10
7.
If this module is being executed with real values and acts on a physical output, this
is updated at the end of the execution of the periodic module.
7.4.4
The periodic module will be executed every time the time indicated in the directing
instruction PE t elapses. This count starts when the execution of the main module
(the first time) begins.
Every time this module is executed, the execution of the main module is interrupted,
and its execution resumes when the execution of the periodic module finishes.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
234
PLC PROGRAMMING
When defining the PLC program, both the processing of the main module (PRG) and
the periodic modules (PE) must be taken into consideration.
The main module (PRG) will be processed cyclically. See "7.2 PLC program
execution" on page 229.
The periodic module is optional and it is executed every so often as indicated by the
directing instruction defining the module.
It is used to process certain critical inputs and outputs which cannot be properly
evaluated within the main module because the cycle scan time for the main module
would be too long for these resources to be checked and reacted upon.
It does not modify the status of the PLC resources. Therefore, the main module will
resume execution as if the periodic module had not been executed at all.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
235
Installation manual
PLC PROGRAMMING
8.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
236
Installation manual
Module structure
The modules which make up the PLC program (main module "PRG", periodic
modules "PE" and first cycle module "CY1") consist of a series of instructions which,
depending on their functionality, can be divided into:
Directing instructions.
Executable instructions.
Action instructions.
= O25
I28, O25
Operators.
AND
Module structure
8.
The directing instructions provide the PLC with information on the type of module
(PRG, CY1, ...) and on how it must be executed (REA, IMA, ...).
PLC PROGRAMMING
8.1
All comments must begin with ";". ";". Lines beginning with a ";" are considered
comments and are not executed.
Programming example:
PRG
; Directing instruction
; Example
Comment.
I100 = M102
; Executable proposition.
; Logic expression.
= O25
; Action instruction.
I32 \
AND I36
= M300
; Action instruction.
END
; Directing instruction.
Empty lines are not allowed, they must contain at least one comment.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
237
Installation manual
8.2
Directing instructions
These provide the PLC with information on the type of module and the way it must
be executed.
The directing instructions available at the PLC are:
Directing instructions
PLC PROGRAMMING
8.
Main module.
CY1
PE
END
Indicates the end of the module. If this is not defined, the PLC understands that this
module ends in the last block of the program.
Example of programming using the directing instruction END:
CY1
END
PRG
END
PE 100
END
PRG
PE 100
Label. Used to identify a program line, and is only used when references or program
jumps are made.
It will be represented with the letter L followed by three figures (1-256), it not being
necessary to follow any order and numbers out of sequence are permitted.
If there are 2 or more labels with the same number in a single program, the PLC will
show the corresponding error when compiling it.
DEF
CNC 8035
Symbol definition. Allows a symbol to be associated with any PLC variable, it being
possible to reference this variable throughout the program by means of the variable
name or by means of the associated symbol.
Example:
DEF EMERG I1
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Assigns the EMERG symbol to input 11, so any reference throughout the program
to EMERG will be interpreted by the PLC as a reference to I1.
It is also possible to associate a symbol to any number which can be given in decimal,
with or without a sign, or hexadecimal format preceded with the "$" sign.
238
Installation manual
This option, among other applications, makes programming and later understanding
of the PLC program much easier when trying to control the CNC by simulating its
keyboard from the PLC program.
Example:
DEF HELP $FFF2
Assigns the HELP symbol to the code for the HELP key.
() = MOV HELP R101
Assigns the code corresponding to the HELP key to register R101.
The PLC allows up to 400 symbol definitions which must always be programmed at
the beginning of the program, before any other instruction, be this directing or
executing.
A symbol will be made up with up to 8 characters, and must not coincide with any
of the words reserved for instructions, nor be formed by the characters space , equal
=, open and close parentheses ( ), comma "," and semicolon ;.
PLC PROGRAMMING
Indicates to the CNC that the key whose code is stored in register R101 and
corresponds to the HELP key.
Directing instructions
8.
Duplicate symbols cannot be defined; but several symbols may be assigned to the
same resource.
Example:
DEF EMRGOUT O1
DEF SALEMRG O1
The symbols associated to specialized marks and register (M> 2047 y R > =500) are
pre-defined in the PLC and, therefore, it is not necessary to define them, nevertheless
and if required, the PLC allows a different symbol to be assigned to them.
REA, IMA
Indicate to the PLC that the consultations defined below will be made on the real
(REA) or image (IMA) values of I, O, M resources.
Counters, timers and registers do not have image values, so their real values will
always be evaluated.
Action instructions (=O32) will always update the real values of PLC resources.
Example:
IMA
Consultations will evaluate image values.
I1 AND I2 = 01
--------REA
Consultations will evaluate real values.
IMA I3 AND REA M4 = 02
Evaluates the image of I3 and the real of M4.
IMA I5 REA = O3
Evaluates the image of I5 and the next ones in real.
IRD
CNC 8035
Updates the real values of the local inputs after reading the relevant physical inputs.
Care must be taken when using this instruction since the current real values of the
inputs will be lost.
OWR
Updates the local physical outputs with the current real values of the corresponding
O resources.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
239
Installation manual
MRD
Updates the values of resources M5000/5957 and R500/559 with the values of the
logic outputs of the CNC.
Care must be taken when using this instruction since the current values of those
resources will be lost. After executing this instruction, the new values will match those
of the logic outputs of the CNC (internal variables).
Directing instructions
PLC PROGRAMMING
8.
MWR
Updates the logic inputs of the CNC (internal variables) with the current real values
of resources M5000/5957 and R500/559.
TRACE
This instruction is used when working with the Logic Analyzer in order to capture data
during the execution of the PLC cycle.
It must be born in mind that the logic analyzer performs a data capture at the beginning
of each cycle (PRG and PE) after reading the physical inputs and updating the marks
corresponding to the CNC logic outputs and just before starting the program
execution.
Use this instruction to carry out another data capture while executing the PLC cycle.
Example of how to use the "TRACE" instruction:
PRG
----------TRACE
Data capture.
----------TRACE
Data capture.
----------TRACE
Data capture.
----------END
PE 5
----------TRACE
Data capture.
----------END
The data capture in the execution of the trace in this program takes place:
At the beginning of each PRG cycle.
Every time the periodic cycle is executed (every 5 milliseconds).
3 times while executing the PRG module.
Once while executing the PE module.
This way, by means of the "TRACE" instruction the data capture can be done any time,
especially at those program points considered more critical.
This instruction must only be used when debugging the PLC program and it should
be avoided once the PLC program is fully debugged.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
240
Installation manual
8.3
Consulting instructions
They may be used to check the status of PLC resources as well as the marks and
registers for CNC-PLC communication. They are divided into:
Simple consulting Instructions.
Flank detection consulting Instructions.
Comparison consulting Instructions.
NOT I1
Simple
PLC PROGRAMMING
Example:
Consulting instructions
8.
All the consulting instructions allow the previous operand NOT, which reverses the
result of the preceding consultation.
They test the status of the resources and they return their logic state.
I
1/512
Inputs
1/512
Outputs
1/5957
Marks
1/256
Timers
1/256
Counters
0/31 R 1/499
Register Bits
Example:
I12
Flank detection
They check whether the state of a resource has changed since the last time this
consultation was made.
This consultation may be made on real or image values. There are two types of
instructions:
DFU
DFD
I 1/512
O 1/512
M 1/5957
The consulting instructions to detect the flanks of marks M4000 thru M4127, M4500
thru M4563, M4700 thru M4955 and M5000 thru M5957 will be executed with their
real values even when working with image values since these marks have no image
values.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
Considering that these instructions can evaluate real and image values, the following
points must be taken into account:
The PLC updates the real values of the inputs at the beginning of the cycle, taking
the values of the physical inputs.
241
Installation manual
The image values of the inputs, outputs and marks are updated after executing the
program cycle.
8.
Consulting instructions
PLC PROGRAMMING
I3 phy = I3 physical
I3 rea = I3 real
I3 ima = I3 image
Examples:
DFU I23
DFU B3R120
DFU AUXEND
Comparison
CPS
Used to compare two operands, checking whether the first one is greater than (GT),
greater than or equal to (GE), equal to (EQ), not equal to (NE), smaller than or equal
to (LE) or less than (LT) the second one.
The following may be used as operands: Timers (internal count), Counters (internal
count), Registers, CNC-PLC communication registers and numbers (#) within
2147483647 or between 0 and $FFFFFFFF.
The programming format of the different combinations is:
CPS
T 1/256
GT
T 1/256
C 1/256
GE
C 1/256
R 1/559
EQ
R 1/559
NE
LE
LT
If the required condition is met, the consulting instruction returns a logic value "1" and
a "0" if otherwise.
Programming examples:
CPS C12 GT R14 = M100
If the internal count of counter "C12" is GREATER than the value of register
R14, the PLC will assign the value of "1" to mark M100 and a "0" if otherwise.
CPS T2 EQ 100 = TG1 5 2000
When the time elapsed on the counter T2 is EQUAL to the value of 100, timer
T5 will be activated working as a monostable and with a time constant of 2
seconds.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
242
Installation manual
8.4
AND
OR
XOR
The operators are associated from left to right and the priorities ordered from the
highest to the lowest are:
AND
XOR
With the "(" and ")" symbols, it is possible to clarify and select the order in which the
logic expression is evaluated.
Example: (I2 OR I3) AND (I4 OR (NOT I5 AND I6)) = O7
NOT
AND
8.
OR
PLC PROGRAMMING
NOT
OR
XOR
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
243
Installation manual
8.5
Action instruction
The action instructions, depending on the result obtained in the logic expression may
be used to alter the status of the PLC resources and CNC-PLC communication
marks.
Logic expression = Action instruction
There may be several action instructions associated with a single logic expression.
All the action instructions must be preceded by the = sign.
Action instruction
PLC PROGRAMMING
8.
All Action Instructions allow a previous NOT, which reverses the result of the
expression for that action.
Example:
I2 = O3 = NOT M100 = NOT TG1 2 100 = CPR 1 100
Output O3 will show the status of input I2.
Mark M100 will show the negated state of input I2.
A down-flank at input I2 will activate the trigger input TG1 of timer T2.
An up-flank at I2 will preset counter C1 with a value of 100.
Action instructions are divided into:
Assignment Binary Action Instructions.
Conditioned binary actions instructions.
Sequence breaking action instructions.
Arithmetic action instructions.
Logic action instructions.
Specific action instructions.
Action instructions can alter the status of all the PLC resources except that of the
physical inputs being used.
When seeing the field "I 1/1024", one must understand that only the status of the
unused inputs may be changed.
For example, if physical inputs I1 through I32 are used, only inputs I33 through I1024
may be changed.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
244
Installation manual
Inputs
=O
1/512
Outputs
=M
1/5957
Marks
= TEN
1/256
Timer enable
= TRS
1/256
Timer reset
= TGn
1/256 n/R
= CUP
1/256
Counter count up
= CDW
1/256
= CEN
1/256
Counter enable
= CPR
1/256 n/R
Counter preset
=B
0/31 R 1/499
Register Bits
8.
Action instruction
=I
PLC PROGRAMMING
8.5.1
I3 = TG1 4 100
Assigns the status of input I3 to the trigger input TG1 of timer T4. Thus, an upflank at I3 will trigger the TG1 input of timer T4.
(I2 OR I3) AND (I4 OR (NOT I5 AND I6)) = M111
It assigns to Mark M111 the value obtained in the evaluation of the Logic
Expression (I2 OR I3) AND (I4 OR (NOT I5 AND I6)).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
245
Installation manual
8.5.2
Action instruction
PLC PROGRAMMING
8.
= SET
= SET
I 1/512
= RES
O 1/512
= CPL
M 1/5957
B 0/31 R 1/559
= RES
= CPL
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
246
Installation manual
8.5.3
If the result of evaluating the logic expression is a 1, it causes jump to the indicated
label. If the result is a "0", it goes on to the next program line.
Example:
I8 = JMP L12
If I8 = 1 it goes on to L12
Action instruction
8.
Unconditional Jump.
PLC PROGRAMMING
= JMP
L12
(I12 AND I23) OR M54 = O6
= CAL
Call to a subroutine.
If the result obtained in the evaluation of the logic expression is a 1 this action will
execute the indicated subroutine.
Once the subroutine execution is over, the PLC will continue at the action instruction
or executable instruction programmed after CAL.
If the result obtained in the evaluation of the logic expression is a 0 this action will
be ignored by the PLC without executing the subroutine.
Example: I2 = CAL L5 = O2
With I2=1, subroutine L5 will be executed and once executed, the PLC will set O2
to the value of input I2 (=1).
If I2=0, the subroutine is not executed and the PLC sets output O2 to the status of
input I2 (=0).
= RET
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
247
Installation manual
8.5.4
= MOV
8.
Action instruction
PLC PROGRAMMING
MOV
Destination
I 1/512
O 1/512
M 1/5957
T 1/256
C 1/256
R 1/559
#
I 1/512
O 1/512
M 1/5957
R 1/559
Source
code
(Bin)
1(BCD)
Destination
code
0(Bin)
1(BCD)
Number of
bits to
transmit
32
28
24
20
16
12
8
4
The source and destination codes indicate the original and destination format (binary
or BCD) of the data. 4, 8, 12, 16, 20, 24, 28 or 32 bits may be transmitted.
If the codes and number of bits to be moved are not indicated, 32 binary bits will be
moved bit to bit (0032).
MOV
I12
M100
0032
MOV
O21
R100
0012
MOV
C22
O23
0108
MOV
T10
M112
1020
If the number to be converted from binary to BCD is larger than the maximum BCD,
its value will be truncated ignoring the most significant bits.
The maximum BCD value that can be converted is:
9
with 4 bits
9999
with 16 bits
9999999
with 28 bits
99
with 8 bits
99999
with 20 bits
99999999
with 32 bits
999
with 12 bits
999999
with 24 bits
In these cases, it is recommended to make the move increasing the number of bits
by using, if necessary, registers or marks in intermediate steps.
Example: I11 = MOV I14 O16 108
If input I11 is "=1", the PLC moves the logic states of the 8 inputs (I14 plus the next
7) in BCD code to the 8 outputs (O16 and the next 7) in binary code.
= NGU
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
248
If input "I15 is =1", the PLC changes the state of the 32 bits of register R152.
R152 before
R152 after
Installation manual
= NGS
R89 after
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:
ADS
SBS
MLS
DVS
MDS
R1/559
#
R1/559
#
R1/559
8.
Action instruction
PLC PROGRAMMING
= ADS
= SBS
= MLS
= DVS
= MDS
R89 before
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.
() = ADS
R100
R101
R102
() = SBS
R100
R101
R103
() = MLS
R100
R101
R104
() = DVS
R100
R101
R105
() = MDS
R100
R101
R106
() = ADS
1563
R101
R112
() = SBS
R100
1010
R113
() = MLS
1563
100
R114
() = DVS
R100
1000
R115
() = MDS
8765
1000
R116
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
249
Installation manual
8.5.5
= AND
= OR
= XOR
R1/559
#
R1/559
Action instruction
PLC PROGRAMMING
8.
R1/559
#
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:
= RR
= RL
() = 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
R207=B00000100
M2003=0
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.
CNC 8035
Its programming format is:
(SOFT M: V15.1X)
(SOFT T: V16.1X)
250
RR1
RR2
RL1
RL2
Origin
Nr of repetitions
Destination
R1/559
R1/559
0/31
R1/559
Installation manual
The origin and destination registers must always be defined, even when they are both
the same. The number of repetitions indicates the consecutive number of times the
register will be rotated.
Examples:
RR1 R100 1 R200
1 type 1 rotation to the right of the contents of R100 leaving the result in R200.
RL2 R102 4 R101
4 type-2 rotations to the left of the contents of R102 leaving the result in R101.
R20 =
PLC PROGRAMMING
R17 =
Action instruction
8.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
251
Installation manual
8.5.6
= ERA
Used to delete a group of resources. Indicate the first and last resource to be erased.
Its programming format is:
ERA
Action instruction
PLC PROGRAMMING
8.
1/512
1/512
1/512
1/512
1/5957
1/5957
1/256
1/256
1/256
1/256
1/559
1/559
= CNCRD
= CNCWR
CNC 8035
Loads into register R150 the feedrate value selected at the CNC by means
of function G94.
CNCWR (R92, TIMER, M200)
It resets the clock enabled by the PLC with the value contained in register R92.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
252
Installation manual
R1/559
M1/5957
If the register being checked has an EVEN parity, this instruction will set the indicated
mark to 1 and if its parity is ODD, it will set it to 0.
Example:
If I15 = 1 the PLC checks the parity of register R123 and sets M222 = 1 if it
is EVEN or M222 = 0 if it is ODD.
Action instruction
8.
= PAR
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
253
Installation manual
Action instruction
PLC PROGRAMMING
8.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
254
CNC-PLC COMMUNICATION
With the data exchange between the CNC and the PLC, it is possible to:
The control of logic inputs and outputs from the CNC by means of an exchange
of information between both systems, which is done periodically and by means
of specific PLC Marks and Registers.
The transfer from the CNC to the PLC of M, S and T auxiliary functions.
Display screens which have been defined previously by the user, as well as
generating messages and errors in the CNC, by means of specific PLC Marks.
Read and modify internal CNC variables from the PLC.
Access all PLC resources from any part-program.
Monitor PLC resources on the CNC screen.
Access to all PLC variables from a computer, via DNC through the RS 232 C serial
line.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
255
Installation manual
9.1
Auxiliary M, S, T functions
CNC-PLC COMMUNICATION
9.
Auxiliary M, S, T functions
MBCD1 (R550)
MBCD2 (R551)
MBCD3 (R552)
MBCD4 (R553)
MBCD5 (R554)
MBCD6 (R555)
MBCD7 (R556)
MBCDP1 (R565)
MBCDP2 (R566)
MBCDP3 (R567)
MBCDP4 (R568)
MBCDP5 (R569)
MBCDP6 (R570)
MBCDP7 (R571)
MBCD* resgisters correspond to the main channel whereas MBCDP registers are
for the PLC channel.
The CNC tells the PLC by means of these 32 bit registers, the miscellaneous M
functions programmed in the block being executed.
If there are less than 7 miscellaneous M functions in each block, the CNC will send
the information in the lower-numbered registers, assigning the value $FFFFFFFF to
those which are left free.
This way, if a block contains functions M100, M120 and M135, the CNC will transfer
the following information to the PLC:
MBCD1 (R550)
= $100
MBCD2 (R551)
= $120
MBCD3 (R552)
= $135
MBCD4 (R553)
= $FFFFFFFF.
MBCD5 (R554)
= $FFFFFFFF.
MBCD6 (R555)
= $FFFFFFFF.
MBCD7 (R556)
= $FFFFFFFF.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
256
Installation manual
This register will be used when using a spindle operating with BCD coded S signal.
s.m.p. SPDLTYPE (P0).
The auxiliary S function will always be executed at the beginning of the block and the
CNC will wait for the general logic input AUXEND to be activated to consider the
execution completed.
If S output in 2-digit BCD is used the CNC will tell the PLC, by means of this register
the selected spindle speed according to the following conversion table:
S
BCD
Programmed
S
S
BCD
Programmed
S
S
BCD
00
50-55
54
800-899
78
20
56-62
55
900-999
79
26
63-70
56
1000-1119
80
29
71-79
57
1120-1249
81
32
80-89
58
1250-1399
82
34
90-99
59
1400-1599
83
35
100-111
60
1600-1799
84
36
112-124
61
1800-1999
85
38
125-139
62
2000-2239
86
39
140-159
63
2240-2499
87
10-11
40
160-179
64
2500-2799
88
12
41
180-199
65
2800-3149
89
13
42
200-223
66
3150-3549
90
14-15
43
224-249
67
3550-3999
91
16-17
44
250-279
68
4000-4499
92
18-19
45
280-314
69
4500-4999
93
20-22
46
315-354
70
5000-5599
94
23-24
47
355-399
71
5600-6299
95
25-27
48
400-449
72
6300-7099
96
28-31
49
450-499
73
7100-7999
97
32-35
50
500-559
74
8000-8999
98
36-39
51
560-629
75
9000-9999
99
40-44
52
630-709
76
45-49
53
710-799
77
9.
Auxiliary M, S, T functions
Programmed
S
CNC-PLC COMMUNICATION
SBCD (R557)
If a value over 9999 is programmed the CNC will tell the PLC the spindle speed
corresponding to value 9999.
If S output in 8-digit BCD is used the CNC will indicate the programmed spindle speed
to the PLC by means of this register.
CNC 8035
If no S has been programmed in the block, the CNC will assign a value of
$FFFFFFFF to this register.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
257
Installation manual
TBCD (R558)
The CNC tells the PLC by means of this 32-bit register, the pocket number in the
magazine where the selected tool is.
If the g.m.p. RANDOMTC (P25) has been set so it is not a random magazine, the
magazine pocket position coincides with the tool number.
This will be coded in BCD format (8 digits).
T 123 =
9.
Auxiliary M, S, T functions
CNC-PLC COMMUNICATION
If no T has been programmed in the block, the CNC will assign a value of $FFFFFFFF
to this register.
The T function will always be executed at the beginning of the block and the CNC will
wait for the general logic input AUXEND to be activated to consider the execution
completed.
T2BCD (R559)
This register is used when a special tool change has been made (family code >=200)
or with machining centers with a non-random tool magazine (general machine
parameter RANDOMTC (P25).
The CNC tells the PLC by means of the 32 bit register, the position of the magazine
(empty pocket) in which the tool which was on the spindle must be deposited.
This will be coded in BCD code (8 digits). If a second T function is not required the
CNC will assign a value $FFFFFFFF to the register.
The second T function will be sent together with M06 and the CNC will wait for the
general logic input AUXEND to the activated to consider the execution completed.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
258
Installation manual
M function
9.
To do this, it uses variables MBCD1 to MBCD7 (R550 to R556) and activates the
general logic output MSTROBE to indicate to the PLC that it must execute them.
Depending on how these functions are defined on the table, the CNC must wait, or
not, for the general input AUXEND to be activated to consider the execution
completed.
S function
If an S function has been programmed and the spindle has BCD input, the CNC will
send this value to the variable SBCD (R557) and will activate the general logic output
SSTROBE to indicate to the PLC that it must be executed.
CNC-PLC COMMUNICATION
The CNC analyzes the M functions programmed in the block and in accordance with
how these are defined, will send these to the PLC before and/or after the movement.
9.2
This transmission is made at the beginning of the block execution and the CNC will
wait for the general input "AUXEND" to be activated to consider the execution
completed.
T function
The CNC will indicate via the variable TBCD (R558) the T function which has been
programmed in the block and activates the general logic output TSTROBE to tell
the PLC that it must execute it.
This transmission is made at the beginning of the block execution and the CNC will
wait for the general input AUXEND to be activated to consider the execution
completed.
Second T function
If this involves changing a special tool or a machining center with non-random tool
magazine, the CNC will indicate, on executing the M06 function, the position of the
magazine (empty pocket) in which the tool which was on the spindle must be
deposited.
This indication will be made by means of the variable T2BCD (R559) and by
activating the general logic output T2STROBE to tell the PLC that it must execute
it. The CNC will wait for the general input AUXEND to be activated to consider the
execution completed.
CNC 8035
It must be borne in mind that at the beginning of the execution of the block,
the CNC can tell the PLC the execution of the M, S, T and T2 functions by
activating their STROBE signals together and waiting for a single AUXEND
signal for all of them.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
259
Installation manual
9.2.1
CNC-PLC COMMUNICATION
9.
2. When the PLC detects that one of the STROBE signals is active, it must deactivate
the general logic input "AUXEND" to tell the CNC that the execution of the
corresponding function or functions is starting.
3. The PLC will execute all the auxiliary functions required, it being necessary to
analyze the "MSTROBE", "SSTROBE", "TSTROBE", "T2STROBE" general logic
outputs and the "MBCD1-7", "SBCD", "TBCD" and "T2BCD" variables in order
to do this.
Once this has been executed the PLC must activate the general logic input
AUXEND to indicate to the CNC that the processing of the required functions
was completed.
4. Once the general "AUXEND" input is activated, the CNC will require that this
signal be kept active for a time period greater than the value given to the g.m.p.
"MINAENDW" (P30).
This way, erroneous interpretations of this signal by the CNC due to an improper
PLC program logic are avoided .
5. Once the period of time "MINAENDW" has elapsed with the general input
"AUXEND" at a high logic level, the CNC will deactivate the general logic outputs
"MSTROBE", "SSTROBE", "TSTROBE", "T2STROBE" to tell the PLC that the
execution of the required auxiliary function or functions has been completed.
When the block being executed has several auxiliary functions (M, S, T), the
CNC waits a time period set by g.m.p. MINAENDW (P30) between two
consecutive transfers.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
260
Installation manual
2. The CNC will keep the general logic output "MSTROBE" active during the time
indicated by means of g.m.p. MINAENDW (P30).
Once this period of time has elapsed the CNC will continue to execute the
program.
It is advisable for the MINAENDW value to be equal to or greater than the
duration of a PLC cycle, in order to ensure the detection of this signal by the PLC.
CNC-PLC COMMUNICATION
9.
Auxiliary M, S, T function transfer
9.2.2
3. When the PLC detects the activation of the general logic signal MSTROBE it
will execute the required miscellaneous M functions in the MBCD1-7 variables.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
261
Installation manual
9.3
Displaying messages
CNC-PLC COMMUNICATION
9.
The PLC has 255 marks, with their corresponding mnemonic for displaying messages
in the CNC.
M4000
MSG001
M4100
MSG101
M4252
MSG253
M4001
MSG002
M4101
MSG102
M4253
MSG254
M4002
MSG003
M4102
MSG103
M4254
MSG255
...
...
...
...
...
...
...
...
If one of these marks is activated (high logic level), the CNC will display the selected
message number and its associated text on the PLC message display window (upper
right-hand part).
The CNC allows a text to be associated to each PLC message (PLC message editing
mode).
If the PLC activates 2 or more messages, the CNC will always display the message
with the highest priority, this being understood as being the message with the lowest
number. In this way, MSG1 will have the highest priority and MSG255 the lowest
priority.
In this same message display window, the CNC can show the character + (plus sign),
which indicates that there are more messages activated by the PLC, and these can
be displayed if the active message page option is accessed in the PLC operating
mode.
A message can be erased by deactivating it from the PLC program (low logic level)
or from the CNC keyboard, after selecting it on the active messages page.
Nevertheless and depending on the program, the PLC may reactivate this message
in the following cycle.
Example:
DFU I10 = MSG1
I10 = MSG2
1. Input I10 changes from 0 to 1.
Messages MSG1 and MSG2 are activated.
2. The user deletes the messages using the keyboard.
3. In the next PLC cycle, since I10 is kept at 1, MSG2 is activated again.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
262
Installation manual
Displaying errors
The PLC has 128 marks, with their corresponding mnemonic, for displaying errors
at the CNC.
M4530
ERR031
M4625
ERR126
M4501
ERR002
M4531
ERR032
M4626
ERR127
M4502
ERR003
M4532
ERR033
M4627
ERR128
...
...
...
...
...
...
...
...
When one of these marks is activated (they are set high), they interrupt CNC partprogram execution. It also displays the selected error message and its associated text
in the middle of the screen.
The CNC allows a text to be associated to each PLC error (PLC error editing mode).
It is recommended to change the state of these marks by means of accessible
external inputs since the PLC will not stop and the CNC will receive the error message
in each new PLC cycle scan; thus preventing access to any of the PLC modes.
9.
CNC-PLC COMMUNICATION
ERR001
M4500
The PLC has 256 marks with their corresponding mnemonic, for displaying screens
(pages) at the CNC.
M4700
PIC000
M4900
PIC200
M4953
PIC253
M4701
PIC001
M4901
PIC201
M4954
PIC254
M4702
PIC002
M4902
PIC202
M4955
PIC255
...
...
...
...
...
...
...
...
If one of these marks is activated (high logic level), the CNC will display the character
* (asterisk) on the PLC message display window (upper right-hand part) indicating
that at least one of the 256 screens (pages) defined by the user in the graphic editor
mode is activated.
The selected screens (pages) will be displayed, one by one, if the active page (screen)
option is accessed in the PLC operating mode.
A page can be deactivated from the PLC program (by placing the corresponding mark
at the low logic level) or, from the CNC keyboard, after selecting it in the active page
mode.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
263
Installation manual
9.4
9.
CNC-PLC COMMUNICATION
Etc.
Likewise, the CNC allows access to all PLC variables of any part program and is
provided with several high level language instructions for this purpose, which allow
Inputs, Outputs, Marks, Registers, Timers and Counters to be read or modified.
9.5
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
264
10
Physical inputs and outputs are the names given to the set of inputs and outputs of
the CNC system which, being controlled by the PLC, communicate with the outside
through CNC connectors.
The CNC also has a series of logic inputs and outputs for the internal exchange of
information with PLC marks and registers. This type of marks do not have images
on the PLC.
Each of these CNC logic inputs and outputs may be referred to with the corresponding
PLC resource or with their associated mnemonic. Mnemonics which begin with "/"
indicate that the signal is active low (0 V). For example:
M5000
/EMERGEN
M5104
MIRROR1
M5016
AUXEND
M5507
/ALARM
All the mnemonics refer to their associated variable, it being necessary to use the
NOT operator to refer to its negation, for example:
NOT M5000
NOT /EMERGEN
NOT M5016
NOT AUXEND
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
265
Installation manual
10.1
10.
/EMERGEN (M5000)
There are to ways to cause an emergency at the CNC, by activating the physical input
/Emergency stop (pin 10 of connector X2) or the general logic input "/EMERGEN"
from the PLC.
When the PLC sets the "/EMERGEN" input low (0V), the CNC stops the axes and
the spindle and it displays the corresponding error message.
Also, the CNC activates the "/EMERGENCY OUTPUT" and "/ALARM" signals to let
the outside world and the PLC know that an emergency has occurred at the CNC.
The CNC does not allow executing programs and it aborts any attempt to move the
axes or the spindle while the "/EMERGEN" input is low (0V).
When the PLC brings the "/EMERGEN" input back high (24V), the CNC deactivates
the "/EMERGENCY OUTPUT" and "/ALARM" signals to let the outside world and the
PLC know that there is no longer an emergency at the CNC.
Example
I-EMERG AND (rest of conditions) = /EMERGEN
If the external emergency input is activated or any other emergency occurs, the
general logic input /EMERGEN of the CNC. When there is no emergency, this
signal must remain high.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
266
Installation manual
/STOP (M5001)
When the PLC sets this signal low, the CNC stops the part program, and maintains
spindle rotation.
In order to continue executing the program, as well as setting this signal at a high logic
level, the general logic input CYSTART must be activated.
The treatment which this /STOP signal receives is similar to that given to the STOP
key on the CNC front panel keeping all the keys enabled even when the /STOP signal
is at low logic level (0) .
/FEEDHOL (M5002)
When the PLC sets this signal low, the CNC stops the axes (maintaining spindle
rotation). When the signal returns to the high logic level, the movement of the axes
continues.
If the /FEEDHOL signal is activated (0V) in a block without motion, the CNC will
continue the execution of the program until detecting a block with motion.
Example
( ) = /STOP
There is always permission to execute the part program.
10.
Example
() = /FEEDHOL
There is always permission to move the axes.
/XFERINH (M5003)
If the PLC sets this signal low, the CNC prevents the following block from starting,
but finishes the one it is executing. When the signal returns to high logic level, the
CNC continues to execute the program.
Example
( ) = /XFERINH
There is always permission to execute the next block.
CYSTART (M5007)
If the START key is pressed on the front panel of the CNC, this is indicated to the PLC
by means of the general logic output START.
If the PLC program considers that there is nothing to prevent the part program form
being executed, the CYSTART signal must be set at a high logic level, thus beginning
the execution of the program.
The CNC will indicate by means of the general logic output INCYCLE that the program
is being executed. As of that moment the CYSTART can return to low logic level.
Example
START AND (rest of conditions) = CYSTART
When the cycle START key is pressed, the CNC activates the general logic
output START. The PLC must check that the rest of the conditions (hydraulic,
safety devices, etc.) are met before setting the general input CYSTART high in
order to start executing the program
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
267
Installation manual
SBLOCK (M5008)
When the PLC sets this signal high, the CNC changes to the single block execution
mode.
The treatment this signal receives is similar to that given to the "single block" softkey.
MANRAPID (M5009)
If the PLC sets this signal at a high logic level, the CNC selects rapid feed for all the
movements executed in JOG mode.
10.
When the signal returns to a low logic level, the movements executed in JOG mode
are made at the previously-selected feedrate.
The treatment which this signal receives is similar to that given to the rapid feedrate
key on the control panel.
The EXRAPID (M5057) signal is similar, but for movements in jog mode.
OVRCAN (M5010)
If the PLC sets this signal at a high logic level, the CNC selects 100% feedrate
override, irrespective of whether this is selected by the PLC, DNC, program or by the
front panel switch.
While the OVERCAN signal is activated (logic 1), the CNC will apply in each mode
100 % of the feedrate corresponding to that mode.
LATCHM (M5011)
This allows the type of JOG key operation to be selected in JOG mode.
If the PLC sets this signal low, the axes will only move while the corresponding JOG
key is pressed.
If the PLC sets this signal at a high logic level, the axes will move from the moment
the corresponding JOG key is pressed until the STOP key or other JOG key is
pressed. In this case, the movement will be transferred to that indicated by the new
key.
ACTGAIN2 (M5013)
The axes and the spindle can have 3 sets of gains and accelerations.
By default, the first set is always assumed. The one indicated by the a.m.p. and s.m.p.:
ACCTIME (P18), PROGAIN (P23), DERGAIN (P24) and FFGAIN (P25).
g.m.p. ACTGAIN2 (P108) indicates with which functions or in which mode the second
set is applied, the one set by a.m.p. ACCTIME2 (P59), PROGAIN2 (P60), DERGAIN2
(P61) and FFGAIN2 (P62) or s.m.p. ACCTIME2 (P47), PROGAIN2 (P48),
DERGAIN2 (P49) and FFGAIN2 (P50).
The gains and accelerations can also be changed from the PLC regardless of the
active operating mode or function. To do this, use general input ACTGAIN2 (M5013).
CNC 8035
ACTGAIN2 (M5013) = 0
ACTGAIN2 (M5013) = 1
The change of gains and accelerations is always made at the beginning of the
block.
When working in round corner (G5), the change does not take place until G07
is programmed.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
268
Installation manual
RESETIN (M5015)
This signal will be treated by the CNC when the JOG mode is selected and there is
no movement of the axes or when a program to be executed is selected and it is not
running.
When there is a rising edge (leading edge) of this signal (change from low to high)
the CNC assumes the initial machining conditions selected by the machine
parameter.
The CNC will indicate by means of the general logic output RESETOUT that this
function has been selected.
This signal is used in the execution of auxiliary functions M, S and T, to tell the CNC
that the PLC is executing them.
It operates in the following way:
1. Once the block has been analyzed and after sending the corresponding values
in the variables "MBCD1-7", "SBCD", "TBCD" and "T2BCD", the CNC will tell the
PLC by means of the general logic outputs "MSTROBE", "SSTROBE",
"TSTROBE" and "T2STROBE" that the required auxiliary functions must be
executed.
AUXEND (M5016)
10.
LOGIC CNC INPUTS AND OUTPUTS
The treatment received by this signal is similar to that given to the RESET key on the
front panel.
2. When the PLC detects that one of the STROBE signals is active, it must deactivate
the general logic input "AUXEND" to tell the CNC that the execution of the
corresponding function or functions is starting.
3. The PLC will execute all the auxiliary functions required, it being necessary to
analyze the "MSTROBE", "SSTROBE", "TSTROBE", "T2STROBE" general logic
outputs and the "MBCD1-7", "SBCD", "TBCD" and "T2BCD" variables in order
to do this.
Once this has been executed the PLC must activate the general logic input
"AUXEND" to indicate to the CNC that the processing of the required functions
was completed.
4. Once the general "AUXEND" input is activated, the CNC will require that this
signal be kept active for a time period greater than the value given to the g.m.p.
"MINAENDW" (P30).
This way, erroneous interpretations of this signal by the CNC due to an improper
PLC program logic are avoided .
5. Once the period of time MINAENDW has elapsed with the general input
"AUXEND" at a high logic level, the CNC will deactivate the general logic outputs
"MSTROBE", "SSTROBE", "TSTROBE", "T2STROBE" to tell the PLC that the
execution of the required auxiliary function or functions has been completed.
CNC 8035
TIMERON (M5017)
The CNC is provided with a timer which can be enabled and disabled. By means of
this logic CNC input, it will be enabled (timing) when the PLC sets the signal
TIMERON at a high logic level.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
This general purpose timer can be accessed by means of the internal variable TIMER.
269
Installation manual
TREJECT (M5018)
The PLC sets this signal at a high logic level in order to tell the CNC to reject the tool
in use, even though it may not have come to the end of its service life. An important
application is to replace the tool when the PLC detects that it is broken.
PANELOFF (M5019)
The PLC sets this signal high to tell the CNC that the keyboard is deactivated.
It is recommended to change the state of this mark by means of an accessible external
input since the PLC will not stop and the CNC will receive the error message in each
new PLC cycle scan; thus preventing access to any of the PLC modes.
10.
PLCABORT (M5022)
The PLC sets this signal high to indicate to the CNC that it must stop the PLC axes.
It also cancels the rest of the movement and the possible blocks that might have been
sent from the PLC.
Once this process is ended, the CNC automatically deactivates this signals.
On power-up, the CNC sets this mark to "0".
PLCREADY (M5023)
This mark indicates the PLC status.
PLCREADY = 0
PLC stopped.
PLCREADY = 1
PLC running.
CNC 8035
BLKSKIP2 (M5029)
(SOFT M: V15.1X)
(SOFT T: V16.1X)
270
The PLC sets this signal at a high logic level to tell the CNC that the block skip
condition "/ or /2" is met, therefore, the blocks which have this block skip condition
will not be executed.
Installation manual
BLKSKIP3 (M5030)
The PLC sets this signal at a high logic level to tell the CNC that the block skip
condition "/ or /3" is met, therefore, the blocks which have this block skip condition
will not be executed.
M01STOP (M5031)
The PLC sets this signal at a high logic level to tell the CNC to stop the execution of
the part program when the auxiliary (miscellaneous) M01 function is executed.
If while executing a part-program the PLC sets this signal high, retracing is activated.
The CNC interrupts program execution and starts executing backwards what has
been done so far.
When the PLC sets this signal back low, retracing is canceled. The CNC starts
executing forward what was done backwards and it will go on to execute the part of
the program that was not machined.
Retracing executes backwards the current block plus up to 75 blocks that were
already executed.
The retracing function ends in the following cases:
The CNC takes into account this input when retracing is available, g.m.p. RETRACAC
other than zero.
10.
RETRACE (M5051)
Linear path.
M5053 = 1
Arc path.
CNC 8035
For a linear path, the path angle must be indicated by the MASLAN variable and for
an arc, the center coordinates must be indicated by the MASCFI and MASCSE
variables
Variables MASLAN, MASCFI and MASCSE may be read and written from the CNC,
DNC and PLC.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
271
Installation manual
MASTRHND (M5054)
The PLC sets this signal high to "tell" the CNC to activate the "path handwheel" or
the "path jog" mode.
M5054 = 0
M5054 = 1
EXRAPID (M5057)
The CNC only takes this signal into account if parameter RAPIDEN has been set to
1 or 2.
If the PLC sets this signal high, the programmed movements are executed as follows.
10.
"RAPIDEN" = 1
RAPIDEN = 2
When the signal is set back low, the movements are executed at the programmed
feedrate.
The treatment which this signal receives is similar to that given to the rapid feedrate
key on the control panel.
The MANRAPID (M5009) signal is similar, but for movements in jog mode.
FLIMITAC (M5058)
When the PLC sets this signal high, it limits the feedrate of each axis to the value set
by its a.m.p. "FLIMIT (P75)". When this limit is canceled, the CNC recovers the
programmed feedrate.
SLIMITAC (M5059)
When the PLC sets this signal high, it limits the spindle speed to the value set by its
s.m.p. "SLIMIT (P66)". When this limit is canceled, the CNC recovers the
programmed turning speed.
When the spindle is controlled by the PLC by means of the PLCCNTL mark, this limit
is ignored.
BLOABOR (M5060)
When the PLC sets this mark high, the CNC ends the movement in progress and
starts executing the next block. If the interrupted block had M functions to be executed
after the block, they will be executed before going on to the next block.
This mark only affects the execution in automatic mode and the simulation with
motion.
This mark does not stay active after the execution. Once executed, the CNC
deactivates it. Likewise, if they are activated in a block that does not accept them, they
will also be deactivated; they do not stay active for the next block.
These marks affect the following functions.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
272
Installation manual
These marks do not affect block preparation. When canceling the execution of a block,
the next movement is carried out up to the prepared target coordinates; no
preparation is done.
On the other hand, only the programmed axes are involved in the next movement.
The rest of the axes are ignored, even if there is a real difference in position because
the previous block has been aborted.
Path 1
10.
It does not interrupt the execution of function G74 (machine reference zero or
home search).
Path 2
The solid lines represent the programmed paths and the dashed lines the
real paths, after activating the BLOABOR mark.
If a block is aborted and then the RETRACE function is activated, the retraced path
(backwards) will not be the same as the one traveled forward. The two paths will not
coincide either when aborting a block while the RETRACE function is active.
ACTGAINT (M5063)
The axes and the spindle can have 3 sets of gains and accelerations.
By default, the first set is always assumed. The one indicated by the a.m.p. and s.m.p.:
ACCTIME (P18), PROGAIN (P23), DERGAIN (P24) and FFGAIN (P25).
G.m.p ACTGAINT indicates with which functions or in which work mode the third set
is applied, the one indicated by a.m.p. ACCTIMET (P92), PROGAINT (P93),
DERGAINT (P94) y FFGAINT (P95), and s.m.p. ACCTIMET (P81), PROGAINT
(P82), DERGAINT (P83) and FFGAINT (P84).
The gains and accelerations can also be changed from the PLC regardless of the
active operating mode or function. To do this, use general input ACTGAINT (M5063).
ACTGAINT (M5063) = 1
The change of gains and accelerations is always made at the beginning of the
block.
CNC 8035
When working in round corner (G5), the change does not take place until G07
is programmed.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
273
Installation manual
SKIPCYCL (M5064)
In drilling, tapping and rigid tapping cycles of the mill model CNC, it is now possible
to withdraw the tool to the starting plane and, once there, stop the spindle.
Once the retraction has been completed, the user will have the choice to finish the
hole, go to the next one or go into tool inspection.
General logic input SKIPCYCL (M5064) is used to go on to the next hole once the
retraction has been completed.
10.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
274
RETRACYC (M5065)
In drilling, tapping and rigid tapping cycles of the mill model CNC, it is now possible
to withdraw the tool to the starting plane and, once there, stop the spindle.
Once the retraction has been completed, the user will have the choice to finish the
hole, go to the next one or go into tool inspection.
The PLC activates this mark and the CNC cancels it automatically once the Z axis
stopped and before beginning to retract.
Installation manual
10.2
The use of mnemonics with the axis name is available from versions V9.0x
and V10.0x on. If PLC programs older than this version have defined these
marks as symbols, when compiling the program will issue an error on this line.
Example: DEF ENABLEX M333
Mnemonics using numbers 1 through 3.
These signals are numbered as the logic order of the axes; it is not related to the
values assigned to g.m.p. AXIS1 (P0) through AXIS8 (P7).
SERVOXON by SERVO1ON
10.
When monitoring the PLC program, it shows the edited marks, either with a letter or
with a number. However, the resource windows created from monitoring will replace
the marks with axis names by the marks with axis numbers. For example:
For example, if the CNC controls the X, Z and Y axes, the order will be: X, Y, Z and,
therefore:
LIMIT+1, LIMIT-1, DECEL1, etc.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
275
Installation manual
DECEL1 (M5102)
DECEL2 (M5152)
DECEL3 (M5202)
These signals are used by the CNC when machine reference search is made.
If the PLC sets one of these signals high, this indicates to the CNC that the machine
reference search switch of the corresponding axis has been pressed.
When this signal is activated in the machine reference search mode, the CNC
decelerates the axis, changing the rapid approach feedrate indicated by the a.m.p.
"REFEED1", with the slow feedrate indicated by the a.m.p. "REFEED2". After
decelerating it accepts the following reference signal from the corresponding axis
feedback system as being valid.
10.
INHIBIT1 (M5103)
CNC 8035
In order to obtain the same effect as functions G11, G12, G13 and G14, it is necessary
for the corresponding axis or axes to be positioned at part zero when these signals
are activated.
SWITCH1 (M5105)
(SOFT M: V15.1X)
(SOFT T: V16.1X)
276
SWITCH2 (M5155)
SWITCH3 (M5205)
When having 2 axes controlled by the same servo drive, this mark may be used to
toggle the velocity commands between the two axes.
Installation manual
DRO1 (M5106)
SERVO3ON (M5207)
When one of these signals is set high, the CNC closes the positioning loop of the
corresponding axis.
If set low, the CNC does not close the position loop of the axis. Any position deviation
is stored as following error, thus when the signal gets back high, the axis moves to
return to position
These signals are controlled by the PLC and when the positioning loop is to be closed,
they will be processed by the CNC according to the value given to machine parameter
"DWELL" (P17) for the axes.
10.
LOGIC CNC INPUTS AND OUTPUTS
If the DRO signal is brought back low, the axis will no longer behave as a DRO and
the CNC will take as position value its current position assigning a 0 value to the
following error.
DWELL = 0
When a.m.p. DWELL (P17) for the axis to be moved is set to 0, the CNC will check
the status of the SERVOON signal at the time when the ENABLE must be output.
If the SERVOON signal is high, the CNC allows the movement of this axis by activating
the ENABLE signal and outputting the required analog voltage.
On the other hand, if the SERVOON signal is low or if it changes during the movement
of the axes, the CNC stops the axes feed and the spindle rotation displaying the
corresponding error message.
DWELL<>0
When a.m.p. DWELL (P17) for the axis to be moved is set to other than "0", the CNC
will check the status of the SERVOON signal at the time when the ENABLE must be
output.
When this signal (SERVOON) is high, the CNC allows the movement of the axis by
activating the ENABLE signal and providing the required analog output voltage.
On the other hand, if the SERVOON signal is low, the CNC activates the ENABLE
signal and after "waiting" for a time period indicated in DWELL, it checks again the
status of the SERVOON signal. If it is high, the required spindle analog voltage will
be output. If low, the CNC will stop the axes feed and the spindle rotation displaying
the corresponding error message.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
277
Installation manual
10.
Also, if the SERVOON signal changes states during the movement of the axis, the
CNC stops the axes feed and the spindle rotation displaying the corresponding error
message.
AXIS+1 (M5108) | AXIS-1 (M5109)
AXIS+2 (M5158) | AXIS-2 (M5159)
AXIS+3 (M5208) | AXIS-3 (M5209)
The CNC uses these signals when working in the manual (JOG) operating mode.
If the PLC sets one of these signals high, the CNC will move the corresponding axis
in the direction indicated, positive (+) or negative (-). This movement will be performed
at the feedrate override % currently selected.
The treatment which these signals receive is similar to that given to the JOG keys
of the operator panel.
SPENA1 (M5110) | DRENA1 (M5111)
SPENA2 (M5160) | DRENA2 (M5161)
SPENA3 (M5210) | DRENA3 (M5211)
The CNC uses these signals when communicating with the drive via CAN. Every time
the PLC sets one of these signals high, the CNC lets the corresponding drive know
about it.
These signals correspond to the "speed enable" and "drive enable" signals of the
drive. The drive manual describes how the two signals work, however, remember the
following:
Both signals must be initialized low when powering up the PLC.
For normal drive operation, both signals must be set high.
A down flank (trailing edge) of the DRENA signal (drive enable) turns off the power
circuit of the drive and the motor loses its torque. In this situation, the motor is no
longer governed and it will stop when its kinetic energy runs out. (Stop by friction).
A trailing edge of the SPENA signal (speed enable) switches the "internal velocity
reference" to "0" rpm and brakes the motor while maintaining its torque. Once the
motor has stopped, the drive's power circuit is turned off and the motor has no
torque.
ELIMINA1 (M5113)
ELIMINA2 (M5163)
ELIMINA3 (M5213)
If the PLC sets one these signals high, the CNC does not display the corresponding
axis but keeps controlling it. Same as when setting a.m.p. DFORMAT (P1) =3.
The ELIMINA mark can be activated and deactivated at any time and it also cancels
the feedback alarms which the machine parameter does not do.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
278
Installation manual
SMOTOF1 (M5114)
LIM3OFF (M5215)
10.
MANINT1 (M5116)
MANINT2 (M5166)
MANINT3 (M5216)
The PLC sets one of these signals high to activate the additive handwheel on each
axis. Only one additive handwheel may be enabled at a time. If there are more than
one mark active, only the first one will be attended to.
When a program is in execution and the mark associated with an axis is activated,
it calculates the movement to be applied to that axis according to the resolution of
the handwheel.
DIFFCOM1 (M5117)
The PLC sets one of these signals high so that the CNC ignores the software limits
of the corresponding axis.
LIM1OFF (M5115)
The theoretical difference between the master and the slave is corrected as follows:
With the leading edge (up flank) of DIFFCOMaxis while SERVOaxisON = 1.
With the leading edge (up flank) of SERVOaxisON while DIFFCOMaxis = 1.
In this case, to correct the theoretical difference between master and slave, both
the master and the slave axes must be set as Gantry axis or as DRO axis.
Otherwise, the upflank of the SERVOaxisON mark corrects the following error of
the slave axis.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
279
Installation manual
10.3
main spindle
The CNC uses this signal while searching home when the spindle changes to working
in closed loop (M19). The CNC only considers the signals for the currently selected
spindle.
The PLC sets one of the signals high to tell the CNC that the spindle has overrun its
range of travel in the positive (+) or negative (-) direction.
10.
In this case, the CNC stops axis feed and spindle rotation and displays the
corresponding error on screen.
DECELS (M5452) Main spindle
The CNC uses this signal while searching home when the spindle changes to working
in closed loop (M19). The CNC only considers the signals for the currently selected
spindle.
The PLC sets this signal high to indicate to the CNC that the reference search switch
is pressed.
When this signal is activated in the reference search mode the CNC decelerates the
spindle, changing the rapid approach speed indicated by the s.m.p. REFEED1 (P34),
with the slow feedrate indicated by the s.m.p. REFEED2 (P35). After decelerating,
it accepts the following reference signal from the spindle feedback systems as being
valid.
SPDLEINH (M5453)
Main spindle
The CNC considers these 2 signals at all times so both spindles can be controlled
by the PLC.
When the PLC sets this signal high, the CNC outputs a zero analog for the spindle.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
280
Installation manual
SERVOSON (M5457)
Main spindle
These signals are controlled by the PLC and the CNC will process them only when
the spindle is working in closed loop (M19). Its treatment depends on the value
assigned to s.m.p. DWELL (P17).
DWELL = 0
If s.m.p. DWELL (P17) has been set to "0", the CNC will check the status of the
SERVOSON signal at the time when the ENABLE signal is to be output.
On the other hand, if the SERVOSON signal is low or if it changes to low during the
rotation of the spindle, the CNC will stop the axes feed and the spindle rotation
displaying the corresponding error message.
10.
If the SERVOSON signal is high, the CNC will allow the spindle to rotate by activating
the ENABLE signal and providing the required analog output voltage.
DWELL<>0
If s.m.p. DWELL (P17) has been set to other than "0", the CNC will check the status
of the SERVOSON signal at the time when the ENABLE signal is to be output.
If the SERVOSON signal is high, the CNC will allow the spindle to rotate by activating
the ENABLE signal and providing the required analog output voltage.
On the other hand, if the SERVOSON signal is low, the CNC will activate the ENABLE
signal and, after waiting for a time period indicated by the value given to "DWELL",
the CNC checks the SERVOSON signal again. If it is high, the required spindle analog
voltage will be output. If low, the CNC will stop the axes feed and the spindle rotation
displaying the corresponding error message.
Also, if it changes to low during the rotation of the spindle, the CNC will stop the axes
feed and the spindle rotation displaying the corresponding error message.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
281
Installation manual
GEAR1 (M5458)
GEAR2 (M5459)
GEAR3 (M5460)
The PLC uses these signals to indicate to the CNC which spindle gear is currently
selected (high logic level). The CNC only considers the signals for the currently
selected spindle.
When any of the miscellaneous functions M41, M42, M43 or M44 is programmed,
the CNC will "tell" the PLC so it selects the desired gear even if it is already selected.
10.
When working with automatic gear changer, the CNC will check the currently selected
gear (GEAR1... GEAR4) and if it does not match the selected speed, the CNC will
let the PLC know using the relevant auxiliary function (M41, M42, M43 or M44) to
select it.
Once the PLC selects the proper gear, it indicates it to the CNC by means of the logic
input corresponding to the spindle (GEAR1 ...). GEAR4).
The spindle gear change depends on the setting of functions M41 through M44 in
the M function table:
The M41, M42, M43 or M44 function uses the "AUXEND" signal:
The CNC indicates to the PLC the selected gear M41, M42, M43 or M44 in one of
the registers "MBCD1" through "MBCD7" and it activates the "MSTROBE" signal to
let the PLC "know" that it must execute it.
When the PLC detects the activation of the "MSTROBE" signal it must deactivate the
general logic input "AUXEND" to "tell" the CNC that the execution of the gear change
has started.
Once executed this function, the PLC will inform the CNC that the new gear has been
selected by means of the logic input corresponding to the spindle ("GEAR1"....
"GEAR4").
The PLC, then, activates the logic input "AUXEND" to "tell" the CNC that the execution
of the gear change has been completed.
Once the "AUXEND" input is activated, the CNC will require that this signal be kept
active for a time period greater than the value given to the g.m.p. "MINAENDW" (P30).
This way, erroneous interpretations of this signal by the CNC due to an improper PLC
program logic are avoided .
Once the "MINAENDW" time has elapsed with the "AUXEND" general input kept high,
the CNC will check whether the new spindle gear has been selected by verifying that
the corresponding input (GEAR1... GEAR4) is set high.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
282
If it is, it will cancel the general logic output "MSTROBE" to "tell" the PLC that the gear
change has finished and if the corresponding input (GEAR1... GEAR4) is not
selected, the CNC will stop the axes feed and the spindle rotation displaying the
corresponding error message.
Installation manual
If the M41, M42, M43 or M44 function does not use the "AUXEND" signal:
The CNC indicates to the PLC the selected gear M41, M42, M43 or M44 in one
of the registers "MBCD1" through "MBCD7" and it activates the "MSTROBE"
signal to let the PLC "know" that it must execute it.
The CNC will keep the output "MSTROBE" active during the time indicated by
means of g.m.p. MINAENDW (P30).
After this time, the CNC will check whether the new spindle gear has been
physically selected by verifying that the corresponding GEAR input (GEAR1...
GEAR4) is set high.
Main spindle
The CNC uses these signals when communicating with the drive via CAN. Every time
the PLC sets one of these signals high, the CNC lets the corresponding drive know
about it.
These signals correspond to the "speed enable" and "drive enable" signals of the
drive. The drive manual describes how the two signals work, however, remember the
following:
Both signals must be initialized low when powering up the PLC.
For normal drive operation, both signals must be set high.
A down flank (trailing edge) of the DRENA signal (drive enable) turns off the power
circuit of the drive and the motor loses its torque. In this situation, the motor is no
longer governed and it will stop when its kinetic energy runs out. (Stop by friction).
10.
If it is not selected, the CNC will stop the axes feed and the spindle rotation
displaying the corresponding error message.
A trailing edge of the SPENA signal (speed enable) switches the "internal velocity
reference" to "0" rpm and brakes the motor while maintaining its torque. Once the
motor has stopped, the drive's power circuit is turned off and the motor has no
torque.
PLCFM19 (M5464) | M19FEED (R505)
Main spindle
The CNC only considers the signals for the currently selected spindle.
The PLC uses the "PLCM19" signal to indicate to the CNC the positioning and rapid
synchronized speed value to assume when operating in closed loop (M19).
When this input is low, the CNC assumes the value set by s.m.p. "REFEED1" (P34)
When this input is high, the CNC assumes the value set by the spindle input register
"M19FEED" (R505).
The "M19FEED" value is given in 0.0001/min.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
283
Installation manual
PLCCNTL (M5465)
Main spindle
The CNC considers these 2 signals at all times so both spindles can be controlled
by the PLC. This is used to tell the CNC that the spindle is controlled directly by the
PLC (high logic level).
It is used, for example, for oscillating the spindle during a gear change or for changing
tools.
The following example shows how a new spindle speed is selected involving a gear
change.
10.
After analyzing the block and detecting the gear change the CNC indicates this to
the PLC in one of the "MBCD1-7" registers (M41 to M44) and will activate the general
logic output "MSTROBE" to tell the PLC that it must execute it.
The PLC will deactivate the logic input AUXEND to tell the CNC that the treatment
of the auxiliary function is starting.
After calculating the value corresponding to the residual output S for the gear change,
the PLC will indicate this to the CNC by means of the register "SANALOG", afterwards
setting the signal "PLCCNTL" at a high logic level.
At this time the CNC will send out the output indicated in the register SANALOG.
Once the requested gear change has been made, the new active speed will be
indicated to the CNC (spindle logic inputs GEAR1 to GEAR4).
In order to give the control of the spindle back to the CNC, the signal "PLCCNTL" must
be set low.
Finally, the PLC will activate the logic input AUXEND once more to tell the CNC that
the execution of the auxiliary function has been completed.
SANALOG (R504)
Main spindle
The CNC considers these 2 signals at all times so both spindles can be controlled
by the PLC. The PLC will indicate by means of this 32 bit register the spindle analog
output which the CNC must send out when it is controlled by the PLC.
SANALOG=32767 corresponds to an analog output of 10 V.
(10/32767) 0.305185 millivolts of analog output correspond to SANALOG=1.
This way, for 4V of analog voltage, the following must be programmed:
SANALOG = (4x32767)/10 = 13107
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
If the PLC sets this signal high, the CNC does not display the corresponding spindle
but keeps controlling it. Same as when setting a.m.p. DFORMAT (P1) =4.
This mark can be activated and deactivated at any time and it also cancels the
feedback alarms which the machine parameter does not do.
284
Installation manual
Register
Bit
Inhibited key
Register
Bit
Inhibited key
KEYDIS1
KEYDIS1
KEYDIS1
0
1
2
F
L
Q
KEYDIS2
KEYDIS2
KEYDIS2
0
1
2
B
H
N
KEYDIS1
KEYDIS1
KEYDIS1
3
4
5
W
[SHIFT]
9
KEYDIS2
KEYDIS2
KEYDIS2
3
4
5
S
Y
[RESET]
KEYDIS1
KEYDIS1
KEYDIS1
6
7
8
6
3
E
KEYDIS2
KEYDIS2
KEYDIS2
6
7
8
[ESC]
[MAIN MENU]
A
KEYDIS1
KEYDIS1
KEYDIS1
9
10
11
K
P
V
KEYDIS2
KEYDIS2
KEYDIS2
9
10
11
G
M
R
KEYDIS1
KEYDIS1
KEYDIS1
12
13
14
[CAPS]
8
5
KEYDIS2
KEYDIS2
KEYDIS2
12
13
14
X
[ENTER]
[HELP]
KEYDIS1
KEYDIS1
KEYDIS1
15
16
17
2
D
J
KEYDIS2
KEYDIS2
KEYDIS2
15
16
17
.
0
KEYDIS1
KEYDIS1
KEYDIS1
18
19
20
O
U
[SP]
KEYDIS2
KEYDIS2
KEYDIS2
18
19
20
KEYDIS1
KEYDIS1
KEYDIS1
21
22
23
7
4
1
KEYDIS2
KEYDIS2
KEYDIS2
21
22
23
KEYDIS1
KEYDIS1
KEYDIS1
24
25
26
C
I
KEYDIS2
KEYDIS2
KEYDIS2
24
25
26
[PG DW]
[PG UP]
[]
KEYDIS1
KEYDIS1
KEYDIS1
27
28
29
T
Z
=
KEYDIS2
KEYDIS2
KEYDIS2
27
28
29
[]
[]
[]
KEYDIS1
KEYDIS1
30
31
/
*
KEYDIS2
KEYDIS2
30
31
[CL]
[INS]
10.
Key inhibiting logic inputs
KEYDIS1 (R500)
10.4
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
285
Installation manual
The keys inhibited by register KEYDIS3 (R502) depends on the CNC model available
(M or T model).
10.
Register
Bit
KEYDIS3
KEYDIS3
KEYDIS3
0
1
2
KEYDIS3
KEYDIS3
KEYDIS3
Inhibited key
Inhibited key
Register
Bit
F1
F2
F3
KEYDIS3
KEYDIS3
KEYDIS3
0
1
2
F1
F2
F3
3
4
5
F4
F5
F6
KEYDIS3
KEYDIS3
KEYDIS3
3
4
5
F4
F5
F6
KEYDIS3
KEYDIS3
KEYDIS3
6
7
8
F7
6
7
8
F7
X+
KEYDIS3
KEYDIS3
KEYDIS3
KEYDIS3
KEYDIS3
KEYDIS3
9
10
11
Y+
Z+
4+
KEYDIS3
KEYDIS3
KEYDIS3
9
10
11
X+
KEYDIS3
KEYDIS3
KEYDIS3
12
13
14
5+
Spdl override +
Spdl CW
KEYDIS3
KEYDIS3
KEYDIS3
12
13
14
4th axis +
Spdl override +
Spdl CW
KEYDIS3
KEYDIS3
KEYDIS3
15
16
17
START
KEYDIS3
KEYDIS3
KEYDIS3
15
16
17
START
KEYDIS3
KEYDIS3
KEYDIS3
18
19
20
Rapid feedrate
KEYDIS3
KEYDIS3
KEYDIS3
18
19
20
Rapid feedrate
Z+
KEYDIS3
KEYDIS3
KEYDIS3
21
22
23
Spdl stop
KEYDIS3
KEYDIS3
KEYDIS3
21
22
23
KEYDIS3
KEYDIS3
KEYDIS3
24
25
26
XYZ-
KEYDIS3
KEYDIS3
KEYDIS3
24
25
26
KEYDIS3
KEYDIS3
KEYDIS3
27
28
29
45Spdl override -
KEYDIS3
KEYDIS3
KEYDIS3
27
28
29
KEYDIS3
KEYDIS3
30
31
Spdl CCW
STOP
KEYDIS3
KEYDIS3
30
31
Spdl CCW
STOP
(M model)
(T model)
3rd axis +
Z-
Spdl stop
3rd axis X-
Bit 14 (spdl CW) corresponds to the key for starting the spindle clockwise.
Bit 30 (spdl CCW) corresponds to the key for starting the spindle
counterclockwise.
Bit 22 (spdl stop) corresponds to the key for stopping the spindle.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
286
Installation manual
Register KEYDIS4 disables the positions of the feedrate override switch (feedrate %
selector).
Register
Bit
Inhibited key
Register
Bit
Inhibited key
KEYDIS4
KEYDIS4
KEYDIS4
0
1
2
Handwheel x100
Handwheel x10
Handwheel x1
KEYDIS4
KEYDIS4
KEYDIS4
16
17
18
KEYDIS4
KEYDIS4
KEYDIS4
3
4
5
Jog 10000
Jog 1000
Jog 100
KEYDIS4
KEYDIS4
KEYDIS4
19
20
21
KEYDIS4
KEYDIS4
KEYDIS4
6
7
8
Jog 10
Jog 1
KEYDIS4
KEYDIS4
KEYDIS4
22
23
24
KEYDIS4
KEYDIS4
KEYDIS4
9
10
11
Feedrate override 2%
Feedrate override 4%
Feedrate override 10%
KEYDIS4
KEYDIS4
KEYDIS4
25
26
27
KEYDIS4
KEYDIS4
12
13
KEYDIS4
KEYDIS4
28
29
KEYDIS4
KEYDIS4
14
15
KEYDIS4
KEYDIS4
30
31
10.
Feedrate override 0%
Should one of the inhibited positions of the feedrate override switch be selected, the
CNC will take the value corresponding to the nearest uninhibited position below it.
If all of them are inhibited, the lowest will be taken (0%).
For example, if only positions 110% and 120% of the switch are allowed and position
50% is selected, the CNC will take a value of 0%.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
287
Installation manual
10.5
/FEEDHOP (M5004)
It is similar to general logic input /FEEDHOL (M5002), but for the PLC channel.
When the PLC sets this signal low, the CNC stops the axes (maintaining spindle
rotation). When the signal returns to the high logic level, the movement of the PLC
axes continues.
10.
2. When the PLC detects the activation of the "MSTROBEP" signal it must
deactivate the general logic input "AUXENDP" to "tell" the CNC that the execution
of the function has started.
3. The PLC will execute all the required auxiliary functions analyzing general logic
output "MSTROBEP" and variables "MBCDP1" through "MBCDP7" (R565
through R571).
Once this has been executed the PLC must activate the general logic input
"AUXENDP" to indicate to the CNC that the processing of the required functions
was completed.
CNC 8035
4. Once the general "AUXENDP" input is activated, the CNC will require that this
signal be kept active for a time period greater than the value given to the g.m.p.
"MINAENDW" (P30).
This way, erroneous interpretations of this signal by the CNC due to an improper
PLC program logic are avoided .
(SOFT M: V15.1X)
(SOFT T: V16.1X)
288
5. Once the period of time MINAENDW has elapsed with the general input
"AUXENDP" at a high logic level, the CNC will deactivate the general logic output
"MSTROBEP" to tell the PLC that the execution of the required auxiliary function
or functions has been completed.
Installation manual
BLOABORP (M5061)
It is similar to general logic input BLOABOR (M5060), but for the PLC channel.
When the PLC sets this mark high, the CNC ends the movement in progress and
starts executing the next block. If the interrupted block had M functions to be executed
after the block, they will be executed before going on to the next block.
This mark only affects the execution in automatic mode and the simulation with
motion.
10.
LOGIC CNC INPUTS AND OUTPUTS
This mark does not stay active after the execution. Once executed, the CNC
deactivates it. Likewise, if they are activated in a block that does not accept them, they
will also be deactivated; they do not stay active for the next block.
It does affect not affect threading blocks G33. Nor does it affect the regular tapping
or rigid tapping cycles regardless of the value of parameter STOPTAP.
It does not affect spindle positioning blocks M19. If the spindle positioning is in
a block containing axis movement, it aborts the movement of the axes, but it
completes the positioning of the spindle.
Considerations for the execution
These marks do not affect block preparation. When canceling the execution of a block,
the next movement is carried out up to the prepared target coordinates; no
preparation is done.
On the other hand, only the programmed axes are involved in the next movement.
The rest of the axes are ignored, even if there is a real difference in position because
the previous block has been aborted.
Path 1
Path 2
The solid lines represent the programmed paths and the dashed lines the
real paths, after activating the BLOABORP mark.
If a block is aborted and then the RETRACE function is activated, the retraced path
(backwards) will not be the same as the one traveled forward. The two paths will not
coincide either when aborting a block while the RETRACE function is active.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
289
Installation manual
10.6
CNCREADY (M5500)
The CNC activates and maintains this signal high if the autotest which the CNC makes
when it is powered up has not detected any problem. Should any hardware error be
detected (RAM, over-temperature, etc.) this signal is set low.
Example
10.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
290
Installation manual
/ALARM (M5507)
The CNC sets this signal low in order to tell the PLC that an alarm or emergency
condition has been detected. This signal will be set high once again, once the
message from the CNC has been eliminated and the cause of the alarm has
disappeared.
Likewise, while this signal is low, the CNC keeps the emergency output (pin 2 of
connector X2) active (low).
10.
Example
/ALARM AND (other conditions) = O1
The emergency output O1 of the PLC must be normally high. If an alarm or an
emergency is detected at the CNC, the emergency output O1 must be set low
(0V).
MANUAL (M5508)
The CNC sets this signal high to tell the PLC that the JOG (Manual) operating mode
is selected.
AUTOMAT (M5509)
The CNC sets this signal high to tell the PLC that the automatic operating mode is
selected.
MDI (M5510)
The CNC sets this signal high to tell the PLC that the MDI mode (manual data input)
is selected in one of the operating modes (JOG, automatic, etc).
SBOUT (M5511)
The CNC sets this signal high to tell the PLC that the single block execution mode
is selected.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
291
Installation manual
INCYCLE (M5515)
The CNC sets this signal high while executing a block or moving an axis.
Once the execution of the program has been requested by the PLC to the CNC by
means of the logic input CYSTART, the latter will indicate that it is being executed by
setting the INCYCLE signal high.
This signal is maintained high until the CNC finishes the part program or when this
is stopped by means of the STOP key on the CONTROL PANEL or the general logic
input /STOP.
10.
If the CNC is in the single block execution mode, the INCYCLE signal is set low as
soon as the block execution is concluded.
If the CNC is in JOG mode, the INCYCLE signal is set low as soon as the position
indicated has been reached.
If the CNC is in JOG mode and the axes are being jogged, the "INCYCLE" signal goes
high while any of the jog keys are pressed.
RAPID (M5516)
The CNC sets this signal high to tell the PLC that a rapid positioning (G00) is being
executed.
TAPPING (M5517)
The CNC sets this signal high to tell the PLC that a tapping canned cycle is being
executed (G84).
THREAD (M5518)
The CNC sets this signal high to tell the PLC that a threading block is being executed
(G33).
PROBE (M5519)
The CNC sets this signal high to tell the PLC that a probing movement is being
executed (G75/G76).
ZERO (M5520)
The CNC sets this signal high to tell the PLC that a machine reference search is being
executed (G74).
RIGID (M5521)
This output is only available on the mill model. The CNC set this signal high to indicate
to the PLC that a RIGID TAPPING operation (G84) is being performed.
RETRAEND (M5522)
The CNC sets this signal high to indicate to the "PLC" that while retracing is active
all the possible blocks have been retraced.
For further information, see general input "RETRACE (M5051)".
CSS (M5523)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
292
This output is only available on the lathe model. The CNC sets this signal high to tell
the PLC that the constant cutting speed function is selected (G96).
Installation manual
SELECT2 (M5526)
SELECT6 (M5530)
SELECT3 (M5527)
SELECT7 (M5531)
The CNC uses these signals to indicate to the PLC the position selected at each
keyboard switch.
SELECTOR indicates the position currently selected.
indicates the value applied by the CNC.
SELECTOR
bit (7)
bit (2)
bit (1)
SELECT7 ...
bit (0)
Hex.
... SELECT0
Handwheel x100
F0
Handwheel x10
F1
Handwheel x1
F2
JOG 10000
F3
JOG 1000
F4
JOG 100
F5
JOG 10
F6
JOG 1
F7
Feedrate override 0%
08
Feedrate override 2%
18
Feedrate override 4%
28
Fe e d r a t e
override10%
38
Fe e d ra t e ove r r i d e
20%
48
Fe e d ra t e ove r r i d e
30%
58
Fe e d ra t e ove r r i d e
40%
68
Fe e d ra t e ove r r i d e
50%
78
Fe e d ra t e ove r r i d e
60%
88
Fe e d ra t e ove r r i d e
70%
98
Fe e d ra t e ove r r i d e
80%
A8
Fe e d ra t e ove r r i d e
90%
B8
Fe e d ra t e ove r r i d e
100%
C8
Fe e d ra t e ove r r i d e
110%
D8
Fe e d ra t e ove r r i d e
120%
E8
10.
General logic outputs
Usually, the two values coincide, except when a position has been selected which
has been disabled with the KEYDIS4 input (R503). If while being the 60% and 120%
inhibited, the 100% position is selected, SELECTOR will show the selected position
(100%) and SELECT will show the value being applied (50%).
SELECT
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
293
Installation manual
MSTROBE (M5532)
The CNC sets this signal high to tell the PLC that it must execute the auxiliary M
function or functions which are indicated in registers "MBCD1" to "MBCD7" (R550
to R556).
SSTROBE (M5533)
This signal will be used when operating a spindle with BCD coded S signal. s.m.p.
SPDLTYPE (P0).
10.
The CNC sets this signal high to tell the PLC that it must execute the auxiliary S
function which is indicated in the register "SBCD" (R557).
TSTROBE (M5534)
The CNC sets this signal high to tell the PLC that it must execute the auxiliary S
function which is indicated in the register "TBCD" (R558).
In this register the CNC will tell the PLC the position of the magazine where the
selected tool is.
If the g.m.p. RANDOMTC (P25) has been set so it is not a random magazine, the
magazine pocket position coincides with the tool number.
T2STROBE (M5535)
This register is used when a special tool change has been made, family code or 200
or with machining centers with a non-random tool magazine (g.m.p. RANDOMTC
(P25).
The CNC sets this signal high to tell the PLC that it must execute a second auxiliary
T function indicated in the register "T2BCD" (R559).
In this register the CNC indicates to the PLC the position of the magazine in which
the tool which was on the spindle must be placed.
ADVINPOS (M5537)
It is used on punch presses that have an eccentric cam as a punching system.
The CNC sets this signal high a specific time period before the axes reach position.
This time is set by g.m.p. ANTIME (P69).
This reduces idle time, thus increasing the number of punches per minute.
INTEREND (M5538) | INPOS (M5539)
The CNC uses these two signals to let the PLC "know" that the theoretical
interpolation between axes has been completed (INTEREND) and that all the axes
involved in the interpolation are in position (INPOS).
The CNC sets the "INTEREND" signal high when the interpolation is ended being
low while in execution.
When the CNC verifies that all the axes have been within the dead band (in position
zone INPOSW P19) for a time period indicated in the a.m.p INPOTIME (P20), it will
consider that all of them are in position and it will inform the PLC by setting the logic
output "INPOS" high.
CNC 8035
The logic output "INTEREND" can be used when it is required to activate mechanisms
before the axes reach their position.
DM00 (M5547)
The CNC sets this signal high to tell the PLC that the auxiliary function M00 (program
stop) is programmed in the block being executed.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
DM01 (M5546)
The CNC sets this signal high to tell the PLC that the auxiliary function M01
(conditional stop) is programmed in the block being executed.
294
Installation manual
DM02 (M5545)
The CNC sets this signal high to tell the PLC that the auxiliary function M02 (program
end) is programmed in the block being executed.
DM03 (M5544)
The CNC sets this signal high to tell the PLC that the spindle is turning clockwise or
that the auxiliary function M03 is programmed in the block being executed.
DM05 (M5542)
The CNC sets this signal high to tell the PLC that the spindle is stopped or that the
auxiliary function M05 is programmed in the block being executed.
DM06 (M5541)
The CNC sets this signal high to tell the PLC that the spindle is stopped or that the
auxiliary function M06 is programmed in the block being executed (tool change).
DM08 (M5540)
The CNC sets this signal high to tell the PLC that the spindle is turning counterclockwise or that the auxiliary function M04 is programmed in the block being
executed.
10.
DM04 (M5543)
The CNC sets this signal high to tell the PLC that the coolant output is activated or
that the auxiliary function M08 is programmed in the block being executed.
DM09 (M5555)
The CNC sets this signal high to tell the PLC that the coolant output is deactivated
or that the auxiliary function M09 is programmed in the block being executed.
DM19 (M5554)
The CNC sets this signal high to tell the PLC that it is working with spindle orientation
or that the auxiliary function M19 is programmed in the block being executed.
DM30 (M5553)
The CNC sets this signal high to tell the PLC that the auxiliary function M30 (program
end) is programmed in the block being executed.
DM41 (M5552)
The CNC sets this signal high to tell the PLC that the first spindle gear is selected
or that the auxiliary function M41 is programmed in the block being executed.
DM42 (M5551)
The CNC sets this signal high to tell the PLC that the second spindle gear is selected
or that the auxiliary function M42 is programmed in the block being executed.
DM43 (M5550)
The CNC sets this signal high to tell the PLC that the third spindle gear is selected
or that the auxiliary function M43 is programmed in the block being executed.
CNC 8035
DM44 (M5549)
The CNC sets this signal high to tell the PLC that the fourth spindle gear is selected
or that the auxiliary function M44 is programmed in the block being executed.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
295
Installation manual
RETRACT (M5567)
In drilling, tapping and rigid tapping cycles of the mill model CNC, it is now possible
to withdraw the tool to the starting plane and, once there, stop the spindle.
Once the retraction has been completed, the user will have the choice to finish the
hole, go to the next one or go into tool inspection.
General logic output RETRACT (M5567) is activated at the end of the stop and
canceled when the retraction in drilling or mill type threading has ended.
10.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
296
In the retraction of axes in the lathe model, general logic output RETRACT (M5567)
is activated when pressing [STOP] and the CNC begins the retraction (withdrawal).
This mark stays active until the retraction distances set in G233 are reached.
Installation manual
10.7
The use of mnemonics with the axis name is available from versions V9.0x
and V10.0x on. If PLC programs older than this version have defined these
marks as symbols, when compiling the program will issue an error on this line.
Example: DEF ENABLEX M333
Mnemonics using numbers 1 through 3.
These signals are numbered as the logic order of the axes; it is not related to the
values assigned to g.m.p. AXIS1 (P0) through AXIS8 (P7).
10.
When monitoring the PLC program, it shows the edited marks, either with a letter or
with a number. However, the resource windows created from monitoring will replace
the marks with axis names by the marks with axis numbers. For example:
For example, if the CNC controls the X, Z and Y axes, the order will be: X, Y, Z and,
therefore:
ENABLE1, DIR1, REFPOIN1, INPOS1
ENABLE1 (M5600)
DIR3 (M5701)
The CNC uses these signals to tell the PLC in which direction the axes move.
If the signal is high this indicates that the corresponding axis moves in a negative
direction.
If the signal is low this indicates that the corresponding axis moves in a positive
direction.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
297
Installation manual
REFPOIN1 (M5602)
REFPOIN2 (M5652)
REFPOIN3 (M5702)
The CNC sets these signals high to tell the PLC that the machine reference search
has been made already. The CNC forces a home search on an axis by setting its mark
low.
The marks are set low in the following instances:
On CNC power-up.
After executing the sequence [SHIFT] [RESET].
10.
When the feedback is direct through the axes board and a feedback alarm occurs.
When modifying certain machine parameters; for example, number of axes.
In all these cases, a home search must be carried out so the signal is set back high.
DRSTAF1 (M5603) | DRSTAS1 (M5604)
DRSTAF2 (M5653) | DRSTAS2 (M5654)
DRSTAF3 (M5703) | DRSTAS3 (M5704)
The CNC uses these signals when communicating with the drive via Sercos or via
Can and indicate the status of the drive.
DRSTAF*
DRSTAS*
When an internal error occurs at the drive, the DRSTAF* and DRSTAS* signals are
set low (logic level low).
MAXDIFF1 (M5605)
MAXDIFF2 (M5655)
MAXDIFF3 (M5705)
These marks are activated if the position difference between master and slave is not
compensated because the coordinate difference is greater than the value of a.m.p.
MAXDIFF (P97). This can happen after homing the two axes of a Gantry pair.
This way, the PLC can issue a warning that the position difference between the master
and the slave has not been compensated.
ANT1 (M5606)
ANT2 (M5656)
ANT3 (M5706)
CNC 8035
INPOS1 (M5607)
INPOS2 (M5657)
INPOS3 (M5707)
The CNC sets these signals high to tell the PLC that the corresponding axis is in
position.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
298
There is also the general logic output INPOS in which the CNC indicates to the PLC
that all the axes have reached their position.
Installation manual
10.8
ENABLES (M5950)
Main spindle
This signal is used when working with the spindle in closed loop (M19). The CNC only
considers the signals for the currently selected spindle.
The CNC sets this signal high to tell the PLC to allow the spindle to move.
This signal is used when working with the spindle in closed loop (M19). The CNC only
considers the signals for the currently selected spindle.
The CNC uses this signal to tell the PLC in which direction the spindle is moving.
If the signal is at a high logic level, this indicates that the spindle moves in a negative
direction.
If the signal is low, this indicates that the spindle moves in a positive direction.
REFPOINS (M5952)
Main spindle
This signal is used when working with the spindle in closed loop (M19). The CNC only
considers the signals for the currently selected spindle.
The CNC sets this signal high to tell the PLC that the spindle reference point search
has already been made.
10.
Main spindle
DIRS (M5951)
This is set low when the CNC is powered up, after executing the [SHIFT] [RESET]
sequence or a feedback alarm occurs due to loss of count, and every time a change
is made from closed loop (M19) to open loop.
DRSTAFS (M5953) | DRSTASS (M5954)
Main spindle
The CNC uses these signals when communicating with the drive via Sercos or via
Can and indicate the status of the drive.
DRSTAF*
DRSTAS*
When an internal error occurs at the drive, the DRSTAF* and DRSTAS* signals are
set low (logic level low).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
299
Installation manual
REVOK (M5956)
Main spindle
The CNC only considers the signals for the currently selected spindle.
When working with M03 and M04 the CNC sets this signal high to tell the PLC that
the real spindle revolutions correspond to those programmed.
The CNC will activate this signal every time the real revolutions are within the range
defined by s.m.p. "LOSPDLIM" and "UPSPDLIM".
When working with the spindle in closed loop (M19), the CNC sets this signal high
if the spindle is stopped.
10.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
300
INPOSS (M5957)
Main spindle
This signal is used when working with the spindle in closed loop (M19). The CNC only
considers the signals for the currently selected spindle.
The CNC sets this signal high to tell the PLC that the spindle is in position.
Installation manual
Register
Bit
keystroke code
KEYBD1
KEYBD1
KEYBD1
0
1
2
F
L
Q
KEYBD1
KEYBD1
KEYBD1
3
4
5
KEYBD1
KEYBD1
KEYBD1
Register
Bit
keystroke code
KEYBD2
KEYBD2
KEYBD2
0
1
2
B
H
N
W
[SHIFT]
9
KEYBD2
KEYBD2
KEYBD2
3
4
5
S
Y
[RESET]
6
7
8
6
3
E
KEYBD2
KEYBD2
KEYBD2
6
7
8
[ESC]
[MAIN MENU]
A
KEYBD1
KEYBD1
KEYBD1
9
10
11
K
P
V
KEYBD2
KEYBD2
KEYBD2
9
10
11
G
M
R
KEYBD1
KEYBD1
KEYBD1
12
13
14
[CAPS]
8
5
KEYBD2
KEYBD2
KEYBD2
12
13
14
X
[ENTER]
[HELP]
KEYBD1
KEYBD1
KEYBD1
15
16
17
2
D
J
KEYBD2
KEYBD2
KEYBD2
15
16
17
.
0
KEYBD1
KEYBD1
KEYBD1
18
19
20
O
U
[SP]
KEYBD2
KEYBD2
KEYBD2
18
19
20
KEYBD1
KEYBD1
KEYBD1
21
22
23
7
4
1
KEYBD2
KEYBD2
KEYBD2
21
22
23
KEYBD1
KEYBD1
KEYBD1
24
25
26
C
I
KEYBD2
KEYBD2
KEYBD2
24
25
26
[PG DW]
[PG UP]
[]
KEYBD1
KEYBD1
KEYBD1
27
28
29
T
Z
=
KEYBD2
KEYBD2
KEYBD2
27
28
29
[]
[]
[]
KEYBD1
KEYBD1
30
31
/
*
KEYBD2
KEYBD2
30
31
[CL]
[INS]
10.
Logic outputs of key status
KEYBD1 (R560)
10.9
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
301
Installation manual
The values returned by register KEYBD (R562) depend on the CNC model available
(M or T model).
Register
10.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
302
Bit
keystroke code
(M model)
Register
Bit
keystroke code
(T model)
KEYBD3
KEYBD3
KEYBD3
0
1
2
F1
F2
F3
KEYBD3
KEYBD3
KEYBD3
0
1
2
F1
F2
F3
KEYBD3
KEYBD3
KEYBD3
3
4
5
F4
F5
F6
KEYBD3
KEYBD3
KEYBD3
3
4
5
F4
F5
F6
KEYBD3
KEYBD3
KEYBD3
6
7
8
F7
6
7
8
F7
X+
KEYBD3
KEYBD3
KEYBD3
KEYBD3
KEYBD3
KEYBD3
9
10
11
Y+
Z+
4+
KEYBD3
KEYBD3
KEYBD3
9
10
11
X+
KEYBD3
KEYBD3
KEYBD3
12
13
14
5+
Spdl override +
Spdl CW
KEYBD3
KEYBD3
KEYBD3
12
13
14
4th axis +
Spdl override +
Spdl CW
KEYBD3
KEYBD3
KEYBD3
15
16
17
START
KEYBD3
KEYBD3
KEYBD3
15
16
17
START
KEYBD3
KEYBD3
KEYBD3
18
19
20
Rapid feedrate
KEYBD3
KEYBD3
KEYBD3
18
19
20
Rapid feedrate
Z+
KEYBD3
KEYBD3
KEYBD3
21
22
23
Spdl stop
KEYBD3
KEYBD3
KEYBD3
21
22
23
KEYBD3
KEYBD3
KEYBD3
24
25
26
XYZ-
KEYBD3
KEYBD3
KEYBD3
24
25
26
KEYBD3
KEYBD3
KEYBD3
27
28
29
45Spdl override -
KEYBD3
KEYBD3
KEYBD3
27
28
29
KEYBD3
KEYBD3
30
31
Spdl CCW
STOP
KEYBD3
KEYBD3
30
31
Spdl CCW
STOP
3rd axis +
Z-
Spdl stop
3rd axis X-
Installation manual
Register KEYDIS4 refers to the positions of the feedrate override switch (feedrate %
selector).
Register
Bit
Key pressed
Register
Bit
Key pressed
KEYBD4
KEYBD4
KEYBD4
0
1
2
Handwheel x100
Handwheel x10
Handwheel x1
KEYBD4
KEYBD4
KEYBD4
16
17
18
KEYBD4
KEYBD4
KEYBD4
3
4
5
Jog 10000
Jog 1000
Jog 100
KEYBD4
KEYBD4
KEYBD4
19
20
21
KEYBD4
KEYBD4
KEYBD4
6
7
8
Jog 10
Jog 1
KEYBD4
KEYBD4
KEYBD4
22
23
24
KEYBD4
KEYBD4
KEYBD4
9
10
11
KEYBD4
KEYBD4
KEYBD4
25
26
27
KEYBD4
KEYBD4
12
13
KEYBD4
KEYBD4
28
29
KEYBD4
KEYBD4
14
15
KEYBD4
KEYBD4
30
31
Feedrate override 4%
Feedrate override 10%
10.
Feedrate override 2%
Feedrate override 0%
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
303
Installation manual
10.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
304
11
The CNC has a number of internal variables that may be accessed from the user
program, from the PLC program or via DNC. Depending on how they are used, these
variables may be read-only or read-write.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
305
Installation manual
11.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
306
ORGY
ORGZ
ORGU
ORGV
ORGW
ORGA
ORGB
ORGC
Mnemonics ending in n indicate that the variables are grouped in tables. To access
an element of any of these tables, indicate the field of the desired table using the
relevant mnemonic followed by the desired element.
TORn ->
TOR1
TOR3
TOR11
TOR R1
TOR R23
Installation manual
11.
11.1
if it is a normal tool.
200 to 255
if it is a special tool.
if it is a normal tool.
200 to 255
if it is a special tool.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
307
Installation manual
Tool number.
-1
11.
1255
Position number.
-1
-2
Read-only variables
Variables TOOL, NXTOOL, TOD and NXTOD can only be written from the PLC while
no block or part-program is being executed or simulated.
TOOL
TOD
NXTOOL
Returns the next tool number, which is selected but is awaiting the execution of M06
to be active.
NXTOD
Returns the number of the tool offset corresponding to the next tool, which is selected
but is awaiting the execution of M06 to be active.
TMZPn
Returns the position occupied in the tool magazine by the indicated tool (n).
Read-and-write variables
TLFDn
This variable allows the tool offset number of the indicated tool (n) to be read or
modified in the tool table.
TLFFn
This variable allows the family code of the indicated tool (n) to be read or modified
in the tool table.
TLFNn
This variable allows the value assigned as the nominal life of the indicated tool (n)
to be read or modified in the tool table.
TLFRn
This variable allows the value corresponding to the real life of the indicated tool (n)
to be read or modified in the tool table.
TMZTn
This variable allows the contents of the indicated position (n) to be read or modified
in the tool magazine table.
HTOR
The HTOR variable indicates the tool radius being used by the CNC to do the
calculations.
CNC 8035
Being a variable that can be read and written by the CNC and read-only from the PLC
and DNC, its value may be different from the one assigned in the table (TOR).
(SOFT M: V15.1X)
(SOFT T: V16.1X)
308
Installation manual
Application example
To machine a profile with a residual stock of 0.5 mm running 0.1mm-passes with a
tool whose radius is 10 mm.
Assign to the tool radius the value of:
10.5 mm in the table and execute the profile.
10,4 mm in the table and execute the profile.
10,3 mm in the table and execute the profile.
This variable allows the value assigned to the radius of the indicated tool offset (n)
in the tool offset table to be read or modified.
11.
CNCRD(TOR3,R100,M102);
Assigns the R value of tool offset 3 to register R100.
CNCWR(R101,TOR3,M101)
Assigns the value indicated in R101 to the radius of tool offset 3.
TOLn
This variable allows the value assigned to the length of the indicated tool offset (n)
to be read or modified in the tool offset table.
TOIn
This variable allows the value assigned to the wear in radius (I) of the indicated tool
offset (n) to be read or modified in the tool offset table.
TOKn
This variable allows the value assigned to the wear in length (K) of the indicated tool
offset (n) to be read or modified in the tool offset table.
This variable allows reading or modifying the length value along the X axis assigned
to the indicated tool offset (n).
CNCRD (TOX3, R100, M102)
Loads R100 with the length value along X of the tool offset 3.
CNCWR (R101, TOX3, M101)
Assigns the value indicated in R101 to the length along X of tool offset 3.
TOZn
This variable allows reading or modifying the length value along the Z axis assigned
to the indicated tool offset (n).
TOFn
This variable allows reading or modifying the location code (F) of the indicated tool
offset (n).
TORn
This variable allows reading or modifying the radius R value of the indicated tool offset
(n).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
309
Installation manual
11.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
310
TOIn
This variable allows reading or modifying the length wear value (I) along the X axis
of the indicated tool offset (n).
TOKn
This variable allows reading or modifying the length wear value (K) along the Z axis
of the indicated tool offset (n).
NOSEAn:
This variable allows reading or modifying the cutter angle assigned to the indicated
tool (n) in the tool table.
NOSEWn
This variable allows reading or modifying the cutter width assigned to the indicated
tool (n) in the tool table.
CUTAn
This variable allows reading or modifying the cutting angle assigned to the indicated
tool (n) in the tool table.
Installation manual
11.2
Read-only variables
ORG(X-C)
Returns the value of the active zero offset in the selected axis. The value of the
additive offset indicated by the PLC or by the additive handwheel is not included in
this value.
ADIOF(X-C)
It returns the value of the zero offset generated by the additive handwheel in the
selected axis.
11.
Read-and-write variables
ORG(X-C)n
This variable allows the value of the selected axis to be read or modified in the table
corresponding to the indicated zero offset (n).
CNCRD(ORGX 55,R100,M102)
Loads register R100 with the X value of G55 in the zero offset table.
CNCWR (R101, TOX3, M101)
Assigns the value indicated in R101 to the Y value of G54 in the zero offset table.
PLCOF(X-C)
This variable allows the value of the selected axis to be read or modified in the table
of additive offsets indicated by the PLC.
Accessing any of the PLCOF(X-C) variables interrupts block preparation and the
CNC waits for that command to be executed before resuming block preparation.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
311
Installation manual
11.3
11.
Type of update
//
Read-only variables
MPGn
MP(X-C)n
Returns the value assigned to the machine parameter (n) of the indicated axis (X-C).
CNCRD (MPY 1,R100,M102)
Assigns the value of Y axis machine parameter DFORMAT (P1) to register
R100.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
312
MPSn
Returns the value assigned to the indicated machine parameter (n) of the main
spindle.
MPLCn
Returns the value assigned to the indicated machine parameter (n) of the PLC.
Installation manual
11.4
Read-and-write variables
FZONE
FZLO(X-C)
FZUP(X-C)
= MOV 0 R1
= MOV 1000000 R1
= MOV 1 R1
SZONE
SZLO(X-C)
SZUP(X-C)
TZONE
TZLO(X-C)
TZUP(X-C)
FOZONE
FOZLO(X-C)
FOZUP(X-C)
FIZONE
FIZLO(X-C)
FIZUP(X-C)
11.
0 = Disabled.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
313
Installation manual
11.5
FREAL
11.
ACCESS TO THE INTERNAL CNC VARIABLES
It returns the CNC's real feedrate. It takes into account the feedrate override and the
acc/dec of the machine.
On Laser cutting machines, it is recommended to use this variable to make the power
of the Laser proportional to the actual feedrate at all times.
FREAL(X-C)
FTEO(X-C)
It returns the feedrate selected at the CNC by function G94. In mm/minute or inches/
minute.
This feedrate may be indicated by program, by PLC or by DNC; the CNC selects one
of them, the one indicated by DNC has the highest priority and the one indicated by
program has the lowest priority.
DNCF
PRGF
It returns the feedrate selected at the CNC by function G95. In mm/turn or inches/turn.
This feedrate may be indicated by program, by PLC or by DNC; the CNC selects one
of them, the one indicated by DNC has the highest priority and the one indicated by
program has the lowest priority.
CNC 8035
DNCFPR
PRGFPR
(SOFT M: V15.1X)
(SOFT T: V16.1X)
314
Installation manual
It returns the feedrate override % currently selected by the DNC. If it has a value of
0 it means that it is not selected.
CNCFRO
PRGFRO
This variable may be used to read or modify the feedrate override percentage
currently selected by program. It is given in integer values between 0 and
"MAXFOVR" (maximum 255). If it has a value of 0 it means that it is not selected.
It returns the feedrate override % currently selected by the PLC. If it has a value of
0 it means that it is not selected.
PLCCFR
It returns the feedrate percentage currently selected by the PLC's execution channel.
It is only set from the PLC, using an integer between 0 and 255.
11.
Variables associated with feedrates
It returns the feedrate override (%) currently selected at the CNC. It is given in integer
values between 0 and "MAXFOVR" (maximum 255).
FRO
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
315
Installation manual
11.6
11.
Read-only variables
Accessing any of the variables POS(X-C), TPOS(X-C), APOS(X-C), ATPOS(X-C),
DPOS(X-C) or FLWE(X-C) interrupts block preparation and the CNC waits for that
command to be executed before resuming block preparation.
POS(X-C)
It returns the real tool base position value referred to machine reference zero (home).
On limit-less rotary axes, this variable takes into account the value of the active zero
offset. The values of the variable are between the active zero offset and 360 (ORG*
360).
If ORG* = 20
If ORG* = -60
At the lathe model CNC, the coordinates of each axis are given as follows:
When read from the CNC, they are given in radius or diameter, depending on the
active units system. Check the DIAM variable to know the active units system.
When read from the PLC, they are always given in radius.
TPOS(X-C)
It returns the theoretical position value (real coordinate + following error) of the tool
base referred to machine reference zero (home).
On limit-less rotary axes, this variable takes into account the value of the active zero
offset. The values of the variable are between the active zero offset and 360 (ORG*
360).
If ORG* = 20
If ORG* = -60
At the lathe model CNC, the coordinates of each axis are given as follows:
When read from the CNC, they are given in radius or diameter, depending on the
active units system. Check the DIAM variable to know the active units system.
When read from the PLC, they are always given in radius.
APOS(X-C)
It returns the real tool base position value, referred to part zero, of the selected axis.
At the lathe model CNC, the coordinates of each axis are given as follows:
When read from the CNC, they are given in radius or diameter, depending on the
active units system. Check the DIAM variable to know the active units system.
When read from the PLC, they are always given in radius.
CNC 8035
ATPOS(X-C)
It returns the theoretical position value (real coordinate + following error) of the tool
base referred to part zero.
At the lathe model CNC, the coordinates of each axis are given as follows:
(SOFT M: V15.1X)
(SOFT T: V16.1X)
When read from the CNC, they are given in radius or diameter, depending on the
active units system. Check the DIAM variable to know the active units system.
When read from the PLC, they are always given in radius.
316
Installation manual
DPOS(X-C)
The CNC updates this variable when probing, functions G75 and G76.
When the digital probe communicates with the CNC via infrared beams, there could
be some delay (milliseconds) from the time the probe touches the part to the instant
the CNC receives the probe signal.
TPOS(X-C)
Actual position of the probe when the CNC receives the probe
signal.
DPOS(X-C)
Theoretical position of the probe when the probe touched the part.
FLWE(X-C)
DPLY(X-C)
It returns the position value (coordinate) shown on the screen for the selected axis.
Read-and-write variables
DIST(X-C)
Although the probe keeps moving until the CNC receives the probing signal, the CNC
takes into account the value assigned to general machine parameter PRODEL and
provides the following information in the variables TPOS(X-C) and DPOS(X-C).
11.
These variables may be used to read or modify the distance traveled by the selected
axis. This value is accumulative and is very useful when it is required to perform an
operation which depends on the distance traveled by the axes, their lubrication for
example.
Accessing any of the DIST(X-C) variables interrupts block preparation and the CNC
waits for that command to be executed before resuming block preparation.
LIMPL(X-C)
LIMMI(X-C)
With these variables, it is possible to set a second travel limit for each axis: LIMPL
for the upper limit and LIMMI for the lower one.
The PLC activates and deactivates these second limits through general logic input
ACTLIM2 (M5052).
The second travel limit will be taken into account if the first one has been set using
axis machine parameters LIMIT+ (P5) and LIMIT- (P6).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
317
Installation manual
11.7
11.
HANPF
HANPS
HANPT
HANPFO
They return the pulses of the first (HANPF), second (HANPS), third (HANPT) or
fourth (HANPFO) handwheel received since the CNC was turned on.
HANDSE
For handwheels with axis selector button, it indicates whether that button has been
pressed or not. A value of 0 means that it has not been pressed.
Read-and-write variables
HANFCT
c b a c b a c b a c b a c b a c b a c b a c b a c b a lsb
Once the switch has been turned to one of the handwheel positions, the CNC checks
this variable and, depending on the values assigned to each axis bit (c, b, a) it applies
the multiplying factor selected for each one of them.
c
b a
x1 factor
x10 factor
x100 factor
If there are more than one bit set to "1" for an axis, the least significant bit will be
considered. Thus:
c
b a
x1 factor
x10 factor
i
HBEVAR
CNC 8035
c b a c b a c b a c b a c b a c b a c b a c b a c b a lsb
(*) Indicates whether the HBE handwheel pulses will be taken into account or not in
jog mode.
0 = They are ignored.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
318
Installation manual
(^) When the machine has a general handwheel and individual handwheels
(associated with an axis), it indicates which handwheel has priority when both are
turned at the same time.
0 = The individual handwheel has priority. The relevant axis ignores the pulses
from the general handwheel, the rest of the axes dont.
1 = The general handwheel has priority. It ignores the pulses from the individual
handwheel.
(a, b, c) Indicate the axis to be moved and the selected multiplying factor.
x1 factor
x10 factor
x100 factor
b a
x1 factor
x10 factor
The HBE handwheel has priority. That is, regardless of the mode selected at the CNC
switch (continuous or incremental JOG, handwheel), HBEVAR is set to other than "0",
the CNC goes into handwheel mode.
11.
Variables associated with electronic handwheels
b a
ACCESS TO THE INTERNAL CNC VARIABLES
It shows the selected axis in reverse video and the multiplying factor selected by the
PLC. When the HBEVAR variable is set to "0", it shows the mode selected by the
switch again.
See "5.12 Fagor handwheels: HBA, HBE and LGB" on page 202.
MASLAN
MASCFI
MASCSE
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
319
Installation manual
11.8
11.
ASIN(X-C)
"A" signal of the CNC's sinusoidal feedback for the X-C axis.
BSIN(X-C)
"B" signal of the CNC's sinusoidal feedback for the X-C axis.
ASINS
BSINS
11.9
SREAL
It returns the actual (real) turning speed of the main spindle. Its value is given in
0.0001 rpm units.
FTEOS
It returns the turning speed of the main spindle currently selected at the CNC. Its value
is given in 0.0001 rpm units.
This turning speed may be indicated by program, by PLC or by DNC; the CNC selects
one of them, the one indicated by DNC has the highest priority and the one indicated
by program has the lowest priority.
DNCS
It returns the spindle speed limit selected via DNC. If it has a value of 0 it means that
it is not selected.
PLCS
It returns the spindle speed limit selected via PLC. If it has a value of 0 it means that
it is not selected.
PRGS
It returns the spindle speed limit selected by programa. If it has a value of 0 it means
that it is not selected.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
320
It returns the constant surface speed selected via DNC. Its value is given in m/min
or ft/min and it is 0 it means that it is not currently selected.
Installation manual
PLCCSS
It returns the constant surface speed selected by PLC. Its value is given in m/min or
ft/min.
PRGCSS
It returns the constant surface speed selected by program. Its value is given in m/min
or ft/min.
It returns the turning speed override (%) of the main spindle currently selected at the
CNC. It is given in integer values between 0 and "MAXFOVR" (maximum 255).
This turning speed percentage of the main spindle may be indicated by program, by
PLC, by DNC or by the front panel; the CNC selects one of them and the priority (from
the highest to the lowest) is: by program, by DNC, by PLC and from the front panel.
PRGSSO
This variable may be used to read or modify the speed override percentage of the
main spindle currently selected by program. It is given in integer values between 0
and "MAXFOVR" (maximum 255). If it has a value of 0 it means that it is not selected.
DNCSSO
It returns the turning speed override % of the main spindle currently selected via DNC.
If it has a value of 0 it means that it is not selected.
PLCSSO
It returns the turning speed override % of the main spindle currently selected by PLC.
If it has a value of 0 it means that it is not selected.
CNCSSO
It returns the turning speed override % of the main spindle currently selected from
the front panel.
SSO
11.
It returns the value set in rpm at the CNC for the turning speed limit of the main spindle.
This limit may be indicated by program, by PLC or by DNC; the CNC selects one of
them, the one indicated by DNC has the highest priority and the one indicated by
program has the lowest priority.
DNCSL
It returns the speed limit of the main spindle in rpm currently selected via DNC. If it
has a value of 0 it means that it is not selected.
PLCSL
It returns the speed limit of the main spindle in rpm currently selected by PLC. If it
has a value of 0 it means that it is not selected.
PRGSL
It returns the speed limit of the main spindle in rpm currently selected by program.
MDISL
Maximum machining spindle speed. This variable is also updated (refreshed) when
programming function G92 via MDI.
It returns the real position of the main spindle. Its value is given in 0.0001 degree units
within 999999999.
RPOSS
It returns the real position of the main spindle in 360 module. Its value is given in
0.0001 degree units within 0 and 360.
TPOSS
It returns the theoretical position of the main spindle (real position + lag). Its value
is given in 0.0001 degree units within 999999999.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
321
Installation manual
RTPOSS
It returns the theoretical position of the main spindle (real position + lag) in 360
module. Its value is given in 0.0001 degree units within 0 and 360.
PRGSP
Position programmed in M19 via program for the main spindle. This variable may be
read from the CNC, from the PLC and from DNC.
11.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
322
FLWES
Following error (lag) of the main spindle. Its value is given in 0.0001 degree units
within 999999999.
Installation manual
Reading these parameters using functions GUP and LUP gives an integer number
ignoring its decimals. Likewise, if the parameter value is greater than 2147483647,
the obtained value will be the maximum allowed, i.e. either 2147483647 or 2147483647.
Read-and-write variables
GUP n
It may be used to read or modify the indicated (n) global parameter (P100-P299), user
parameter (P1000-P1255) (n) or OEM parameter (P2000-P2255) (n).
CNCRD (GUP 155, R100, M102)
Loads register R100 with the value of global parameter P155.
11.
Variables associated with local and global parameters
It permits reading or modifying the indicated local parameter (P0-P25) (b) of the
indicated nesting level (a).
CNCRD (LUP 3 15, R100, M102)
It assigns the value of local parameter P15 of nesting level 3 to register R100.
CNCWR (R101, GUP 2 15, M102)
It assigns the value of local parameter P15 of nesting level 2 to register R101.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
323
Installation manual
11.11
OPMODE
11.
10 = Automatic execution.
11 = Single block execution.
12 = MDI in EXECUTION.
13 = Tool inspection.
14 = Repositioning.
15 = Block search executing G.
16 = Block search executing G, M, S, T.
20 = Theoretical path simulation.
21 = G function simulation.
22 = G, M, S and T function simulation.
23 = Simulation with movement in the main plane.
24 = Simulation with rapid movement.
25 = Rapid simulation with S=0.
30 = Normal editing.
31 = User editing.
32 = TEACH-IN editing.
33 = Interactive editor.
40 = Movement in continuous JOG.
41 = Movement in incremental JOG.
42 = Movement with electronic handwheel.
43 = HOME search in JOG.
44 = Position preset in JOG.
45 = Tool calibration.
46 = MDI in JOG.
47 = User JOG operation.
50 = Zero offset table.
51 = Tool offset table.
52 = Tool table.
53 = Tool magazine table.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
60 = Utilities.
70 = DNC status.
71 = CNC status.
324
Installation manual
90 = Customizing.
100 = General machine parameter table.
101 = Axis machine parameter tables.
102 = Spindle machine parameter table.
103 = Serial line related machine parameter tables.
104 = PLC machine parameter table.
105 = M function table.
106 = Leadscrew error compensation tables and cross compensation tables.
110 = Diagnosis: configuration.
111 = Diagnosis: hardware test.
88 = PLC statistics.
11.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
325
Installation manual
Example: There is a manual tool changer. Tool T1 is currently selected and the
operator requests tool T5.
11.
The subroutine associated with the tools may contain the following instructions:
Other variables
Indicates the tool number being managed. This variable can only be used within the
tool change subroutine.
(P103 = NBTOOL)
(MSG "SELECT T?P103 AND PRESS CYCLE START")
Instruction (P103 = NBTOOL) assigns the number of the tool currently being
managed to parameter P103. Therefore, P103=5.
The message displayed by the CNC will be ""SELECT T5 AND PRESS CYCLE
START".
Note: The NBTOOL variable is refreshed in all simulations including those where
T functions are not executed. In other words, it may not correspond with the
active tool (TOOL).
PRGN
Returns the program number being executed. Should none be selected, a value of
-1 is returned.
BLKN
GGSA
It returns the status of functions G00 through G24. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G24
G23
G22
G21
G20
...
G04
G03
G02
G01
G00
It returns the status of functions G25 through G49. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G49
GGSC
GGSD
326
G46
G45
...
G29
G28
G27
G26
G25
G73
G72
G71
G70
...
G54
G53
G52
G51
G50
It returns the status of functions G75 through G99. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G99
(SOFT M: V15.1X)
(SOFT T: V16.1X)
G47
It returns the status of functions G50 through G74. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G74
CNC 8035
G48
G98
G97
G96
G95
...
G79
G78
G77
G76
G75
Installation manual
It returns the status of functions G100 through G124. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
GGSF
...
...
...
It returns the status of functions G275 through G299. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G299 G298 G297 G296 G295
GGSM
It returns the status of functions G250 through G274. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G274 G273 G272 G271 G270
GGSL
...
It returns the status of functions G225 through G249. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G249 G248 G247 G246 G245
GGSK
It returns the status of functions G200 through G224. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G224 G223 G222 G221 G220
GGSJ
...
11.
It returns the status of functions G175 through G199. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G199 G198 G197 G196 G195
GGSI
...
It returns the status of functions G150 through G174. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G174 G173 G172 G171 G170
GGSH
It returns the status of functions G125 through G149. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G149 G148 G147 G146 G145
GGSG
...
Other variables
GGSE
...
It returns the status of functions G300 through G320. The status of each one of the
functions will be given in the 25 least significant bits and it will be indicated by a 1
when active and a 0 when not active or when not available in the current software
version.
G320 G319 G318 G317 G316
...
CNC 8035
327
Installation manual
PLANE
Returns data on the abscissa axis (bits 4 to 7) and the ordinate axis (bits 0 to 3) of
the active plane in 32 bits and in binary.
...
...
...
...
...
...
7654 3210
Abscissa axis
Ordinate axis
The axes are coded in 4 bits and indicate the axis number according to the
programming order.
11.
Example: If the CNC controls the X, Y and Z axes and the ZX plane (G18) is selected.
Other variables
lsb
(CNCRD PLANE, R100, M33) assigns the hexadecimal value $31 to register R100.
0000 0000 0000 0000 0000 0000 0011 0001 LSB
LONGAX
Abscissa axis
= 3 (0011)
=> Z axis
Ordinate axis
= 1 (0001)
=> X axis
This variable can only be used at the mill model. It returns the number according to
the programming order corresponding to the longitudinal axis. This will be the one
selected with the G15 function and by default the axis perpendicular to the active
plane, if this is XY, ZX or YZ.
Example:
If the CNC controls the X, Y and Z axes and the Z axis is selected.
(CNCRD LONGAX, R22, M34) assigns the value of 3 to register R22.
MIRROR
Returns in the least significant bits of the 32-bit group, the status of the mirror image
of each axis, 1 in the case of being active and 0 if not.
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Axis 3
Axis 2
Axis 1
LSB
The axis name corresponds to the number according to the programming order for
them.
Example: If the CNC controls the X, Y and Z axes, axis1=X, axis2 = Y, axis 3=Z.
SCALE
It returns the general scaling factor being applied. It will be multiplied by 10000.
SCALE(X-C)
Returns the specific scaling factor of the indicated axis (X-C). It will be multiplied by
10000.
ORGROT
This variable can only be used at the mill model. It returns the rotation angle of the
coordinate system currently selected with G73. Its value in 0.0001 degree units.
PRBST
CLOCK
Returns the time in seconds indicated by the system clock. Possible values
0..4294967295.
TIME
CNC 8035
(CNCRD TIME, R100, M102) ; assigns the time to register R100. For example, if the
time is 18h 22m 34s, R100 will show 182234.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
328
Installation manual
DATE
ANAIn
It returns the status in tenths of a volt (5 V range) of the indicated analog input (n)
and it is possible to select one of the 8 analog inputs (1 through 8).
CNCERR
Returns the Error code active at the CNC. If none, it returns "0".
DNCERR
Returns the Error code generated via DNC. If none, it returns "0".
DNCSTA
DNC transmission status, even when not having this option. There is on bit that will
be set to 1 when a transmission is in progress.
TIMEG
It shows the timing status of the timer programmed with G4 K in the CNC channel.
This variable, returns the time remaining to end the timing block in hundredths of a
second.
RIP
Linear theoretical feedrate resulting from the next loop (in mm/min).
11.
ACCESS TO THE INTERNAL CNC VARIABLES
FIRST
Other variables
CYTIME
The calculation of the resulting feedrate ignores the rotary axes, slave axes (gantry,
coupled and synchronized) as well as DRO axes.
Read-and-write variables
TIMER
This variable allows reading or modifying the time, in seconds, indicated by the clock
enabled by the PLC. Possible values 0..4294967295.
The CNC will set this value to 0 when changing the software version or when a
checksum error occurs.
PARTC
The CNC has a part counter whose count increases, in all modes except simulation,
every time M30 or M02 is executed and this variable allows its value to be read or
modified. This value will be between 0 and 4294967295
The CNC will set this value to 0 when changing the software version or when a
checksum error occurs.
KEY
It allows reading the last accepted keystroke or simulating the CNC keyboard
assigning the desired key code to it.
CNC 8035
329
Installation manual
To simulate the CNC keyboard from the PLC, follow these steps:
R111=1
R110=0
Other variables
11.
This variable allows reading or modifying the source of keystrokes, possible values
being:
0 = Keyboard.
1 = PLC.
2 = DNC.
The CNC only allows modification of this variable if it is set to "0" or "1".
Once the keystroke simulation is finished, it is advisable to re-enable the CNC
keyboard in order to be able to access the various operating modes of the CNC.
The CNC will assign a value of 0 to this variable on power-up and after pressing
[SHIFT]+[RESET].
ANAOn
This variable allows the required analog output (n) to be read or modified. The value
assigned will be expressed in 0.0001 volt units and within 10 V.
The analog outputs which are free among the eight (1 through 8) available at the CNC
may be modified, the corresponding error being displayed if an attempt is made to
write in one which is occupied.
SELPRO
When having two probe inputs, it allows selecting the active input.
On power-up, it assumes the value of 1 thus selecting the first probe input. To select
the second probe input, set it to a value of 2.
Accessing this variable from the CNC interrupts block preparation.
DIAM
In the lathe model, it changes the programming mode for X axis coordinates between
radius and diameter. When changing the value of this variable, the CNC assumes
the new way to program the following blocks.
When the variable is set to 1, the programmed coordinates are assumed in diameter;
when is set to 0, the programmed coordinates are assumed in radius.
This variable affects the display of the real value of the X axis in the coordinate system
of the part and the reading of variables PPOSX, TPOSX and POSX.
On power-up, after executing an M02 or M30 and after an emergency or a reset, the
variable is initialized according to the value of the DFORMAT parameter of the X axis.
If this parameter has a value equal to or greater than 4, the variable takes a value
of 1; otherwise, it takes the value of 0.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
330
Installation manual
PRBMOD
It indicates whether a probing error is to issued or not in the following cases, even
if general machine parameter PROBERR (P119) =YES.
When a G75 probing move finishes before the probe has touched part.
When a G76 probing move finishes but the probe is still touching the part.
The PRBMOD variable takes the following values.
Meaning
11.
The PRBMOD variable can be read and written from the CNC and the PLC an read
from the DNC.
RETREJ
It indicates that the retraction in drilling, or the mill type threading or lathe type
threading cycle has finished.
This variable is set to 1 at the end of the retraction and is set to 0 when pressing
[START].
In lathe, it indicates that the CNC has carried out a withdrawal from the thread. This
variable takes the value of 1 when the withdrawal distances are reached and stays
at 1 until pressing [START] or executing an M30 or a RESET. After executing one
of these functions, it will take the value of 0.
RIGIER
It indicates the offset in mm/inches between the projection of the following error of
the spindle onto the longitudinal axis and the following error of the longitudinal axis.
This variable may be displayed on the oscilloscope and on the screen for following
error.
Default value 0.
Other variables
Value
The screen for following error only displays the offset value during rigid tapping while
tapping is in progress. Once the tapping is completed, the data will disappear.
To make the taping smoother and easier on the tool, the value of the "RIGIER" variable
must be as close to zero as possible. That will require retouching the following errors
of the longitudinal axis and of the spindle. Since adjusting the spindle in closed loop
is usually harder than adjusting an axis, we recommend to first adjust the spindle as
best as possible and then the following error of the longitudinal axis so the displayed
value of the "RIGIER" variable is as small as possible.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
331
Installation manual
Other variables
11.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
332
12
The PLC offers actions CNCEX and CNCEX1 to send commands to the CNC.
CNCEX
CNCEX1
The CNCEX action is executed through the execution channel of the PLC.
The CNCEX1 action is executed via main channel of the CNC and as long as the JOG
keyboard is enabled. Its execution can be interrupted by pressing [CYCLE STOP] or
even canceled by pressing [RESET].
If a CNCEX1 action is received when the JOG keyboard is disabled, the CNC ignores
this command.
The programming format for these actions is:
CNCEX
CNCEX1
By means of these actions, the PLC sends to the CNC the command indicated in the
"ASCII Block" to be executed.
If the "ASCII Block" has been accepted by the CNC, the PLC will set the indicated
mark to "0" or to "1" if otherwise. The CNC only indicates that the "ASCII Block" has
been accepted. It is up to the operator to verify whether the command has actually
been executed by the CNC or not.
CNCEX (G1 U125 V300 F500, M200)
Sends to the CNC the command "G1 U125 V300 F500" so it executes a linear
interpolation of the U and V axes at a feedrate of F500 being the end point: U125
V300.
CNCEX1 (T5, M200)
Selects the tool T5 in the tool changer.
Example of how to use action CNCEX1 when using a tool changer controlled by the
PLC.
1. The T executed last at the CNC is T1. Therefore, it is the active T.
2. A new tool is selected, for example T5.
If carried out by means of action CNCEX1, the change is made by the CNC and
it assumes T5 as the new active tool.
If not carried out by means of action CNCEX1, the change is made by the PLC
and T1 remains as the active tool.
3. Then, an operation programmed with T1 is carried out.
CNC 8035
If the change was made with action CNCEX1, the CNC detects the tool change
(from T5 to T1) and carries out the change.
If the change was not made with action CNCEX1, the CNC does not detect the
tool change (T1), it does not make the change and carries out the operation with
the selected tool T5 with the problems this may cause.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
333
Installation manual
12.1
12.
When the CNC receives a command from the PLC and it is executing another
command received earlier, it will store the new one in an internal buffer. This new
command will be executed after finishing the one being executed.
The internal buffer can store up to 3 commands received from the PLC besides the
one currently in execution.
12.1.1 Considerations
Screen editor
The a.m.p. "AXISTYPE" of each axis of the machine must be set properly indicating
whether that axis is controlled by the CNC or from the PLC.
The axes of the PLC channel can only be governed from the PLC.
They may be edited and part-programs may be generated with axes of the PLC
channel. This permits generating part-programs or subroutines associated with the
PLC channel.
It issues an error message when trying to execute, from the CNC channel, a program
block that includes a PLC axis.
When all the axes of the machine are set to be governed from the CNC, with the
CNCEX action only blocks programmed in high level language may be executed
through the PLC execution channel.
Axis control
To govern axes managed by PLC, use the following marks associated with Feedhold and Transfer Inhibit:
/FEEDHOP
(M5004)
FHOUTP
(M5504)
/XFERINP
(M5005)
Auxiliary M functions
To control the M functions managed by the PLC, the following marks and registers
are generated:
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
334
Installation manual
Data transfer
If when executing at the PLC the action "CNCEX (ASCII Block, Mark)", the CNC
detects that the contents of the ASCII block being received is erroneous, it will set
the indicated Mark to "1". The PLC program will keep executing while it is up to the
programmer to check whether the function was executed correctly or not.
The CNC considers the contents of the ASCII block incorrect in the following
instances:
12.
Also, if the detected error stops the program execution, the CNC will stop the
execution of both channels and each one of them will act as follows:
CNC channel
Once the cause of the error has been removed, select again the execution or
simulation mode and continue with the program execution.
PLC channel
The PLC program does not stop and continues running.
The commands sent by means of action "CNCEX" will not be executed until removing
the cause of the error.
Once the cause of the error removed, the CNC will execute all the new commands
sent by the PLC.
To know from the PLC program whether any CNC error is active, this information can
be requested by accessing the internal CNC variable "CNCERR". This variable
indicates the error number being active at the CNC and if none is active, it returns
a 0 value.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
335
Installation manual
12.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
336
Preparatory functions
The preparatory functions which can be used in the PLC execution channel are the
following:
G00
Rapid travers
G01
Linear interpolation
G02
G03
G04
G04 K
Dwell
G05
Round corner
G06
G07
Square corner
G09
G16
G32
G50
G52
G53
G70
Programming in inches
G71
Metric programming
G74
Home search
G75
G76
G90
Absolute programming:
G91
Incremental programming
G92
Coordinate preset
G93
G94
G95
Installation manual
(M5004)
FHOUTP
(M5504)
/XFERINP
(M5005)
12.
AXES CONTROLLED FROM THE PLC
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
337
Installation manual
12.
The OVRCAN (M5020) mark sets the feedrate override of the main channel to 100%.
It does not affect the feedrate override of the PLC channel
Same as with the main channel, the following movements have a special treatment:
When searching home, the value of PLCCFR is ignored.
In G0, it considers the value of g.m.p. "RAPIDOVR (P17)"
If "P17=NO" always 100%, except if PLCCFR=0. In that case, the movement
stops.
If "P17=YES" considers PLCCFR, but it limits its value to 100%.
In G1, G2, G3 it is always applied except when operating at maximum feedrate
(F0).
In that case, it is limited to 100%. In G75, G76, it is only applied when g.m.p.
FOVRG75 (P126) = YES.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
338
Installation manual
12.
AXES CONTROLLED FROM THE PLC
The value of P100 may be different before, during and after the movement of the W
axis. If it is to be analyzed after moving the axis, function G4 must be programmed.
Auxiliary M functions
The M functions programmed in the PLC channel may be defined in the M function
table.
In the PLC channel, the following functions cannot be programmed: M0, M1, M2, M3,
M4, M5, M6, M19, M30, M41, M42, M43 and M44.
The following marks and registers are generated for managing the M functions:
MBCDP1 through MBCDP7 (R565 through R571)
similar to signals MBCD1 through MBCD7.
AUXENDP (M5006)
Similar to the AUXEND signal.
MSTROBEP (M5505)
Similar to the MSTROBE signal.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
339
Installation manual
12.
The CNC has the following PLC related variables to read or change the status of the
selected resource.
PLCI
PLCO
PLCM
PLCR
PLCT
PLCC
With these variables, the desired values will be assigned, in the part-program of the
CNC, to the PLC resources used in the communication. The setting of these values
will be carried out whenever an axis or axes are to be controlled from the PLC.
In turn, the PLC program must check the status of such resources and when detecting
that one of them is activated, it must execute the corresponding section of the PLC
program.
It is also possible to transfer data from the CNC to the PLC via global and local
arithmetic parameters. The PLC has the following variables related to those CNC
parameters:
GUP
LUP
Example:
The "U" axis is controlled by the PLC and we want to command it from any partprogram of the CNC in such way that we could select the type of move (G00 or G01),
the positioning coordinate and the feedrate for that move.
In order to command it from any part-program, it is convenient to have in a subroutine
the section of the CNC program allowing the data transfer with the PLC.
This example uses subroutine SUB1 and, for data exchange, it uses global CNC
parameters.
P100
P101
P102
To indicate to the PLC that it must execute this move, it activates the following PLC
resource:
M1000
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
340
Installation manual
This block calls subroutine SUB1 and it transfers the local parameters G, U and F
with the following information:
G
Type of move.
( PLCM1000 = PLCM1000 OR 1 )
Execution command for the PLC.
(RET)
The PLC program, in turn, will have to contain the following instructions:
M1000 = CNCEX (G90 GP100 UP101 FP102, M111)
;When mark M1000 is active, it sends the indicated block to the CNC.
NOT M111 = RES M1000
If the CNC accepts this block, it resets mark M1000.
12.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
341
Installation manual
12.2
Action CNCEX1
The CNCEX1 action is executed via main channel of the CNC and as long as the JOG
keyboard is enabled. Its execution can be interrupted by pressing [CYCLE STOP] or
even canceled by pressing [RESET].
If a CNCEX1 action is received when the JOG keyboard is disabled, the CNC ignores
this command.
Action CNCEX1
12.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
342
The block to be executed must be written in the programming format of the CNC itself.
Any type of block can be sent which is edited in ISO or high level language. It admits
preparatory functions, auxiliary functions, calls to subroutines, etc.
13
CNC configuration
The PLC has 512 inputs and 512 outputs. Some of them, depending on the CNC
configuration, communicate with external devices.
Input I1 is the emergency input of the CNC and must be supplied with 24V.
Regardless of how it is treated by the PLC program, this signal is processed
directly by the CNC at all times.
Output O1 is normally at 24V, high logic level, and it is set low, 0V, whenever
an ALARM or an ERROR occurs at the PLC output O1.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
343
Installation manual
13.1
13.
These symbols or names must always be defined at the beginning of the program.
Duplicate symbols cannot be defined; but several symbols may be assigned to the
same resource.
For better clarification, the symbols used in this program are grouped by subjects.
I-EMERG
I1
DEF
I-CONDI
I70
DEF
SERVO-OK
I71
DEF
O-EMERG
O1
I-LIMTX1
I72
DEF
I-LIMTX2
I73
DEF
I-LIMTY1
I74
DEF
I-LIMTY2
I75
DEF
I-LIMTZ1
I76
DEF
I-LIMTZ2
I77
I-REF0X
I78
DEF
I-REF0Y
I79
DEF
I-REF0Z
I80
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
344
DEF
M-03 M1003
DEF
M-04 M1004
DEF
M-08 M1008
DEF
M -41 M1041
DEF
M -42 M1042
I-LUBING
I81
DEF
O-LUBING
O2
Installation manual
I-COOLMA
I82
DEF
I-COOLAU
I83
DEF
O-COOL
O3
Coolant output
13.
O-GEAR1
O5
DEF
O-GEAR2
O6
DEF
I-GEAR1
I84
DEF
I-GEAR2
I85
I-SIMULA
I86
DEF
SENDKEY
M1100
DEF
KEYCODE
R55
DEF
LASTKEY
R56
DEF
SENTOK
M1101
DEF
KEYBOARD R57
DEF
CNCKEY
DEF
PLCKEY
DEF
MAINMENU $FFF4
DEF
SIMULATE
$FC01
DEF
KEY1
$31
DEF
KEY2
$32
DEF
ENTER
$0D
DEF
THEOPATH
$FC00
DEF
START
$FFF1
O-S-ENAB
DEF
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
345
Installation manual
13.2
13.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
346
Installation manual
Main module
PRG
REA
Main module
13.
( ) = /STOP
PLC PROGRAMMING EXAMPLE
13.3
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
347
Installation manual
Main module
13.
I-LIMTZ1 = LIMIT+3
I-LIMTZ2 = LIMIT-3
----- Message treatment ----The PLC allows displaying the corresponding PLC message at the CNC screen by
activating marks MSG1 through MSG255. This text must be previously edited at the
PLC message table.
The following example shows how to generate a message to remind the operator to
home the axes after powering the machine up.
(MANUAL OR MDI OR AUTOMAT) AND NOT (REFPOIN1 AND REFPOIN2 AND
REFPOIN3) = MSG5
The message (MSG5) appears in the JOG, MDI or Automatic modes and only when
the axes of the machine have not been referenced (homed). The CNC logic outputs
"REFPOIN" indicate that the axes have been homed. ----- Error treatment -----
----- Error message treatment ----The PLC permits displaying the corresponding error message on the CNC screen
by activating marks ERR1 through ERR128 as well as interrupting the CNC program
execution stopping the axes and the spindle. The activation of any of these marks
does not activate the external CNC Emergency output.
Because the PLC program is not interrupted by these marks, it is advised to make
it possible to change their status via accessible external inputs; otherwise, the CNC
will keep receiving the same error at every PLC scan (cycle) thus preventing access
to any PLC mode.
CNC 8035
The text associated to the error message must be previously edited at the PLC error
table.
The next example shows how to generate the X axis overtravel limit overrun error
when one of the overtravel limit switches is pressed.
NOT I-LIMTX1 OR NOT I-LIMTX2 = ERR10
(SOFT M: V15.1X)
(SOFT T: V16.1X)
348
Installation manual
----- Treatment of M, S, T functions ----The CNC activates the general logic output MSTROBE to "tell" the PLC to execute
the M functions indicated at the variables MBCD1 through MBCD7.
It also activates: the SSTROBE output when the S function indicated at variable
SBCD must be executed, the TSTROBE output when the T function indicated at
variable TBCD must be executed and the T2STROBE output when the T function
indicated at variable T2BCD must be executed.
Main module
This example deactivates the AUXEND signal for 100 milliseconds using the timer T1.
13.
PLC PROGRAMMING EXAMPLE
Whenever the CNC activates one of these signals, it is convenient to deactivate the
general CNC input AUXEND in order to interrupt the execution of the CNC. When the
PLC concludes the processing of the required function, this AUXEND signal must be
activated back so that the CNC resumes the execution of the interrupted program.
This example SETs the auxiliary marks so they can be analyzed later. Once analyzed,
they must be RESet so that the PLC does not analyze them again on the next cycle
(scan).
DFU MSTROBE AND CPS MBCD* EQ $0 = RES M-08
DFU MSTROBE AND CPS MBCD* EQ $2 = RES M-08
Functions M00 and M02 cancel the coolant (M08).
DFU MSTROBE AND CPS MBCD* EQ $3 = SET M-03 = RES M-04
DFU MSTROBE AND CPS MBCD* EQ $4 = SET M-04 = RES M-03
DFU MSTROBE AND CPS MBCD* EQ $5 = RES M-03 = RES M-04
Functions M03 and M04 are incompatible with each other and M05 cancels both.
DFU MSTROBE AND CPS MBCD* EQ $8 = SET M-08
DFU MSTROBE AND CPS MBCD* EQ $9 = RES M-08
DFU MSTROBE AND CPS MBCD* EQ $30 = RES M-08
Functions M09 and M30 cancel the coolant (M08)
DFU MSTROBE AND CPS MBCD* EQ $41 = SET M-41 = RES M-42
DFU MSTROBE AND CPS MBCD* EQ $42 = SET M-42 = RES M-41
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
349
Installation manual
----- Spindle turning control ----The spindle enable output O-S-ENAB will be activated when selecting function M03
or M04.
M-03 OR M-04 = O-S-ENAB
Main module
13.
----- Treatment of spindle gear change ----The spindle in this example has two gears (high and low). To perform a gear change,
proceed as follows:
Deactivate the general CNC input AUXEND.
Remove the control of the spindle back to the CNC Controlled by PLC.
Output an oscillating analog signal to change gears.
Move the gears.
Verify that the gear change has been completed.
Remove the oscillating analog signal.
Return the control of the spindle back to the CNC.
Activate the general CNC input AUXEND.
Deactivate the general CNC input AUXEND
While changing gears (ranges), general CNC input AUXEND should be
canceled in order to interrupt the execution of the CNC. "Treatment of the
general CNC input AUXEND".
Remove the control of the spindle back to the CNC Controlled by PLC.
Output an oscillating analog signal to change gears.
DFU M-41 OR DFU M-42
When a range (gear) change is requested...
= MOV 2000 SANALOG
... A 0.610V analog signal for the spindle is prepared and...
= SET PLCCNTL
... the PLC grabs the control of the spindle loop.
PLCCNTL AND M2011
While the PLC has the spindle control...
= SPDLEREV
... the spindle turning direction is changed every 400 milliseconds.
Move the gears.
The corresponding gear output (O-GEAR) is kept active until the range selection
is completed (I-GEAR).
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
350
Installation manual
I-GEAR1 = GEAR1
I-GAMA2 = GEAR2
The corresponding CNC logic input (GEAR1, GEAR2) must be activated to confirm
the gear change.
Main module
13.
= RES PLCCNTL
In this example, the machine axes are lubricated in the following instances:
On machine power-up. For 2 minutes.
When requesting a manual lubrication. For 5 minutes.
After the axes have been moving for 1 hour. For 5 minutes.
After an axis has travelled a specific distance since last lubricated. For 4 minutes.
Lubrication on machine power-up.
This operation will be performed for 2 minutes.
Whenever the machine is powered up, the PLC program starts running.
Therefore, the first cycle module CY1 must activate timer T2 in the mono-stable
mode for 2 minutes (120000 milliseconds).
( ) = TG1 2 120000
Manual lubrication.
This operation will last 5 minutes and it will be performed at operator's request.
DFU I-LUBING = TG1 3 300000
Whenever the operator requests the lubricating (lubing) operation, T3 must be
activated in the mono-stable mode for 5 minutes (300000 milliseconds).
Lubrication every hour of axis motion.
This operation takes place when the axes of the machine have been moving for
an accumulated time period of 1 hour. They will be lubricated for 5 minutes.
Timer T4 is used to keep track of the axis accumulated moving time and T5 to
time the 5 minute lubrication period.
The first cycle module CY1 must activate timer T4 in the delayed activation mode
with a time constant of 1 hour (3600 000 milliseconds).
CNC 8035
( ) = TG2 4 3600000
ENABLE1 OR ENABLE2 OR ENABLE3 = TEN 4
T4 only times when any of the axis is moving.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
351
Installation manual
T4 = TG1 5 300000
After having timed 1 hour, T5 must be activated in the mono-stable mode for 5
minutes. (300000 milliseconds)
T5 = TRS 4 = TG2 4 3600000
Resets the axis-motion timer T4 to zero.
Main module
13.
Lubrication when an axis has traveled a specific distance since the last time it was
lubricated
PLC machine parameters USER12 (P14), "USER13 (P15) and USER14 (P16) are
used to indicate the distance each axis must travel before it gets lubricated.
( ) = CNCRD(MPLC12,R31,M302) = CNCRD(MPLC13,R32,M302) =
CNCRD(MPLC14,R33,M302)
Assigns to registers R31, R32 and R33 the values of PLC machine parameters
USER12 (P14), "USER13 (P15) and USER14 (P16)
( ) = C N C R D ( D I S T X , R 4 1 , M 3 0 2 ) = C N C R D ( D I S T Y, R 4 2 , M 3 0 2 ) =
CNCRD(DISTZ,R43,M302)
Assigns to registers R41, R42 and R43 the distance each axis has travelled.
CPS R41 GT R31 OR CPS R42 GT R32 OR CPS R43 GT R33
If the distance traveled by any axis exceeds the one set by machine parameter,......
= TG1 6 240000
... .....timer T6 must be activated in the mono-stable mode for 4 minutes (240000
milliseconds) and ......
= MOV 0 R39
= CNCWR(R39,DISTX,M302)
CNCWR(R39,DISTZ,M302)
C N C W R ( R 3 9 , D I S T Y, M 3 0 2 )
... reset to "0" the count of the distance traveled by each axis.
Activate the lubricating (lubing) operation.
T2 OR T3 OR T5 OR T6 = O-LUBING
If any of these conditions is met, the lubing output will be activated.
DFD O-LUBING = TRS2 = TRS3 = TRS4 = TRS5 = TRS6
Once the lubricating operation has concluded, All timers must be reset to "0".
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
352
Installation manual
---- Coolant treatment ---The CNC executes function M08 to turn the coolant on and function M09 to turn it off.
Also, in this case, the operator has a switch to select whether the coolant is activated
manually by the operator or automatically by the CNC.
The operator control the coolant. Manual mode.
I-REFAUT
O-REFRIG
13.
Coolant ON.
RESETOUT = NOT O-COOL = RES M-08
The coolant will be turned off when the CNC is reset to initial conditions (RESETOUT)
or when executing functions M00, M02, M09 and M30.
This instruction does not contemplate functions M00, M02, M09 and M30 since the
treatment of M, S, T functions turns mark M-08 off when activating any of them.
Main module
I-REFMAN
It is advisable to have one single instruction to control each one of the logic CNC
inputs, thus preventing undesired functioning.
When having several instructions which can activate or deactivate an input, the PLC
will always assign the result of analyzing the last one of those instructions.
This example shows how to group in a single instruction all the conditions that activate
or deactivate one logic CNC input.
NOT T1 AND NOT M-41 AND NOT M-42 = AUXEND
Input AUXEND will remain low while:
The "Treatment of the MSTROBE, TSTROBE, STROBE signals" is in progress
(timer T1 active)
A spindle gear change is being performed (M-41, M-42)
----- Keyboard simulation ----With this example it is possible to simulate the theoretical path of part-program P12
whenever the operator requests it.
To do this, follow these steps:
Indicate to the CNC that from now on the keys will come from the PLC.
Simulate all the necessary steps sending the code of each one of the keys.
Indicate to the CNC that from now on the keys will be coming from the CNC
keyboard, not from the PLC.
In order to make sending the keys easier, a subroutine is used which utilizes the
following parameters:
ENVIATEC
CODTECLA (Code of the key) Calling parameter that must contain the code
corresponding to the key being simulated.
ENVIOK
CNC 8035
(Sent OK) Outgoing parameter indicating that the key code has been
sent successfully.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
353
Installation manual
Main module
13.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
354
... and the code for the START key is sent out.
Installation manual
To send a key (SENDKEY), set to "1" internal marks M100 through M102 and reset
the SENDKEY flag to "0".
M100 = CNCWR (KEYCODE, KEY, M100)
Sends to the CNC the code of the key to be simulated (KEYCODE). If this command
is not executed correctly (M100=1), the PLC will try again on the next cycle scan.
M101 AND NOT M100 = CNCRD (KEY, LASTKEY, M101)
If the previous command was executed correctly, (M100=0), it reads the last key
accepted by the CNC (LASTKEY).
Main module
13.
END
End of the program.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
355
Installation manual
Main module
13.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
356
Installation manual
APPENDIX
A.
B.
C.
D.
E.
F.
G.
H.
I.
J.
K.
L.
M.
N.
Maintenance..............................................................................401
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
357
Installation manual
APPENDIX
General characteristics
A.
To avoid overheating the internal circuitry, do not block the ventilation grooves
and install a ventilation system that removes the hot air from the enclosure.
32-bit processor
Math coprocessor
Graphics coprocessor.
256 Kb CNC program memory.
Block processing time of 6.5 ms.
Configurable sample time: 4, 5 or 6 ms
Color monitor
Technology: Color TFT LCD.
Diagonal display area dimension: 10,4.
Resolution: VGA 3 x 640 x 480 pixels.
Number of colors: 262144 Colors (6 bit for each subpixel RGB).
Backlit with 2 cold-cathode fluorescent lamps.
CNC 8035
Due to the current state of the COLOR TFT LCD technology, all manufacturers
accept the fact the LCD screens have a certain number of defective pixels.
(SOFT M: V15.1X)
(SOFT T: V16.1X)
359
Installation manual
Monochrome monitor
Technology: LCD STN.
Diagonal display area dimension: 7,5.
Resolution: 640 x 480 pixels.
8 gray ranges.
Backlit with 1 cold-cathode fluorescent lamp.
Due to the current state of the LCD technology, all manufacturers accept the
fact the LCD screens have a certain number of defective pixels.
APPENDIX
A.
Power supply
Nominal voltage: 20 V minimum and 30 V maximum.
Ripple: 4 V.
Nominal current: 2 A.
Current peak on power-up: 8 A.
The figure shows the shape of the supply current on power-up
PLC
Memory: 100 kbytes.
Programming in mnemonics.
1 millisecond time unit.
512 inputs.
512 outputs.
2047 user marks.
256 32-bit registers.
256 32-bit counters.
256 32-bit timers.
5V probe input.
Typical value: 0.25 mA. Vin = 5V.
High threshold (logic level 1) VIH: A partir de +2.4 Vcc.
Low threshold (logic level 0) VIL: Por debajo de +0.9 Vcc
Maximum nominal voltage Vimax = +15 Vcc.
Digital inputs
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
360
Installation manual
Digital outputs
Nominal supply voltage + 24 Vdc.
Maximum nominal voltage + 30 Vdc.
Minimum nominal voltage + 18 Vdc.
Output voltage Vout = Supply voltage (Vdc) -3 V
Maximum output current 100 mA
Protection by means of galvanic isolation by optocouplers.
Shortcircuit protection. Place external recovery diodes.
Ambient conditions
Relative humidity: 30-95 % without condensation.
Operating temperature: between +5 C (41 F) and +40 C (104 F) with an average
under +35 C (95 F).
Storage temperature: between -25 C (-13 F) and +70 C (158 F).
Maximum work altitude: Meets the IEC 1131-2 standard.
APPENDIX
A.
Packaging
Meets the EN 60068-2-32 standard
Vibration
When running 10-50 Hz amplitude 0.2 mm (1g).
While being shipped 10-50 Hz amplitude 1 mm (5g).
Free fall of packaged unit under Fagor ruling 1m.
Degree of protection
Central Unit : IP54 for the front panel and IP2X for the rear panel.
Accessible parts inside: IP1X.
Operator panel: IP54
Battery
3.5 V lithium battery
Estimated life: 3 years
As from error indication (low battery) the information contained in the memory will
be kept for 10 days maximum, with the CNC off. It must be replaced.
Neither attempt to recharge the battery nor expose it to temperatures over 100
C (212 F).
Do not short-circuit the terminals for risk of explosion or combustion.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
361
Installation manual
APPENDIX
A.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
362
Installation manual
PROBE CONNECTION
The CNC has two probe inputs (of 5Vdc and 24Vdc) at connector X3.
Depending on the type of connection applied the g.m.p. PRBPULSE (P39) must be
set, indicating whether it operates with the leading edge or trailing edge of the signal
which the probe provides.
APPENDIX
Probe connection
B.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
363
Installation manual
APPENDIX
Probe connection
B.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
364
Installation manual
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
C.
( section 11.1 )
APPENDIX
Variable
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
( section 11.2 )
R
R
R/W
R/W
R
R/W
R/W
R
R
R
R
R
R
Active zero offset on the selected axis. The value of the additive offset
indicated by the PLC is not included.
Abscissa coordinate value of polar origin.
Ordinate coordinate value of polar origin.
Zero offset (n) value of the selected axis.
Value of the additive zero offset activated via PLC.
Value for the selected axis of the zero offset with additive handwheel.
R
R
R
R
( section 11.3 )
Value assigned to general machine parameter (n).
Value assigned to (X-C) axis machine parameter (n).
Value assigned to machine parameter (n) of the main spindle.
Value assigned to machine parameter (n) of the PLC.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
365
Installation manual
APPENDIX
C.
FZONE
FZLO(X-C)
FZUP(X-C)
SZONE
SZLO(X-C)
SZUP(X-C)
TZONE
TZLO(X-C)
TZUP(X-C)
FOZONE
FOZLO(X-C)
FOZUP(X-C)
FIZONE
FIZLO(X-C)
FIZUP(X-C)
( section 11.4 )
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
( section 11.5 )
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R
R
R/W
R
R
R
R
R
R
R
R
R/W
R
R
R/W
R
R
R
R/W
R
R
R
R
R
R
R
R/W
R
R/W
R
R
R/W
R
R
R
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
366
Variable
PPOS(X-C)
POS(X-C)
TPOS(X-C)
APOS(X-C)
ATPOS(X-C)
DPOS(X-C)
FLWE(X-C)
DIST(X-C)
LIMPL(X-C)
LIMMI(X-C)
DPLY(X-C)
GPOS(X-C)n p
R
R
R
R
R
R
R
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R
-
R
R
R
R
R
R
R
R
R
R
-
( section 11.6 )
Programmed theoretical position value (coordinate).
Machine coordinates. Real coordinates of the tool base.
Machine coordinates. Theoretical coordinates of the tool base.
Part coordinates. Real coordinates of the tool base.
Part coordinates. Theoretical coordinates of the tool base.
Theoretical position of the probe when the probe touched the part.
Following error of the indicated axis.
Distance traveled by the indicated axis.
Second upper travel limit.
Second lower travel limit.
Coordinate of the selected axis displayed on the screen.
Coordinate of the selected axis, programmed in the (n) block of the program
(p).
Installation manual
HANPF
HANPS
HANPT
HANPFO
HANDSE
R
R
R
R
R
R
R
R
R
R
HANFCT
HBEVAR
R
R
R/W
R/W
R
R
MASLAN
MASCFI
MASCSE
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Pulses received from 1st handwheel since the CNC was turned on.
Pulses received from 2nd handwheel since the CNC was turned on.
Pulses received from 3rd handwheel since the CNC was turned on.
Pulses received from 4th handwheel since the CNC was turned on.
For handwheels with a selector button, it indicates whether that button has
been pressed or not.
Multiplying factor different for each handwheel (when having several).
HBE handwheel. Reading enabled, axis being jogged and multiplying factor
(x1, x10, x100).
Linear path angle for "Path handwheel" or "Path Jog" mode.
Arc center coordinates for "Path handwheel mode" or "Path jog".
Arc center coordinates for "Path handwheel mode" or "Path jog".
( section 11.8 )
R
R
R
R
R
R
R
R
( section 11.9 )
R
R
R
R
C.
APPENDIX
Variable
R
R
R
R
R
R
R/W
R
R
R/W
R
R
R
R
R
R
R
R
R/W
R
R
R/W
R
R
R
R/W
R
R
R
R
R
R
R/W
R
R
R
R/W
R
R
R
R
R
R
R
R
R
R/W
R
R/W
R
R/W
R
R
R
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
367
Installation manual
RPOSS
TPOSS
RTPOSS
APPENDIX
C.
PRGSP
PLCMSG
PLCIn
PLCOn
PLCMn
PLCRn
PLCTn
PLCCn
PLCMMn
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
-
( section 11.10 )
GUP n
R/W
LUP (a,b)
CALLP
R/W
-
( section 11.11 )
Operating mode.
Other variables.
Variable
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
368
NBTOOL
PRGN
BLKN
GSn
GGSA
GGSB
GGSC
GGSD
GGSE
GGSF
GGSG
GGSH
GGSI
GGSJ
GGSK
GGSL
GGSM
MSn
GMS
PLANE
( section 11.12 )
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Installation manual
R
R
R
R
R
R
R
R
ORGROT
ROTPF
ROTPS
PRBST
CLOCK
TIME
DATE
TIMER
CYTIME
PARTC
FIRST
KEY
KEYSRC
ANAIn
ANAOn
CNCERR
PLCERR
DNCERR
DNCSTA
TIMEG
SELPRO
DIAM
R
R
R
R
R
R
R
R/W
R
R/W
R
R/W
R/W
R
R/W
R
R/W
R/W
R
R
R
R
R
R/W
R
R/W
R
R/W
R/W
R
R/W
R
R
R
R
R/W
R/W
PRBMOD
RETREJ
R/W
R/W
R/W
R/W
R
R
R
R
RIP
RIGIER
( section 11.12 )
R
R
R
R
C.
APPENDIX
LONGAX
MIRROR
SCALE
SCALE(X-C)
Variable
The "KEY" variable can be "written" at the CNC only via the user channel.
The "NBTOOL" variable can only be used within the tool change subroutine.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
369
Installation manual
APPENDIX
C.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
370
Installation manual
Outputs:
O 1/512
User marks:
M 1/2000
M 2003
Clock marks:
M 2009/2024
M 2046/2047
M 4000/4127
M 4500/4563
Screen marks:
M 4700/4955
M 5000/5957
Timers:
T 1/256
Counters:
C 1/256
User registers
R 1/499
R 500/559
D.
APPENDIX
I 1/512
Inputs:
The value stored in each register will be considered by the PLC as a signed integer
which could be referred to in the following formats:
Decimal
Hexadecimal
Binary
Directing instructions.
PRG
Main module.
CY1
PE t
END
End of module.
L 1/256
Label.
DEF
Symbol definition.
REA
IMA
IRD
Updates the "I" resources with the values of the physical inputs.
MRD
Updates resources M5000/5957 and R500/559 with the values of the logic CNC
outputs.
OWR
Updates the physical outputs with the real values of the "O" resources.
MWR
Updates the logic CNC inputs (internal variables) with the values of resources
M5000/5957 and R500/599
TRACE
Captures data for the Logic Analyzer while executing the PLC cycle.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
371
Installation manual
Inputs
1/512
Outputs
1/5957
Marks
1/256
Timers
1/256
Counters
0/31 R 1/499
Register bit
APPENDIX
D.
I 1/512
O 1/512
M 1/5957
T 1/256
C 1/256
R 1/559
#
GT
GE
EQ
NE
LE
LT
T 1/256
C 1/256
R 1/559
#
Operators.
NOT
AND
OR
XOR
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
=I
1/512
Inputs.
=O
1/512
Outputs.
=M
1/5957
Marks.
= TEN
1/256
Timer enable.
= TRS
1/256
Timer reset.
= TGn
1/256
= CUP
1/256
= CDW
1/256
= CEN
1/256
Counter enable.
= CPR
1/256
=B
0/31 R 1/499
n/R
n/R
Counter preset.
Register Bits.
= RES
= CPL
If the logic expression is 1, this action complements the logic state of the
resource.
= SET
= RES
= CPL
372
I 1/512
O 1/512
M 1/5957
B 0/31 R 1/559
Installation manual
Unconditional jump.
= RET
= CAL L 1/256
Call to a subroutine.
= NGU
= NGS
= ADS
= SBS
= MLS
= DVS
= MDS
MOV
Destination
I 1/512
O 1/512
M 1/5957
R 1/559
I 1/512
O 1/512
M 1/5957
T 1/256
C 1/256
R 1/559
#
ADS
SBS
MLS
DVS
MDS
R1/559
#
Source
code
Destinati
on code
0 (Bin)
1 (BCD)
0 (Bin)
1 (BCD)
R1/559
#
R1/559
D.
APPENDIX
= MOV
Number of bits to
transmit
32
28
24
20
16
12
8
4
= OR
= XOR
RR1
RR2
RL1
RL2
R1/559
#
R1/559
#
CNC 8035
R1/559
Origin
Number of repetitions
Destinatio
n
R1/559
R1/559
0/31
R1/559
(SOFT M: V15.1X)
(SOFT T: V16.1X)
373
Installation manual
APPENDIX
D.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
374
= ERA
Group erase
= CNCRD
= CNCWR
= PAR
I
O
M
T
C
R
1/512
1/512
1/5957
1/256
1/256
1/559
1/512
1/512
1/5957
1/256
1/256
1/559
Installation manual
/STOP
M5001
/FEEDHOL
M5002
/XFERINH
M5003
Prevents the next block from being executed, but finishes the one being executed.
CYSTART
M5007
SBLOCK
M5008
MANRAPID
M5009
Selects rapid travel for all the movements that are executed in JOG mode.
OVRCAN
M5010
LATCHM
M5011
The axes will move from the moment the corresponding JOG key is pressed until the
STOP key is pressed.
ACTGAIN2
M5013
RESETIN
M5015
AUXEND
M5016
TIMERON
M5017
TREJECT
M5018
PANELOFF
M5019
Deactivation of keyboard.
PLCABORT
M5022
PLCREADY
M5023
INT1
M5024
INT2
M5025
INT3
M5026
INT4
M5027
BLKSKIP1
M5028
BLKSKIP2
M5029
BLKSKIP3
M5030
M01STOP
M5031
Stops execution of the part program when the auxiliary M01 function is executed.
RETRACE
M5051
ACTLM2
M5052
HNLINARC
M5053
MASTRHND
M5054
EXRAPID
M5057
Selects rapid travel for all the movements that are executed in execution mode.
FLIMITAC
M5058
Limit the feedrate of each axis to the value set in its machine parameter FLIMIT (P75).
SLIMITAC
M5059
Limit the spindle speed to the value set in its machine parameter SLIMIT (P66).
BLOABOR
M5060
Finish the movement in progress and start executing the next block.
ACTGAINT
M5063
SKIPCYCL
M5064
RETRACYC
M5065
It indicates that the Z axis has been stopped before starting the retraction.
E.
APPENDIX
M5000
/EMERGEN
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
375
Installation manual
APPENDIX
E.
Axis 1
Axis 2
Axis 3
LIMIT+
M5100
M5150
M5200
Travel limit overrun. Stops the axes and the spindle. Displays
the error.
LIMIT-*
M5101
M5151
M5201
Travel limit overrun. Stops the axes and the spindle. Displays
the error.
DECEL*
M5102
M5152
M5202
INHIBIT*
M5103
M5153
M5203
MIRROR*
M5104
M5154
M5204
SWITCH*
M510
M5155
M5205
DRO*
M5106
M5156
M5206
SERVO*ON
M5107
M5157
M5207
AXIS+*
M5108
M5158
M5208
AXIS-*
M5109
M5159
M5209
SPENA*
M5110
M5160
M5210
DRENA*
M5111
M5161
M5211
ELIMINA*
M5113
M5163
M5213
It does not display the axis and cancels the feedback alarms.
SMOTOF*
M5114
M5164
M5214
LIM*OFF
M5115
M5165
M5215
MANINT*
M5116
M5166
M5216
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
376
LIMIT+S
M5450
Travel limit overrun. Stops the axes and the spindle. Displays the error.
LIMIT -S
M5451
Travel limit overrun. Stops the axes and the spindle. Displays the error.
DECELS
M5452
SPDLEINH
M5453
SPDLEREV
M5454
SMOTOFS
M5455
SERVOSON
M5457
GEAR1
M5458
GEAR2
M5459
GEAR3
M5460
GEAR4
M5461
SPENAS
M5462
DRENAS
M5463
PLCFM19
M5464
M19FEED
R505
PLCCNTL
M5465
SANALOG
R504
ELIMIS
M5456
The CNC does not display the spindle although it keeps controlling it.
Installation manual
R500
KEYDIS2
R501
KEYDIS3
R502
KEYDIS4
R503
E.
/FEEDHOP
M5004
/XFERINP
M5005
Prevents the next block from being executed in the PLC channel, but finishes the one
being executed.
AUXENDP
M5006
BLOABORP
M5061
CNCREADY
M5500
START
M5501
The CYCLE START key of the front panel has been pressed.
FHOUT
M5502
RESETOUT
M5503
LOPEN
M5506
/ALARM
M5507
JOG
M5508
AUTOMAT
M5509
MDI
M5510
SBOUT
M5511
INCYCLE
M5515
RAPID
M5516
TAPPING
M5517
THREAD
M5518
PROBE
M5519
ZERO
M5520
RIGID
M5521
RETRAEND
M5522
CSS
M5523
SELECT0
M5524
SELECT1
M5525
SELECT2
M5526
SELECT3
M5527
SELECT4
M5528
SELECT5
M5529
SELECT6
M5530
SELECT7
M5531
SELECTOR
R564
APPENDIX
KEYDIS1
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
377
Installation manual
APPENDIX
E.
MSTROBE
M5532
Indicates that the auxiliary M functions which are indicated in registers R550 to R556
must be executed.
SSTROBE
M5533
TSTROBE
M5534
T2STROBE
M5535
ADVINPOS
M5537
INTEREND
M5538
INPOS
M5539
DM00
M5547
DM01
M5546
DM02
M5545
The execution of the program has stopped after executing the auxiliary M02 function.
DM03
M5544
DM04
M5543
DM05
M5542
DM06
M5541
DM08
M5540
DM09
M5555
DM19
M5554
DM30
M5553
DM41
M5552
DM42
M5551
DM43
M5550
DM44
M5549
RETRACT
M5567
It indicates that the drilling stop or the mill type threading stop or the retraction in a
lathe type threading has finished.
Axis 2
Axis 3
ENABLE*
M5600
M5650
M5700
DIR*
M5601
M5651
M5701
REFPOIN*
M5602
M5652
M5702
DRSTAF*
M5603
M5653
M5703
DRSTAS*
M5604
M5654
M5704
ANT*
M5606
M5656
M5706
INPOS*
M5607
M5657
M5707
Axis in position.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
378
Main
ENABLES
M5950
DIRS
M5951
REFPOINS
M5952
DRSTAFS
M5953
DRSTASS
M5954
REVOK
M5956
INPOSS
M5957
Spindle in position.
Installation manual
MBCD2
R551
MBCD3
R552
MBCD4
R553
MBCD5
R554
MBCD6
R555
MBCD7
R556
MBCDP1
R565
MBCDP2
R566
MBCDP3
R567
MBCDP4
R568
MBCDP5
R569
MBCDP6
R570
MBCDP7
R571
SBCD
R557
TBCD
R558
T2BCD
R559
E.
APPENDIX
R550
MBCD1
KEYBD1
R560
KEYBD2
R561
KEYBD3
R562
KEYBD4
R563
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
379
Installation manual
APPENDIX
E.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
380
Installation manual
Programmed
S
S
BCD
Programmed
S
S
BCD
00
50-55
54
800-899
78
20
56-62
55
900-999
79
26
63-70
56
1000-1119
80
29
71-79
57
1120-1249
81
32
80-89
58
1250-1399
82
34
90-99
59
1400-1599
83
35
100-111
60
1600-1799
84
36
112-124
61
1800-1999
85
38
125-139
62
2000-2239
86
39
140-159
63
2240-2499
87
10-11
40
160-179
64
2500-2799
88
12
41
180-199
65
2800-3149
89
13
42
200-223
66
3150-3549
90
14-15
43
224-249
67
3550-3999
91
16-17
44
250-279
68
4000-4499
92
18-19
45
280-314
69
4500-4999
93
20-22
46
315-354
70
5000-5599
94
23-24
47
355-399
71
5600-6299
95
25-27
48
400-449
72
6300-7099
96
28-31
49
450-499
73
7100-7999
97
32-35
50
500-559
74
8000-8999
98
36-39
51
560-629
75
9000-9999
99
40-44
52
630-709
76
45-49
53
710-799
77
F.
APPENDIX
S
BCD
Programmed
S
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
381
Installation manual
APPENDIX
F.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
382
Installation manual
KEY CODES
Alphanumeric operator panel (M-T models)
e
101
k
107
o
111
112
113
u
117
v
118
w
119
103
h
104
105
106
m
109
n
110
164
r
114
s
115
t
116
x
120
z
122
121
99
d
100
98
102
65
66
67
68
69
70
108
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
32
65454
65453
65456
65445
65460
64512
65522
64513
64514
65524
64515
027
64516
64517
61446
64518
65458
013
61447
65462
65455
61452
35
40
61
37
93
33
60
43
61443
53
54
44
50
59
45
57
38
34
49
42
62
56
52
47
36
41
55
91
63
G.
Key codes
b
97
APPENDIX
51
58
48
46
65523
65521
65520
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
383
Installation manual
Key codes
APPENDIX
G.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
384
Installation manual
B4
R563
B3
R563
B2
R563
B1
R563
B0
R562
B1
R562
B14
R561
B2
R562
B7
R561
B3
R562
B6
R561
B4
R562
B5
R562
B15
R561
B6
R562
B13
R561
B16
R560
B8
R560
B0
R560
B9
R561
B1
B25
R561 R560
B17
R560
B9
R560
B1
R560
B10
R561
B2
B26
R561 R560
B18
R560
B10
R560
B2
R560
B11
R561
B3
B27
R561 R560
B19
R560
B11
R560
B3
R560
B12
R561
B4
B28
R561 R560
B20
R560
B12
R560
B4
R560
B31
R561
B30
B29
R561 R560
B21
R560
B13
R560
B5
R560
B26
R561
B25
B30
R561 R560
B22
R560
B14
R560
B6
R560
B29
R561
B28
B31
R561 R560
B23
R560
B15
R560
B7
R560
B27
R561
B24
R561
B19
R561
B18
R561
B17
R561
B16
R561
B7
R562
B10
R562
B25
R562
B10
R563
B15
R563
B8
R562
B23
R562
B24
R562
B9
R563
B18
R562
B9
R562
B26
R562
B0
R563
B7
R563
B16
R562
B22
R561
B17
R562
B8
R563
H.
APPENDIX
B5
R563
B0
B24
R561 R560
B6
R563
B8
R561
B5
R561
B15
R562
B20
R562
B21
R562
B22
R562
B31
R562
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
385
Installation manual
APPENDIX
H.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
386
Installation manual
B4
R504
B3
R504
B2
R504
B1
R504
B0
R502
B1
R502
B14
R501
B2
R502
B7
R501
B3
R502
B6
R501
B4
R502
B5
R502
B15
R501
B6
R502
B13
R501
B16
R500
B8
R500
B0
R500
B9
R501
B1
B25
R501 R500
B17
R500
B9
R500
B1
R500
B10
R501
B2
B26
R501 R500
B18
R500
B10
R500
B2
R500
B11
R501
B3
B27
R501 R500
B19
R500
B11
R500
B3
R500
B12
R501
B4
B28
R501 R500
B20
R500
B12
R500
B4
R500
B31
R501
B30
B29
R501 R500
B21
R500
B13
R500
B5
R500
B26
R501
B25
B30
R501 R500
B22
R500
B14
R500
B6
R500
B29
R501
B28
B31
R501 R500
B23
R500
B15
R500
B7
R500
B27
R501
B24
R501
B19
R501
B18
R501
B17
R501
B16
R501
B7
R502
B10
R502
B25
R502
B10
R504
B15
R504
B8
R502
B23
R502
B24
R502
B9
R504
B18
R502
B9
R502
B26
R502
B0
R504
B7
R504
B16
R502
B22
R501
B17
R502
B8
R504
I.
APPENDIX
B5
R504
B0
B24
R501 R500
B6
R504
B8
R501
B5
R501
B15
R502
B20
R502
B21
R502
B22
R502
B31
R502
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
387
Installation manual
APPENDIX
I.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
388
Installation manual
P150
P151
P152
P153
P154
P155
P156
P157
P158
P159
P160
P161
P162
P163
P164
P165
P166
P167
P168
P169
P170
P171
P172
P173
P174
P175
P176
P177
P178
P179
P180
P181
P182
P183
P184
P185
P186
P187
P188
P189
P190
P191
P192
P193
P194
P195
P196
P197
P198
P199
J.
APPENDIX
P50
P51
P52
P53
P54
P55
P56
P57
P58
P59
P60
P61
P62
P63
P64
P65
P66
P67
P68
P69
P70
P71
P72
P73
P74
P75
P76
P77
P78
P79
P80
P81
P82
P83
P84
P85
P86
P87
P88
P89
P90
P91
P92
P93
P94
P95
P96
P97
P98
P99
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
P23
P24
P25
P26
P27
P28
P29
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P40
P41
P42
P43
P44
P45
P46
P47
P48
P49
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
389
Installation manual
APPENDIX
J.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
390
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
P23
P24
P25
P26
P27
P28
P29
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P40
P41
P42
P43
P44
P45
P46
P47
P48
P49
P50
P51
P52
P53
P54
P55
P56
P57
P58
P59
P60
P61
P62
P63
P64
P65
P66
P67
P68
P69
P70
P71
P72
P73
P74
P75
P76
P77
P78
P79
P80
P81
P82
P83
P84
P85
P86
P87
P88
P89
P90
P91
P92
P93
P94
P95
P96
P97
P98
P99
P100
P101
P102
P103
P104
P105
P106
P107
P108
P109
P110
P111
P112
P113
P114
P115
P116
P117
P118
P119
P120
P121
P122
P123
P124
P125
P126
P127
P128
P129
P130
P131
P132
P133
P134
P135
P136
P137
P138
P139
P140
P141
P142
P143
P144
P145
P146
P147
P148
P149
P150
P151
P152
P153
P154
P155
P156
P157
P158
P159
P160
P161
P162
P163
P164
P165
P166
P167
P168
P169
P170
P171
P172
P173
P174
P175
P176
P177
P178
P179
P180
P181
P182
P183
P184
P185
P186
P187
P188
P189
P190
P191
P192
P193
P194
P195
P196
P197
P198
P199
Installation manual
P150
P151
P152
P153
P154
P155
P156
P157
P158
P159
P160
P161
P162
P163
P164
P165
P166
P167
P168
P169
P170
P171
P172
P173
P174
P175
P176
P177
P178
P179
P180
P181
P182
P183
P184
P185
P186
P187
P188
P189
P190
P191
P192
P193
P194
P195
P196
P197
P198
P199
J.
APPENDIX
P50
P51
P52
P53
P54
P55
P56
P57
P58
P59
P60
P61
P62
P63
P64
P65
P66
P67
P68
P69
P70
P71
P72
P73
P74
P75
P76
P77
P78
P79
P80
P81
P82
P83
P84
P85
P86
P87
P88
P89
P90
P91
P92
P93
P94
P95
P96
P97
P98
P99
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
P23
P24
P25
P26
P27
P28
P29
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P40
P41
P42
P43
P44
P45
P46
P47
P48
P49
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
391
Installation manual
APPENDIX
J.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
392
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
P23
P24
P25
P26
P27
P28
P29
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P40
P41
P42
P43
P44
P45
P46
P47
P48
P49
P50
P51
P52
P53
P54
P55
P56
P57
P58
P59
P60
P61
P62
P63
P64
P65
P66
P67
P68
P69
P70
P71
P72
P73
P74
P75
P76
P77
P78
P79
P80
P81
P82
P83
P84
P85
P86
P87
P88
P89
P90
P91
P92
P93
P94
P95
P96
P97
P98
P99
P100
P101
P102
P103
P104
P105
P106
P107
P108
P109
P110
P111
P112
P113
P114
P115
P116
P117
P118
P119
P120
P121
P122
P123
P124
P125
P126
P127
P128
P129
P130
P131
P132
P133
P134
P135
P136
P137
P138
P139
P140
P141
P142
P143
P144
P145
P146
P147
P148
P149
P150
P151
P152
P153
P154
P155
P156
P157
P158
P159
P160
P161
P162
P163
P164
P165
P166
P167
P168
P169
P170
P171
P172
P173
P174
P175
P176
P177
P178
P179
P180
P181
P182
P183
P184
P185
P186
P187
P188
P189
P190
P191
P192
P193
P194
P195
P196
P197
P198
P199
Installation manual
P150
P151
P152
P153
P154
P155
P156
P157
P158
P159
P160
P161
P162
P163
P164
P165
P166
P167
P168
P169
P170
P171
P172
P173
P174
P175
P176
P177
P178
P179
P180
P181
P182
P183
P184
P185
P186
P187
P188
P189
P190
P191
P192
P193
P194
P195
P196
P197
P198
P199
J.
APPENDIX
P50
P51
P52
P53
P54
P55
P56
P57
P58
P59
P60
P61
P62
P63
P64
P65
P66
P67
P68
P69
P70
P71
P72
P73
P74
P75
P76
P77
P78
P79
P80
P81
P82
P83
P84
P85
P86
P87
P88
P89
P90
P91
P92
P93
P94
P95
P96
P97
P98
P99
P0
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
P23
P24
P25
P26
P27
P28
P29
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P40
P41
P42
P43
P44
P45
P46
P47
P48
P49
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
393
Installation manual
J.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
394
P8
P9
P10
P11
P12
P13
P14
P15
P16
P17
P18
P19
P20
P21
P22
P23
P24
P25
P26
P27
P28
P29
P30
P31
P44
P45
P46
P47
P48
P49
P50
P51
P52
P53
P54
P55
P56
P57
P58
P59
P60
P61
P62
P63
P64
P65
P66
P67
P68
P69
P70
P71
P72
P73
P74
P75
P76
P77
P78
P79
P80
P81
P82
P83
P84
P85
P86
P87
P22
P23
P24
P25
P26
P27
P28
P29
P30
P31
P32
P33
P34
P35
P36
P37
P38
P39
P40
P41
P42
P43
Installation manual
Setting bits
7 6 5 4 3 2 1 0
M
function
Associated
subroutine
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
M
M
S
S
Setting bits
7 6 5 4 3 2 1 0
K.
APPENDIX
Associated
subroutine
M
function
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
395
Installation manual
APPENDIX
K.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
396
Installation manual
Position
Error
Error (-)
Point
Position
Error
Error (-)
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
L.
APPENDIX
Point
Axis _______
Axis _______
Axis _______
Point
Position
Error
Error (-)
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
P
P
E
E
E
E
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
397
Installation manual
APPENDIX
L.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
398
Installation manual
Position
Error
Point
COMPAXIS
(P33)
Position
Error
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
P
P
E
E
M.
APPENDIX
Point
Axis to be compensated
_____
MOVAXIS
(P32)
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
399
Installation manual
APPENDIX
M.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
400
Installation manual
MAINTENANCE
Cleaning
The accumulated dirt inside the unit may act as a screen preventing the proper
dissipation of the heat generated by the internal circuitry which could result in a
harmful overheating of the CNC and, consequently, possible malfunctions.
Do not use highly compressed air to clean the unit because it could generate
electrostatic discharges.
APPENDIX
To clean the operator panel and the monitor, a smooth cloth should be used which
has been dipped into de-ionized water and /or non abrasive dish-washer soap (liquid,
never powder) or 75 alcohol.
Maintenance
N.
On the other hand, accumulated dirt can sometimes act as an electrical conductor
and shortcircuit the internal circuitry, especially under high humidity conditions.
Fagor Automation shall not be held responsible for any material or physical
damage derived from the violation of these basic safety requirements.
To check the fuses, first unplug the unit from mains. If the CNC does not turn
on when flipping the power switch, check that the fuses are the right ones and
they are in good condition.
Avoid solvents. The action of solvents such as chlorine hydrocarbons,
benzole, esters and ether may damage the plastics used to make the front
panel of the unit.
Do not open this unit. Only personnel authorized by Fagor Automation may
open this unit.
Do not handle the connectors with the unit connected to mains. Before
manipulating the connectors (inputs/outputs, feedback, etc.) make sure that
the unit is not connected to AC power.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
401
Installation manual
APPENDIX
N.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
402
Installation manual
N.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
403
Installation manual
N.
CNC 8035
(SOFT M: V15.1X)
(SOFT T: V16.1X)
404