background image

     

GSK218M CNC System    Connection and PLC Manual

 

 140

                               

N0.      ADDRESS          CURRENT         SET  

       0000     C000        00000       00001 
       0001     C001        00000       00001 
       0002     C002        00000       00001 
       0003     C003        00000       00001 
       0004     C004        00000       00001 
       0005     C005        00000       00001 
       0006     C006        00000       00001 
       0007     C007        00000       00001 
       0008     C008        00000       00001 
       0009     C009        00000       00001 
       0010     C010        00000       00001 

      0011     C011        00000       00001

PLCPara 

MDI 

         RUN 

 

 

【INFO】 

PLCGRA】【

PLCPAR】【PLCDGN】

 

Fig. 1- 2- 3 

                   

Contents and operations on 

PLCPAR

 interface: 

                  RUN

              operation state of ladder 

                  NO

                              parameter serial number   

                  ADDRESS

        parameter address  

         CURRENT

        current value of parameter 

 SET

                            preset value of parameter 

 Data/serial number: displaying input data. The serial number appears by pressing 

<

SEARCH

> on the panel to search the data. The CNC returns to 

the data displaying interface after press <CANCEL>. 

MDI mode: current operation mode(note: the relative parameter of PLCPAR can be 

modified only during MDI mode). 

       Press the Page Up/Page Down, four Direction keys to seach, view and modify the 

elements.  

 

1.2.4   PLCGND interface  

 

Press 

PLCGDN

to enter PLCGND interface or define the bit parameter N0

26#6=1 to 

press <

INFO

> key on the PMC interface to enter PLCGDN

 

interface as Fig.1-2-4. 

 

 

Содержание 218M

Страница 1: ...Dlugosza 2 6 Street 51 162 Wroc aw Poland biuro rgbelektronika pl 48 71 325 15 05 www rgbautomatyka pl www rgbelektronika pl DATASHEET www rgbautomatyka pl www rgbelektronika pl OTHER SYMBOLS 130SJT...

Страница 2: ...d with a wide variety of tools and having several testing stands at their disposal are a guarantee of the highest quality service OUR SERVICES ENCODERS SERVO DRIVERS LINEAR ENCODERS SERVO AMPLIFIERS C...

Страница 3: ...GSK 218M CNC System Connection and PLC Manual...

Страница 4: ...detail as much as possible However it s impractical to give particular descriptions for all unnecessary and or unavailable operations on the motor due to the limit of the manual specific operations o...

Страница 5: ...of GSK CNC Equipment Co Ltd All rights reserved It is against the law for any organization or individual to publish or reprint this manual without the express written permission of GSK CNC Equipment C...

Страница 6: ...p in internal industry for successive 7 years from the year 2000 to 2006 which makes it the largest CNC manufacture base throughout China The main products provided by our company includes the NC equi...

Страница 7: ...tronage and purchase of this GSK GSK218M CNC system made by GSK CNC Equipment Co Ltd The manual is Connection and PLC Manual Accident may occur by improper connection and operation This system can onl...

Страница 8: ...ty and supplementary information is regarded as explanation Read the warnings notes and explanations carefully before operation Warning User may be hurted or equipment can be damaged if operations and...

Страница 9: ...fstate of signals between 1st level and 2nd level 21 2 6 Interlocking 22 3 ADDRESS 23 3 1 Addresses from Machine tool to PLC X 23 3 1 1 Assignment of IO module X address 23 3 1 2 Assignment of MDI pan...

Страница 10: ...ation control 48 5 17 SFT shift register 50 5 18 DIFU rising edge check 51 5 19 DIFD falling edge check 52 5 20 COMP binary comparison 53 5 21 COIN concidence check 54 5 22 MOVN transfer of data 55 5...

Страница 11: ...5 3 2 Dry run 94 5 3 3 Single block 95 5 4 Optional block skip 96 5 5 Program restart 97 6 INTERPOLATION FUNCTION 98 6 1 Thread cutting 98 7 FEEDRATE CONTROL 99 7 1 Rapid traverse rate 99 7 2 Advance...

Страница 12: ...32 13 2 Torque limit skip 133 APPENDIX 134 Signal list During order of address 134 VOLUME THREE OPERATION 137 1 PLC INTERFACE DISPLAY 138 1 1 Automatic operation when GSK218M PLC power on 138 1 2 INFO...

Страница 13: ...t 169 3 2 Input interface 169 3 2 1 Input interface method 169 3 2 2 Input signal interface definition 170 3 3 Output signal 172 3 3 1 Output interface method 172 3 3 2 Ouput signal interface definiti...

Страница 14: ...with ladder 196 1 Notices of GSK218M matching with turret tool magazine 196 2 Allocation and definition of PMC IO address auxiliary relay and register 196 3 Usage and maintenance of GSK 218M CNC Syst...

Страница 15: ...GSK218M CNC System Connection and PLC Manual 12 Volume one Programming...

Страница 16: ...every instruction and execute the program by arithmetic operation The sequence program is written firstly from ladder Specification GSK218M PLC Programming method language Ladder Number of ladder lev...

Страница 17: ...m For the timer meter etc which cannot be expressed with the functional instructions The edited ladder should be converted into the corresponding PLC instruction to store 1 5 Sequence program check st...

Страница 18: ...t approximately the same time in the figure below for example when relay A operatre the relay D and E operate at approximately the same time when contacts B and C are off In PLC sequence control each...

Страница 19: ...he program starts over form the beginning This is called repetitive operation The execution time from the beginning to the end of the ladder diagram is called the sequence processing time The shorter...

Страница 20: ...ng within 4ms becomes less thereby increasing the dividing number and making the processing time longer Therefore it is desirable to program so as to reduce the 1st level sequence to a minimum 2 4 Seq...

Страница 21: ...ograms established are combined to structure a ladder sequence 3 Conditional branch The main program loops and checks whether conditions are satisfied If a condition is satisfied the corresponding sub...

Страница 22: ...sing PLC 2nd sequence part starting memory 2 nd level sequence part 1st level sequence part CNC PLC Share memory Input signals from machine tool IO interface 4ms 2 nd sequence part input signal memory...

Страница 23: ...are transferred to the 2nd level input signal memory only at the beginning of execution of the 2nd level sequence part Therefore the state of the 2nd level synchronous input signal memory does not cha...

Страница 24: ...d level processing is performed using the 2nd level synchrounous input signal memory Therefore it is possible for a 2nd level sequence execution at the worst compared with a 1st level input signal Thi...

Страница 25: ...B and C are different 2 6 Interlocking Interlocking is externally important in sequence control safety Interlocking with the sequence program is necessary However interlocking with the end of the elec...

Страница 26: ...it number octal serial number 0 7 stands for 0 7 bit of byte of front address number 218M PLC address type is as follows Character Signal descrition Length X Machine tool PLC 64 byte INT8U Y PLC machi...

Страница 27: ...t be changed by user Addresses and press keys are as follows Input key on operator panel PLC address Edit mode X20 0 Auto mode X20 1 MDI mode X20 2 Machine zero return mode X20 3 Single step mode X20...

Страница 28: ...elease X29 2 Tool magazine CW X29 3 Tool magazine CCW X29 4 tool infeed X29 5 tool retraction X29 6 Tool change manipulator X29 7 Overtravel release X30 0 3 2 Address Y from PLC to machine tool Y addr...

Страница 29: ...Y12 6 DNC key indicator Y12 7 Spindle CW indicator Y13 0 Spindle CCW indicator Y13 1 Spindle override cancel indicator Y13 2 X machine zero return indicator Y13 3 Y machine zero return indicator Y13 4...

Страница 30: ...0 to G63 Tpye INT8U 64 bytes For signals see Volume Function Key signals on the operator panel Key signal on operator panel PLC address Edit mode G20 0 Auto mode G20 1 MDI mode G20 2 Machine zero retu...

Страница 31: ...tep 0 1 G26 2 Incremental step 1 G26 3 Manual feed axis X G27 0 Manual feed axis Y G27 1 Manual feed axis Z G27 2 Manual feed axis Th4 G27 3 Manual feed axis X G28 0 Manual feed axis Y G28 1 Manual fe...

Страница 32: ...ers In each modal the following number of bytes can be used Since this area is nonbolatile the content of the memory do not disappear even when the power is turned off Type INT8U with 64 bytes 3 7 Add...

Страница 33: ...y do not disappear even when the power is turned off Type 128 addresses 3 10 Timer addresses T The area is used as storing current counting value in timer The initial data is the preset value when the...

Страница 34: ...off Tpye 256 addresses D240 247 are for tool magazine 3 13 Lable address L Label addresses are used to specify jump destination labels and LBL labels in JMPB instructions Range 0 99 3 14 Subprogram n...

Страница 35: ...nstruction corresponding to the PLC instruction The basic instructions are often used when the sequence program is designed and thet execute one bit operation GSK218M basic instructions are as follows...

Страница 36: ...rations and output it to a specified address Instruction specifications z WRT WRT NOT are the output relay internal relay instructions They cannot be used to input relay z The parallel WRT instruction...

Страница 37: ...logical sum Instruction specification z OR OR_NOT can connect with one contact in parallel z OR OR NOT begins from their step which can connect with the froementioned step in parallel Programming RD X...

Страница 38: ...cks 4 5 AND STK instruction Instruction and function Instruction Function AND STK Sets the logical product of ST0 and ST1 and shifts the stack register right by one bit Instruction specification z Whe...

Страница 39: ...L Calling subprogram 4 SP Subprogram 5 SPE End of subprogram 6 SET Set 7 RST Reset 8 JMPB Lable jump 9 LBL Label 10 TMR Timer 11 CTR Binary meter 12 DEC Binary decoding 13 COD Binary code conversion 1...

Страница 40: ...en there is no 1st level sequence It can write 100 steps Format 5 2 END2 2nd level sequence program end Function Specify at the end of 2nd level sequence Format 5 3 CALL call subprogram Function Call...

Страница 41: ...a subprogram name SP is use with the SPE functional instruction to specify the subprogram range Note 1 A subprogram must be written after END2 2 Another subprogram cannot be nested into a subprogram...

Страница 42: ...o 1 for the specified address Format Control condition ACT 0 add b keep invariably ACT 1 add b set to1 Parameter Add b set element address bit can be the output coil Add Y G R K A 5 7 RST reset Functi...

Страница 43: ...same label Jumped END1 and END2 are forbidden Jump instructions can transfer control freely before and after the instruction withinthe program unit in which the instruction is coded Jump can be execut...

Страница 44: ...system alarms Format Parameter Lx specifies the label of the jump destination Label number range 0 99 Example 5 10 TMR timer Function This is an on delay timer Format Control condition ACT 0 turns of...

Страница 45: ...TMR in PLCPAR 5 11 CTR binary counter Function The data in the counter are binary and their functions are as follows 1 Preset counter Preset the count It outputs a singal when the preset count is reac...

Страница 46: ...ange Parameter METER specifies the counter serial number with xxx which are numbers 0 127 Output W coil output W 1 when the counter reaches the preset value Note When the counter is rise edge to count...

Страница 47: ...ifies the first of the 8 continuous numbers to be decoded S3 decode result address Specifies an address where the decodedresult shall be output A one byte area is necessary in the memory for the outpu...

Страница 48: ...the conversion data S2 Parameter Length1 designates binary numerial size in the conversion table 1 Numerical data is binary 1 byte data 2 Numerical data is binary 2 byte data length2 Number of convers...

Страница 49: ...Memory of the byte length specified in the format designation is necessary from the specified address Output If there are any abnormality when executing the CODB instruction W 1 and error will be out...

Страница 50: ...ional COM instructin can be specified 2 the coil for WRT NOT in the range specified with a COM instruction is unditionally set to 1 when COM ACT 0 3 do not use the function block between COM and COME...

Страница 51: ...the number of the position of the rotor with 0 CNO 1 begins the number of the position of the rotor with 1 Select the rotation direction via the shorter path or not DIR DIR 0 no direction is selected...

