To Download The Factory Catalog. - HH Roberts Machinery
To Download The Factory Catalog. - HH Roberts Machinery
Section Page
INTRODUCTION
Chapter 6 CONCEPTS
APPENDICES
ERROR CODES
COMPARISON TABLE
FOR FAGOR CNC MODELS:
101/101S/102/102S
GENERAL CARACTERISTICS
Axis X as infinite slave of another axis (G34) Installation Manual Section 5.5
Operating Manual Section 6.5.5
Travel limit control taking into account the Installation Manual Section 5.8
the punch radius Operating Manual Section 6.8.4
Parametrical programming takes the S Installation Manual Sect. 5.1 and 6.7
sign into account
Attention:
Before starting up the CNC, carefully read the instructions of Chapter 2
in the Installation Manual.
The CNC must not be powered-on until verifying that the machine
complies with the "89/392/CEE" Directive.
Introduction - 1
DECLARATION OF CONFORMITY
SAFETY:
ELECTROMAGNETIC COMPATIBILITY:
EN 50081-2 Emission
EN 50082-2 Immunity
Introduction - 3
SAFETY CONDITIONS
Read the following safety measures in order to prevent damage to personnel, to this
product and to those products connected to it.
Fagor Automation shall not be held responsible for any physical or material damage
derived from the violation of these basic safety regulations.
Ground connection
In order to avoid electrical discharges, connect the ground terminals of all the modules
to the main ground terminal. Before connecting the inputs and outputs of this unit, make
sure that all the grounding connections are properly made.
Before powering the unit up, make sure that it is connected to ground
In order to avoid electrical discharges, make sure that all the grounding connections are
properly made.
Fagor Automation shall not be held responsible for any damage suffered or caused
when installed in other environments (residential or homes).
Introduction - 4
- Powerful loads connected to the same AC power line as this equipment.
- Nearby portable transmitters (Radio-telephones, Ham radio transmitters).
- Nearby radio / TC transmitters.
- Nearby arc welding machines
- Nearby High Voltage power lines
- Etc.
Enclosures
The manufacturer is responsible of assuring that the enclosure involving the equipment
meets all the currently effective directives of the European Community.
Ambient conditions
The working temperature must be between +5° C and +45° C (41ºF and 113º F)
The storage temperature must be between -25° C and 70° C. (-13º F and 158º F)
Monitor enclosure
Assure that the Monitor is installed at the distances indicated in chapter 1 from the walls
of the enclosure.
It carries two fast fuses of 3.15 Amp./ 250V. to protect the mains AC input.
All the digital inputs and outputs have galvanic isolation via optocouplers between the
CNC circuitry and the outside.
They are protected by an external fast fuse (F) of 3.15 Amp./ 250V. against over voltage
and reverse connection of the power supply.
The type of fuse depends on the type of monitor. See the identification label of the unit.
Introduction - 5
Precautions during repair
Do not manipulate the inside of the unit
Only personnel authorized by Fagor Automation may manipulate the
inside of this unit.
Safety symbols
Symbols which may appear on the manual
WARNING. symbol
It has an associated text indicating those actions or operations may hurt people
or damage products.
WARNING. symbol
It has an associated text indicating those actions or operations may hurt people
or damage products.
Introduction - 6
WARRANTY TERMS
WARRANTY
All products manufactured or marketed by Fagor Automation has a warranty period of
12 months from the day they are shipped out of our warehouses.
The mentioned warranty covers repair material and labor costs, at FAGOR facilities,
incurred in the repair of the products.
Within the warranty period, Fagor will repair or replace the products verified as being
defective.
FAGOR is committed to repairing or replacing its products from the time when the first
such product was launched up to 8 years after such product has disappeared from the
product catalog.
EXCLUDING CLAUSES
The repair will take place at our facilities. Therefore, all shipping expenses as well as
travelling expenses incurred by technical personnel are NOT under warranty even
when the unit is under warranty.
This warranty will be applied so long as the equipment has been installed according to
the instructions, it has not been mistreated or damaged by accident or negligence and
has been manipulated by personnel authorized by FAGOR.
If once the service call or repair has been completed, the cause of the failure is not to
be blamed the FAGOR product, the customer must cover all generated expenses
according to current fees.
SERVICE CONTRACTS
Service and Maintenance Contracts are available for the customer within the warranty
period as well as outside of it.
Introduction - 7
MATERIAL RETURNING TERMS
When returning the CNC, pack it in its original package and with its original packaging
material. If 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 lb.).
2.- When sending it to a Fagor Automation office for repair, attach a label indicating the
owner of the unit, person to contact, type of unit, serial number, symptom and a brief
description of the problem.
3.- Wrap the unit in a polyethylene roll or similar material to protect it.
4.- Pad the unit inside the cardboard box with poly-utherane foam on all sides.
5.- Seal the cardboard box with packing tape or industrial staples.
Introduction - 8
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.
See Section 2.2 of this manual.
* To prevent electrical shock use the proper mains AC connector at the Power Supply
Module. Use 3-wire power cables (one for ground connection)
* In case of a malfunction or failure, disconnect it and call the technical service. Do not
manipulate inside the unit.
Introduction - 9
FAGOR DOCUMENTATION
FOR THE 101/101S / 102/102S CNC
Introduction - 10
MANUAL CONTENTS
The installation manual consists of the following sections:
Index
Chapter 6 Concepts.
Feedback systems, resolution
Adjustment of the axes and their gains.
Reference Systems: Reference systems, search and setting
Acceleration / deceleration.
Spindle: speed control and range change.
Tools and tool magazine
Auxiliary M, S, T function transfer
Error Codes
Introduction - 11
1. CNC CONFIGURATION
Attention:
The CNC is prepared to be used in Industrial Environments, especially on
milling machines, lathes, etc. It can control machine movements and devices.
It can control machine movements and devices.
The appendix at the end of this manual shows the necessary dimensions of the enclosure
where this CNC will be installed guaranteeing its proper ambient conditions.
RS232C 9-pin SUB-D type female connector for RS-232C serial line connection.
RS485 9-pin SUB-D type female connector for RS-485 serial line connection.
I/O1 37-pin SUB-D type female connector to interface with the electrical cabinet.
I/O2 25-pin SUB-D type female connector to interface with the electrical cabinet.
2 Mains, A.C. power plug and switch. To power the CNC by connecting it
through a transformer and ground.
3 Ground terminal. Metric 6mm. Where the general machine ground must be
connected.
4, 5 Fuses. 3.15Amp./250V fast fuses (F) to protect the internal I/O circuitry of the
CNC.
Attention:
Do not manipulate inside this unit
Only personnel authorized by Fagor Automation may manipulate inside
this module.
The type of cable used must have overall shield. The rest of its characteristics such as length
will depend on the type and model of the feedback device being used.
It is highly recommended to run these cables as far away as possible from the power cables
of the machine.
1 A
2 A Differential square-wave feedback signals.
3 B
4 B
15 CHASSIS Shield.
Attention:
The output signals of square-wave rotary encoders must be TTL compatible
and no Open Collector output signals may be used.
When using a touch probe, pin 5 of connector A2 should be used as input for
the probe signal.
The appendix at the end of this manual shows a few recommended circuits for
probe connection.
If this pin is also used for the Y axis marker pulse (home), an auxiliary "M"
function may be used to switch the two signals.
Dip-switch 1 indicates whether the feedback signal is sine-wave or square-wave and dip-
switch 2 indicates whether the feedback signal is differential (double-ended) or not (single-
ended).
The chart below shows the dip-switch combinations for the particular type of feedback
signal used at each feedback input:
The shield of the cable being used must be connected to pin 1 of the connector at the CNC
end and to the metal housing of the connector at the PERIPHERAL end.
1 FG Shield.
2 TxD Transmit Data
3 RxD Receive Data
4 RTS Request To Send
5 CTS Clear To Send
6 DSR Data Send Ready
7 GND Ground
8 —- Not connected
9 DTR Data Pin Ready
* Cable length. The EIA RS232C standards specify that the capacity of the cable must
not exceed 2500pF, thus, since the cables usually have a capacity between 130 and 170
pF, their maximum length will be limited to 15 meters (50 feet).
It is recommended to use 7-conductor cables with a minimum section of 0.14 mm² and
overall shielding.
All unused wires should be grounded to avoid erroneous control and data signals.
* Ground connection. It is suggested to reference all control and data signals to the same
ground wire (pin 7 -GND-) thus avoiding reference points at different voltage levels
since there could be different voltages between both ends of long cables.
* Complete connection
* Simplified connection
To be used when the computer or peripheral device meets one of the following
requirements:
This serial line is used to integrate this CNC into the FAGOR Local Area Network (LAN)
so it can communicate with other FAGOR CNCs and PLCs (FAGOR PLC64).
Attention: Do not manipulate the connectors with the unit connected to main AC
power
Before manipulating these connectors, make sure that the unit is not
connected to main AC power.
For better immunity of the RS485 serial line against conducted electromagnetic
disturbances, it is recommended to solder the cable mesh to the metal hood
of the connector.
“TWINAXIAL” CABLE
SPECIFICATIONS
Type: 02 AWG twisted 7x28
Conductor Material: Copper (only one stained wire)
Resistance: Max 11 L per every 305m. (1000 ft)
Insulator Material: Teflon
Material Stained copper
Type Braid 34 AWG. 8 ends / 16 carriers
Shields Cover Minimum 95%
Resistance Maximum 3L per every 305m. (1000 ft)
Material: Teflon
Covering
Outside diameter Nominal 7mm. (0.257inches)
Capacitance Maximum 53,1 pF/m (16.2 pF/ft)
Impedance 107± 5% Ohm at 1 MHz.
Attention:
The machine manufacturer must comply with the EN 60204-1 (IEC-204-1)
regulation regarding the protection against electrical shock derived from
defective input/output connection with the external power supply when this
connector is not connected before turning the power supply on.
Do not manipulate the connectors with the unit connected to main AC power
Before manipulating these connectors, make sure that the unit is not
connected to main AC power.
By means of these 2 inputs, it is possible to change the feedrate of the axes in JOG, Play-
back, Execution and Single-Block modes.
Pin OFF = 0, ON = 1
When using the external operator panel "JOG 100", these inputs are treated differently
as described in its corresponding section later on in this chapter.
Attention:
When operating in open loop with servo drives, the feedrate override goes
into effect on the next movement and not on the current one.
RESET Pin 12
When set high, the CNC assumes the pre-established initial conditions. It acts as if the
[RESET] were pressed.
When machine parameter "P30" is set to a value other than "0", the CNC HOMES the
axes whenever a leading edge (transition from low to high) is detected at this input.
This input must be high (24V) as long as the X axis home switch is pressed.
When set low, the CNC cancels the analog outputs for the axes, sets the brake signal
low to prevent the axes from moving, interrupts the execution of the part-program and
displays error 17 at the lower window. It does not activate the external Emergency
Output (pin 5 of this connector).
See connection diagram in the chapter on "Power and Machine interface" in this
manual.
This input must be normally high and its meaning depends on the type of block or
function being executed.
* If while moving the axes, this signal (FEED HOLD) is set low (0V), the CNC
maintains the spindle turning and stops the axes by bringing their analog voltages to
0V while maintaining the brake signals high (24V = brake off).
When this signal returns high, the CNC will resume the movement of the axes.
* When machine parameter "P22(5) = 1", the CNC waits for the electrical cabinet to
process the requested M function and set the FEED HOLD signal high.
When setting this input low, the CNC stops program execution. Its treatment is
identical to that of the key.
To resume program execution, this input must be set high again and, then, the
key must be pressed.
Every time the CNC executes the miscellaneous function M01 (conditional stop), it
analyzes the status of this input. If high (24V), the CNC will interrupt the execution of
the program.
By the same token, every time the CNC must execute a conditional block, it will analyze
the status of this input and it will execute the block if this input is high (24V) or skip it
if low (0V).
If while in the JOG mode, this input is set high, the CNC will behave as a DRO.
However, although the CNC has "freed" the axes, the electrical cabinet must disable
the axes so they can be moved manually.
This output is set high (24V) whenever the CNC is either in JOG or Play-Back mode.
This output is set high (24V) to indicate that the axis may be moved (brake off). When
low (0V), the axis must be braked.
M Strobe Pin 4
This output is set high when the activated BCD outputs (pins 20 through 27) correspond
to an auxiliary "M" function.
EMERGENCY Pin 5
When operating in Open Loop without servo systems, these outputs indicate the
feedrate to be selected (fast or slow) as well as the moving direction for the X axis.
When using the external operator panel "JOG 100", these inputs are treated differently
as described in its corresponding section later on in this chapter.
The CNC sets this output high (24V) to indicate that the X axis has reached its
programmed position.
There are several machine parameters to indicate the length of this signal, when to be
activated, etc. as described in the section on "Concepts" later on in this manual.
The CNC uses these outputs to indicate to the electrical cabinet that an M, S or T
function has been selected.
This information is BCD coded and the significance (weight) of each output is
expressed by the corresponding mnemonic.
For example, to select the first spindle speed range, the CNC sends the M41 code out
to the electrical cabinet.
Together with these signals, the CNC will activate the "M Strobe", "T Strobe" or "S
Strobe" output to indicate the type of function being selected.
These outputs provide the analog voltage for the X axis servo drive. The cable used for
this connection must be shielded.
These outputs provide the analog voltage for the Y axis servo drive. The cable used for
this connection must be shielded.
These outputs provide the analog voltage for the spindle drive. The cable used for this
connection must be shielded.
Attention:
The machine manufacturer must comply with the EN 60204-1 (IEC-204-
1) regulation regarding the protection against electrical shock derived from
defective input/output connection with the external power supply when this
connector is not connected before turning the power supply on.
The axis moving distance is a result of multiplying the handwheel pulses by this factor.
Pin
JOG type Moving distance
24 15
0 0 Continuous
0 1 Incremental 0.001 mm or 0.0001"
1 0 Incremental 0.010 mm or 0.0010"
1 1 Incremental 0.100 mm or 0.0100" Pin activated = 1
deactivated = 0
When using the external operator panel "JOG 100", these inputs are treated differently
as described in the corresponding section of this chapter.
This input must be high (24V) as long as the Y axis Machine Reference (home) switch
is pressed.
When the input status is high, the value assigned to the parameter will be "1" and "0"
when the input status is low.
When using one axis with double feedback, input E5 determines whether the CNC uses
feedback connector A1 or A2 to close the position loop of the axis. See section
"Parameters related to Double Feedback" of this manual.
T Strobe Pin 4
This output is set high when the activated BCD outputs (pins 20 through 27 of
connector I/O1) correspond to a tool number (T function).
S Strobe Pin 6
This output is set high when the activated BCD outputs (pins 20 through 27 of
connector I/O1) correspond to a spindle speed (S function).
This output is set high (24V) to indicate that the axis may be moved (brake off). When
low (0V), the axis must be braked.
When operating in Open Loop without servo systems, these outputs indicate the
feedrate to be selected (fast or slow) as well as the moving direction for the X axis.
When using the external operator panel "JOG 100", the "fast Y / JOG" input (pin 3)
is treated differently as described in its corresponding section later on in this chapter.
The CNC sets this output high (24V) to indicate that the Y axis has reached its
programmed position.
There are several machine parameters to indicate the length of this signal, when to be
activated, etc. as described in the section on "Concepts" later on in this manual.
AUTOMATIC Pin 10
This output is set high whenever the Automatic operating mode is selected.
When the "JOG 100" external operator panel is used, one has to:
The "JOG 100" must be connected to the CNC via connector "J2" as shown here.
It is also possible to use connectors "J1" and "J3" to utilize external control keys. Connector
"J4" is not being used at this time.
Connector J1 Connector J3
Pin Function Pin Function
1 M3 (Spindle clockwise) 1 X+ Key
2 M4 (Spindle counter-clockwise) 2 X- Key
3 M5 (Spindle stop) 3 Y+ Key
4 JOG/CNC Selector 4 Y- Key
5 Not being used 5 Not being used
6 Common 6 Common
When the switch is at the CNC position, it recovers its normal operation enabling the whole
CNC keyboard.
Regardless of the selected switch position, each one of the external keys allow governing
the machine at all times as follows:
KEY COMMAND
For this purpose machine parameter "P101(1)=1" must be used as well as making the
following connections:
Notes: The feedrate of the axes, FEED, is 100% fixed and it is not possible to operate in
incremental mode (JOG) nor use an electronic handwheel.
The nomenclature "I/O 1 (6)" means that pin 6 of I/O 1 connector must be connected.
Attention:
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.5
ft) off the floor.
Install this unit in the proper place
It is recommended to install the CNC away from coolants, chemical
products, possible blows etc. which could damage it.
RC connected as close as possible to the coils. Their approximate values should be:
R 220 Ohms/1W
C 0,2 µF/600V
* A.C. motors.
R 300 Ohms/6W
C 0,47µF/600V
Ground connection.
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.
Even when a proper ground connection reduces the effects of electrical interference
(noise), the signal cables require additional protection.
This is generally achieved by using twisted-pair cables which are also covered with
anti-static 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 the CNC's ground points.
When a second point is necessary, it is recommended to join both points with a cable
whose section is not smaller than 8 mm² (or 2 cables of 4 mm²).
Verify that the impedance between the central point of each connector housing and the
main ground point is less than 1 Ohm.
Chassis
Ground
Ground (for safety)
These digital outputs, with galvanic isolation by optocouplers, can commutate D.C.
voltages supplied by the electrical cabinet of the machine.
The external D.C. power supply used to power the digital outputs must be regulated.
Nominal voltage: +24 Vdc Voltage range: +18 Vdc to +30 Vdc.
All of them are galvanically isolated from the outside world by optocouplers.
Attention:
The external 24V power supply used for the digital inputs and outputs must
be regulated.
The 0V point of this power supply must be connected to the main ground point
of the electrical cabinet.
It is highly recommended to use the shielded cable connecting the shield to the corresponding
pin of the connector.
Attention:
It is recommended to adjust the servo drives so their maximum feedrate (G00)
is obtained at ±9.5 V.
Connector A1 is used for the X axis feedback signals and it accepts sine-wave and double-
ended (differential) square-wave signals.
Connector A2 is used for the feedback signals from the Y axis or from the handwheel and
it accepts sine-wave and double-ended (differential) square-wave signals.
It is recommended to use shielded cables for their connection connecting the shield to the
corresponding pin of the connector (at the CNC side).
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.
Verify that the 24V external power supply used for the digital inputs and outputs is
REGULATED and that its 0V are connected to the Main Ground Point.
DO NOT connect or disconnect these cables to/from the CNC when the CNC is on.
Look for short-circuits in all connectors (inputs, outputs, axes, feedback, etc.) BEFORE
supplying power to them.
2.3.2 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 feedback dip-switches for each axis are set according to the type of feedback
signal being used.
Being the CNC disconnected, power the electrical cabinet and verify that it responds
properly.
Verify that there is proper voltage between the pins corresponding to 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.
With the motors decoupled from the axes, verify that the system consisting of drive, motor
and tacho is operating properly.
After a self-test and depending on the setting of machine parameter "P35", the CNC will
get into either the automatic or the jog mode. If there is any problem, the CNC will display
the corresponding error message.
The bottom display shows the status of the first group of 8 inputs (INP).
The CNC will show dynamically at all times the status of these inputs. To check a particular
one, actuate its corresponding external push-button or switch and watch the status of its
corresponding digit on the LED display.
A value of "1" indicates that the corresponding input is receiving 24V. If not, it will show
a value of "0".
By pressing [A+] This display shows the next group of 8 inputs (INP).
Digit Corresponding Input Pin
8 External feedrate override 2 11 (I/O1)
7 External feedrate override 1 10 (I/O1)
6 X axis feedback error
5 Y axis feedback error
4 X axis sine-wave feedback alarm
3 Y axis sine-wave feedback alarm
2 Over-temperature
1 Not being used at this time
To check a particular output, select it by means of the up and down arrow keys.
Once the desired output is selected, one may activate it by pressing [1] or deactivate it by
pressing [0].
Several outputs may be ON at the same time and they will all provide 24V DC at their
corresponding pins.
By pressing [A+], this display shows the next group of 8 outputs (OUT).
Digit Corresponding Output Pin
8 MST80 20 (I/O1)
7 MST40 21 (I/O1)
6 MST20 22 (I/O1)
5 MST10 23 (I/O1)
4 MST8 24 (I/O1)
3 MST4 25 (I/O1)
2 MST2 26 (I/O1)
1 MST1 27 (I/O1)
By pressing [A+], if the CNC is an element of the Fagor Local Area Network (LAN), it
will show which other LAN elements are connected to each LAN node. Use the [A+] to
see the next node. The displayed data looks like this:
The CNC models: 82, 101S, 102 and 102S are considered by the LAN as members of the
same family. For this reason, it shows as "Nod.0? CN82.
By pressing [A+] again, all LED segments light up indicating the end of the system I/O test.
If [A+] is pressed again, the CNC will start the system I/O test all over.
The Emergency Input of the CNC is called EMERGENCY STOP (E-STOP) and
corresponds to pin 14 of connector I/O1. This input must normally have 24V DC.
The CNC processes this signal directly, therefore, whenever these 24V disappear, it will
issue Error 17), it will deactivate the axes enables and cancel the analog voltages for all the
axes and the spindle. It does NOT imply the emergency output (pin 5).
The electrical cabinet interface must take into account all the external elements that could
cause this error.
On the other hand, whenever a CNC detects an internal emergency error, it will activate the
EMERGENCY OUTPUT at pin 5 of connector I/O1.
Some of the internal causes which can activate this output are:
European Style:
Attention:
All unused machine parameters must be set to "0" to guarantee the proper
functioning of this CNC
Please note that some of the machine parameters mentioned here are
described in greater detail in the chapter on "CONCEPTS" in this manual.
3.1 INTRODUCTION
On power-up, the CNC performs a system hardware test. When completed, depending on
the value set for machine parameter "P35", it gets either in automatic or in Jog mode. In case
of any error, it displays the corresponding error number.
The CNC must "know" the specific data for the machine such as feedrates, acceleration
ramps, feedback devices, etc.
This data is determined by the machine manufacturer and may be input via keyboard or via
the RS232C serial line by setting the machine parameters.
To enter the machine parameter values via keyboard, press the following keystroke
sequence:
The top display will show the machine parameter number (0) and the bottom one will show
its contents.
* Press [CL] twice to clear the current display, key in the desired parameter number and,
then, press [RECALL].
Pressing [CL] again will clear the parameter number appearing on the top display.
Depending on the type of machine parameter selected, it will take one of the following
types of values:
If the CNC does not assume this new value and it shows the previous one, instead; it means
that the machine parameter table is locked.
[AUX MODE] [1] [CL] [CL] [9] [9] [9] [A+] [0] [ENTER]
[AUX MODE] [1] [CL] [CL] [9] [9] [9] [A+] [1] [ENTER]
Once the machine parameters have been set, the "RESET" key must be pressed or the
CNC must be powered down and back up in order for these new values to be assumed by
the CNC.
When describing the various parameters throughout this manual, every time a parameter bit
is referred to, the following nomenclature will be used:
P60 = 0 0 0 0 1 1 1 1
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Bit 8
It determines the measuring units assumed by the CNC for machine parameters, tool
tables and work units at power-up and after emergency or RESET.
0 = Millimeters
1 = Inches.
It determines whether the CNC will display the real axis position or their theoretical
position.
0 = Radius.
1 = Diameter.
It indicates whether the Automatic or the Jog mode will be selected by the CNC on
power-up.
* If set to 899 or less, the CNC will get in Automatic mode and the block number
indicated here will be selected.
For example, if P35=10, the CNC will get in Automatic mode block 10 will be
selected in such a way that if is pressed, the CNC will start executing the
program from this block on.
It indicates whether the CNC uses its internal table as a tool table or as Zero Offset table.
0 = Tool table.
1 = Zero Offset table.
The chapter on "The Aux mode of operation" of the operating manual describes the
way to access this table and use it.
It indicates the block number from which the program will be write-protected.
* A value of "0" means that it is not protected, therefore, the whole program may be
edited.
* If set to a value other than "0", for example P71=100, it means that block 100 and
all the following ones cannot be edited.
When executing a G92 as coordinate preset, the CNC stores the distance from the new
Part Zero to the Machine Reference Zero (home).
In certain applications such as cyclic rollers, when presetting many times, this distance
may be too great and exceed the storage capacity of the CNC.
On this type of applications, it is possible to use function G92 to "set" the coordinates
instead of "presetting" them without storing its distance from home.
Possible values:
Takes a sinusoidal signal and differential square-wave signal, and the machine
parameter "P59(2)", section 4.1 has to be properly selected, as well as the two
microswitches located beside the feedback input.
Connector A2. Used to connect the feedback input of axis Y, of the electronic handwheel
or the spindle when there is rigid tapping, G33, but only for one of these devices.
Takes a sinusoidal signal and differential square-wave signal, and the machine
parameter "P59(3)", section 4.1 has to be properly selected, as well as the two
microswitches located beside the feedback input.
Connector I/O2, pins 17 and 25. Used to connect the feedback input of the auxiliary
handwheel.
The auxiliary handwheel must be used when the feedback inputs A1 and A2 are
occupied, either because the machine has 2 axes or because it has one axis and a spindle.
CONFIGURATION PARAMETERS
Rigid Auxiliary
X Axis Y Axis Handwheel P60(8) P63(3) P60(4) P102(8)
tapping Handwheel
Yes -- -- -- -- 1 0 0 0
Yes Yes -- -- -- 0 0 0 0
Yes -- Yes -- -- 0 1 0 0
Yes -- -- Yes -- 1 0 1 0
Yes Yes -- -- Yes 0 0 1 1
Yes -- Yes -- Yes 0 1 1 1
When using an electronic handwheel, there can be no Y axis nor rigid tapping.
Consequently, machine parameter P60(8) must be set to "1" and P63(3) to "0."
The auxiliary handwheel must be used when feedback inputs A1 and A2 are occupied,
either because the machine has 2 axes or because it has one axis and a spindle.
When the machine has an auxiliary handwheel "P102(8)=1", "P60(4)=1" must be set
as well as connecting the handwheel feedback signals to pins 17 and 25 of connector
I/O2
When the machine uses rigid tapping it cannot use an electronic handwheel, meaning
that P60(8)=0 and P60(4)=0 must be set.
When using rigid tapping, the spindle feedback is connected to input A2 and the spindle
analog output is provided via pins 34 and 35 of connector I/O1.
It is also necessary to set parameter P77 with the number of pulses (lines/turn) of the
spindle encoder.
This parameter must be set when controlling the spindle (as for rigid tapping, G33, etc).
It indicates the number of lines per turn of the rotary encoder of the spindle and it must
be given by an integer between 0 and 9999.
It indicates whether the CNC treats the corresponding axis as a normal axis or as a DRO
axis (to be moved manually).
Attention:
When operating with maintained decoded "M" functions, it is better NOT to
generate BCD coded T functions [P61(5)=1] since this would cancel the M
function outputs.
The CNC will activate the BCD outputs corresponding to the "M", "S" or "T"
function for 200 milliseconds. Then, if the Feedhold signal is not high (24V), it will
wait for it to become high and consider the execution of the M, S, T function
concluded.
If the Feedhold signal stays high (never goes low), the BCD outputs for the auxiliary
functions will only be kept active for 200 milliseconds.
Next, if the Feedhold signal is high (24V), the CNC waits for it to go low (0V) and,
once Feedhold is low, it keeps the Strobe signal high for another 100 ms.
Once the Strobe signal is off, the BCD outputs for M, S or T remain active for another
50 milliseconds.
After these 50 ms, if the Feedhold signal is not high, the CNC will wait for it to
become high in order to consider the execution of the M, S, T function concluded.
With the HOME function, it is possible to make the CNC switch into Automatic mode,
regardless of its current operating mode, and start executing the program from the block
number indicated by this parameter (P30) whenever the RESET input is activated (pin
12 of connector I/O1).
If while executing a program, the RESET input is activated, the CNC interrupts the
program and goes on to executing from the block indicated by "P30".
If "P30" is allocated a value greater than 899, the CNC ignores the HOME function and
the RESET input behaves as such.
It indicates whether the HOME function is active in all operating modes or just during
program execution.
0 = Accessible.
1 = Not accessible.
0 = Accessible.
1 = Not accessible.
0 = Accessible.
1 = Not accessible.
Even when setting this parameter to "1", it is possible to access the AUX-MODE by
holding the corresponding key pressed for about 4 seconds.
0 = Accessible.
1 = Not accessible.
Indicates if the PLAY BACK operation mode allows all the functions defining a block
to be defined or if it only allows the definition of blocks which contain the coordinates
of axes X, Y.
The edition mode in Play-Back is explained in section 4.3 of the Operating manual.
0 = Accessible.
1 = Not accessible.
0 = Accessible.
1 = Not accessible.
0 = Accessible.
1 = Not accessible.
This parameters indicates how the CNC acts when executing a program in Automatic
mode.
P21(5) In Single block mode, the CNC displays the block to be executed
It indicates whether the CNC displays or not each block to be executed in Single block
mode or the motion block to be executed in Semi-automatic mode, "P23(3)=1",
It indicates whether the CNC increments or not the counter for number of work-pieces
(parts) every time an M30 is executed.
P60(1)Vectored G00
It indicates whether the G00 movements will be interpolated (reaching the end point at
the same time) or not.
0= Non vectored G00 (each axis arrives to the end point at its own speed).
1= Vectored G00 (all axes reach the end point at the same time).
It indicates whether the CNC assumes G90 (absolute coordinate programming) or G91
(incremental coordinate programming) on power-up, after an M30, an EMERGENCY
or RESET
It indicates whether or not an M function is generated when switching to Jog and Play-
back modes.
0= No M30 is generated
1= An M30 is generated.
P101(2) The CNC limits the maximum Manual Feedrate Override to 100%
When not having an external operator panel "JOG 100", it is possible to override the
feedrate through the inputs at pins 10 and 11 of connector I/O1.
This parameter indicates whether it is possible or not to apply a 200% override when
using these feedrate override inputs.
Atention:
Please note that some of the machine parameters mentioned here are
described in greater detail in the chapters on "Power and machine interface"
and on "Concepts" in this manual.
They define the sign of the analog voltage. If correct, leave them as they are and
change them if otherwise.
They define the counting direction for the axes. If correct, leave them as they are and
change them if otherwise.
Bear in mind that when modifying this parameter, the one corresponding to the sign
of the analog voltage must also be changed to prevent the axis from running away
"P22(1) for X and P62(1)" for Y.
They define the jogging direction for the axes (in JOG mode) when using the JOG
keys of the Operator Panel.
They define, always in microns, the feedback resolution for each axis.
The feedback unit must be metric. Which means that each feedback pulse must be
assigned a non-decimal distance value in microns.
For example, when a 0.0001 inch/pulse resolution is desired, its equivalent metric
value of 2.54µm/pulse cannot be set.
This problem may be solved by using "inch-pitch" encoders such as 635 lines/rev.,
1270 lines/rev. etc. or the feedback correction factor described later on in this
manual.
They indicate whether the feedback signals used for each axis are square-wave or
sine-wave.
They indicate whether the CNC applies a x2 or x4 multiplying factor to the feedback
pulses.
When using FAGOR linear transducers (scales) set these parameters to "0".
* When using an inch-type feedback system (versus metric) where the values required
for axis resolution machine parameters P9 and P49 do not have an exact metric
equivalent.
* When using an odd pitch leadscrew forcing us to set P9 or P49 to an approximate value.
They define the measuring error, in MICRONS, incurred every 100 millimeters of
displayed distance.
Distance displayed by the CNC Actual measured travel Error P29 P63(8)
Since P9 must be set to an integer value (non-decimal), P9 may be set to the closest value
(P9=2) and P23(8) will be set momentarily to "0" to work in millimeters.
We move the axis until the unit displays a distance of 100,000 microns (100 mm) and
we observe that the actual travelled distance is 127,000 microns.
P23(8) may now be set back to "1" to work in inches (the displayed units, that is).
A paper feeder uses an 80mm diameter roller. There is an 1:15 gear ratio between the
motor and the roller.
For every turn of the roller, the paper moves 251.327 mm.
The motor must make 15 turns for every turn of the roller. Therefore, the motor
encoder will output 15 x 1,000 = 15,000 pulses.
If the CNC applies a x4 multiplier to these pulses, P21(6)=0, The number of pulses
per roller turn will be 15,000 x 4 = 60,000 pulses.
Therefore, the linear paper feeding distance per encoder pulse is:
For every turn of the roller, the paper moves 251.327 mm.
The motor must make 15 turns for every turn of the roller. Therefore, the motor
encoder will output 15 x 1,500 = 225,000 pulses.
If the CNC applies a x4 multiplier to these pulses, P21(6)=0, The number of pulses
per roller turn will be 225,000 x 4 = 90,000 pulses.
Therefore, the linear paper feeding distance per encoder pulse is:
Where:
They define the area, in front of the programmed coordinate and behind it, where the
CNC considers the axis to be in position
These parameters cannot be set to greater values than those of P27, P67.
This CNC issues error 16 (X axis out of control) or error 38 (Y axis out of control) in
the following instances:
* If during the time period indicated by this parameter, the axis feedrate is out of the
50-to-200% range of the theoretical feedrate.
* If during the time period indicated by this parameter, the axis moving direction
does not correspond to the sign of the analog output.
* If during the time period indicated by this parameter and while the brake signal is
on, the axis drifts more than 16 times the in-position zone (P28, P68).
This machine parameter (P12) must be set to an integer value between 0 and 255.
Where:
Value of 0 = The feedrate is not monitored
Value of 1 = 12 msec.
Value of 10 = 120 msec.
Value of 255 = 3060 msec.
By setting this parameter to "1", the axis feedrates will always be ten times their
programmed values.
It must be used when the axis feedrates exceed 65m/min. or 2580 inches/min.
P20(8)=0 Axis feedrates as programmed and their limits as set by machine parameters
P27, P67, P24, P64.
The actual feedrate limits applied will be ten times the values set by P27,
P67, P24, P64,
For example, if P27 = 10000 mm/min. The actual limit = 100000 mm/
min.
With this parameter, the actual axis feedrates may be made to be "n" times lower than
their programmed values.
P18=0 Axis feedrates as programmed and their limits as set by machine parameters
P27, P67, P24, P64.
P18>0 The actual axis feedrates will be the results of dividing the selected feedrate
by the "n" factor set in this parameter.
Atention:
The value for P18 cannot exceed 256/P9 (feedback resolution for X) or
256/P49 (feedback resolution for Y).
With functions G61 and G62 it is possible to change the setting of P18 by
program.
With this CNC, it is possible to control the axes either in Closed Loop, in Open Loop with
Servosystems or in Open Loop without Servosystems.
Closed Positioning Loop means that the CNC controls the actual axis position and
feedrate at all times.
To operate in this mode, set P23(4)=1 (Closed loop) and P23(6)=0 for the CNC to
output an analog voltage for the servo motors.
The parameters related to proportional gain and acc./dec. must also be set.
Therefore, Non-servo-controlled Open Positioning Loop means that the CNC only
controls the position of the axis while carrying out the programmed movement. Once
the programmed end point is reached, the CNC no longer controls the axis.
To operate in this mode, set P23(4)=0 (Open loop) and P23(6)=" for the CNC to output
the "Fast", "Slow" and "moving direction" indicating signals.
The parameters determining the braking distance for each axis must also be set.
When positioning, the CNC outputs an analog voltage proportional to the programmed
F and it will be up to the servo drive to control the actual axis speed.
For example, if the maximum feedrate (set by parameter) is F10000 and F5000 is
programmed, the CNC will output 5V.
When the axis enters the brake zone, the CNC switches to Closed Loop taking over
the control of the axis from the servo drive until the target point is reached.
To operate in this mode, set P23(4)=0 (Open loop), P23(6)=0 (analog output and
servo-motor).
The parameters defining the braking distance (for the approach stage) as well as those
related to proportional gain, for the final positioning stage, must also be set.
They set the analog output corresponding to 1 micron of following error (axis lag).
They define the following error value from where the proportional gain K2 takes over
and K1 is no longer applied.
They set the analog output corresponding to 1 micron of following error (axis lag) to
be applied beyond the gain break point.
0 = In mV/micron.
1 = In mV/pulse.
In order to avoid abrupt start-ups and brakes of the machine, it is possible to define
some acceleration and deceleration ramps.
Parameters P16 and P17 determine the time each axis takes to reach the feedrate set
by machine parameters P27, P67 (acceleration stage).
Parameters P91 and P92 determine the time each axis takes to stop (deceleration
stage).
When "P91=0", the acc./dec. ramp for the X axis is determined by "P16", and
when "P92=0", the acc./dec. ramp for the Y axis is determined by "P17".
This type of acc./dec. is mainly applied on movements carried out in G00 or F00
although they may also be used on G01 movements. This type of acc./dec. is not
applied on circular interpolations (G02, G03).
When moving in vectored G00 or in a linear interpolation G01 at F0, the CNC will
apply, to the resulting path, the greatest one of the acc./dec. times set for the involved
axes.
It determines whether the CNC applies the acc./dec. ramps set by P16, P17, P91, P92
only when programming F0 in a G01 move or for any F values (besides G00 moves).
It indicates whether acc./dec. ramps are applied on G05 transitions between blocks or
not.
This type of gain, which is proportional to the feedrate, is applied onto all rapid
positioning moves (G00) and linear interpolations (G01) at F0.
It helps improve the positioning loop by minimizing the amount of following error
(axis lag). It must be used when using acc./dec.
These parameters determine the percentage of the analog output based on the
programmed feedrate.
It is given by an integer value between 0 and 255.
The value which will be added to the following error is (Kf x F/40), where F is the
programmed feedrate and Kf is the value of this parameter P75 or P76.
The CNC will apply the proportional gain (K1 and K2) to the value resulting from the
addition of the following error plus the value selected by means of the Feed-forward
gain.
When the value resulting from the addition is smaller than the value assigned to the
gain-break point, the CNC will apply the following formula:
And when the value resulting from the addition is greater than the value assigned to
the gain-break point:
Analog (mV) = (K1 x Ep) + {K2 x [Following Error + (Kf x F/40) - Ep]}
Where “Ep” is the gain-break point value assigned to the corresponding parameter.
It helps improve the positioning loop of the axes by rounding the corners of the
trapezoidal ramp.
Value of 0 = 24 milliseconds
Value of 1 = 48 milliseconds
Value of 2 = 96 milliseconds
Value of 3 = 192 milliseconds
Value > 3 = 192 milliseconds
When the motor is servo-controlled, the CNC must provide an analog output, P23(6)=0,
and when the motor is not servo-controlled, the CNC must provide the FAST, SLOW and
MOVING DIRECTION signals, P23(6)=1.
It indicates the distance required by the axis to reach its maximum feedrate, P27
and P67, as well as the braking distance from this maximum feedrate.
When the braking distance is greater than half the programmed distance, the block
will be executed in closed loop.
When using the discreet signals: Fast, Slow and Moving direction, P23(6)=1
It only affects the braking stage and it indicates how far ahead of the programmed
target point will the slow feed be applied.
P31 T1. Delay between brake signal and analog output or Fast signal.
It indicates, in milliseconds, the delay applied from the time the brake signal is
deactivated until the axes start moving.
P32, P72 T2. Delay between in-position and brake signal for X, Y
It indicates, in milliseconds, the delay applied from the time the axis enters the
in-position zone until the time the brake signal is activated.
P33, P73 T3. Delay between Brake signal and In-position signal for X, Y
It indicates, in milliseconds, the delay applied from the time the brake signal is
activated until the time the In-position signal for that axis is activated.
It indicates, in milliseconds, the length of time the in-position signal of the axis stays on.
Possible values: 0 through 65535 milliseconds.
1.- Sets the corresponding axis brake signal high (pin 3 of I/O1 for X, pin 7 of I/O2 for Y).
2.- Applies the delay T1 set by P31.
3.- Outputs the analog voltage via pins 30, 31, 32, 33 of I/O1 to move the axes.
4.- When the axis enters the in-position zone, "P28, P68", the CNC---
5.- Applies the delay T2 set by P32 for X, P72 for Y.
6.- Sets the corresponding brake signal low, pin 3 of I/O1 or pin 7 of I/O2.
7.- Applies the delay T3 set by P33 for X, P73 for Y
8.- Sets the corresponding In-position signal high, pin 9 of I/O1 for X, of I/O2 for Y.
This signal stays ON for the time period T4 set by P34 for X, P74 for Y.
They define the home coordinate with respect to Machine Reference Zero.
0 = Positive direction.
1 = Negative direction.
They indicate the type of marker pulse (Io) provided by the feedback device.
They set the homing feedrate until the home switch is pressed.
Once the home switch is pressed, the axis will move at 100 mm/min. (3.9 inches/min.)
until the marker pulse of the feedback device is detected.
0 = It is not required.
1 = It is required.
It indicates whether the CNC must activate the IN-POSITION signal of the axes (pin
9 of I/O1 and pin 9 of I/O2) after executing function G74 (Home Search).
0 = It is activated.
1 = It is not activated.
It indicates in which order the axes will move when function G74 is executed alone
in a block (without indicating the axes. For example: N20 G74).
They define the positive and negative travel limits for the axes. Each one of them
indicates the distance from the Machine Reference Zero (home) to the corresponding
travel limit.
For safety reasons, in JOG mode, the actual axis travel is limited to 100 microns
(0.003937 inch) short of these parameter values.
If both travel limits for an axis are set to "0", the CNC will assume that no travel limits
are to be observed.
They determine the amount of leadscrew backlash to be compensated for. When using
linear transducers (scales), set the pertinent parameter to "0".
This additional analog pulse may be used to make up for the possible leadscrew
backlash when reversing the axis moving direction.
Every time the axis reverses its moving direction, the CNC will apply its corresponding
analog output plus the additional analog pulse indicated here. This additional pulse
will last 48 milliseconds.
When using a rotary feedback encoder, this parameter must be set to "0".
When setting this parameter to "1", the following points must be observed:
* The display and programming format for axis coordinates will now be: ±3.4 in mm
or ±2.5 in inches.
* The values of parameters P9 and P49 indicating the resolution of the axes will now
be expressed in the new units:
* The K1, K2 and Feed-forward gains will be calculated bearing in mind that the
following error is now expressed in 0.0001mm and 0.00001 inch units.
In other words, K1 and K2 (parameters P10, P11, P50 and P51) are now in
"mV/0.0001mm".
The K1 and K2 values are not affected when set for mV/pulse.
* The values of machine parameters P26 and P66 indicating the gain break-point for
each axis will also be given in the new units.
* The values of machine parameters P14 and P54 indicating the leadscrew backlash
as well as P28 and P68 indicating the in-position zone for each axis will also be
given in the new units.
P28 = 100 indicates that the in-position zone for the X axis is 0.0100 mm
P36, P37, P38, P39 Maximum spindle speed for RANGE (gear) 1, 2, 3 and 4
They indicate the maximum spindle speed assigned to each range (gear).
It is given in revolutions per minute and they accept any integer value between 0 and
9999.
The value assigned to P36 must correspond to the lowest range and that of P39 to the
highest range. When not using all the ranges, set P36 to the lowest range and the unused
ones to the highest speed value.
Whenever a spindle speed is programmed which involves a range change, the CNC will
automatically output its corresponding M code (M41, M42, M43, M44).
P101(4) In parametric programming the CNC takes into account the S signal
This parameter indicates how the CNC operates when function S is programmed by
parametric assignation.
0 = Does not take into account the value assigned to the arithmetic parameter.
Example: When P20 = 100 and P21 = -100, the CNC does the following
when blocks S P20 or S P21 are executed.
In both cases block S100 is executed.
It indicates whether the spindle speed output is an analog voltage via pins 34 and 35 of
I/O1 or BCD-coded signals via pins 20 through 27 of I/O1.
0 = Analog output.
1 = BCD-coded output.
If this parameter is set to "0", the CNC will output the BCD-coded value corresponding
to the programmed spindle speed "S" via pins 20 through 27 of connector I/O1 plus an
"S STROBE" pulse at pin 6 of connector I/O2.
The BCD value corresponding to the programmed S follows the chart below:
When selecting this type of spindle speed output, the CNC will provide the BCD value
corresponding to the programmed "S" at pins 20 through 27 of connector I/O1.
This BCD-coded output will be activated in two stages with a 100 msec. delay between
them. It will also send out an "S STROBE" pulse at each stage via pin 6 of connector
I/O2.
For example, When programming S1234, the CNC will output the value of 12 in the
first stage and the value of 34 in the second stage.
Example: S1234
Pin 1st stage 2nd stage Pin 1st stage 2nd stage
20 20 0 0
21 21 0 0
Thousands Tens
22 22 0 1
23 23 1 1
24 24 0 0
25 25 0 1
Hundreds Units
26 26 1 0
27 27 0 0
It indicates the communication speed (baudrate) used between the CNC and the
peripheral devices.
Typical values:
Possible values:
0 = Only the 7 least significant bits (out of 8) are used. Assign this value when
transmitting standard ASCII characters.
1 = All 8 bits of the transmitted character are used. Assign this value when
transmitting special characters (ASCII code over 127).
P59(5) Parity
0 = Odd parity.
1 = Even parity.
It indicates the number of stop bits used at the end of the transmitted word.
0 = 1 stop bit
1 = 2 stop bits
0 = No DNC.
1 = Yes, it does.
Page Chapter: 5 Section:
4 OTHER MACHINE PARAMETERS PARAMETERS RELATED TO
THE SERIAL LINE RS232C
5.3 PARAMETERS RELATED TO THE FAGOR LOCAL AREA NETWORK
The chapter on "Fagor Local Area Network (LAN)" in this manual describes
how to use the machine parameters indicated here.
When the CNC is the main node, this parameter indicates how many more nodes are
interconnected in the LAN and when the CNC is not the main node, it indicates the node
number it occupies in the LAN.
Examples:
A Fagor LAN consists of 2 PLC64 (nodes 0 and 1) and a Fagor102 CNC (node 2).
A Fagor LAN consists of a Fagor102 CNC (node 0) and 2 PLC64 (nodes 1 and 2).
If there is no PLC64 associated with the CNC, this parameter must be set to a value of
15 or greater.
It indicates the register number of the PLC64 receiving the BCD codes for the M
functions.
The BCD codes for the S and T functions will be loaded into the next two registers.
This parameter must be set to an integer value greater than 10 and smaller than 253.
Example: To send the BCD codes for the M, S, T functions out to a PLC64 connected
to node 3 by loading this data into registers R20, R21 and R22:
Any element installed in the LAN may read the contents of a machine parameter and,
depending on the setting of this parameter by the manufacturer, get more information
about the CNC and the machine.
Attention:
This machine parameter has no effect on the operation of the CNC.
Feedback connector A1 is used to measure the actual movement of the material (material
encoder) and feedback connector A2 to connect the monitoring encoder of the feeding
motor (motor encoder).
When using this Double Feedback feature and during set-up or sheetmetal coil
replacement, it may be interesting to have the CNC assume feedback input A2 as its
own (which is normally used to monitor the sheetmetal slippage).
This input must be low (0V) for normal operation and high (24V) during set-up, coil
replacement, etc.
When these two are not the same, it indicates that the sheetmetal is either loose or tight.
With this parameter, it is possible to set the maximum permissible difference (slippage)
between the two measurements and it is expressed in microns.
When the actual difference exceeds this parameter (P110) value, the CNC will issue the
corresponding error message.
When input E5=24V, the CNC does not monitor the slippage either.
Attention:
In order to be able to monitor double feedback, P21(6) and P61(6), multiplying
factor for the axis feedback pulses, must be set to the same value.
When you wish to use this feature the following conditions must be satisfied:
- The machine cannot use a Y axis, and feedback connector A2 is used as feedback
input for the external device.
- The external device must have an encoder and the machine parameter "P77" must
be set with the number of pulses of said encoder.
Should be used when working with function G34 and having an optical reader
available.
The optical reader measures the distance between two consecutive marks on the
material and the CNC compares this distance with the pass fixed in function G34.
After comparing the distance measured with the pass fixed in function G34, the CNC
does the following:
If the difference is over 100 microns and under the value assigned to parameter P81, the
CNC automatically offsets the value fixed in function G34 X????.
If the difference is greater than the value assigned to parameter P81, the CNC displays
error 53.
Machine parameter P63(3) indicates if the measuring probe works normally high (positive
pulse) or low (negative pulse). See section 3.5 of this manual.
The machine will move until it receives the external signal from the probe, and at this time
the CNC will take the block as finished, assuming the real position the axes are in at that
moment as the theoretical position of the axes.
When the probing movement is done at high speeds the stop may turn out to be rather
brusque, making the axis draw back to remain in position.
This parameter tells the CNC the distance the axis should move after the probe signal
reaches it, thus making it stop smoothly.
P82 The distance the axis covers after receiving the signal from the probe.
In certain applications, after the part moves, its position has to be compensated by means
of an external device which is not controlled by the CNC.
If function G47 is executed the CNC does not take into account the possible movements
caused by said device, that is, the feedback pulses are inhibited.
In certain applications such as presses, folders, pipe metal formers etc., the part
undergoes a movement or pull during its machining process.
When the position loop is closed, in normal working mode, the CNC controls the axis
feedrate at all times.
When the position loop is open the axis operates in DRO mode, meaning that the CNC
does not control the feedrate of the axes but takes into account their movements.
The CNC uses its internal table as zero offset table and assigns address in 10 of this table
to function G60.
The programming format is G60 X Y. Values X and Y indicate at what distance from
home the new part zero is required to be located.
The CNC takes into account the dimensions of the punch during program execution,
preventing its extreme values from exceeding the travel limits fixed by machine
parameter.
The programming format is G60 X Y. Values X and Y indicate half of the punch
dimensions according to axes X and Y.
When the punch is round values X and Y coincide with the punch radius.
Note: If machine parameters "P60(5)=1" and "P101(7)=1" are set, function G60 acts as
loading the punch dimensions.
Attention:
Attention:
It is recommended to save the machine parameters of this CNC at a peripheral
device or computer in order to be able to recover them after their accidental
loss.
Connector A1.
Connector A2.
Used to connect the feedback device of the Y axis, the electronic handwheel or the
spindle when using rigid tapping, G33, etc.
The auxiliary handwheel should be used when feedback inputs A1 and A2 are
occupied either because the machine has 2 axes or because it has one axis and a spindle.
CONFIGURATION PARAMETERS
Rigid Auxiliary
X Axis Y Axis Handwheel P60(8) P63(3) P60(4) P102(8)
tapping Handwheel
Yes -- -- -- -- 1 0 0 0
Yes Yes -- -- -- 0 0 0 0
Yes -- Yes -- -- 0 1 0 0
Yes -- -- Yes -- 1 0 1 0
Yes Yes -- -- Yes 0 0 1 1
Yes -- Yes -- Yes 0 1 1 1
The maximum counting frequency for sine-wave feedback signals is 50KHz (50,000
pulses/sec.)
The maximum feedrate for each axis will depend upon the selected resolution
(machine parameters "P9, P49") and the period (pitch) of the feedback signal being
used.
Example:
When using a linear scale with a 20 µm pitch, the maximum feedrate for the axis
will be:
Square-wave signals
The maximum feedrate for each linear axis will depend upon the selected resolution
(machine parameters "P9, P49") and the period (pitch) of the feedback signal being
used.
When using FAGOR linear scales, the maximum feedrate is limited by its own
characteristics to 60 m/min. (2362 inches/min.).
When using FAGOR rotary encoders, the limitation is set by the maximum number of
pulses delivered by the encoder, which is 200KHz.
6,000,000 pulses/min.
Maximum encoder rpm =
Number of pulses/turn (encoder line count)
The resolution used on each axis indicates the minimum variation distinguishable by the
feedback device. It is given in microns or 0.0001 inch units.
The machine parameters used to define the axis resolution are the following:
P9, P49 They set the counting (feedback) resolution for each axis.
P59(2), P59(3) They set the type of feedback signal being used (square-wave or sine-
wave) for each axis.
P21(6), P61(6) They indicate the multiplying factor, x2 or x4, to be applied to the
feedback signals of each axis.
P29, P69 They indicate the feedback correction factor being applied on each axis.
P63(8), P63(7) They indicate the sign of the feedback correction factor being applied
on each axis.
We want to obtain a 2µm resolution with a square-wave encoder mounted onto the X
axis whose leadscrew has a 5mm/turn pitch.
Since the multiplying factor being applied by the CNC may be either x2 or x4
(depending on machine parameter setting). The resulting encoder line count will be:
Leadscrew pitch
Number of pulses =
Multiplying Factor x Resolution
5000 µm/turn
Number of pulses = = 625 pulses/turn.
4 x 2 µm/pulse
5000 µm/turn
Number of pulses = = 1250 pulses/turn.
2 x 2 µm/pulse
For a x4 factor:
200,000 pulses/sec.
Max. Feed = x 5 mm/turn = 1600 mm/sec. = 96 m/min.
625 pulses/turn
For a x2 factor:
200,000 pulses/sec.
Max. Feed = x 5 mm/turn = 800 mm/sec. = 48 m/min.
1250 pulses/turn
A paper feeder uses an 80mm diameter roller. There is an 1:15 gear ration between the
motor and the roller.
For every turn of the roller, the paper moves 251.327 mm.
The motor must make 15 turns for every turn of the roller. Therefore, the motor
encoder will output 15 x 1,000 = 15,000 pulses.
Therefore, the linear paper feeding distance per encoder pulse is:
For every turn of the roller, the paper moves 251.327 mm.
The motor must make 15 turns for every turn of the roller. Therefore, the motor
encoder will output 15 x 1,500 = 225,000 pulses.
Therefore, the linear paper feeding distance per encoder pulse is:
Considering that the CNC applies either a x2 or x4 multiplying factor (set by machine
parameter), a linear scale must be chosen whose pitch is 2 or 4 times the desired
resolution.
When using FAGOR linear transducers (scales) with 20 µm pitch, the following
resolutions may be obtained: 5µm (20/4), 10µm (20/2).
Therefore:
5 µm 5 0 0 0 0 0
10 µm 10 0 1 0 0 0
Since the counting frequency of the CNC is limited to 200 KHz for square-wave
signals, the maximum feedrate obtainable with a 20µm-pitch scale is:
However, if FAGOR linear scales are used, the maximum feedrate is limited (by
the scales) to 60m/min (2362 inches/min.).
The CNC internally applies a x5 factor to sine-wave feedback signals plus another x2
or x4 (set by machine parameter).
With a 20µm-pitch FAGOR linear scale, it is possible to obtain 1µm and 2µm
resolutions.
Therefore :
1 µm 1 1 0 0 0 0
2 µm 2 1 1 0 0 0
The counting frequency is limited to 50KHz for sine-wave signals. Therefore, the
maximum feedrate will be:
When using FAGOR linear scales, the feedrate is limited by their characteristics
to 60m/min. (2362 inches/min.).
The feedback resolution, parameter P9, must be set in millimeters. The metric
equivalent for 0.0001 inch is 0.00254 mm; thus, we set P9 to "2" (since it must be
an integer value) and we use the feedback correction factor, P29 and P63(8), as
follows:
Since the CNC applies a x2 or x4 multiplying factor, the required encoder will be:
Leadscrew pitch
Number of pulses =
Multiplying Factor x Resolution
For a x4 factor:
0.2 inch/turn
Number of pulses = = 500 pulses/turn
4 x 0.0001 inch/pulse
For a x2 factor:
0.2 inch/turn
Number of pulses = = 1000 pulses/turn
2 x 0.0001 inch/pulse
When using FAGOR encoders, the counting frequency is limited to 100 KHz
(although the CNC admits up to 200 KHz for square-wave signals). Consequently,
the maximum axis feedrate will be:
200,000 pulses/sec
Max. feed. = x 0.2 inches/turn
pulses/turn
A paper feeder uses an 3 inch diameter roller. There is an 1:15 gear ratio between the
motor and the roller.
For every turn of the roller, the paper moves 9.4248 inches.
The motor must make 15 turns for every turn of the roller. Therefore, the motor
encoder will output 15 x 1,000 = 15,000 pulses.
Therefore, the linear paper feeding distance per encoder pulse is:
For every turn of the roller, the paper moves 9.4248 inches.
The motor must make 15 turns for every turn of the roller. Therefore, the motor
encoder will output 15 x 12500 = 18750 pulses.
Therefore, the linear paper feeding distance per encoder pulse is:
We want to obtain a 0.005º resolution with a sine-wave encoder mounted onto the X
axis.
The CNC always applies a x5 multiplying factor to the sine-wave feedback pulses.
Plus, the CNC may apply an additional multiplying factor of either x2 or x4,
depending on the setting of machine parameter P21(6). The resulting encoder line
count will be:
360,000
Number of pulses = = 3600 pulses/turn.
5x4x5
360,000
Number of pulses = = 7200 pulses/turn.
5x2x5
50,000 pulses/sec.
Max. Speed =
pulses/turn
Before starting the adjustment of the axes, it is a good idea to move them close to the
middle of their travels placing the travel-limit switches (controlled by the electrical
cabinet) close to these points in order to avoid any damage to the machine.
After the machine parameters for the axes have been properly set, proceed with their
adjustment by following these suggestions:
* Connect the power output of the drive corresponding to the axis being adjusted.
In case of run-away, the CNC will display the relevant following error and the
machine parameter corresponding to the SIGN OF THE ANALOG VOLTAGE
will have to be changed. Machine parameters P22(1), P62(1).
* If the axis does not run away; but the direction of the move is not the desired one, the
machine parameter corresponding to the COUNTING DIRECTION [P22(2),
P62(2)] will have to be changed as well as that corresponding to the SIGN OF THE
ANALOG VOLTAGE [P22(1), P62(1)].
* If the counting direction is correct but the axis moves in the opposite direction to the
one indicated, change the axis machine parameter corresponding to the moving
direction [P23(2), P63(2)].
Attention:
It may be useful to set parameter P12 with a value other than "0" while
adjusting the axes.
* Disconnect the analog voltage input of the drive and short-circuit it with a wire
jumper.
* Turn the offset potentiometer of the drive until the displayed axis position stops
* Move the axis continuously back and forth either in JOG mode or by running a
program.
While the axis is moving, turn the offset potentiometer of the drive until the
amounts of following error obtained in both directions are the same.
The maximum feedrate can be calculated from the motor rpm, the gear ratios and the
type of leadscrew being used.
Move the axis continuously back and forth either in JOG mode or by running a
program.
While the axis is moving, measure the analog voltage coming out of the CNC
towards the servo drive and adjust the gain potentiometer at the servo drive (never
at the CNC) until this analog voltage reaches 9.5V.
With this CNC, it is possible to control the axes either in Closed Loop, in Open Loop with
Servo-systems or in Open Loop without Servo-systems.
Closed Positioning Loop means that the CNC controls the actual axis position and
feedrate at all times.
To operate in this mode, set P23(4)=1 (Closed loop) and P23(6)=0 for the CNC to
output an analog voltage for the servo motors.
The parameters related to proportional gain and acc./dec. must also be set.
Therefore, Non-servo-controlled Open Positioning Loop means that the CNC only
controls the position of the axis while carrying out the programmed movement. Once
the programmed end point is reached, the CNC no longer controls the axis.
To operate in this mode, set P23(4)=0 (Open loop) and P23(6)=" for the CNC to
output the "Fast", "Slow" and "moving direction" indicating signals.
The parameters determining the braking distance for each axis must also be set.
When positioning, the CNC outputs an analog voltage proportional to the programmed
F and it will be up to the servo drive to control the actual axis speed.
For example, if the maximum feedrate (set by parameter) is F10000 and F5000 is
programmed, the CNC will output 5V.
When the axis enters the brake zone, the CNC switches to Closed Loop taking over
the control of the axis from the servo drive until the target point is reached.
To operate in this mode, set P23(4)=0 (Open loop), P23(6)=0 (analog output and
servo-motor).
The parameters defining the braking distance (for the approach stage) as well as those
related to proportional gain and acc./dec. (for the final positioning stage) must also be
set.
P23(4) must be set to "1" (Closed Loop), and P23(6)=0 for analog voltage output and the
motor must be servocontrolled.
It is necessary to properly adjust the different gains for each axis in order to optimize the
response of the whole system to the programmed movements.
The CNC has a series of machine parameters which permit adjusting the proportional gain
for each axis. These parameters are:
The parameters corresponding to the proportional gain K1 and K2 as well as for the gain
break point allow adjusting the Proportional Gain for the axis.
The parameter for the Feed-Forward gain (proportional to feedrate) will be used when
acceleration/deceleration control is being applied onto the corresponding axis.
On start-up and slow-down, the following error of the axis is very small. Therefore, the
proportional gain must be great in order for the axis to respond properly.
On the other hand, once the axis reaches its programmed speed, the following error is
maintained practically constant and it is necessary to apply a smaller gain (K) in order to
keep the system stable.
This CNC offers two proportional gains K1 and K2 to better adjust the system as well as
another parameter referred to as Gain Break point which defines the active area for each
one of these gains.
The CNC applies the proportional gain K1 whenever the amount of following error for
the axis is smaller than the value assigned to the machine parameter corresponding to the
gain break-point.
When the amount of following error exceeds the gain break-point value, the CNC applies
the K2 value.
Where “Ep” is the value assigned to the gain break-point and it is given in microns.
* The amount of following error will decrease as the gain value increases, but the
system will tend to be more unstable.
* In practice, most machines seem to respond well to what is called a unity gain (or
gain of 1) which represents a following error of 1mm at a feedrate or 1m/minute or a
following error of 0.001 inch at a feedrate of 1 inch/min.
Therefore, this could be used as a practical starting point for the gain calculation
described next. After analyzing the behavior of the machine for this gain, its value
may be changed in order to optimize it.
243.2
In metric (FE= 1mm for F=1m/min): K1 =
Fmax in m/min (P27 for X)
9575
In inches (FE= 0.001inch for F=1inch/min): K1 =
Fmax in inch/min (P27 for X)
For example:
If the top feedrate for an axis is 500 inches/min (P27 for X), the K1 corresponding to
a unity gain would be: K1 = 9575/500 = 19.15 and the value assigned to the
corresponding parameter would be K1=19.
If the top feedrate for an axis is 20m/min, the K1 corresponding to a unity gain would
be: K1 = 243.2/20 = 12.16 and the value assigned to the corresponding parameter
would be K1=12.
For example:
Let’s suppose that K1 has been set for a gain of 1 (not K1=1) and that the maximum
machining feedrate is 150 inches/min (P27, P67). At this feedrate, the following error
should be about 0.150 inch. Thus, the gain break-point value should be slightly larger
than 0.150 inch; for example: P26=0.155 inch.
Or in metric:
Let’s suppose that K1 has been set for a gain of 1 (not K1=1) and that the maximum
machining feedrate is 5 m/min (P27, P67). At this feedrate, the following error should
be about 5 mm. Thus, the gain break-point value should be slightly larger than 5 mm;
for example: P26=6 mm.
The machine parameter K2 gain sets the analog voltage for 1 micron of following error
being applied from the gain break-point on.
It is also given by an integer between 0 and 255 and it is typically set to a value between
50% and 70% of K1 in order to avoid abrupt analog voltage changes when switching to
slow machining feedrates.
1.- Adjust K1 optimizing the axis' response like the signal diagram shown earlier.
Set K1 =K2 or set the gain break-point to a large value (for example: 50000) and run
a program moving the axis continuously back and forth.
To do this, run the previous program and watch the amount of following error reached
at maximum feedrate
3.- Once K1 and the gain break-point have been set, change the value of K2 to one
between 50% and 70% of K1.
Attention:
Once each axis has been adjusted separately. All interpolating axes should be
fine adjusted together in such a way that their following errors for the same
feedrate are the same in order to achieve proper interpolations between those
axes in the K1 area.
The Feed-Forward gain is proportional to the feedrate and is set by machine parameters
P75 for the X axis and P76 for the Y axis. They indicate the % of analog voltage that is
due to the programmed feedrate.
The value added to the following error is (Kf x F/40) where Kf is the value of Feed-
Forward and F is the programmed feedrate.
The CNC will apply the proportional gain (K1 and K2) to the value resulting from adding
the following error of the machine plus the value selected by the Feed-Forward.
When the result of the addition is smaller than the value of the gain break-point, the CNC
will apply the formula:
And when the result of the addition is greater than the value of the gain break-point, the
CNC will apply the formula:
This parameter indicates the delay from the time the axis enters the in-position zone (at
a P28 distance from target point) to the time when the brake output is set low.
6.- After the Brake output is set low, the CNC waits a "T3" period, indicated by machine
parameter P33 for X and P73 for Y, before activating the In-Position output for the
axis.
This In-Position output is kept high for a "T4" time period determined by machine
parameter P34 for X and P74 for Y.
On a Non-servocontrolled Open Positioning Loop, the CNC controls the axis position
only while carrying out the programmed movement. Once in position, the CNC no longer
controls it.
P23(4) must be set "0" (Open Loop) and P23(6)=1 for the CNC to output discrete (non-
analog) signals for "Fast", "Slow" and "Moving Direction".
The parameters establishing the braking distance for each axis must also be set.
The CNC outputs the "Fast" signal from the beginning of the move until entering the
Brake zone where it outputs the "Slow" signal. Once in the In-Position zone (at a "P28"
distance from the end point), the CNC activates the brake signal and abandons the control
of the axis.
This parameter indicates the delay from when the "Slow" signal is deactivated to the
when the brake signal is set low.
7.- After setting the Brake signal low, the CNC waits a "T3" period indicated by machine
parameter P33 for X and P73 for Y before activating the In-Position signal for the
axis.
This In-Position output is kept high for a "T4" time period determined by machine
parameter P34 for X and P74 for Y.
When the axis enters the brake zone, the CNC switches to Closed Loop taking over the
control of the axis from the servo drive until the target point is reached.
To operate in this mode, set P23(4)=0 (Open loop), P23(6)=0 (analog output and servo-
motor).
The parameters defining the braking distance (for the approach stage) as well as those
related to proportional gain and acc./dec. (for the final positioning stage) must also be set.
When pressing the CYCLE START key or activating the START input for the programmed
movement to be carried out, the CNC acts as follows:
1.- Sets the Brake output high for the electrical cabinet to release the brake of the axis
2.- It applies the "T1" delay set by machine parameter P31 before supplying the
corresponding analog output.
This parameter indicates the time elapsed from when the axis enters the in-position
zone (at a P28 distance from the end point) to when the Brake output is set low (brake
on).
This In-Position output is kept high for a "T4" period of time specified by machine
parameter P34 for X and P74 for Y.
Attention:
While operating in "Servo-controlled Open Positioning Loop", any variation
at the Feedrate Override inputs (pins 10 and 11 of connector I/O1) will affect
the next move and not the current one.
* Machine Reference Zero or origin point of the machine. It is set by the machine
manufacturer as the origin of the coordinate system of the machine.
* Part Zero or origin point for the part. It is the origin point set to program the
measurements of the part. It can be chosen freely by the programmer and its reference
to the machine reference zero is set by means of a zero offset.
* Machine Reference Point. It is the physical location of the marker pulse or reference
pulse (Io) used as home to synchronize the whole machine coordinate system. The
axis moves to this point when being “homed” and the CNC assumes the reference
values set at machine parameter “P2, P42” accordingly.
The CNC starts moving the selected or programmed axis in the direction set by
machine parameter P62(4) for X, P62(5) for Y at the feedrate set by machine
parameter P25 for X, P65 for Y until the home switch is pressed P22(8) for X and
P62(8) for Y.
Once the home switch is pressed, the CNC will continue moving the axis at a feedrate
of 100 mm/min (3.9 inches/min) until the reference pulse (marker, Io) of the feedback
device is found.
If the home search is performed in the JOG mode, the selected zero offset is cancelled
and the CNC displays the coordinate values set by machine parameters P2 and P42.
In the other cases, it will maintain the current part zero. Therefore, the displayed
coordinates are referred to this part zero
* Set parameters P23(5) and P63(5) indicating the type of marker pulse used by the
feedback device when searching home.
* Also, set parameters P62(4) and P62(5) to indicate the direction the axes must move
when searching home.
* Besides, set parameters P25 and P65 to indicate the home switch approaching
feedrate.
* Assign a value of "0" to the machine reference point. Parameters P2 and P42.
* Jog the axis to the proper area for home search and execute the home search
command. When done, it will assign a value of zero to that point.
* Move the axis to the physical location where machine zero point will be (or to a
position whose distance to machine zero is known), write down the position value
displayed by the CNC at that point.
If the point of known dimensions is 230mm from the machine zero and the CNC
shows "-123.5mm", the value to be assigned to "P2" will be:
“P2” = 230 - (-123.5) = 353.5 mm.
* Assign this new value to the machine parameter and press [RESET] or power the
CNC down and back up in order for the CNC to assume this new value.
* Perform a new home search in order for the CNC to assume the correct reference
values.
* Jog the axis in the positive direction to a point close to the travel limit switch keeping
a safety distance from it.
* Assign the position value displayed by the CNC to the machine parameter
corresponding to the positive software travel limit. Parameters P0 and P40
* Repeat those steps in the negative direction assigning the displayed value to machine
parameter corresponding to the negative software travel limit. Parameters P1 and
P41
* Once this process is completed, press RESET or turn the CNC off and back on in
order for the new values to be assumed by the CNC.
* If the axis is out of the soft travel limits (set by P0-P1, P40-P41), it has to be jogged
into the work area (within limits) and, then, positioned at the correct side from home
before starting the actual home search.
* Care must be taken when placing the home switch and when setting the home
searching feedrates (P25, P65) to prevent any overshooting.
* If the selected axis does not have a home switch [P22(8), P62(8)], the CNC will
consider it to be pressed and it will only make the marker pulse searching move at 100
mm/min. until the marker pulse (Io) from the feedback device is detected; thus
completing the home search.
* FAGOR linear transducers (scales) have a negative marker pulse (Io) every 50 mm
["P23(5), P63(5)" = 0] and FAGOR rotary encoders output a positive marker pulse
(Io) ["P23(5), P63(5)" = 1] per revolution.
A program block may contain up to 4 "M" functions and they will be executed sequentially
in the order they have been programmed.
Every time an "M" function is executed, the CNC sends out to the electrical cabinet, via
pins 20 through 27 of connector I/O1, the number of the "M" function being executed
either in BCD code or decoded depending on the setting of parameter P23(7).
Meaning
Pin BCD Coded Decoded P23(7)=0
P23(7)=1 Activates Deactivates
20 MST 80 M9 M19
21 MST 40 M8 M18
22 MST 20 M7 M17
23 MST 10 M6 M16
24 MST 08 M5 M15
25 MST 04 M4 M14
26 MST 02 M3 M13
27 MST 01 M2 M12
When operating with BCD-coded outputs, P23(7)=1, each output indicates its BCD
weight. For example, MST80 carries a weight of 80, MST20 one of 20, etc.
Example: When executing function M35, The CNC outputs show the following:
If P22(4)=0, these decoded outputs are kept active for 100 milliseconds; but if P22(4)=1
the decoded outputs are kept active until deactivated by the corresponding "M" function.
This output remains high for 100 milliseconds if P22(4)=0, or until M13 is
executed if P22(4)=1.
* Single pole analog output (0 to +10V) via pins 34 and 35 of connector I/O1.
* Bipolar analog output signal (±10V) via pins 34 and 35 of connector I/O1.
* 4-digit BCD-coded logic output via pins 20 through 27 of connector I/O1.
* 2-digit BCD-coded logic output via pins 20 through 27 of connector I/O1.
When you want the CNC to give a bipolar analog output "P60(2)=0" and "P101(6)=0"
must be set.
The CNC will generate a positive output (0 a +10V.) when "spindle clockwise
(M3)" is selected and a negative output (0 to -10V.) when "spindle counterclockwise
(M4)" is selected.
When you want the CNC to give a single pole analog output "P60(2)=0" and
"P101(6)=1" must be set.
The CNC will generate a positive output (0 to +10V.) for both turning directions.
If a spindle speed is selected the CNC generates the single or bipolar analog signal,
corresponding to the programmed turning speed (S).
Whenever a new spindle speed is selected which involves a range change, the CNC will
automatically generate the M function associated with the new spindle speed range:
“M41, M42, M43, M44”.
At the beginning of the execution of the programmed block, the CNC will output the
value corresponding to the programmed S speed in two stages with a 100 millisecond
delay between them.
It also activates the "S Strobe" output at each stage and waits for the "Feedhold"
signal coming from the electrical cabinet at each one of these two stages.
The first stage outputs the values corresponding to the Thousands and Hundreds and
the second stage outputs the values corresponding to the Tens and Units. The I/O1
connector pins corresponding to each of them are:
Example: S1234
Pin 1st stage 2nd stage Pin 1st stage 2nd stage
20 20 0 0
21 21 0 0
Thousands Tens
22 22 0 1
23 23 1 1
24 24 0 0
25 25 0 1
Hundreds Units
26 26 1 0
27 27 0 0
To use 2-digit BCD coded spindle speed output, set "P60(2)=1" and P60(3)=0".
The CNC will output the BCD code corresponding to the programmed S speed at
pins 20 through 27 of connector I/O1 and activates the "S Strobe" output to indicate to
the electrical cabinet to process the required auxiliary function.
These outputs are activated at the beginning of the execution of the programmed
block and the CNC waits for the electrical cabinet to activate the Feedhold signal and
consider the execution of the required function concluded.
The table below shows the BCD codes corresponding to the programmed "S" values.
When programming a value greater than 9999, the CNC will output the spindle speed
code corresponding to the value of 9999.
Example: When selecting S800, the CNC will output the BCD coded value of
"S78" as shown below:
Pin 20 21 22 23 24 25 26 27
Value 0 1 1 1 1 0 0 0
Up to 4 spindle ranges may be set by means of machine parameters P36, P37, P38 and
P39 specifying the maximum spindle rpm value for each one of them.
The value assigned to P36 must correspond to the lowest range (RANGE 1) and the one
assigned to P39 to the highest range (RANGE 4).
When not using all 4 ranges, start the speed assignment from the lowest range up and set
the unused ranges to the highest speed being used.
When the new spindle speed selected requires a range change, the CNC will execute the
auxiliary M function corresponding to the new range.
The CNC uses the auxiliary functions: M41, M42, M43 and M44 to indicate to the
electrical cabinet which range must be selected: RANGE 1, RANGE 2, RANGE 3 or
RANGE 4).
6.8 TOOLS
When working with tools, set "P60(5)=0"
When working with tools, the CNC also applies tool length compensation along both
axes.
To do this, the CNC uses its internal table as tool offset table.
Each one of the 10 addresses (1 through 10) of the table corresponds to the same tool table
and it has two fields.
The X field indicates the tool length along the X axis and the Y field indicates the tool
length along the Y axis.
The chapter on "Aux mode of operation" of the operating manual describes how to access
and operate with this table.
It first sends out the information about the M function, then about the S function and
finally about the T function.
This transmission takes place at the beginning of the execution of the block.
Depending on the value assigned to machine parameter "P22(5)" the CNC will either wait
or not for the FEEDHOLD signal to be activated in order to consider the execution of the
auxiliary function completed.
M function:
Depending on the setting of P23(7), the output value at pins 20 through 27 of I/O1
will be BCD-coded or decoded.
When executing more than one M function, the CNC will send them one by one in the
programmed order as they are executed.
When the outputs are not maintained, "P22(4)=0", the CNC uses the Feedhold signal
to transfer the "M" function as described later on.
S function:
T function:
If "P61(5)=0", the CNC will use the BCD outputs (pins 20 through 27 of I/O1) to
indicate the T function programmed in the block and it will issue a "T Strobe" to "tell"
the electrical cabinet to execute it.
When the electrical cabinet has a device requiring the BCD signals to be active for a
longer time, machine parameter P22(5) must be set to “1”.
“P22(5)=0”
1.- The CNC transfers the BCD value of the selected function via pins 20 to 27 of
connector I/O1.
50 milliseconds later, the “M Strobe” output is activated to “tell” the electrical cabinet
to execute the M function.
2.- When the electrical cabinet detects the activation of the “M Strobe” signal, it must start
the execution of the corresponding function.
3.- The CNC will maintain the “M Strobe” signal for 100 milliseconds and the BCD
signals for another 50 milliseconds.
After this time period, it will wait for the FEEDHOLD signal provided by the
electrical cabinet indicating to the CNC that the execution of the “M” function is
completed.
If the FEEDHOLD signal was not deactivated in point 2, the CNC will consider the
M transfer completed after the BCD signals disappear (there is no wait).
This type of transfer is used when the electrical cabinet has a device which requires
the BCD outputs from the CNC to be active for a longer period of time.
1.- The CNC sends the BCD value of the selected function via pins 20 to 27 of
connector I/O 1.
2.- When the electrical cabinet detects the activation of one of the Strobe signals, it
must begin the execution of the corresponding function deactivating the
FEEDHOLD signal to let the CNC know that this M function execution has
begun.
3.- The CNC will maintain the Strobe signal for another 100 milliseconds and the
BCD outputs for another 150 milliseconds.
After this time period, it will wait for the electrical cabinet to reactivate the
FEEDHOLD input “telling” the CNC that the processing of the required function
has concluded.
7.1 INTRODUCTION
The FAGOR Local Area Network (LAN) is a Token-Passing-Bus type communication
network that allows the interconnection of up to 15 elements (nodes).
The different elements that may be interconnected via the FAGOR LAN are:
Each element occupies a NODE of the network and all of them have a number of machine
parameters to configure the network.
The numbering of the nodes must begin by "0" and it must be sequential. Node "0" is the
Main Node and the element connected to it sets or determines the total number of nodes
being installed in the LAN.
This LAN utilizes the ROTARY MASTER system; that is, the different nodes temporarily
assume the master function so they can communicate directly with each other.
The RS485 connector for each element is a SUB-D type 9-pin female connector with the
following pin-out:
The nodes must be connected via a "TWINAXIAL" cable which must also meet the
following requirements:
SPECIFICATIONS
Type: 02 AWG twisted 7x28
Conductor Material: Copper (only one stained wire)
Resistance: Max 11 L per every 305m. (1000 ft)
Insulator Material: Teflon
Material Stained copper
Type Braid 34 AWG. 8 ends / 16 carriers
Shields
Cover Minimum 95%
Resistance Maximum 3L per every 305m. (1000 ft)
Material: Teflon
Covering
Outside diameter Nominal 7mm. (0.257inches)
Capacitance Maximum 53,1 pF/m (16.2 pF/ft)
Impedance 107± 5% Ohm at 1 MHz.
Attention: Do not manipulate the connectors with the unit connected to main AC
power
Before manipulating these connectors, make sure that the unit is not
connected to main AC power.
For better immunity of the RS485 serial line against conducted electromagnetic
disturbances, it is recommended to solder the cable mesh to the metal hood
of the connector.
* The shield must be connected only to one of the LAN nodes using pin 1 of the
corresponding connector.
* When the FAGOR LAN consists of more than 2 nodes, "TEE TWINAXIAL"
connectors must be used as indicated below.
It must be borne in mind that the maximum cable length allowed between a "T
Twinaxial" connector and the element is 80cm (31.49 inches).
Also, before connecting the FAGOR LAN, all the elements must be connected to ground
and verified that between their 0V points:
If this condition is not met, the internal circuitry of some elements may be damaged.
When the CNC is the main node, this parameters indicates how many more nodes are
interconnected in the LAN and when the CNC is not the main node, it indicates the node
number it occupies in the LAN.
Examples:
A Fagor LAN consists of 2 PLC64 (nodes 0 and 1) and a Fagor102 CNC (node 2).
A Fagor LAN consists of a Fagor102 CNC (node 0) and 2 PLC64 (nodes 1 and 2).
If there is no PLC64 associated with the CNC, this parameter must be set to a value of
15 or greater.
It indicates the register number of the PLC64 receiving the BCD codes for the M
functions.
The BCD codes for the S and T functions will be loaded into the next two registers.
This parameter must be set to an integer value greater than 10 and smaller than 253.
Example: To send the BCD codes for the M, S, T functions out to a PLC64 connected
to node 3 by loading this data into registers R20, R21 and R22:
Any element installed in the LAN may read the contents of a machine parameter and,
depending on the setting of this parameter by the manufacturer, get more information
about the CNC and the machine.
Attention:
This machine parameter has no effect on the operation of the CNC.
* Know the number of the program being executed, the currently selected feedrate F,
which axes are in motion, etc.
* Inhibit the axes, display messages at the CNC, simulate the CNC keyboard, etc.
The PLC64 offers a number of marks (internal relays) associated to registers that allow
direct access to the various internal variables of the CNC101S, 102 or 102S.
M1901 - M1949 Each one of these marks is associated with a register (R101 - R149).
Whenever one of these marks is activated at the PLC64, the CNC puts
the information corresponding to that mark into the associated register
of the PLC64.
M1950 - M1964 Each one of these marks is associated to a register (R150 - R164).
Whenever one of these marks is activated, the PLC64 sends to the CNC
the data stored at the associated register.
To access the arithmetic parameters of the CNC101S, 102 or 102S from a PLC64, It is
required to perform system calls.
To access the internal information of the CNC101S, 102 or 102S, from an 8020 CNC, 8025
CNC or from 8030 CNC use function G52 at the CNCs requesting this data.
Error
When receiving an error indicator (B7 R101), the CNC sends its corresponding binary
code to bits B0 through B6 of register R101 of the PLC64.
B7 B6 B5 B4 B3 B2 B1 B0
1 0 0 1 1 0 1 0
Operating mode
Bits 8, 9 and 10 of register R101 indicate which operating mode is currently selected
at the CNC:
R101
Operating mode
Bit 10 Bit 9 Bit 8
Peripherals 0 0 1
Aux-Mode 0 1 0
Jog 0 1 1
Play-back 1 0 0
Editing 1 0 1
Single-Block 1 1 0
Automatic 1 1 1
When the coordinate of an axis is requested the CNC displays its value in a double
register, and therefore both registers must be defined in the PLC64 program.
This value is given IN MICRONS, with respect to Machine Reference Zero (home)
and in hexadecimal format as shown below:
This number is given in BCD code. For example, if the first block is 278, register R106
will show the value of: 0000 0010 0111 1000
The F value is given in mm/min. and the S value in rpm. They are both in Hexadecimal
format as shown below:
The active tool number is given in BCD code. For example, T12 will appear at register
R109 as 0000 0000 0001 0010
With mark M1910, it is possible to know the setting of machine parameter P80 of the
CNC when it is connected to the Fagor LAN.
This parameter setting appears at the 8 least significant bits (0 through 7) of register
R110 with the correspondence shown below (bits 8 through 15 are not being used at
this time):
P80(8) P80(7) P80(6) P80(5) P80(4) P80(3) P80(2) P80(1)
Key codes
The key codes that the CNC may return at register R111 when activating mark M1911
are described in the appendix at the end of this manual.
Axis inhibit
When the CNC executes a block involving the movement of an inhibited axis, it
interrupts the execution until that inhibition is removed.
Error display
The most significant bits (8 through 15) of register R151 indicate the binary code of the
error number to be displayed at the CNC.
For example, to make the CNC display error 17, set R151 of the PLC to:
0001 0001 0000 0000 and activate mark M1951.
The CNC interrupts the execution of the program (if it was running) and displays the
following information:
LAn
Error 17
It is possible to set from the PLC, the block number where the CNC will start executing
the program.
To do this, set Register R152 to the BCD value of the desired initial block.
It is possible to indicate to the CNC from the PLC which program block to execute.
To do this, set register R153 to the BCD code of the desired block number.
Once executed, the CNC will indicate its status in register R101 of the PLC.
Whenever a key code is sent to the CNC, this behaves as if the corresponding key were
pressed.
To do this, set R154 to the key code to be simulated and activate mark M1954.
When sending a keystroke sequence to the CNC, after each key code is sent and before
sending the next one, it is a good idea to check whether that key has been accepted by
the CNC or not by consulting the R111-M1911 combination.
The key codes to be sent to the CNC are described in the appendix at the end of this
manual.
To consult an arithmetic parameter of the CNC from a PLC64, a system call must be
performed (see PLC64 manual).
Once the system call has concluded, register R6 and R7 indicate the arithmetic
parameter value consulted (R7 will contain the upper half of the value and R6 the lower
one).
Once the system call has concluded, parameter P32 will assume the value indicated at
registers R7 and R8 of the PLC64.
Error
When receiving the error indicator (B7 R1), The CNC will show its corresponding
binary code at bits B0 through B6 of register R1.
Operating mode
Bits 8, 9 and 10 of the CNC register R1 indicate the operating mode currently selected.
R1 R1
Operating mode Operating mode
Bit 10 Bit 9 Bit 8 Bit 10 Bit 9 Bit 8
Play-back 1 0 0
Peripherals 0 0 1 Editing 1 0 1
Aux-Mode 0 1 0 Single-Block 1 1 0
Jog 0 1 1 Automatic 1 1 1
When requesting the coordinate of the X axis, the CNC shows the corresponding value
at the double register R2-3. This value is given in microns, with respect to Machine
Reference Zero (home) and in hexadecimal format as shown below:
This number is shown in BCD code. For example: if the first block number is 278:
The value of register R6 will be: 0000 0010 0111 1000
The F value is expressed in mm/min and the S value in rpm. both in hexadecimal format
as shown below:
It is given in BCD code. For example, in the case of T12, register R9 will have the value
of: 0000 0000 0001 0010
Fagor LAN
When this CNC is connected to the Fagor Local Area Network, this register shows the
value allocated to the CNC machine parameter P80.
This value appears at the 8 least significant bits (0 through 7) of register R10. Bits 8
through 15 are not being used at this time. The relationship between the parameter bits
and register bits is the following:
Key codes
The key codes that the CNC can return at R11 are described in the appendix at the end
of this manual.
In order to modify any of these internal variables of the 101S, 102 or 102S CNC from an
8020, 8025 or 8030 CNC, its associated register must be changed.
CNC register
INTERNAL CNC INFORMATION
to be altered
Inhibit Y axis (0=No 1=Yes) B2 R50
Inhibit X axis (0=No 1=Yes) B3 R50
Error number to be displayed B8-15 R51
Number of the block where the execution begins R52
Number of the block to be executed R53
Code of the key to be simulated B0-7 R54
Axis inhibit
When the CNC executes a block involving the movement of an inhibited axis, it
interrupts the execution of the program (if it was running) until that inhibition is
removed.
Error display
The most significant bits (8 through 15) of register R51 indicate the binary code of the
error number to be displayed at the 101S, 102 or 102S CNC.
For example, to make the 102 CNC display error 17, set R51 to:
0001 0001 0000 0000 .
The CNC interrupts the execution of the program (if it was running) and displays the
following information:
LAn
Error 17
It is possible to set from an 8020, 8025 or 8030 CNC, the block number where this CNC
will start executing the program.
To do this, set Register R52 to the BCD value of the desired initial block.
An 8020, 8025 or 8030 CNC can indicate to the 101S, 102 or 102S CNC which
program block to execute.
To do this, set register R53 to the binary code of the desired block number.
Once executed, the 101S, 102 or 102S CNC will indicate its status in its register R1.
Whenever a key code is sent to the 101S, 102 or 102S CNC, this behaves as if the
corresponding key were pressed.
When sending a keystroke sequence to the CNC, after each key code is sent and before
sending the next one, it is a good idea to check whether that key has been accepted by
the CNC or not by consulting register R11.
The key codes to be sent to the CNC are described in the appendix at the end of this
manual.
Assigns the value of arithmetic parameter P50 (register R150) of the 101S, 102 or 102S
CNC to arithmetic parameter P12 of the 8025 CNC.
Sets arithmetic parameter P51 (register R151) of the 101S, 102 or 102S CNC to a
hexadecimal value of H1ABC.
* Synchronize processes between the 8020, 8025 or 8030 and a 101S, 102 or 102S
It is possible to communicate between this CNC and a PC via DNC either by generating
your own communications protocol or by using the software package "FAGOR DNC 100"
which may be installed at an IBM-compatible personal computer.
In order to generate your own you must follow the communications protocol described in
this chapter.
With the menu driven software package "FAGOR DNC 100", it is possible to:
The machine parameters relevant to the RS232C serial line must also be set as follows:
P70 Baudrate: 110, 150, 300, 600, 1200, 2400, 4800 or 9600.
P59(7) = 8 8 Data bits per character.
P59(5) = 0 No parity check
P59(8) = 0 1 Stop bit.
The communication must always be initiated by the external device (PC). The CNC will
accept commands in ASCII coded lines.
The communication is based on ECHO response by the CNC and XON-XOFF control by
the PC.
All characters sent out by the PC are sent back by the CNC except the <CR> character
which indicates the end of the command. The CNC acknowledges the request with the #
character (23H).
PC: RT <CR>
CNC: RT 05 #
If the CNC detects any error on the received line or it cannot execute it because its memory
is locked or it is in execution mode; it will return the "*" character followed by the
"ERROR" message and its corresponding number.
For example: * ERROR 106 #
BS (008H) Deletes the last characters. The CNC returns the BS-SP-BS character
sequence:
DEL (07FH) Deletes all the characters received. For each deleted character, it
returns the BS-SP-BS character sequence.
HT (009H) The CNC takes it as SP (020H). It returns the SP character.
CR (00DH) End of command. From this moment on, the CNC responds to the
command and it sends a # (023H) character at the end of the response.
LF (00AH) The CNC takes it as a CR. End of command.
Once the command has been sent out, <CR>, the CNC analyzes it and prepares the
corresponding response to send it to the PC. In this stage, the CNC only accepts the
following characters:
Any other character received will cause the CNC to return the BEL character (007H) as
echo.
The coordinate may be signed or unsigned, up to 5 digits to the left of the decimal point
and up to 4 decimals.
PC: RX <CR>
CNC: RX -105.345 #
In case of error, the CNC, besides activating the error bit (bit 7 = 1), shows the
corresponding error code at bits 0 through 6. For example:
PC: RE <CR>
CNC: RE 0F2C #
CNC Code 0 F 2 C
Bit value 0 0 0 0 1 1 1 1 0 0 1 0 1 1 0 0
Bit Nr. 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
The CNC indicates that the Automatic Mode is currently selected (bits 8, 9, 10), it is
executing a block (bit 5), making a G00 move (bit11) and both axes are moving (bits
2, 3).
It returns 3 characters which indicate the first block of the program being executed.
It returns 4 characters which indicate the theoretical spindle speed S currently active.
It returns 2 characters which indicate the number of the tool currently active.
The parameter number to be read must be indicated with 2 characters. The CNC
returns the value of that parameter which may have a sign, up to 5 digits to the left of
the decimal point and up to 4 characters to the right (decimal).
PC: RP 55 <CR>
CNC: RP 55 -200.3 #
It returns 2 characters indicating the code of the key that was pressed last. The code
corresponding to each key is:
The codes of the control keys available at the external operator panel are:
Request example:
PC: RK <CR>
CNC: RK CL #
The RI code returns 5 characters indicating the status of the CNC inputs and the RO
code returns 6 characters which indicate the status of the CNC outputs.
CNC INPUTS CNC OUTPUTS
Character Bit Meaning Pin Character Bit Meaning Pin
19 Not being used 23 MST 80 20 (I/O1)
18 Not being used 22 MST 40 21 (I/O1)
1st 1st
17 Feedrate override 2 11 (I/O1) 21 MST 20 22 (I/O1)
16 Feedrate override 1 10 (I/O1) 20 MST 10 23 (I/O1)
15 Input E5 17 (I/O2) 19 MST 08 24 (I/O1)
14 Input E4 25 (I/O2) 18 MST 04 25 (I/O1)
2nd 2nd
13 Input E3 22 (I/O2) 17 MST 02 26 (I/O1)
12 Input E2 23 (I/O2) 16 MST 01 27 (I/O1)
11 Input E1 21 (I/O2) 15 Y axis in position 9 (I/O2)
10 M.Factor / Handwheel 24 (I/O2) 14 OL direction for Y 8 (I/O2)
3rd 3rd
9 M.Factor / Handwheel 15 (I/O2) 13 OL slow for Y 5 (I/O2)
8 Y axis home switch 18 (I/O2) 12 OL fast for Y 3 (I/O2)
7 Manual input 19 (I/O1) 11 T Strobe 4 (I/O2)
6 Conditional stop 18 (I/O1) 10 S Strobe 6 (I/O2)
4th 4th
5 Cycle start 17 (I/O1) 9 Y axis brake 7 (I/O2)
4 / Cycle stop 16 (I/O1) 8 Automatic 10 (I/O2)
3 / Feedhold 15 (I/O1) 7 X axis in position 9 (I/O1)
2 / Emergency Stop 14 (I/O1) 6 OL direction for X 8 (I/O1)
5th 5th
1 X axis home switch 13 (I/O1) 5 OL slow for X 7 (I/O1)
0 Reset 12 (I/O1) 4 OL fast for X 6 (I/O1)
3 / Emergency output 5 (I/O1)
2 M Strobe 4 (I/O1)
6th
1 X axis brake 3 (I/O1)
0 Jog output 2 (I/O1)
PC: RI <CR>
CNC: RI 23A3C #
2 3 A 3 C
0 0 1 0 0 0 1 1 1 0 1 0 0 0 1 1 1 1 0 0
The CNC indicates that pins 11, 14, 15, 16, 17 of connector I/O1 and pins 15, 21, 22,
23 of connector I/O2 are set high (24V).
PC: RO <CR>
CNC: RO ED8412 #
E D 8 4 1 2
1 1 1 0 1 1 0 1 1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0
The CNC indicates that pins 3, 6, 20, 21, 22, 24, 25, 27 of I/O1 and pins 6, 9 of
I/O2 are set high (24V).
It returns 4 characters which indicate the internal count of the CNC part-counter.
Request example:
PC: RC <CR>
CNC: RC 0005 #
Rm Returns machine parameter table, tool table and tool offset table
It returns in internal CNC code, the tables for machine parameters, tools and tool
offsets.
This information has more than 600 characters. To control the reception of these
characters from the PC, the XON and XOFF codes must be used.
This information must not be manipulated and it should only be used as a safety copy
(back-up) of the CNC.
Request example:
PC: Rm <CR>
CNC: Rm <internally coded data> #
RN <First block>, <Last block> Returns the contents of the requested blocks
The numbers for the first and last blocks are optional and may be expressed with 1, 2
or 3 characters. The following programming formats may be used:
RN The CNC returns the contents of all the blocks stored in memory.
Each block indicates the block number and its contents. They are separated by a
carriage return <CR> and when all of them are shown, the CNC returns the # character.
Request example:
The error code must be separated from the WE code by a blank space or "=" character
and it must be defined by 1 or 2 characters.
The CNC acts as if the error itself occurred, it quits the operating mode, deactivates
the brake signals, interrupts the execution of the program if necessary and it activates
the emergency output. It also shows, at the top window, the message DNC and, at the
bottom window, the selected error number.
The code of the key to be simulated at the CNC must be separated from the WK code
by a blank space or by the "=" character.
The codes of each one of the keys are shown in an illustration in this chapter when
describing the data reading code RK.
The following example shows how to interrupt the execution of the program from a
PC.
The value must be defined by 6 characters separated from the WO code by a blank
space or by the "=" character.
Character Bit Meaning Pin Character Bit Meaning Pin
23 MST 80 20 (I/O1) 11 T Strobe 4 (I/O2)
22 MST 40 21 (I/O1) 10 S Strobe 6 (I/O2)
1st 4th
21 MST 20 22 (I/O1) 9 Y axis brake 7 (I/O2)
20 MST 10 23 (I/O1) 8 Automatic 10 (I/O2)
19 MST 08 24 (I/O1) 7 X axis in position 9 (I/O1)
18 MST 04 25 (I/O1) 6 OL direction for X 8 (I/O1)
2nd 5th
17 MST 02 26 (I/O1) 5 OL slow for X 7 (I/O1)
16 MST 01 27 (I/O1) 4 OL fast for X 6 (I/O1)
15 Y axis in position 9 (I/O2) 3 / Emergency output 5 (I/O1)
14 OL direction for Y 8 (I/O2) 2 M Strobe 4 (I/O1)
3rd 6th
13 OL slow for Y 5 (I/O2) 1 X axis brake 3 (I/O1)
12 OL fast for Y 3 (I/O2) 0 JOG output 2 (I/O1)
Before changing the status of an output, it is a good idea to read all of them by using
the "RO" command and then change the status of the desired output while maintaining
the status of the rest.
Indicate the axis to be inhibited after the WI code and separated by a blank space or
by the "=" character.
Indicate the axis to be enabled after the WH code and separated by a blank space or
by the "=" character.
It is absolutely necessary to have previously used the "Rm" code to read these tables
and store them in memory.
This information must not be manipulated and it should be used as back-up of the CNC
and later on, when necessary, it must be restored by means of "Wm".
Since the CNC table information has more than 600 characters, the <CR> character
must be sent after the "Wm" code. The CNC will respond with the # character. Then,
80-character packages will be sent one by one. The CNC, after returning the echo for
each character, will return the # character. The last package will have a variable number
of characters and it will end with the <CR> character.
The block must be edited following the CNC programming rules and starting with the
block number (up to 3 digits).
The CNC admits up to 80 characters. If blank spaces are not used as separators, the
block may not contain more than 45 characters.
The block must be edited following the CNC programming rules and it is not necessary
to indicate the block number.
The CNC does not store the block, it only executes it.
Following the "EM" code and separated by a blank space or by a "=" character, indicate
the CNC program block number to be executed with 1, 2 or 3 characters.
Following the "ES" code and separated by a blank space or by the "=" character,
indicate with 1, 2 or 3 characters, the number of the block from which to start the
execution.
Example: ES 030
The CNC will execute block N030 and all the following ones until
reading an end-of-program instruction (M00 or M30).
GENERAL CHARACTERISTICS
900 blocks of part program memory capacity.
2 serial communication lines: RS232C and RS485.
2 feedback inputs.
Digital probe input (TTL)
0.001 mm. or 0.0001 inch resolution.
Feedrates between 1 mm/min and 65535 mm/min (between 0.1 and 2580 inches/min.)
Maximum axis travel : ±99999.999 mm (84546.6 inches)
18 optocoupled digital inputs.
24 optocoupled digital outputs.
3 analog outputs: ±10V (one for each axis + spindle).
Approximate weight: 6 Kg.
Maximum consumption in normal operation: 50 V.A.
PACKAGING
Meets the "EN 60068-2-32" standard.
POWER SUPPLY
High performance Switching power supply.
Universal power supply with any input between 100 V AC and 240 V AC (±10% and -15%).
AC frequency: 50 - 60 Hz ±1% and ±2% during very short periods.
Power outages. Meets the EN 61000-4-11 standard. It is capable of withstanding micro outages of up to 10
milliseconds at 50 Hz starting from 0º and 180º (two polarities: positive and negative).
nd
Harmonic distortion: Less than 10% of the rms voltage between low voltage conductors (sum of the 2
th
through the 5 harmonic)
AMBIENT CONDITIONS
Relative humidity: 30-95% non condensing
Operating temperature: 5ºC - 40ºC (41º F - 104ºF) with an average lower than 35ºC (95º F)
Storage temperature : between 25º C (77ºF and 70º C (158º F).
Maximum operating altitude : Meets the “IEC 1131-2” standard.
VIBRATION
Under working conditions: 10-50 Hz. amplitude 0.2 mm.
Under transport conditions: 10-50 Hz. amplitude 1 mm, 50-300 Hz. and acceleration of 5g .
Free fall of packaged equipment: 1 m.
ELECTROMAGNETIC COMPATIBILITY
See Declaration of Conformity in the introduction of this manual.
SAFETY
See Declaration of Conformity in the introduction of this manual
DEGREE OF PROTECTION
Front panel: IP54 Rear panel: IP2X
Accessible parts inside the enclosure: IP 1X
The machine manufacturer must comply with the “EN 60204-1 (IEC-204-1)”, standard
regarding protection against electrical shock due to I/O contact failures with external
power supply when not hooking up this connector before turning the power supply on.
Access to the inside of the unit is absolutely forbidden to non authorized personnel.
BATTERY
ATTENTION
To avoid overheating the internal circuits, the several ventilation slots must not be
obstructed. It is also necessary to install a ventilation system which extracts hot air from the
enclosure or desk supporting the CNC.
APPENDIX "B"
ENCLOSURES
The minimum distance between the sides of the CNC and its enclosure in order to meet the required ambient
conditions must be the following:
When using a touch probe, pin 5 of connector A2 should be used as input for the probe signal.
Depending on the type of connection applied machine parameter "P63(6)" must be set, indicating if
operating with a high (24V) or low (0V) logic level of the signal given by the probe.
When connecting a feedback device at connector A2, input 5 (Io) is shared by the probe and the
feedback device. Switch over inputs 5 and 6.
The diagram shows the case of a probe with a normally-open-contact output.
APPENDIX "D"
.
CNC INPUTS AND OUTPUTS
INPUTS
OUTPUTS
P82 Distance traveled by the axis after receiving the signal from the probe.
P19 (8) Access to JOG mode: (0=Yes, 1=No) ........................................................................... Section 3.6
(7) The Cycle Start, Cycle Stop and Reset keys disabled: (0=No, 1=Yes) ....................... Section 3.6
(6) Access to Peripheral mode: (0=Yes, 1=No) ................................................................. Section 3.6
(5) Access to AUX-MODE mode: (0=Yes, 1=No) ............................................................. Section 3.6
(4) Access to PLAY-BACK mode: (0=Yes, 1=No) ............................................................ Section 3.6
(3) Access to Editing mode: (0=Yes, 1=No) ...................................................................... Section 3.6
(2) Access to Single-Block mode: (0=Yes, 1=No) ............................................................ Section 3.6
(1) Access to Automatic mode: (0=Yes, 1=No) ................................................................. Section 3.6
P20 (8) Feedrate up to 655 m/min. or 25.800 inch/min.: (0=No, 1=Yes) ................................ Section 4.3
(7) The E function can be programmed: (0=Yes, 1=No) ................................................... Section 3.7
(6) The P function can be programmed: (0=Yes, 1=No) ................................................... Section 3.7
(5) The K function can be programmed: (0=Yes, 1=No) ................................................... Section 3.7
(4) The M function can be programmed: (0=Yes, 1=No) .................................................. Section 3.7
(3) The T function can be programmed: (0=Yes, 1=No) ................................................... Section 3.7
(2) The S function can be programmed: (0=Yes, 1=No) ................................................... Section 3.7
(1) The F function can be programmed: (0=Yes, 1=No) ................................................... Section 3.7
P21 (8) The HOME function only during program execution: (0=No, 1=Yes) ....................... Section 3.5
(7) Function G74 activates the In-Position output: (0=Yes, 1=No) .................................. Section 4.6
(6) X axis feedback multiplying factor: (0=x4, 1=x2) ...................................................... Section 4.1
(5) The Single-Block mode shows the block to be executed: (0=No, 1=Yes) .................. Section 3.8
(4) The M30 function increments the parts counter: (0=No, 1=Yes) ................................ Section 3.8
(3) G90 (0) or G91 (1) on power-up .................................................................................. Section 3.8
(2) X axis rotary HIRTH: (0=No, 1=Yes) ........................................................................... Section 3.4
(1) X axis rotary ROLLOVER via shortest way: (0=No, 1=Yes) ....................................... Section 3.4
P22 (8) X axis home switch: (0=No, 1=Yes) ............................................................................ Section 4.6
(7) X axis feedback alarm active (0) or cancelled (1) ........................................................ Section 3.5
(6) X axis rotary ROLLOVER: (0=No, 1=Yes) .................................................................. Section 3.4
(5) The "FEED HOLD" input as response to "STROBE" signal: (0=No, 1=Yes) .............. Section 3.5
(4) The decoded M function outputs are maintained: (0=No, 1=Yes) .............................. Section 3.5
(3) M30 when switching to JOG and Play-Back modes: (0=No, 1=Yes) .......................... Section 3.8
(2) X axis counting direction ............................................................................................ Section 4.
(1) Sign of the X axis analog voltage ............................................................................... Section 4.
P23 (8) Measuring units: (0= mm, 1=inches) ........................................................................... Section 3.3
(7) M function output decoded (0) or in BCD (1) ............................................................. Section 3.5
(6) Type of signal used to control the X axis (0=Analog) ................................................ Section 3.4
(5) X axis home marker pulse type: (0=Negative, 1=Positive) ......................................... Section 4.6
(4) Open (0) or Closed (1)Positioning Loop. .................................................................... Section 3.4
(3) SEMI-AUTOMATIC program execution mode: (0=No, 1=Yes) ................................. Section 3.8
(2) X axis jogging feedrate................................................................................................ Section 4.
(1) Theoretical (1) or Real (0) display ............................................................................... Section 3.3
P24 X axis feedrate in JOG and PLAY-BACK modes ......................................................... Section 4.3
P25 X axis home searching feedrate ................................................................................... Section 4.6
P26 X axis gain break point................................................................................................ Section 4.4
P27 X axis maximum feedrate ............................................................................................ Section 4.3
P28 X axis In-Position zone................................................................................................ Section 4.2
P29 X axis feedback correction factor (in microns) ............................................................ Section 4.1
P30 The RESET input activates the HOME function: (0-899=Yes, >899=No) .................. Section 3.5
P31 T1. Delay between brake and analog voltage or fast signal (msec.) ............................ Section 4.5
P32 T2. Delay between reaching position and brake signal for X (msec.) ......................... Section 4.5
P33 T3. Delay between brake signal and In-Position signal for X (msec.) ......................... Section 4.5
P34 T4. Duration X axis In-Position output signal (msec.) ................................................ Section 4.5
P35 Operating mode selected on power-up (< 900=Auto, >899=JOG) .............................. Section 3.3
P36 Maximum spindle speed for RANGE 1 ....................................................................... Section 5.1
P37 Maximum spindle speed for RANGE 2 ....................................................................... Section 5.1
P38 Maximum spindle speed for RANGE 3 ....................................................................... Section 5.1
P39 Maximum spindle speed for RANGE 4 ....................................................................... Section 5.1
P40 Y axis positive travel limit .......................................................................................... Section 4.7
P41 Y axis negative travel limit ......................................................................................... Section 4.7
P42 Y axis home coordinate ............................................................................................... Section 4.6
P43 Y axis braking distance (open loop) ............................................................................ Section 4.4
P44 thru P48 Not being used at this time
P49 Y axis feedback resolution (in microns) ...................................................................... Section 4.1
P50 Y axis proportional gain K1 ........................................................................................ Section 4.4
P51 Y axis proportional gain K2 ........................................................................................ Section 4.4
P52 Not being used at this time
P53 Minimum Y axis analog voltage (1=2.5mV) ............................................................... Section 4.2
P54 Y axis leadscrew backlash (feedback pulses) .............................................................. Section 4.8
P55 Y axis additional analog pulse (1=2.5mV) .................................................................. Section 4.8
P56 Node number of the CNC or number of nodes in the LAN .......................................... Section 5.3
P57 PLC64 register receiving the M, S, T functions .......................................................... Section 5.3
P58 Number of the node receiving the M, S, T functions ................................................... Section 5.3
P60 (8) The machine has a Y axis: (0=Yes, 1=No) ................................................................... Section 3.4
(7) The Y axis K1 and K2 values are in mV/ pulse: (0=No, 1=Yes) .................................. Section 4.4
(6) The X axis K1 and K2 values are in mV/ pulse: (0=No, 1=Yes) .................................. Section 4.4
(5) Tool table (0) or Zero offset (1) table .......................................................................... Section 3.3
(4) The machine uses an electronic handwheel: (0=No, 1=Yes) ....................................... Section 3.4
(3) 2-digit (2) or 4-digit (1) BCD-coded "S" output .......................................................... Section 5.1
(2) Analog (0) or BCD-coded (1) "S" output ..................................................................... Section 5.1
(1) Vectored G00 (interpolated): (0=No, 1=Yes) .............................................................. Section 3.8
P61 (8) X axis is a DRO axis: (0=No, 1=Yes) ........................................................................... Section 3.4
(7) Y axis is a DRO axis: (0=No, 1=Yes) ........................................................................... Section 3.4
(6) Y axis feedback multiplying factor: (0=x4, 1=x2) ...................................................... Section 4.1
(5) The T function generates BCD output: (0=Yes, 1=No) ............................................... Section 3.5
(4) Mandatory home search on power-up: (0=No, 1=Yes) ................................................ Section 4.6
(3) Axis homing order (sequence) in G74: (0=1º X, 1=1º Y) ............................................. Section 4.6
(2) Y axis rotary HIRTH: (0=No, 1=Yes) ........................................................................... Section 3.4
(1) Y axis rotary ROLLOVER via shortest way: (0=No, 1=Yes) ....................................... Section 3.4
P62 (8) Y axis home switch: (0=No, 1=Yes) ............................................................................ Section 4.6
(7) Y axis feedback alarm active (0) or cancelled (1) ........................................................ Section 3.5
(6) Y axis rotary ROLLOVER: (0=No, 1=Yes) .................................................................. Section 3.4
(5) Y axis home searching direction: (0=Positive, 1=Negative) ....................................... Section 4.6
(4) X axis home searching direction: (0=Positive, 1=Negative) ....................................... Section 4.6
(3) 0.0001 mmm (0.00001 inch) resolution: (0=No, 1=Yes) ............................................. Section 4.9
(2) Y axis counting direction ............................................................................................ Section 4.
(1) Sign of the Y axis analog voltage ............................................................................... Section 4.
P63 (8) Sign of the X axis feedback correction factor: (0=Positive, 1=Negative) ................... Section 4.1
(7) Sign of the Y axis feedback correction factor: (0=Positive, 1=Negative) ................... Section 4.1
(6) Type of probe signal: ( 0=Negative, 1=Positive) ......................................................... Section 3.5
(5) Type of Y axis reference (marker Io) pulse: ( 0=Negative, 1=Positive) ....................... Section 4.6
(4) X axis in radius (0) or diameter (1) .............................................................................. Section 3.3
(3) The machine uses rigid tapping .................................................................................. Section 3.4
(2) Y axis jogging direction .............................................................................................. Section 4.
(1) Acc./dec. in all G01 moves: (0=No, 1=Yes) ................................................................. Section 4.4
P64 Y axis feedrate when in JOG and PLAY-BACK mode ................................................. Section 4.3
P65 Y axis home searching feedrate ................................................................................... Section 4.6
P66 Y axis gain break point ................................................................................................ Section 4.4
P67 Maximum Y axis feedrate ............................................................................................ Section 4.3
P68 In-Position zone for Y .................................................................................................. Section 4.2
P69 Y axis feedback correction factor (in microns) ............................................................ Section 4.1
P70 Communication speed (baudrate) (110, 150, 300, 600, 1200, 2400, 4800, 9600) ..... Section 5.2
P71 Program protected from a particular block on ............................................................. Section 3.3
P72 T2. Delay between reaching position and brake for Y (msec.) .................................... Section 4.5
P73 T3. Delay between brake signal and In-Position signal for Y (msec.) ......................... Section 4.5
P74 T4. Duration of In-Position signal for Y (msec.) .......................................................... Section 4.5
P75 X axis FEED-FORWARD gain .................................................................................... Section 4.4
P76 Y axis FEED-FORWARD gain .................................................................................... Section 4.4
P77 Number of spindle encoder pulses ............................................................................... Section 3.4
P78 thru P79 Not being used at this time
P80 CNC identification parameter in the LAN ................................................................... Section 5.3
P81 Maximum permitted slippage with G34 and optical reader ........................................ Section 5.5
P82 Distance covered by the axis after receiving the signal from the probe ...................... Section 5.6
P83 thru P89 Not being used at this time
P90 Acc./dec. ramp with rounded corners: (1=48msec.) ..................................................... Section 4.4
P91 X axis acceleration time: (1=24msec.) ......................................................................... Section 4.4
P92 Y axis acceleration time: (1=24msec.) ......................................................................... Section 4.4
P93 Number of arithmetic parameters displayed in every ten ............................................ Section 3.7
P94 Factor by which the gain of axis X is reduced in the braking phase or value
of the analog output corresponding to the fast signal (position loop open) ............... Section 4.4
P95 Factor by which the gain of axis Y is reduced in the braking phase or value
of the analog output for the slow signal (position loop open) .................................. Section 4.4
P96 thru P99 Not being used at this time
P100 (8) Function G92 as coordinate setting (not-preset) for X: (0=No, 1=Yes) ....................... Section 3.3
(7) Function G92 as coordinate setting (not-preset) for Y: (0=No, 1=Yes) ....................... Section 3.3
(6) "Double Feedback" being used: (0=No, 1=Yes) .......................................................... Section 5.4
(5) General Play-Back (0) or only for reading points (1) .................................................. Section 3.6
(4) G34 being used (0=No, 1=Yes) .................................................................................... Section 5.5
(3) The optical reader is available for compensating
material variations in G34 (0=No, 1=Yes) ................................................................... Section 5.5
(2) Acc./dec. in G05 (round corner): (0=Yes, 1=No) ......................................................... Section 4.4
(1) The CNC uses DNC communications: (0=No, 1=Yes) ................................................ Section 5.2
P101 (8) 200% feedrate override possible with feedrate override inputs: (0=Yes, 1=No) ......... Section 3.8
(7) Function G60 as loading of punch dimensions (0=No, 1=Yes) ................................... Section 5.8
(6) Single pole S analog output (1) or bipolar (0) ............................................................. Section 5.1
(5) Not being used at this time
(4) In Parametric programming the S sign is taken into account (0=No, 1=Yes) ............. Section 5.1
(3) Functions G47, G48 as opening of the axis loop (0=No, 1=Yes) ................................ Section 5.7
(2) CNC limits MFO switch setting to 100%: (0=No, 1=Yes) ........................................... Section 3.8
(1) The CNC uses an external operator panel "JOG 100": (0=No, 1=Yes) ........................ Section 3.3
P102 (8) The machine has an auxiliary handwheel: (0=No, 1=Yes) .......................................... Section 3.4
(7) Not being used at this time
(6) Not being used at this time
(5) Not being used at this time
(4) Not being used at this time
(3) Not being used at this time
(2) Not being used at this time
(1) The axes are called Y, C (0=No, 1=Yes) ...................................................................... Section 3.4
P110 Monitoring of "Double Feedback". Maximum slippage (in microns) ......................... Section 5.4
KEY CODES
The codes corresponding to the control keys at the external operator panel are:
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.
On the other hand, accumulated dirt can sometimes act as an electrical conductor and shortcircuit
the internal circuitry, especially under high humidity conditions.
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.
Do not use highly compressed air to clean the unit because it could generate electrostatic discharges.
The plastics used on the front panel of the CNC are resistant to :
Do not manipulate the connectors with the unit connected to main AC power.
Before manipulating these connectors, make sure that the unit is not connected
to main AC power.
Fagor Automation shall not be held responsible for any material or physical
damage derived from the violation of these basic safety requirements.
08 Battery Error.
> The braking distance (P3) is smaller than the In-position zone (P28).
> The movement cannot be executed since, due to the programmed feedrate, the braking distance is smaller
than the In-Position zone (Open Positioning Loop).
10 A block has been programmed which forces the X axis to overrun its travel limits.
> The rotary ROLLOVER axis via the shortest way, does not admit negative absolute coordinates.
> An axis with HIRTH toothing does not admit decimal values.
15 Function M30 has not been programmed at the end of the program.
> The X axis has shifted a distance 16 times the in-position zone once the brake has been activated.
> The moving direction does not correspond to the sign of the analog voltage.
> The actual X axis feedback pulses are not between 50% and 200% of the theoretical ones within the time
window set by machine parameter P12.
17 Emergency.
21 Probing Error.
22 Features not available at this CNC model have been defined, such as:
> Fast and Slow signals when operating in Closed Positioning Loop.
> Rotary HIRTH axis or following the shortest way while not being a ROLLOVER axis.
23 Too large a value assigned to an arithmetic parameter in parametric programming.
24 Arithmetic division by 0.
27 A tool too large has been selected. For example, when assigning an arithmetic parameter value greater than 10
to a "T" function.
28 More than 4 "M" functions have been programmed in a block or 4 "M" functions in a block containing an "S"
function which involves a gear (range) change (M41,M42,M43 or M44).
29 There are no selected spindle ranges (P36, P37, P38 and P39=0), or the "S", spindle speed, value is too high.
> The braking distance (P43) is smaller than the In-position zone (P68).
> The movement cannot be executed since, due to the programmed feedrate, the braking distance is smaller
than the In-Position zone (Open Positioning Loop).
36 A block has been program which forces the Y axis to overrun its travel limits.
> The Y axis has shifted a distance 16 times the in-position zone once the brake has been activated.
> The moving direction does not correspond to the sign of the analog voltage.
> The actual Y axis feedback pulses are not between 50% and 200% of the theoretical ones within the time
window set by machine parameter P12.
42 The programmed circle does not go through the defined end point (tolerance 0.01 mm).
43 The circular interpolation is missing the I, J values or has been defined wrong.
44 A wrong block has been programmed, either in itself or with respect to the program history up to that point.
49 Misconfigured LAN, a certain node has not been accepted in the LAN.
104 DNC error. Error when reading the number of the first block of the active program.
113 DNC error. When requesting the contents of several blocks (RN code), the first block number is greater than the
last block number. For example: RN100.50
116 DNC error. A block has been sent which contains too many characters. The maximum is 80 characters when using
blank spaces as separators and 45 when otherwise.
117 DNC error. A program block has been sent in disagreement with the machine parameters.
CNC 101/102(S)
New Features (Version 9905 in)
ERRORS DETECTED IN THE INSTALLATION MANUAL (REF. 9703)
Comparison table (page x). General characteristics.
In the "Axes" section" where it says "Axes X + Y + Auxiliary handwheel"
It should say "X Axis + Auxiliary Y axis (not dro) + Auxiliary handwheel"
Comparison table (page xii). Programming.
The programming function G34 is missing:
G34 X axis as an infinite follower of another axis (only for the 101S)
Section 3.5 (chapter 3 page 8). Feedback alarm parameter P22(7), P62(7)
The last paragraph is wrong, it should read:
"If the feedback system ....... with a value of "0" (feedback alarm OFF)".
Section 4.4.2 (chapter 4 page 13). Open positioning loop
The first paragraph is wrong, it should say:
It is necessary to set P23(4)=0.
Appendix "F" (page 9). I/O related parameters
The first line is wrong, it should read:
"P22(7), P62(7) Feedback alarm ON (1) or OFF (0) on the X, Y axis (respectively).
Section 4.1.1.1 (chapter 4 page 11). P63(1) Acceleration/deceleration in all G01 movements
It should read:
P63(1) Acceleration/deceleration also on linear interpolations (G01)
It defines if the CNC, besides applying acc/dec ramps (P16, P17, P91, P92) on all rapid movements at F0, it
also applies them on linear interpolations (G01).
0 = Only on rapid movements (G00) and at F0.
1 = On rapid movements and on all linear interpolations (G01).
-2-
Software Version 2.02 (May 1998)
P102(7) = 0 It is not possible. The handwheel is active in the handwheel positions only.
P102(7) = 1 The handwheel is active in any position of the Feedrate Override Switch.
When machine parameter P102(7) = 1, the CNC applies the "x1" factor when the switch is positioned out of the
handwheel positions.
3. AXES NOMENCLATURE.
With bits 1 and 2 of parameter P102, the axes nomenclature may be defined.
P102(2) P102(1) Axes Nomenclature
0 0 XY
0 1 YC
1 0 XZ
1 1 YZ
The new denomination selected only affects the display, they will keep being X and Y internally. Therefore, when
accessing the CNC via DNC 100, the axes will always be X Y.
4. MOVEMENTS IN G75
In previous versions, when a movement programmed in G75 reached position and the CNC had not yet received the
probe signal, the CNC would issue error 21.
From this version on, parameter P102(5) indicates whether the CNC issues error 21 or not.
P102(5) = 0 It issues error 21. Like until now.
P102(5) = 1 It does not issue error 21. It goes on executing the next block.
-3-
Software Version 2.03 (January 1999)
1. ADDITIONAL MOVEMENT WITH G75
When probing at high speed, it could stop abruptly making the axis overshoot the programmed position and having
to move back into position.
In previous versions of the CNC 101 S, machine parameter P82 could be used to minimize this sometimes undesirable
effect.
This parameter indicates to the CNC the distance the axis must move after receiving the probe signal, thus stopping
smoothly.
From this version on, this feature will also be available on the "102 S" CNC model and parameter P83 indicates the
distance the Y axis must move after receiving the probe signal.
Therefore: P82 indicates the distance the X axis must move after receiving the probe signal.
P83 indicates the distance the Y axis must move after receiving the probe signal.
Possible values: From 1 to 65535 microns.
From 1 to 25801 tenth-thousandths of an inch.
SUBSIDIARIES
Spain Fagor Automation Catalunya Brazil Fagor Automation do Brasil Com. Imp. Exp.
France Fagor Automation Systèmes Ltda.
Germany Fagor Industriecommerz GmbH China, P.R. Beijing Fagor Automation Equipment Co. Ltd.
Italy Fagor Italia S.R.L. Beijing Fagor Automation Equipment Ltd.
United Kingdom Fagor Automation UK Ltd. Nanjing Office
Switzerland Fagor Automation Suisse S.à r.l. Beijing Fagor Automation Equipment Co.Ltd.,
Portugal Fagor Automation Ltda. Guangzhou Rep.Office
USA Fagor Automation Corp. Fagor Automation (Asia) Ltd. (Hong Kong)
Fagor Automation West Coast Korea Fagor Automation Korea Ltd.
Fagor Automation East Coast Taiwan Fagor Automation (Asia) Ltd. Twn. Branch
Canada Fagor Automation Ontario (HK)
Fagor Automation Quebec Singapore Fagor Automation (S) Pte. Ltd.
-4-