background image

  

 Installation manual

CNC 8035

PLC RESOURCES

Timers

6.

(S

OFT

 M: V15.3

X

)

(S

OFT

 T: V16.3

X

)

·273·

6.5.1

Monostable mode. TG1 input

In this operational mode the timer status is kept at the high logic level (T=1) from the moment the
TG1 input is activated until the time indicated by the time constant elapses.

If the timer is initialized with values TEN=1 and TRS=0, the timer will be activated when  a leading
edge is produced at input TG1. At that moment, the timer status output (T) changes states (T=1)
and the timing starts from "0".

Once the time specified by the time constant has elapsed, timing will be considered as having
finished. The timer status output (T) changes status (T=0) and the elapsed time will be maintained
with the time value of the timer (T).

Any changes at the TG1 input (up or down-flank) while timing, has no effect.

If, once the timing is complete it is required to activate the timer again, another leading edge must
be produced at the TG1 input.

Summary of Contents for 8035-M

Page 1: ...Soft M V15 3x Soft T V16 3x CNC 8035 Ref 1106 INSTALLATION MANUAL M T MODELS...

Page 2: ......

Page 3: ...ir own purpose could violate the rights of the owners It is possible that CNC can execute more functions than those described in its associated documentation however Fagor Automation does not guarante...

Page 4: ......

Page 5: ...70 CHAPTER 4 MACHINE PARAMETERS 4 1 Parameters that may be modified from the OEM program or OEM subroutine 76 4 2 General machine parameters 78 4 3 Axis parameters 116 4 4 Spindle parameters 144 4 5 D...

Page 6: ...eed 246 5 13 2 Cycle start disabled when hardware errors occur 248 5 14 Tool magazine 249 5 14 1 Tool change via PLC 249 5 14 2 Tool change management 250 5 15 Gear ratio management on axes and spindl...

Page 7: ...PLC channel 351 10 6 General logic outputs 353 10 7 Logic outputs of the axes 359 10 8 Spindle logic outputs 361 10 9 Logic outputs of key status 363 CHAPTER 11 ACCESS TO INTERNAL CNC VARIABLES 11 1 V...

Page 8: ...es 431 D Summary of PLC commands 437 E Summary of PLC inputs and outputs 441 F 2 digit BCD code output conversion table 447 G Key codes 449 H Logic outputs of key status 451 I Key inhibiting codes 453...

Page 9: ...OL Number of axes 3 3 3 3 2 2 Hard disk Opt Opt Opt Opt Opt Opt Electronic threading Stand Stand Stand Stand Stand Stand Tool magazine management Stand Stand Stand Stand Stand Stand Machining canned c...

Page 10: ......

Page 11: ...ey all comply with the directives listed However check that that s the case by checking the label of the unit itself Referred to by this declaration with following directives As instructed by the Euro...

Page 12: ......

Page 13: ...lso applied to the slave axis RAPIDEN P130 Rapid key controlled by PLC General parameters that may be modified from OEM subroutine program CODISET Axis parameters that may be modified from OEM subrout...

Page 14: ...red to part zero ATPOS X C Theoretical coordinates of the tool base referred to part zero INST PRG Retracing function If RETRACAC 2 the retrace function does not stop at the M functions The RETRACAC p...

Page 15: ...puts of the expansion modules using plc machine parameters INST Default value of axis and spindle machine parameter ACFGAIN YES INST Setting axis parameters FFGAIN and FFGAIN2 with two decimals INST U...

Page 16: ...nspection Resume the interrupted cycle OPT PRG List of features Manual Do not execute a program sent via DNC until pressing START INST Select the set of gains and accelerations to be used in a home se...

Page 17: ...10 MDI instructions OPT Turn the retrace with Look Ahead function on INST Monitoring of the difference between the first and second feedback INST Improved safety with absolute feedback INST Improved...

Page 18: ...CNC 8035 18 Version history M...

Page 19: ...lso applied to the slave axis RAPIDEN P130 Rapid key controlled by PLC General parameters that may be modified from OEM subroutine program CODISET Axis parameters that may be modified from OEM subrout...

Page 20: ...X C Theoretical coordinates of the tool base referred to part zero INST PRG Retracing function If RETRACAC 2 the retrace function does not stop at the M functions The RETRACAC parameter is initialized...

Page 21: ...of the expansion modules using plc machine parameters INST Default value of axis and spindle machine parameter ACFGAIN YES INST Setting axis parameters FFGAIN and FFGAIN2 with two decimals INST Up to...

Page 22: ...ndle override change while threading INST PRG Threading in blind threads without thread exit OPT PRG Jogging in G95 PRG List of features Manual Do not execute a program sent via DNC until pressing STA...

Page 23: ...and second feedback INST Improved safety with absolute feedback INST Improved tool changer INST Gear ratio management on axes and spindle INST Threading without spindle orientation PRG PLC monitoring...

Page 24: ...CNC 8035 24 Version history T...

Page 25: ...tion 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 gr...

Page 26: ...led DC relay coils Diode type 1N4000 AC relay coils RC connected as close to the coils as possible with approximate values of R 220 1 W and C 0 2 F 600 V AC motors RC connected between phases with val...

Page 27: ...Do not handle the connectors with the unit connected to mains Before manipulating the connectors inputs outputs feedback etc make sure that the unit is not connected to AC power Danger or prohibition...

Page 28: ...CNC 8035 28 Safety conditions...

Page 29: ...of material and labour involved in repairs at FAGOR carried out to correct malfunctions in the equipment FAGOR undertakes to repair or replace their products within the period from the moment manufact...

Page 30: ...e faulty material has been replaced the warranty will cover just the replaced parts or components within 12 months For sold parts the warranty is 12 moths length Maintenance contracts The SERVICE CONT...

Page 31: ...e cardboard being used to make the box must have a resistance of 170 kg 375 pounds 2 Attach a label indicating the owner of the unit person to contact type of unit and serial number 3 In case of failu...

Page 32: ...CNC 8035 32 Material returning terms...

Page 33: ...nts chemical products blows etc which could damage it Before turning the unit on verify that the ground connections have been properly made In case of a malfunction or failure disconnect it and call t...

Page 34: ...CNC 8035 34 Additional remarks...

Page 35: ...starting up the CNC USER M manual Directed to the end user It describes how to operate and program in M mode USER T manual Directed to the end user It describes how to operate and program in T mode US...

Page 36: ...CNC 8035 36 Fagor documentation...

Page 37: ...NC 8035 SOFT M V15 3X SOFT T V16 3X 1 CNC CONFIGURATION The CNC is prepared to be used in industrial environments especially on milling machines lathes etc The CNC can control machine movements and de...

Page 38: ...TY P92 automatically Dimensions The auto identification system of the keyboards is recognized from versions V9 11 and V10 11 on If an auto identifying keyboard is connected to a CNC that has an older...

Page 39: ...emperature to exceed the specified ambient temperature Between 5 C and 50 C 41 F and 122 F Relative humidity between 5 and 95 non condensing When using a fan to better ventilate the enclosure a DC fan...

Page 40: ...the USB hard disk Pen Drive D Operator panel E To connect the communications board X1 For RS232 serial line connection X2 For digital I O connection I1 through I16 and O1 through O8 X3 For probe conne...

Page 41: ...onnel authorized by Fagor Automation may open this module Do not handle the connectors with the unit connected to mains Before doing it make sure that the unit is disconnected The machine manufacturer...

Page 42: ...0 6 1 2 Vpp Centered V1 V2 2 Vpp 6 5 Relationship VApp VBpp 0 8 1 25 Phase shift 90 10 Reference mark I0 Amplitude 0 2 0 85 V Width T 90 I0 T 180 Maximum frequency 200 kHz Maximum gap between flanks 4...

Page 43: ...n independent external power supply with the following specifications The central unit has a protection against overvoltage that activates at 36 V The supply current has the following shape on power u...

Page 44: ...should not be greater than 15m 49ft Shielded cables with twisted pair wires should be used to avoid communication interference when using long cables Use shielded 7 conductor cable of 0 14 mm2 section...

Page 45: ...assigned input I1 for this purpose thus the CNC will treat this input immediately regardless of how the PLC program uses it The emergency output which coincides with O1 of the PLC will be activated c...

Page 46: ...pin high density SUB D type female connector It admits 1Vpp and differential TTL feedback The cable shield must be connected to the metallic hood at each end Pin Signal and function 1 2 3 4 5 Chassis...

Page 47: ...nect it as first handwheel and connect the axis selecting signal button to pin 13 Connector X6 For Operator Panel connection 26 pin high density SUB D type female connector FAGOR AUTOMATION provides t...

Page 48: ...used for these inputs and outputs must be connected to pins 18 and 19 for 0V and pins 1 and 20 for the 24V of the connector Pin Signal and function 1 2 3 4 5 24 V O33 O35 O37 O39 External power suppl...

Page 49: ...able shield must be connected to the metallic hood at each end The axis nomenclature is set when setting machine parameters AXIS1 P0 to AXIS4 P3 Pin Signal and function 1 2 3 4 5 Chassis Cons 1 Cons 2...

Page 50: ...Connect the 0V of the power supply used for these inputs to pins 18 and 19 for 0V of the connector Pin Signal and function 1 2 3 4 5 I65 I67 I69 I71 6 7 8 9 10 I73 I75 I77 I79 I81 11 12 13 14 15 I83...

Page 51: ...high density SUB D type female connectors Admits differential TTL and 1Vpp sinusoidal feedback The cable shield must be connected to the metallic hood at each end Protection at the connectors It detec...

Page 52: ...identification code corresponding to The card id all the cards are different The software features that have been purchased for that unit The id code only needs very little memory space The rest of m...

Page 53: ...red with the extensions mentioned earlier Only software versions can be transferred to the CNC s hard disk KeyCF through this USB device It can also be transferred from the USB to the hard disk KeyCF...

Page 54: ...ing types of connections are possible PC connection through WinDNC it requires WinDNC version 4 0 or higher Connection from a PC through an FTP client Connection to a remote hard disk Remote hard disk...

Page 55: ...the connection The central unit must always be at one end of the line The other end will be the last one of the remote module groups The switch position of the terminating elements must be 1 and that...

Page 56: ...Installation manual CNC 8035 1 CNC CONFIGURATION CNC structure SOFT M V15 3X SOFT T V16 3X 56...

Page 57: ...al surface of the enclosure in order to dissipate the heat generated in it the following data must be taken into account Dissipating surface Onlysurfacesdissipatingheatbyconvectionwillbeconsidered the...

Page 58: ...8035 2 HEAT DISSIPATION Heat dissipation by natural convection SOFT M V15 3X SOFT T V16 3X 58 2 1 Heat dissipation by natural convection Surface without paint Surface with smooth metallic enamel A P...

Page 59: ...an whose air flow is Q 13 6 m3 h facing up Fan whose air flow is Q 30 m3 h facing down Fan whose air flow is Q 102 m3 h facing down Surface without paint Surface with smooth metallic enamel A P 5 6 T...

Page 60: ...surface of the enclosure For this case calculate the necessary air flow that the fan must supply to dissipate the heat generated inside the enclosure The fan s air flow is calculated according to the...

Page 61: ...hine tool must have all the interference generating elements relay coils contactors motors etc uncoupled DC relay coils Power switch This power switch must be mounted in such a way that it is easily a...

Page 62: ...o obtain low impedance and efficiently avoid any interference This way all parts of the installation will have the same voltage reference Proper ground installation reduces the effects of electrical i...

Page 63: ...Installation manual CNC 8035 MACHINE AND POWER CONNECTION 3 SOFT M V15 3X SOFT T V16 3X 63 Ground connection diagram Chassis Ground Protection ground for safety...