Страница 52: ...the nuber of steps for the rotor to rotate the number of steps up to the position one position before or the position before the goal When the calculating result is to be used always check that ACT 1...

Страница 53: ...W 1 When S3 8 goal position is B and ACT 1 S4 9 W 1 When S3 5 goal position is C and ACT 1 S4 4 W 0 When S3 3 goal position is D and ACT 1 S4 2 W 0 5 17 SFT shift register Function The instruction shi...

Страница 54: ...1 For shifting one bit only execute an instructin when ACT 1 and then set ACT to 0 Parameters S1 sets shift data addresses These designated addresses require a continuous 1 byte memory for shift data...

Страница 55: ...meter L rising edge number range 0 255 Another DIFU instruction or DIFD instructin in the ladder uses the same number the system will alarm Operation Execution period 5 19 DIFD falling edge check Func...

Страница 56: ...ison data in the memory Format Control conditions ACT 0 The COMP instruction is not executed W does not alter ACT 1 The COMP instruction is executed Parameter Length specification format constant or a...

Страница 57: ...CT 0 the COIN instruction is not executed W does not change ACT 1 the COIN instruction is executed Parameter Length specification format constant or address and data length 1 or 2 bytes for the input...

Страница 58: ...ength transferred byte number S1 stating byte of address or constant of source data Selecting transfer format according to S1 1 S1 is constant if S2 is single byte address S1 in byte unit is copied to...

Страница 59: ...the address thus allowing change in table capacity even after writing the sequence program in the ROM Format Control condition Specify the reading ro rewriting RW RW 0 data is read from the data table...

Страница 60: ...ith the byte length which set in Length format specification is necessary S4 Index storage address Set the address of the memory in which an index value is stored The memory with the byte length set i...

Страница 61: ...number of byte according to the format designation Number of data in the table is n 1 head number in the table is 0 and the last number is n S2 Data table head address S3 Search data input address S4...

Страница 62: ...ute ADD W does not change ACT 1 Execute ADD Parameter Length Specifies data length 1 or 2 bytes and the format for the addend constant or address S1 Augend address S2 Addend data specification determi...

Страница 63: ...RST 0 Release reset RST 1 Reset W 0 Activation instruction ACT ACT 0 Do not execute SUB W does not change ACT 1 Execute SUB Parameter Length Specifies data length 1 or 2 bytes and the format for the s...

Страница 64: ...length 1 or 2 bytes and an input data format constant or addressspecification S1 Input data to be ANDFed The data that is held starting at this address and hasthe data length specified in Length forma...

Страница 65: ...ration is as follows Address C 5 28 ORF logical or Function The ORF instruction ORFs the contents of address A with a constant or the contents of address B and stores the result at address C Format Co...

Страница 66: ...ngth format specification is treated as input data S3 Address used to store the result of an ORF operation The result of an ORF operation is stored starting at this address and has the data length spe...

Страница 67: ...e data length specified in Length format specification Example When address A holds the following data Address A The result of the NOT operation is as follows Address B 5 30 EOR exclusive or Function...

Страница 68: ...pecification the data that is held starting at this address and has the data length specified in Length format specification is treated as input data S3 Address used to store the result of an exclusiv...

Страница 69: ...l output and do not support the multi level output 3 The result output address in all basic instructions and output function instruction are not set the following addresses 1 Counter preset address DC...

Страница 70: ...GSK218M CNC System Connection and PLC Manual 67 Volume Two Function...

Страница 71: ...d moving The signals become 0 when z The corresponding axis has stopped moving Axis moving direction signals MVD1 MVD4 F019 0 F019 3 Classfication Output signal Function These signals indicate the mov...

Страница 72: ...lace the controlled axes in the servo off state stop the current to the servo mtor which disables position control However the position check feature functions continuously so the current position is...

Страница 73: ...re continues to function so the current position is not lost Signal address Caution 1 In general interlock is applied to an axis while the servo off signal for that axis is 1 2 When one of these signa...

Страница 74: ...MI4 G010 Classfication Input signal Function Apply mirror image to the specified axes Operation Apply mirro image to those axes for which the signals are 1 These signals are provide for the controlle...

Страница 75: ...rror image in the control unit is turned off Signal address Parameter The following parameter can be set at Setting screen Data type bit axis Mirror image for MIRx each axis 0 Mirror image is invalid...

Страница 76: ...anges Signal position switch signal PSW01 PSW05 F014 0 4 Classfication Output signal Function Indicates that the machine coordinates along the controlled axes specified by parameters Up to 16 position...

Страница 77: ...ked by twisting it Signal Emergency stop signal ESP X001 4 G001 0 Classfication Input signal Function Activating an emergency stop signal stops the machine instantly Operation When the emergency stop...

Страница 78: ...itch and an Over TRAVEL is displayed The signal can be output with an alarm Signal Overtravel signal L1 L4 G12 0 G12 3 L1 L4 G13 0 G13 3 Classfication Input signal Function Indicates that the control...

Страница 79: ...e alarm signal is set to 1 If the voltage level of the memory backup battery falls to below a specified level while the CNC is turned off the battery alarm signal is set to 1 Signal Alarm signal AL F0...

Страница 80: ...t signal Function This singal is used to inhibit the machine from moving The number at the end of each signal name denotes the number of the corresponding controlled axis IT1 No X axis interlock IT2 N...

Страница 81: ...ation Output signal Function This signal indicates that a move instruction is being executed at the rapid traverse Output conditions 1 indicates an axis starts moving after rapid traverse has been sel...

Страница 82: ...t the motor be deactivated when the safety guard is opened By using the VRDY OFF alarm ignore signal however the CNC can be restarted without resetting even if the safety guard has been opened Signal...

Страница 83: ...function stopss motors or reverses them by an amount specified in a parameter causing the CNC to output an alarm whenever the load torque obtained by the estimated load torque output function is great...

Страница 84: ...ifference between JOG feed and incremental feed is the method of selecting the feed distance In JOG feed the machine continues to be fed while the following signals selecting the feed axis and directi...

Страница 85: ...anual rapid traverse selection signal RT G024 7 Classfication Input signal Function Select the rapid traverse rate in JOG feed or incremental feed mode Use When the signal becomes 1 the control unit o...

Страница 86: ...1IA HS1ID G004 0 3 Classfication Input signal Function These signals select an axis to which the manual MPG interrupts is applied There are three sets of signals each corresponding to a MPG up to two...

Страница 87: ...on of reference point return MREF Reference point return deceleration signal DECX DECY DECZ DECA Reference point return completion signal ZP1 P2 ZP3 ZP4 Creating reference point signal ZRF1 ZRF2 ZRF3...

Страница 88: ...DECX X01 0 DECY X01 1 DECZ X01 2 DECA X01 3 Classfication Input signal Function These signals decelerate the feedrate for manual reference point return to a low feedrate Reference point return decele...

Страница 89: ...ulti axis 1 single axis Data type bit axis ZRNX When a instruction specifying the movement except for G28 is issued in automatic operation MEM RMT or MDI before referencing is completed 1 An alarm is...

Страница 90: ...e direction Data Classfication Bit ZCL Local coordinate system after the manual reference point return is executed 0 The local coordinate system is not canceled 1 The local coordinate system is cancel...

Страница 91: ...ic operation is started 8 When the program restart signal SRN is set to 1 9 When CNC is searching one sequence number The CNC enters the feed hold state and stops operation in automatic operation as f...

Страница 92: ...etion of that block signal SPL is set to 0 signal STL remains set to 0 and the CNC enters the automatic operation stop state 1 Thread cutting In the thread cutting when the signal SP is set to 0 CNC e...

Страница 93: ...omatic operation Operation In Auto mode SP signal is set 0 CNC enters the feed hold and stops running When SP signal is set to 0 the automatic operation does not start Cycle start lamp signal STL F000...

Страница 94: ...Feed hold lamp SPL Automatic operation lamp OP Cycle start 1 0 1 Feed hold 0 1 1 Automatic operation stopping 0 0 0 Reset 0 0 0 Table 5 1 Signal address 5 2 Reset General CNC is reset and enters the...

Страница 95: ...gnal ERS is set to 1 CNC enters the reset state The reset signal RST becomes 1 after CNC is reset Rset signal RST F001 1 Classfication Output signal Function The signal reports PLC that CNC is reset O...

Страница 96: ...perator can therefore check if the instructions are correct by monitoring the position display Signal all axis machine lock signal MLK1 MLK4 G011 0 G011 3 Classfication Input signal Function Place the...

Страница 97: ...to 1 the machine tool moves at the feedrate specified for dry run When the signal is 0 the machine tool normally moves Caution When the dry run signal is changed from 0 to 1 or 1 to 0 during the move...

Страница 98: ...ation Operation Execute the single block when the signal is set to1 Execute the normal operation when the signal is set to 0 Single block check signal MSBK F004 3 Classfication Output signal Function...

Страница 99: ...a block and optional block skip signal BDT is set to 1 during automatic operation the block is ignored Signal Skip optional block signal BDT G021 0 Classfication Input signal Function Select whether...

Страница 100: ...f the block to be restarted the CRT screen changeds to the program restart screen When the program restart signal is set to 0 and automatic operation is activated the macine moves backe to the machini...

Страница 101: ...a screw Since thread cutting starts when the postion coder mounted on the spindle outputs a 1 turn signal threading is started at a fixed point and the tool path on the workpiece is unchanged for rep...

Страница 102: ...es that an axis starts moving after a feedrate other than rapid traverse has been selected This hold true for both automatic and manual operation modes Note 1 The rapid traverse during automatic opera...

Страница 103: ...ew control mode Signal address 7 3 In position check General Whether the position of the servo motor is withduring a specified range is checked If the in position check function is enabled the CNC che...

Страница 104: ...lock not be started until the acceleration deceleration of the previous block has been completed Signal Error detect signal SMZ G009 2 Classfication Input signal Function If the signal is set to 1 the...

Страница 105: ...e override signal Rapid F0 G025 0 Rapid F25 G025 1 Rapid F50 G025 2 Rapid F100 G025 3 Classfication Input signal Function These signals are for rapid traverse rate override 7 5 2 Feedrate override Gen...

Страница 106: ...ancel signal fixes the feedrate override to 100 Signal Override cancel signal OVC G024 1 Classfication Input signal Function The feedrate override is fixed to 100 Operation When the signal is 1 CNC op...

Страница 107: ...ituting S T or B during place of M 1 Suppose that MXXX is specified during a program If XXX is not specified CNC alarms 2 After M00 M399 is transmitted to machine interface thestrobe signal MF is set...

Страница 108: ...the same block 1 When the tool function is executed the programmed tool number is transmitted S code T code 2 When the spindle speed function tool function is executed the code signal is maintained un...

Страница 109: ...itions For relative output conditions and procedure see Basic Procedure Note 1 The following miscellaneous functions are only processed during CNC they are not output when programmed M98 M99 M198 M co...

Страница 110: ...end signal of the miscellaneous function is returned before completion of such move instructions and dwell instructions A decode M signal is 0 when z FDURING signal becomes 1 z Reset Spindle speed co...

Страница 111: ...completed Distribution end signal DEN F001 3 Classfication Output signal Function The signal reports that all instructions are completed except those miscellaneous functions spindle speed function to...

Страница 112: ...signals and strobe signals 2 If this signal becomes 1 after code signal output the output operation is executed during the ordinary manner until its completion that is until the FDURING signal is rec...

Страница 113: ...nterface has simplified the transfer of the strobe and completion signals of the M S T B function High speed strobe signal and completion signal Take M function as example The method of spindle speed...

Страница 114: ...s also used for external operation function Besides the exclusive external operation EFD and completion signal EFIN The receiving and transmission of the signals are the same that of optional singal a...

Страница 115: ...ontrol unit see Basic Procedure 2nd 3rd M completion signals MFIN2 MFIN3 G000 2 3 Classfication Input signal Function Report that the execution of 2nd 3rd M function using the high speed M S T B inter...

Страница 116: ...g spindle is used and the instruction to the spindle is 0 analog voltage the spindle motor will rotates with the low speed because there is the drift voltage for the spindle speed amplifier And so the...

Страница 117: ...confirm the corresponding relation between the spindle motor and gear Like S instruction selection CNC selects the gear according to the previously defined gear speed range by parameter to report PMC...

Страница 118: ...gnal used as a condition for the CNC to start cutting feed This signal is used generally when cutting feed should be started after the spindle reaches the specified speed During this case a sensor is...

Страница 119: ...trol General With the spindle serial output or analog output function specifying the surface speed m mduring or feet min directly during an S instruction makes it possible to change the spindle output...

Страница 120: ...peration of the spindle Namely during rigid tapping G74 G84 CNC needs to detect the rotation direction signal of spindle to confirm the cutting feed direction and machining process Procedure Spindle r...

Страница 121: ...mple when the spindle is being positioned to a hole position or a dwell operation is during progress at the bottom of a hole position or a dwell operation is during progress at the bottom of a hole or...

Страница 122: ...nal TLCHI is set to 1 at the end of the life of the current tool Signal Tool change signal TLCH F064 0 Classfication Output signal Function Report the end of the life of the last tool of a group Outpu...

Страница 123: ...ssfication Input signal Function Individual tool change signal TLCHI is set to 0 Operation When the signal is 1 the control unit operates as follows Individual tool change signal is set to 0 Note 1 Th...

Страница 124: ...ese methods is set using parameter Tool life is counted from zero When the TLSKP signal is 1 and the last tool during the group is being used the TLCH signal turns to 1 Operation When the signal is se...

Страница 125: ...ed as follows 12 8 6 4 0 8 20 0 the life count value multiplies 20 0 Operation The actual cutting time is counted and it multiplies the override value of these signals to get the time which is taken a...

Страница 126: ...ata or unkown data For example the custom program can be used for technology Signal Custom macro program input signal UI000 UI015 G054 G055 Classfication Input signal Function The signals do not provi...

Страница 127: ...macro program output signal UO000 UO015 F054 F055 UO100 UO131 F056 F059 Classfication Output signal Function The signals do not provide any functions for the control unit These signals which are take...

Страница 128: ...0 1108 UO009 F55 1 1109 UO010 F55 2 1110 UO011 F55 3 1111 UO012 F55 4 1112 UO013 F55 5 1113 UO014 F55 6 1114 UO015 F55 7 1115 UO000 UO015 F54 F55 1132 UO100 UO115 F56 F59 1133 UO007 UO006 UO005 UO004...

Страница 129: ...ation at the bottom of a hole Operation 5 Retraction to point R level Operation 6 Rapid traverse up to the initial point Operation sequence of canned cycle is as follows The following canned cycles re...

Страница 130: ...ut conditions The signal is 1 CNC is during the tapping cycle mode G74 G84 CNC is during the tapping cycle mode G63 the signal is set to 0 CNC is not tapping cycle and tapping mode The reset or emerge...

Страница 131: ...ed on each entry of the hole The cycle is realized by X and Y axis positioning Positioning at point R along the Z axis Cutting along the Z axis first time depth of cut Q incremental Signal small hole...

Страница 132: ...lays the integrated power on time the integrated cycle operation time the integrated cutting time and timer started by an input signal from PMC on the screen The integrated cycle opereation time the i...

Страница 133: ...l A key called the data protection key is used to prevent part programs offset values parameters and setting data from being registered modified or deleted erroneously Signal Memory protection signal...

Страница 134: ...nection and PLC Manual 131 Operation When a signal is set to 0 the associated operations are disabled When a signal is set to 1 the associated operations are enabled Signal address KEY4 KEY3 KEY2 KEY1...

Страница 135: ...nates skip cutting That is the position where a skip signal turns to 1 during a block containing G31 is stored during a custom macro variable and the move instruction of the block is terminated at the...

Страница 136: ...P98 the move instruction is executed without performing the skip operation For G31 P99 and P98 the coordinate indicating the position to which the tool is to be positioned after skip is stored during...

Страница 137: ...d traversing signal RPDO 2 8 F002 2 Constant surface speed signal CSS 9 3 F002 3 Thread cutting signal THRD 6 4 F002 4 Program start signal SRNMV 5 5 F002 6 Cuuting feed signal CUT 2 8 F002 7 Dry run...

Страница 138: ...nd signal ZP1 ZP5 4 1 F017 Axis moving direction signal MV1 MV5 1 1 F018 Arrival signal INP1 INP5 7 3 F019 Axis moving direction signal MVD1 MVD5 1 1 F020 Mirror image check signal MMI1 MMI5 1 4 F021...

Страница 139: ...al signal SAR 9 1 2 G003 1 Ridig tapping signal RGTAP 9 4 G004 0 4 MPG halt select signal HS1IA HS1ID 3 3 G005 0 3 Memory protection signal KEY1 KEY4 12 5 G006 0 7 Tool group number select signal TL0...

Страница 140: ...GSK218M CNC System Connection and PLC Manual 137 Volume Three Operation...

Страница 141: ...y 1 2 1 INFO interface Press INFO key on the panel to enter the default INFOR interface as Fig 1 2 1 If the INFO soft key has not found on the below of the screen the bit parameter No N0 26 6 1 can be...

Страница 142: ...nterface Line current line position specified by the cursor during the ladder RUN operation state of ladder Diagram ladder program Data serial number displaying input data The serial number appears by...

Страница 143: ...ameter serial number ADDRESS parameter address CURRENT current value of parameter SET preset value of parameter Data serial number displaying input data The serial number appears by pressing SEARCH on...

Страница 144: ...4 Contents and operations on PLCGDN interface RUN operation state of ladder ADDR address of diagnosis number N 0 N 7 bit number state of diagnosis address 1 the signal is connected 0 the signal is no...

Страница 145: ...2 2 Press agaduring PLCGRA to enter PLCGRA interface as Fig 2 2 1 DATA MEA Emergency switch MDI PLCGRA Ln 000 429 RUN G012 0 RETURN REPERT F INST G001 0 G013 1 X001 4 EDIT B INST X000 0 X000 1 X000 2...

Страница 146: ...0000 00001 0011 C011 00000 00001 PLCPara MDI RUN CTR TMR DATA RETURN KPAR Fig 2 1 2 2 2 Basic instruction B INST Press B INST during Fig 2 1 2 to enter the basic instruction operation interface as Fig...

Страница 147: ...o 7 kind of graphic display normally open contact normally close contact output coil output coil reverse horizontal conductive line vertical conductive line deleting vertical conductive line Auxiliary...

Страница 148: ...ace the element Insert line position the cursor to the any line of target line press CTRL and then press INSERT after the indicator above CTRL is ON insert the blank line at the place above of the spe...

Страница 149: ...ct symbol at the cursor position directly input the element name X2 4 and press ENTER and X002 4 appears at the current cursor position 4 right move the cursor press and draw a horizontal conductive l...

Страница 150: ...END2 ADD SUB XM OV DEC COD DIFU DIFD EOR ANDF ORF NOT JM PB LBL RST SET SFT COM COM E X000 4 EDIT RETURN B INST X000 0 X000 1 X000 2 X000 3 X000 5 X000 6 X000 7 G012 1 G012 2 G012 3 G013 0 G013 2 G01...

Страница 151: ...5 1 Contents and operations of instruction list interface Step the step number and total step number of current ladder run RUN operation state of ladder Data serial number displaying input data The s...

Страница 152: ...l number displaying input data The serial number appears by pressing SEARCH on the panel to search the data The CNC returns to the data displaying interface after press CANCEL MDI mode current operati...

Страница 153: ...adder after saving For the definition of related bit see Function Appendix A 1 2 During PLCGRA interface operate PCL to complete PLC programming Press SAVE the data field prompts SAVE SUCCEEDED The co...

Страница 154: ...iew and the setting interface of counter as Fig 3 1 1 N0 ADDRESS CURRENT SET 0000 C000 00000 00001 0001 C001 00000 00001 0002 C002 00000 00001 0003 C003 00000 00001 0004 C004 00000 00001 0005 C005 000...

Страница 155: ...n the CNC When the change is completed the system displays CTR Downloaded OK when the change is not completed the system displays Can t download Note press CHANGE after modification to save the modifi...

Страница 156: ...t completed the system displays Can t download Note press CHANGE after modification to save the modification and operation the CNC Press the Page Up Page Down four Direction keys to search and positio...

Страница 157: ...mpleted the system displays Can t download Note press CHANGE after modification to save the modification and operation the CNC Press the Page Up Page Down four Direction keys to search and position vi...

Страница 158: ...tion to save the modification and operation the CNC K000 K005 is taken up by the CNC For its definition see Function Appendex A 1 Press the Page Up Page Down four Direction keys to search and position...

Страница 159: ...after the system restarts MDI mode current operation mode Esc escape from the upper menu W enter the upper menu After modification the system Alarm prompting Power OFF and the setting is value after t...

Страница 160: ...GSK218M CNC System Connection and PLC Manual 157 Volume Four Connection...

Страница 161: ...The CNC system must be fixed stably and there is some space around the system to ensure the air circulates and the heat radiates The installation position of CNC system must be convenient to the oper...

Страница 162: ...he CNC system should be carried down to avoid dirtying the system panel There is no the source of high voltage magnetic field around the CNC system and the system should be far from the imflammable ex...

Страница 163: ...GSK218M CNC System Connection and PLC Manual 160 2 Side view 3 Overlook Without PC2 power supply...

Страница 164: ...ion and PLC Manual 161 4 Back view POWER SUPPLY XS2 INPUT1 OUTPUT1 OUTPUT2 OUTPUT3 INPUT3 INPUT2 XS40 XS32 XS33 XS41 XS43 XS42 XS44 XS45 XS31 XS22 XS20 XS21 XS23 XS30 Y AXIS X AXIS SPINDLE 4TH AXIS Z...

Страница 165: ...S21 XS23 Input signal to machine side 4TH axis driver Z axis driver Y axis driver X aixs driver Signal to machine side XS30 XS31 XS32 XS33 XS40 XS41 XS42 XS43 XS44 XS45 GSK218M CNC System 2 2 Connecti...

Страница 166: ...0V 0V 12 11 10 5V 4DIR 0V 4CP YEN 1 8 7 9 4CP 14 15 0V 0V 0V YDALM YPC YDIR YCP 24V 2 4 5 3 1 YDIR 10 11 12 13 5V 5V 0V 9 YCP XS33 DB15 fem ale 4TH aixs XS32 DB15 fem ale Z axis XS31 DB15 fem ale Y ax...

Страница 167: ...2K XDALM Fig 2 2 3 2 The enabled level to the CNC can be set by customer if the low or the high is enabled But the driver must provide the signal as follows Fig 2 2 3 3 3 CNC ready completion signal E...

Страница 168: ...as follows Direction of reference point return Reference point Proximity switch signal PC Encode PC signal one turn signal Neglect Deceleration signal Fig 2 2 3 5 5 Connection method of one proximity...

Страница 169: ...RDY2 14 EN RDY1 EN nDIR 3 6 11 10 nCP nDIR nCP 1 9 2 XS30 31 32 33 Signal Pin DY3 series driver Signal Pin 2 Cable for 218M connecting with DA98 series servo driver 3 nPC 24V 4 nEN nDALM XS30 31 32 3...

Страница 170: ...5 6 7 8 PC 2 4 MPG handwheel hand unit connection 2 4 1 Interface signal list The 218M CNC system can be matched with MPG or hand unit When it is matched with MPG the MPG signal is connected to XS21...

Страница 171: ...A COM SCOM 4 8 6 7 5 3 2 1 Z 12 14 15 13 24V SDALM 10 11 9 A B SVC XS23 DB15 male 2 5 2 Interface signal 1 A A B B Z Z pulse signal of spindle encode 2 SVC spindle analog voltage signal 3 SCOM spindle...

Страница 172: ...44 IN46 COM 3 15 3 15 COM 3 COM 15 IN03 IN19 IN35 Fig 3 1 XS40 XS41 XS42 are output interfaces DB25 female XS43 XS44 XS45 are input interface 3 2 Input interface 3 2 1 Input interface method 3 2 1 15...

Страница 173: ...is as Fig 3 2 1 1 24V 5V Machine side CNC side 0V Input signal 1K 4 7K 0 1 0V Fig 3 2 1 1 3 2 2 Input signal interface definition Pduring definition of input interface is as follows XS43 input 1 Pin...

Страница 174: ...rmally close contact is OFF 12 IN13 X1 5 The external cycle start is enabled when the normally close contact is OFF 25 IN14 X1 6 The external feed hold is enabled when the normally close contact is OF...

Страница 175: ...check is enabled when the normally close contact is ON 8 IN40 X5 0 The spindle orientation completion is enabled when the normally close contact is ON 21 IN41 X5 1 The tool magazine forward completio...

Страница 176: ...0V Relay 24V Machine side 0V Fig 3 3 1 1 The output signals of the CNC are provided by Darlington pipe and Darlington pipe is conducted when the output is enabled Except for TL TL SPZD are pulse sign...

Страница 177: ...2 5 18 DO22 Y2 6 6 DO23 Y2 7 8 DO24 Y3 0 21 DO25 Y3 1 9 DO26 Y3 2 22 DO27 Y3 3 24 DO28 Y3 4 12 DO29 Y3 5 25 DO30 Y3 6 13 DO31 Y3 7 XS42 output 3 Pin Markign Label 1 DO32 Y4 0 14 DO33 Y4 1 2 DO34 Y4 2...

Страница 178: ...18M z To ensure all cables are connected correctly please check the polarity of diode of relay electromagnetic valve z Check the connection phase sequence of cable with high voltage of motor z The pos...

Страница 179: ...low moving each coordinate axis when the overtravel occurs or the emergency stop is pressed the CNC alarms which can be released by pressing the overtravel releasing to execute the reverse move z Emer...

Страница 180: ...60 NO 161 NO 162 NO 163 NO 164 Division denominator command division coefficient system parameter NO 165 NO 166 NO 167 NO 168 NO 169 P pulse quantity of input command G electronic gear ratio N motor r...

Страница 181: ...ns during Single block mode and the CNC looks for the measure datum point A after positioning two times the program runs 1mm and reversly runs 1mm to B point and the CNC reads the current data Fig 4 5...

Страница 182: ...the compensation origduring point and the set compensation of every axis is taken as the parameter value Compensable axis X Y Z 4 5 axis Compensation points 128 points for each axis Compensation value...

Страница 183: ...6 4 127 1270 000 2 The displayed compensation points during compensation list take the set compensation points as the reference corresponding to the reference point pitch error origduring 0 the compe...

Страница 184: ...Setting value NO 216 compensation number of X axis reference point 40 NO 221 X axis pitch error compensation points 128 NO 226 X axis pitch error compensation during terval 50 NO 231 X axis pitch erro...

Страница 185: ...hine side input state State address X1 3 X1 2 X1 1 X1 0 Pin XS43 15 XS43 02 XS43 14 XS43 01 DEC 1 The machine zero return starts to decelerate when the deceleration signal is connected with 24V 0 The...

Страница 186: ...X axis reference point return speed 1 0 1 Y axis reference point return speed 1 0 2 Z axis reference point return speed 1 0 3 4TH axis reference point return speed 1 0 4 5TH axis reference point retu...

Страница 187: ...speed up limit during tapping cycle Data parameter No 258 2 5 8 Spindle speed up limit z Operation time sequence Time sequence of spindle operation is as Fig 3 3 1 z Control logic The spindle stops an...

Страница 188: ...ndle gear 2 in position X4 3 spindle gear 3 in position z Control parameter State parameter No 001 0 0 1 Analog spindle Bit4 1 It must be set to 1 when the spindle automatic gear change function is pe...

Страница 189: ...t key on the machine panel SP feed hold signal has the same function that of the feed hold key on the machine panel z Signal dianosis Parameter diagnosis machine side output state State address X1 6 X...

Страница 190: ...XS40 14 XS40 14 Y1 1 chip removal switch control Y1 2 lubicant switch control z Internal circuit is as Fig 3 6 1 4 13 Parameters of axis control System parameter number 0 0 3 DIR5 DIR4 DIRZ DIRY DIRX...

Страница 191: ...s enabled 0 Function for setting the reference point without dogs disabled AZR 1 When the reference point is not set G28 alarm 0 When the reference point is not set G28 use dogs XIK 1 Non linear posit...

Страница 192: ...rse TDR 1 The dry run is enabled during the tapping 0 The dry run is disabled during the tapping RDR 1 The dry run is enabled 0 The dry run is disabled System parameter number 0 1 4 DLF HFC DLF 1 Refe...

Страница 193: ...feedrate all axes 8000 Set range 0 9999 9999 0095 Min feedrate all axes 0 Set range 0 9999 9999 0096 Max control speed during predict control mode all axes 6000 Set range 0 9999 9999 0097 Min control...

Страница 194: ...g feed and rapid traverse 0 Feed forward control is enabled for cutting feed only RBK 1 Backlash compensation applied separately for cutting feed and rapid traverse is performed 0 Backlash compensatio...

Страница 195: ...ition display does not take into account the tool nose radius compensation System parameter number 0 2 3 MDL POSM SUK DNC NAM NAM 1 Program list displays program number and program name 0 Program list...

Страница 196: ...nput during halt state is not disabled MCM 1 The setting of custom macros by MDI key operation is enabled only during the MDImode 0 The setting of custom macros by MDI key operation is enabled regardl...

Страница 197: ...ubsequent blocks becomes valid 0 A block specifying the next becomes valid System parameter number 0 4 0 ODI LVK CCN SUV SUP SUP 1 Start up during tool nose radius compensation B 0 Start up during too...

Страница 198: ...nd PLC Manual 195 0 The corner rounding function is disabled during radius compensation mode CN1 1 The tool nose radius compensation C is executed the halt check 0 The tool nose radius compensation C...

Страница 199: ...Contact selection Remark X0000 X axis positive travel limit signal Normally closed conatact X0001 X axis negative travel limit signal Normally closed conatact X0002 Y axis positive travel limit signa...

Страница 200: ...position Determined by the paramter X0053 Tool magazine CCW CW in position Determined by the paramter X0054 Tool magazine zero return in position Determined by the paramter X0055 Undefined X0056 Unde...

Страница 201: ...e CCW Y0023 Spindle CW Y0024 Undefined Y0025 Undefined Y0026 Undefined Y0027 Undefined Y0030 Tool magazine CCW Y0031 Tool magazine CW Y0032 Tool magazine forward Y0033 Tool magazine backward Y0034 Spi...

Страница 202: ...leared after PLC enters the debugging mode Not clearing Clearing K0003 Permit A address information to be edited No permission Permission K0004 Permit K address information to be edited No permission...

Страница 203: ...044 Reversed K0045 Reversed K0046 Reversed K0047 Reversed K0050 Whether the machine tool has external handwheel MPG No Yes K0051 Whether the machine tool has external cycle Start function No Yes K0052...

Страница 204: ...utomatic lubricating control is used Yes No K0084 Reversed K0085 Reversed K0086 Reversed K0087 Reversed K0090 Reversed K0091 Reversed K0092 Reversed K0093 Reversed K0094 Reversed K0095 Reversed K0096...

Страница 205: ...e tool clamping releasing device is used K0081 setting is disabled 5 K0060 setting When two travel limit switches on X axis have been installed the positive limit switch connects with X0 0 the negativ...

Страница 206: ...mp check abnormal 1206 A0006 Spindle cooling unit check abnormal 1207 A0007 Machine tool light check abnormal 1208 A0010 Machine tool control box 1209 A0011 Machine tool bed temperature check abnormal...

Страница 207: ...eleases 1231 A0037 The tool change cannot be executed when the tool magazine is in the retraction position 1232 A0040 The tool magazine rotation in position check abnormal 1233 A0041 When the tool mag...

Страница 208: ...A0061 The spindle with the tool does not execute the infeed tool 1250 A0062 The spindle and the current tool number of tool magazine does not execute the infeed tool 1251 A0063 Please cut off 1252 A0...

Страница 209: ...bleshooting no Alarm information 1202 the lubricating motor check is abnormal Fault cause defined by customer Troubleshooting no Alarm information 1203 the cooling motor check is abnormal Fault cause...

Страница 210: ...defined by customer Troubleshooting no Alarm information 1211 pressure oil temperature check is abnormal Fault cause defined by customer Troubleshooting no Alarm information 1212 the oil pressure is l...

Страница 211: ...l number and tool magazine number again Alarm information 1219 the spindle cannot rotate when the tool magainze is in the infeed position Fault cause the spindle rotation is executed when the tool mag...

Страница 212: ...1 the spindle driver or spindle encoder is normal 2 check whether Y2 1 outputs 3 regulate again T013 time Alarm information 1226 the spindle gear change is abnormal Fault cause defined by customer Tr...

Страница 213: ...or M50 when the tool magazine is not in the retraction position Troubleshooting ensure that the spindle is clamped Alarm information 1232 the tool magazine rotating in position check is abnormal Faul...

Страница 214: ...Troubleshooting 1 the tool magazine CCW or CW output Y3 0 Y3 1 is abnormal 2 the tool magazine count switch is abnormal 3 set T102 T103 value again Alarm information 1241 the tool magazine infeed chec...

Страница 215: ...is executed Troubleshooting execute G91G30Z0 to make Z axis return to the tool change position Alarm information 1247 the tool magazine cannot execute the infeed because the spindle does not position...

Страница 216: ...er alarms and interlock signal at this time we should carefully operate the system otherwise there maybe damage the machiney Troubleshooting press RESET Alarm information 1254 the system cannot execut...

Страница 217: ...et to 1 i e the manual tool change position return is enabled the CYCLE START is pressed in AUTO or MDI or DNC mode which causes the system alarms Troubleshooting set K0111 to 0 Alarm information 1261...

Страница 218: ...T0012 Pulse signal time 2 in 1 second 500 T0013 Time setting for spindle positioning check time 8000 T0014 Time setting for spindle CCW check 500 T0015 Time setting for spindle CW check 500 T0016 Tim...

Страница 219: ...l number D098 No 98 tool number D099 No 99 tool number D100 Tool magazine capacity D241 T code tool number Cannot set D243 Current tool magazine number Cannot set D245 Spindle tool number Notes 1 D100...

Страница 220: ...is 1s and C102 is set to 10 the lubricating OFF time is 10s Table 8 M code definition M code F signal Function Remark M00 F0317 Program pause M01 F0304 Selection stop M02 F0305 End of program M03 F03...

Страница 221: ...agazine installation and related PLC parameter setting Operation aim ensure the ladder fit to the allocation of tool magazine A requirements of the ladder matched with the turret tool magazine to the...

Страница 222: ...magazine zero return switch is normal open set K0102 to 0 Tool magazine zero return switch is normal close set K0102 to 1 Tool magazine infeed switch is normal open set K0103 to 0 Tool magazine infeed...

Страница 223: ...correspond to the tool magazine number 1 99 and the setting values in the data table D001 D009 separately corresponds to the tool number in the tool magazine number 1 99 D245 is the spindle tool numbe...

Страница 224: ...g More than rotating one tool selection 2000 T0102 Delay check time for turret tool magazine stopping More than rotating one tool selection 2000 T0103 Delay check time for tool magazine rotating More...

Страница 225: ...o return operation is divided into zero return switch and no zero return switch 1 The tool magazine has the zero return switch press MAG ZERO in ZERO RETURN mode and the zero return is completed when...

Страница 226: ...if not the system alarms G65 H81 P40 Q 1001 R1 spindle tool number T tool number not execute the tool change but N40 end of program G65 H81 P20 Q 1000 R1 spindle tool number 0 the spindle has no tool...

Страница 227: ...Luochongwei Guangzhou 510165 China Website http www gsk com cn E mail gsk gsk com cn Tel 86 20 81796410 81797922 Fax 86 20 81993683 All specifications and designs are subject to change without notice...

Отзывы: