Home
downloaded
Contents
1. Chapter 7 M ST Functions Chapter 7 M S T Functions When a maximum 8 digit number following M S T address is specified the corresponding code signals and strobe signals are sent to PLC PLC starts logic control according to these signals as shown below Program NC PLC End signal Function address Code signal Strobe signal Distribution of PLC NC Miscellaneous M M00 M31 F10 F13 MF F7 0 Lol al Spindle speed S S00 S31 F22 F25 SF F7 2 DEN F13 FIN G4 3 ESS T00 T31 F26 F29 PELO The process 1s as follows change M code to S T code 1 e the process of spindle speed function and tool function end signal A Supposed M_ _ is specified in the program while CNC doesn t specify an alarm occurs B After sending code signals M00 M31 to PLC and strobe signal MF is set to 1 code signal uses binary system to z x N ES e express program command value _ _ If moving is paused spindle speed or other functions are commanded together with auxiliary functions after code signals of the auxiliary functions are sent other functions start executing C When strobe signal MF is 1 PLC reads the code signal and executes corresponding operations D If move command and pause command is included in a program block in order to execute auxiliary functions after move commands and pause commands are finished have to wait until DEN signal changes to 1 E When ope
2. forward overtravel backward overtravel e Output conditions If CNC overtravel signal is 0 the control unit will response as follows During automatic operation if any one of the axis overtravel signal is 0 all axes will slow down and stop also alarm will be given out During manual operation only the axis with a moving signal of 0 is going to slow down and stop The axis can move backwards after it stops Once an axis overtravel signal turns to 0 the moving direction will be saved in the memory Even though the signal changes to 1 again before the warning is cancelled the axis cannot move on in the foregoing direction e Signal addresses 2 4 ALARM SIGNAL z nn N ms T p AL F001 0 e Signal type NC PLC e Signal functions When an alarm is given out the cause message of the alarm will be displayed and NC will set F1 0 signal to 1 There are two types of alarm PLC alarm and CNC alarm When the alarm is cancelled and CNC resets F1 0 will turns to 0 e Signal address AAA TA 2 5 START LOCK SIGNAL STLK G007 1 e Signal type PLC NC e Signal functions When PLC sets G7 1 to 1 and transmits to NC NC control axis slows down and stops During automatic operation if G7 1 is 1 and the commands before axis moving command block contain M S T commands M S T commands can execute constantly until all the axis moving command blocks are finished and axis slows down and stop
3. 1 1 2 Axis Moving Signal MV1 MV4 F102 0 F102 3 e Signal type NC PLC e Signal functions MV1 MV2 MV3 MV4 are moving signals for Axis 1 2 3 4 respectively When an axis is moving NC sets corresponding axis moving signal to 1 When an axis stops moving the axis moving signal is 0 e Signal addresses a os a ENT 1 1 3 Axis Moving Direction Signal MVD1 MVD4 F106 0 F106 3 gt e Signal type NC PLC e Signal functions MVD1 MVD2 MVD3 MVD4 are axis moving direction signals for Axis 1 2 3 4 respectively When an axis is moving backwards NC sets the axis moving direction signal to 1 when an axis is moving forward the axis moving direction signal is 0 If an axis stops moving the direction signal will be 1 or 0 depending on the moving status before the axis stopping e Signal addresses av vos Dave Da 12 SERVO READY SIGNAL SA F000 6 e Signal type NC PLC I 1 er Id YX FE GSK980TD Turning Machine CNC e Signal functions When CNC gives out a warning NC sets SA signal to 0 to stop axis moving When the warning 1s cancelled NC sets SA to 1 to move axis again e Signal address pt SA Yo OM z nn N m 2 Chapter 2 Preparation for Operation Chapter 2 PREPARATION for OPERATION 2 1 EMERGENT STOP Emergency stop signal ESP X0 5 e Signal type machine tool NC e Signal function If external emergency stop signal X0 5 is not shielded and is
4. 0002 Chapter 4 PLC Function Instructions 4 5 CMP BINARY COMPARATIVE SET Instruction function Compare two binary data and output its result Ladder format ACT CMP Length 1 oe z g p a ag pal z add b Control condition ACT 0 add b is reserved 1 compare S1 S2 and output the result as follows add b 2 add b 1 add ES Ese A Css 1 0 0 Relative parameter Length specify data length when it is set to 1 2 4 the corresponding data length is 1byte 2bytes 4 bytes S1 S2 compare source data with data 2 and the comparative result can be constant or address number it is not address bit For example add b is illegal Address number is R X Y F G K A D T C DC and DT add b itis the comparative result and can be R Y G K and A Relative operation information register Tormo Negative Zero O Program example AUOO 1 000 2 CMP R0100 RO200 ROSO0 0 Explanation When X0002 1 is O the system does not compare the data and RO300 0 is reserved When X0002 1 is 1 the system compares the data as follows ROB00 2 R0300 1 R0300 0 RO1O00 RO0200 Gr Id SX 35 GSK980TD Turning Machine CNC System 4 6 TMRB TIMER Instruction function Delay connecting the timer Ladder format ACT TMRB TIMER ez nn j a x tie a pels TIME Ue Control condition
5. Address range F0000 0 F0255 7 value range O or 1 Refer to Appendix3 G F signal about definitions of address signals 2 5 INTERNAL RELAY ADDRESS Address range R0000 0 RO0999 7 value range 0 or 1 They are zero after CNC is switched on IT 4 Chapter 2 Address Address number 7 6 5 4 3 2 1 0 ROOOO R0001 Definable addresses zz g n a oe pele 2 6 INFORMATION DISPLAYING REQUEST ADDRESS A Address range A0000 0 A00024 7 and they are zero after CNC is switched on Address 6 5 4 3 2 1 O number A0000 A0001 2 7 HOLD RELAY ADDRESS K The address area is used for hold relay and setting PLC parameters and data are saved after the system is switched off Address range K0000 0 K0039 7 value range 0 or 1 Address 7 6 5 4 3 2 1 0 number K0000 K0001 Definable addresses IT 5 Cr Id Sx J GSK980TD Turning Machine CNC 2 8 COUNTER ADDRESS C ES The address area is used for storing current counting value of counter and data are saved after the system is switched off Address range COO00 C0099 value range 0 21 4748 3647 p a Address a OU ON Oe eee oe 2 1 0 number T e 3 fa cooo coor Jo 2 9 COUNTER PRESET VALUE ADDRESS DC The address area is used for storing preset value of counter and data are saved after the system is switched off Address range DC0000 DC
6. End of grade one 9 d I 4009 S E E Chapter 2 Address Chapter 2 ADDRESS CS gt Addresses are used for distinguishing signals Different addresses separately correspond to input output signal MM at machine side and CNC side internal relay counter timer holding relay and data list An address number is gt consisted of address type address number and bit number as follows pels z X 0001 6 i Bit number Address number Address type Address type X Y R F G K A T DT DC C D L P Address number decimal number to express one byte Bit number octal number 0 7 separately expressing byte 0 7 bit of front address number 980TD PLC addresses are divided into fixed addresses and definable addresses Signal definitions of the fixed addresses cannot be changed and are defined by CNC the definable addresses can be defined again by user according to the actual requirements Address types are as follows CO EN T Dc DT A A information displaying request signal A00007A0024 Note address R900 R999 K30 39 are used for reserved area of CNC program instead of output relay 2 1 MACHINE PLC ADDRESS X 980TD PLC X addresses are divided into two types the first one is X0000 0 X0003 7 which are mainly distributed to CNC XS40 and XS41 I O interfaces including fixed addresses and definable addresses and the second one is X0020 0 X0026 7 which are fixed addresses a
7. c0017 11 4 Chapter 3 Manual Operation X00246 X00243 RO203 1 Y24 3 up key for 0024 es me aa manual feed override RO770 3 0 RO 7 70 2 0025 MOVN 0004 C0017 Upload computation number C0016 F0210 0 0026 A MOVN 0001 Upload override value CS g N 0027 MON Save override data E ES jul o 0028 CMP 15 Max override C0016 R0202 0 0029 Min override C0017 RO203 0 RO202 1 Y0008 4 Y8 1 light for manual 0030 bb _u _ _u __ A feed max override RO203 1 Y00084 0031 mSS S V8 4 light for manual feed min override 3 2 HANDWHEEL FEED In manual handle feed mode the tool can be minutely moved by rotating the handle An axis can be selected according to the handle feed axis selection signal II 5 Cr Id Sx GSK980TD Turning Machine CNC 3 2 1 Handwheel Feed Axis Selection Signal HS1A G18 0 HS1B G18 1 e Signal type PLC NC e Signal type PLC sets a value to handwheel feed axis selection signal G18 0 G18 1 and transmits to NC NC selects appropriate axis to feed based on the value of G18 0 G18 1 The relationship between signals G18 0 G18 1 and handwheel feed axis is as follows HS1B G18 1 HS1A G18 0 o O No feed axis selected o 1 Axis 1 is selected AO TS A Axis 2 is selected e Signal addresses G18 3 2 2 Handwheel Increment Override Signal MP1 G19 4 MP2 G19 5 e Signal type PLC NC
8. Address sequence CS Serena EN Jooo 65 6 Signal for auxiliary function toere A e64 verde canceling signal o e ora CT r EE 080 mt na GIOGI Manual averse overi e siga OS a2 Fedre overde siga mm G14 0 G141 Rapid feed override siga ROVI RO G18 0 G18 1 Handwheel fesd axis selection signal HSIAHSIB G19 4 G195 HandwvheeVneremental override siga MP MP2 6197 Manual apd feed selection signal RO 29 4 Spindle speed imposition signal SAR a26 Srindlestopsigna fre 630 Spindle override sigma soso G 30 G432 Mode selection signal MD ma Appendix 6 Apendix G43 5 G43 7 MD4 DNCI ZRN CO CT TTY G41 Allanes on machine ocked signal MX G44 7 Manually sequential tool change signal HDT fossa Memory defense EM ET ES EE 654 655 user maro program impugnados ema Spindle clockwise rotation in sigid tapping SE G74 5 Spindle counterclockwise rotation in rigid tapping SFRB G100 SEN 1 34 A Feed axis and direction selection signal Overtravel signal uaa G2000 Spina jo fonction signal SD G201 G204 Current tool selection signal roa reed dvelllamp signal Se ros yate sarta signal m ros ser rendy signal EE rot Automate runsignal or mo EE RS ese siga RSC 3 Distribution end sn EN ms mogsa OOOO TAR CC a mar Repideed signal RD CE ET o EE m26 Ci feed de CT prunes signal a F30 tnerement mode detection signal me F
9. S a W A Z A A p ve 3 pa p N lt palo y 2 2 2 Edit Menu File Edit View Unda Cut Copy Paste Insert Search Goto PLC Tool Creeps Ctrl Ctrl Ctrl Ctrl F Windows Print Ctrl F Print Preview Print Setup 1 wanmel gpr 2 Dilceshilbeifen 1212 qpr 3 1 gpr 4 opr Fig 2 6 Menu Print Setup lists files in which there are last 4 open files directly press one of them to open it e Exit Exit from the current application program When the current file is not save the program indicates if the current file is saved before exiting Help Fig 2 7 Chapter 2 Menu Commands e Cut Delete the selection contents to copy to clipboard by pressing access key Ctrl X or in main toolbar e Copy Copy the selected contents to clipboard by pressing access key Ctrl C or in main toolbar e Paste Paste the contents in clipboard to the selected position by pressing access key Ctrl C or ES in main toolbar Delete Delete the selected content by access key Delete e Insert Pop up three operating commands and insert the corresponding in the selected position File Edit View PLO Tool Windows Help Unda Ghz Cut Chris Copy Crrl C Paste Chrl Delete Coil Function Search Ctrl F Fig 2 8 Contact Insert one contact normally open closed in the selected position Pop up a dialog to set the
10. SPB 3 0 CNC alarms when the high level of pressure low input signal is valid SPB3 1 CNC alarms when the low level of pressure low input signal is valid O Signal address POSO OS O E AS EE XII 5 Sr 44 SX FEE GSK980TD Turning Machine CNC 12 6 PARAMETER SIGNALS of SAFEGUARD TEST FUNCTION CNC inform PLC of signals related to safeguard test function including valid signal of safeguard test function selection signal of valid level of safeguard input signal 12 6 1 Valid Signal of Safeguard Test Function PB4 F209 6 O Signal type NC PLC O Signal function it informs PLC whether the current safeguard test function is valid PB4 0 the safeguard test function is invalid PB4 1 the safeguard test function is valid Signal address eee ee ee eee eee 12 6 2 Selection Signal of Valid Level of Safeguard Input Signal z Zn N ES SPB4 F209 7 O Signal type NC PLC Signal function it informs PLC of the valid level of current safeguard input signal SPB4 0 the safeguard is closed in low level SPB4 1 the safeguard 1s closed in high level Signal address REC PS O PS S o 12 7 PARAMETER SINGALS of SHIELDING EXTERNAL SIGNALS These signals inform PLC whether CNC shields some external input signals Shielded external input signals include an external emergent stop an external cycle startup an external pause an external override signal and SO ON 12 7 1 Shielding Extern
11. Y08 3 Min spindle override indicator on Y09 0 Feed dwell indicator on machine A IS Y08 4 Max feedrate override indicator on Y09 1 Dry running indicator ui machine control panel Les APPENDIX 3 G F SIGNAL Function sequence E Feedrate override External feedrate override switch input F210 0 F_SOVI 12 7 1 OV1 0V8 is valid Optional block jump signal signal Detection signal for optional block jump F54 F55 User macro program output signal U0100 10 2 Es a D piii pea z UO131 gt a F210 6 Shield external cycle start signal ST 2 User macro program 12 7 e ial F210 5 Shield external pause signal SP MSP ie signa oF Appendix 3 Cr Id YX GSK980TD Turning Machine CNC Axis moving state F102 0 F102 3 O F102 3 Axis moving signal MVI MV4 MVDI 1 1 F106 0 F106 3 Axis motion direction MVD4 G24 4 Spindle speed in position signal SAR 84 SOVO a Spindl d control G30 Spindl ide signal pindle speed contro pindle override signa a ari G29 6 Spindle stop signal SSTP Eer m E Spindle automatic Detection signal of gear shifting in position gear shifting F208 6 Ac F208 7 Valid signal of automatic gear shifting AGER ES when automatic gear shifting to 1 2 G18 0 G18 1 Handwheel feed axis selection signal HS1A HS1B cada G19 4 G19 5 Handwheel Incremental override signal MP1 MP2 O lmm increment selection signal on F211 1 SINC 1
12. already finished inputting aes ae CNC is warning F After changing to editing method single block command is finished 4 During automatic operation CNC keeps in reset status and stops running under the following conditions A emergency stop signal ESP is 0 B external reset signal ERS is 1 C press reset button on the operator s panel O Feed hold pause automatic operation During automatic operation when the feed hold signal SP is 0 CNC pauses and stops running At the same time cycle start indictor signal STL is set to 0 feed hold signal SPL is set to 1 even though SP is set to 1 the machine will not restart and operate automatically Unless SP is set to 1 and ST signal is effective the machine can restart and operate automatically When executing program blocks with only M S T commands SP signal is set to 0 STL will be 0 immediately SPL signal is 1 and CNC performs feed hold When FIN signals are received from PLC CNC continues executing the paused program blocks After finish executing SPL signal is 0 STL signal is 0 CNC stops automatic operation While G92 command thread cutting cycle is executing SP signal is 0 and SPL signal changes to 1 immediately but the operation keeps running until cutter withdrawal is finished after thread cutting While G32 command thread cutting is executing SP signal is 0 and SPL signal changes to 1 immediately but the operation keeps running until the n
13. contact s style and address after executing the operating command Contact Coil 4 X Style E Contact ne a f CANCEL a Address 0007 z U3 2 Z 9 O p E T r DH z Fig 2 9 a Coil Insert a output coil in the selected position Pop up a dialog to set the coil s style and address after executing the operating command ContactCoil Setting X CANCEL Address 6431 Fig 2 10 ez S a W A Z A A p ve 3 pa pl N lt pels or go Sr 44 SX FEE GSK980TD Turning Machine CNC Function Instruction Insert a function instruction the selected position Pop up a dialog on the screen after executing the operating command and then press OK to pop up a dialog of the corresponding function instruction setting after selecting the function instruction For example execute the operation Edit Insert Function Instruction for inserting a CODB instruction Function Instruction ess Select in the Lett List Box or Input Function instruction Directly in the Right Edit Box ME Fig 2 11 Pop up a setting window as Fig 2 12 after selecting CODB and pressing OK CODB Binary Data Conversion x DataList Setting Length Length of Data Mo Value Length Length of List Add In Input Add Out Output Fig 2 12 Set the correspond
14. ALTERNATIVE OUTPUT Instruction function It is alternative output instruction The output signal outputs reversely when the ascending edge of input signal changes O gt 1 Ladder format ACT zz g n a oe JQ y pele Ja Control condition The output signal Add b outputs reversely when the input signal ACT changes 0 gt 1 every time Relative parameter Add b itis the output signal and its address is Y G R A and K O Program example 0003 3 0002 ALT R0033 0 Explanation R0033 0 oversets one time when X0003 3 reaches the ascending edge every time BOOK 2 FUNCTION Contents Chapter TAXES CONTROLE SIGNAL steal tre iene ie dei Ll ACTS MOVING STATUS aeron 1 1 1 Feed Axis and Direction Selection LENA arrestasies renerne EEA LILAS MOVIE SSL de e TE EEE acted SAS Movie Direction Sie nas ns edo ia deb Sn 12 SERVO READY SIGNALE En en nur si Chapter 2 PREPARATION for OPERATION cur i 2 REMPROGENTS TOP id eee sen nie a eee 2 D OA AE SSSR a ie ie 23 CNG OVERTRAV EL SIGNAL as Te Uan ee IAN WEN waht A ere ee eRe a Thee TRCN ar aoe Qu 25 STAR MOCK SIGNA DL sui A pra 2 6 MODES ELEC TON soi nn in ie Dette ee it one 2 0 1 Mode election na ii eee 2 02 Work Mode Detec on nadas cedar nn ame nee 2 6 3 Sequence of Work Mode Signals 2 Function 2 0 4 Work Mode Control PIONEER cree cados EN OO TUTE ER cigs sede tumiutaauauceaes Zaha NARA Cees Ce STA
15. Difference of input signal states of the first and the second ES For the same input signal its states are different in the first and the second when PLC reads input signals gt because the first reads input memories at NC side and machine side but the second reads the synchronous input memory at NC side and ones at machine side The input signal of the second lags behind that of the first and its F lag time is 8nms which should be noted Ja Example 20001 0 000 0 k 0001 End of grade one 0002 program 0001 3 0002 3 0003 m Fraction 00015 vogga 00030005 0004 00017 0005 0 0005 AVOUT 0002 3 Fraction1 OOK dl 200060007 AUOO2 0 OOO 0 ree End of grade two 0008 Ena program When the lag time is the first 8ms X0001 0 1 and the system executes the first YOOO1 0 1 When the system starts to execute the second X0001 0 1 inputs to the synchronous input memory and starts to execute the first o a 4 block of the fractional second When the lag time is the second 8ms X0001 0 0 and the system executes the first one Y0001 0 1 And then the system executes the second block of the fractional second but X0001 0 1 which state is still the previous synchronous input memory and Y0002 3 1 after execution 1 4 2 Processing Input Signal A Signal to NC PLC transmits output signal to the output memory at NC side every 8ms and then directly outputs to NC B Signal to ma
16. setting parameters relative to CNC saving them and printing PLC program by printer Its characteristics are as follows e Edit component comment block comment in ladder to contribute to easy reading programs for user e Instruction system supports subprograms and program jumping contributed to flexible programming e Software with user environment menus and access keys is easy to operate e Download current engineering to CNC or transmit related configuration files from CNC by serial communication interface Refer to Programming of GSK980TD Turning Machine CNC PLC User Manual about CNC PLC ladder program rules and component settings detailing operations and usages of GSKCC software CV1 1 Bulid050901 System requirements e Operating system Windows98 2000 XP CPU Pentium 133MHz or more e Hard disk over 10M e Memory over 32M z W A Z A e p ve me on Z Q gt E go e Display resolution 1024 768 16 colors e Keyboard mouse e Serial communication interface 1 2 DEFINITION of PROJECT Project is defined to be an integrated file used for managing PLC CNC configuration and part programs PLC includes data setting list displaying information list ladder programs and program version information CNC configuration includes parameters tool offset and pitch error compensation I 1 Chapter 2 Menu Commands Chapter 2 MENU COMMANDS 2 1 GENERAL INTERFACE Ladder editing too
17. z g N ES Under the status of Program reference point Return Program reference point Return executes and makes the tool moving to G50 position at a rapid speed While during the time of program automatic executing if a program stops the program returns to zero the tool will return to program start position and cancel tool offset If program reference point is not saved in the memory when the program reference point return command is executing an alarm occurs If program reference point is saved then the program is started up the position of the tool when G50 block is executing will be saved in the memory automatically Once the zero point is saved it will keep unchanged until a new zero point is saved i e when executing Program A zero point A is saved Then when executing Program B if G50 is included zero point A will be replaced by zero point B 4 2 1 Program Reference Point Return End Signal PRO1 PRO4 F198 0 F198 3 e Signal type NC PLC e Signal functions When program reference point return ends the tool will stay at the program reference point point NC will set the program reference point return end signal to 1 and transmit to PLC which informs PLC that the program reference point return is ended PRO1 PRO2 PRO3 PRO4 are program reference point return end signals for Axis 1 2 3 4 respectively e Note When the tool moves away from program reference point the signal of progra
18. 0002 4 CTRC 0000 Co006 SU spindle override R0075 0 R0075 1 0003 MOVN 0004 C0006 CO007 X00244 K0020 4 X00241 X24 4 down key for 0004 Et CTRC 0001 spindle override ROOTS 7 R0075 6 0005 MOVN 0004 COO C0006 X0024 4 0006 MOVN X0024 1 0007 Max spindle override in position CO006 K0020 0 0008 CMP Min spindle override in position C0007 K0020 3 Spindle override encode 0009 CODE 0001 0003 z g N e Sr 44 SX FEE GSK980TD Turning Machine CNC Y8 6 light for max K0020 1 YO008 6 0010 HL gt spindle override KO020 4 YOO08 3 0011 J Y8 3 light for min spindle override Spindle enabling signal ENB F001 4 O Signal type NC PLC Signal function it represents whether there is the spindle instruction O Caution when an instruction sets the spindle speed it is not zero to output to the spindle NC set F1 4 to 1 if it is O ENB signal is set to 0 In analog spindle mode even if the input spindle instruction is O namely analog voltage is OV the spindle motor rotates with low speed owing the voltage excursion of inverter At this time ENB signal is used for stopping spindle motor Signal address A lO OB Gear selection signal GR1 GR2 G28 1 G28 2 O Signal type PLC CNC z g N ES mp Signal function it informs CNC of current selected gear and its operations is referred
19. 1 4 PROCESSING INPUT OUTPUT SIGNAL z g p a JQ g S JQ Processing of input output signal is as the following figure X signal of machine I O interface and F signal of NC are separately input to input memories at machine side and NC side and directly used by the first grade program they separately input to synchronous input memories are used by the second Output signals of the first and the second are separately output to output memories at NC side and machine side and then separately output to NC and I O interface of machine Signal states of the above mentioned memories are displayed by diagnostic interface and the diagnostic number corresponds to address number of program Grade one program Input memory at CN side Output memory at CN side nil ope Grade two program Input memory at machine side Machine Y PET Output memory at machine side 1 4 1 Processing Input Signal A Input signal of grade one program Input memory at NC side is scanned every 8ms and stores F signal from NC and the system directly use its state when the first is executed B Input signal of grade two program Input signal of the second is the one stored by the first The first directly use F and X signal and so the input 25 Gr Id SX 35 GSK980TD Turning Machine CNC System signal of the second lags the first one and its max lag time is runtime of one grade two program C
20. 2 7 STATUS OUTPUT 2 7 1 Rapid Feed Signal RPDO F002 1 e Signal type NC PLC e Signal function CNC feeds signals rapidly e Notes When an axis feeds rapidly NC sets F2 1 to be 1 If the feeding stops F2 1 remains at the same status and then selects the un rapid feeding moves the axis or resets CNC then F2 1 will change to 0 e Signal address es es et PRO 2 7 2 Cutting Feed Signal CUT F002 6 e Signal type NC PLC e Signal function when CNC is performing cutting feed linear interpolation circular interpolation helical interpolation thread cutting skip cutting or fixed cycle cutting NC sets F2 6 to 1 and then transmits Chapter 2 Preparation for Operation to PLC When it changes to rapid feed F2 6 turns to be 0 e Signal address 2 7 3 Tap Cutting Signal TAP F1 5 e Signal type NC PLC e Signal functions when CNC is performing tap cutting NC sets F1 5 to 1 When CNC is not performing tap cutting and under the state of emergency stop or reset NC sets F1 5 to 0 e Signal address F1 TAP 2 7 4 Thread Cutting Signal THRD F2 3 e Signal type NC PLC e Signal functions when CNC is executing thread cutting NC sets F2 3 to 1 While on the contrary F2 3 is 0 z nn N ES e Signal address od o TARD a Chapter 3 Manual Operation Chapter 3 MANUAL OPERATION 3 1 JOG FEED INCREMENTAL FEED Jog feed In the jog mode if the fee
21. 2 PARAMETER SIGNALS for REFERENCE POINT RETURN 12 2 1 Selection Signal of Valid Level of Deceleration Signal 12 2 2 Self hold Signal of Motion Key in Reference Point Return 12 3 PARAMETER SIGNALS RELATED to TOOL AS 1 Total TOO Selection Ma nn ee vias eters ecb pt ani nn teens 12 3 2 Level Selection Signal for Tool Selection Signal cccoonononnnnnnnnnnnononnnnnnnnnnnnnnoss 12 3 3 Level Selection Signal of Toolpost Clamping oooooonnccncncncnononoccnnnnnnnnnonnnnnononnnonoos 12 34 Selection Signal of Tool Change Mode sain Seer tein een 12 3 5 Selection Signal of In position Te dura 12 4 PARAMETER SIGNAL RELATED to CHUCK FUNCTI N o oooccccnncncnononcnnnccnnnnnnnnnnnnnns 124 Valid Signal Of Chuck PONCHO criss ARS A Me tnt 12 4 2 Valid Signal of Chuck Clamping Test Function 124 3 Selection o1enal Of Chuck MORE Rs Aa 12 4 4 Valid Signal of Chuck In position Signal Test Function 12 5 PARAMETER SIGNALS of PRESSURE LOW TEST FUNCTION eee 12 5 1 Valid Signal of Pressure Low Test Function 12 5 2 Valid Level Selection Signal of Pressure Low Input Signal 12 6 PARAMETER SIGNALS of SAFEGUARD TEST EUNCTION eeeeeeeees 12 6 1 Valid Signal of Safeguard Test Function 12 6 2 Selection Signal of Valid Level of Safeguard Input Signal oooononcnnncnnnnnos 12 7 PARAMETER SINGALS of SHIELDING EXTERNAL SIGNALS eee 12 7 1 Shielding External Feedrate Override Input Signal 12 7 2 Shielding External Emer
22. ACT 0 reset TIMER and add b TIMER times from 0 and add b 1 when TIMER reaches the preset time Logic relation is as follows ACT l add b E TIME Relative parameter TIMER timer number range TOOOO T0099 TIME timing constant or data register with DT in front DT range is from 0 21 4748 3647 ms add b itis timer output address and can be R Y G K and A TIMER is executed every 8ms and timing with 8ms as unit O Program example 00021 0002 TMRB T0002 DTOOU4 ROSOO 0 Explanation When X0002 1 is 0 T0002 and RO300 0 are 0 When X0002 1 is 1 T0002 starts to count and RO300 0 is set to 1 after it reaches the time set by DT0004 Chapter 4 PLC Function Instructions 4 7 CTRC BINARY COUNTER O Instruction function Data in the counter 1s binary and the functions of CTRC is as follows A reset counter 1t resets count value and the system outputs the corresponding signal when the count value reaches the resetting count value B ring counter input the count value signal when the counter reaches the reset value and count again the counter reset to initial value C adding subtracting counter bit bidirectional counter used for addition and subtraction SUMBI 1009 D initial value selection it can be 0 or 1 Ladder format ACT Control condition ACT is at ascending edge Adding COUNTER counts from its setting initial value adds the count one time when it reach
23. CNC configuring 005 o gt ven Parameter 0 g fooler of agi O W ES Screw pite E NC Programs oe 00456 o o A utpat I Xx Fig 4 14 Chapter4 Software 4 8 SCREW PITCH COMPENSATION Workspace A x Number Elf Project 9807D 001 0 o Eee PL 002 p o 003 o a 1014 0 o Informations 005 0 0 Bg CNC configuring 006 D o EE Parameter 0 07 m A a El i z EE NC Pro 0 o oe 00456 o D o O o 0 o 0 o 0 o 0 o O L LI QuUEput Fig 4 15 4 9 PART PROGRAM Workspace IL x El Project 980TD nf PLC fl Data setting table Le A Message table jue Ladder de CNC configuring E Parameter EY Tooler offset bee Gars Screw pitch compensation IIVMIJOS UONBVANSIFUOT NO 1009 Load File Fig 4 16 As Fig 4 16 right click CNC Program to pop up New and Load file New file is to create one CNC part program to project and Load file is to load a existed one on disk to project Their methods are as follows 1 Sr 44 SX FEE GSK980TD Turning Machine CNC 4 9 1 Create a New NC Program Pop up a dialog box as Fig 4 17 after executing New in Fig 4 16 prompting to input program name note O is at program name s home and 1 4 digits are followed Create a New NC Program x Input File Hame 00001 Fig 4 17 After confirming CNC part program in the workspace the created CNC part program is displayed and is opened to edit programs Save
24. F208 2 O Signal type NC PLC O Signal function it informs PLC whether the tailstock function is valid SLTW 0 tailstock function is invalid SLTW 1 tailstock function 1s valid z nn N ES A Signal address PO E SW XII 9 BOOK 3 CNC CONFIGURATION SOFTWARE a W A Z A A p ve z a Q gt YN lt Q gt ar Contents Chapter OV ERY LEW asada 1 ese CS KC GS OEE VV RES scies ada en nie ne etes Sc 1 EADEPEINTIONor PROTECT ua 1 Chapter MENUCOMMAN DO Sisi ic 1 1 ZLOGENERAL UN TERRACE na ld acto allas IT 1 22 MAIN MENU CONIVIAIN Ds aia I 2 Ze Mona IT 2 AI CC A A et ea Il 4 PAN rra Me a an ede a a ai Il 8 Pa TEE IM M AE E A I 81 220 ON tata Ree ce II 9 Chapters PLC BASIC INSTRUC TIONS ne tse thea nn dns lost 1 1 D CD OL PINS en CIO Nee ataco lala 1 1 32 AND ANLINSTRUC TION EA H 2 OR ORLFINSTRUGCGHON ai a H 2 IAL ORD INS ERUC HON acces H 3 33 AND INSTRUCTION tai a EA H 3 Chapter 4 PLC FUNCTION INSTRUCTIONS sir IV 1 4 1 ENDI END of GRADE ONE PROGRAM eooccccccncnnnononononnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnononoss IV 1 4 2 END2 END of GRADE TWO PROGRAM Lieeeeceeeccecccceccccssessessseeeeececceccccccceeeeenaaaees IV 1 ADRES Teo hl RAG eee NN se OME E WV 2 AARS NARESE Diresse an en ne De uen eue dune IV 2 4 5 CMP BINARY COMPARATIVE SET iii IV 3 AS A ENS em IV 4 AY CIRC BINARY COUNTER E sodas ibid IV 5 4 8 M
25. KK MOVE QUEUE ALT A nee see Fit A Fig 3 3 Insert a horizontal connecting line at the cursor access key F4 l Insert a vertical connecting line at the cursor eee Delete the selected element of ladder access key Delete ae Delete a left vertical connecting line of the selected element Be Display line number of ladder or not Display annotation of ladder or not ez S a W A Z A A p ve 3 Q gt z on lt or go I11 2 Chapter4 Software Chapter4 SOFTWARE 4 1 WORKSPACE WINDOW Workspace n x aff Project wanmel nf PLC 3 Data setting table de CNC configuring a Parameter El Tooler offset fi Screw pitch compensation En HE Programs Fig 4 1 Submenu items including Data setting table Message table Ladder Parameter Tool offset Screw pitch compensation are operated by pressing right key of mouse Pop up a menu by pressing right key for Ladder Workspace i x ff Project wanmei e PLC E Data setting table zz Y OQ Z A OQ p US my o p a A Message table S z 99 A Fig 4 2 Open function is the same as that of double clicking left key Sr 44 SX FEE GSK980TD Turning Machine CNC 4 2 DATA SETTING TABLE Set data in internal data register D DC DT of PLC by Data Setting Table as Fig 4 3 GSECC project wanmei Data setting table E
26. Of xj File Edit View PLE Tool Windows Help x co ed EE RAR Se A NE ow 2 APT Oo a fy Be St Workspace 4 amp Address 1 byte Valve decimal CommentiInput less than 30 charactors af Project wanmei nc ffs Data setting table A Message table i ie Address 4 bytes Valve decimal Comment Input less than 30 charactors E 48 CNC configuring DCO000 EE vn He Parameter 00001 2 E Tooler offset DCOOD Fi AS Eh 00456 Commentt Input less than 30 charactors Used Modified by 65 Used Modified by 664 4 Fig 4 3 4 3 MESSAGE TABLE Double click Message table by left key or click by right key to pop a menu and execute Open to open the message table as follows Morkspace IL x Address Code Message 3 77 Project wanmei AO000 0 1000 Long tool change time of PLE 400001 1001 Alarm when the toolpost is not in position aoooo 2 1002 Alarm when the tool change is not completed A D000 3 1003 D000 4 1004 ez S a W A Z A A p ve 3 pa pl N lt pels or go E 48 CNC configuring ADO00 5 1005 BE Parameter A0000 6 1006 El Tooler offset TE Fig 4 4 Three lines in Message Table are as follows e A address A0 0 A24 7 can set 25 X 8 200 points for outputting coil e Code Double click Code and there is prompt signal to input 1000 9999 as alarm code when CNC displays messages Chapter4 Soft
27. X0002 1 in series Use X0008 6 and FO100 3 and X0002 1 in series If X0002 1 1 X0008 6 1 and F0100 3 is O the system outputs Y0003 7 3 3 OR ORI INSTRUCTION Mnemonic code and function H OR Parallel normally open contact p Parallel normally closed contact O Instruction explanation A OR ORI can be connected to one contact in parallel When more than two contacts are connected in series and the serial loop is connected with other loop in parallel the system should use ORB B The system executes OR ORI from its current step with LD LDI in parallel O Programming example 000 1 0003 7 0002 F 01 00 0003 I11 2 Chapter 3 PLC Basic Instructions Program explanation Use X0002 1 Use F0100 3 and X0002 1 in series If X0002 1 1 and FO100 3 is O the system outputs Y0003 7 3 4 ORB INSTRUCTION Mnemonic code and function z g p a pal z Parallel series circuit block O Instruction explanation A Serial loop block is defined to its loop combined by more than contacts in series When the serial loop is connected in parallel starting point of branch uses LD and its end point uses ORB B ORB is sole instruction without address O Programming example Node 200021 D002 2 y Y0003 7 iina F0100 3 F0100 6 Program explanation As above figure there are three branches 0002 0003 0004 from left bus line to node and 0002 and 0003 are serial circuit
28. Y G R A K DC DT D C and T Addr_Err b itis the output address of mistake operation result and its address is Y G R A and K Relative operation information register CL Lo ee zero O Program example Chapter 4 PLC Function Instructions AD0003 3 QUU 2 ADDE 0001 R0030 0 R0040 000 0 z CE md a Explanation When X0003 3 1 the system executes ADDB instruction When RO040 R0010 R0020 and if the operation is mistake RO050 0 is 1 otherwise it is O When ROO30 0 is 1 R0040 is reserved and RO050 0 is reset to 0 DUIWE AGO 4 18 SUBB BINARY DATA SUBTRACTING Instruction function Subtract the binary data Ladder format ACT SUBB Length MIMD SUBD Control condition ACT 1 the system executes Addr_Out MIND SUBD If the operation is mistake Addr_Err b is 1 otherwise it is O ACT 0 the system does not execute instruction and Addr_Out and Addr_Err b are reserved Relative parameter Length 1 1 2 2 4 4 byte MIND itis minend and can be constant or address Its address number is R X Y F G A K D T C DC and DT SUBD itis subtrahend and can be constant or address Its address number is R X Y F G A K D T C DC and DT Addr_Rst b when it is 1 Addr_Err b is reset Its address number is R X Y F G A and K Addr_Out itis the output data address of run result Its address is Y G R A K DC DT D C and T Addr_Err b itis th
29. and usages of special definitions Such as complex usage of OUT key and lubrication key reset key of output interface direction selection of motion key 12 8 1 Signal of OUT Key Startup Programs DCS F201 2 O Signal type NC PLC O Signal function it informs PLC whether pressing OUT key starts programs in MDI mode DCS 0 pressing OUT key cannot start programs DCS 1 pressing OUT key can start programs O Signal address os XII 7 er 44 SX FEE GSK980TD Turning Machine CNC 12 8 2 Complex Signal of Lubrication Spindle Jog Key RHDO F214 7 O Signal type NC PLC O Signal function it informs PLC of functions of lubrication jog key on the operator panel RHDO 0 Lubrication Jog key as Lubrication key RHDO 1 Lubrication Jog key as JOG key Signal address ROA OO 12 8 3 Selection Signal of Reset Key for Output Interface RSJG F204 3 O Signal type NC PLC O Signal function it informs whether PLC resets M03 M04 M32 MO8 when the reset key is pressed RSJG 0 PLC automatically closes M03 M04 M32 MOS output signal when the reset key is pressed RSJG 1 M03 M04 M32 MOS output signals are reserved when the reset key is pressed z Zn N ES mp Signal address a SI 12 8 4 Direction Selection Signal for Motion Key in X Direction XVAL F214 0 O Signal type NC PLC O Signal function it defines the relationship between motion key in X direction and X axis positi
30. executing block jumping Any program block with a slash at the start of the block will not executed e Signal address G44 RE AE ee S r 5 6 2 Detection Signal of Jump Block MBDT F04 0 e Signal type NC PLC e Signal function when CNC is executing block jumping NC sets F4 0 to 1 and transmits to PLC which informs that PLC is running block jumping e Signal address CDO D S S T r Chapter6 Feed speed Control Chapter 6 FEED SPEED CONTROL 6 1 RAPID TRAVERSE SIGNAL The rapid traverse speed of each axis can be controlled by parameters NO 022 and NO 023 rather than program setting But rapid traverse speed can also be controlled by adjusting rapid traverse override RPDO F2 1 eSignal type NC PLC eSignal function When CNC is executing moving commands at a rapid traverse speed NC sets F2 1 to 1 and transmits to PLC e Notes A If RPDO is 1 this indicates that an axis is moving after selecting rapid traverse mode if RPDO is O it means an axis is moving after selecting null rapid traverse override B In the automatic operation rapid traverse includes all rapid traverse modes such as fixed cycle position machine zero return etc not only for GOO command Manual rapid traverse also includes the rapid traverse in machine zero return z nn N e p C Once rapid traverse is selected the signal keeps to 1 even during the stop time but changes until other feed speed
31. functions for control units Their corresponding variables are as follows Signal address Sr 44 SX FEE GSK980TD Turning Machine CNC 10 2 OUTPUT SIGNALS of USER MACRO PROGRAM U0000 U0015 F054 F055 U0100 U0131 F056 F059 O Signal type CNC PLC Signal function They are used for CNC variable of user macro program read write and for interface signal between user macro program and PLC instead of offering any functions for control units Their corresponding variables are as follows Signal address z Zn N ES mp 1132 1133 Chapter 11 Display Set Edit Chapter 11 DISPLAY SET EDIT 11 1 SOFT OPERATOR PANEL Soft operator panel function is to replace some control switches on the machine operator panel with soft switches Connect or disconnect with soft switches by using keys on MDI panel CNC informs PLC that states of all soft switches are indicated by their output signals For example soft switch SBKO is set to 1 and CNC is not in Single Block mode Only when PLC set SBK to 1 CNC can select Single Block mode Auxiliary function locked soft key AFLO F75 1 Program jump soft key BDTO F75 2 Single Block soft key SBKO F75 3 Machine locked soft key MLKO F75 4 Dry run soft key DRNO F75 5 OUTO soft key F197 1 z nn N ES A O Signal type NC PLC O Signa
32. is selected and moving 1s started eSignal address RPO 6 2 RAPID TRAVERSE OVERIRDE Rapid traverse override has four levels FO 25 50 and 100 FO override is specified by parameter NO 032 In automatic method or manual method including machine zero return program zero return actual moving rate is obtained through multiplying the value set by parameters NO 022 NO 023 by the rate value 6 2 1 Rapid Traverse Override Signal ROV1 ROV2 G014 0 G014 1 eSignal type PLC NC eSignal function PLC sets values to G14 0 G14 1 and transmits to NC NC then sets the rapid traverse override according to the values of G14 0 G14 1 The override values of ROV1 ROV2 are shown in the following table ROV2 G14 1 ROVI G14 0 o A VE EE Co AE A EE eSignal address VI 1 er 44 SX FEE GSK980TD Turning Machine CNC 6 2 2 Rapid Traverse Override Control Flowchart 0001 END1 X0024 5 R0010 1 0002 C X24 5 down key for rapid traverse override X0024 2 R0010 2 X24 2 up key for rapid traverse override 0003 O R0010 1 R0010 2 K0022 1 0004 J H CTRC 0000 C0001 Rapid traverse override ROO8E 7 3 R0088 0 zz 0005 A MOVN 0004 C0001 N 7 C0002 e e a R0010 2 RO0010 1 K00224 0006 14 A CTRC 0001 Rapid traverse override ROO86 7 R0088 1 pa MOVN 0004 2 20001 ROO10 1 0008 MOVN 0001 ROO10 2 0009 Max rapid traverse override C0001 KO022 0 0010 Min rapid traverse ov
33. its speed is 0 4095 z nn N ES A Signal address Instruction signal of spindle gear shifting SFTREV_L SFTREV_H F215 F216 Signal type NC PLC Signal function the signal informs PLC of the spindle motor speed instruction in gear shifting and specifies the spindle motor speed in binary Its speed is 04095 Relation between the speed and 10V is as follows F216 F215 NO 067 X 4095 10000 NO 067 10V S12 bit code input value RO11 R 12D 4095 Signal address F215 SFTREV_L F216 SFTREV_H er 44 SX FEE GSK980TD Turning Machine CNC Valid signal of automatic gear shifting AGER F208 7 O Signal type NC PLC Signal function NC transmits AGER F208 7 to PLC and PLC executes logical control based whether AGER F208 7 is 1 When AGER F208 7 is 1 the automatic gear shifting is valid and PLC executes the automatic gear shifting Signal address PAGER ll Test gear shifting in position signal AGIN F208 6 in automatic gear shifting to 1 2 O Signal type NC PLC Signal function NC transmits AGIN F208 6 to PLC When AGIN F208 6 is 1 the system automatically gear shifts to 1 or 2 and AGIN F208 6 is 0 PLC does not test the gear shifting in position signal Signal address pac O a 8 3 SPINDLE JOG FUNCTION z g N ES When the spindle jog function is valid the spindle rotates at the speed set by NO 109 for
34. order as the above mentioned figure 1 3 EXECUTING SEQUENTIAL PROGRAM The edited sequential programs ladder program are downloaded to 980TD by serial CNC reads the ladder and converts into some format identified by it after it is switched on again and then CPU decodes and operation processes them to store into RAM and last reads every instruction in memory to execute it by arithmetical operation 1 3 1 Execution Process of Sequential Program PLC sequence control is executed by software and there is different from general relay circuit and so its method is understandingly considered in editing PLC sequential programs Every relay can output simultaneously for general relay control circuit as the following figure YOOO2 3 and Y0002 5 output simultaneously when contactor X0000 0 X0002 0 and X0002 2 are closed in PLC sequence control every relay outputs in order For example YOOO2 3 outputs and then Y0002 5 does when X0000 0 X0002 0 and X0002 2 are closed namely outputs are executed in order as ladder Y0002 3 Y0002 5 D l 3 Gr Id SX 35 GSK980TD Turning Machine CNC System 1 3 2 Cycle Execution of Sequential Program Cycle execution of sequential program is defined that PLC executes ladder from its home to end and again from its home to end after the run is completed Processing cycle is defined to runtime of ladder from home to end The shorter the processing cycle is the d I Yoo stronger the respon
35. programming employed with subprogram embedded subprogram and conditional branch and with apparent advantages compared to the traditional 1 2 1 Subprogram In GSK980TD CNC PLC program a special subprogram can be called according to requirements of programming For example subprogram P0001 can be called when contactor X0000 0 is closed as follows sil er Id SX 35 GSK980TD Turning Machine CNC System 0007 0002 Call subprogram P0001 0001 2 0003 E Subprogram P0001 z nn pd a ye pels ye LT 20002 0 fA0100 0 0006 R0010 0 Y0002 0 0007 de 1 2 2 Subprogram Embedding GSK980TD CNC PLC can realize 20 grades subprogram embedding as the following figure Subprogram P0001 can be called when contractor X0000 0 is closed in main program subprogram P0002 can be called when contractor X0002 0 is closed in the subprogram P0001 0001 2D0000 0 0002 CALL POODI 11442 Been Subprogram P0001 42 E po Subprogram P0001 0004 0002 0 0005 0006 CALL Pood AA 249 Ein Call subprogram P0002 0007 lt 2 Chapter 1 Sequential Program 0008 Subprogram P0002 R0021 0 00025 0009 d I Yoo 0010 1 2 3 Conditional Branch 3 S E E The system can judge whether the setting conditions to execute a corresponding subprogram are satisfactory when a main program is executed circularly otherwise the system executes subprograms in
36. signal will not be outputted 2 When FIN signal is or the tool is reset M code signal is 0 3 While executing M00 M01 M02 M30 code signals DM00 DMOI DM02 DM30 and code signals MO0 M31 and strobe signal MF are all outputted at the same time eSignal address Sr 44 SX FEE GSK980TD Turning Machine CNC 7 2 Spindle Speed Function S Function Spindle speed code signal S00 S31 F022 F025 spindle speed strobe signal SF F007 2 eSignal type NC PLC eSignal function After CNC executes S code NC sends S code to PLC via F22 F25 and then sets SF to 1 and transmits to PLC for logical control For output conditions and executing progresses please refer to related description The relationship between S command and binary code signal is shown in the below table F025 F024 F023 F022 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000 00000010 3 S04 00000000 00000000 00000000 00000011 00000000 00000000 00000000 00000100 eSignal addresses z g N ES mp 7 3 Tool Function T Function Tool function code signal T00 T31 F026 F029 tool function strobe signal TF F007 3 eSignal type NC PLC eSignal function After CNC executes T code NC sends T code to PLC via F26 F29 and then sets TF to 1 and transmits to PLC for logical control For output conditions and executing
37. the chuck is clamping Signal address F208 SSP O 12 4 3 Selection Signal of Chuck Mode PB1 F209 0 XII 4 Chapter 12 Function parameter signal O Signal type NC PLC Signal function it informs PLC that the current machine is in the internal chuck mode or the external chuck mode PB1 0 internal chuck mode PB1 1 external chuck mode Signal address Al lo y rr 12 4 4 Valid Signal of Chuck In position Signal Test Function PB2 F209 2 O Signal type NC PLC Signal function it informs PLC whether the chuck in position signal is tested PB2 0 do not test the chuck in position signal PB2 1 test the chuck in position signal O Signal address alo lo o ire p 12 5 PARAMETER SIGNALS of PRESSURE LOW TEST FUNCTION z nn N ES A CNC informs PLC of signals related to pressure low test function including valid signal of pressure low test function valid level selection signal of pressure low input signal 12 5 1 Valid Signal of Pressure Low Test Function PB3 F209 4 O Signal type NC PLC O Signal function it informs PLC whether the current pressure low test function is valid PB3 0 the pressure low test function is invalid PB3 1 the pressure low test function is valid Signal address AAA 12 5 2 Valid Level Selection Signal of Pressure Low Input Signal SPB3 F209 5 O Signal type NC PLC Signal function it informs PLC of valid level of current pressure low
38. the descending edge of ACT 1 gt 0 IV 16 Chapter 4 PLC Function Instructions Output signal Add b when it is executed one scanning period of Add b in ladder is 1 Relative parameter Add b itis the operation result output address and its address is Y G R A and K DIFD ROO44 0 O Program example ADOOS gt z g p a g S Explanation R0040 0 output is 1 when X0003 3 reaches the descending edge 4 21 MOVE AND Instruction function Logic multiply and input data execute logic and operation and then the system output the result to the specified address Ladder format ACT MOVE HIGH4 l ddr In LOW Addr Out Control condition ACT 1 Logic multiply HIGH4 LOW4 and input data Addr_In execute logical operation and output the result to the specified address Addr_Out which can remove the needless number of bit from 8 bit signal of the specified address ACT 0 Addr Out is reserved Relative parameter HIGH4 high 4 bit logic multiply LOW4 low 4 bit logic multiply Addr_In input data address Its address number is R A K X Y E G and D Addr_Out output data address Its address number is R A K X Y F G and D O Program example AD0003 3 000 MOVE 0100 ROOT 1110 R0020 Explanation When X0003 3 is 1 logically execute R0010 and 01001110 to save its result to R0020 Gr Id SX 35 GSK980TD Turning Machine CNC System 4 22 ALT
39. to open project is displayed and then you select the project gpr and press Open to open it Open project xj Look in S quanbu do ft ee Er Type GPR File Size 10 4 KE File name quanbu Files of type Configuring project file apr Cancel Fig 2 5 2 e Close project Close the current open project CS U9 A Z A A r US a r UN o m a e Save Project Save the current open project by access key or pressing in the main toolbar e Save As The current is saved as ones which is to open After executing the command pop up a dialog similar to that of New project set its name and path to save e Import Lad File ldx Import ladder file Idx to project Execute the command and a dialog is displayed as follows ls PP ES E FE GSK980TD Turning Machine CNC Importing ladder program ldx x Saving Project f Importing to a new pre Importing to the current projer File path Browse Saving project select importing to a new project File path press Browse and a dialog box to select files is displayed Press OK and import ladder project after selecting the saving project and file path e Print Execute the command to print the ladder when the ladder editing view is current activation one Print Preview Firstly preview the file on screen not to print e Last File List ez
40. to the above mentioned Signal address G28 A GR S 12 bit code signal R01O R120 F036 0 F037 3 O Signal type NC PLC Signal function it converts instruction value of spindle speed counted by NC spindle control function into 0 4095 and outputs to PLC Signal address o Oo RO RIO RI0O ROO 8 2 2 spindle output control of PLC PLC can be used for control spindle gear shifting as follows 1 Set SIND to 1 to convert its control mode from NC to PLC 2 Set the spindle motor speed data counted by PLC in PLC spindle control signal ROII R12I When the spindle motor speed is controlled by PLC it is influenced by any signals such as spindle override signal which are related to CNC spindle speed instructions or parameter settings VIll 6 Chapter 8 Spindle Speed Instruction selection signal of spindle motor speed SIND G33 7 Signal type PLC NC Signal function it is used for selecting CNC or PLC to control spindle motor speed SIND 1 control the spindle motor according to speed instruction ROII R12I transmitted by PLC SIND 0 control the spindle motor according to speed instruction transmitted by PLC The spindle speed is output by specified by S instruction Signal address S 12 bit code input signal RO1I R121 G32 0 G33 3 Signal type PLC NC Signal function it is instruction value the spindle motor speed transmitted from PLC It specifies the spindle motor speed in binary and
41. 000 4 G0012 0 0006 O X04 OV1 K0012 0 0007 N a cnt x0001 2 G0012 1 0008 X12 OV2 00121 0009 A 7 X0001 0 G0012 2 0010 Hr O X1 0 OVA K0012 2 0011 CCA X0001 5 G0012 3 0012 a X15 OVE aes K0012 3 0013 Fes LA 0014 0015 Subprogram for feed override SP PO 11 X00246 KO023 1 X00243 0016 1 4 p CTRC 0000 X24 6 down key for feed override RO770 0 15 RO770 1 Chapter6 Feed speed Control 0017 MOVN 0004 C0004 Feed override C0005 X0024 3 KO0234 X0024 6 X24 3 up key for feed override 0018 14 E A 0001 RO 7 70 3 RO770_2 Feed override 0019 MOVN 0004 X0024 6 0020 15 Min feed override C0004 z nn N A K0023 0 X0024 3 0021 Max feed override C0005 K0023 3 0022 MOVN 0001 C0004 60012 K0023 4 YDOOS 4 0023 i Y8 4 indicator for max feed override K0023 1 YO008 1 0024 O Y8 1 indicator for m feed override 0025 6 4 OVERRIDE CANCEL SIGNAL OVC G006 4 eSignal type PLC NC eSignal function PLC sets G6 4 to 1 and transmits to NC NC will set the feed override to be 100 er 44 SX FEE GSK980TD Turning Machine CNC eNote when OVC is 1 CNC operates as follows A no matter how the feed override signal is adjusted the feed override remains unchanged 100 B rapid traverse override and spindle override are not affected eSignal address po ve A PS PE z g N ES mp
42. 0099 value range 0 21 4748 3647 Address 31 30 29 28 sensaciones 3 2 1 0 number pcooo peor DC0099 2 10 TIMER ADDRESS T The address area is used for storing current value of timer and TO000 T0079 are zero after the system is switched on T0080 T0099 are saved after it is switched off Value range 0 21 4748 3647 Address number Tooo Tooor fo 31 30 29 28 3 2 1 0 Chapter 2 Address 2 11 TIMER PRESET VALUE ADDRESS DT _ oe E DT0099 The address area is used for storing preset value of timer and data are saved after the system is switched off ES Address range DT0000 DT0099 and value range 0 21 4748 3647 hd Az Address D1 30 1 0 z number m pels 3 2 12 DATA LIST ADDRESS D D0000 D0299 are zero when CNC is switched on D0300 D0999 are saved after it is switched off Value range 0 255 Address 7 6 5 4 3 2 1 O number D0000 D0001 D0299 me HERE poo TTT tT 2 13 LABELADDRESS L It is used for specifying jump target label in JMPB and LBL label Range LO L9999 2 14 SUBPROGRAM NUMBER P It is used for specifying the target subprogram number to call in CALL and subprogram number in SP Range POOOO P9999 IT 7 Chapter 3 PLC Basic Instructions Chapter 3 PLC BASIC INSTRUCTIONS Basic instructions are used for editing sequential programs and executing 1 bit operation
43. 0203 X0020 4 X00205 X00213 ROO824 7 Input X20 4 by handwheel incremental mode key 0020 0 X0020 1 X00202 X00203 XO00204 X00205 X00213 RO0825 eS Input X20 5 by JOG mode key 400200 00201 X00202 X00203 X00204 X00205 X00213 R0082 6 Input X21 3 by program reference point return ROCE2 0 MOVN 0001 Select G43 11 in Edit mode ROO82 1 Select G43 1 in Auto mode ROO 2 Select G43 0 in MDI mode 60043 ROO82 3 Select G43 10000101 in machine reference point return mode SET 0043 7 ROO82 4 Select G43 100 in Handwheel MOVN 0001 4 incremental mode 0043 en Select G43 101 in Manual MOYN 0001 mode ROO8 6 MOVN 0001 J Select G43 10 in program reference point return mode 60043 00200 Save G43 100 in current mode MOVM 0001 0020 1 z nn N ms O er Id YX 2 GSK980TD Turning Machine CNC X0020 2 0020 3 0022 400 204 0023 AD0020 5 0024 400 21 3 E0003 0 yooos 3 Y5S 3 light in Handwheel 0026 incremental mode FO003 1 0027 F0003 2 Y0005 2 0028 Y 5 2 light in Manual mode CS F0003 3 Y0005 5 o 0029 a Y 5 5 light in MDI mode D F0003 5 Y0005 6 o iat Y5 6 light in Auto mode 0030 dE FO003 6 Y0005 7 loa El 0031 Y5 7 light in Edit mode nnd A E 0033 ere ral Y5 4 light in Machine reference F0004 6 Y0006 2 Point return mode 0053 Y 6 2 ligh in program reference point return mode 0034 H END
44. 2 a ea SLI p 20 T07 0V4 M41T WQPJ 1010 X1 0 Ty SP SAGT 1015 X1 4 19 708 0V8 M421 NOPJ 1011 X1 5 Es TOD 1000 X1 6 r 18 COM D TO2 1001 So et a ter E Al T I7 COM 4 T03 1002 X0 0 he E o 3 T04 1003 X0 1 gt e 15 Cou 2 BDT DITW 1004 X0 2 ar 1 XDEC 1101 X0 3 0 is XS40 input C GSK980TD standard function ladder Appendix 10 GSK CNC Equipment Co Ltd http www gsk com cn E mail sale1 gsk com cn Switchboard 020 81789477 ADD No 52 1 Street Luochongwei Luoyong North Road Guangzhou China PC 510165 Sale Dept Tel 020 81993293 81992395 81990819 81993683 Fax Service Dept Tel 020 81986247 81986826 81997083 FAX Tech Support Dept Tel 020 81798010 Training Dept Tel 020 81995822 All specification and designs are subject to change without notice Jan 2006 Edition 3 Jan 2006 Printing 1
45. 2 1 PARAMETER SIGNALS RELATED to SPINDLE CNC informs PLC of signals related to spindle including spindle control mode automatic gear shifting rotation enabling test 12 1 1 Spindle Control Mode Signal SIMSPL F200 4 O Signal type NC PLC refer to Chapter 8 in the book z nn N ES A 12 1 2 Spindle Rotation Enabling Signal SPEN F208 3 O Signal type NC PLC Signal function set whether the spindle rotation enabling signal test is valid SPEN 0 the spindle rotation enabling signal test is invalid SPEN l and AGIN F208 6 0 the detection for spindle rotation enabling signal is valid Signal address SPENT 12 1 3 Automatic Gear Shifting Function Signal AGER F208 7 O Signal type NC PLC refer to 8 2 2 12 1 4 Checking Gear Shifting In position Signal When Automatic Shifting to Gear 1 or 2 AGIN F208 6 O Signal type NC PLC refer to 8 2 2 12 1 5 Gear Shifting In position Signal Level Selection of Spindle Enabling Signal AGIM F208 5 O Signal type NC PLC XII 1 er 44 SX FEE GSK980TD Turning Machine CNC Signal function It informs PLC of valid levels of gear shifting in position signal and spindle enabling signal AGIM 0 high level of spindle gear shifting in position signal is valid low level of its enabling signal is valid AGIM 1 low level of spindle gear shifting in position signal is valid high level of its enabling signal is valid Si
46. 2 8 6 Handwheel Incremental mode Machine reference point return detection F4 5 MREF 2 52 signal Level selection for deceleration signal when F201 5 DECI executing machine reference point return Machine reference Self hold of axis motion is valid in i a F205 2 point point return End signal of machine reference point F94 0 F94 3 ZP1 ZP4 return ZRF 1 F120 0 F120 3 Machine reference point creation signal a GIO a Selection signal of feed axis and direction JOG feed G102 incremental feed F214 0 X selection gie F214 1 Z selection ZVAL JOG feed G10 G11 Manual traverse override signal JVO JV15 incremental feed G19 7 Manual rapid feed selection signal CNC ready signal 2 feed La RPDO o State output signal F2 3 Thread cutting THRD gt 1 Single block signal Single block F4 F43 Single block test signal C Start locked Start locked signal STLK G46 7 Dry run signal Dry run 5 4 Dry run test signal MDRN Appendix 4 Apendix Rapid feedrate G14 0 G14 1 Rapid feedrate override signal ROVI ROV2 override Re function code signal M00 M31 Auxiliary function strobe signal EN CT M decode signal a Auxiliary function pa speed code sena F26 F29 Tool function code signal TO00O T31 o F7 3 Tool function strobe signal G44 7 Manual sequential tool change signal F205 0 Level selection for toolpost locked signal TCPS Level selection for tool
47. 31 Handwheel mode detection signal m 2 106 mode detection siga M Jooo F33 MDI mode detection signa mm F35 Auto mode detection signal MMEM ras it mode detection signal mer Fao Optional block jump detection sigma MBDT raa Antares on machine locked detection signal MMK Fas Single block detection signal MS a4 Detection signal for auxiliary function locked MAR ras Detection signal for machine reference point retum mode MREF Fas Detection signal for program reference point retum mode MPST TF Appendix 7 Cr Id YX J GSK980TD Turning Machine CNC a a M encode signal a a RO Aunilary function code signa mom 22 25 Spindle speed code signal Son r26 F29 tool function code sigma um Fss4 Background busy siget r6maer ur mont Con User macro program output signal rvoi0 voisr Rigid tapping process signal frist OUT key in MDI mode MDI Spindle jog detection signal F201 5 Level selection for deceleration signal when executing DECI NO 004 5 reference point return F208 6 Check gear shifting in position signal when gear shifting AGIN NO 164 6 to 1 2 Appendix 8 Apendix F209 7 Level selection for safeguard input signal SPB4 NO 168 7 Input OV1 OV8 for external feedrate override switch NO 172 0 F210 0 valid SOVI is vali F210 3 Shield the external emergent stop signal ESP F210 5 Shield the external pause aa MSP NO 172 5 2106 sed te exe oee s
48. 500 0 0 When RO100 0 is 0 X0002 1 reaches the drift up one time C0001 adds the count one time and RO500 0 is 1 if the count reaches 10 When X0002 1 reaches the drift up again COOO1 is reset to O and start to count and RO500 0 is reset to O 4 8 MOVN BINARY DATA COPY Instruction function Transmit data at source address or specified binary data to destination address Ladder format ACT MOWN Length ADD S CON ADD D Control condition ACT 0 ADD D is reserved 1 copy the value in ADD S or constant CON to ADD D Relative parameter Length it is the copy data 1 2 4 byte ADD S CON it is initial byte of source data address or constant and its address number is R X Y F G K A D T C DC and DT ADD D it is initial byte of target address and its address number is R Y G K A D T C DC DT O Program example 20003 3 0002 MOVEAL 0001 AF0100 0043 Explanation R0100 value is transmitted to G0043 when X0003 3 is 1 IV 6 Chapter 4 PLC Function Instructions 4 9 DECB BINARY ENCODING Instruction function 004 DECB can decode the binary code data When there is the same one between one of 8 successive data and the ES code data the corresponding output data is 1 when there is no the same one the output data is 0 DECB is used ggg for encoding data of M or T function Ladder format ACT SUTUIUUCIGO I Control condition ACT 0 reset the 8 data bits of A
49. 9 X0001 3 ZDEC 97 X0001 2 9 X0002 5 21 x0002 6 8 XOOOL 1 e 20 X0001 0 8 X0003 1 O 20 X0003 2 T X0001 4 e dosade EA e 19 X0003 4 6 X0001 6 e 18 COM 6 X0003 6 e 18 COM 5 X0001 7 e 17 COM 9 X0003 9 e 1T COM 4 X0000 0 e 16 CON 4 X0003 7 e 16 COM 3 X0000 1 e 15 CON 3 X0003 0 e 15 CoM 2 X0000 2 14 COM 2 X0002 7 o 14 COM 1 X0000 3 XDEC e 1 X0002 0 XS40 female XS41 female 2 1 2 X Address on Operator Panel Address range X0020 0 X0026 0 are fixed addresses which correspond to press keys on operator panel and which signal definitions cannot be changed by user Chapter 2 Address Relationship between addresses and press keys is as follows Key By 0 M 4 HE ONS D een a Y ES BREE HE 1 F Fx NEAR nn p X0021 y Key y BBN IS X0024 7 6 5 4 3 2 1 0 Sh We a a A on X0026 7 6 5 4 3 2 1 0 Key 2 2 PLC MACHINE ADDRESS CY 980TD PLC Y address are divided into two YOOOO 0 Y0003 7 are mainly distributed to CNC XS42 and XS39 I O interfaces including fixed address and definable address Y0004 0 X0009 7 which are mainly distributed to indicators on the operator panel Other addresses are reserve
50. C A For operations with automatic method and inputting method CNC doesn t execute specified M S and T functions 1 e code signal and strobe signal are not outputted B If AFL is set to 1 after code signal is outputted CNC works in a normal way until execution finishes until FIN signal is received and strobe signal is set to 0 C When AFL is 1 M00 MOI M02 and M30 commands can be executed and corresponding code signal strobe signal coding signal are all outputted in a normal way D If AFL is 1 auxiliary functions M98 and M99 still works in a normal way but no results are outputted E If AFLis 1 spindle analog value can be outputted eSignal address A 7 5 2 Detection Signal of Auxiliary Function Lock MAFL F004 4 eSignal type NC PLC eSignal function When CNC is executing auxiliary function lock NC sets F4 4 to 1 and transmits to PLC z nn N ES mp eSignal address MA Chapter 8 Spindle Speed Chapter 8 SPINDLE SPEED The spindle is divided into gear spindle and analog spindle according its control mode CNC converts S code into switching value to output to spindle to control spindle speed in gear spindle mode CNC converts S code into analog value to spindle to control spindle speed in analog spindle mode CNC transmits SIMSPL signal to inform PLC of current spindle control mode Spindle mode signal SIMSPL F200 4 O Signal type NC PLC Signal function
51. C can be informed about the current working method Handwheel mode detection signal Jog mode detection signal MDI mode detection signal MMDI Auto mode detection signal MMEM I 3 er Id YX 2 GSK980TD Turning Machine CNC Edit mode detection signal MEDT Machine Reference Point Return mode detection signal MREF Program Reference Point Return mode detection signal MPRO e Signal addresses 2 6 3 Sequence of Work Mode Signals Work mode keys X20 0 1 X20 1 X20 2 X20 3 X20 4 X20 5 X21 3 9 ay Work mode selection a signal G43 0 Work mode detection signal o F3 0 1 Pos Ls ES 2KR Focos Foe e F3 6 F4 5 F4 6 0 Work mode indicator Y5 3 1 Y5 2 Y5 5 Y5 6 Y5 7 Y5 4 Y6 2 0 2 6 4 Work Mode Control Flowchart MOVIN 0001 Resume hold mode after power on xX0020 0 x0020 1 X00202 X00203 X0020 4 X00205 X00213 R0082 0 e X0020 1 X00202 X00203 X00204 X00205 X00213 ROD82 1 A Input X20 1 by auto mode key XO020 2 X00203 X00204 X00205 X00213 R008222 nd 0004 Input X20 0 by edit mode key A0020 0 0005 400200 0020 1 0006 Input X20 2 by MDI mode key 0007 0008 0009 0010 0011 001 2 0013 0014 0015 0016 0017 0018 0019 Chapter 2 Preparation for Operation X0020 0 X00201 X0020 2 X0020 3 X00204 X0020 5 X00213 R00823 Input X20 3 by machine reference point return key xX0020 0 00201 X00202 X0
52. DD2 ADD2 1 compare the content value of decoding address ADD1 with 8 successive data beginning with DATA When the value of ADD1 is equal to one of 8 data and the output address ADD2 s corresponding bit which sequence number is that of equal data in these 8 data is set to 1 Relative parameter Length specify the length 1 2 4 of ADD1 ADDI it is initial address of encoding and the address number is R X Y E G K A D T C DC and DT DATA reference value of comparative constant ADD2 output comparative result Its address number is R Y G K and A O Program example 200033 000 DECE 0001 FO010 X0003 3 1 When F0010 8 ROO10 0 1 When F0010 9 ROO10 1 1 When FO010 15 ROO10 7 1 4 10 CODB BINARY CODE CONVERSION Instruction function The instruction is used for binary code conversion Ladder format Gr Md SX 35 GSK980TD Turning Machine CNC System ACT CODE Lengihi ADD1 Length ADD2 Control condition ACT 0 ADD2 is reserved value of conversing input data address ADD1 is taken as list number of conversion list from which the conversion data corresponding to the list number is transmitted to output address ADD2 of conversion data zz nn hh a oe ya ag pele Ja Conversion data list Converting input data Converting input data Address ADD Address ADD Relative parameter Length1 binary data length and output address l
53. DI Manual mode and the sequential tool change is executed by HDT signal Current tool number NT00 NT31 G201 G204 O Signal type PLC NC O Signal function After PLC has tested the current tool selection signal it sets NTOO NT31 G201 G204 to the corresponding value transmits to NC and informs NC of current tool number These signals are to represent tool numbers with binary code O Signal address z nn bw ES A 9 1 TOOL CHANGE with T INSTRUCTION User can specify T instruction to tool change in Auto MDI mode NC transmits tool selection number and general signal specified by T instruction and then waits for PLC to execute tool change after it explains T instruction Refer to Chapter 7 about tool change 9 2 MANUALLY SEQUENTIAL TOOL CHANGE The current tool number adds as the next tool to execute tool change in manual sequential tool change If the current tool number adding 1 is more than the total tool selections set by NO 084 the required next tool number is 1 Execution process of CNC manual sequential tool change is the same that of tool change with T instruction NC transmits the tool selection number and general signal of the next tool and waits for PLC executing tool change CNC transmits the tool number which the current one adds 1 in manual sequential tool change but one is specified by T instruction in tool change with T instruction Manually seq
54. FEE GSK980TD Turning Machine CNC 4 5 PROGRAM VERSION Double click the menu to pop up its input box and input the corresponding message GSKCC Project 980TD the information of the application wersi gt x Designer GSK Version g 40 Comment S80TD 2 standard ladder 9807 interfaced Fig 4 8 4 6 PARAMETER la x HE File Edit View PLC Tool Windows Help lj x DSSA ERBA mE atA r e depor 11 BR ae Workspace Ax Data Eype Illustration EFE Project 9807D 00011001 BIT Hee AR DCS LA RC A Ho of PLE 00100000 BIT ARE HE poso HE aek ARE pjp BE Data setting table 4 Eas L dd E AN Mode Ser by Serial Humber State Par Data Par EIT 10 Standby ge ce F Setting by serial number i i a i Tooler offset rene ASSURE E i Data parameter Humber 1 Value 00011001 BITE 10 Standby Explain BIT5 1 0 Standby BIT 41 0 Spindle control by transducer BIT 3 10 Handwheel or incremental feed z W A Z A A p va a p N lt palo ES go B1T 1 D0 Radius or diameter programing BIT1 1 0 Standby BITO 1 0 Standby z Chapter4 Software 4 6 1 Modifying Parameters by Sequence Number User interface is as Fig 4 11 and the right property window is the to edit parameters when selecting sequence number to modify parameters Mode Set by Serial Number State Par Data Par El setting
55. G44 AA o Mr 5 3 2 Detection Signal of All axis Machine Lock MMLK F004 1 e Signal type NC PLC e Signal function When all axes are locked NC sets F4 1 to 1 and transmits to PLC V 4 Chapter5 Automatic Operation e Signal address D EE AE EE IET 5 4 DRY DRUN Dry run is effective in the automatic operation mode At dry run time the tool moves at an invariable override instead of moving at a override specified in the program This function is used for checking the movement of the tool under the state that the workpiece is removed The movement speed depends on manual feed override signal JVO JVIS Rapid traverse selection signal Dry run speed RT 5 4 1 Dry Run Signal DRN G46 7 e Signal type PLC NC e Signal function PLC sets G46 7 to 1 and transmits to NC Then the dry run starts z nn N ES A e Notes A IfG46 7 is 1 the tool moves at a override specified for dry run If G46 7 is 0 the tool moves normally B When the tool is moving and when G46 7 changes from 0 to 1 or from 1 to 0 the movement speed of the tool first drops down to 0 and then accelerates to a specified override e Signal address pprn a a 5 4 2 Detection Signal of Dry Run MDRN F002 7 e Signal type NC PLC e Signal function when a CNC is in the status of dry run NC sets F2 7 to 1 and then transmits to PLC e Signal address EMDRN a a a 5 5 SINGLE BLOCK Single block execu
56. GSK980TD Turning CNC PLC User Manual GSK CNC Equipment Co Ltd Cork Book 1 PROGRAMMING PLC specification PLC address ladder Book 2 FUNCTION PLC function control logic and relative signals Book 3 CNC CONFIGRUTION SOFTWARE Apprndix 1 Apprndix 2 Apprndix 3 Apprndix 4 GSKCC software and usage APPENDIX input signal X appendix 1 output signal Y appendix 2 G F signal appendix 3 GSK980TD standard function configuration appendix 8 SUIMUIVISOIg 1009 z x N ES Se 318M3J0S U0HE IN IJUOS IND 1009 BOOK 1 PROGRAMMING Chapter 1 Sequential Program Chapter 1 SEQUENTIAL PROGRAM 1 1 PLC SPECIFICATION For different CNC PLC there are different program capacity processing speed function instructions and nonvolatile memory addresses Specifications of GSK980TD PLC are as follows z nn p a JQ g S Ja Specification 980TD PLC Programming language Chinese ladder Programming software GSKCC exe Executive cycle of grade one program Sms Machine PLC address X 1 2 STRUCTURE of SEQUENTIAL PROGRAM a 5 Ya o z Ya Y a a L DN Sequential program is defined to logically control the machine and relative devices according to sequence of ladder The sequence of ladder is compiled in a traditional PLC but GSK980TD CNC PLC is integrated by traditional one and advanced structured
57. I2 RES ER A V 3 D I ae sl a ee te ee men V 3 ILRES SIA rt V 3 5 2 Sequence OL tar Opera lOs iaa odias V 4 3 MACHINE LOCK dais V 4 33 Alas Machine Lock Sid os V 4 5 3 2 Detection Signal of All axis Machine Lock Us V 4 O A SS O V 5 DE RSS AS PU RS V 5 D 4 2 Detectors inalo DIY RU eee E A V 5 9 9 SINGLE DEOCERK sorna V 5 5 l Singl Block Sima aiii V 5 _ 33 2 Detection Signal of Single Block sise normes nr amine V 6 S 6 OPTION AL BLOCK UMP acid V 6 amp 6 Optional Block Jump inma V 6 a 20 2 Detection 1nal Of Jump BlOCK a ci da V 6 Chapter 6 FEED SPEED CONTROL as VI 1 OL RAPED TRAVERSE SIGNAL aida iido VI 1 6 2 RAPID TRAVERSE OVERTRDE stas VI 1 0 21 Rapid Traverse Override SIA sn RE nee a ie VI 1 6 2 2 Rapid Traverse Override Control Flowchart ss VI 2 GSPEPD OVERRID crae a it VI 3 0 FCC Vemr ide SIA nn dde tm de om VI 3 0 522 Feed Override Control PlOW chat es nt dati VI 4 64 OVERRIDE CANCEL SIGNAL ns ennemie ste VI 4 Chapi MS ie TIA ON taa VI 1 7 1 AUXILIARY FUNCTION M FUNCTION ii vil 2 7 dd Code isnal and robe iSnalneajs debes at dei tiara di dec delicia id vil 2 E e dd dd Le VIl 3 12 Spindle Speed UNCON CS PUNCHON ia nn ne E ne VII 4 1 3 Tool PUNCH OM LUNCH OND usd Vil 4 TAMST Funcion A Re Nr dm niet VI S D DA D pla es A ple kon ee een VII 5 TAX IS HAD MUO mite OG VOM gt a A VII 5 TO AUNCTION LOCK SIGNAL venpreni a eee EE TE VII 5 LLAU lary Funcion Lock Sienal esse ic
58. NC sets SIMSPL to 0 or 1 sets control mode of spindle speed transmits SIMSPL to PLC and informs PLC of current spindle speed control mode ES O Signal action SIMSPL 1 CNC sets analog spindle control S code is converted into analog value and is transmitted SIMSPL 0 CNC sets gear spindle control S code is converted into switching value and is E transmitted A Signal address S AAA 8 1 GEAR SPINDLE Gear spindle is defined that the actual spindle speed is controlled by gears of machine and CNC converts S code into switching value to control gears of machine to realize spindle speed control Refer to Section 7 2 8 2 ANALOG SPINDLE 8 2 1 Analog Spindle Speed Control S instruction for analog spindle control it is input by part programs and used for specifying analog spindle speed controlled by CNC For constant surface speed cutting G96 CNC converts the specified constant surface speed into spindle speed S code SF signal output analog spindle control function in CNC outputs S instruction with binary code to PLC and does not output SF Gear shifting although S instruction specifies spindle speed actual control of CNC is spindle motor CNC outputs the corresponding spindle speed when the machine gear shifts to some gear Gear shifting method to execute gear shifting max spindle speed corresponding to each gear is set by NO 037 NO 040 Selection signal of gear shift is 2 bit code signal GRI GR2 Relationship b
59. OVN BINARY DATA COPY mecs IV 6 4 9 DECB BINARY ENCODING eee IV 7 4 10 CODB BINARY CODE CONVERSION eooocccccnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnncnnnoncnononoss IV 7 GU JIMPB CPROGRAM JUMPING ula IV 9 4 12 LBL PROGRAM JUMPING LABEL iii IV 9 4 13 CALL SUBPROGRAM CALLING iii IV 10 4 14 SP START of SUBPROGRAM SPE END of SUBPROGRAM IV 10 4 15 ROTB BINARY ROTATION CONTROL iles IV 11 4 16 PARI PARITY CHECK ooieeccccccccc ccc cesessssseseeccccccccccccccccccacacustsssseeeceececcecceeceeenaaaaeas IV 13 4 17 ADDB BINARY DATA ADDING eocccccnnnnnnncononnnnnnnonononnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnninonos V 14 4 18 SUBB BINARY DATA SUBTRACTING iii IV 15 A190 DIFU ASCENDING EDGE SET situarla te o ne na Ra IV 16 4 20 DIFD DESCENDING EDGE SET concoonnnnnncccnnncnononononnnonononononnnnnnnnnnnnnnnnnnnnnnnnnnnnnns IV 16 MON TAND a a cad IV 17 422 ALY CAETERNATIVE OUTPUT naaa IV 18 Chapter COMMUNICATION iaa rada V 1 Se PRANS VIET FEES ENE tds pois V 1 532 UPLOAD LESOTO NE te V 3 SA IDISCONNEGC FW itl CNC En E D come lei V 4 ez S W A Z A A p ve oe on z Q gt er a Chapter 1 Overview Chapter 1 OVERVIEW 1 1 GSKCC SOFTWARE With a brief software interface GSKCC is a configuration software of GSK 980TD used for editing PLC ladder and part programs setting CNC parameters tool offset pitch compensation GSKCC runs in WINDOWS98 2000 XP editing PLC ladder
60. R stent ett ar alte Sampath Staaten ocaci n AA AA ion A 21 2 Lap Eutanasia diia 2 LA Thread Cotino Sonando Chapter a MANUAL OPERATION ur A a 1300 FEEDANCREMENTAL FEED soii 3 1 1 Feed Axis and Direction Selection Signal icc tiie ts sue net 212 Manual Feed Override SIA SR aa Sl Rapid Traverse Selector S nat een da srl 3 1 4 Manual Feed Override Control Flowchart ss 2 2 HANDWEPELIPEPDS alcista ironia dida 3 2 1 Handwheel Feed Axis Selection Signal 3 2 2 Handwheel Increment Override Signal 3 2 3 Handwheel Override Control Flowchart ss Chapter 4 MACHINE PROGRAM REFERENCE POINT RETURN 4 1 MACHINE REFERENCE POINT RETURN sucias asilos 4 1 1 Machine Reference Point Return End Signal ss 4 1 2 Deceleration Signal in Machine Reference Point Return 41 gt Machine Reference Point Settino Sonal sera aio din 4 1 4 Sequence of Machine Reference Point Return Signal 4 2 PROGRAM REFERENCE POINT RETURN court 4 2 1 Program Reference Point Return End Signal 4 2 2 Sequence of Program Reference Point Return Signals soseenesssssseeersssssssssereees Chapter gt AUTOMATIC OPERATION oia ia ia elsa LCY CLE STARIFEED HOLD tad erry camer tire nena rae wet erin ome mn osiaa 21I Cycle arto lastra ns 122 Reed Hold SIN ie o rienda cias ls Cy Cle start list Sinai nia iii 5A eed Hold Lenta dd a ide UOTJDUN HA z 009 6 y 4d Sx 35 GSK980TD Turning Machine CNC System 5 LS AUOMAUCODeTAUONLSISNAl aaa V 2
61. S from CNC Run GSKCC and pop up a dialog box after connecting to CNC and clicking x Select Files Upload files How to save New Project Mery Project f GSKSSOTC CNC LA Ladder program file 0 CNC configuring fl Parameter C T ooler offset CL screw pitch compensation CS U9 A Z A A r US a r UN o m a 20 NC program file E USER CANCEL Fig 5 7 For options pointed by cursor How to save of Upload files can be selected a New Project If a project is opened currently the system will close the current project and prompts the user to create a project to save the uploaded files when selecting Upload files if a project is not opened the system directly prompts to create a project to save the uploaded files V 3 Gr 11 Bx F GSK980TD Turning Machine CNC b Current Project If a project is opened currently one option is that the current opened project is replaced by the upload file data namely the data of current project is replaced by uploading PLC programs parameters from CNC After a file is selected in Select Files click Upload to upload the selected file to the project and the corresponding setting view is automatically updated by the uploaded data 5 3 DISCONNECT with CNC After the communication is executed a is clicked to disconnect with CNC in order that the serial is released or it is used by other applica
62. There are basic instructions for GSK980TD PLC as follows Instruction Function Component name Read normally open contact X Y EGR K A Read seule contact X Y F G R K A Normally open contact in series 3 a E R K A ss nn ju a g pal Normally closed contact in series X Y F G R K A Parallel normally open contact X Y F G R K A on Parallel eee closed contact X Y EGR K A 3 1 LD LDI OUT INSTRUCTION Mnemonic code and function O Instruction explanation A LD LDI are used for connecting contact to bus bar Each one can combine with instruction ANB and can be used at starting point of branch B OUT is used for driving output relay internal relay coil instead of input relay C Parallel instruction OUT can be continuously used Programming example ADOO2 1 0003 1 0002 FOTO 301 20 0 0003 Program explanation When X0002 1 is 1 the system outputs Y0003 7 When F0100 3 is O the system outputs G0120 0 HI 1 Gr Id SX 35 GSK980TD Turning Machine CNC System 3 2 AND ANI INSTRUCTION Mnemonic code and function zz g pd a wa y gt k O Instruction explanation AND ANI can connect one contact in serial There can be many contacts in serial and the instructions can be used many times Programming example 400021 FOO 0008 6 00037 0002 HH Program explanation Use X0002 1 Use F0100 3 and
63. Turning Machine CNC 2 2 MAIN MENU COMMAND 2 2 1 File Menu File Edit View PLC Tool Windows Help Mew Project Ctrl M Open Project Ctrl Q Close Project Save Project Ctrl 5 Save As Import Lad File ldx Print Ctrl F Print Preview Print Setup 1 1 gpr 2 2 gpr 3 Diceshilbeifenz1 212 gpr Dices quanbuiquanbu gpr Exit Fig 2 2 e New Project Create a new project by pressing access key Ctrl N or mouse selecting D in the main toolbar After executing the new project command dialog box is displayed as follows x Project a807 ESE CANCEL Path to ca Browse Fig 2 3 Input one project name in the first editing box and its path to memory in the second one or select a button to ez S a W A Z A A p ve 3 pa pl N lt pels or go browse files at the right side and there 1s a dialog box as follows then select one file to confirm it and there 1s the selected path to memory in the second editing box Chapter 2 Menu Commands fof Desktop FH My Documents at My Computer H E Local Disk tC HOJ AcaD2000 H 2 Documents and Settings a Inetpub eg lenovo driver fe LX_CHIP H I LX NET H I LE SOUND O Lx VGA ERA Bennrar Files x Fig 2 4 e Open Project Open a project stored in hardware by access key Ctrl O or mouse selecting inthe main toolbar After executing the open project command there is a dialog box
64. VII 5 7 5 2 Detection Signal of Auxiliary Function Lock ss Vil 6 Chapter SPINDLE SPEED odiado Vill 1 oe GEAR SPINDCE ne monet r D een a ee ee een ee Deo Vill 1 S ZANACO SPINDCE ie ica os ler Vill 1 8 2 Analog Spindle Speed Controla a Vill 1 5 2 2 Spindle Output control OLPC ae dica VII 6 5 SPINDLE JOG FUNCTION nn otitis VII 8 3 31 Spimdle JO Siona ESS aii VII 8 0 3 29DIndl Jos Detection SIC Nd nisivsiatsiieicmds E E VII 8 8 4 SPINDLE SP ED IN POSITION SIGNAL ii a VII 9 Il Contents RICH TAPPING erento eee crest era ee em eee ae meee ne ten eat arn era Te Pelee mT eee ee rete Chapter 9 TOOL FUNCTION di daci n 93 TOOL CHANGE with TAINS PRU C TION tdi 9 2 MANUALLY SEQUENTIAL TOOL CHANGE esse Chapter 10 PROGRAMMING INSTRUC TION sn nn pins 10 1 INPUT SIGNALS of USER MACRO PROGRAM eee 10 2 OUTPUT SIGNALS of USER MACRO PROGRAM Chapter DISPLAY SE VEDIA A destin iii Mi SORT OPE RA POR PLANE Lirica den denis LEZ MEMORY PROTECTION KE Y enr an aient Elis Chapter 12 FUNCTION PARAMETER ION AL aa 12 1 PARAMETER SIGNALS RELATED to SPINDLE ee 12 LI Spinde Control Mode nadia ne nn RS Meet 12 1 2 Spindle Rotation Enabling alu iii 12 1 3 Automatic Gear Shifting Function Signal 12 1 4 Checking Gear Shifting In position Signal When Automatic Shifting to Gear 1 or 2 12 1 5 Gear Shifting In position Signal Level Selection of Spindle Enabling Signal 12 10 Selection Sicnalot Pol 54 Output iaa in naar nos 12
65. a sgn st Nr aa 11 1 0 1mm feedrate selection signal on SINC NO 173 1 Handwheel Incremental mode 72122 ie system is executing GG DE P2123 The system is executing check Or raza 77 om P2130 Outputingm message by RS232 meme CU F2i3 1 inputing message by RS232 mere CRD aar Srindiejogfubrieaton Nous F223 2 Whether the in position signal is detected at the end of PB6 NO 182 2 tool changing APPENDIX 4 GSK980TD STANDARD FUNCTION CONFIGURATION A DT address definition DT0000 Gear shifting time 1 NO 065 DT0007 Delay from stop of toolpost clockwise rotation to start of NO 082 counterclockwise locked C Dro016 Automatic lubrication meantime Broor Chuck puise ouput vid S proozi Spindle stop chuck operation enabing ae gt z Appendix 9 Cr Id Sx FE GSK980TD Turning Machine CNC B X Y address definition _ a a ic ano 14 S3 M43 1102 YO 1 i JE ny i e YO 3 Fee ses ne 6 M05 YO 5 5 seri ON v1 0 A a ne aaa a 18 COM aaa ES 19 COM i 20 COM 8 S4 M44 1103 Y1 3 9 M11 1104 Y1 4 oo ot l DO PS 1105 Y1 5 ee DON 23 COM 11 DIQP 1006 X0 6 12 TCP PRES 1007 X0 7 cee 25 24V 13 24V XS39 output 13 TL 1107 d a O A 25 COM 12 TL 1106 Y1 6 e 21 Con 11 24V o 23 24V 10 ESP 1012 X0 5 4 99 T105 40v1 SPEN 1008 x0 4 E RE ALS O 21 106 0V2 1009 X1
66. al Feedrate Override Input Signal SOVI F210 0 O Signal type NC PLC Signal function it informs PLC whether the external feedrate override signal is shielded SOVI 0 the external feedrate override signal is valid MES 1 the external feedrate override signal is shielded Signal address 12 7 2 Shielding External Emergent Stop Signal MESP F210 3 XII 6 Chapter 12 Function parameter signal O Signal type NC PLC Signal function it informs PLC whether the external emergent stop signal is shielded MESP 0 the external emergent stop signal is valid MESP 1 the external emergent stop signal is shielded Signal address lo eS y ee 12 7 3 Shielding External Pause Signal MSP F210 5 O Signal type NC PLC O Signal function it informs PLC whether the external pause signal is shielded MST 0 the external pause signal is valid MST 1 the external pause signal is shielded Signal address As 12 7 4 Shielding External Cycle Startup Signal z nn N ES A MST F210 6 O Signal type NC PLC Signal function it informs PLC whether the external cycle startup signal is shielded MST 0 the external cycle startup input signal is valid MST 1 the external cycle startup input signal is shielded Signal address pa ll 12 8 PARAMETER SIGNAL for KEYS on OPERATOR PANEL These signals inform PLC that CNC defines complex usages of keys on the operator panel
67. blocks There is parallel serial circuit block between bus line and node or among nodes the following ending of branch use ORB except for the first one Use OR instruction 1f the branch 0004 is not serial circuit block ORB and ANB are instructions without operation function representing or and relationship among circuit blocks 3 5 ANB INSTRUCTION Mnemonic code and function Parallel circuit block in series O Instruction explanation A Use ANB when the branch loop is serially connected with the previous loop Use LD LDI at the starting HI 3 Gr Md SX 35 GSK980TD Turning Machine CNC System point of branch and use ANB to serially connect with the previous loop B ANB is sole instruction without address O Programming example 201000 R0100 3 Y0003 7 0003 RO003Y z g p a er ye S 3 ye Block 2 Block 1 Program explanation As above ladder ORB represents the parallel serial circuit block in block 2 and ANB represents block 1 and 2 in Series 1 4 Chapter 4 PLC Function Instructions Chapter 4 PLC FUNCTION INSTRUCTIONS CS gt Some functions are completed by function instructions instead of basic ones The function instructions in the MN system are as follows gt Instruction Function Instruction Function name name jul O Sp ENDI End of grade one program ROTB Se C ADDB Binary data adding DIFD Descending edge set SUBB Bi
68. by PLC The spindle speed instruction is set in RI2 ROII if the spindle speed is transmitted from PLC Voltage offset after the system receives the spindle speed S12 bit code 0 4095 it compensates and regulates instruction value of spindle speed by setting NO 021 it is voltage compensation value when the analog voltage outputs OV and NO 036 it is voltage compensation value when the analog voltage outputs OV Operation formula is as follows _ 99994NO 021 NO 036 4095 Output value of spindle speed 9999 XS12 code No 056X 9009 Conditions of stop output when SO is commanded SSTP 0 or SO the instruction output to spindle is reset to 0 An instruction from NC to spindle cannot be reset to O with MO5 emergent stop or reset mode Analog spindle interface the system outputs analog voltage of the regulated spindle speed to the spindle motor by analog spindle interface circuit Control instruction flow of analog spindle speed S instruction in part program S0 S9999 S code SF output Output to PLC Spindle override signal SOVO SOV7 ransmit from PLC z nn N ES A Spindle stop signal SSTP Transmit from PLC Gear shifting S gt spindle Input gear selection motor speed signal GR1 GR2 lt Transmit from PLC Result after NC outputting speed S12 bit code output R120 RO010 a Output selection by SIND Transmit from PLC one PLC specifies S12 bit code to i a pe A Transmi
69. by serial number State parameter Data parameter Parameter Input SE Number Value EC E plait BIT 1 0 Standby BIT6 1 0 Standby BIT5 1 0 Standby BIT 41 0 Spindle control by transducer BITS 1 0 Handwheel or incremental feed BIT 21 0 Radius or diameter programing BIT1 170 Standby BITO 1 0 Standby EI IN NL Fig 4 11 Color cord circle in the above figure 1 Editing box for parameter 2 Choice box for bit parameter set In the box click the corresponding bit parameter set 1 0 by left key and the corresponding bit value will be updated in 3 Menu of parameter data can be switch by right clicking the above property menu ez W A Z A A p ve z ag Q gt YN z pels er a Sr 44 SX FEE GSK980TD Turning Machine CNC Mode Set by Serial Number State Par Data Par El setting by serial number State parameter Data parameter Parameter Input Number 44 Value 19200 Explain Baudrate Fig 4 12 4 7 TOOL OFFSET il GSKCC project 9380TD Tooler offset Oj x File Edit View PLO Tool Windows Help a x Deh eet ee AR Eam ree ik GH a 11 Be ae CS a 97 2 Z E Q workspace Mumber T A A T Project 58070 000 0 ur F ya Eg PLC 001 0 EE Data setting table a 00 0 es A Message table 3 003 0 E Ladder z Ne Informations 004 0 Y C4
70. chine PLC transmits output signal to the output memory at machine side and then directly outputs to memory every 2ms I 6 Chapter 1 Sequential Program 1 4 3 Synchronous Procession of Short Pulse Signal The first is used for processing the short pulse signal When it is less than 8ms namely when the system se executes the first the input signal state may be changed which may execute programs by mistake S pd 0001 3 Y0002 3 gt 0001 y Ja 0001 3 Y0003 3 R 0002 5 eer End of grade one T T EH D m 8 program Ja As above X0001 3 0 is changed to X0001 3 1 after YOOO2 3 1 is executed and if the system executes the next line of ladder and YOOO3 3 1 at the moment YOOO2 3 1 and Y0003 3 I To avoid the above process synchronously the short pulse signal as follows 0001 3 R0001 0 0001 E RFOOO1 O YOUU 3 0002 5 F 0 i 0 YOOOS 3 0003 de End of the first 0004 H END grade program After the program is executed synchronously and when X0001 3 1 Y0003 3 1 Y0002 3 0 X0001 3 0 Y0002 3 1 and Y0003 3 0 but Y0003 3 1 or Y0002 3 1 1 4 4 Interlock Signal For safety the signals must be employed with soft interlock in sequence control and with hard interlock to relay control circuit of power electric box at machine side at the same time Because the hardware is failure the interlock is invalid in executing sequential program even 1f it is employed logically with soft interlock which can ensure t
71. ction when the toolpost is rotating Current position Position D 11 Negative Positive 10 Position A 4 r 5 Position C 8 6 Position B Chapter 4 PLC Function Instructions A0003 3 000 ROTH 1110 ROOT 0012 FODZE 0001 ROOSF ROOST O Count the previous position number before target position when the toolpost rotates in short circuit When the z g p a g S current position number ROOO7 1 and centigrade position number of swivel table CNT 12 X0003 3 1 When F0026 10 and the target position is A RO027 11 R0037 0 1 When F0026 8 and the target position is B ROO27 9 R0037 0 1 When F0026 3 and the target position is C ROO27 4 R0037 0 0 When F0026 3 and the target position is D ROO27 2 R0037 0 0 4 16 PARI PARITY CHECK Instruction function Check parity of input data which is byte 8 bits Ladder format ACT Control condition ACT 1 Execute the parity check for input data If the input data is inconsistent with the one specified by O_E Addr_Err b is 1 otherwise Addr_Err b is 0 ACT 0 Do not execute instructions and Addr_Err b is reserved Relative parameter O_E 0 numberof 1 in put data is even 1 numberof 1 Addr Rst b when it is 1 Addr Err b is reset to O and its address is X Y G R F A K and K 41H Addr_Err b Addr_In itis the input data address and its address is X Y G R F A K and D Addr_Err b itis the output a
72. d axis and direction selection signal is set to 1 the tool moves continuously along the selected axis in the selected direction Incremental feed In the incremental mode if the feed axis and direction selection signal is set to 1 the tool moves one step along the selected axis in the selected direction The minimum distance the tool is moved is the least input increment Each step can be 0 001 0 010 or 0 100 times The only difference between jog feed and incremental feed is the method of selecting feed distance In the jog mode when the feed axis and direction selection signal J1 Jl 32 J2 33 J3 is 1 the tool can move feed D continuously While in the incremental mode the tool only moves one step By pressing the jog rapid traverse feed selection switch the tool can be moved at the rapid traverse federate In the incremental feed mode the distance of each step can be selected by MP1 MP2 g N ES T p 3 1 1 Feed Axis and Direction Selection Signal J1 J4 G100 0 G100 3 J1 J4 G102 0 G102 3 e Signal type PLC NC e Signal functions In the jog feed or incremental feed mode select a feed axis and a direction perform axis moving and NC sets the corresponding axis and direction selection signal to 1 indicates feed direction The number indicates axis number y l 1 Axis 1 feed 2 Axis 2 feed 3 Axis 3 feed 4 Axis 4 feed Forward feed Backward feed
73. d ones Their values are 0 or 1 2 2 1 Y Address in I O Interface Address range Y0000 0 Y0003 7 are separately distributed to CNC XS42 and XS39 I O interfaces and their signal definitions can be defined by user according to requirements to connect to external electric circuit and ladder Distribution graph of 980TD output interfaces address 1s as follows Gr i CES E E GSK980TD Turning Machine CNC S 1 Y0003 0 FA 14 Y0003 1 1 Y0000 0 14 Y0000 1 a A sa 15 Y0002 5 A un 15 Y0000 3 a 4 Y0002 2 ee 4 Y0000 6 Pc i 17 Y0002 3 j 17 Y0000 7 5 Y0002 0 18 COM 5 Y0001 0 18 COM 6 Y0002 1 19 COM 6 Y0001 1 19 COM 7 Y0003 2 20 COM 7 Y0001 2 20 COM 8 Y0003 3 21 COM 8 Y0001 3 21 COM de 9 Y0003 4 22 COM 9 YO001 4 22 COM 10 Y0003 5 23 COM 10 Y0001 5 23 COM 11 Y0003 6 24 COM 11 X0000 6 24 COM 12 Y0003 7 25 24V 12 X0000 7 25 424V 13 24V Lo 13 24V Ke 7 o P gt O XS42 male XS39 male 2 2 2 Y Addresses on Operator Panel Address range Y0004 0 Y0009 0 are fixed addresses which correspond to indicators on the operator panel and which signal definitions cannot be changed by user Relationship corresponding to each state indicator is referred to Appendix2 Output signal Y 2 3 PLC NC ADDRESS G Address range G0000 0 G0233 7 value range O or 1 Refer to Appendix3 G F signals about definitions of address signals 2 4 NC PLC ADDRESS F
74. ddress of check result and its address is Y G R A and K in put data is old number O Program example Gr Id SX 35 GSK980TD Turning Machine CNC System 0003 3 002 PARI 0000 RO020 RO 0 0 0050 0 Explanation When X0003 3 is 1 the system executes PARI instruction O_E 0000 to execute the even check When R0010 0 is 1 ROO30 0 is reset to O and the system does not execute the check When ROO10 0 is 0 it does When there is an even number for 1 in R0020 ROO30 0 is 0 When there is an odd number for 1 in R0020 ROO30 0 is 1 zz g n a oe ya ag pele JO 4 17 ADDB BINARY DATA ADDING Instruction function Add binary data Ladder format ACT Addr Rst t Addr Out Addr Errb Control condition ACT 1 the system executes Addr_Out AGD1 AGD2 If the operation is mistake Addr_Err b is 1 otherwise itis O ACT 0 the system does not execute instruction Addr_Out and Addr_Err b are reserved Relative parameter Length 1 1 2 2 4 4 byte AGDI itis a summand and can be constant or address Its address number is R X Y F G A K D T C DC and DT AGD2 itis addend and can be constant or address Its address number is R X Y F G A K D T C DC and DT Addr_Rst b when itis 1 Addr_Err b is reset to O and Addr_Out is reserved Its address number is R X Y F G A and K Addr_Out itis the output data address of run result Its address is
75. detected to be 0 CNC will give out an emergency stop warning no matter whether PLC program 1s configured in CNC or not At this time CNC resets and the machine tool stops running e Signal address A A S Emergency stop signal ESP G8 4 e Signal type PLC NC e Signal function If the voltage of G8 4 is 0 once NC detects this signal an emergency stop warning will be given z nn N prm out e Signal address ESP S i 2 2 CNC READY SIGNAL MA F001 7 e Signal type NC PLC e Signal function CNC Ready Signal indicates that CNC is ready for working e Output conditions When CNC is powered on without warning F1 7 will be set to 1 in several seconds otherwise CNC ready signal will be 0 e Signal address MA TTT A O S l 2 3 CNC OVERTRAVEL SIGNAL L1 L4 G114 0 G114 3 L1 L4 G116 0 G116 3 e Signal type PLC NC e Signal functions If a tool moves beyond the distance which the machine limit switch sets the limit switch starts working the tool slows down and then stops and overtravel alarm is given out This signal indicates that control axis already reaches the limit distance Every direction of each control axis has this signal IT 1 er Id YX 2 GSK980TD Turning Machine CNC and displays the direction and the number means corresponding axis name AR L l 1 Axis overtravel Axis 2 overtravel Axis 3 overtravel BR N Axis 4 overtravel
76. e e Options Set the relative program options Pop up a dialog as follows after executing the command El EZ Application Start C1 Load last project automatically O En aul the AE a pee Enclich CS U9 A Z A A r US a r MH o m a Lancel Fig 2 20 Chapter3 Toolbar Chapter 3 TOOLBAR 3 1 MAIN BOOLBAR EEE O III IO O O NI E E O E mcr OU CO AU ON A A A A E Deuant tean Da gt Fig 3 1 Create new project Open project Save project a Print Es Compile h Connect to CNC Disconnect with CNC ai Write to CNC y Read From CNC ez W A Z A A p ya me YN z pels er a 3 2 TOOLBAR for EDITING LADDER Ramo Do LA A Fig 3 2 a Insert a contact at the cursor access key Fl GH Insert a parallel contact at the cursor i Insert a coil at the cursor access key F2 Insert a parallel contact at the cursor and press the small arrowhead to pop up menu to select the function instruction access key F3 1 1 Sr 44 SX FEE GSK980TD Turning Machine CNC 4 do 0f gt L to 4 Workspace END 4 Addres END 0001 0003 SET 0002 0003 RST CMP CTRC ooon TMRE 0001 p MOWN 0001 2 DECE 0002 pH Ve CODE FROOOO JMPE 0003 pe a FOOOT 2 Al 0004 p SP R0564 are 0005 po ROTE ee R0402 PARI 0006 ADDIE RO055 1 SUBE 0007 pH DIFU 0002 7 4 DIFD 7
77. e Notes A In the jog feed mode CNC makes the selected axis moving continuously In the incremental feed mode CNC makes the selected axis moving according to the specified rate defined by MP1 MP2 signals B When an axis is moving NC sets the axis and direction selection signal to 1 When the axis stops moving the signal changes to 0 e Signal addresses fj ee AO 1 1 SA ad y PES E ES 3 1 2 Manual Feed Override Signal GSK980TD Turning Machine CNC JV00 JV15 G10 G11 e Signal type PLC NC e Signal functions Select manual feed override The following table shows the relationship between signals and manual feed override PLC sets a value to G10 G11 and transmits to NC Then NC sets override based on the value of G10 G11 G11 0000 0000 0000 0000 e Signal addresses 0000 1111 0000 1110 Override Feed speed mm min 2 0 0000 0000 0000 1101 20 32 0000 0000 0000 1100 30 0000 0000 0000 1011 40 2 0000 0000 0000 1010 50 0000 0000 0000 1001 60 0000 0101 100 126 0000 0100 110 200 0000 0011 120 320 0000 0010 130 500 0000 0001 140 790 3 1 3 Rapid Traverse Selection Signal RT G019 7 e Signal type PLC NC e Signal functions PLC sets G19 7 to 1 and transmits to NC to select jog rapid traverse During the time of rapid traverse either G19 7 changes from 1 to 0 or from 0 to 1 feed speed will drop to 0 at first and then increase up to stated value In the process of sp
78. e Signal functions MP1 MP2 can select the moving distance of each pulse during the handwheel feed and also can z S nn N m E select the moving distance of each step during the incremental feed PLC sets a value to G19 4 G19 5 and transmits to NC NC adjusts override according to the value of G19 4 G19 5 See below table for detailed relationship MP1 G19 4 Moving distance nn G19 5 ooo 001 O Signal addresses 1 6 Chapter 3 Manual Operation 3 2 3 Handwheel Override Control Flowchart X00221 F0003 1 0002 RST X22 1 Z handwheel selection signal K0018 0 SET K0018 1 0003 X0021 7 F0003 1 0004 H RST ko0018 1 H X21 7 X handwheel selection signal z g 0005 i D SET K0018 0 tu 5 e K0018 0 G0018 0 0006 y select X handwheel S K0018 1 G0016 1 0007 C select Z handwheel F0003 1 00180 G0018 1 YODO 4 0008 m E Y7 4 X handwheel indicator FO003 1 00180 G0016 1 YODO 2 0003 HH O Y7 2 Z handwheel indicator X0021 4 F0003 1 0010 RST X21 4 0 001 key K00139 4 F0003 0 0011 RST K0019 5 0021 5 F0003 1 0012 SET K0019 4 X21 5 0 01 key F0003 0 0015 RST K0019 5 X0021 6 F0003 1 0014 RST KO0194 X21 6 0 1 key F0003 0 0015 SET KO0019 5 K0019 4 G0019 4 0016 O Encode handwheel override I11 7 z S nn bw ES Gr Id Sx GSK980TD Turn
79. e output address of mistake operation result and its address is Y G R A and K Relative operation information register AT Tor Tens Note the reset has no related to R900 O Program example z nn ju a ye g S ye Gr Id SX 35 GSK980TD Turning Machine CNC System ADOOG S 0002 SLIBB 0001 R0030 0 0040 0050 0 Explanation When X0003 3 1 the system executes SUBB instruction When ROO40 R0010 RO0020 and if the operation is mistake ROO50 0 is O otherwise it is 1 When R0030 0 is 1 R0040 is reserved and R0050 0 is reset to O 4 19 DIFU ASCENDING EDGE SET O Instruction function Set the output signal to 1 when the ascending edge of input signal is valid Ladder format DIFI Add b ACT Input signal ACT the output signal is set to 1 at the ascending edge of ACT O gt 1 Control condition Output signal Add b when it is executed one scanning period of Add b in ladder is 1 Relative parameter add b itis the operation result output address and its address is Y G R A and K O Program example ADDO3 3 000 DIFU ROO44 0 Explanation R0040 0 output is 1 when X0003 3 reaches the ascending edge 4 20 DIFD DESCENDING EDGE SET Instruction function Set the output signal to 1 when drift down of input signal is valid Ladder format ACT Addb Control condition Input signal ACT the output signal is set to 1 at
80. ection and machining process are executed normally Execution process spindle rotating tool infeed to tapping in Z direction transmit MOS to spindle wait for spindle complete stop transmit instruction for spindle counterclockwise rotation tool retraction to starting point in Z direction spindle stop To execute the rigid tapping the ladder must be edited to inform CNC of rotating direction of external spindle er 44 SX FEE GSK980TD Turning Machine CNC SRVB G74 4 SFRB G74 5 Signal type PLC NC Signal function PLC sets G74 4 G74 5 in rigid tapping transmits to NC and inform it that the spindle rotates clockwise or counterclockwise to start cutting feed when the spindle rotates clockwise SRVB 1 when it rotates counterclockwise SFRB 1 when it stops SRVB SFRB are set to 0 O Caution PLC must set SRVB SFRB and informs CNC of current spindle rotating direction in rigid tapping Signal address z g N ES mp Chapter9 Tool function Chapter 9 TOOL FUNCTION When the T code or HDT signal is specified NC compares the required tool number with the current tool number NTOO NT31 and it does not execute the tool change if the tool numbers are not consistent with each other which generates a code signal and general signal of the required tool number and the machine selects tool according to the generated signal The tool change can be executed with T instruction in Auto M
81. ed completely XII 2 Chapter 12 Function parameter signal Signal address AS CI 12 3 PARAMETER SIGNALS RELATED to TOOL CNC inform PLC of signals related to tool control function including total tool selections valid level of tool selection valid level of toolpost clamping 12 3 1 Total Tool Selection Signal TMAX F207 O Signal type NC PLC Signal function the signal informs PLC of total tool selections on the toolpost The tool selection is represented with binary code For example the total tool selection is 4 TMAX 00000100 O Signal address AAA 12 3 2 Level Selection Signal for Tool Selection Signal z nn bw ES A TSGN F205 1 O Signal type NC PLC O Signal function the signal informs PLC of the valid level of current tool selection signal TSGN 0 high level of tool selection signal is valid TSGN 1 low level of tool selection signal is valid O Signal address PO E TSGN 12 3 3 Level Selection Signal of Toolpost Clamping TCPS F205 0 O Signal type NC PLC Signal function the signal informs PLC of the valid level of current tool selection signal TSGN 0 low level of toolpost clamping signal is valid or the system does not test the toolpost clamping signal TSGN 1 high level of toolpost clamping signal is valid Signal address PO OO A IESO IS O O TS 12 3 4 Selection Signal of Tool Change Mode PB5 F223 0 O Signal type NC PLC O Si
82. ed to SP and SPE are together used for specifying the subprogram range and the subprogram must be edited following END2 Ladder format Relative parameter Px specify the call subprogram label its label number is specified with beginning P address and it can specify one of P1 to P999 Chapter 4 PLC Function Instructions O Program example x0003 3 0002 CALL P0000 nn R0100 0 001 0 0003 m R0012 0 60001 0 0004 200 H ENDA di i R0021 0 RODB65 0 0007 m R0065 0 600230 0008 a 0009 CPE Explanation When X0003 3 is 1 the program calls POOOO subprogram and jumps to execute 0006 and the system orderly executes the program from 0003 after executing 0009 When X0003 3 is O the system does not call P0000 subprogram and orderly executes subprograms from 0003 4 15 ROTB BINARY ROTATION CONTROL Instruction function The instruction 1s used for rotation control such as toolpost rotary worktable Its functions are as follows to select rotation direction of short path to count steps from current position to target position or to count steps from the previous one of current position to the previous one of target position to count the position number of the previous one of target position Ladder format ACT ROTE Format Gr Id SX 35 GSK980TD Turning Machine CNC System Control condition ACT O do not execute instructions and E_add and O_add b are rese
83. eed decreasing feed axis and direction selection signal remains unchanged Rr RS ee e Signal addresses I11 2 Chapter 3 Manual Operation 3 1 4 Manual Feed Override Control Flowchart D001 END RO111 7 Resume manual feed i MOWN 0001 K0010 override after power on 0010 ic SET R0111 7 l gt F0210 0 External override OV S 0004 CALL P0000 Fl ovg is valid I N ES F0210 0 saa ae 0005 CALL P0001 Override key on MDI A panel is valid al o 0006 END Subprogram for external 0007 PO000 manual feed override x0000 4 G0010 0 0008 ES X04 OV1 KO010 0 0009 Treo oa Le X0001 2 G0010 1 0010 HH C X1 2 OV2 K0010 1 0011 pF 0001 0 G0010 2 0012 ee if XA10 0W4 A 00102 0013 _ AAA X0001 5 GO0010 3 0014 HK AD A15 0W8 0010 3 0015 AAA a ha I11 3 Gr Id Sx FE GSK980TD Turning Machine CNC F0210 0 0016 CMP Min override KO010 RO200 0 0017 CMP 15 Max override 0010 Y 8 4 light for min override in manual feed RO201 0 RO200 1 Y00084 0018 C Y8 4 light for min override in manual feed ES RO201 1 YO008 1 0019 C Y8 1 light for max override in manual feed D 0020 H spe jul O S 0021 H sp P0001 Subprogram for manual feed override on MDI panel X00246 XD0243 R0202 1 0022 HH P CTRC 0000 X24 6 down key for manual feed override RO FOO 15 RO 70 1 0023 MOVN 0004 C0016 Upload computation number
84. ength of conversion data in conversion list 1 1 2 2 4 4 byte Length2 conversion length 1 2 2 4 3 8 4 16 5 32 6 64 7 128 8 256 ADDI input address of conversion data Its address has data with only one byte Its address is R X Y G FA K and D ADD2 output address of conversion data and its address is R Y G K and D O Program example 0003 3 000 CODE 0001 R0100 0002 R0200 Example Conversion data list X0003 3 1 X0003 3 1 R0100 0 R0200 1 X0003 3 1 R0100 1 R0200 2 FAR X0003 3 1 RO100 2 R0200 3 po X0003 3 1 RO100 3 RO200 4 Chapter 4 PLC Function Instructions 4 11 JMPB PROGRAM JUMPING O Instruction function Immediately jump the program to the position set by label with characteristics as follows jump instructions can use the same label forbid jumping END1 and END2 forbid jumping subprogram jump forward or backward 1 execute the next instruction following the label after jumping to the specified label Ladder format ACT z g p a g S Control condition ACT 0 do not jump and execute the next instruction following JMPB Relative parameter Lx specify the jumping target label label number must be specified with beginning L address t and it can specify one of LI to L999 O Program example 0003 3 0002 JMPB Looo4 RO100 0 0001 0 0003 5 0004 H eL Looga RO 2 0 60001 0 0005 e Explanation When X0003 3 is 1 the p
85. erride C0002 KO022 3 Chapter6 Feed speed Control 0011 CODB 0001 R0234 Encode computation number 0002 K0DOO K0000 0 G0014 0 0012 O Rapid traverse override encode K0000 1 G0014 1 0013 eS K0022 1 Y0008 2 Y8 2 indicator for max 0014 e baste Na rapid traverse override KO022 4 Y0008 5 0015 i O Y 8 5 indicator for min Mr rapid traverse override 0016 H enpo 6 3 FEED OVERRIDE Feed speed can be adjusted by feed override and can be used for checking programs For example if the feed speed z nn N ES A specified in the program is 100mm min when the feed override is adjusted to 50 the tool moves at a speed of 50mm min 6 3 1 Feed Override Signal FV0 FV7 G012 eSignal type PLC NC eSignal function PLC sets a value to G12 and transmits to NC NC can set a feed override according to the value of G12 The relationship between FVO FV7 binary codes and feed override is shown below e Note In automatic operation actual feed speed cutting feed speed x feed override eSignal address er 44 SX FEE GSK980TD Turning Machine CNC 6 3 2 Feed Override Control Flowchart 0001 END F0210 0 Subprogram for calling 0002 j P0210 external feed override F0210 0 Subprogram for calling 0003 P0211 external feed override on MDI panel 0004 E END2 y N 0005 H sp P0210 Subprogram for external feed override on MDI panel jul O S X0
86. es the ascending edge and O_add b 1 when it reaches the reset count value O_add b 0 when COUNTER is less than NCOUNT COUNTER resumes and starts to count and O_add b 0 when it reaches the ascending edge again Subtracting COUNTER subtracts from its setting initial value subtracts the count one time when it reaches the ascending edge and O_add b 1 when it reaches the reset count value O_add b when COUNTER is more than NCOUNT COUNTER resumes and starts to count and O_add b 0 when it reaches the ascending edge again ACT 0 COUNTER and O_add b are reserved Relative parameter Data format Specify adding subtracting count 0 adding count and counting from 0 1 subtracting count and counting from reset value Specify the counter initial value 0 count from 0 1 count from 1 R_add b when itis 1 whatever ACT is COUNTER CNO O_add b 0 R_add can be X Y G F R K A COUNTER specify the counter number Cxxx xxxx is digit 0 99 Gr 111 Sx FE GSK980TD Turning Machine CNC System NCOUNT it is counter preset value constant and also can be data register beginning with DC If it is constant its value is 0 21 4748 3647 O_add b when it reaches to the count value the output is and O_add can be R Y G K and A O Program example AOOO 1 CTRE 0000 ROO 10 zz nn hh a oe ya ag pele Ja R0500 0 Explanation When RO100 0 is 1 C0001 0 and RO
87. etween signal and gear is as follows Sr 44 SX FEE GSK980TD Turning Machine CNC GR2 G28 2 GR1 G28 1 Gear Parameter number of max spindle speed l Data parameter NO 037 NO 037 NO 040 separately set No 1 No 4 max spindle speed When analog voltage 10V corresponds to max speed of spindle motor linear relationship of analog voltage output for the same S instruction in different gears is as follows U V No 1 gear No 2 gear No 3 gear No 4 gear U2 U3 U4 S input SO S9999 z g N ES mp NO 037 NO 038 NO 039 NO 040 Suppose that NO 037 1000 NO 038 2000 NO 039 4000 NO 040 5000 S 800 G28 1 0 G28 2 0 No 1 gear vis ier 1000 G28 1 0 G28 2 0 No 2 gear n 2000 G28 1 0 G28 2 0 No 3 gear UJS DO x 10 2V G28 1 0 G28 2 0 No 4 gear U4 ave x 10 1 6V 5000 Formula operation of output voltage value j Se Wie we lon X10 Max speed of current gear S12 code R120 RO010 output NC counts the spindle speed of each gear through gear shifting control namely S12 code signal RI20 RO1O 0 4095 output the spindle motor and PLC Relationship between 10V and S12 code is as follows S12 coda R120 RO010 10V U Chapter 8 Spindle Speed S12 code output SIND G33 7 determinates the spindle speed instruction uses S12 code data R120 R010 counted by NC or S12 bit code signal spindle motor speed instruction signal R12I ROII specified
88. evel of CNC is not less than 3 and the parameters switch is ON for transmitting When the system transmits tool offset the user level of CNC is not less than 4 and the parameters switch 1s ON for transmitting When the system transmits part program the user level of CNC is not less than 4 and the program switch is all ON for transmitting Press to transmit files to pop up a dialog box as follows Download Project x Select Files z W A Z A A p ve 3 pa pl N lt pels or go bees LA Ladder prograrn file a O CNC configuring O Farameter O Tooler offset EN 0O screw pitch compensation EE D NC program file E CANCEL Fig 5 5 Chapter5 Communication Click the left box in Download Project to select the required files The system selects files when there is a red Y otherwise the system does not Click Download to transmit files There is a prompting box in transferring to display the current communication state rate and so on GSKCC File Transferring HH CA Documents and Settings 4 dministraton Desktop 1 0 000 cnc HH CA Documents and Settings Sdministrato Desktop 1 00004 cnc E HH CA Documents and Settings drnnistraton Desktopi 00035 cre Lx Communication State Current State Send instruction of file Last Error Reting Times Rate O Butes Second File 5 10 Current File OK TE Total Progress z Fig 5 6 5 2 UPLOAD FILE
89. gent Stop Signal 12 75 shielding External Pause Signal ss set tu nets 12 7 4 Shielding External Cycle Startup Signal 12 8 PARAMETER SIGNAL for KEYS on OPERATOR PANEL 12 8 1 Signal ot OUT Key Startup Programs 258 es nn ane initie 12 8 2 Complex Signal of Lubrication Spindle Jog Key cccoooooononcccccnncononnnnonnnonnnonoos 12 8 3 Selection Signal of Reset Key for Output Interface UOTJDUN HA z yoo Il 6 y Jd Sx 35 GSK980TD Turning Machine CNC System 12 8 4 Direction Selection Signal for Motion Key in X Direction Xll 8 12 8 5 Direction Selection Signal for Motion Key in Z Direction ooooocccnooonnncnonocnnnnnnnnnss Xll 8 12 8 6 Handwheel Step 0 1mm Selection Signal XII 9 12 9 PARAMETER SIGNALS RELATED to TAILSTOCK FUNCTION a XII 9 z nn N Se IV Chapter 1 Axes Control Signal Chapter 1 AXES CONTROL SIGNAL GSK980TD defines 4 axes Axis 1 2 3 and 4 The detailed functions of each axis vary from one software version to another Now only Axis 1 and 2 are controllable 1 e Axis X and Z 1 1 AXIS MOVING STATUS NC can transmit current axis moving status to PLC and then PLC works according to the status of axis moving 1 1 1 Feed Axis and Direction Selection Signal J1 J4 G100 0 G100 3 J1 J4 G102 0 G102 3 e Signal type PLC NC e Signal functions For detailed functions please refer to section 3 1 1 z nn N ms O
90. gnal address Po 12 1 6 Selection Signal of FS1 S4 Output SUOS F211 0 O Signal type NC PLC Signal function it informs PLC of S1 S4 output selection when the system is in spindle gear shifting mode SUOS 0 S1 S4 output is valid in gear shifting spindle mode SUOS 1 S1 S2 output is valid and S3 S4 output is invalid in spindle gear shifting mode Signal address A SOS 12 2 PARAMETER SIGNALS for REFERENCE POINT RETURN z Zn N ES mp These parameter signals determine whether a valid level of deceleration signal and the reference point return keys are self hold when CNC executes machine reference point return and program reference point return 12 2 1 Selection Signal of Valid Level of Deceleration Signal DECI F201 5 O Signal type NC PLC O Signal function the signal informs PLC of valid level of current deceleration signal DECI 0 low level of deceleration signal is valid DECI 1 high level of deceleration signal is valid Signal address AAA SS 12 2 2 Self hold Signal of Motion Key in Reference Point Return ZNIK F205 2 O Signal type NC PLC Signal function The signal informs whether the motion key is self hold when the machine reference point return or the program reference point is executed ZNIK 0 the motion key is not self hold when the reference point return is executed ZNIK 1 t he motion key is self hold until the reference point return is execut
91. gnal function it informs PLC that CNC selects tool change mode A or B refer to GSK980TD Turning Machine CNC Connection XI 3 Sr 44 Sx FEE GSK980TD Turning Machine CNC PB5 1 select tool change mode A PB5 0 select tool change mode B O Signal address PO PE IO IO PS O 5 12 3 5 Selection Signal of In position Test PB6 F223 2 O Signal type NC PLC Signal function the signal informs PLC whether CNC tests the tool selection signal after the tool change is completed PB6 1 test the tool selection signal PB6 0 do not test the tool selection signal O Signal address EE 12 4 PARAMETER SIGNAL RELATED to CHUCK FUNCTION z Zn N ES mp CNC inform PLC of signals related to the chuck control function including valid signal of chuck function internal external chuck chuck in position test and valid level of chuck in position signal and so on 12 4 1 Valid Signal of Chuck Function SLQP F208 0 O Signal type NC PLC O Signal function it informs PLC whether the current chuck function is valid SLQP 0 the chuck function is invalid SLQP 1 the chuck function is valid Signal address Po SOP 12 4 2 Valid Signal of Chuck Clamping Test Function SLSP F208 1 O Signal type NC PLC O Signal function it informs PLC whether the chuck clamping signal is tested SLSP 0 test whether the chuck is clamping otherwise the spindle cannot be started SLSP 1 do not test whether
92. he operator is not injured and the machine is prevented from damage 1 5 EDITING SEQUENTIAL PROGRAM Edit the sequential program from ladder which is composed of relay contacts symbols and function instructions Logic relationship in ladder consists of sequential program which is edited by two methods one is employed with input to use program instructions and the other is with relay symbols by their corresponding contactor symbol and function instruction Edit the sequential program employed with the ladder format instead of mnemonic code language when the system is employed with the relay symbol In actual editing sequential program use programming instruction or ladder to edit it according to PLC In the User Manual the system is employed with ladder as follows I 7 Gr Id SX 35 GSK980TD Turning Machine CNC System 1 5 1 Distributing Interface Step 1 The interfaces can be distributed after control target is defined and the corresponding input output signal points are counted Refer to input output interface signal list 1 5 2 Editing Ladder Step 2 Edit the software GSKCC EXE by 980TD ladder to represent the required control operations of machine zz g n a or ye pele Ja Counter timer which are not done by relay symbol is represented by the specified function instructions The edited ladder is downloaded to CNC by serial 1 5 3 Debugging Ladder Step 3 After the ladder
93. ime is set by NO 072 after S instruction and cutting feed are transmitted NO 175 BIT6 is set to 1 when SAR signal is used Spindle speed in position signal SAR G029 4 Signal type PLC NC Signal function when PLC sets G29 4 to 1 it transmits to NC and informs NC that the cutting feed can be started When G29 4 is O the cutting feed cannot be started z nn N A O Caution the signal is used for informing CNC that the spindle speed is in position And so the signal is set to l after the actual spindle speed is the specified one CNC detects SAR signal in the following states A After CNC switches from rapid traverse movement mode to cutting feed before the first feed block is distributed and after CNC reads the feed block and runs a period of time set by NO 072 CNC starts to detect SAR B After S code is commanded and before the first feed block is distributed its dwell time is the same as the above mentioned A C When S code and the cutting feed are in the same block and after S code is output CNC dwell a period of time set by NO 072 and starts to detect SAR signal If SAR signal is 1 CNC starts to cutting feed Signal address G29 Al sR 8 5 RIGID TAPPING Rigid tapping is defined that the tapping axis and the spindle are executed synchronously in general tapping fixed cycle CNC needs to test directional signal of spindle rotating in rigid tapping to ensure that the cutting feed dir
94. ing Machine CNC K0019 5 600195 0017 lt x lt KO019 4 KO0019 5 YOOO 7 0018 AA Y7 7 0 01 indicator KOOIS 4 K0019 5 YOOO 6 0019 HH 4H O Y7 6 0 01 indicator 00194 K0019 5 YO007 5 T Pa Y7 5 0 1 indicat 0020 E indicator 0021 III 8 Chapter 4 Machine Program Reference Point Return Chapter 4 MACHINE PROGRAM REFERENCE POINT RETURN 4 1 MACHINE REFERENCE POINT RETURN In the mode of Machine reference point Return by setting the feed axis and direction selection signals to 1 the tool can move along the specified direction and return to machine reference point position After returning to machine reference point position CNC sets a workpiece coordinate system based on the values of NO 049 NO 050 4 1 1 Machine Reference Point Return End Signal ZP1 ZP4 F094 0 F094 3 e Signal type NC PLC e Signal function When an axis ends the machine reference point return NC will set the related F signal to 1 E and transmit to PLC This is to inform the axis that the machine reference point return already ends ZP1 ZP2 ZP3 ZP4 signals are machine reference point return end signals for Axis 1 2 3 EN 4 respectively e Notes When machine reference point return has already ended and G28 command returns to zero and the current position 1s within the specified area the machine reference point return end signal turns to 1 When the tool moves away from machine reference point point the
95. ing parameter in the instruction setting dialog box and press OK e Find Find the required instruction or address in the ladder program Pop up a dialog for finding after executing the command Chapter 2 Menu Commands Find eee xi Find Method Address UP Down Find What 58 4 ALL Fig 2 13 Select Address or Function Address for finding type Input the finding content in Address and press UP DOWN or ALL located at the right side to gradually find The result of finding is displayed item by item in Output window as Fig 2 14 Qutput Searching for 500068 4 1 occurrences have been found Fig 2 14 Double click Found item No XX Line 8 Column 1 to scroll ladder to the corresponding position e Goto Rapidly scroll the current ladder to the required position and pop up a menu as follows File Edit View PLO Tool Windows Help Undo brie Cut Chris Copy Cre Paste Cbrl ez W A Z A A p va z me N z pels er a Insert d Delete Search Ctrl F Begin Home End End Fig 2 15 Line Rapidly scroll the ladder program to the specified line and pop up a dialog as follows Sr 44 SX FEE GSK980TD Turning Machine CNC x OF Line 12 E rs CANCEL co Fig 2 16 Set line and column number of ladder and rapidly scroll the ladder program to the specified position P
96. is downloaded to 980TD the ladder is debugged as follows A emulator Use one emulator instead of machine to debug it Machine signal state is represented with switch ON OFF and output signal state is done with indicator ON OFF Observe if every indicator on the emulator is correct when executing CNC B CNC diagnosis Observe if the diagnostic state of every signal is consistent with the function requirement when executing CNC Check the ladder by checking each function in order C actual run There may be an unexpected result in the actual debugging machine and so do preventive measures before debugging 1 5 4 Program Editing Limit In program END1 and END2 are needed which are taken separately as ending character of the first and the second and END1 must be before END2 The system only supports parallel output instead of multi grades output and there are syntactic errors as follows 8 0001 UUU _ du 0004 0005 DOOb 0007 UUs cat Ld Tt 0004 0070 0011 0072 Chapter 1 AUOOO O 000 0 40002 0 A0003 0 2400040 00050 00060 000 0 m x0008 0 X0009 0 40010 0 40011 0 200120 0013 0 xamsa EMD Sequential Program program Y0000 0 E 0002 0003 0007 0 D Syntactic error 0002 0 e 0003 0 0004 00040 0005 0006 0005 0 5 Y0006 0 0007 0009 E Syntactic error 0010 0011 Syntactic error Syntactic error Syntactic error
97. l function NC sets the above mentioned F signals and transmits them to PLC PLC sets the corresponding F signals and then transmits them to NC to select their corresponding functions Signal address Coro RS Auxiliary function signal AFL G5 6 Program jump signal BDT G44 0 Single Block signal SBK G46 1 Machine locked signal MLK G44 1 Dry run signal DRN G46 7 O Signal type PLC NC O Signal function PLC sets the above mentioned G signals and transmits to NC which will define their corresponding functions Signal address 11 2 MEMORY PROTECTION KEY The memory protection key is used for protecting part programs offset values and parameters from being modified by mistake Memory protection signal KEY1 G46 3 XI 1 Sr 44 SX FEE GSK980TD Turning Machine CNC O Signal type PLC NC Signal function Set whether memory content can be modified KEY1 1 inputs of programs offset values and parameters are valid KEY1 0 inputs of programs offset values and parameters are invalid Signal address G46 Al ee ee ee z Zn N ES mp XI 2 Chapter 12 Function parameter signal Chapter 12 FUNCTION PARAMETER SIGNAL The function parameter signals are defined that CNC converts function parameters related to PLC to F signals to output it PLC optionally executes a concrete function set by CNC parameter according to these function parameter signals 1
98. lbar M GSKCC projectewanmei Ladder Of fic Fle Edit view PLC Tho Windows Help 129 gt D s MRO MAR a amp Mero x Eg Workspace nx Conmenttingut less than 30 charactors Fir Project wannne 11 Y0003 7 Yellow light f PLC 10003 6 External d fauk Wa Data setting table A Message table E Ladder B Informations MOO00 5 0001 5 A0000 0 48 CNC configuring JOU Signal emergent si S Parareter El Toom a 00012 Ro000 0 00032 60008 4 bas gt Emergent stop siga 3crew prech compe i NC Programs ES 23 00456 FODO 3 FO001 3 j Interlock signal RO559 7 RO402 4 50008 0 00027 RO0011 00026 00247 60008 5 al n Outpu Preprocess Comipilirig o Compiled successfully 0 Error s 0 Varninas 5 A AAA 1 Ready S OYO Jim 4 Workspace window User editing area CS U9 A Z A A r US a r DH o m a Fig 2 1 e Main menu All software operating commands e Main toolbar Normal operating commands e Ladder editing toolbar Operating commands for editing ladder e Workspace window Manage all configurations of project e Message table Output compile message of adder and search content message e User editing area User can select all types of view to execute many operations including editing ladder and setting parameters Sr 44 SX FEE GSK980TD
99. m reference point return turns to 0 e Signal addresses ro Pros PROP PROT Chapter 4 Machine Program Reference Point Return 4 2 2 Sequence of Program Reference Point Return Signals Program reference point F4 6 0 Program reference point return Start in X Z direction Stop N Program reference point return end signal F198 Program reference point return end indicator Y4 7 Y4 5 z nn N ES A Chapter5 Automatic Operation Chapter 5 AUTOMATIC OPERATION 5 1 CYCLE START FEED HOLD O Cycle start start automatic operation In the mode of automatic or inputting method when automatic operation start signal ST is effective programs start running 1 Under the following conditions ST signal is ignored A any other methods except automatic method or inputting method feed hold signal SP is 0 emergency stop signal ESP is 0 external reset signal ERS is 1 CNC is warning automatic operation has already started z nn N ES A B C D E press reset button on the operator s panel F G H program restart signal SRN is 1 I CNC is searching for a sequence number 2 During automatic operation CNC performs feed hold under the following conditions A feed hold signal SP is 0 change to manual method wheel method single step method machine zero return or program zero return single block command is finished
100. machine reference point return end signal changes to 0 4 1 2 Deceleration Signal in Machine Reference Point Return XDEC X09 0 ZDEC X09 1 e Signal type machine tool gt NC e Signal functions As soon as NC receives the deceleration signal in machine reference point return the moving speed will be decelerated until the machine tool returns to machine reference point position at a low rate XDEC ZDEC signals are machine reference point return deceleration signals for Axis X Z respectively e Signal addresses OOOO AE 4 1 3 Machine Reference Point Setting Signal ZRF1 ZRF4 F120 0 F 120 4 e Signal type NC PLC e Signal functions After ending NC machine reference point return and setting a machine reference point point the corresponding machine reference point establish signal is set to 1 and then it is transmitted to PLC ZRF1 ZRF2 ZRF3 ZRF4 signals are machine reference point establish signals for Axis 1 2 3 4 respectively er 44 SX FEE GSK980TD Turning Machine CNC e Signal addresses a es e 4 1 4 Sequence of Machine Reference Point Return Signal 1 Machine reference point return F4 5 4 i 0 1 a Start Machine reference point return in X Z direction A Stop E i Machine reference point l return end signal F094 Machine reference point establish signal F120 T E 1 Machine reference point return end indicator Y 4 7 Y 4 5 0 4 2 PROGRAM REFERENCE POINT RETURN
101. mits to PLC This is to inform PLC that CNC 1s reset e Note Under the following conditions RST is set to 1 A external emergency stop signal ESP is set to 0 B external reset signal ERS is set to 1 C press the reset button on the panel Except the above conditions after the time specified by parameter NO 071 reset signal RST changes to 0 er 44 SX FEE GSK980TD Turning Machine CNC e Signal address o lo loo ar yo 5 2 3 Sequence of Start Operation Ignorance RST CFI 1 0 9L G2 OP CFO 7 CS gt Ss SP G8 5 z SPL FO 4 0 1 STL F0 5 0 5 3 MACHINE LOCK When checking programs before running the machine machine lock function can be used Set all axis machine lock signal MLK to 1 In the process of manual operation or automatic operation the machine stops pulse output to servo motor But CNC still keeps command assignment and absolute coordinates and relative coordinates are updated Monitoring the changes of the coordinates positions can check 1f the edited programs are correct or not 5 3 1 All axis Machine Lock Signal MLK G44 1 e Signal type PLC NC e Signal functions PLC sets G44 1 to 1 and transmits to NC All axes are locked Once G44 1 is set to 1 during the time of manual operation or automatic operation CNC cannot output pulses to servo motor Therefore the axis doesn t move e Signal address
102. n OP is set to 1 and transmitted to PLC The relationship among STL SPL and OP is as follows A Cycle start light STL Feed hold light SPL Cycle start status start status Chapter5 Automatic Operation Automatic operation status Reset status e Signal address P AS IESO AE IES PS i 5 2 RESET Under the following conditions CNC starts reset status A Emergency stop signal ESP is 0 B External reset signal ERS is 1 C Press the reset button on the panel Except the above conditions after the time specified by parameter NO 071 reset signal RST changes to 0 RST time T ose reset processing time reset signal output time parameter NO 071 Reset ON Reset processing saron o l l ff l l Reset signal gt lt Parameter NO 071 z nn N ES A Treset During automatic operation once CNC is reset automatic operation stops and the tool slows down along the controlled axis until stops in the end If CNC is executing M S T commands when it is reset MF SF TF signals will change to 0 in 8ms 5 2 1 External Reset Signal ERS G008 7 e Signal type PLC NC e Signal function when PLC sets G8 7 to 1 and transmits to NC CNC resets and RST signal becomes 1 e Signal address pers IESO SO IE d 5 2 2 Reset Signal RST F001 1 e Signal type NC PLC e Signal function when NC 1s reset 1t sets RST to 1 and trans
103. n interface and set the corresponding parameters of GSKCC Baud rate should be set same as that of CNC as follows Select Tool Communication Settings to pop up a dialog box Fig 5 2 and set the port and baud rate Start the next operation after confirming File Edit View PLO Tool Windows Help Connect To CNE Disconnect To Ema Modify Dog Password Write Ta AiE Read From yc Communication Settings Options Fig 5 1 Communication Settings x Fort Baudrate bps CS U9 A Z A A r US a r UN o m a 5 1 TRANSMIT FILES to CNC 1 Connect with CNC Run GSKCC and open the required project Click Ca or Tool Connect to CNC in Fig 5 1 and GSKCC prompts a dialog box Connect To CNC successfully Sr 44 SX FEE GSK980TD Turning Machine CNC EC x ne e UL Connect To CHC successfully Fig 5 3 After GSKCC is connected to CNC EE US the toolbar is as follows PKU HI LAA 054 88 ReARBles Razer Fig 5 4 ro E Disconnect with CNC Transfer current project to CNC Read Files from CNC are in high light to execute the next operations 2 File transmitting Start to transmit files when CNC is in Edit mode When the system transmits the screw pitch compensation or PLC program the user level of CNC is not less than 2 and the parameter switch is ON for transmitting When the system transmits the parameter the user l
104. nary data subtracting 4 1 END1 END of GRADE ONE PROGRAM Instruction function There must be ENDI in the sequential program one time located at the end of grade one program It should be located at the home of the second when there is no grade one program Ladder format END 4 2 END2 END of GRADE TWO PROGRAM Instruction function There must be END2 at the end of grade two program which representing end of grade two program O Ladder format END Gr Id SX 35 GSK980TD Turning Machine CNC System 4 3 SET Instruction function Specified address is set to 1 Ladder format Control condition ACT 0 add b is reserved add b is set to 1 Relative parameter add b set address bit which can be a contact or output coil and add is Y G R K or A SET ROOO2 O Explanation When X0002 1 is 1 RO002 0 is set to 1 when X0002 1 is 0 ROOO2 0 is reserved zz g n a oe ya ag pele Ja O Program example 000 2 1 OOO 4 4 RST RESET Instruction function Specified address is set to 0 O Ladder format Control condition ACT 0 add b is reserved add b is set to 0 Relative parameter add b reset address bit which can a contact or output coil and add is Y G R K or A RST R0020 0 Explanation When X0002 1 is 0 ROOO2 0 is reserved when X0002 1 is 1 ROOO2 0 is set to Q O Program example AD002 1
105. nd mainly be distributed to input keys on operator panel Other addresses are reserved ones The value range is 0 or 1 Cr Id Sx GSK980TD Turning Machine CNC 2 1 1 X Address in I O Interface O Address range X0000 0 X0003 7 are separately distributed to CNC XS40 and XS41 I O interface O Fixed address X0000 3 X0000 5 X0001 3 separately corresponds to XDEC ESP ZDEC signal which can be directly distinguished by CNC in CNC run d I Yoo Example ESP signal is can be connected to X0000 5 CNC directly distinguishes signals on it and judge if there is ESP signal CNC alarms to emergently stop when G8 4 signal is valid by PLC control Namely CNC alarms to emergently stop when X0000 5 is 0 CNC alarms to emergently stop when G8 4 is 0 by PLC control T e fa Input signal of fixed addresses aa Emergent stop signal X0000 5 Deceleration signal of machine reference point return in X direction XDEC X0000 3 Deceleration signal of machine reference point return in Z direction ZDEC X0001 3 Oo Definable address their functions can be defined by user according to requirement and used for connecting with external electric circuit and ladder Distribution graph of X address in I O interface is as follows I A amore fesa amon E Es 24 COM i o 24 COM 11 24V e 23 24v Ll 24V 23 247 10 X0000 5 ESP al 55 y000 4 10 X0002 3 22 x0002 4
106. on thread cutting program block is finished executing after the thread cutting block While G84 command fixed tap cycle is executing SP signal is 0 SPL signal changes to 1 immediately but the operation keeps running until the cutter returns to start position or R position after tap cutting is finished While executing macro command after macro command is finished it stops operating Sr 44 SX FEE GSK980TD Turning Machine CNC 5 1 1 Cycle Start Signal ST G007 2 e Signal type PLC NC e Signal function under the automatic or editing method PLC sets G7 2 to 1 and then sets to 0 and transmits to NC NC starts automatic operation e Signal address A ee eee 5 1 2 Feed Hold Signal SP G008 5 e Signal type PLC NC e Signal function PLC sets G8 5 to 0 and transmits to NC NC starts automatic operation If G8 5 is 0 programs cannot restart e Signal address AA 5 1 3 Cycle Start Light Signal z g N ES mp STL F000 5 e Signal type NC PLC e Signal function when NC is on automatic operation STL is set to 1 and transmitted to PLC e Signal address CS Se a os 5 1 4 Feed Hold Light Signal SPL F000 4 e Signal type NC PLC e Signal function when NC is paused SPL 1s set to and transmitted to PLC e Signal address a a a S S i 5 1 5 Automatic Operation Signal OP F000 7 e Signal type NC PLC e Signal function when NC 1s on automatic operatio
107. post in position Tool change F205 1 A function F007 Total tool selection tool selection TMAX EE ee a Auxiliary function Auxiliary function locked signal Auxiliary function locked test signal G44 1 All axes on machine locked signal En Machine locked All axes on machine locked test signal MMLK F75 1 Auxiliary function locked AFLO F75 2 oe jump BDTO F3 F360 Edit mode detection Edit mode detection signal MEDT Machine reference point return detection mode signal Program reference point return detection mode signal Appendix 5 Cr Id Sx GSK980TD Turning Machine CNC MD1 MD2 Mode selection signa MD4 DNC1 ZRN G43 0 G43 2 G43 5 G43 7 Signal of spindle clockwise rotation in G74 4 Sa SRVB rigid tapping Rigid tappin Signal of spindle counterclockwise rotation Ge G74 5 E K i SFRB in a apping F763 3 Signal in rigid tapping in rigid tapping a G8 7 External reset signal F1 1 Reset signal Selection signal with i Selection signal with reset key for output reset key for output F204 3 RSJG interface interface Reset chuck function Internal chuck selection F092 Chick ponton ina cat vad PB Pressure low Pressure low detection is valid PB3 19 5 detection Level selection for pressure signal Safeguard detection is valid PB4 12 6 FF2097 7 Level selection for safeguard input signal SPB4 S1 S4 output F211 0 S1 S4 output selection SUOS selection
108. progresses please refer to related description The relationship between T command and binary code signal is shown in the below table F029 F028 F027 F026 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000 00000010 00000000 00000000 00000000 00000011 00000000 00000000 00000000 00000100 Chapter 7 M ST Functions eSignal addresses 7 4 MST Function End 7 4 1 End Signal FIN G004 3 eSignal type PLC NC eSignal function When auxiliary functions spindle speed function and tool function are all finished executing PLC sets FIN to 1 and transmits to NC z nn bw A eSignal address EN 7 4 2 Distribution End Signal DEN F001 3 eSignal type NC PLC eSignal function If auxiliary functions spindle speed function tool function and other commands e g move command pause command are all in a single block after other commands are finished executing waiting for FIN signal then NC sets DEN to 1 Every time a block ends executing DEN will be set to 0 eSignal address EN 7 5 AUNCTION LOCK SIGNAL 7 5 1 Auxiliary Function Lock Signal AFL G0005 6 eSignal type PLC NC eSignal function PLC sets G5 6 to 1 then transmits to NC to disenable the execution of M S T functions e Notes When AFL signal is 1 CNC works as below Sr 44 SX FEE GSK980TD Turning Machine CN
109. r on machine reference point return machine control panel reference point return in Y direction Y04 7 End indicator for program Y05 7 Edit mode indicator on machine reference point return machine control panel reference point return in X direction Y06 0 Spindle stopped indicator on machine Y07 0 Tool change indicator on machine control panel control panel Appendix 2 Apendix Y06 1 Rapid feed indicator on machine Y07 1 Spindle counterclockwise rotation eal control panel al indicator on machine control panel Y06 2 Program reference point return mode Y07 2 Handwheel indicator in Z direction on indicator on machine control panel ee Y06 3 Dry run indicator on machine control Y07 3 Handwheel indicator in Y direction on LOS Premieres e Sect Y06 4 Auxiliary function locked indicator Y07 4 Handwheel indicator in X direction on A petit Y06 5 Machine locked indicator on machine Y07 5 0 1 feedrate indicator on machine Y06 6 Optional block jump indicator on Y07 6 0 01 feedrate indicator on machine Y06 7 Single block indicator on machine Y07 7 0 001 feedrate indicator on machine NET PS YO8 0 Cycle start indicator on machine Y08 5 Min rapid override indicator on e control panel dl machine control panel Y08 1 Min feedrate override indicator on Y08 6 Max spindle override indicator on Y08 2 Max rapid override indicator on Y08 7 Spindle jog indicator on machine Li machine control panel Lu control panel
110. ration stops PLC sets the end signal FIN to 1 End signal is used for auxiliary functions spindle speed functions and tool functions If all these functions are executed at the same time end signal FIN changes to 1 until all functions are stopped F When end signal FIN becomes 1 for a period of time CNC can set the strobe signal to 0 and confirm end signal is received G Until strobe signal is 0 PLC can set FIN to 0 H When FIN is 0 CNC sets all code signals to 0 and stops all the sequence operation of the auxiliary function While executing spindle speed function and tool function code signal keeps unchanged until a new code is specified I After commands in a same block is finished CNC starts executing next block In application the following sequences can be selected as per logical requirements If there is one auxiliary function in the block PLC uses the following sequence Sr 44 SX FEE GSK980TD Turning Machine CNC M00 M31 pS MF LON PLC operation FIN DEN Oo When move command and auxiliary function are in a same block if PLC executes auxiliary function before move command ends it executes in the following sequence gt E Move command Cu M00 M31 N zj MF S e iA mp PLC operati DS es FIN DEN 0 When move command and auxiliary function are in a same block if PLC executes auxiliary function after move command ends it executes in
111. rogram Starting Rapidly scroll the ladder program to starting position of program End of Program Rapidly scroll the ladder program to end position of program 2 2 3 View Menu File Edit View PLC Tool Windows Help Workspace w Output Line Number we Toolbar vw Shatusbar w Instruction Fig 2 17 e Workspace display workspace window or not e Output display output window or not Line Number display line number or not Toolbar display main toolbar or not e StatusBar display statusBar or not ez S a W A Z A A p ve 3 pao p N Q gt or go Instruction display instruction or not 2 2 4 PLC Menu File Edit View PLO Tool Windows Help Compile FS Fig 2 18 e Compile Compile the current ladder program by access key F9 Chapter 2 Menu Commands 2 2 5 Tool Menu File Edit View PLC Tool Windows Help Disconnect To CME Modify Dog Password Write To CNE Read From CHE Carincuinication Settinne Fig 2 19 e Connect To CNC Execute the command and connect to CNC by serial communication interface e Disconnect To CNC Disconnect to CNC and release serial communication interface e Write To CNC Write the current file to CNC to store e Read From CNC Read a file from CNC to PC Communication setting Set parameters of serial communication interface including selecting serial number and baud rat
112. rogram jumps 0003 and orderly executes from 0004 when X0003 3 is O the system orderly executes the program from 0003 4 12 LBL PROGRAM JUMPING LABEL Instruction function Specify one label in ladder namely jumping target position specified by JMPB One Lx is only specified one time by LBL Ladder format LEL LE Gr Id SX 35 GSK980TD Turning Machine CNC System Relative parameter Lx specify jumping target label The label number is specified with beginning L address t and it can specify one of Ll to L999 4 13 CALL SUBPROGRAM CALLING Instruction function Call the specified subprogram with characteristics as follows call instructions can use the same subprogram z g p a ar ye S 3 ye call instruction can be embedded cannot call a subprogram in grade one program a subprogram is edited following END2 ACT Control condition Ladder format ACT 0 execute the next instruction following CALL 1 call subprogram which number 1s specified Relative parameter Px specify the called subprogram label its label number is specified with beginning P address and it can specify one of from P1 to P999 4 14 SP START of SUBPROGRAM SPE END of SUBPROGRAM Instruction function SP is to create a subprogram which number is used for subprogram name and SPE is taken as end symbol of program when SPE is executed the main program will be return
113. rved execute instruction and output its result to E_add and O_add b Relative parameter Format d I Yoo Count position number or steps S y palo y 0 Count position number 1 Count steps Count position 0 Count target position 1 Count the position before target Short circuit selection 0 No selection Positive rotation 1 e O_add b 0 1 Selection Its direction is defined by specifics Specify the initial number of swivel table 0 Position number of swivel table is from O 1 Position number of swivel table is from 1 CNT centigrade position number of swivel table length specify the length of W_add D_add and E_add 1 2 4 byte W_add itis current position address used for storing current position number Its address number is R X Y F G K A D DC and DT D_add itis target position address used for storing target position number Its address number is R X Y F G K A D DC and DT E_add itis used for counting the result output address Its address number is R Y G K A D DC and DT O_add b it is used for outputting the rotary direction to ensure adding position number of swivel table is positive FOR if it is subtracting its direction is negative rev When O_add b 0 the rotary direction is positive O_add b 1 it is negative Its address number is R Y G K and A O Program example Example The current position corresponds to No 1 tool sele
114. s Unless G7 1 signal is 0 program can restart e Signal address D AE RE AE AE EE TS I 2 Chapter 2 Preparation for Operation 2 6 MODE SELECTION Mode selection signals include MDI MD2 MD4 DNCI and ZRN Eight types of work mode can be selected Edit mode Auto mode MDI mode Jog mode Handwheel mode Increment mode Machine Reference Point Return mode and Program Reference Point Return mode CNC outputs work mode detection signals and informs PLC which working mode CNC is using 2 6 1 Mode Selection Signal MD1 MD2 MD4 G043 0 G043 2 DNC1 G043 5 ZRN G043 7 e Signal type PLC NC e Signal function Work mode codes are as follows No Code signal ZRN DNCI MD4 MD2 MDI Work mode T eime oo foi romo oo fo oi ay g D a MDI mode 0 S 4 Handwheel mode Increment mode 1 HANDLE INC og made G0 oo io li Machine Reference Point Return mode l 1 1 ld E E AI 10 Program Reference Point Return mode 1 Jemo RIRES PLC sets a value digit to a Code signal and then transfers to NC NC will determine the working method of CNC according to the code signal value e Signal addresses ENE TE a 2 6 2 Work Mode Detection Signal MINC F3 0 MH F3 1 MJ F3 2 MMDI F3 3 MMEM F3 5 MEDT F3 6 MREF F4 5 MPST F4 6 e Signal type NC PLC e Signal functions when CNC is working under a certain mode if related F signal is set to 1 and transmitted to PLC PL
115. s Help l x PETECE e S AE it cb O gt E Ws Workspace nea 00015 00015 Elf Project 980TD GO X100 4100 of PLC M3 200 EA CNC configuring 10100 aa NC Programs GO x90 460 00002 698 G73 U16 5 WO R3 F400 00003 673 P1 02 00 5 N1 GO X40 775 00004 2 00005 G1 X60 760 ER 62 U10 5 R5 E 00006 oe O 007 G1 X60 740 Roe en E 00008 E GO X100 7100 Fig 4 21 Open programs or delete the unnecessary programs by right clicking menu as Fig 4 22 J GSKCC project 980TD NC Program 00015 O x File Edit wiew PLC Tool Windows Help x DASH 35RAaAR BI A e jb Uo 4 y E Te 00015 00015 j GO X100 7100 El Project 980TD PLE i M3 200 H CNC configuring T0100 Hm NC Programs GO X90 460 CE G98 G73 U16 5 WO R3 F400 eee B o0003 673 P1 02 UO T 00004 H1 GO X40 775 oa 20005 G1 X60 760 e 00006 G2 U10 WARS ae B Oooo G1 X80 740 a 00008 N W 10 me 00009 670 P1 2 oe 00010 GO X100 7100 Delete Ready Properties um A Fig 4 22 CS U9 A Z A A r US a pl L o m a IV 10 Chapter5 Communication Chapter 5 COMMUNICATION GSKCC communicates with CNC by RS232 during which ladder of current project and parameters can be transmitted to CNC or ladder and parameters can be read from CNC Rightly connect COMM port of PC with CNC communicatio
116. se of signal is 1 3 3 Priority Order of Executing Sequential Program S y palo y GSK980TD PLC programs are divided into grade one and grade two programs which processing cycles are different The first one is executed per 8ms to do with short pulse signal with quick reaction and the second one is executed per 8n ms in which n is fraction times PLC divides the grade two program into n blocks according to runtime and executes one block per each 8 ms 0001 0002 End of grade one 0003 H ENDI program 0004 Fraction 1 0004 0006 0005 0006 Fraction 1 al 0007 0011 0008 000 0010 0011 End of grade one T 1012 ENDE program Fraction of the grade two program is to execute the first and execution process is as the following figure when the fraction number is n T11 T12 Tin are runtime to execute the first T21 T22 T2n separately corresponds to runtime of No n block in executing the second when No n cycle is execute Tcl Tc2 Ten separately corresponds to hold time by CNC when No n cycle is executed The program returns to its beginning to continue execution when the last fraction block of the second is executed completely The first is executed every 8ms No n block of the second is done every 8n and runtime 4 Chapter 1 Sequential Program of one cycle is 8n ms The more the fraction number of the second is the longer the runtime of one cycle is Sms Sms Sms T21 T22 T2n Tcl Tc2 Ten
117. some time set by NO 108 after it is started The function is valid for analog spindle control and executed in JOG Handwheel Increment Machine Reference Point Return and Program Reference Point Return mode 8 3 1 Spindle Jog Signal SPHD G200 0 O Signal type PLC NC Signal function when the analog spindle function is valid PLC sets G200 0 to 1 and transmits to 1 to specify that the spindle jog function is valid G200 0 is 1 when the spindle rotates normally Signal address SPH 8 3 2 Spindle Jog Detection Signal MSPHD F199 0 O Signal type NC PLC Signal function when CNC is executing the spindle jog NC sets F199 0 to 1 and transmits to PLC to inform PLC that NC is executing the spindle jog F199 0 is O when NC is not the spindle jog mode Signal address Ms Chapter 8 Spindle Speed 8 4 SPINDLE SPEED IN POSITION SIGNAL CNC can start the cutting feed when the spindle speed in position SAR is input signal Usually when the spindle speed is the specified one the cutting feed is started At this time sensor detects the spindle speed and the detected one is transmitted to NC by PLC When PLC program is edited for spindle speed in position if instructions of spindle speed changing and cutting feed are transmitted simultaneously CNC changes its state according to the spindle speed to confirm SAR signal to start cutting feed To avoid the above mentioned problem CNC needs to delay SAR signal and delay t
118. t from PLC SIND 1 R12I RO1I Output to PLC Spindle enabling Use NO 021 and NO 036 to regulate the offse alue and to output spindle in ction 010 Spindle motor Output to PLC signal output er 449 Sx FE GSK980TD Turning Machine CNC Spindle stop signal SSTP G29 6 Signal type PLC NC Signal function stop output the spindle speed instruction The signal sets S instruction in NC to be 0 Its relative time sequence 1s as follows Caution when the spindle stop signal SSTP is O the output voltage is OV When the signal is 1 the analog voltage outputs instruction value When the signal is not used the signal is set to 1 to make CNC control spindle speed Signal address G29 pss IESO AOS MS RS RE APA Input instruction M03 MOS M04 S00 Auxiliary function 66 1 Spindle stop signal SS TP 07 Analog voltage OV C es ee es A Enabling signal ENB Oe z g N ES mp Spindle speed override signal SOVO SOV7 G30 Signal type PLC NC Signal function PLC evaluates G30 to transmit it to NC which will determine the spindle speed override according to G30 value Relation between SOVO SOV7 and override value is as follows Caution The spindle override function is value in tapping cycle and thread cutting Signal address Chapter 8 Spindle Speed PLC control flow of spindle override 0001 END1 X0024 1 K0020 1 X0024 4 X24 1 kri
119. the following sequence Move command M00 M31 DEN 7 1 AUXILIARY FUNCTION M FUNCTION 7 1 1 Code Signal and Strobe Signal Code signal M00 M31 F010 F013 strobe signal MF F007 0 eSignal type NC PLC eSignal functions After CNC executes M code NC sends M code to PLC via F10 F13 and sets MF to 1 to start logical control For related output conditions and executing processes please refer to above descriptions The relationship between M command and code signal number is as follows Chapter 7 M ST Functions 00000000 00000000 00000000 00000011 00000000 00000000 00000000 00000100 00000000 00000000 00000000 00000101 EE NIN e Notes The following auxiliary function commands cannot be output even if they are instructed in CNC programs A M98 M99 B M code for subprogram call C M code for custom macro program call eSignal addresses UOTJDUN HA z oog 7 1 2 M Code Signal DM00 F009 7 DMO1 F009 6 DM02 F009 5 DM30 F009 4 eSignal type NC PLC eSignal function When CNC is executing M00 M01 M02 M30 commands NC sets corresponding code signals DMO00 DM01 DM02 DM30 to 1 vod vo voa M30 e Notes 1 Under the following conditions M code signal is 1 related auxiliary function is specified and other move commands and pause commands are finished in a same block If NC receives FIN signal before move command and pause command end M code
120. them after editing the programs Workspace nesa 00456 al M3 5500 lye Project 980TD ene PLE 650 X0 0 70 0 E Data setting table GO X30 0 130 0 A Message table G9 X 0 6 70 0 F2 0 X48 X 1 0 e CNC configuring X 1 1 EEE Parameter GO X30 0 4130 mn El Tooler offset M30 Fig 4 18 4 9 2 Load to CNC Part Program z W A Z A A p ve 3 pa pl N lt pels er go Pop up a dialog box as Fig 4 19 after executing Load File in Fig 4 16 and select the stored CNC part program on the disk Chapter4 Software e Fr 00036 00088 00089 00090 00099 00100 Look in SS 1 a E File name 60008 Files of type NC Program file enc Cancel Fig 4 19 tt Click Open to pop up a dialog box as Fig 4 20 x Mame Fig 4 20 After confirming the file name load it to the current project The system prompts to set a new program name again if there is the same one 4 9 3 NC Part Program management Manage part programs after operating the above methods including modification deletion Open the CS U9 A Z A A r US a r DH a a corresponding program after double clicking program file menu as Fig 4 20 Sr 44 SX FEE GSK980TD Turning Machine CNC J GSKCC project 380TD NC Program 00015 AJO xj File Edit View PLC Tool Window
121. tion is effective in the automatic operation mode only During the time of automatic operation if single block signal SBK is set to 1 after the current block is executed CNC starts feed hold If single block signal SBK is set to 0 programs run normally 5 5 1 Single Block Signal SBK G046 1 e Signal type PLC NC e Signal function When PLC sets G46 1 to 1 and transmits to NC CNC starts single block executing e Signal address G46 Al E Sr 44 SX FEE GSK980TD Turning Machine CNC 5 5 2 Detection Signal of Single Block MSBK F004 3 e Signal type NC PLC e Signal function when CNC is executing single block NC sets F4 3 to 1 and transmits to PLC e Notes A thread cutting during the time of thread cutting SBK changes to 1 The executing stops until the first non thread cutting block is finished B fixed cycle executing during the time of fixed cycle executing if SBK is set to 1 the executing stops when approaching drill and cutting withdrawal instead of at the end of the program block e Signal address Al lo ms y 5 6 OPTIONAL BLOCK JUMP During automatic operation if a slash at the start of a block is specified and the block jump signal BDT is set to z g N ES mp 1 the program block is jumped and ignored 5 6 1 Optional Block Jump Signal BDT G44 0 e Signal type PLC NC e Signal function If PLC sets G44 0 to 1 and transmits to NC CNC starts
122. tion programs when GSKCC is connected to CNC ez S a W A Z A A p ve 3 pa pl on lt pels or go Apendix APPENDIX 1 INPUT SINGAL X X0 Pin X1 Pin X2 Pin X3 Pin QO Pin 20 g Key X21 X23 Key 24 e Key X25 Key AA AA A PS Lg ket 4 3 Fe MAES 4 3 gt Y A 1 MS TES Appendix 1 Cr Id Sx GSK980TD Turning Machine CNC X26 Key APEENDIX 2 OUTPUT SIGNAL Y Universal output Universal output Y00 5 Universal output YOI S Universal output Y04 0 Auxiliary function locked indicator Y05 0 Coolant indicator on machine control Oe ieee A o Y04 1 Machine locked indicator YO5 1 Spindle clockwise rotatition indicator RE Y04 2 Optional block jump indicator Y05 2 JOG mode indicator on machine Y04 3 Single block indicator Y05 3 Handwheel increment mode indicator o US Sewage Y04 4 Rapid run indicator Y05 4 Machine reference poin return mode Oe pee G E Y04 5 End indicator for program YO5 5 MDI mode indicator on machine reference point return machine control panel reference point return in Z direction Y04 6 End indicator for program Y05 6 Auto mode indicato
123. uential tool change HDT G44 7 Signal type PLC NC Signal function PLC sets G44 7 to 1 and transmits to NC NC will execute tool change sequentially according to current tool number Sr 44 SX FEE GSK980TD Turning Machine CNC Signal address AS z Zn N ES mp IX 2 Chapter 10 Programming instruction Chapter 10 PROGRAMMING INSTRUCTION In programming although subprogram is useful for repetitively executing the same operations macro program is useful for editing general program because it can use variable arithmetical operation logic operation and condition branch A part program can call a user macro program like calling a subprogram as follows 0001 main program name Subprogram custom M61 N10 G50 X100 Z100 O9064 N20 G00 U50 F100 N10 G65 P 1104 Q1 N30 G01 U0 8 gt G65 H82 P20 Q 1004 R1 N40 M6 a7 92999999999999999999999 N50 GO X100 Z 100 G65 HO1 P 1100 QO N60 M99 M99 P50 z nn N ES e Some function programmed by macro program is usually used for module Programs can be edited by data variable and can be compiled by macro program to form the machining technology 10 1 INPUT SIGNALS of USER MACRO PROGRAM UI000 UI015 G054 G055 Signal type PLC CNC Signal function They are used for CNC variable of user macro program read write and for interface signal between user macro program and PLC instead of offering any
124. ve negative direction XVAL 0 up motion key in X direction corresponds to X axis negative direction down motion key in Z direction corresponds to Z axis positive direction XVAL 1 up motion key in X direction corresponds to X axis positive direction down motion key in Z direction corresponds to Z axis negative direction Signal address A o lo loo y ma 12 8 5 Direction Selection Signal for Motion Key in Z Direction ZVAL F214 1 O Signal type NC PLC O Signal function it defines the relationship between motion key in Z direction and Z axis positive negative direction ZVAL 0 left motion key in Z direction corresponds to Z axis negative direction right motion key in Z direction corresponds to Z axis positive direction ZVAL 1 left motion key in Z direction corresponds to Z axis positive direction left motion key in Z direction corresponds to Z axis negative direction XII 8 Chapter 12 Function parameter signal Signal address EN 12 8 6 Handwheel Step 0 1mm Selection Signal SINC F211 1 O Signal type NC PLC O Signal function it selects whether 0 1mm increment is valid in Handwheel Step mode SINC 0 0 1mm increment is valid in Handwheel Step mode SINC 1 0 1mm increment is invalid in Handwheel Step mode Signal address lA eee 12 9 PARAMETER SIGNALS RELATED to TAILSTOCK FUNCTION CNC informs PLC of signals related to tailstock control function Valid signal of tailstock function SLTW
125. ware Address Code Message a 40000 0 1000 Long tool change time ADDOL 1 1001 Alarm when the toolpost is not in positian A0000 2 1002 Alarm when the tool change is not completed 400004 40000 5 M a Fig 4 5 e Message There is a prompt signal after inputting the coil and the input method is to double click the list box by left key and character strings are input after there is a prompt cursor as Fig 4 6 Address Code Message de ag000 0 2000 Long tool change time 40000 1 1001 Alarm when the toolpost is not in positian A0000 2 1002 Alarm when the tool change is not completed g0000 3 1005 hhh AOOO0 A0000 5 Fig 4 6 4 4 LADDER z S Edit the ladder program and annotation after opening its view Refer to Chapter 2 and Chapter 3 about Y 2 operations of each menu and toolbar E ae GSKCC project 980TD Ladder oO xj File Edit View PLO Tool Windows Help x ile Tr gt 11 lee Workspace i x Commenti Input less than 30 charactors EFE Project 980TD Yellow light nf PLC 0000 65 0001 5 ROOO0 ade CNC configuring 0001 H Signal emerger i HE Parameter 0001 2 ROOO0 0 0003 2 60008 4 E Tooler offset 0002 m E Emergent stop 2 2 Screw pitch compe P0000 4 E fer NC Programs 0003 oe 00456 FOOO 3 Fo0001 3 R0055 0 0004 EH SE Interlock signal ROS69 7 0005 R0402 4 aiis LA mn Cubput Ready Fig 4 7 IV 3 Sr 44 SX
Download Pdf Manuals
Related Search
downloaded downloaded files downloaded downloaded documents downloaded files today downloaded apps downloaded movies downloaded books downloaded videos downloaded pictures downloaded games downloaded books on my kindle library downloaded music downloaded files on this computer downloaded apps on this computer downloaded documents on this computer downloaded packages downloaded installations downloaded whatsapp downloaded bytes did not match content-length
Related Contents
A9915700_Play-X LED RGBW RF Controller User Manual.cdr 取扱説明書 ` HTC 4G User's Manual Recadrer à chaud et à froid, mode d`emploi CEPRASOL 6000 Manuel de service BA 168 FR Edition 06/09 取扱説明書 ideaideaidea - Lenovo Support 【ケーブルスマホ端末】の提供条件について Copyright © All rights reserved.
Failed to retrieve file