Page 64: ...sed to read external devices etc The electrical characteristics of these inputs are All inputs are protected by means of Galvanic isolation by optocouplers Protection against reversal of power supply...

Page 65: ...The electrical characteristics of these outputs are Shielded cables should be used connecting the shield at each connector as shown here See chapter 1 CNC configuration Command voltage within range 1...

Page 66: ...y that the connectors for the digital inputs and outputs are disconnected Verify that the E STOP button is pressed Connection Verify that the A C power is correct With the CNC completely disconnected...

Page 67: ...AXIS8 P7 the CNC will enable the relevant axes parameter tables The values to be assigned to the parameters of each of these tables will depend on the results obtained when adjusting each machine axis...

Page 68: ...ng of the CNC for that point This will be the distance away from the machine reference point thus the value to be assigned to a m p REFVALUE P36 will be Machine coordinate of the measured point CNC re...

Page 69: ...itycommand voltage of 9 5V If they are adjusted to a different voltage it must be indicated in the a m p or s m p MAXVOLT P37 Also the maximum feedrate must be indicated in the a m p G00FEED P38 The m...

Page 70: ...e CNC will set the real value of PLC output O1 to 1 Otherwise it will keep the EMERGENCY OUTPUT signal active low and it will display the corresponding error message Once the initialization process is...

Page 71: ...e general logic output ALARM and it will set the emergency output low pin 2 of connector X2 Since this signal corresponds to the PLC output O1 it can also be activated by the PLC program The recommend...

Page 72: ...Installation manual CNC 8035 3 MACHINE AND POWER CONNECTION Connection of the emergency input and output SOFT M V15 3X SOFT T V16 3X 72...

Page 73: ...report window The main menu for the various operating modes will appear at the bottom of the CRT These options will be selected using the softkeys F1 through F7 Since it is possible to have more than...

Page 74: ...e of the table lines has been selected the user can move the cursor over this line by means of the keys It is also possible to perform other functions by using the following keys Character Type of upd...

Page 75: ...Machine parameter setting In order for the machine tool to be able to properly execute the programmed instructions as well as interpret the different elements connected to it the CNC must know the sp...

Page 76: ...te TLOOK P161 Beginning of program execution CODISET P147 Immediate Parameter Number Update BACKLASH P14 Immediate ACCTIME P18 Beginning of the next block INPOSW P19 Immediate MAXFLWE1 P21 Immediate M...

Page 77: ...P3 Beginning of the next block MAXGEAR3 P4 Beginning of the next block MAXGEAR4 P5 Beginning of the next block ACCTIME P18 Beginning of the next block INPOSW P19 Immediate PROGAIN P23 Immediate DERGA...

Page 78: ...el no other handwheels may be used and it must be connected as first handwheel See 5 3 Movement with an electronic handwheel on page 190 Value Meaning Value Meaning 0 Free not associated 12 Handwheel...

Page 79: ...ET The code is IPLANE P11 Indicateswhichfunction G17 XY plane or G18 ZX plane isassumed on power up afterexecuting M02 M30 EMERGENCY or RESET The code is ILCOMP P12 It is only used in the Mill model C...

Page 80: ...cal position values according to the following code GRAPHICS P16 On the T model it indicates the axes coordinates system to be used for the graphic representation In this model it also defines the lay...

Page 81: ...able to the programmed feedrate From the operator panel switch it may be varied between 0 and 120 and from the PLC DNC or by program between 0 and 255 CIRINLIM P19 Indicates the maximum angular feedra...

Page 82: ...quare corner This dwell can be very useful when some devices have to activated after the execution of each block NTOOL P23 Indicates the number of tools in the tool magazine On the other hand the CNC...

Page 83: ...nt from the tool number TOOLMONI P26 Selects the display units of the tool s nominal and real lives NTOFFSET P27 Indicates the number of tool offsets available in the tool offset table On the other ha...

Page 84: ...one axis causes a position change on another axis The CNC offers a table where one could enter the position variations of one axis for the particular positions of the other axis MOVAXIS P32 Usedinthe...

Page 85: ...ot change the nesting level of local parameters thus only global parameters must be used in them Once the CNC completes the execution of the subroutine it will continue running the original program PR...

Page 86: ...xecuted via the user channel when pressing the softkey USER in the EXECUTE mode USEREDIT P48 Indicates the number of user program associated with the Edit mode This program will be executed via the us...

Page 87: ...COMAXIS2 P56 NPCROSS3 P57 MOVAXIS3 P58 COMAXIS3 P59 Not being used TOOLSUB P60 Indicates the number of the subroutine associated with the tools This subroutine will be executed automatically every ti...

Page 88: ...how far in advance the general logic output ADVINPOS M5537 is activated before the axes reach position This reduces idle time thus increasing the number of punches per minute If the total duration of...

Page 89: ...h compensation Value Meaning 0 4 ms period standard 4 Period of 4 milliseconds 5 Period of 5 milliseconds 6 Period of 6 milliseconds Sampling periods shorter than 2 msec are not allowed when not using...

Page 90: ...l should be positioned before penetrating into the part The additional block must be executed in the upper plane and consequently together with the first block COMPTYPE 00 At the end of the compensati...

Page 91: ...oves perpendicular to the path on its starting point The first movement programmed in the plane may be either linear or circular FPRMAN P75 It is only used on lathe model CNC s and it indicates whethe...

Page 92: ...eans of function G51 With g m p MACELOOK P79 the OEM can limit the maximum percentage of acceleration that the user may set with G51 MPGCHG P80 MPGRES P81 MPGNPUL P82 These parameters must be used whe...

Page 93: ...iplying factor to them we get 100 pulses per turn 4 The value to be assigned to parameter MPGRES depends on the axis resolution format With 5 3mm type display format set MPGRES 1 With 4 4mm type displ...

Page 94: ...e meaning of parameters MPGCHG P80 MPGRES P81 and MPGNPUL P82 CUSTOMTY P92 It indicates the configuration being used Keyboard auto identification The keyboard has an auto identification system that up...

Page 95: ...nd provides the following information variables associated with the coordinates TPOS Actual position of the probe when the CNC receives the probe signal DPOS Theoretical position of the probe when the...

Page 96: ...eactivated the CNC applies the first of the sets ACCTIME PROGAIN Considerations to bear in mind The change of gains and accelerations is always made at the beginning of the block When working in round...

Page 97: ...m at the previous feedrate the one used in the program or set via MDI while in tool inspection when tool inspection is over Ifset to 0 by default tool inspection will be carried out at the feedrate cu...

Page 98: ...tion is usually used by several tools In those cases the T function refers to the turret position and the D function to the dimensions and geometry of the tool occupying that position Thus GEOMTYPE 1...

Page 99: ...acts when requesting a feedrate greater than the maximum allowed depending on the handwheel turning speed and the position of the switch 0 It limits the feedrate to the maximum allowed but it moves t...

Page 100: ...errors The MSGFILE program may be in user memory in the Memkey card or in the hard disk KeyCF If it is in several places it takes the one in user memory If any of these texts is in Russian or mainland...

Page 101: ...ed TYPCROSS P135 It indicates how cross compensation is applied This parameter has two digits units Cross compensation with theoretical or real coordinates The units indicate whether cross compensatio...

Page 102: ...e bits will be assigned the value of 0 Assigning the value of 1 activates the corresponding function Bit 13 Backlash compensation on arcs G2 G3 This bit indicates whether the compensation is applied o...

Page 103: ...for high speed In this cases it is recommended to use the exponential type that applies a strong pulse at the beginning and decreases in time Bit 13 Additional pulse only in circular paths G2 G3 This...

Page 104: ...ith look ahead even if these filters have been activated by machine parameters for the axes Value 1 Fagorfilters will be used in all movements In not advanced look ahead ifthe Fagorfilters have been s...

Page 105: ...efunctionandverifythattheinternalvariableVLOOKR remains constant which means that there is no vibration From the oscilloscope it is possible to change the value of parameter TLOOK but the new value is...

Page 106: ...and the signal coming from the PLC Both may be re enabled with the ESTOP instruction Bit 14 Type of corner when changing tool offsets When changing a tool offset the change takes place at the end of t...

Page 107: ...y be done by setting the set of gains through g m p ACTGAIN2 P108 with the bit corresponding to G75 G76 CANSPEED P169 CAN bus transmission speed for the digital drives The transmission speed depends o...

Page 108: ...LC mark MACHMOVE determines how the manual movements with handwheels or with the keyboard will be carried out The inclined plane is activated from the part program function G46 If the inclined plane i...

Page 109: ...es the intersection between the compensated paths For angles over 300 it resolves it like when COMPMODE 0 ADIMPG P176 This parameter enables manual intervention with an additive handwheel This functio...

Page 110: ...This bit indicates whether the handwheel resolution is set by parameter ADIMPRES bit01 or not Otherwise bit 0 the resolution of the handwheel is set with the switch of the operator panel If the switc...

Page 111: ...GAINT P185 The axes and the spindle can have 3 sets of gains and accelerations By default the CNC always assumes the first set indicated by the parameters of the axis or of the spindle ACCTIME PROGAIN...

Page 112: ...mode is deactivated the CNC applies the first of the sets ACCTIME PROGAIN Considerations to bear in mind The change of gains and accelerations is always made at the beginning of the block When working...

Page 113: ...mmed it is necessary to maintain the machining feedrate of the blocks that cause it To maintain the machining feedrate of these blocks and avoid the square corner effect change bit 0 of general machin...

Page 114: ...e corner mode If a block contains coordinates that coincide with the position of the previous block the CNC will not execute it in square corner mode STARTDIS P190 When sending an infinite program fro...

Page 115: ...ongitudinal axis will be maintained or changed when changing the work plane G17 G18 or G19 This parameter has 16 bits counted from right to left Bit 0 of g m p LCOMPTYP P191 Value Meaning 0 The longit...

Page 116: ...ing rotary axis G00 commanded from the PLC 9 Rotary axis with Hirth toothing positioning in whole degrees commanded from the PLC Default value 0 By default rotary axes are Rollover and are displayed b...

Page 117: ...C axis with P5 0 P6 720 and the positioning axis in 700 340 on the screen when programming G90 C10 the CNC tries to move the axis via the shortest path 701 702 etc but it will issue an error message...

Page 118: ...coder On rotary axis it sets the number of degrees the shaft rotates per encoder turn In this type of servo system the leadscrew pitch is set through parameter PITCHB P86 When using gear reduction on...

Page 119: ...eedback signals this parameter must be set to 0 and the CNC will always apply a multiplying factor of x4 The axis feedback resolution must be set using a m p PITCH P7 NPULSES P8 and SINMAGNI P10 as sh...

Page 120: ...er of pulses received has come back to normal But if more time elapses than the one indicated in this parameter without the axis coming back to normal the CNC will issue the relevant error message AXI...

Page 121: ...me period that the axis must remain in the IN POSITION zone in order to consider it to be in position On axes that are only controlled during the interpolation or the positioning dead axes this preven...

Page 122: ...onal gain To apply this gain to an axis that axis should be working with acc dec a m p ACCTIME P18 other than 0 Possible values Between 0 and 99999 9999 degrees or millimeters Between 0 and 3937 00787...

Page 123: ...the sign of the velocity command If correct leave it as is but to change it select YES if it was set to NO and viceversa MINANOUT P27 Indicates the minimum velocity command for the axis Possible value...

Page 124: ...applied for a period of time indicated in the a m p BAKTIME P30 BAKTIME P30 It indicates the duration of the additional velocity command pulse to make up for backlash in movement reversals Possible v...

Page 125: ...reference zero The machine reference point is a point that the OEM sets on the machine to synchronize the system The CNC positions the axis at this point instead of moving it to the machine zero point...

Page 126: ...n G00 moves OVERRUN P40 Indicates the distance to be kept between the approach point and the programmed point If it is a Lathe model this distance must be in radius UNIFEED P41 Indicates the feedrate...

Page 127: ...rogrammed feedrate AC forward Possible values Between 0 0001 and 199999 9999 degrees min or mm min Between 0 00001 and 7874 01574 inches min Default value 5000 mm min Possible values Between 0 0001 an...

Page 128: ...ice has been detected the CNC moves the distance indicated by a m p REFSHIFT P47 This way the machine reference point will always be the same This movement is carried out at the feedrate indicated by...

Page 129: ...Axis machine parameter I0TYPE has two digits Units It indicates the type of Io signal marker pulse provided by the feedback device Possible values Between 0 0001 and 99999 9999 millimeters Between 0 0...

Page 130: ...ith respect to the machine reference zero home this parameter must be assigned the position value coordinate of the machine reference zero point M with respect to the zero of the linear encoder C MINM...

Page 131: ...itch on the glass or steel tape and the electrical period or period of the feedback signal supplied to the CNC Values to be assigned for Fagor encoders with distance coded I0 Value Meaning 0 Analog ax...

Page 132: ...DRIBUSLE P63 The CNC considers this parameter when using a digital drive CAN Axis parameter DRIBUSID P56 other than 0 Even when the data exchange between the CNC and the drive is done via digital CAN...

Page 133: ...sociated with the X axis SWITCHAX for X 0 SWITCHAX for Z 1 SWINBACK P66 When having 2 axes controlled by a single servo drive machine parameter SWINBACK of the secondary axis indicates whether it has...

Page 134: ...t defines the derivative of the acceleration It may be used to limit the acceleration changes to smooththemachinemovementsonsmallspeedincrementsordecrementsandwithFFGAINvalues close to 100 The CNC ign...

Page 135: ...e setting it to another value consult with Fagor Automation s technical service Possible values Between 0 and 65535 waves Default value For I0CODD1 P68 1000 Default value For I0CODD2 P69 1001 Example...

Page 136: ...obtain a good machining quality all the axes and the spindle interpolating with each other should be defined with the same type of filter and with the same frequency When defining anti resonance filt...

Page 137: ...B 20 log A Ao A 0 707 Ao For the anti resonance notch filter it indicates the mid frequency or frequency at which the resonance reaches its maximum value NORBWID P73 Standardized bandwidth This parame...

Page 138: ...itive handwheel FRAPIDEN P85 Maximum axis feedrate when activating the EXRAPID mark and when pressing the rapid key in execution or in simulation with motion If set to 0 it assumes the feedrate set by...

Page 139: ...mental switch position 10000 the movement will be multiple of the closest pitch to 10 and under 10 If the pitch value is greater than 10 it will move a single step Even if the position of a Hirth axis...

Page 140: ...Otherwise it will read the data of set 0 ACCTIMET P92 PROGAINT P93 DERGAINT P94 FFGAINT P95 These parameters define the third set of gains and accelerations They must be set like the parameters that d...

Page 141: ...tance traveled along the corresponding axis after the theoretical reversal from which the reversal peak is cut off on that axis This parameter is only taken into account when bit 1 of g m p ACTBAKAN P...

Page 142: ...s varied 2 d m from the position where the first reversal command took place it does not issue the compensation it has not exceeded the value given by a mp REVHYST and it just reverses the movement On...

Page 143: ...a m p MAXDIFAB P101 the CNC will show an error window on power up this window only comes up once in every power up To eliminate this error select the option REMOVE ERROR and press ENTER This way the a...

Page 144: ...e lower ones and set the unused ones to the same value as the highest one used AUTOGEAR P6 Indicates whether the gear change is generated automatically or not by the CNC activating the M functions M41...

Page 145: ...rresponding to the selected gear SOVRSTEP P12 Indicates the incremental step of the programmed spindle speed every time the override keys at the operator panel are pressed NPULSES P13 Indicates the nu...

Page 146: ...is parameter is used when working with the spindle in closed loop and it indicates the acceleration time given to reach the maximum speed set by s m p MAXVOLT1 P37 thru MAXVOLT4 P40 in each gear This...

Page 147: ...Indicates the maximum following error allowed for the spindle when stopped in closed loop M19 PROGAIN P23 The CNC takes this parameter into account when operating in closed loop M19 Indicates the val...

Page 148: ...t will depend upon the following error both the proportional and derivative gains will be applied onto this following error The feed forward gain improves the position loop minimizing the following er...

Page 149: ...by means of the REVOK signal that the actual spindle rpms are the same as the programmed ones Possible values NO YES Default value NO Possible values It is given in D A converter units and it admits i...

Page 150: ...2 P35 Indicates the synchronizing speed of the spindle after hitting the home switch and until it finds the marker pulse REFVALUE P36 Indicates the position value assigned to the reference point of th...

Page 151: ...command corresponding to a following error of 1 degree is very small This offers greater sensitivity for adjusting s m p PROGAIN P23 and DERGAIN P24 ACFGAIN P42 The CNC takes this parameter into acco...

Page 152: ...address of the CNC is always 0 For example with 3 CAN axes and 1 CAN spindle the values of this parameter must be 1 2 3 and 4 OPLACETI P45 When working in open loop M3 M4 spindle command variations m...

Page 153: ...nd set of gains and accelerations set g m p ACTGAIN2 P108 correctly or activate the CNC s general logic input ACTGAIN2 M5013 DRIBUSLE P51 The CNC considers this parameter when using a digital drive CA...

Page 154: ...LT parameters properly ACCTIME4 P59 SECACESP P60 SYNCPOLA P61 Not being used DRIBUSLE 0 The CNC controls the position loop The axis feedback is done via connector The command to the drive is sent out...

Page 155: ...is set by s m p NPULSES P13 and SINMAGNI P65 SLIMIT P66 Maximum safety limit for the spindle speed This limit is activated from the PLC and is applied in all the work modes including the PLC channel...

Page 156: ...low passing anti resonance band rejection notch filter and FAGOR low passing To obtain a good machining quality all the axes and the spindle interpolating with each other should be defined with the s...

Page 157: ...int frequency or frequency where the amplitude drops 3 dB or it reaches 70 of the nominal amplitude 3dB 20 log A Ao A 0 707 Ao For the anti resonance notch filter it indicates the mid frequency or fre...

Page 158: ...76 OUTPREV3 P77 INPREV4 P78 OUTPREV4 P79 When using a CAN servo system only with DRIBUSLE 0 these parameters set the gear ratios in each range Parameters INPREV1 trough INPUTRE4 indicate the input spe...

Page 159: ...correctly or activate the CNC s general logic input ACTGAINT M5063 THREAOVR P85 When beginning to machine long threads on large lathes the part usually bends To prevent this it is possible to change...

Page 160: ...PLDECTI P86 works on the first and second spindle If OPLDECTI P86 0 s m p OPLACETI P45 will be applied both for acceleration and deceleration If s m p JERKLIM P80 other than 0 and s m p OPLDECTI P86 o...

Page 161: ...fying that drive in the CAN connection i e the position of its rotary switch In other words the position of the Sercos switch The main window shows the variables or parameters of the selected group an...

Page 162: ...to be displayed To drive flash The drive stores all its parameters in its flash memory and it then executes a soft reset command This command interrupts the communication press ENTER to restore it Sa...

Page 163: ...at the end of each transmitted word Value Meaning Value Meaning 0 110 baud 7 9 600 baud 1 150 baud 8 19 200 baud 2 300 baud 9 38 400 baud 3 600 baud 10 57 600 baud 4 1 200 baud 11 115 200 baud 5 2 40...

Page 164: ...ABORTCHR P7 Indicates the character used to abort communications with general peripheral device EOLCHR P8 Indicates the character used to indicate end of line when communicating with general periphera...

Page 165: ...used to indicate end of text end of file when communicating with a general peripheral device XONXOFF P10 Indicates whether the XON XOFF communications protocol is active or not when operating with a g...

Page 166: ...red on the hard disk KeyCF Copy programs from the hard disk KeyCF to the PC and vice versa HDDIR P0 CNMODE P1 Not being used CNID P2 CNC name when connecting it via FTP only when allowed by the FTP cl...

Page 167: ...DNC Defining it as 0 0 0 0 does not allow transferring from the CNC but it is possible from the PC IPSNFS P28 DIRNFS P29 Not being used MACID P30 Reserved It must be set to 0 Possible values Four numb...

Page 168: ...tification This operation is carried out at the PC and there are two different ways to do it Editing the file c windows hosts This file may be modified with any text editor In the file add a line cont...

Page 169: ...ect it from the list to start the connection For example FAGOR_CNC Connection with a shared CNC with password 1 First select the network site in this case an ftp folder Write ftp followed by the CNC s...

Page 170: ...by the g m p LOOPTIME P72 Hence for a sampling period of 4 msec and a CPUTIME 0 the system CPU dedicates 1 millisecond every 8 samplings thus 32 milliseconds to the PLC The Status window of the PLC s...

Page 171: ...of the local expansion module without having to modify the PLC program The CPU of the 8035 CNC may have digital 16I 8O and optionally a single local digital expansion of 24I 16O The inputs outputs tha...

Page 172: ...ll be The inputs of the expansion module are numbered sequentially after the last input that does not belong to the expansion module I16 1 I17 Follow the same procedure for the outputs The inputs outp...

Page 173: ...by its M number A subroutine can be associated with each M function and it will be indicated by the letter S The third field consists of 8 customizing bits called bit 0 through bit 7 bit 0 Indicates...

Page 174: ...one signal is received bit 5 bit 6 bit 7 Not being used at this time When executing an M function which has not been defined in the M table the programmed function will be executed at the beginning of...

Page 175: ...to machine reference zero The error of the leadscrew at that point when moving in the positive direction The error of the leadscrew at that point when moving in the negative direction Foreach axisposi...

Page 176: ...eference point may have any value The error difference between two consecutive points must not be greater than the distance between them maximum slope 100 Bidirectional compensation of the leadscrew e...

Page 177: ...coordinates referred to machine reference zero Depending on g m p TYPCROSS P135 the CNC will take into account either the theoretical or real actual coordinates Possible values for the position and er...

Page 178: ...Installation manual CNC 8035 4 MACHINE PARAMETERS Tables SOFT M V15 3X SOFT T V16 3X 178...

Page 179: ...coordinates throughout the same program Axis nomenclature The axes are named according to DIN 66217 Characteristics of the system of axes X and Y main movements on the main work plane of the machine Z...

Page 180: ...spindle S and a handwheel Setting of g m p AXIS1 P0 through AXIS8 P7 The CNC activates a machine parameter table for each axis X Y Z U and another one for the spindle S a m p AXISTYPE P0 must be set...

Page 181: ...PE P0 must be set as follows s m p SPDLTYPE P0 must be set as follows Likewise a m p DFORMAT P1 and s m p DOFORMAT P1 must be properly set to indicate their display formats AXIS1 P0 1 X axis associate...

Page 182: ...gramming G90 The sign indicates the turning direction and the end coordinate the position between 0 and 359 9999 Incremental coordinate programming G91 The sign indicates the turning direction If the...

Page 183: ...0 LIMIT 0 ROLLOVER YES It counts between 0 and 360 G90 does not admit negative values Always via the shortest path G91 The sign indicates the turning direction ROLLOVER NO There are 2 loops one betwe...

Page 184: ...axis is referred to as slave axis In order to operate this way it is necessary to have the a m p GANTRY P2 corresponding to both axes set as follows Parameter GANTRY of the main axis set to 0 Paramet...

Page 185: ...axis and the angular X axis Configuring the incline axis The incline axis is configured by the following general machine parameters Configuring the axes The parameter ANGAXNA configures the incline ax...

Page 186: ...ystem and are transformed into movements on the real axes Movementalongtheincline axis butprogrammingthecoordinatein theCartesiansystem While this mode is active in the motion block only the coordinat...

Page 187: ...manual CNC 8035 CONCEPTS Jog 5 SOFT M V15 3X SOFT T V16 3X 187 5 2 Jog 5 2 1 Relationship between the axes and the JOG keys The CNC has 3 pairs of keys to manually control the machine axes Mill model...

Page 188: ...lue in degrees between the linear path and the first axis of the plane For an arc indicate the arc center coordinates in the MASCFI MASCSE variables for the first and second axes of the main plane Var...

Page 189: ...erride switch If F0 is selected it assumes the one indicated by machine parameter JOGFEED P43 This mode ignores the rapid jog key PATH JOG movements respect the travel limits and the work zones Path j...

Page 190: ...h the general handwheel select the axis to be moved and turn the handwheel With individual handwheels turn the handwheel associated with the axis to be moved Path handwheel For chamfering and rounding...

Page 191: ...CNC selects the next axis and so on in a rotary fashion To deselect the axis hold the button pressed for more than 2 seconds 2 Jog the axis Once the axis has been selected it will move as the handwhee...

Page 192: ...ees between the linear path and the first axis of the plane For an arc indicate the arc center coordinates in the MASCFI MASCSE variables for the first and second axes of the main plane Variables MASL...

Page 193: ...on how fast the handwheel is turned To do this proceed as follows Inhibit all the feedrate override switch positions from the PLC Detect how far the handwheel is turned reading of pulses received Set...

Page 194: ...eedrate override switch and resumes program execution DFU M2009 CNCRD HANPS R100 M1 SBS R101 R100 R102 MOV R100 R101 MLS R102 3 R103 OR KEYDIS4 7FFFFF KEYDIS4 If this feature is activated and an upfla...

Page 195: ...depending on the setting of g m p ADIMPG P176 Considerations The movement with the additive handwheel on the master axis is also applied to the slave axis when using axes that are gantry slaved or syn...

Page 196: ...t possible to configure its operation Handwheel resolution and maximum feedrate The resolution of the additive handwheel depends on the setting of parameter ADIMPG P176 There are two options to set th...

Page 197: ...set these machine parameters for the axes PITCH P7 Pitch of the linear encoder being used NPULSES P8 0 DIFFBACK P9 Indicates whether the feedback device uses differential signals double ended or not S...

Page 198: ...min Example 2 Using an indexer with a sinusoidal Fagor encoder of 3600 lines per turn for a feedback resolution of 1 m the maximum axis feedrate will be 360 degrees turn 3600 pulses turn x 250 000 pul...

Page 199: ...ck signals this parameter must be set to 0 and the CNC will always apply a multiplying factor of x4 The counting resolution for each axis will be defined by means of the combination of these parameter...

Page 200: ...0 m Therefore the resolution that can be obtained with them are 5 m 20 4 or 25 m 100 4 Therefore The CNC s maximum squarewave feedback input frequency is 400 kHz which means that the maximum feedrate...

Page 201: ...to the pulses provided by the encoder in order to obtain the desired resolution SINMAGNI ballscrew pitch Nr pulses x Resolution SINMAGNI 0 2 inch turn 250 x 0 0001 8 Therefore Although the CNC accepts...

Page 202: ...the pulses provided by the encoder in order to obtain the desired resolution SINMAGNI degrees per turn Nr of pulses x Resolution SINMAGNI 360 3600 x 0 001 100 Therefore Although the CNC accepts a maxi...

Page 203: ...Verify that the power output of the drives is OFF Set all a m p FBALTIME P12 to a value other than 0 for example FBALTIME 1000 2 Turn the CNC OFF 3 Turn the drive power output ON 4 Turn the CNC ON 5...

Page 204: ...V The maximum axis feedrate a m p MAXFEED P42 depends on the motor rpm as well as on the gear ratio and type of ballscrew being used Example for the X axis The maximum motor rpm is 3 000 and the balls...

Page 205: ...dicated next Proportional gain It defines the velocity command corresponding to a feedrate resulting in 1 mm of following error It is defined with a m p PROGAIN P23 Feed forward gain It sets the perce...

Page 206: ...to 15 000 15 m min a m p MAXVOLT P37 must be set to 9500 and the servo drive adjusted so as to provide 15m min with a velocity command of 9 5 V a m p MAXFEED P42 must be set to 3 000 3 m min Velocity...

Page 207: ...the axis velocity command will be 80 of it will depend on the programmed feedrate feed forward gain 20 of it will depend on the axis following error proportional gain Setting the Feed Forward gain inv...

Page 208: ...in since it is due to acc dec Best results are usually obtained when using it as AC forward Gain ACFGAIN P46 YES together with feed forward gain This gain is only to be used when operating with accele...

Page 209: ...ding to the movement plus an additional velocity command to make up for backlash This additional command is eliminated compensation peak cutoff depending on the values of the following parameters G m...

Page 210: ...on Possible values 99999 9999 mm or 3937 00787 inches For each axis position define the amountoferrorto be compensatedinbothdirections Ifthe amount of error in the negative direction is zero in all po...

Page 211: ...error is available from versions V7 11 mill and V8 11 lathe on When updated from a version that does not have bidirectional compensation it keeps theerrorvaluesinthepositivedirectionanditsetsazeroerro...

Page 212: ...ence point This is a point on the machine established by the manufacturer physical location of the marker pulse from the feedback device When the feedback system is semi absolute with distance coded r...

Page 213: ...t will be carried out at the feedrate established by a m p REFEED1 P34 until the home switch is hit Once all the axes have reached their respective home switches the axes move back one at a time in th...

Page 214: ...lave axis is found and then it will look for the marker pulse from the main axis If the difference obtained between both reference positions is not the same as the one indicated by a m p REFVALUE P36...

Page 215: ...ther axes it first moves all the axes having a home switch until all the home switches are pressed in the case of a gantry pair one of the home switches will be pressed Afterthis ifI0TYPE P52 3 theaxe...

Page 216: ...start homing the axis When done the CNC will assign a 0 value to this point After moving the axis to the Machine Reference Zero or up to a known position with respect to Machine Reference Zero observ...

Page 217: ...found in the zone corresponding to feedrate REFEED2 P35 If there is no room for it reduce the value of REFEED1 P34 For example for rotary encoders whose consecutive marker pulses are very close to eac...

Page 218: ...ue to be assigned to a m p ABSOFF P53 must be calculated with the following formula ABSOFF P53 CNC reading Machine coordinate Example If the point whose position is already known is located 230 mm fro...

Page 219: ...done as follows Move the axis in the positive direction towards the end of the axis travel stopping at a safe distance from the mechanical end of travel stop Assign the coordinate shown by the CNC for...

Page 220: ...t and the programmed point If this parameter is set to 0 the CNC will not perform the unidirectional approach UNIFEED P41 Indicates the feedrate to be used from the approach point to the programmed po...

Page 221: ...ill maintainthe MSTROBE signal activated for a period of time set by the general machine parameter MINAENDW P30 This output stays active for the time indicated by g m p MINAENDW P30 2 The programmed a...

Page 222: ...mmed in the block and activates the general logic output TSTROBE to tell the PLC to go ahead with its execution This transmission is made at the beginning of the block execution and the CNC will wait...

Page 223: ...must activate the general logic input AUXEND to indicate to the CNC that the processing of the required functions was completed 4 Once the general input AUXEND is active the CNC will require that thi...

Page 224: ...d auxiliary function or functions must be executed 2 The CNC will keep the general logic output MSTROBE active during the time indicated by means of g m p MINAENDW P30 Once this period of time has ela...

Page 225: ...ndle can operate In open loop controlled by means of functions M3 M4 and M5 In closed loop by means of function M19 This requires an encoder mounted on the spindle and s m p NPULSES P13 must be set to...

Page 226: ...ut to be activated and then consider its execution completed If it uses 2 bit BCD code the CNC will indicate the S value to the PLC by means of this register and according to the following conversion...

Page 227: ...in this manual PLC controlled spindle With this feature the PLC may take control of the spindle for a certain period of time To do that follow these steps 1 Have the PLC place the S value at CNC logi...

Page 228: ...d gear being selected This will be indicated by means of the logic inputs for the spindle GEAR1 M5458 GEAR2 M5459 GEAR3 M5460 and GEAR4 M5461 Since to each S speed corresponds a spindle gear before se...

Page 229: ...operation has concluded the CNC must recover the control of the spindle back from the PLC To do this CNC logic input PLCCNTL M5465 must be set low again Once the requested gear change is completed th...

Page 230: ...ed indicated by s m p REFEED1 P34 Before completing the next 350 the spindle slows down to the speed indicated by s m p REFEED2 P35 From then on the home switch is detected while turning at REFEED2 sp...

Page 231: ...ore the feedback counting resolution depends on the number of lines of the spindle encoder Resolution 360 4 x number of pulses per revolution Hence to obtain a resolution of 0 001 a 90 000 line encode...

Page 232: ...orresponding to a feedrate resulting in 1 offollowing error This value is taken for the first spindle gear and the CNC calculates the values for the rest of the gears Example The maximum speed for the...

Page 233: ...measured command voltage was 0 945 V then set this parameter to 9 45 V in other words P37 9450 Next set s m p FFGAIN P25 to the desired value Derivative AC forward gain setting With the derivative ga...

Page 234: ...arching Home On the other hand set s m p REFEED1 P34 that defines the approach feedrate of the spindle until the home switch is pressed and s m p REFEED2 P35 that indicates the homing feedrate until t...

Page 235: ...d then it will go on to search home Care must be taken when placing the home switch and when setting feedrates REFEED1 P34 and REFEED2 P35 The home switch 1 will be installed so the marker pulse 2 wil...

Page 236: ...UT Physical emergency output It is generated internally when an error is detected at the CNC or at the PLC This signal is active low 0 V EMERGEN M5000 Logic input of the CNC generated by the PLC When...

Page 237: ...EMERGENCY STOP or the general logic input EMERGEN from the PLC Whenever any of these signals is activated the CNC stops the axes feed and the spindle rotation and it displays the corresponding error...

Page 238: ...y inputs and act accordingly By the same token the PLC program must have the necessary instructions to properly activate the emergency outputs when required These emergency signals are the physical ou...

Page 239: ...rld Control Speed Enable Drive Enable Homing Enable bit handshake and the velocity command The drive transmits to the CNC the Word Status and the position value The transmitted data depends on a m p D...

Page 240: ...f identifier 33172 FagorDiagnostics contain the following information P28 R700 P29 R701 P30 R702 P31 R703 etc To identify the units of the variables see the drive manual Read only registers R700 throu...

Page 241: ...p DROAXIS P4 or via PLC by activating the logic CNC axis input DRO1 2 3 Service channel The service channel can only be accessed through a high level block of a part program a PLC channel or a user ch...

Page 242: ...switch The encoder signals must be taken to the specific connectors of the CNC In the example the handwheel signals are taken to the feedback input connector Set the corresponding g m p AXIS for exam...

Page 243: ...inition of symbols mnemonics If the handwheel enable I79 and the switch is at handwheel position x1 x10 or x100 I78 Just press one of the buttons I79 Both buttons must be pressed DEF HDWON M600 Handwh...

Page 244: ...C to read the handwheel pulses OR R60 40000000 R60 When enabling the handwheel or changing the position of one of the switches HBEVAR and its image register R61 are updated refreshed When disabling th...

Page 245: ...ND XSEL AXIS 1 JOGON AND I77 AND YSEL AXIS 2 JOGON AND I77 AND ZSEL AXIS 3 JOGON AND I77 AND 4SEL AXIS 4 JOGON AND I77 AND 5SEL AXIS 5 JOGON AND I77 AND 6SEL AXIS 6 JOGON AND I77 AND 7SEL AXIS 7 If JO...

Page 246: ...SO code in MC or TC mode In MC or TC mode when a new speed limit is defined in the SMAX field The speed limits entered via CNC PLC PLCSL and DNC DNCSL keep the same functionality and priority and are...

Page 247: ...with MDISL R102 it issues error 10 This error must be defined in the PLC messages M101 AND CPS R102 NE 0 MOV R101 R201 MOV R102 R202 Ifthere isa newprogramin execution M101 andthe speed hasbeenlimite...

Page 248: ...V16 3X 248 5 13 2 Cycle start disabled when hardware errors occur If when pressing the CYCLE START key a hardware error is detected Axes board error CAN board error etc the CNC does not allow executin...

Page 249: ...ne the tool and tool magazine tables To allocate a magazine position to the tool that is considered active by the CNC but is actually physically in the tool magazine proceed as follows 1 Deactivate th...

Page 250: ...een solved The magazine error only prevents a new tool change During the error state it is possible to execute any instruction in any mode Jog MDI or even execute a program Only the execution of any T...

Page 251: ...screw pitch INPREV P87 Input revolutions OUTPREV P88 Output revolutions Analog The gear ratio for an axis is set as follows If axis parameters PITCHB P86 INPREV P87 and OUTPREV P88 are 0 the gear rati...

Page 252: ...otary axes is mounted directly to the rotation center If it is a rotary axis the leadscrew pitch will be 360 If the maximum feedrate for an axis is 20 m min with a leadscrew pitch of 20 and a 3 to 1 g...

Page 253: ...ters involved in the calculation of position feedback With encoder A m p NPULSES P8 number of pulses per turn of the encoder 18000 A m p SINMAGNI P10 Multiplying factor if the encoder is sinusoidal 1...

Page 254: ...er 18000 A m p SINMAGNI P10 Multiplying factor if the encoder is sinusoidal 1 A m p EXTMULT P57 Multiplying factor of the feedback 1 A m p PITCHB P86 Leadscrew pitch 20 Motor gear ratio A m p INPREV P...

Page 255: ...t revolutions 1 NP121 drive it automatically loads the value of a m p INPREV P87 of the CNC NP122 drive it automatically loads the value of a m p OUTPREV P88 of the CNC NP123 drive it automatically lo...

Page 256: ...63 0 Parameters involved in the calculation of velocity command A m p G00FEED P38 Maximum feedrate of the axis 20000 A m p PITCHB P86 Leadscrew pitch 20 Motor gear ratio A m p INPREV P87 Input revolut...

Page 257: ...command A m p G00FEED P38 Maximum feedrate of the axis 20000 Parameters involved in the calculation of position feedback A m p NPULSES P8 number of pulses per turn of the encoder 18000 A m p SINMAGNI...

Page 258: ...P2 maximum rpm of the first gear 1000 S m p MAXGEAR2 P3 maximum rpm of the second gear 2000 S m p MAXGEAR3 P4 maximum rpm of the third gear 3000 S m p MAXGEAR4 P5 maximum rpm of the fourth gear 3500 A...

Page 259: ...tions of the second gear 1 A m p OUTPREV3 P77 output revolutions of the third gear 1 A m p OUTPREV4 P79 output revolutions of the fourth gear 1 S m p MAXVOLT1 P37 maximum velocity command for the firs...

Page 260: ...ear 3500 A m p INPREV1 P72 Input revolutions of the first gear 4 A m p INPREV2 P74 Input revolutions of the second gear 2 A m p INPREV3 P76 Input revolutions of the third gear 4 A m p INPREV4 P78 Inpu...

Page 261: ...ed in the calculation of position feedback A m p NPULSES P13 number of pulses per turn of the encoder 18000 A m p SINMAGNI P65 Multiplying factor if the encoder is sinusoidal 1 A m p INPREV1 P72 Input...

Page 262: ...ond gear 2 A m p INPREV3 P76 Input revolutions of the third gear 4 A m p INPREV4 P78 Input revolutions of the fourth gear 1 A m p OUTPREV1 P73 output revolutions of the first gear 1 A m p OUTPREV2 P75...

Page 263: ...p INPREV3 P76 Input revolutions of the third gear 2 A m p INPREV4 P78 Input revolutions of the fourth gear 2 A m p OUTPREV1 P73 output revolutions of the first gear 3 A m p OUTPREV2 P75 output revolut...

Page 264: ...Installation manual CNC 8035 5 CONCEPTS Gear ratio management on axes and spindle SOFT M V15 3X SOFT T V16 3X 264...

Page 265: ...receive from the outside world They are represented bythe letter I followed by the input number which is desiredto reference for example I1 I25 I102 etc The PLC may control 512 inputs although when c...

Page 266: ...ed by the letter O followed by the output number which is desired to reference for example O1 O25 O102 etc The PLC may control 512 outputs although when communicating with the outside world it can onl...

Page 267: ...arks available at the PLC are M2046 Always has a value of 0 M2047 Always has a value of 1 The PLC allows by means of the activation of a series of message marks the PLC message corresponding to the PL...

Page 268: ...p receiving the same error at every PLC scan cycle thus preventing access to any PLC mode CNC user screens 0 through 255 may be activated by actvating each mark M4700 through M4955 They can be named b...

Page 269: ...h value stored in each register as an integer with a sign and can be within 2147483647 It is also possible to make reference to a BIT of the REGISTER by putting the letter B and the bit number 0 31 in...

Page 270: ...ays The PLC has 256 timers each of which has T status output and TEN TRS TG1 TG2 TG3 and TG4 inputs It is also possible to consult at any moment the time which has elapsed from the moment it was activ...

Page 271: ...ber of the timer it is required to reference and the value which is required to start the count with time constant For example TG1 1 100 TG2 25 224 TG3 102 0 TG4 200 500 etc The time constant value is...

Page 272: ...was activated It is referred to by the letter T followed by the timer number For example T1 T25 T102 etc Although when written as T123 it coincides with the status output both are different and they a...

Page 273: ...ctivated when a leading edge is produced at input TG1 At that moment the timer status output T changes states T 1 and the timing starts from 0 Once the time specified by the time constant has elapsed...

Page 274: ...afterwards the PLC initializes the timer assigning the value 0 to its T status and cancelling its count it initializes this to 0 Due to the fact that the timer is initialized it will be necessary to...

Page 275: ...e constant has elapsed the timing operation will be considered as having completed and the timer status output T 1 will be activated and will remain in this status until the trailing edge is produced...

Page 276: ...afterwards the PLC initializes the timer assigning the value 0 to its T status and cancelling its count it initializes this to 0 Due to the fact that the timer is initialized it will be necessary to...

Page 277: ...The timer waits for a down flank at input TG3 to start the t timing from 0 Once the time specified by the time constant has elapsed the timing operation will be considered as having completed and the...

Page 278: ...afterwards the PLC initializes the timer assigning the value 0 to its T status and cancelling its count it initializes this to 0 Due to the fact that the timer is initialized it will be necessary to...

Page 279: ...status output T changes states T 1 and the timing starts from 0 Once the time specified by the time constant has elapsed timing will be considered as having finished The time status output T changes s...

Page 280: ...afterwards the PLC initializes the timer assigning the value 0 to its T status and cancelling its count it initializes this to 0 Due to the fact that the timer is initialized it will be necessary to...

Page 281: ...is also possible to consult the count value at any time Feedback input CUP This input allows the counter count to be increased in a unit every time a leading edge is produced in it It is referred to...

Page 282: ...input allows the counter to be preset with the desired value It is referred to by the letters CPR followed by the number of the counter which is required to reference and the value to be assigned to t...

Page 283: ...nt and are used in different types of instructions In binary type instructions function C123 makes reference to the counter s logic status C123 M100 Assigns mark to M100 the status 0 1 of counter 123...

Page 284: ...ding edge is produced at the CUP input the counter increases its count by one count Every time a leading edge is produced at the CDW input the counter decreases its count by one count Operation of the...

Page 285: ...which is done automatically and the system has a series of commands which allow the following to be done quickly and simply The control of Logic CNC inputs and outputs by means of an exchange of infor...

Page 286: ...puts received in the communication between the CNC and the PLC of the CNC and the status of the different variables of the PLC whether these are internal or established by the user They are represente...

Page 287: ...57 and R550 thru R562 3 It runs the program cycle The following sections indicate how the PLC program is structured and which are its execution modules See 7 4 Modular structure of the program on page...

Page 288: ...uction This type of problems may be prevented by careful programming or by using Image resource values instead of Real values ThePLChas2memoriestostorethestatusoftheregisters therealmemoryandtheimagem...

Page 289: ...t scan Operating with image values The first cycle scan sets the real value of M1 1 but its image value will not be set to 1 until the end of the cycle In the 2nd cycle scan the image value of M1 is 1...

Page 290: ...m p WDGPRG P0 sets the maximum cycle execution time This is called WATCH DOG time and if a cycle is executed which lasts longer than 1 5 times this time or two cycles are executed one after the other...

Page 291: ...dules which are appropriately defined by means of directing instructions The modules which can make up the program are Main module PRG Periodic execution module PE First cycle module CY1 Each module m...

Page 292: ...ill only be executed when the PLC is turned on It is used to initialize the different resources and variables with their initial values before proceeding to execute the rest of the program This module...

Page 293: ...be executed cyclically and will be given the task of analyzing and modifying CNC inputs and outputs Its execution time will be limited by the value of plc m p WDGPRG P0 This module operates by default...

Page 294: ...cific tasks need not be evaluated at every PLC program cycle Those tasks would be programmed in the periodic module and they would be executed with the frequency established by the execution time assi...

Page 295: ...has been completed it will continue with the main module PRG The main module will be executed cyclically until the execution of the PLC has stopped command STOP The periodic module will be executed ev...

Page 296: ...Installation manual CNC 8035 7 INTRODUCTION TO THE PLC Modular structure of the program SOFT M V15 3X SOFT T V16 3X 296...

Page 297: ...ain module PRG will be processed cyclically See 7 2 PLC program execution on page 287 The periodic module is optional and it is executed every so often as indicated by the directing instruction defini...

Page 298: ...to be made on and or alterations to the status of PLC resources and consist of Logic expressions consist of All comments must begin with Lines beginning with a are considered comments and are not exe...

Page 299: ...program Example of programming using the directing instruction END CY1 Beginning of module CY1 END End of module CY1 PRG Beginning of module PRG END End of module PRG PE 100 Beginning of module PE EN...

Page 300: ...WR R101 KEY M101 Indicates to the CNC that the key whose code is stored in register R101 and corresponds to the HELP key The PLC allows up to 400 symbol definitions which must always be programmed at...

Page 301: ...5957 and R500 559 with the values of the logic outputs of the CNC Care must be taken when using this instruction since the current values of those resources will be lost After executing this instructi...

Page 302: ...e trace in this program takes place At the beginning of each PRG cycle Every time the periodic cycle is executed every 5 milliseconds 3 times while executing the PRG module Once while executing the PE...

Page 303: ...ether the state of a resource has changed since the last time this consultation was made This consultation may be made on real or image values There are two types of instructions DFU It detects an up...

Page 304: ...ds Timers internal count Counters internal count Registers CNC PLC communication registers and numbers within 2147483647 or between 0 and FFFFFFFF The programming format of the different combinations...

Page 305: ...T I2 O3 Output O3 will be active when input I2 is not AND Logic function AND I4 AND I5 O6 Output O6 will be active when both inputs I4 I5 are active OR Logic function OR I7 OR I8 O9 Output O9 will be...

Page 306: ...100 CPR 1 100 Output O3 will show the status of input I2 Mark M100 will show the negated state of input I2 A down flank at input I2 will activate the trigger input TG1 of timer T2 An up flank at I2 w...

Page 307: ...TG1 of timer T4 Thus an up flank at I3 will trigger the TG1 input of timer T4 I2 OR I3 AND I4 OR NOT I5 AND I6 M111 It assigns to Mark M111 the value obtained in the evaluation of the Logic Expressio...

Page 308: ...o the resource If the result of evaluating the logic expression is a 0 it assigns a 1 to the indicated resource If the result is 0 it does not change the resource Example I12 OR NOT I22 RES M55 NOT RE...

Page 309: ...le I2 CAL L5 O2 With I2 1 subroutine L5 will be executed and once executed the PLC will set O2 to the value of input I2 1 If I2 0 the subroutine is not executed and the PLC sets output O2 to the statu...

Page 310: ...ple I11 MOV I14 O16 108 If input I11 is 1 the PLC moves the logic states of the 8 inputs I14 plus the next 7 in BCD code to the 8 outputs O16 and the next 7 in binary code NGU Complements the bits of...

Page 311: ...e stored in a register or in CNC PLC communication register Examples with R100 1234 and R101 100 R89 before 0001 0001 0001 0001 0001 0001 0001 0001 R89 after 1110 1110 1110 1110 1110 1110 1110 1111 AD...

Page 312: ...ther the result of an AND OR XOR operation equals zero in which case it follows that M2003 1 Examples with R200 B1001 0010 R201 B0100 0101 RR RL Used to rotate registers clockwise RR or counterclockwi...

Page 313: ...tes the consecutive number of times the register will be rotated Examples RR1 R100 1 R200 1 type 1 rotation to the right of the contents of R100 leaving the result in R200 RL2 R102 4 R101 4 type 2 rot...

Page 314: ...1 the PLC presets counters C15 through C18 both included to 0 CNCRD CNCWR Access to the internal CNC variables Used to read CNCRD and write CNCWR the internal CNC variables Their programming format i...

Page 315: ...of a register Its programming format is If the register being checked has an EVEN parity this instruction will set the indicated mark to 1 and if its parity is ODD it will set it to 0 Example I15 PAR...

Page 316: ...Installation manual CNC 8035 8 PLC PROGRAMMING Action instruction SOFT M V15 3X SOFT T V16 3X 316...

Page 317: ...means of specific PLC Marks and Registers The transfer from the CNC to the PLC of M S and T auxiliary functions Display screens which have been defined previously by the user as well as generating mes...

Page 318: ...ns functions M100 M120 and M135 the CNC will transfer the following information to the PLC MBCD1 R550 100 MBCD2 R551 120 MBCD3 R552 135 MBCD4 R553 FFFFFFFF MBCD5 R554 FFFFFFFF MBCD6 R555 FFFFFFFF MBCD...

Page 319: ...his value will be coded in BCD format 8 digits in thousandths of a revolution per minute If no S has been programmed in the block the CNC will assign a value of FFFFFFFF to this register S 12345 678 0...

Page 320: ...CNC will wait for the general logic input AUXEND to be activated to consider the execution completed T2BCD R559 This register is used when a special tool change has been made family code 200 or with m...

Page 321: ...cution and the CNC will wait for the general input AUXEND to be activated to consider the execution completed T function The CNC will indicate via the variable TBCD R558 the T function which has been...

Page 322: ...OBE general logic outputs and the MBCD1 7 SBCD TBCD and T2BCD variables in order to do this Once thishas been executed the PLC must activate the general logic input AUXEND to indicate to the CNC that...

Page 323: ...t the required auxiliary function or functions must be executed 2 The CNC will keep the general logic output MSTROBE active during the time indicated by means of g m p MINAENDW P30 Once this period of...

Page 324: ...ith the highest priority this being understood as being the message with the lowest number In this way MSG1 will have the highest priority and MSG255 the lowest priority Inthissamemessagedisplaywindow...

Page 325: ...PLC modes Displaying screens pages The PLC has 256 marks with their corresponding mnemonic for displaying screens pages at the CNC If one of these marks is activated high logic level the CNC will dis...

Page 326: ...erating mode in which it can Monitor the user PLC program Monitor PLC resources Modify PLC resources Execute PLC commands compile execute etc Etc Likewise the CNC allows access to all PLC variables of...

Page 327: ...with a computer via DNC through the RS232C serial line In this way a computer can access the PLC carrying out Transfer and reception of the user PLC program Monitoring of the user PLC program Monitori...

Page 328: ...Installation manual CNC 8035 9 CNC PLC COMMUNICATION Access to the PLC from a PC via DNC SOFT M V15 3X SOFT T V16 3X 328...

Page 329: ...referred to with the corresponding PLC resource or with their associated mnemonic Mnemonics which begin with indicate that the signal is active low 0 V For example All the mnemonics refer to their ass...

Page 330: ...the CNC deactivates the EMERGENCYOUTPUT and ALARM signals to let the outside world and the PLC know that there is no longer an emergency at the CNC STOP M5001 When the PLC sets this signal low the CNC...

Page 331: ...CNC will indicate by means of the general logic output INCYCLE that the program is being executed As of that moment the CYSTART can return to low logic level SBLOCK M5008 When the PLC sets this signa...

Page 332: ...GAIN P23 DERGAIN P24 and FFGAIN P25 g m p ACTGAIN2 P108 indicates with which functions or in which mode the second set is applied the one set by a m p ACCTIME2 P59 PROGAIN2 P60 DERGAIN2 P61 and FFGAIN...

Page 333: ...this signal by the CNC due to an improper PLC program logic are avoided 5 Once the period of time MINAENDW has elapsed with the general input AUXEND at a high logic level the CNC will deactivate the g...

Page 334: ...M5028 The PLC sets this signal at a high logic level to tell the CNC that the block skip condition or 1 is met therefore the blocks which have this block skip condition will not be executed BLKSKIP2...

Page 335: ...path M5053 1 Arc path For a linear path the path angle must be indicated by the MASLAN variable and for an arc the center coordinates must be indicated by the MASCFI and MASCSE variables Variables MAS...

Page 336: ...G3 They affect the dwell programmed with G4 It affects the look ahead In this type of programs with very small blocks it is not possible to stop at the same block where the BLOABOR mark is detected I...

Page 337: ...model CNC it is now possible to withdraw the tool to the starting plane and once there stop the spindle Once the retraction has been completed the user will have the choice to finish the hole go to t...

Page 338: ...LIMIT 2 M5151 LIMIT 3 M5200 LIMIT 3 M5201 The PLC sets these signals at a high logic level in order to tell the CNC that the corresponding axis has overrun the end of its range of movement in the pos...

Page 339: ...image to the remaining movement in X This way the new end of travel point will be X40 Y60 By means of the activation of these signals symmetrical parts can be executed by using a single program for ex...

Page 340: ...and providing the required velocity command output On the other hand if the SERVOON signal is low or if it changes during the movement of the axes the CNC stops the axes feed and the spindle rotation...

Page 341: ...railing edge of the SPENA signal speed enable switches the internal velocity reference to 0 rpm and brakes the motor while maintaining its torque Once the motor has stopped the drive s power circuit i...

Page 342: ...er homing both axes of that pair The theoretical difference between the master and the slave is corrected as follows With the leading edge up flank of DIFFCOMaxis while SERVOaxisON 1 With the leading...

Page 343: ...ing reference signal from the spindle feedback systems as being valid SPDLEINH M5453 Main spindle The CNC considers these 2 signals at all times so both spindles can be controlled by the PLC When the...

Page 344: ...the spindle the CNC will stop the axes feed and the spindle rotation displaying the corresponding error message GEAR1 M5458 GEAR2 M5459 GEAR3 M5460 GEAR4 M5461 Main spindle The PLC uses these signals...

Page 345: ...registers MBCD1 through MBCD7 and it activates the MSTROBE signal to let the PLC know that it must execute it The CNC will keep the output MSTROBE active during the time indicated by means of g m p M...

Page 346: ...wing example shows how a new spindle speed is selected involving a gear change After analyzing the block and detecting the gear change the CNC indicates this to the PLC in one of the MBCD1 7 registers...

Page 347: ...responds to an analog command of 10 V 10 32767 0 305185 millivolts of analog command correspond to SANALOG 1 This way for 4V of velocity command the following must be programmed SANALOG 4x32767 10 131...

Page 348: ...11 K P V KEYDIS1 KEYDIS1 KEYDIS1 12 13 14 CAPS 8 5 KEYDIS1 KEYDIS1 KEYDIS1 15 16 17 2 D J KEYDIS1 KEYDIS1 KEYDIS1 18 19 20 O U SP KEYDIS1 KEYDIS1 KEYDIS1 21 22 23 7 4 1 KEYDIS1 KEYDIS1 KEYDIS1 24 25...

Page 349: ...S3 KEYDIS3 12 13 14 5 Spdl override Spdl CW KEYDIS3 KEYDIS3 KEYDIS3 15 16 17 START KEYDIS3 KEYDIS3 KEYDIS3 18 19 20 Rapid feedrate KEYDIS3 KEYDIS3 KEYDIS3 21 22 23 Spdl stop KEYDIS3 KEYDIS3 KEYDIS3 24...

Page 350: ...d key KEYDIS4 KEYDIS4 KEYDIS4 0 1 2 Handwheel x100 Handwheel x10 Handwheel x1 KEYDIS4 KEYDIS4 KEYDIS4 3 4 5 Jog 10000 Jog 1000 Jog 100 KEYDIS4 KEYDIS4 KEYDIS4 6 7 8 Jog 10 Jog 1 Feedrate override 0 KE...

Page 351: ...owing way 1 Once the block has been analyzed and after passing the corresponding values in variables MBCD1 7 the CNC will tell the PLC through the general logic output MSTROBEP that the required auxil...

Page 352: ...following functions It does not affect motionless blocs which will be executed It does not affect the M functions that are executed after the block These functions are always executed even if the move...

Page 353: ...ogram is stopped due to one of the following causes Because the CONTROL PANEL STOP key has been pressed Because the general logic input STOP has been set low even though later it has returned high Bec...

Page 354: ...al high to tell the PLC that the single block execution mode is selected INCYCLE M5515 The CNC sets this signal high while executing a block or moving an axis Once the execution of the program has bee...

Page 355: ...rther information see general input RETRACE M5051 CSS M5523 This output is only available on the lathe model The CNC sets this signal high to tell the PLC that the constant cutting speed function is s...

Page 356: ...with the tool number T2STROBE M5535 This register is used when a special tool change has been made family code or 200 or with machining centers with a non random tool magazine g m p RANDOMTC P25 The C...

Page 357: ...nd it will inform the PLC by setting the logic output INPOS high The logic output INTEREND can be used when it is required to activate mechanisms before the axes reach their position DM00 M5547 The CN...

Page 358: ...LC that the second spindle gear is selected or that the auxiliary function M42 is programmed in the block being executed DM43 M5550 The CNC sets this signal high to tell the PLC that the third spindle...

Page 359: ...still be consistent with the rest of the axes ENABLE1 M5600 ENABLE2 M5650 ENABLE3 M5700 The CNC sets these signals at a high logic level to tell the PLC to allow the corresponding axis to move DIR1 M...

Page 360: ...n compensated ANT1 M5606 ANT2 M5656 ANT3 M5706 These signals are related to a m p MINMOVE P54 Iftheaxismoveissmallerthanthevalueindicatedbythisa m p MINMOVE P54 thecorresponding axis logic output ANT1...

Page 361: ...n closed loop M19 The CNC only considers the signals for the currently selected spindle The CNC sets this signal high to tell the PLC that the spindle reference point search has already been made This...

Page 362: ...lutions correspond to those programmed The CNC will activate this signal every time the real revolutions are within the range defined by s m p LOSPDLIM and UPSPDLIM When working with the spindle in cl...

Page 363: ...SHIFT 9 KEYBD1 KEYBD1 KEYBD1 6 7 8 6 3 E KEYBD1 KEYBD1 KEYBD1 9 10 11 K P V KEYBD1 KEYBD1 KEYBD1 12 13 14 CAPS 8 5 KEYBD1 KEYBD1 KEYBD1 15 16 17 2 D J KEYBD1 KEYBD1 KEYBD1 18 19 20 O U SP KEYBD1 KEYBD...

Page 364: ...YBD3 KEYBD3 18 19 20 Rapid feedrate KEYBD3 KEYBD3 KEYBD3 21 22 23 Spdl stop KEYBD3 KEYBD3 KEYBD3 24 25 26 X Y Z KEYBD3 KEYBD3 KEYBD3 27 28 29 4 5 Spdl override KEYBD3 KEYBD3 30 31 Spdl CCW STOP Regist...

Page 365: ...8 Jog 10 Jog 1 Feedrate override 0 KEYBD4 KEYBD4 KEYBD4 9 10 11 Feedrate override 2 Feedrate override 4 Feedrate override 10 KEYBD4 KEYBD4 12 13 Feedrate override 20 Feedrate override 30 KEYBD4 KEYBD...

Page 366: ...Installation manual CNC 8035 10 LOGIC CNC INPUTS AND OUTPUTS Logic outputs of key status SOFT M V15 3X SOFT T V16 3X 366...

Page 367: ...uction will not alter the contents of the register and it will set the selected error mark indicating that the variable does not exist Writing variables CNCWR command The CNCWR command allows writing...

Page 368: ...oot followed by X Y Z U V W A B and C ORG X C ORGX ORGY ORGZ ORGU ORGV ORGW ORGA ORGB ORGC Mnemonics ending in n indicate that the variables are grouped in tables To access an element of any of these...

Page 369: ...tween 0 and 9 Tool table at the mill model CNC The tool offset number is an integer between 0 and 255 The maximum number of tool offsets is limited by g m p NTOFFSET The family code is a number betwee...

Page 370: ...tive tool TOD Returns the number of the active tool offset NXTOOL Returns the next tool number which is selected but is awaiting the execution of M06 to be active NXTOD Returns the number of the tool...

Page 371: ...he profile 10 2 mm in the table and execute the profile 10 1 mm in the table and execute the profile 10 0 mm in the table and execute the profile However if while machining the program is interrupted...

Page 372: ...ORn This variable allows reading or modifying the radius R value of the indicated tool offset n TOIn This variable allows reading or modifying the length wear value I along the X axis of the indicated...

Page 373: ...ls the X and Z axes it only allows the variables ORGX and ORGZ in the case of ORG X C Read only variables ORG X C Returns the value of the active zero offset in the selected axis The value of the addi...

Page 374: ...to modify these parameters via PLC an OEM subroutine containing the relevant variables must be executed using the CNCEX command For the CNC to assume the new values operate according to the indicator...

Page 375: ...eturns the status of work zone 1 FZLO X C Lower limit of zone 1 along the selected axis X C FZUP X C Upper limit of zone 1 along the selected axis X C SZONE Status of work zone 2 SZLO X C Lower limit...

Page 376: ...les associated with work zones SOFT M V15 3X SOFT T V16 3X 376 FOZUP X C Upper limit of zone 4 along the selected axis X C FIZONE Status of work zone 5 FIZLO X C Lower limit of zone 5 along the select...

Page 377: ...e selected at the CNC by function G94 In mm minute or inches minute This feedrate may be indicated by program by PLC or by DNC the CNC selects one of them the one indicated by DNC has the highest prio...

Page 378: ...currentlyselectedattheCNC Itisgiveninintegervaluesbetween 0 and MAXFOVR maximum 255 This feedrate percentage may be indicated by program by PLC by DNC or by the front panel the CNC selects one of the...

Page 379: ...S X C It returns the theoretical position value real coordinate following error of the tool base referred to machine reference zero home On limit less rotary axes this variable takes into account the...

Page 380: ...part FLWE X C It returns the following error of the selected axis DPLY X C It returns the position value coordinate shown on the screen for the selected axis Read and write variables DIST X C These v...

Page 381: ...h has been turned to one of the handwheel positions the CNC checks this variable and depending on the values assigned to each axis bit c b a it applies the multiplying factor selected for each one of...

Page 382: ...n one bit set to 1 for an axis the least significant bit will be considered Thus The HBE handwheel has priority That is regardless of the mode selected at the CNC switch continuous or incremental JOG...

Page 383: ...ts FTEOS It returns the theoretical turning speed of the main spindle Variables associated with spindle speed PLCS is a read write variable the rest are read only SPEED It returns the turning speed of...

Page 384: ...spindle override The variable PLCSSO is a read write variable the rest are read only SSO It returns the turning speed override of the main spindle currently selected at the CNC It is given in integer...

Page 385: ...ed by program MDISL Maximum machining spindle speed This variable is also updated refreshed when programming function G92 via MDI Position related variables POSS It returns the real position of the ma...

Page 386: ...obal parameters may be assigned a value within 2147483647 Reading these parameters using functions GUP and LUP gives an integer number ignoring its decimals Likewise if the parameter value is greater...

Page 387: ...oretical path simulation 21 G function simulation 22 G M S and T function simulation 23 Simulation with movement in the main plane 24 Simulation with rapid movement 25 Rapid simulation with S 0 30 Nor...

Page 388: ...re PLC program 87 PLC usage maps 88 PLC statistics 90 Customizing 100 General machine parameter table 101 Axis machine parameter tables 102 Spindle machine parameter table 103 Serial line related mach...

Page 389: ...Should none be selected a value of 1 is returned BLKN It returns the label number of the last executed block GGSA It returns the status of functions G00 through G24 The status of each one of the funct...

Page 390: ...G175 through G199 The status of each one of the functions will be given in the 25 least significant bits and it will be indicated by a 1 when active and a 0 when not active or when not available in t...

Page 391: ...axis 3 0011 Z axis Ordinate axis 1 0001 X axis LONGAX This variable can only be used at the mill model It returns the number according to the programming order corresponding to the longitudinal axis...

Page 392: ...time in hundredths of a second elapsed executing the part It ignores the time the execution has been interrupted Possible values 0 4294967295 The CNC will consider the execution of the program finishe...

Page 393: ...p FBACKAL P11 DISBLO Variable that indicates the value of thetotal distance programmed in blocks with look ahead This variable is read only from the CNC and PLC and DNC and may be viewed at the oscill...

Page 394: ...robe input set it to a value of 2 Accessing this variable from the CNC interrupts block preparation DIAM In the lathe model it changes the programming mode for X axis coordinates between radius and di...

Page 395: ...pressing START or executing an M30 or a RESET After executing one of these functions it will take the value of 0 RIGIER It indicates the offset in mm inches between the projection of the following err...

Page 396: ...Installation manual CNC 8035 11 ACCESS TO INTERNAL CNC VARIABLES Other variables SOFT M V15 3X SOFT T V16 3X 396...

Page 397: ...tes that the ASCII Block has been accepted It is up to the operator to verify whether the command has actually been executed by the CNC or not Example of how to use action CNCEX1 when using a tool cha...

Page 398: ...ory and it permits the execution of blocks programmed from the PLC regardless of the operating mode being selected at the CNC at the time When the CNC receives a command from the PLC and it is executi...

Page 399: ...NC channel a program block that includes a PLC axis When all the axes of the machine are set to be governed from the CNC with the CNCEX action only blocks programmed in high level language may be exec...

Page 400: ...error in one of the two execution channels for example travel limit overrun it will show the corresponding error code If it must also stop the movement of the axes and the spindle rotation the CNC wil...

Page 401: ...the programming manual G00 Rapid travers G01 Linear interpolation G02 Clockwise circular helical interpolation G03 Counterclockwise circular helical interpolation G04 Interrupt block preparation of th...

Page 402: ...se the following marks associated with Feed hold and Transfer Inhibit Feedrate of the axes The programming format for the axis feedrate F5 5 depends on the function G94 or G95 and on the work units se...

Page 403: ...te F0 In that case it is limited to 100 In G75 G76 it is only applied when g m p FOVRG75 P126 YES Blocks programmed in high level language The high level instructions that can be used in the PLC execu...

Page 404: ...e defined in the M function table In the PLC channel the following functions cannot be programmed M0 M1 M2 M3 M4 M5 M6 M19 M30 M41 M42 M43 and M44 The following marks and registers are generated for m...

Page 405: ...check the status of such resources and when detecting that one of them is activated it must execute the corresponding section of the PLC program Itisalsopossibleto transferdatafromtheCNCto thePLCviag...

Page 406: ...ioning coordinate F Feedrate for the movement Subroutine SUB1 can be programmed as follows SUB 1 P100 G P101 U P102 F Data transfer to global parameters PLCM1000 PLCM1000 OR 1 Execution command for th...

Page 407: ...ed Its execution can be interrupted by pressing CYCLE STOP or even canceled by pressing RESET If a CNCEX1 action is received when the JOG keyboard is disabled the CNC ignores this command The block to...

Page 408: ...Installation manual CNC 8035 12 AXES CONTROLLED FROM THE PLC Action CNCEX1 SOFT M V15 3X SOFT T V16 3X 408...

Page 409: ...e coolant on and off CNC configuration The PLC has 512 inputs and 512 outputs Some of them depending on the CNC configuration communicate with external devices InputI1istheemergencyinputofthe CNCandmu...

Page 410: ...rnal emergency input DEF I CONDI I70 Conditional mode The CNC interrupts part program execution when executing auxiliary function M01 DEF SERVO OK I71 The servo drives are O K DEF O EMERG O1 Emergency...

Page 411: ...selected DEF I SIMULA I86 The operator requests the simulation of program P12 DEF SENDKEY M1100 Indicates that the code of a key is to be sent out to the CNC DEF KEYCODE R55 Indicates the code of the...

Page 412: ...A M4700 4955 Initializes all PLC resources to low logic level 0 TG1 2 120000 Initializes the timer which controls the lubrication of the machine ways on power up This operation will be performed for 2...

Page 413: ...RM or a problem was detected when powering the CNC up CNCREADY the emergency output O EMERG must be brought low I CONDI M01STOP When the operator selects the conditional mode I CONDI the CNC general l...

Page 414: ...es and only when the axes of the machine have not been referenced homed The CNC logic outputs REFPOIN indicate that the axes have been homed Error treatment Error message treatment The PLC permits dis...

Page 415: ...vates timer T1 in the mono stable mode for 100 milliseconds Whenever timer T1 is active the PLC must set the AUXEND signal low as described in Treatment of the general CNC input AUXEND When the CNC ac...

Page 416: ...general CNC input AUXEND While changing gears ranges general CNC input AUXEND should be canceled in order to interrupt the execution of the CNC Treatment of the general CNC input AUXEND Remove the con...

Page 417: ...ower up This operation will be performed for 2 minutes Whenever the machine is powered up the PLC program starts running Therefore the first cycle module CY1 must activate timer T2 in the mono stable...

Page 418: ...he values of PLC machine parameters USER12 P14 USER13 P15 and USER14 P16 CNCRD DISTX R41 M302 CNCRD DISTY R42 M302 CNCRD DISTZ R43 M302 Assigns to registers R41 R42 and R43 the distance each axis has...

Page 419: ...can activate or deactivate an input the PLC will always assign the result of analyzing the last one of those instructions This example shows how to group in a single instruction all the conditions th...

Page 420: ...ND SENTOK RES M122 RES SENTOK SET M123 If the previous key was sent out successfully SENTOK flags M122 and SENTOK will be turned off the flag for the next stage M123 is activated MOV KEY2 KEYCODE SET...

Page 421: ...de of the key to be simulated KEYCODE If this command is not executed correctly M100 1 the PLC will try again on the next cycle scan M101 AND NOT M100 CNCRD KEY LASTKEY M101 If the previous command wa...

Page 422: ...Installation manual CNC 8035 13 PLC PROGRAMMING EXAMPLE Main module SOFT M V15 3X SOFT T V16 3X 422...

Page 423: ...les 431 D Summary of PLC commands 437 E Summary of PLC inputs and outputs 441 F 2 digit BCD code output conversion table 447 G Key codes 449 H Logic outputs of key status 451 I Key inhibiting codes 45...

Page 424: ......

Page 425: ...aphics coprocessor 256 Kb CNC program memory Block processing time of 6 5 ms Configurable sample time 4 5 or 6 ms Approximate weight 7 5 Kg Maximum consumption of 48 W in normal operation Color monito...

Page 426: ...0 30 mA Vin 24V High threshold logic level 1 VIH A partir de 12 5 Vcc Low threshold logic level 0 VIL Por debajo de 4 Vcc Maximum nominal voltage Vimax 35 Vcc Digital inputs Nominal voltage 24 Vdc Max...

Page 427: ...Storage temperature between 25 C 13 F and 70 C 158 F Maximum work altitude Meets the IEC 1131 2 standard Packaging Meets the EN 60068 2 32 standard Vibration When running 10 50 Hz amplitude 0 2 mm 1g...

Page 428: ...Installation manual CNC 8035 A APPENDIX CNC technical characteristics SOFT M V15 3X SOFT T V16 3X 428...

Page 429: ...ates with the leading edge or trailing edge of the signal which the probe provides Probe with normally open contact output Probe with normally closed contact output Interface with output in open colle...

Page 430: ...Installation manual CNC 8035 B APPENDIX Probe connection SOFT M V15 3X SOFT T V16 3X 430...

Page 431: ...gth value of offset n TOIn R W R W Tool radius wear of offset n TOKn R W R W Tool length wear of offset n TOXn R W R W Tool length offset n along X axis TOZn R W R W Tool length offset n along Z axis...

Page 432: ...ate of the selected axis FTEO X C R R R Theoretical CNC feedrate of the selected axis FEED R R R Active feedrate at the CNC in mm min or inch min DNCF R R R W Feedrate selected via DNC PLCF R R W R Fe...

Page 433: ...R W Arc center coordinates for Path handwheel mode or Path jog Variable CNC PLC DNC section 11 8 ASIN X C R R R A signal of the CNC s sinusoidal feedback for the selected axis BSIN X C R R R B signal...

Page 434: ...n Register PLCTn R W Indicated n Timer s count PLCCn R W Indicated n Counter s count PLCMMn R W Modifies the n mark of the PLC Variable CNC PLC DNC section 11 10 GUP n R W Global parameter P100 P299...

Page 435: ...In R R R Voltage in volts of the indicated analog input n ANAOn R W R W R W Voltage in volts to apply to the indicated output n CNCERR R R Active CNC error number PLCERR R Active PLC error number DNCE...

Page 436: ...Installation manual CNC 8035 C APPENDIX Summary of internal CNC variables SOFT M V15 3X SOFT T V16 3X 436...

Page 437: ...n with the CNC R 500 559 Decimal Integer within 2147483647 Hexadecimal Number preceded by the sign and between 0 and FFFFFFFF Binary Number preceded by the letter B and made up of up to 32 bits 1 or 0...

Page 438: ...struction it precedes AND Performs the logic function AND between consulting instructions OR Performs the logic function OR between consulting instructions XOR Performs the logic function EXCLUSIVE OR...

Page 439: ...gister content DVS Divides the contents of two registers or a number and a register content MDS Module between registers contents or between a number and a register content Origin Destination Source c...

Page 440: ...tion instructions ERA Group erase CNCRD CNCRD Variable R1 559 M1 5957 Reading of internal CNC variables CNCWR CNCWR R1 559 Variable M1 5957 Writing of internal CNC variables PAR PAR R1 559 M1 5957 Par...

Page 441: ...LCREADY M5023 PLC without errors INT1 M5024 Executes the interruption subroutine indicated in g m p P35 INT2 M5025 Executes the interruption subroutine indicated in g m p P36 INT3 M5026 Executes the i...

Page 442: ...alarms SMOTOF M5114 M5164 M5214 Cancels the SMOTIME filter a m p SMOTIME P58 LIM OFF M5115 M5165 M5215 It ignores the software limits MANINT M5116 M5166 M5216 Activate the additive handwheel in each a...

Page 443: ...ode has been selected AUTOMAT M5509 The automatic operation mode has been selected MDI M5510 The MDI mode has been selected SBOUT M5511 The single block execution mode has been selected INCYCLE M5515...

Page 444: ...ted DM08 M5540 The coolant output has been activated M08 DM09 M5555 The coolant output has been canceled M09 DM19 M5554 A block with spindle stop has been executed M19 DM30 M5553 The program concluded...

Page 445: ...function to be executed in the main channel MBCDP1 R565 Auxiliary M function to be executed in the PLC channel MBCDP2 R566 Auxiliary M function to be executed in the PLC channel MBCDP3 R567 Auxiliary...

Page 446: ...Installation manual CNC 8035 E APPENDIX Summary of PLC inputs and outputs SOFT M V15 3X SOFT T V16 3X 446...

Page 447: ...BCD 50 55 54 56 62 55 63 70 56 71 79 57 80 89 58 90 99 59 100 111 60 112 124 61 125 139 62 140 159 63 160 179 64 180 199 65 200 223 66 224 249 67 250 279 68 280 314 69 315 354 70 355 399 71 400 449 7...

Page 448: ...Installation manual CNC 8035 F APPENDIX 2 digit BCD code output conversion table SOFT M V15 3X SOFT T V16 3X 448...

Page 449: ...88 83 84 85 89 90 91 32 65453 65456 65445 65460 65462 65458 65455 65454 35 61 40 55 41 56 36 57 37 47 91 52 93 53 38 54 63 42 33 49 34 50 44 51 62 43 60 45 59 48 58 46 61447 013 61446 027 65524 65522...

Page 450: ...Installation manual CNC 8035 G APPENDIX Key codes SOFT M V15 3X SOFT T V16 3X 450...

Page 451: ...3 B15 B6 B7 B14 R561 B0 B1 B2 B3 B4 B5 B6 B7 R562 R562 R562 R562 R562 R562 R562 R562 R562 R562 R562 R562 R562 R562 R562 B15 R562 B31 B23 B21 B16 B17 B20 B22 R563 B8 R560 R560 R560 R560 R560 R560 R560...

Page 452: ...Installation manual CNC 8035 H APPENDIX Logic outputs of key status SOFT M V15 3X SOFT T V16 3X 452...

Page 453: ...27 R502 B7 R502 B13 R501 B15 B5 R502 B6 R501 B19 R501 B22 B24 R501 R504 B8 R501 B18 B30 B31 R500 R500 R501 R501 B28 B25 R500 B23 R500 B22 B31 R502 R502 B15 R501 B5 R501 B16 R500 B7 R500 B6 B8 R500 B9...

Page 454: ...Installation manual CNC 8035 I APPENDIX Key inhibiting codes SOFT M V15 3X SOFT T V16 3X 454...

Page 455: ...P115 P164 P165 P16 P17 P66 P67 P116 P117 P166 P167 P18 P19 P68 P69 P118 P119 P168 P169 P20 P21 P70 P71 P120 P121 P170 P171 P22 P23 P72 P73 P122 P123 P172 P173 P24 P25 P74 P75 P124 P125 P174 P175 P26 P...

Page 456: ...5 P16 P17 P66 P67 P116 P117 P166 P167 P18 P19 P68 P69 P118 P119 P168 P169 P20 P21 P70 P71 P120 P121 P170 P171 P22 P23 P72 P73 P122 P123 P172 P173 P24 P25 P74 P75 P124 P125 P174 P175 P26 P27 P76 P77 P1...

Page 457: ...5 P16 P17 P66 P67 P116 P117 P166 P167 P18 P19 P68 P69 P118 P119 P168 P169 P20 P21 P70 P71 P120 P121 P170 P171 P22 P23 P72 P73 P122 P123 P172 P173 P24 P25 P74 P75 P124 P125 P174 P175 P26 P27 P76 P77 P1...

Page 458: ...5 P16 P17 P66 P67 P116 P117 P166 P167 P18 P19 P68 P69 P118 P119 P168 P169 P20 P21 P70 P71 P120 P121 P170 P171 P22 P23 P72 P73 P122 P123 P172 P173 P24 P25 P74 P75 P124 P125 P174 P175 P26 P27 P76 P77 P1...

Page 459: ...P165 P16 P17 P66 P67 P116 P117 P166 P167 P18 P19 P68 P69 P118 P119 P168 P169 P20 P21 P70 P71 P120 P121 P170 P171 P22 P23 P72 P73 P122 P123 P172 P173 P24 P25 P74 P75 P124 P125 P174 P175 P26 P27 P76 P7...

Page 460: ...19 P26 P27 P4 P5 P12 P13 P20 P21 P28 P29 P6 P7 P14 P15 P22 P23 P30 P31 P0 P1 P22 P23 P44 P45 P66 P67 P2 P3 P24 P25 P46 P47 P68 P69 P4 P5 P26 P27 P48 P49 P70 P71 P6 P7 P28 P29 P50 P51 P72 P73 P8 P9 P30...

Page 461: ...M FUNCTIONS SETTING CHART M function Associate d subroutin e Setting bits 7 6 5 4 3 2 1 0 M M S S M M S S M M S S M M S S M M S S M M S S M M S S M M S S M M S S M function Associate d subroutin e Se...

Page 462: ...Installation manual CNC 8035 K APPENDIX M functions setting chart SOFT M V15 3X SOFT T V16 3X 462...

Page 463: ...E P P E E E E P P E E E E P P E E E E P P E E E E P P E E E E P P E E E E P P E E E E P P E E E E Axis _______ Point Position Error Error P P E E E E P P E E E E P P E E E E P P E E E E P P E E E E P...

Page 464: ...Installation manual CNC 8035 L APPENDIX Leadscrew error compensation table SOFT M V15 3X SOFT T V16 3X 464...

Page 465: ...3X 465 CROSS COMPENSATION TABLE Moving axis _____ MOVAXIS P32 Point Position Error P P E E P P E E P P E E P P E E P P E E P P E E P P E E P P E E P P E E Axis to be compensated _____ COMPAXIS P33 Po...

Page 466: ...Installation manual CNC 8035 M APPENDIX Cross compensation table SOFT M V15 3X SOFT T V16 3X 466...

Page 467: ...it could generate electrostatic discharges The plastics used on the front panel are resistant to Grease and mineral oils Bases and bleach Dissolved detergents Alcohol Fagor Automation shall not be he...

Page 468: ...CNC 8035 N APPENDIX SOFT M V15 3X SOFT T V16 3X 468 Installation manual...

Page 469: ...CNC 8035 N SOFT M V15 3X SOFT T V16 3X 469 Installation manual...

Page 470: ...CNC 8035 N SOFT M V15 3X SOFT T V16 3X 470 Installation manual...

Reviews: