Home

This User Manual is the PLC of GSK988TA/988TA1/988TB Series

image

Contents

1. 102 Chapter 2 PLC Signals 2 11 3 9 Block Stop Signal ESBKg G140 3 G150 3 G160 3 G170 3 eSignal type PLC NC eSignal function When the instructions issued by PLC are being executed and the block stop signal ESBKg is set to 1 the axis control stops after a block execution is accomplished When the signal is set to 0 the instructions in buffer are executed The sequence diagram is shown as follows More an ESBKg 8 msec input mmm Command block input EBUFg input EBSYg output Input buffer 2 Waiting buffer e 1 2 Fxecuting Wa 1 buffer Beginning of execution eSignal addresses 7 6 5 4 3 2 1 0 G170 2 11 3 10 Block Stop Disabled Signal EMSBKg G141 7 G151 7 G161 7 G171 7 eSignal type PLC NC eSignal function When the block stop disabled signal EMSBkg is set to 1 in the current block the signal ESBkg is invalid eSignal addresses 7 6 5 4 3 2 1 0 em per lotto pt 103 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual G171 2 11 3 11 Miscellaneous Function Code Signal EM11g EM48q F 142 F143 F152 F153 F162 F163 F172 F173 eSignal type NC PLC eSignal function When miscellaneous function ECOg to EC6g 12h the 2 miscellaneous function command ECOg to EC6g 14h and the 3 miscellaneous function command ECOg to EC6g 15h
2. 4 4 7 Ladder Information Double click Ladder Information on the workspace tree node or right click it then click command Open a dialogue box will pop up see the following figure You can enter the information in Designer Version and Comment The input format is not restricted but the character number is limited 63 characters in Designer 19 characters in Version 511 characters in Comment The Check Code is the 32 bit CRC checksum of PLC file and it can be seen only when the project is not modified or is saved after modification 145 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Ladder Infomation Ladder Version Infomation Designer a887T 091202 Version TN 080110 Check Code Co0da043 File Created Time 0091 02 16 55 35 Comment standard Ladder of GSK980TDZ Apply 146 Appendix 1 G Signals List APPENDIX 1 G Signals List Address Signal Symbol Section G4 4 The 2M function completion signal MFIN2 2 1 4 2 G4 5 The 3M function completion signal MEIN 2 1 4 2 Manual absolute signal 2 5 7 1 254 Cycle start signal s an PN1 PN2 PN4 PN8 External workpiece index signal Ser GN E G10 G11 Manual rapid traverse override signal JVO JV15 2 3 1 2 Feedrate override signal FVO FV7 2 6 3 G14 0 G14 1 Rapid traverse override signal ROV1 ROV2 G18 0 G18 3 MPG1 feed axis selection signal HS1A HS1D 2 3 2 1 G18 4 G18 7 MPG2 feed axis
3. GH Add serial contacts at the cursor position Ss Add output coil at the cursor position shortcut key F2 I Function Command be selected in the fly out list Add function commands at the cursor position The function commands can Edit Toolbar 4H GH ol 2 Function Command si ae tre WA amp Bit Logic d Labeli Jump Timing Count Rotate Shift d Integer Math Fs ZF All Function Commands 134 Chapter 4 Instruction Of Gskladder Add horizontal line at the cursor position shortcut key F4 l Add vertical line at left side of cursor position shortcut key F5 ai ih Delete the selected ladder diagram cell shortcut key Delete Ko Delete the vertical line at the left side of the selected cell Jh t Add one row above the cursor position Jh t Add one row below the cursor position WW Add one network above the cursor position Wey Add one network below the cursor position 4 3 3 Ladder View Toolbar Display Do not display network title TITL ili Display Do not display network commend Parameter display types combobox Address Symbol Address Symbol Parameters can be displayed in three types Address Symbol Address Symbol They can also be set via the on Ladder View Toolbar When display type Address is selected parameters are displayed in addresses except for those in the format of symbols and have no corresponding ad
4. eExample A3 LqSIZE OUT RAO Explanation When X0003 3 1 ADDB instruction is executed ROO40 R0010 R0020 If the operation is erroneous ROO500 0 1 otherwise RO0500 0 0 When R0030 0 1 the state of R0040 remains unchanged and R0050 0 is reset to 0 1 4 15 SUBB Binary Subtraction eFunction It subtracts the binary data eFormat 26 Chapter 1 PLC User Manual ACT eControl conditions ACT 1 OUT IN1 IN2 is executed if the operation is erroneous ERR 1 otherwise ERR 0 ACT 0 the instruction is not executed OUT and ERR remain unchanged eParameters SIZE 1 1 byte 2 2 bytes 4 4 bytes IN1 Subtrahend it can be constant or address the addresses are R X Y F G A K D T C DC and DT etc IN2 Subtractor it can be constant or address the addresses are R X Y F G A K D T C DC and DT etc RST When RST 1 ERR is reset The addresses are R X Y F G Aand K etc OUT the address of calculation output data The addresses are Y G R A K DC DT D C and T etc ERR the address of calculation error output The addresses are Y G R A and K etc eExample Explanation When X0003 3 1 SUBB instruction is executed ROO40 R0010 RO0020 If the calculation is erroneous then the R0050 0 is 1 otherwise ROO50 0 is 0 When ROO30 0 is 1 the state of R0040 remains the same and R0050 0 is reset to O 1 4 16 DIFU Rising Edge Detection eFunction It sets the output signal to 1 f
5. 1 4 1 SET e Function Set the assigned address to 1 e Format ALT addr b SET e Control conditions ACT 0 The addr b status remains unchanged 1 addr b is set to 1 e Parameters addr b address bit It can be contact or output coil addr Y G R K A eExample 13 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Wal RZ O Explanation When X0002 1 is 1 R0002 0 is set to 1 when X0002 1 is O the state of R0002 0 remains unchanged 1 4 2 RST Reset e Function Set the assigned address to 0 eFormat ALT addr b eControl conditions ACT 0 The state of addr b remains unchanged 1 Addr b is set to 0 eParameters addr b reset the address bit It can be contact or output coil Addr Y G R K A eExample XZ 1 RZ D Explanation When X0002 1 is 0 the state of R0020 0 remains unchanged when X0002 1 is 1 R0020 0 is set to O 1 4 3 CMP Binary Data Comparison eFunction Compares two data values and outputs the result eFormat ACT eControl conditions Assume that the address of OUT is represented by addr b then ACT 0 addr b remains unchanged Chapter 1 PLC User Manual 1 Compares IN1 and IN2 and outputs the following results NN addr b 2 addr b 1 addr b 0 Nem j o f o f 1 we TI vm Size Specifies the size of the data When the setting value is 1 2 or 4 the corresponding data size is 1 byte 2 bytes or 4 bytes IN1 IN2 Comp
6. eSignal address 7 6 5 4 3 2 1 0 EA A AA 2 6 Feedrate Control 2 6 1 Rapid Traverse Signal The rapid traverse speed of all axes can be set by parameter No 1420 rather than set when programming It also can be adjusted by controlling the rapid traverse override RPDO F 2 1 eSignal type NC PLC eSignal function When CNC executes the movement command at the rapid traverse speed it sets RPDO to 1 and then transmits it to PLC Note A When RPDO is 1 it means after rapid traverse is selected an axis starts moving when RPDO is 0 it means after non rapid traverse speed is selected an axis starts moving B The rapid traverse in automatic operation includes canned cycle positioning machine reference point return etc The manual rapid traverse also includes machine reference point return C Once the rapid traverse is selected the signal is always 1 even when the operation Stops till other feedrate is selected 68 Chapter 2 PLC Signals eSignal address 7 6 5 4 3 2 1 0 Le E RER 2 6 2 Rapid Traverse Override An override of four steps FO 25 50 100 can be applied to the rapid traverse rate FO is set by a parameter No 1421 In AUTO mode or MANUAL mode including machine reference point return program reference point return the actual feedrate is the product of override value and the value set by data parameter No 1420 Rapid Traverse Override Signal ROV1 ROV2 G14 0 G14 1 eSignal typ
7. 2 3 2 2 MPG Override Signal MP1 G19 4 MP2 G19 5 eSignal type PLC NC eSignal function During the MPG feed it selects the magnification of the manual MPG feedrate corresponding to each pulse which is generated by the MPG PLC assigns values to MP1 MP2 after receiving the MPG override x1 x10 x100 x1000 input signal and transmits it to NC The relationship between MP1 MP2 and the MPG override is shown in the following table tS e Least input increment x1 Least _ Leastinputincrement x10 increment x10 O pro Set by No 7113 Least input increment x the value eee a NM Set by parameter No 7114 Least input EE x the value of parameter NO 7114 Note Besides setting the MPG override the system parameter No NO 7103 2 HNT is also used to set whether to magnify 10 times 10 times magnification when the HNT is set to 1 of the movement amount of the incremental feed MPG feed The table above is calculated when HNT is set to 0 eSignal addresses 7 6 5 4 3 2 1 0 o E W E e a 2 4 Machine Reference Point Return 2 4 1 Machine Reference Point Return In machine reference point return mode the feed axis signal and direction selection signal are set to 1 and the tool moves along the setting direction and returns to machine zero point After the tool returns to the machine reference point CNC sets a workpiece coordinate system according to parameter No 1240 1243 57 Sr WIFE GSK988TA TA1 TB Turnin
8. Bit M Bit EJ Pete EX Eyte Ladder Infomation Ladder Infomation 4 4 3 2 Symbol Table Edit Edit of Rows Right click a row header of the symbol table a menu will pop up Click Clear Row the contents in the row will then be cleared click Insert Row Up to insert a row above the current position click Insert a Row Down to insert a row below the current position click Delete Row to delete the selected row d Gg Ladder EBSymbol table ES InitData Table Ef Message List Ces Reference Comment Address Clear Row Insert Row ip l Insert Row Down Delete Row Symbol input The format of input symbol is limited within letters digits underlines and Chinese characters Digit 140 Chapter 4 Instruction Of Gskladder should not be the head and the total length of a symbol should not exceed 32 characters Symbols should not be identical to each other otherwise a hint will remind you the existence of such symbol Address input The format of address is also limited The format of byte address is type letter raddress number digit the formation of bit address is type letter address number digit bit number digit The allowable input types are A X Y R K F C T D DT DC The addresses should not be the same otherwise the same addresses will be displayed in green for identification Comment input Note should be limited within 127 bytes but the contents
9. D T C if the data size is 4 bits usually the specified SIZE in the PLC instructions is 4 then the data read out is 32 bits binary system If the specified SIZE is 1 or 2 the data after truncation is read out if the specified SIZE is 1 byte the LOW 8 bit is read out if the specified SIZE is 2 bytes the LOW 16 bit is read out 1 2 1 X Addresses Machine PLC GSK988TA 988TA1 988TB PLC X addresses are divided into three types the first type X0000 0 X0004 7 are mainly assigned to the CNC I O interfaces including the fixed addresses such as external ESP interface X0 5 and definable address They are used for the input of machine external signal the second type X0010 0 X0026 7 are mainly assigned to input keys on the operation panel The 3 addresses X0030 0 X0127 7 are distributed to the common I O port X address can be read only it is single byte address and the data size is 8 bits E EA No X0000 X0001 Note In the PLC X addresses only the X address that is defined by CNC can be read otherwise the address is meaningless Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 1 2 2 Y Addresses PLC Machine Y addresses are divided into two types the first type Y0030 0 Y0127 7 are mainly assigned to the CNC I O interfaces They are all definable addresses The other one Y0010 0 Y00026 7 are assigned to the machine panel Y address is the single byte type its data size is
10. Execute the same Execute the same G98 G01 as CNC n G01 as CNC ae ee a eege feed per rotation exponential acceleration deceleration after interpolation Execute the same Execute the same G99 G01 as CNC G01 as CNC Reference point return Set the direction of reference point return direction 05h according to bit 5 of parameter No 1006 and moves the tool in rapid traverse mode then execute manual reference point return which is usually performed by CNC Continuous feed exponential acceleration deceleration Move the tool along the specified direction in JOG mode then execute JOG feed which is usually performed by CNC The 1st reference The 1st reference point return ooo return 07h Move the tool to the E point via the middle point just like the G28 specified by CNC The 2nd reference The 2nd reference point return oo return point just like the G30P2 specified by CNC The 3rd reference The 3rd reference point eum ooo return point just like the G30P3 specified by CNC The 4th reference The 4th reference pointreturn oo return point just like the G30P4 specified by CNC Spee command near acceleralion deceleralon 93 Sr WS I GSK988TA TA1 TB Turning Center CNC System PLC User Manual Continuous feed with the specified speed Miscellaneous function 12h Execute the same miscellaneous function as CNC The 2nd miscellaneous function Execute the same miscellaneous function as CNC The 3rd miscellan
11. and PLC 54 Chapter 2 PLC Signals proceeds the control after receiving the signal Symbol or indicates the feed direction The number corresponds to the control axis J 1 1 the 1 axis feed 2 the 2 axis feed 3 the 3 axis feed 4 the 4 axis feed 5 the 5 axis feed direction feed direction feed eNote A In manual feed 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 eSignal addresses 7 6 5 4 3 2 1 0 sm BT el a RR 2 3 1 2 Manual Feed Override Signal JV00 JV15 G10 G11 eSignal type PLC NC eSignal function lt selects the manual feed override The following table shows the relationship between signals and manual feed override PLC sets value to G10 G11 and transmits it to NC after receiving the external override input signal CNC displays the corresponding feedrate Gm c0 Override 00000000 00000000 0 0000 0000 10 00000000 00000010 20 00000000 0000011 30 00000000 00000100 40 0000 0000 50 00000000 00000110 60 00000000 00001000 80 0000 0000 0000 1001 SE Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 0000 0000 0000 1110 0000 0
12. are issued from PLC the miscellaneous function code is issued in 1 byte EIDOg toEID7g or 2 bytes ElDOg to EID15g which depends on the bit 6 of parameter No 8001 AUX eSignal addresses 7 6 5 4 3 2 1 0 EM28A EM24A EM22A EM21A EM18A EM14A EM12A EM11A F143 EM48A EM44A EM42A EM41A EM38A EM34A EM32A EM31A 7 6 5 4 3 2 1 0 Ce EM24B ENER STE ES ES EM12B EE DST Iess wus og Ee EMOEB EMG4B EM32B Der e F163 7 6 5 4 3 2 1 0 Ce EM24D EM22D EM2iD EM18D EM14D EW12D prp rn JEMASDEM44D EM42D EM EMGBD_EM34D EM32D EM31D EE 7 6 5 4 3 2 1 0 2 11 3 12 Strobe Signal of Miscellaneous Function EMFg F141 0 F 151 0 F 161 0 F 171 0 eSignal type NC PLC eSignal function When the code instructions of miscellaneous function are sent this signal is set to 1 eSignal addresses 7 6 5 4 3 2 1 0 EMFA F151 104 Chapter 2 PLC Signals EMFC F171 2 11 3 13 The 2nd Miscellaneous Function Strobe Signal EMF2g F141 2 F151 2 F161 2 F 171 2 eSignal type NC PLC eSignal function When the code instructions of miscellaneous function are sent this signal is set to 1 eSignal addresses 2 11 3 14 The 3rd Miscellaneous Function Strobe Signal EMF3g F141 3 F 151 3 F 161 3 F 171 3 eSignal type NC PLC eSignal function When the code ins
13. move the specified distance 6 Manual reference point return 7 The 1 reference point return 8 The 2 reference point return 89 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 9 The 3 reference point return 10 11 12 Miscellaneous function the 2 miscellaneous function the 3 miscellaneous function The 4 reference point return Feedrate control 13 Machine coordinate system selection PLC provides 4 control channels for the signal input and output PLC can control 5 independent axes by issuing instructions via the 4 channels Parameter No 8010 determines the corresponding axes of channels One channel can corresponds to 2 or more axes which enables the PLC to control multiple axes via one channel The control diagram is shown as follows Commands from p X axis control channel 1 Commands from E Y axis control channel 2 Commands from o Z axis control channel 3 Commands from p A axis control channel 4 In the following text the input output signal from 4 channel are group A channel 1 group B channel 2 group C channel 3 group D channel 4 respectively The names of input output signals of Di 7 PLC controlled axis contain a lower case letter g 2 11 2 Basic Procedures The basic procedures of PLC axis control are shown as follows 1 Parameter No 8010 determines the
14. 0 1 eFormat ALT Addr b eControl condition The output signal addr b is output inversely each time the input signal ACT is changed from 0 to 1 eParameters 28 Chapter 1 PLC User Manual Addr b Output signal address it can be Y G R Aand K etc eExample tet Rava 0 Explanation On every rising edge of X0003 3 the state of RO033 0 reverses 1 4 19 MOVE Logical Multiplication eFunction ANDs logical multiplication data and input data and outputs the results to a specified address eFormat ALT MOVE H OUT L IH eControl conditions ACT 1 ANDs logical multiplication data H L and input data IN and output the result to the specified address OUT lt can remove the unnecessary bit from 8 bit signal in the specified address ACT 0 Out remains unchanged eParameters H High 4 bit logical multiplicator L Low 4 bit logical multiplicator IN the address of input data the addresses are R A K X Y F G and D etc OUT the address of output data the addresses are R A K Y G and D etc eExample ho 3 Explanation When X0003 3 is 1 ANDs the R0010 and 01001110 and stores the result in R0020 1 4 20 WAND Binary Byte AND eFunction A logical WAND is performed on two input data 1 2 4 bytes the result is output to the OUT 29 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual eFormat ACT eControl conditions ACT 0 OUT value remains unchanged A
15. 0 G151 6 G154 and G155 G150 7 G153 G162 and 3 G161 0 G161 6 G164 and G165 G160 7 G163 G172 and 4 G171 0 G171 6 Eege G174 and G175 G170 7 2 When ACT is always held as 1 PLC controllable command maintains to perform Each PLC cycle of AXCTL detects the performance state of the command once the following states will be checked a Command execution end is inquired of which the FIN sets to 1 otherwise it holds as 0 b Execution error or alarm is inquired of which the ERR sets to 1 otherwise it sets to 0 c When RST 1 is inquired the axis controllable resetting signal EXLRg sets to 1 simultaneously the FIN is set to 1 too 3 When the ACT turns into 0 from 1 AXCTL is interrupted the treatments of different states are shown below a Both FIN and ERR are set to 0 regardless of which performance result b If the current axis controllable command does not complete the program end signal ESBKg sets to 1 eo Relevant information address ECLRg ESBKg G140 6 G140 3 G150 6 G150 3 G160 6 G160 3 G170 6 Axis control command list command Command Data 1 Command Data 2 Operation code DT2 aun DT1 Feedrate i i The total move Rapid traverse 0x00 When parameter B002 D O eae of this value The speed is determined by system distance parameter Cutting feed The total move l 0x01 Feedrate l Feed per minute distance 46 Chapter 1 PLC User Manual Cutting feed 0x02 Feedrate None Feed per rotation Dwe
16. 1 RST When RST is 1 C CNO and OUT 0 regardless of the state of ACT RST can be X Y G F R K or A etc C Specifies the counter number which is represented with Cxxx xxx is the number 0 99 N Counter preset value It can be constant or the data register started with DC If it is constant the range is from 0 to 21 4748 3647 OUT Outputs position 1 when it reaches the count value OUT can be R Y G K or A etc eExample 17 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual he 1 Explanation When RO100 0 is 1 CO001 0 RO500 0 0 When RO100 0 is O each time rising edge appears at X0002 1 C0001 counts up once When the C reaches 10 RO500 0 is set to 1 When the rising edge appears at X0002 1 again C is reset to O and starts counting RO500 0 is set to 0 1 4 6 MOVN Binary Data Transfer eFunction Transfers binary data data copy from a specified source address to a specified destination address eFormat ALT MOVE SIZE OUT eControl conditions ACT 0 OUT remains the same 1 Copy values or constants from IN to OUT eParameters SIZE Copy the size of data 1 2 4 bytes IN The leading byte or constant of source data address Addresses are R X Y F G K A D T C DC and DT etc OUT The leading byte of destination address Addresses are R Y G K A D T C DC and DT etc eExample he LSZ OUTROS RIOOAIR Explanation When X0002 1 is 1 it transfers
17. 2 13 3 24 overtravel signal PL Le gt d S 1506 ar axis direction overtrave EOTNB 2433 23 Axis control command read F150 7 completed signal PLC axis control EBSYB 2 13 3 6 group 2 PL iscell f i E1510 C miscellaneous function strobe EMFB 213310 signal F151 1 PLC buffer full signal EABUFB 2 13 3 32 E1512 PLC miscenaneous function 2 EME2B 213313 strobe signal E1513 PLC DEER function 3 EMF3B 213314 strobe signal F152 F153 dd mee function code EM11B EM48B 2 13 3 11 F 160 0 PLC axis in position signal EINPC 2 13 3 18 160 1 PLC axis lovlewing error zero ECKZC 2 13 3 19 checking signal F160 2 PL axis alarm signal EIALC 2 13 3 20 160 3 PLC ME function EDENC 243 322 execution signal F160 4 PLC axis move signal EGENC 2 13 3 21 153 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual F160 5 PLC axis direction overtrave EOTPC 2133 24 signal F160 6 PLC axis direction overtravel EOTNC 2 2433 23 3 23 SSES Axis control command read F160 7 completed signal PLC axis control EBSYC 2 13 3 6 group 3 F161 0 a function strobe EMEC 243312 i F161 1 PLC buffer full signal EABUFC 2 13 3 32 PL iscell function 2 F161 2 E Meca TANEOUS ICON EMF2C 2 13 3 13 strobe signal F161 3 PLC miscenaneous function 3 EME3C 213314 strobe signal F162 F163 PLC miscellaneous function EM11C EM48C_ 2 13 3 11 code signal F170 0 PLC axis in position signal EINPD 2 13 3 18 E1701 PLC US fol
18. 4 3 2 1 0 G163 7 6 5 4 3 2 1 0 STZ EFD ere EIFSD Ee EIF3D EE EIFID EIFOD_ 3163 6 3 EIF15D EIF14D EIF13D EIF12D EIF11D ElF10D EIF9D EIF8D 2 11 3 4 Axis Control Data Signal EID0g EID31g G144 G145 G146 G147 G154 G155 G156 G157 G164 G165 G166 G167 G174 G175 G176 G177 eSignal type PLO gt NC eSignal function Specifies the PLC axis control data The data unit is shown as follows Increment System sm IS C Linear Metric input 0 001 0 0001 Axis Inch input 0 0001 0 00001 0 007 500001 deg Rapid traverse ECOg to EC6g 00h Cutting feed per minute ECOg to EC6g 01h Cutting feed per rotation ECOg to EC6g 02h The signal EIDOg to EID 31g is used according the input increment The incremental move distance is specified in binary system The valid data range is shown in the following table Increment System D an IS C Linear Metric input 99999 999 9999 9999 mm axis Inch input 9999 9999 999 99999 zemmer 199999999 e When setting the diameter programming by the 3 bit DIAx of the parameter No1006 the bit 1 of 99 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual parameter No 8005 CDI determines whether radius or diameter is used in command Dwell ECOg to EC6g 04h The signal instructs the dwell time in binary system Data Range 1 99999999 ms Continuous feed ECOg to EC6g 06h Signal EID31g is us
19. 53 226 1 OVERGAVE SIGMA EE 53 LLO Sred STOKE E 53 2203 Stored Stroke Check Z EE 54 23 Manual Opera ini ra 54 2 3 1 Manual Feed Incremental Feed 54 2 3 1 1 Feed Axis signal and Direction Selection Gonzal 54 2 3 1 2 Manual Feed Override Signal cccsssscssssseccssseccssssecsseseccssensessssesecesseeecesensessesaneesesenseess 55 2 3 1 3 Rapid Traverse Selection Signal ee 56 232 MPO EE 56 2 3 2 1 MPG Feed Axis Selection Gonal REENEN 56 2322 MIP GrOVSMGS Signa uv a A sion 57 2 4 Machine Reference Point Return ssssseeseesesosssssssessssessssesceccocsesssssssssessssseseeceeeeeessses 57 2 4 1 Machine Reference Point Return c sscssccoccsssnnsssessceecsannvecssscececcoanavsessceestannvsesesceceseoanaseesseeesuanaveesses 57 2 4 1 1 Machine Reference Point Return Completion Ggona 58 2 4 1 2 Machine Reference Point Setting Gugnal nono 58 XI Sr WW Bx tes GSK988TA TA1 TB Turning Center CNC System PLC User Manual 2 4 1 3 Sequence of Machine Reference Point Son 59 2 9 AUtOMatiC el ET e EE 59 AL CCV CIE Stan Feed Hold WEEN 59 Za ee aale E 60 ARZ FCC MOlG Eelere 60 A RATO 60 29 L4 Feed e Le e SIG EE 61 20 E Automatic leie Eet EE 61 25 2 Reset External Workpiece INGEN E 61 Zio Extemal RRESCU SIG Mal EE 62 29 22 EE 62 ZOOL NRESCUG read OU SIGMA er seis AS A R S 63 2 0 2 4 External Workpiece Number Index Auen 63 2 5 2 5 Operation Starting SEQUENCE E 64 2 0 2 6 Based on MDI Restting Confirmation
20. Byte which cannot be deleted or edited Node cannot be added to the cross reference Ladder Information It is a fixed node without child 4 4 1 View Open and Switch There are three ways to switch among views double click the tree node in project manager click the Open in Workspace Pane tree note click the view switch label on the top or bottom of the user edit area View switching label d EBLadder EBsymbol table ESIritData Table FB Message List Cross Reference Sub view switching label M a bb Levell 4 Level A SUE_O 4 SUB_1 A SUB_2 Command Open on the Workspace tree note 136 Chapter A Instruction Of Gskladder i LEVEL CU ral 11 LEVEL Hg SubPr Rei symbol Tare E Block Symbol HI Symbol ER We D OS InitData Table E InitData D ER Message E ES Cross Reference Le Index Je Bit Block Infomation 4 4 2 Ladder After a project is open the current view is the Level 1 of Ladder You can switch among different blocks and views The operations of menus and toolbars are described in previous sections The following paragraphs are about the subprogram creation rename deletion block message edit and network note addition 4 4 2 1 Create Rename or Delete a Subprogram Create a subprogram Click command Insert Subprogram after right clicking Subprogram node a new subprogram will be generated which at the mean time enables the generation of a new no
21. Data area Offset data Initial Add 0 Function code 14 1 eo Offset type MS offset o e The unit of offset data pul uni Ee R a CI AAA Inch 0 0001 inch 0 00001 inch 39 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual eo Data output Initial Add Function code End code Data Size Data attribution Channel number Data area 2 Disabled of the specified data length End code explanation 0 Normally read 3 Disabled of the specified offset number Offset number exceeds the enabled range 1 99 4 Disabled of the specified offset type Offset type excceds the enabled range 6 Disabled data 4 Read the absolute coordinate of each axis Absolute coordinate value Read the absolute coordinate of each axis o Data input Initial Add 0 Function code 2 3 Data number 4 Data attribution Axis selection i o Axis selection 40 Chapter 1 PLC User Manual eo Data output Initial Add Function code End code Data Size Data length explanation Data attribution Channel number Data area Absolute coordinate Data length explanation When the selected axis is arbitary one the data length is 1 When the selected axes are the whole axes the data length is n n is the Max axis number Absolute coordinate When the whole selected axes are output the coordinate data will be output based upon the sequence of the 1 2 3 4 and 5 and the disabled axes
22. ECOg to EC6g 08h 4 The 3 reference point return ECOg to EC6g 09h 5 The 4 reference point return ECOg to EC6g OAh 6 Machine coordinate system selection ECOg to EC6g 20h The following instructions are ended by reset signal ECLRg They are executed when the buffering operation is inhibited e the subsequent blocks are cancelled rather than executed For the following instructions the reset signal ECLRg is used for ending They are executed when the inhibiting buffer is disabled i e the blocks that followed are cancelled instead of executed 1 Continuous feed ECOg to EC6g 06h 2 Continuous instructions ECOg to EC6g 10h The operation sequence diagram is as follows 106 Chapter 2 PLC Signals EMBUFg input Command block input EBUFg input Command disabled EBSYg output Input buffer Waiting buffer Executing 1 2 buffer Beginning of End Beginning of execution execution eSignal addresses 7 6 5 4 3 2 1 0 EMBUFA EMBUFC oer EMBUFD 2 11 3 17 Control Axis Selection Status Signal EAXSL F129 7 eSignal type NC PLC eSignal function When the signal is set to 0 control axis selection signal EAX1 to EAX5 are changeable This signal is 1 in the following conditions 1 When tool moves along the PLC controlled axis 2 When a block is being read into buffer When this signal is 1 the control axis selection signal EAX1 to E
23. Signal sossssesnsssessssssessssesssrerssesesssrersssresssres 105 2 11 3 14 The 3rd Miscellaneous Function Strobe Signal ccoooccccnoncnnnnoonncnononnncnnnnnnonannnos 105 2 11 3 15 Miscellaneous Function Completion Signal ccooococnnooccnononcnnnnonnnnnononnnnononcncnoncnnnnns 105 2113 16 B ferng IANDIted Signal urraca nee saeactan duconlsidahoatecatienios 106 2 11 3 17 Control Axis Selection Status Signal coooccccnnnoccnonoocnnnononnnonnnnononononnnnnnnnn nono nnnnonnnnnnons 107 Ek SC EW a e ee Bee EEN 108 2 11 3 19 Following Error Zero Checking Gong 108 E 9220 En E Le 108 213921 AXIS Movement Eeer o lada 109 2 11 3 22 Miscellaneous Function Execution Gong 110 2 141 023 Direction OVertraVel ION alii 110 21 30 24 RI lee ee E E Lal E 111 2 11 3 25 Feedrate Override Sigiial ET 111 2 11 3 20 Override Cancel Signal EE 112 2 11 3 27 Rapid Traverse Override Ggona Ne 112 List WE E RE ie Eet E 112 2 11 3 29 Manual Rapid Traverse Selection Ggnal 113 2120 00 Override 07 le Te RE 113 2 11 3 31 Distribution Completion Signal ek 113 2301 3 92 Bufer RUI SIG Mal a a ic 113 SE en ONO Ola eier 114 CHAPTER 3 PROGRAMMING cccccoccssccscosnssccrssssscecncceccesrccneccescccnsccesccescesconnsccessesece 115 3 1 Sequential Program Structuring cccccsssccccsssscccccssssccccssssccccssseccccesseccceesseeceseeseees 115 3 2 Eeer 115 IZL LPPOS FAINT LOOD dee 116 3
24. TB Turning Center CNC System PLC User Manual The 3 reference point return The 4 reference point return Speed command Miscellaneous function Continuous feedrate ElFOg to ElF159 nd The 2 miscellaneous function E A tuncer Miscellaneous function code ElDOg to EID15g Machine coordinate system setting absolute value EIDOg to EIG31g Rapid traverse rate ElFOg to EIF15g When the bit O RPD of parameter No 8002 is set to 1 the rapid traverse rate is valid Machine coordinate system setting 0 1 1 1 4 1 5 2 0 h eSignal addresses G151 KGE 7 6 5 4 3 2 1 0 2 11 3 3 Axis Control Feedrate Signal ElFOg EIF15g G142 G143 G152 G153 G162 G163 G172 G173 eSignal type PLC NC eSignal function Specify the feedrate of PLC controlled axis Rapid traverse ECOg to EC6g 00h The 1 reference point return ECOg to EC6g 07h The 2 reference point return ECOg to EC6g 08h The 3 reference point return EC6g 09h The 4 reference point return ECOg to EC6g OAh When the bit O of parameter No 8002 RPD is set to 1 the signal instructs rapid traverse rate in binary form However for the 1 reference point return parameter No 1424 determines the rapid traverse rate if no reference point return has been performed after power on The unit is shown in the following figure 96 Chapter 2 PLC Signals Increment System ss se Linear machine SE I
25. according to the alarm signal status servo alarm P S alarm overtravel alarm When CNC is reset the alarm is cleared and AL is set to 0 50 Chapter 2 PLC Signals eSignal address 7 6 5 4 3 2 1 0 A AAA 2 2 4 Mode Selection Mode selection signals include MD1 MD2 MD4 DNC1 and ZRN Six working modes are available EDIT mode AUTO mode MDI mode JOG mode HANDLE INC mode and REF mode CNC detects signals by outputting the working mode and informs PLC the current working mode 2 2 4 1 Mode Selection Signal MD1 MD2 MD4 G43 0 G43 2 DNC1 G43 5 ZRN G43 7 eSignal type PLO gt NC eSignal function The code signal of working mode is shown as follows Code Signal Cem eg Node RES EES 3 mime o o ooo 4 HANDLEMINGmode fofoa OO sms _ Jofo n o7 EZ gege Machine reference point return REF Maia mode PLC assigns values to the code signals after receiving the input signal of working mode and then sends it to NC NC determines the CNC working mode according to the code signal eSignal addresses 7 6 5 4 3 2 1 0 En RE A CON 2 2 4 2 Working Mode Check Signal MINC F3 0 MH F3 1 MJ F3 2 MMODI F3 3 MRMT F3 4 MMEM F3 5 MEDT F3 6 MREF F4 5 eSignal type NC PLC eSignal function When CNC is in a certain working mode the corresponding F signal is set to 1 and then sent to PLC PLC works according to the working mode check signal INC mode check signal MINC MPG mode
26. and miscellaneous function are in the same block the miscellaneous function is executed after the movement command execution is finished Wovementcommande Mbit00 31 d d i 4 MF i j l f PLC motion 2 1 Miscellaneous Function M Function 2 7 1 1 Code Signal and Strobe Signal Code signal Mbit00 Mbit31 F10 F13 Strobe signal MF F7 0 eSignal type NC PLC eSignal function After M code is executed the corresponding F code signal is set to 1 and MF is set to 1 then these signals are transmitted to PLC Please refer to the execution process instruction above for the output condition and execution process The relationship between M command and code signal is shown as follows F13 F12 F11 00000000 MOO F13 F12 F11 00000001 12 Chapter 2 PLC Signals F13 F12 F11 00000010 M02 F13 F12 F11 00000011 Mu F13 F12 F11 00000100 E F13 F12 F11 00000101 F13 F12 F11 00000110 F13 F12 F11 00000111 Mur F13 F12 F11 00001000 eNote 1 The following miscellaneous function instructions cannot be output even when specified A M98 M99 M198 B M code for subprogram call C M code for custom macro program call 2 Of the miscellaneous function instructions that listed below decoding signal can also be output in addition to code signal and strobe signal MOO MOT M02 M30 3 MOO M31 are in the form of binary code for example M5 corresponds to 00000000 00000000 0
27. as character strings Replace Specified contents can be replaced by new contents by using keystroke of Ctrl H The following dialogue box will pop up REPLACE Find 201 Replace To 1 0 Replace All I Match Whole Match Case Replace In All Ladder Blocks The find function in REPLACE dialogue box is the same as in Find Replacement can be executed only when the search condition is fulfilled and the input content is legal Address or bit address cannot be used to replace constant or byte address and vise versa 126 Chapter 4 Instruction Of Gskladder Goto Go to the designated location by using keystroke of Ctrl G or the on the standard toolbar A dialogue box will pop up The dialogue box in Ladder View may be different from the one in other views Shown as follows Fosition Ont Orla v In Ladder View select or input network position and row position in the dialogue box The row position can be any row in the network or the network title network title is the default row Then click OK the cursor will be located to the desired position In Table View only rows are selectable in the dialogue box Click OK after selection then the cursor will be located to the desired position Insert Delete There is a sub menu subject to the Insert Delete Insert Delete Delete Cell Cell Function Commands Insert Rosa pi Corl T Insert Row Dow j Ctrl F Insert Network lp
28. as many times as necessary MPP is used at the last time The following figure is the stack level 1 Al U 41 1 Al d Al 3 PI D RI U A Es di A MPS v1 4 Rl 1 11 5 RI Z MED 11 8 RI 3 MRD be e al T EI 4 MPP g The following figure is the stack level 2 Al 0 X1 1 Al 2 egen MPS a mps ql 2b app iY MPF i1 Stack instruction usage 1 There is no object component in stack instructions 2 MPS and MPP should be used in pairs 1 4 PLC Function Instructions When some functions are difficult to program with basic instructions function instructions are available to facilitate programming PLC has following functions Output the logical calculation and address value 1 SET after logical OR Output the logical calculation inversed result and address value after logical AND CMP _ Compare position position 2 3 a aoe sn 5 s m WE MOVN Data copy Chapter 1 PLC User Manual Ce Ar Atematve output o ROTB Brauten ESCHER CALL Subprogram call 15 DIFU Rising edge detection DIFD Falling edge detection MOVE Logical multiplication ADDB Binary addition 19 SUBB Binary subtraction MULB Binary multiplication DIVE WSHL Binary data shift left 23 WSHR Binary data shift right WAND Binary byte AND Binary data OR 26 WXOR Binary data XOR WINV Binary data inversed 28 WINDR Read the CNC window function AXCTL PLC controllable axis
29. feed Machine coordinate system selection Machine coordinate system selection ECOg to EC6g 20h adopts absolute positioning and rapid traverse It is used to move the tool to a specified position such as tool exchange position For the rotary axis short path rotation command can be used when tool offset and tool nose radius compensation is cancelled Machine coordinate system should be set before the command is used Move the tool to the reference point manually or via G28 after power on When absolute position detector is used reference point return is not necessary because the tool position is stored in the memory The following table shows the relationship between axis control command and data Command block Axi Operation e Command Data Control The total move distance EIDOg to EID31g Rapid traverse rate ElFOg to EIF15g The rapid traverse is valid when the bit O RPD Rapid traverse of parameter No 8002 is 1 The total move distance ElDOg to EID31g Feed per minute Feedrate ElFOg to EIF15g Dwell time ElDOg to EID31g The Preference poitretum g set to 1 the rapid traverse rate is valid None Feed direction EID31g JOG feedrate ElFOg to EIF15g Rapid traverse rate EIFOg to EIF15g When the bit 0 of parameter No 8002 RPD is 0 0 h 0 1 h l 0 The total move distance ElDOg to EID31g Feed per rotation 2 h Feed amount per rotation ElFOg to EIF15g 0 5 0 7 95 Sr WS I GSK988TA TA1
30. finished PLC sets TFIN to 1 and then transmits it to NC eSignal address 7 6 5 4 3 2 1 0 G5 TFIN E AAA AA AAA MFIN2 G4 4 MFIN3 G4 5 eSignal type PLC NC eSignal function When the execution of M2 M3 is finished PLC sets TFIN to 1 and then transmits it to NC eSignal addresses 7 6 5 4 3 2 1 0 FINS WER o o DEN F1 3 eSignal type NC gt PLC qa Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual eSignal function When miscellaneous function spindle speed function tool function are in the same block with other commands such as movement command and dwell command NC sets DEN to 1 after the execution of other commands and waits for the FIN signal sent by PLC After the block is executed DEN is changed to 0 eSignal address 7 6 5 4 3 2 1 0 13 A AO 2 5 Miscellaneous Function Lock 2 7 5 1 Miscellaneous Function Lock Signal AFL G5 6 eSignal type PLC NC eSignal function PLC sets AFL to 1 after receiving the miscellaneous function lock input signal and then transmits it to NC to prevent the execution of M S T functions eNote When the AFL signal is 1 CNC works as follows 1 During automatic operation or operation in MDI mode CNC does not execute the specified M S T functions e the code signal and strobe signal are not output 2 If AFL is set to 1 after the code signal is output CNC executes in normal sequence till the end till it receives the
31. in this counter are in binary The following functions are available A Preset counter Presets the count value and outputs corresponding signal if the count reaches this preset value B Ring counter Resets to the initial value when the count signal is input after the counter reaches the preset value C Up down counter It is the reversible counter to be used as both the up counter and down counter D Selection of the initial value Either O or 1 can be selected as the initial value eFormat Chapter 1 PLC User Manual ALT CTAC FMT OUT EST C H eControl conditions When ACT is rising edge from 0 to 1 Count up The count up instruction counts up from the initial value C counts up each time when rising edge appears When the current value C reaches the preset value N OUT 1 when C is less than N OUT 0 If the rising edge appears again C counts from the initial value and meanwhile OUT 0 Count down The count down instruction counts down from the preset value C counts down each time when rising edge appears When the current value C reaches the preset value N OUT 1 when C is greater than N OUT 0 If the rising edge appears again C counts from the initial value and meanwhile OUT 0 When ACT 0 C and OUT remain the same eParameters FMT Data format specify up down counter 0 Count up starts from CNO 1 Count down starts from preset value Initial value specification 0 Counts from 0 1 Counts from
32. key on the panel is pressed In other conditions the RST is set to O when the time set by data parameter No 071 has passed eSignal address 62 Chapter 2 PLC Signals 7 6 5 4 3 2 1 0 Ft E O UR 2 5 2 3 Reset amp Tread out Signal RRW G8 6 eSignal type PLC gt NC eSignal function After the PLC receives the resetting amp thread out signal G8 6 replaces the thread out of selected automatic operation program is performed when simultaneously resetting the CNC eSignal address 7 6 5 4 3 2 1 0 a E RWD F0 0 eSignal type NC gt PLC eSignal function This signal informs the facts in the thread out treatment to the PLC eSignal address 7 6 5 4 3 2 1 0 RI 2 5 2 4 External Workpiece Number Index PN1 PN2 PN4 PN8 PN16 G0009 0 G0009 4 eSignal type NC gt PLC eSignal function In the register operation mode this signal is specified the performed workpiece number There are 5 codes signal which are corresponded with the workpiec numbers refer to the following table Binary system code Workpiece No index signal Workpiece Regardless of the centre REDER EE EE EE WEE In these signals workpiece No 00 is used a special specification for Without index Thus the workpiece numbers can be specified the range among 01 31 7 6 5 4 3 2 1 0 LL PNG PNS PN4 PN2 PNI 63 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 2 5 2 5 Operation Starting S
33. point return has ever been performed after power on and the bit 1 of parameter No 1002 and bit 1 of No 1005 are valid a P S alarm No 090 will be generated The 1 to 4 reference point return When returning to the commands from ECOg to EC6g from 07h to OAh by using the reference positions from the 1 to the 4 the feedrate can be set by the bit O RPD of parameter No 8002 with the same method as it is set in rapid traverse command ECOg to EC6g 00h Note that the in the condition of the 1 reference point return if no manual reference point return has performed after power on the feedrate is specified by parameter No 1424 Speed command When speed command ECOg to EC6g 10h is used the axis specified by bit O of parameter No 1006 ROTx is the rotary axis When position control is being performed by continuous feed 94 Chapter 2 PLC Signals command ECOg to EC6g 06h the speed of servo motor is controlled by speed command ECOg to EC6g In this way during the continuous feed the speed dynamic variation is allowable which enables the command applicable for servo motor to drive the tools Parameter No 8028 can set the linear acceleration deceleration time constant for each axis Note that when the JOG feed is performed with speed command the coordinate value does not change which will result in the loss of tool position Therefore reference point return should be performed before movement command and after continuous
34. result is output to OUT eParameters SIZE Specify the size of data in IN 1 2 4 bytes N The address or constant of shifted data The address can be R X Y F G K A D T C DC DT IN The leading byte of input address or constant of the data It can be R X Y F G K A D T C DC DT OUT The address of output result It can be R Y G K A D T C DC DT eExample 33 Sr MASS tes GSK988TA TA1 TB Turning Center CNC System PLC User Manual Ao Explanation When X0003 3 1 it shifts right 4 bits of the data 8 bits in XO and the result is stored in R10 For example when X0003 3 1 and X0 11000110 after the WSHL instruction is executed the result in R10 is 01100000 1 4 26 MULB Binary Data Multiplication eFunction It multiplies two input data 16 bits and the resulted product 32 bits is stored in the OUT address 32 bit eFormat ALT eControl conditions RST 0 ERR and OUT remain unchanged RST 1 Reset ERR and OUT ACT 0 OUT value remains unchanged ACT 1 Multiplies the values of IN1 and IN2 the result is output to OUT address eParameters IN1 IN2 The leading byte of input address or constant of a mulplicator it can be R X Y F G K A D T C DC DT if single byte address 8 bits such as R X Y F G K A D is used two consecutive bytes is used as the mulplicator if double byte address 32 bits such as T C DC DT is used the low 16 bits is used as the mulp
35. selection signal HS2A HS2D 2 3 2 1 MP1 MP2 The 1 spindle selection signal The 2 position encoder selection signal The 2 spindle gear selection 2 8 2 147 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 282 281 Spindle override signal SOVO SOV7 SE motor speed command input RO1I R121 G33 0 G33 3 signal 633 7 Spindle meter speed selection SIND 281 command signal 634 0 634 7 The 2 spindle motor speed command R0112 R1212 2 8 2 input signal G32 0 G32 7 G35 0 G35 3 Gap The 2 spindle motor speed selection SIND 282 command signal G39 0 G39 5 too compensation number selectio 2104 signal Signal selection of tool compensation value G39 7 O GOQSM 2 10 4 write in method G43 5 G43 7 DNC1 ZRN aE GEI e spindle selection signal of rigid RGTSP1 282 tapping SE The 2 spindle selection signal of rigid BETE tapping Gen The 3 spindle selection signal of rigid ee tapping G100 0 G100 4 Feed axis and direction selection tJ1 J5 2 3 1 1 148 Appendix 1 G Signals List G114 0 G114 4 L1 L5 2 2 6 1 Overtravel signal G116 0 G116 4 L1 L5 2 2 6 1 G136 0 G136 4 PLC control axis selection signal EAX1 EAX5 2 13 3 1 PLC axis rapid traverse override signal G137 5 PLC axis override cancel signal OVCE 2 13 3 26 PLC axis manual rapid traverse 2 13 3 29 selection signal G137 0 G137 1 ROV1E ROV2E 2 13 3 27 G137 6 RTE G137 7 PLC axis
36. speed command input signal RO1I R121 G32 0 G33 3 eSignal type PLE gt CNC eSignal function It indicates the input of spindle motor speed command sent from PLC eSignal addresses 7 6 5 4 3 2 1 0 ESE E a iis WO A O RAR AR 8 The 1 spindle actual speed signal ARO0 AR15 F40 F41 81 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual eSignal type CNC gt PLC eSignal function It indicates the actual spindle speed transmitted from CNC to PLC The spindle speed is detected by the position coder which is installed on the spindle and feedbacks the pulse indexing eSignal addresses 7 6 5 4 3 2 1 0 E 2 8 2 Multiple Spindles Control Spindle selection signal SWS1 G27 0 SWS2 G27 1 SWS3 G27 2 eSignal type PLC NC eSignal function It indicates whether the S command is output to spindle or not SWS1 1 Output to the 1 spindle 0 Do not output to the 17 spindle SWS2 1 Output to the 2 spindle 0 Do not output to the 2 spindle SWS3 1 Output to the 3 spindle 0 Do not output to the 3 spindle eSignal addresses 7 6 5 4 3 2 1 0 e EO TO TS 7 ss The spindle selection signal for rigid tapping RGTSP1 G61 4 RGTSP2 G61 5 RGTSP3 G61 6 eSignal type PLC gt NC eSignal function In multi spindle the spindle selection signal is determined by parameter No 5200 7 whether to use this signal or SWS1 SWS2 SWS3 eSignal address 7 6 5 4 3 2 1 0 Ces _ ROTSP
37. the 1 axis overtravel the 2 axis overtravel the 3 axis overtravel the 4 axis overtravel the 5 axis overtravel n A WO N e direction overtravel direction overtravel Motion When the above signals are 0 the motion of control unit is as follows In AUTO mode even only one axis overtravel signal changes to O all the axes will decelerate and stop and an alarm is issued The running is stopped In MANUAL mode only the corresponding axis stops and the axis can move reversely after stop The moving direction is stored as long as the overtravel signal becomes 0 and the direction is invalid before the alarm is cleared even if the signal turns into 1 eSignal addresses 2 2 6 2 Stored Stroke Check 1 Stored stroke check selection signal EXLM G7 6 eSignal type PLC NC eSignal function When the signal is 1 parameters No 1326 and No 1327 are used to perform stroke check 1 when the signal is O parameters No 1320 and No 1321 are used to perform stroke check 1 53 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual eSignal addresses 7 6 5 4 3 2 1 0 A ESO 2 2 6 3 Stored Stroke Check 2 3 Stored stroke check 3 release signal RLSOT3 G7 4 eSignal type PLC NC eSignal function It determines whether stored stroke check 3 is performed When the signal is 1 the stored stroke check 3 is not performed when the signal is 0 and parameters No 1300 5 and No 13
38. 0 Even parity check 1 Odd parity check RST RST 1 OUT is reset to 0 the address is X Y G R F A and K etc IN Input data address the address can be X Y G R F A K and D etc OUT Parity check result output address it can be Y G R A and K etc eExample AA Explanation If PARI is executed when X0003 3 1 OE 0000 parity check is performed When R0010 0 1 ROO30 0 is reset to 0 parity check is not performed When R0010 0 0 parity check is performed ROO30 0 is O when R0020 data contains even parity ROO30 0 is 1 when R0020 data contains odd parity 1 4 14 ADDB Binary Addition eFunction It adds the binary data eFormat 25 Sr WW BIE GSK988TA TA1 TB Turning Center CNC System PLC User Manual ALT eControl conditions ACT 1 OUT IN1 IN2 If error occurs ERR 1 otherwise ERR 0 ACT 0 does not execute instruction OUT and ERR do not change eParameters SIZE 1 1 byte 2 2 bytes 4 4 bytes IN1 Augend it can be constant or address The addresses are R X Y F G A K D T C DC and DT etc IN2 Addend it can be constant or address The addresses are R X Y F G A K D T C DC and DT etc RST When RST 1 the ERR is reset to 0 OUT does not change The addresses are R X Y F G A and K OUT Address of operation result output data The addresses can be Y G R A K DC DT D C and T etc ERR Address of calculation error output the addresses can be Y G R A and K
39. 000 0000 1111 7 6 5 4 3 2 1 0 ey Im en eSignal addresses 2 3 1 3 Rapid Traverse Selection Signal RT G19 7 eSignal type PLC NC eSignal function It selects the rapid traverse speed in manual mode PLC sets RT to 1 after receiving the manual rapid traverse input signal and transmits it to NC During manual rapid traverse when RT is switched from 1 to 0 or from O to 1 the feedrate reduces to 0 and then increases to the specified value During acceleration deceleration the status of feed axis signal and direction selection signal remain unchanged eSignal address 7 6 5 4 3 2 1 0 E A O O A 2 3 2 MPG Feed In MPG feed mode the tool can be minutely moved by rotating the handle An axis can be selected according to the MPG axis selection signal 2 3 2 1 MPG Feed Axis Selection Signal HS1A HS1D G18 0 G18 3 HS2A HS2D G18 4 G18 7 eSignal type PLO gt NC eSignal function lt selects the MPG feed axis PLC assigns values to HSnA HSnD after receiving the MPG feed axis input signal NC selects the corresponding axis according to the HSnA HSnD signal status The relationship between these signals and MPG feed axis is shown as follows HSnD HSnC HSnB HSnA Feed Axis o o o of nme of o o ft II ofo EES oo ft ft Aes ot o 0 Awa pot fo pt as 56 Chapter 2 PLC Signals eSignal addresses 7 6 5 4 3 2 1 0 san Tee were waza wow 950 Were Tee
40. 0000000 00000101 as listed above eSignal addresses 7 6 5 4 3 2 1 0 Mbit7 Mbit15 Mbit23 Mbit31 2 7 1 2 Decode M Signal DMO00 F9 7 DM01 F9 6 DM02 F9 5 DM30 F9 4 eSignal type NC gt PLC valid when itis 1 M02 MO3 commands are executed the corresponding eSignal function When MOO M01 Mbit6 Mbit14 Mbit22 Mbit30 Mbit5 Mbit13 Mbit21 Mbit29 Mbit4 Mbit12 Mbit20 Mbit28 Mbit3 Mbit11 Mbit19 Mbit27 Mbit2 Mbit10 Mbit18 Mbit26 Mbit1 Mbit8 Mbit17 Mbit25 Mbit0 Mbit8 Mbit16 Mbit24 decoding signal DMOO0 DM01 DMO2 DMO3 are set to 1 Program Output command signal DMOO wot o MO2 DMO2 ua eNote The M decoding signal is set to 1 under the following conditions The corresponding miscellaneous function is specified and other movement command and program stop command have been executed in the same block When NC receives the FIN signal prior to the execution of movement command and program stop command the M 73 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual decoding signal is not output The M decoding signal is under the following conditions FIN signal is 1 or CNC is reset eSignal addresses 7 6 5 4 3 2 1 0 DMO DMON EE PON AO 2 7 1 3 Multiple M Commands in a Block CNC allows up to 3 M codes in a block to be output to machine which will shorten the machining time compared with traditional metho
41. 10 1 are 1 the stored stroke check 3 is performed eSignal address 7 6 5 4 3 2 1 0 P AA 2 3 Manual Operation 2 3 1 Manual Feed Incremental Feed Manual feed In MANUAL mode when the feed axis signal and direction selection signal on the operation panel are set to 1 the tool continuously moves on the selected axis along the selected direction Incremental feed In incremental mode when the feed axis signal and direction selection signal on the operation panel are set to 1 the tool moves one step on the selected axis along the selected direction The minimum movement distance is the least input increment Four override values 0 001 0 010 0 100 1 000 are available The only difference between manual feed and incremental feed is the way of selecting feed distance In manual feed when the feed axis signals and direction selection signals J1 J1 J2 J2 J3 J3 are 1 the tool can feed continuously In incremental feed the tool feeds in steps When manually turn ON the rapid traverse the tool feeds at the rapid traverse speed In incremental feed mode the step distance can be selected by MP1 MP2 2 3 1 1 Feed Axis signal and Direction Selection Signal J1 J5 G100 0 G100 4 J1 J5 G102 0 G102 4 eSignal type PLO gt NC eSignal function lt selects the feed axis and direction in manual feed mode or incremental feed mode NC sets the corresponding axis and direction selection signal to 1
42. 10B ElD18B ElD26B EID2C EID10C EID18C EID25A EID1B EID9B ElD17B ElD25B EID1C EID9C EID17C ElD24A EIDOB EID8B EID16B EID24B EIDOC EID8C EID16C Chapter 2 PLC Signals EID15D EID14D EID13D EID12D EID11D EID10D EID9D EID8D EID23D EID22D EID21D EID20D EID19D ElD18D EID17D EID16D EID24D EID31D EID30D EID29D EID28D EID27D ElD26D EID25D 2 11 3 5 Axis control Command Read Signal EBUFg G140 7 G150 7 G160 7 G170 7 eSignal type PLC NC 7 6 5 4 3 2 1 0 EID7D EID6D EID5D EID4D EID3D EID2D EID1D EIDOD eSignal function It instructs the CNC to read the command data block used for PLC control When the signal is turn from O to 1 or from 1 to 0 the detailed running procedures is described in Basic Procedures eSignal addresses em em em 7 6 5 4 3 2 1 0 EBUFA EBUFB EBUFC 2 11 3 6 Axis Control Command Read Completed Signal EBSYg F140 7 F150 7 F160 7 F170 7 eSignal type NC PLC eSignal function It informs the system that CNC has read one command data block and stored in the buffer Refer to section Basic Procedures for the details of output condition and procedures eSignal addresses 7 6 5 4 3 2 1 0 EBSYA EBSYB EBSYC EBSYD 101 Sr WIFE GSK988TA TA1 TB Turning Center
43. 22 PHONO EXECUTION eege ee 116 3 3 Output Input Signal ProCceSSIng cccccsssccccsssseccccssseccccssseccccsssecccesssececessecceseeseees 116 5 5 0 INDUC SIC al PROCESSING EE 117 323 2 OUtputsienal POCOS Eet ee ee See 117 539 3 Short PUISE Sig tall ge Te EE 118 SOF Eer ig een 118 34 PEC BASIC dee de CG 118 Sal A hee e 118 342 Ereationor Ladder DIAS ia EE 119 Sek AS 119 CHAPTER 4 INSTRUCTION OF GSKLADDER cccccccssssccscscsssccccscsscecccsessecceceess 121 4 1 Screen DiSplay a a eee ree eee 121 4 2 Main Menu COMMANdO E 122 A E EE 122 4 PAIS ml EN EE 125 A NICWN MENU AA 130 MA PLEMENU E 133 o a o KE EE 133 XV Sr WW Bx tes GSK988TA TA1 TB Turning Center CNC System PLC User Manual 4 3 Maihi MENU COMManGS wise seseina anaa a Ea a R a eaa 133 Aod Standard TOODA eane a a a da dc ened etal a A 133 432 Ladder Edit 100 DAN EE 134 WEN E Le ere View Toda EE 135 E We Ne LE 136 DAL NEM ODEN AIG WIN AS AAA AA AA A 136 BA D gt ladder a a 137 4 4 2 1 Create Rename or Delete a Gubporogram NEEN 137 44 22 M dify Block MOrmatoN A ETE E 138 e Add NetWork ena EE 138 AA A E I R 139 4 4 3 1 Create Rename and Delete a Symbol Table 139 4432 gt gt ymbol Table Eolica iaa 140 14 350 Usage or ni el Siria is da cadi S 141 e E E WT RE TIDE AA A AAA AAA 141 AAA Kyau SOT aa A A A a 142 444 2 Editor InitData Table D DT DO hundida did 142 4 4 4 3 Create Rename or Delete InitData Table enneren deed eeg
44. 3 2 1 0 EZA AAA Tool compensation selection signal OFNO OFN5 G39 0 G39 5 eSignal type PLC gt NC eSignal function tool compensation number selection eSignal address 7 6 5 4 3 2 1 0 KR KEE 2 10 5 Directly Input Function of Tool Compensation Measurement Value Position record signal PRC G40 6 eSignal type PLC gt NC eSignal function The used signal when the tool compensation measurement value is directly input When the signal becomes 1 capture the uprising edge of this signal store the current position of the overall axes at this moment eSignal address 7 6 5 4 3 2 1 0 640 AR SS 2 11 PLC Axis Control Function 2 11 1 General PLC can be independent from the CNC to control the specified axis in another word it enables a tool to move on a axis which is not controlled by CNC for example to specify a move distance and feedrate Besides tool post exchange worktable indexing worktable and other peripheral devices are controllable The maximum controlled axis number is 6 Parameters No 1010 and No 8010 set the controlled axis number for CNC and PLC respectively Whether an axis is controlled by CNC or PLC is determined by axis control signal EAX The following operation can be done by PLC directly 1 Rapidly traverse the specified distance 2 3 4 Dwell Cutting feed per min move the specified distance 5 Continuous feed Cutting feed per rotation
45. 3 2 1 0 LA IO O O E II O O Gear selection signal GR1 GR2 G28 1 G28 2 eSignal type PLC NC eSignal function It informs the CNC the current gear Refer to the description above for details eSignal addresses 7 6 5 4 3 2 1 0 928 Lelleg Constant surface speed signal CSS F2 2 eSignal type PLC NC eSignal function When the signal is 1 it means the constant surface cutting speed control mode G96 is executing when it is O it means the mode is not executing eSignal address 7 6 5 4 3 2 1 0 ze EEE eee eee ee Spindle speed arrival signal SAR G29 4 80 Chapter 2 PLC Signals eSignal type PLC NC eSignal function It informs the CNC that the spindle speed has reached the specified value eSignal address 7 6 5 4 3 2 1 0 KR PO A ed Echt ll A o Spindle motor speed selection command signal SIND G33 7 eSignal type PLC NC eSignal function It is used to select the speed command of spindle motor SIND 1 selects the soeed command transmitted from PLC 0 selects the speed command transmitted from CNC i e the spindle speed specified by S command eSignal address 7 6 5 4 3 2 1 0 G33 An EE The 1 spindle S12 digits code signal R010 R120 F36 0 F37 3 eSignal type CNC PLC eSignal function It converts the spindle speed command calculated by CNC to code signals O OXFFF eSignal addresses 7 6 5 4 3 2 1 0 IO AE ee ee er ee E The 1 spindle motor
46. 3bit1 M3bit0 M3bit15 M3bit14 M3bit13 M3bit12 M3bit11 M3bit10 M3bit8 M3bit8 MF3 MF2 eSignal type NC gt PLC eSignal function When S command is executed NC sets the corresponding S code signal to 1 and 2 2 Spindle Speed Function S Function relevant instructions about to the output conditions and process between S command and binary code of code signal is shown as follows F25 F24 F23 00000000 F25 F24 F23 00000001 SOL F25 F24 F23 00000010 S00 S01 F25 F24 F23 00000011 F25 F24 F23 00000100 eSignal addresses Spindle speed code signal S bit00 S bit31 F22 F25 Spindle speed strobe signal SF F7 2 SF is 1 then NC sends the signal to PLC for logic control Please refer to the The relation 75 Sr 113 I GSK988TA TA1 TB Turning Center CNC System PLC User Manual 7 6 5 4 3 2 1 0 F22 Sbit07 Sbit06 Sbit05 Sbit04 Sbit03 Sbit02 Sbit01 Sbit00 F23 Sbit15 Sbit14 Sbit13 Sbit12 Sbiti1 Sbiti0 Sbit09 Sbit08 F24 Sbit23 Sbit22 Sbit21 Sbit20 Sbiti9 Sbit18 Sbit17 Sbit16 F25 Sbit31 Sbit30 Sbit29 Sbit28 Sbit27 Sbit26 Sbit25 Sbit24 2 3 Tool Function T Function Tool function code signal Tbit00 Tbit31 F26 F29 tool function strobe signal TF F7 3 eSignal type NC PLC eSignal function When NC specifies T command it sets the corresponding T code signal and TF to 1 and then
47. 4 3 2 1 0 2 11 3 32 Buffer Full Signal EABUFg F141 1 F 151 1 F161 1 F171 1 eSignal type NC PLC 113 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual eSignal function When the input buffer contains a block this signal is 1 eSignal addresses 2 11 3 33 Control Signal EACNT1 EACNT5 F192 0 F192 4 eSignal type NC PLC eSignal function When the control axis selection status signal EAXSL is set to 1 the signals EACNTn of the controlled axis is set to 1 eSignal addresses 7 6 5 4 3 2 1 0 FZ __ Een E ET EAGNT Eeer 114 Chapter 3 Programming CHAPTER 3 PROGRAMMING 3 1 Sequential Program Structuring Sequential program is a program for logic control to machine tool and relevant devices Programs are executed by the sequence in PLC In traditional PLC programs are written in sequence However the GSK988TA 988TA1 988TB PLC integrates the traditional PLC and modern programming method by using structured programming with which methods such as sub program subprogram nesting and conditional branch can be applied It has distinct advantages compared with traditional PLC 3 2 Execution Procedures A written program Ladder can be downloaded via serial ports or U disk CNC will read it after power on and then convert it into a recognizable format so that the CPU can decode and calculate it The PLC sequence control is realized through software therefore the wor
48. 6 Cross Reference List Click Cross Reference label It is used to show the addresses using and assignment conditions in PLC It includes Index Bit and Byte three lists which are uneditable and usually empty The relevant information is generated only after compilation The contents in the three lists will be cleared once the projected is modified Fe GSKLadder 1D2 1d2 Cross Reference Sele li File Edit View PLC P Tool Window Help Haf ae we oe ET ME oe AA E JE OD Lo 3 Function Cora SS A EN refe Symbol X 100 Workspace aX iq Ladder EA symbol table EBinitData Table PE Message List Cross Reference E SS TD2 142 Address Position Context Ea Ladder Network 4 siie ZS LEVEL 1 Level 1 Network 5 SR ZS LEVEL 2 Level 2 ES SubProgram Network 6 Jk BB Symbol Table ee i Block Symbol etwor f E symbol l Network 10 sid K l Network 11 H E gt Network 12 2 a ae Table E Network 10 SU TnitDete Network 10 f D 3 Network 15 Message E Network 13 SE E Cross Reference Network 14 SM Index i Network 116 E Je Bit Network 117 Byte E Network 3 f Ladder Infomation Output Pretreatment Compiling M 4 gt gt Compile Find L IMUM row 0 col 0 4 4 6 1 Index List It is used to display the context of referenced address so that a user can find the address position with ease There are five columns in the
49. 8 bits Address 765439 10 No YOOOO Y0001 Note In the PLC Y addresses only the Y address that is defined by CNC can be read otherwise the address is meaningless 1 2 3 F Addresses CNC gt PLC F address can be read only Address range F0000 F0255 Single byte type Data size 8 bits No FOOOO F0001 S Please refer to the APPENDIX for the detailed functions of F addresses 1 2 4 G Addresses PLC CNC Address range G0000 G0255 Single byte type Data size 8 bits Address No 7T 6 5 4 3 2 1 0 50000 50001 Please refer to the APPENDIX for the detailed functions of G addresses Chapter 1 PLC User Manual 1 2 5 Internal Relay Addresses R Address range RODOO RO999 Single byte type Data size 8 bits This address area is cleared to zero after power on Address No 7 6 5 4 3 2 1 R0000 R0001 Definable addresses T R0899 R0900 NC occupied Y R0999 area 1 2 6 Information Display Request Addresses A Address range A0000 A0024 Single byte type Data size 8 bits This address area is cleared to zero after power on It is used for PLC alarms Address No 7 6 5 4 3 2 1 O ADODO A0001 1 2 7 Holding Relay Addresses K This address area is used for holding relay and PLC parameter setting The data can be saved when power off Address range K0000 K0039 Single byte type Data size 8 bits Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC Us
50. AX5 cannot be changed Any attempt to change these signals will lead to P S alarm No 139 eSignal addresses 7 6 5 4 3 2 1 0 KA Kaes ER ee AN 107 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 2 11 3 18 In Position Signal EINPg F140 0 F150 0 F 160 0 F 170 0 eSignal type NC PLC eSignal function When the corresponding PLC controlled axis is in in position status this signal is set to 1 When the tool decelerates in position check is performed and the next command is executed till the tool moves into the in position area However in position check can be skipped by the bit 6 of parameter No 8004 NCI to reduce the cycle time eSignal addresses 7 6 5 4 3 2 1 0 F170 2 11 3 19 Following Error Zero Checking Signal ECKZg F140 1 F150 1 F160 1 F170 1 eSignal type NC PLC eSignal function When following error zero check or in position check is performed on PLC controlled axis this signal is 1 eSignal addresses 7 6 5 4 3 2 1 0 F170 2 11 3 20 Alarm Signal EIALg F140 2 F150 2 F160 2 F170 2 eSignal type NC PLC eSignal function When a servo alarm overtravel alarm or P S alarm No 130 and No 139 occurs this signal is 1 After the alarm is removed and the reset signal ECLRg is 1 this signal is 0 Servo alarm 108 Chapter 2 PLC Signals Remove the alarm and then rese
51. C G6 4 70 eSignal type PLC NC 7 6 5 4 3 2 1 0 eSignal function PLC sets OVC to 1 after receiving the override cancel signal and then transmits it to NC The feedrate override is clamped at 100 eNote When OVC is 1 the CNC performs as follows A The feedrate is clamped at 100 regardless of the feedrate override signal B The rapid traverse override and spindle speed override are not affected by the signal eSignal address 7 6 A RO 4 3 2 1 0 Chapter 2 PLC Signals 2 7 MST Function When the numbers followed address M S T are specified the corresponding code signal and strobe signals are sent to PLC PLC works according to the status of these signals Shown as follows NC gt PLC Program Le tritat iti PLC gt NC Function Code Strobe Distribution address l l End signal signal signal end signal gege Mbit00 ee Mbit3 i SbitO Spindle S SF speed function Sbit31 Tbit31 The process is shown as follows changing M code to S T codes is the process of spindle speed function and tool function A Assume that M XXX is specified in a program an alarm is issued if CNC does not specify the number that followed B After code signal Mbit0O Mbit31 are specified the strobe signal MF is set to 1 and the command value XXX is expressed by code signal in binary system When miscellaneous function is commanded along with other instructions these functions are executed after the code sig
52. C axis FIDOB EID31B 21334 control group 2 G160 0 PLC axis miscellaneous function EFINC 243315 completion signal PLC group 3 block end signal G160 7 PLC group 3 control command read signal EBUFC 2 13 3 5 G161 0 G161 6 PLC group 3 axis control signal ECOC EC6C 2 13 3 2 G161 7 PLC group 3 block stop disabled signal EMSBKC 2 13 3 10 G162 G163 Axis control feedrate signal PLC axis EIFOC EIF15C 214333 control group 3 Axis control data signal PLC axis G164 G167 EIDOC EID31C 2 13 3 4 control group 3 6170 0 PLC axis miscellaneous function EFIND 243315 completion signal PLC group 4 axis control pause signal G170 7 PLC group 4 control command read signal EBUFD 2 13 3 5 G171 0 G171 6 PLC group 4 axis control signal ECOD EC6D 2 13 3 2 G171 7 PLC group 4 block stop disabled signal EMSBKD 2 13 3 10 G172 G173 Axis control feedrate signal PLC axis EIFOD EIF15D 21333 control group 4 G174 G177 Axis control data signal PLC axis contro EIDOD EID31D 21334 group 4 G201 Current tool position signal NTOO NTO7 st G254 0 ne Spindle contour control switching CONS signa nd f G254 1 me g Spindle contour control switching CONS signa rd i i G254 2 ie Spindle contour control switching CONS3 283 signa 150 Appendix 2 F Signals List APPENDIX 2 F O A List Address rewinding FO4 Feed dwell Feed dwell signal 2 5 1 4 SA 212 For Auto running signal Jg pss 2522 Spindle enable signal
53. CNC System PLC User Manual 2 11 3 7 Reset Signal ECLRg G140 6 G150 6 G160 6 G170 6 eSignal type PLC NC eSignal function To reset the corresponding PLC controlled axis When this signal is 1 the following operation is to be executed 1 When the tool is moving along axis tool decelerates till stops 2 When the tool is in dwell state operation is stopped 3 When miscellaneous function is being executed stop the operation Meanwhile all the buffer commands are cleared When the signal is 1 any control command is ignored When all these commands are forced to stop the servo motor decelerates till stops the axis motion signal EGENg is set to O and the control axis selection status signal EAXSL turns to 0 Do NOT set ECLRg to O until the EAXSL turns to O eSignal addresses G150 ECLRC G170 ECLRD 2 11 3 8 Axis Control Pause Signal ESTPg G140 5 G150 5 G160 5 G170 5 eSignal type PLC NC eSignal function When this signal is set to 1 the following procedures are executed 1 When tool is moving along an axis tool decelerates till stops 2 When the tool is in dwell state the operation stops 3 When the miscellaneous function is being executed when miscellaneous function completed signal EFINg is input the operation stops The operation can be re started when the signal is set to 0 eSignal addresses 7 6 5 4 3 2 1 0 ER es
54. COUNTE aia aia diia cd 16 1 40 MOVIN Binary Data TN Sa Jonisastandzawaiwanianiedunanin Gcaouens 18 TAL DECBABIAY DECO si A AS A ad 19 148 CODB Binary Code e e DEE 19 TAO JIMPB Label TEE 21 E T E ches vetoes S E adhe E A T TN 21 TATL CALE Subprogram Call EE 22 14 12 ROT Bihary Rotation Control serene a ra ee EEN 22 1413 IPARIMParnty CASO E 25 LA14 ADDBABINGrY AGAIION aere an 25 LAS SUBBA Binary eg e Le ME 26 14 16 DIEU Rising Ede Ee e E 27 1417 DIFDD Falling Edge Detection EE 28 L413 AIT Atema Ve OU TOUR EEN 28 OS D Ee MET Ba Vue elteren 29 1 4 20 WAND Binary Byte AND 29 14 21 WOR Binary Byte OR NEE 30 1 422 WXOR Binary Byte Eeer 31 144235 CR Bildly Byte Ives linia E Sa 32 LA24 WSAL Binary Data SHIFE Lets 32 1425 AVSHR Binary Data SIRIO sita idas 33 1 4 26 MULB Binary Data Multoltcation 34 t427 gt DIVB1BINary Data DIVISION a a 35 1 4 28 WINDR Read the CNC Window Functon 36 EN ARCTESPECANS Contro FUNCION NES 43 CHAPTER Z PEC ET 49 21 CONTORNO hee 49 List AEE E e VIS La E 49 Ze Wee ele ege EE 49 Zee AXIS MOVING DIFECUON SIN Nuria 49 DA ZA SOI OREA EN aana aa iodo 49 2 2 Operation Preparatoria as ld 50 Z 21M EMEEN Oido Ee 50 222 ENE Te VT EEN 50 223 Alam EE 50 ZLA Node elec Maa RANA RN 51 22 41 Mode Selection signal nuda csi 51 2 2 4 2 Working Mode Check Gonal EE 51 2 2 4 3 Working Mode Signal Sequence EEN 52 2 23 2 STATUS DUI SA NS AS A A TARA 52 ER Ce ne RR e EE
55. CT 1 AND is performed on the contents of IN1 IN2 the result is output to OUT eParameters SIZE Specifies the size of address IN1 IN2 1 2 4 bytes IN1 IN2 The start address or constant of input data the addresses are R X Y F G K A D T C DC DT OUT Address of output result The addresses can be R Y G K A D T C DC DT eExample ek Explanation When X0003 3 1 ANDs the data 8 digits in XO and 15 binary 00001111 the result is stored in R10 For example when X0003 0 1 and X0 11000110 after the WAND instruction is executed the result in R10 is 00000110 1 4 21 WOR Binary Byte OR eFunction It ORs two input data 1 2 4 bytes by bit The result is output to the OUT eFormat ALT eControl conditions ACT 0 OUT value remains unchanged ACT 1 ORs the contents of IN1 IN2 and the result is output to OUT eParameters SIZE Specifies the size of IN1 IN2 addresses 1 2 4 bytes 30 Chapter 1 PLC User Manual IN1 IN2 The start address or constant of input data The addresses can be R X Y F G K A D T C DC DT OUT The address of output result The addresses can be R Y G K A D T C DC DT eExample Ao Explanation When X0003 3 1 ORs the data in XO 8 digits and 15 binary 00001111 and stores the result in R10 For example when X0003 3 1 and XO is 11000110 after the WOR instruction is executed the result in R10 is 00001111 1 4 22 WXOR Binary Byte
56. Ctrl uU Insert Network Down Ctri I Delete Rov Ctrl Del Delete Network Delete Selected Delete Cell Delete a cell of ladder diagram where the cursor located by using key Delete or clicking the Se on the Ladder Edit Toolbar Delete Vertical Line Delete the vertical line on the left side of the cursor by clicking the L on Ladder Edit Toolbar 127 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Insert Row Up Insert a row above the cursor position by using keystroke of Ctrl T Insert Row Down Insert a row below the cursor position by using keystroke of Ctrl R Inset Network Up Insert a network above the cursor position by using keystroke of Ctrl U Inset Network Down Insert a network below the cursor position by using keystroke of Ctrl l Delete Row Delete the row at cursor position A blank row will be inserted if there is only one row in the current network Delete Selected Delete the selected region by using key Delete A network will be inserted if the current block is empty after deletion Delete Network Delete the network at the cursor position Cell There is a sub menu subject to the Cell Shown as follows Insert Delete Contact Function Commands Coil h Horizonal Line wWertical Line Parallel Contact Contact Add a contact normally closed normally open contacts
57. FIN signal and sets the strobe signal to 0 3 When AFL is 1 M01 M02 MO3 commands can be executed and the corresponding code signal strobe signal decoding signal are output in the normal way 4 When AFL is 1 the miscellaneous function M98 M99 are executed normally but the result is not output 5 When AFL is 1 the spindle analog value can still be output eSignal address 7 6 5 4 3 2 1 0 Les CO CA o E E 2 7 5 2 Miscellaneous Function Lock Check Signal MAFL F4 4 eSignal type NC DLC eSignal function When CNC is in the of miscellaneous function locked state MAFL is set to 1 and then is transmitted to PLC eSignal address 7 6 5 4 3 2 1 0 BE WER ASES 78 Chapter 2 PLC Signals 2 8 Spindle Speed Function 2 8 1 Spindle Speed Control S command is used to specify the analog spindle speed controlled by CNC For the constant surface speed in G96 mode CNC converts the specified surface speed to spindle speed CNC can output the S command value and SF strobe command to PLC Spindle stop signal SSTP G29 6 eSignal type PLC NC eSignal function It stops the output of spindle speed command and sets the S command in NC to 0 The sequence is shown as follows eNote When spindle stop signal SSTP is 0 the output voltage is changed to OV When the signal is 1 the analog voltage output is the command value When this signal is not used it is set to 1 so that the CNC can execute spindle speed
58. Fig 1 17 Except for K value other values are addable and deletable 4 4 4 1 K Value Setting The parameter page for K value setting consists of parameters sorted by column Each parameter consists of sequence number and data As the parameters cannot be displayed in one page they may be divided into several pages and the page number and parameter numbers of each page depend on the size of view area Turn the pages by clicking the forward or backward buttons on the lower right corner or pressing PageUp and PageDown There are two lines of notes in green at the bottom of the page one is the note for bit and the other is the notes for individual parameter These notes are not preset in the software but user defined which means users can add or edit these notes in symbol table K value setting is edited in bits To modify a bit you need to double click the bit or move cursor the bit then press Enter 4 4 4 2 Edit of InitData Table D DT DC d Ea Ladder ER symbol table ES InitData Table Ef Message List Cross Reference Address Value Min Max Symbol Comment 1 DTOOZ3 1000 D 60000 2 tooo s0000 O Clear Row 3 O sett Row Up 5000 0 60000 4 Insert Row Down 10000 0 000 Delete Row 60000 0 10000 BTM 3600000 0 5000 T 170011 60000 0 Sono E ITOO10 2000 0 2000 Edit of Rows Right click a row header of the InitData Table a menu will pop up Click Clear Row the contents in the row will then be cleared click In
59. O 2 FAzi STOPLE LG Exit New You can create a new project by using the keystroke of Ctrl N or clicking 8 on the standard toolbar The newly created project will be named GSKLad is a digit The project should be stored in disk by clicking Save then a Save as dialogue box will pop up Enter a proper name and savepath and then click OK to save Open You can open an existing project by using keystroke of Ctrl O or clicking on the standard toolbar then a dialogue box will pop up Select the desired project then click Open to open the project Look in SE pm Mu Recent GSKLadl LA Documents i Desktop Mu Documents Mu Computer be E a Berane GSELadi 1a A Mu Network Files of type D 142 1PLC M1 122 Chapter 4 Instruction Of Gskladder Close This command is used to close the current open project If the project is not saved a hint will pop up to confirm whether to save the current project Save You can save the current open project by using keystroke of Ctrl S or clicking lal on the standard toolbar Save As The current project can be backed up and saved as another file When this command is executed the following dialogue box will pop up Fill in a proper name and save path and then click Save a 142 EK 8 b 142 Mu Recent 18 GEL adi 1d Documents vx 142 Desktop Mu Documents WI Mu Computer q My Network Save as t
60. R0100 value 1 byte to G0043 Chapter 1 PLC User Manual 1 4 7 DECB Binary Decoding eFunction DECB decodes binary code data When one of the specified eight consecutive numbers matches the code data the corresponding output data is 1 if these numbers do not match the output data is 0 This instruction is used for decoding data of the M or T function eFormat SEA 1 SIzE CUTPRIO eControl conditions ACT 0 Reset all the output data bits 1 Compare the values in IN with one of the eight consecutive data started with BASE If they are equal the corresponding bit in the output address OUT is set to 1 eParameters SIZE Specifies the size of IN1 address 1 2 4 bytes IN Start address of decoding The addresses are R X Y F G K A D T C DC and DT etc BASE Compares the basic values of constants OUT Outputs the comparison results The addresses are R Y G K and A etc eExample Al 1 SIzE CQUTPRIO When X0002 1 1 If FO010 8 ROO10 0 1 If FOO10 9 ROO10 1 1 If F0010 15 ROO10 7 1 1 4 8 CODB Binary Code Conversion e Function It converts data in binary format eFormat 19 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual ALT eControl conditions ACT 0 The values in OUT remains unchanged 1 Take the values in Convert input data address IN as the sequence number and obtains the corresponding conversion data from the conversion table t
61. Rapid traverse signa af MPG mode check sna Im oe FA 4 BEE function lock MAEL 2752 check signal FA 5 MACANE zero return mode MREF 2240 check signal Fea as resetting confirmation signa mn Le upon the MDI SSES SE 2526 Miscellaneous function strobe F7 0 MF 2 1 1 1 signal Spindle speed function strobe signal Tool function strobe signal miscellaneous functio 2713 s i signal miscellaneous functio 2713 sei signal 151 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Address Signal 1 Symbol F9 4 F9 5 2 1 1 2 2 1 1 2 F9 6 Le F9 7 271 2 F10 F13 Miscellaneous function code signal MOO M99 2 1 1 F14 F15 2M miscellaneous function code M200 M299 2713 signal F16 F17 cd function code M300 M399 2713 F22 F25 Spindle speed code signal S00 S31 Decode M signal F26 F29 Tool function code signal TOO T31 2 7 3 F36 0 F37 3 The 1 spindle S12 digit signal RO10 R120 F38 2 The 2 spindle enable signal ENB2 F40 F41 The 1 spindle actual speed signal AROO AR15 F441 Spindle contour control switching FSCSL 283 completion signal F62 7 Target parts count reached signal PRTSF F94 0 F94 4 Machine zero return end signal ZP1 ZP5 2 4 1 1 FOG 0 F964 The a reference point return end 7p94 ZP25 2411 signa FO8 0 F984 The 3 reference point return end 7P31 ZP35 2411 signal th F100 0 F100 4 E i reference point return end 7544 ZP45 24 1 1 signa F102 0 F102 4 Ax
62. SRGTSPARGTSPT TT Spindles stop signal SSTP1 G27 3 SSTP2 G27 4 82 Chapter 2 PLC Signals SSTP3 G27 5 eSignal type PLC NC eSignal function It stops all the spindles Only valid for multiple spindles SSTP1 1 Do not output 0 rev min to the 1 spindle 0 Output O rotation min to the 1 spindle SSTP2 1 Do not output 0 rev min to the 2 spindle 0 Output O rotation min to the 2 spindle SSTP3 1 Do not output 0 rev min to the 3 spindle 0 Output O rotation min to the 3 spindle eSignal address 7 6 5 4 3 2 1 0 Gear selection signal GR11 G28 1 G28 2 eSignal type PLC gt NC eSignal function The gear selection of the 1 spindle Data parameters No 3741 No 3744 are set the 2 spindle its relationships between signal and gear are shown as follows GR1_2 GR1_1 gear Parameter No for the max speed of the 1 spindle ESE See AS i AA MES A IL ee eSignal address 7 6 5 4 3 2 1 0 LES rr O ee ee ee E E GR21 G29 0 G29 1 eSignal type PLC NC eSignal function It selects the gear of the on spindle when the multiple spindles are installed Data parameter No 3741 No 3744 sets the 2 spindle The relationship between signal and gear is shown as follows Parameter No for the max speed of GR2_2 GR2_1 gear acc the 2 spindle data data parameters No 3741 No 3741 aa parameters No 3742 data parameters No 3743 AO O CO enea 83 Sr WIFE GSK988
63. Son 64 25 Machine Te E 64 Zo JAllFAMIS Machine Lock SIN anita deene eege eege eege eg 64 25 3 2 AllsAxis Machine Lock Check Signal iii ias 65 A e 65 E EY IRI A A O A 65 2042 DN RUN ENCINA iia 66 245 5 A ERC 66 zo 31 Single Block SIG Mal xisciassuscersascieassserditoacieinra svat oauseebe manta tavetaestacetanlmnesaitnalaiadaaadiarannnetuannasaine ans 66 20 02 OMe BICK CMOCK SIGMA EE 66 23 67 Optional BIOK SK E 67 25 6021 Optional ee SIGH alas eegene 67 2 5 6 2 Optional Block Skip Check Signal ccooooccccccnooccnccnononnnocononannnnconnnnnnconnnononnconnnnnnnccnanonnnos 67 2577 Manual e EE Teen WEE 67 ZAV Manual ADSOMWME SON lila AAA 68 2 5 7 2 Manual Absolute Check Signal ocococooccconooocccnnonncnnancnnonononcnnononnnncanonnnnono nn cnn nnononornnnnons 68 XII List 207 Fecdrate CONO siciliana iiada ii 68 20 LB Rapa TVE EN LA A AA AR A AA EAS 68 2 62 Rapid Traverse OVER dias 69 220 3 ee alli ida 69 2GA Overrde Cancel SIN iii A tia 70 Sot MST EuGH EE 71 2 7 1 Miscellaneous Function M FUNCTION cccseecccceeseecceceeeeeccceeeeececseeeesecseeeeeseccessueeeceeseueaeceetseenseeeeees 72 2 7 Ast G de Signaland strobe SIGMA E 72 2 T2 Decode MiS asias E 73 2 7 1 3 Multiple M Commands mablock EE 74 2 7 2 Spindle Speed Function S FUNCTION cccccccsssssseeecceeceeeeesseecccceecaueeeececeeseeeaseseeecceseeaaesseeeeeeesseeaneseeeees 75 Zas VOOM PUM CIO MS Re
64. TA TA1 TB Turning Center CNC System PLC User Manual eSignal address 7 6 5 4 3 2 1 0 629 eebe O O O E E E GR31 G29 2 G29 3 eSignal type PLC gt NC eSignal function It selects the gear of the gr spindle when the multiple spindles are installed Data parameter No 3741 No 3744 sets the 3 spindle The relationship between signal and gear is shown as follows GR3_2 GR3_1 gear Parameter No for the max speed of the 3 spindle data parameters No 3741 ae pesos EN MES E cta ME eSignal address 7 6 5 4 3 2 1 0 The 2 position encoder selection signal PC2SLC G28 7 eSignal type PLC NC eSignal function It selects the position coder PC2SLC 1 Selects the feedback pulse obtained from the 2 spindle encoder 0 Selects the feedback pulse obtained from the 1 spindle encoder eSignal address 7 6 5 4 3 2 1 0 KR LEE EE The 2 spindle enable signal ENB2 F38 2 eSignal type NC PLC eSignal function It informs the PLC whether the command signal is output to the 2 spindle It is used as the condition of stopping the analog spindle ENB2 1 Enables the 2 spindle speed control 0 Does not enable the 2 spindle speed control eSignal address 84 Chapter 2 PLC Signals 7 6 5 4 3 2 1 0 F38 ENB2 The 2 spindle motor speed selection command signal SIND2 G35 7 eSignal type PLC CNC eSignal function It selects the speed command of the 200 spindle
65. When one of the commands is selected the edit window will pop up Click OK after edition then the command will be added to the desired position Take SET command for example click EditR Function Commands Bit Logic SET then the following edit window will pop up The left side of the window is parameter list Parameter value can be entered in the second column and will be displayed in red when it is erroneous the right side of the window is the comment for the selected parameter 129 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual SEIT Keep Hit On Parameter Comment seg output Bit dch HE EENEG All Function Commands You can also add function commands by clicking f on the Ladder Edit Toolbar A dialogue box will pop up for selection Function Commands E Select in the left list or input the Function Command in ADDE right edit box ALT i CALL Search In Data List CMF i CTRC DEC DIFIO DIEU DIVE The function commands are selectable in the left side and can also be entered in the edit box Double click the command or click OK after entering the command The execution result is the same as executing the commands in submenus 4 2 3 View Menu Ia Ele Edit view PLC P Workspace CUDDUT Toolbar Statusbar Ladder wiew Tool Window Help The last item in the menu Ladder View is displayed only in Ladder View Workspace Di
66. XOR eFunction It XORs two input data 1 2 4 bytes by bit and outputs the result to OUT eFormat ALT eControl conditions ACT 0 OUT value remains unchanged ACT 1 XORs the contents of IN1 IN2 and outputs the results to OUT eParameters SIZE Specifies the size of addresses IN IN2 1 2 4 bytes IN1 IN2 The leading byte of input address or constant of the data It can be R X Y F G K A D T C DC DT OUT The address of result output The address can be R Y G K A D T C DC DT eExample AIA Explanation When X0003 3 1 XORs the data in XO 8 digits and 15 binary 00001111 the result is stored in R10 For example when X0003 3 1 and XO 11000110 after the WXOR instruction is executed the result in R10 is 00001001 31 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 1 4 23 WINV Binary Byte Inverse eFunction It stores the data or constant of input address inversely into the OUT eFormat ALT TINY SIZE OUT IN eControl conditions ACT 0 OUT value remains unchanged ACT 1 stores the inversed value of IN into OUT eParameter SIZE The size of data 1 2 4 bytes IN The leading byte of input address or constant of the data The address can be R X Y F G K A D T C DC DT OUT Output address lt can be R Y G K A D T C DC DT eExample LERS WTA IqSIZzE CUTPRIO AON Explanation When X0003 3 1 inverses the data 8 bits i
67. ae This User Manual is the PLC of GSK988TA 988TA1 988TB series Turning Machine CNC System ds This user manual describes all proceedings concerning the operations of this CNC system which is GSK988TA 988TA1 988TB in detail as much as possible However it is impractical to give particular descriptions for all unnecessary or unallowable system operations due to the manual text limit product specific applications and other causes And therefore the proceedings not indicated herein should be considered impractical or unallowable Ka This user manual is the property of GSK CNC Equipment Co Ltd All rights are reserved It is against the law for any organization or individual to publish or reprint this manual without the express written permission of GSK and the latter reserves the right to ascertain their legal liability Sr Wisi GSK988TA TA1 TB Turning Center CNC System PLC User Manual PREFACE Your Excellency It s our pleasure for your patronage and purchase of this GSK GSK988TA 988TA1 988TB CNC system made by GSK CNC Equipment Co Ltd This Manual is the PLC of the GSK988TA 988TA1 988TB Series Turning Machine CNC System which introduces the detailed PLC user manual signal manual programming compilation as well the introduction of the GSKLadder software In order to guarantee the product is operated with a safe normal and effective situation it is necessary to carefully read this manual before installing and u
68. al LDI Read normally closed contact status E ss a ae BEE elnstruction explanation A LD LDI instructions are used to connect the contact to the bus Other functions can be used on the branch start point along with the following ANB instruction B OUT instruction is used to drive the output relay internal relay coil It cannot be used in input relay C Parallel OUT instruction can be used repeatedly D OUTN instruction inversely outputs the drive condition Other usages are the same as OUT eProgramming example A0002 1 0003 FU 00 501 20 0 Explanation Read the status of X0002 1 if it is 1 YOOO3 7 is output Read the status of FO100 3 if it is O GO120 0 is output 1 3 2 AND ANI eMnemonics and functions Symbols Normally closed contacts in series elnstruction explanation AND and ANI instructions can connect one contact in series The serial contact number is not limited This instruction can be used repeatedly eProgramming example AUOO2 1 OOOS F0700 3 Explanation Read the status of X0002 1 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Read the status of FO100 3 and connect it with the status of X0002 1 in parallel Read the status of X0008 6 and connect the previous two in parallel When the X0002 1 and X0008 6 are 1 and FO100 3 is 0 YOOO3 7 is output 1 3 3 OR ORI eMnemonics and functions Functions Symbols Normally o
69. and format are not limited and can be empty as well There is exceptionality it is allowable to input address and note without symbol It can be regarded as note for the address however it is not allowed to input symbol instead of address the symbol is regarded as invalid 4 4 3 3 Usage of Symbols The usage of symbol is pretty easy When you edit cell just input a symbol as a parameter Symbols can be used before they are defined Contact Coil y SET Eeep Bit On Comment Tyre Addr Value Output Bit Operands T G R E A Address Symbol When a parameter is displayed in Address view the symbols which represent the parameter are displayed in blue if the symbols are invalid or undefined they are displayed in red In Symbol view or Address Symbol view symbols are black when the parameter is correct when the mapping address type is not the required one the symbol is orange symbols are red when they are incorrect or undefined Network 1 EX SET 44 4 InitData Table Click InitData Table label to switch to the corresponding frame window which includes two different edit screens parameter screen and table screen Parameter K screen is used to set the K value and data table screen is used to input the initialized data of D DT and DC The default screen is K value 141 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual setting which is fixed and un removable see
70. are also output Absolute coordinate unit Imputunit PR Ri 600007 ra End code explanation 1 Normally read 4 The selected axis is disabled 5 Read the mechanical position of each axis machine tool coordinate value Read the machine tool coordinate of each axis eo Data input Initial Add 0 Function code 28 2 Data Size i 4 Data attribution Axis selection 5 Channel number Ml 41 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual o Axis selection Initial Add Function code End code Data Size Data length explanation e Data output Data attribution Channel number data area Machine tool coordinate Data length explanation When the selected axis is arbitary one the data length is 1 When the selected axes are the whole axes the data length is n n is the Max axis number Absolute coordinate Machine tool coordinate When the whole selected axes are output the coordinate data will be output based upon the sequence of the 1 2 3 4 and 5 and the disabled axes are also output If the system is only used the X Y and C 5 axes the overall axes output will be also performed Machine tool coordinate unit Metric 0 001 mm 0 0001 mm Inch 0 0001 inch 0 00001 inch End code explanation 0 Normally read 4 The selected axis is disabled Cautions 1 During the treatment it devides into high speed window function and the low one which is determin
71. ares the contents of source data 1 and 2 It can be constant or address number but cannot be address bit such as addr b The address number are R X Y F G K A D T C DC and DT etc OUT Compares the output result lt can be R Y G Kand A etc eExample eParameters he 1 l4SIZE OUTP Foti R1001 INi R 00 RRE Explanation When X0002 1 is O the comparison is not performed the states of RO300 0 RO300 1 and RO300 2 remain unchanged When X0002 1 is 1 the comparison result is shown as follows NN RO300 2 RO300 1 RO300 0 ROTO0 gt R0200 HI UL IS a S Roo tS 1 4 4 TMRB Timer eFunction On delay timer the unit is ms eFormat ALT eControl conditions ACT 0 T and OUT are reset 1 T starts from 0 when the PT preset time unit ms is reached OUT 1 The logical relation is shown as follows 15 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual ao OUT d PT eParameters T Timer number Range T0000 T0099 PT Timing constant or the data register started with DT DT setting range 0 21 4748 3647 ms OUT Timer output address can be R Y G K and A etc eExample he 1 Explanation Assume that the current setting value of DT0004 is 100 When X0002 1 is O both TOOOO and RO300 0 are O When X0002 1 is 1 after the TOOOO starts timing and reaches 100 ms set by DT0004 RO300 0 is set to 1 1 4 5 CTRC Binary Counter eFunction The data
72. ations depend on the designs of the machine tool builders Moreover the function configuration and specifications of the CNC machine tool are subject to the manual provided by the machine tool builder All specifications and designs in this manual are subject to change without notice IV Precaution PRECAUTION m Transportation and Storage Do not pile up the carton over 6 layers Do not climb stand on the carton do not place heavy objects on it Do not drag or move the products using the cables connected with the product Do not impact scratch the panel and screen Avoid from the damp the sunshine and the rain on the product carton Unpacking inspection Check whether it is your purchased product after unpacking the carton Check whether the product is damaged during transporting Check whether the components are prepared or damaged comparing with the packing list eo Itis necessary to contact our company immediately if the product type is inconsistent with the packing list lack of accessories or damage in transportation a Wiring e Only the person who executes the wiring and inspection should have the corresponding professional capacity e The product should be reliably grounded and its resistance should be less than 0 10 and can not be used the neutral conductor zero cable to replace the ground wire e The wiring should be correct and firm otherwise possibly causing the malfunction in product or unexp
73. axis is not related to CNC through the bit 2 of parameter No 8001 OVE The calculation method is the same as CNC When all the signals are set to 0 the override is taken as 0 eSignal addresses 7 6 5 4 3 2 1 0 KE 111 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 2 11 3 26 Override Cancel Signal OVCE G137 5 eSignal type PLC NC eSignal function When the bit 2 of parameter No 8001 OVE is 1 the override of PLC is not related to CNC When this signal is set to 1 the cutting feedrate override is always 100 The rapid traverse override will not be affected by this signal eSignal addresses 7 6 5 4 3 2 1 0 6137 re IS E O eee 2 11 3 27 Rapid Traverse Override Signal ROV1E ROV2E G 137 0 G137 1 eSignal type PLC NC eSignal function These signals are used to set the override of rapid traverse The bit 2 of parameter No 8001 OVE sets that the rapid traverse override of PLC is not related to CNC Rapid Traverse Override Signal l ROV2E ROV1E SES SECHER a AA FO is the low speed set by parameter No 1421 eSignal addresses 7 6 5 4 3 2 1 0 RE TROVE 2 11 3 28 Dry Run Signal DRNE G137 7 eSignal type PLC NC eSignal function The bit 2 of parameter No 8001 is used to instruct the dry run When the dry run signal DRNE is set to 1 the specified rapid traverse rate and cutting feedrate are ignored Tool moves at the speed when the dry run s
74. axis to be controlled by DI DO signal group A B C or D When one group is used to control 2 or more axes the parameter setting values related to feedrate rapid traverse rate acceleration deceleration time constant diameter radius linear axis rotary axis of each axis should be identical 2 Set the selection signal EAX1 EAX5 of controlled axis to 1 for direct PLC control 3 Determine the operation type Axis control command signal ECOg to EC6g instructs the operation type Axis control feedrate signal ElFOg to EIF 15g instructs the feedrate Axis control data signal EIDOg to EID31g instructs the move distance and other data These signals together with the block stop disabled signal EMSBKg determine a complete 90 Chapter 2 PLC Signals operation equaling to the execution of a block during CNC automatic operation These signals are called axis control block data signal The PLC controlled axis signal table General Signal Name Symbol Data Type Block stop disabled EMSBKg Bit signal Axis control ECOg EC6g Byte Axis control command signal block data signal Axis control feedrate ElFOg ElF15g Word signal Axis control data EIDOg EID31g Double word signal 4 When a data for managing a complete operation a block is certain the inverse axis controls the logic status of command read signal EBUFg i e from O to 1 or the opposite Therefore the logic status of axis control command read complete sig
75. bling Perform the AXCTL command cable the controllable axis selection signals EX1 EX5 of its corresponding one are set to 1 the signal address is G136 as follows 7 6 5 4 3 2 1 0 Type Sigal input Function When the signal is set to 1 the corresponding axis is controlled by PLC When the signal is set to 0 PLC control is disabled Note The time from setting the control axis selection signals EAX1 EAX5 to 1 to PLC forwarding instructions to CNC should be 8ms at least e AXCTL performance procedure The AXCTL procedure described in the following items are performed inside the AXCTL which does not need to compile this procedure or read write its relevant signal in this case the user can easily debugged the diagnosis after comprehending its relevant procedure 1 When ACT changes into 1 from 0 AXCTL will perform the follow operations a CMD fills the axis controllable command register from ECOg to EC6g b DT1 fills axis controllable feedrate register from ElFOg to EIF 15g c DT2 fills axis controllable data register from ElDOg to ElD159 d Reverse axis controllable read signal EBUFg 45 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Relevant information address Command E l Speed register Data register Axis control Command Read DI DOgroup register EIFOg EIF15g EIDOg EID15g Signal EBUFg EC0g EC6g G142 and G141 0 G141 6 6143 G 144 and G145 G140 7 G152 and 2 G151
76. by using key F1 or clicking 14 on the Ladder Edit Toolbar A dialogue box will pop up for the setting of contact type and address symbol Contact Coil Type Address Symbol KOOO1 2 Coil Add an output coil at the selected position by using key F2 or clicking on Ladder Edit Toolbar A dialogue box will pop up for the setting of coil type and address symbol 128 Chapter 4 Instruction Of Gskladder Contact Coil Type Address Spmbol Horizontal Line Add a horizontal line at the selected position by using key F4 or clicking on the Ladder Edit Toolbar Vertical Line Add a vertical line right to the selected position by using key F5 or clicking on the Ladder Edit Toolbar Parallel Contacts Add a contact at the selected position and add vertical lines at two sides of the contact so as to make it parallel to the contact in the above line Using Key F6 or clicking on the Ladder Edit Toolbar is the way to realize the operation Function Commands The sub menu subject to Function Commands is shown as follows Automatic Split Network Insert Delete d Cell d Function Commands d Bit Logic d Label Jump Timing Count Rotate Shitt Integer Math ZE All Function Commands Submenus There are five submenus including Bit Logic Label Jump Timing Count Rotate Shift Integer Math Each submenu contains multiple function commands
77. check signal a JOG mode check signal MDI mode check signal MMDI 51 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual DNC mode check signal AUTO mode check signal EDIT mode check signal REF mode check signal eSignal addresses F3 MEDT MMEM MRMT MMDI MINC 7 ESOO 2 2 4 3 Working Mode Signal Sequence Working mode key input 420 0 420 1 1 y A202 420 3 420 4 420 5 421 3 0 1 il Working mode selection signal 243 Working mode check signal F3 0 SR A oars oe bees FA bI Working mode indicator 45 3 75 2 1 5 5 5 6 a aAa a 2 2 5 Status Output Rapid traverse signal RPDO F2 1 eSignal type NC PLC eSignal function When CNC is in MANUAL rapid traverse mode axis movement is executed and RPDO is set to 1 eNote RPDO is 1 during rapid traverse and the status remains the same when the feed stops When a mode other than rapid traverse is selected RPDO signal is reset to O after the axis moves eSignal address 7 6 5 4 3 2 1 0 LG ESOO ARPA 52 Chapter 2 PLC Signals 2 2 6 Overtravel Detection 2 2 6 1 Overtravel Signal 11 L5 G114 0 G114 4 L1 L5 G116 0 G116 4 eSignal type PLC NC eSignal function It indicates that the control axis has reached the stroke limit every direction of each Hi axis has such signal the symbol or represents the direction and the numbers correspond to the control axis Se E 1
78. ck Check Signal MMLK F4 1 eSignal type NC gt PLC eSignal function when all the axes are locked CNC set all axis machine lock check signal to 1 and then transmits it to PLC eSignal address 7 6 5 4 3 2 1 0 ENANA EE A 2 9 4 Dry Run Dry run is valid in automatic operation The machine works at a constant feedrate rather than the specified feedrate in the program This function is used to check the machine without workpiece The dry run speed depends on the manual feed override signal JVO JV15 Manual rapid traverse Ba menee selection signal RT 1 Manual rapid traverse speed a Wensieetek 2 5 4 1 Dry Run Signal DRN G46 7 eSignal type PLC NC eSignal function PLC sets DRN to 1 after receiving the dry run input signal and then transmits it to NC CNC enters into dry run state eNote A When DRN is 1 the machine runs at the dry run speed when it is 0 the machine works normally B When DRN is changed from O to 1 or from 1 to O during the operation the machine speed reduces to 0 and then increases to the specified feedrate eSignal address 65 Sr Wisi GSK988TA TA1 TB Turning Center CNC System PLC User Manual 7 6 5 4 3 2 1 0 2 5 4 2 Dry Run Check Signal MDRN F2 7 eSignal type NC PLC eSignal function CNC sets MDRN to 1 in dry run state and then transmits it to PLC eSignal address 7 6 5 4 3 2 1 0 EM Le EE E BERN 2 5 5 Single Block Single block execution is
79. completely executed Otherwise P S alarm will be issued This alarm will stop the execution and disable the blocks in input and wait buffer To ensure that there is not block is being executed or input and there is no reserved block in wait buffer the control axis selection status signal EAXSL should be set to 0 For the axes which are always controlled by PLC for example the axes that control tool post exchange worktable and ATC make sure that EAX1 to EAX 5 are always 1 After a command is issued from PLC to CNC these signals are not necessarily set to 0 When all the blocks are executed except for those not necessary CNC automatically stops 6 When the axis selection signals EAX1 EAX5 are from 1 to 0 the CNC holds the control 2 11 3 Signal Details 2 11 3 1 Control Axis Selection Signal EAX1 EAX5 G136 0 G136 4 92 eSignal type PLC NC eSignal function When the signal is set to 1 the corresponding axis is controlled by PLC When the signal is set to 0 PLC control is disabled Only when the control axis selection status signal EAXSL is set to 0 can the control axis selection signal be changed When EAXSL is 1 and the control axis selection signal is changed a P S alarm No 139 will be generated Alarm signal ElALg is set to 1 Commands from CNC are executed when the following conditions are fulfilled the bit 5 of parameter No 8001 NCC is set to 0 the control axis selection signal is set to 1 and
80. control eSignal address 7 6 5 4 3 2 1 0 eege OA Input M03 MOS M04 S00 Miscellaneous Lg Lg Lg X x function Spindle stop signal Analog voltage OV A Moar Enabling signal 0 ENB Spindle speed override signal SOV00 SOVO7 G30 eSignal type PLC NC eSignal function After PLC receives the spindle speed override input signal it assigns corresponding values to SOVOO SOV0 7 and then transmits them to NC to set different spindle speed overrides The relationship between SOVOO SOVO7 and the override values is shown as follows SOV7 SOVO G30 7 G30 0 E 79 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 0000 0111 70 0000 1010 100 0000 1011 110 0000 1100 120 eNote The spindle override function is invalid during tapping cycle and thread cutting eSignal addresses 7 6 5 4 3 2 1 0 Spindle enable signal ENB F1 4 eSignal type NC PLC eSignal function It indicates whether the spindle command is sent from NC eNote When a non zero command is output to spindle the ENB si when the command is 0 the ENB signal is changed to logic 0 In analog spindle even the command output to spindle is O i e the analog voltage is OV the spindle motor may work at low speed due to voltage drift of the inverter In such case the ENB signal can be used to stop the motor eSignal address 7 6 5 4
81. d Restting input bit RST 1 Command is cleared execution is stopped It is suggested to set the RST when CNC alarms or CNC resets X Y F G R K A Bit address End signal output position FIN 0 It does not perform or it is being performed FIN 1 When the axis controllable command is performed the normal end or error included Command performance error output ERR 0 Without error Y G R K A Bit address ERR 1 Execution error Y G R K A Bit address Constant or DT2 Seier ere corresponds with the concrete XYEGRKAD C TDCDT Byte address eo Performance procedure and the relevant signal In order to brief the described procedure and easily to understand the parameter and PLC signal involoved in this section are briefily explained actually it is better to check the parameter explanation and PLC signal files when using so that the detailed cautions can be comprehended 44 Chapter 1 PLC User Manual o Parameter setting Which DI DO controls the PLC axis that is set by parameter Ne8010 set the parameter based upon the following explanation 8010 Selecting each axis DI DO group controlled by PLC Parameter Type Word axis type Value Range 0 4 Each DI DO group controlled by each PLC axis which is shown as the following list NUMERICAL REMARK VALUE NS The axis is not controlled by PLC DI DO in group A is used DI DO in group B is used DI DO in group C is used DI DO in group D is used e Signal ena
82. d one M code in one block The 2 M 3 M code signal M2bit00 M2 bit 15 F14 F15 M3 bit 00 M3 bit 15 F16 F17 The 200 M 3 M strobe signal MF2 F8 4 MF3 F8 5 eSignal type NC DLC eSignal function After the 2 3 M codes are executed the corresponding F code signal is set to 1 and MF2 MF3 are 1 then these signals are transmitted to PLC for logic control The relationship between M command and code signals is shown in the following table The 2 M Command Moo F15 00000000 F15 00000001 F15 00000010 F15 00000011 F15 00000100 F15 00000101 F15 00000110 M06 F15 00000111 M07 F15 00001000 M08 F17 00000001 M01 F17 00000101 M05 74 Chapter 2 PLC Signals eNote 1 Some M codes cannot be specified due to operation limitation Please refer to the manual from machine tool builder for the details operation limitations 2 When MOO M01 MO2 or MO3 is specified along with other M codes other M codes will not be executed when MOO M01 MO2 or MO3 is specified together the first M code is valid and other M codes will be ignored For example One M command in one block M03 M10 M12 G01 X100 Z100 Multiple M commands in one block M03 M10 M12 G01 X100 Z100 eSignal addresses F17 M2bit7 M2bit15 M2bit6 M2bit14 M2bit5 M2bit13 M2bit4 M2bit12 M2bit3 M2bit11 M2bit2 M2bit10 M2bit1 M2bit8 M2bit0 M2bit8 M3bit7 M3bit6 M3bit5 M3bit4 M3bit3 M3bit2 M
83. dder View the following dialogue box will pop up Modify the network comment in edit box and then click OK to validate it or click Cancel to close the dialogue box 138 Chapter 4 Instruction Of Gskladder Network Comment Network 1 logic 1 4 4 3 Symbol Table Click Symbol Table to switch to the symbol table view frame You can switch among different symbol tables by clicking different sub view labels he GSKLadder ID2 1d2 Symbol table gd File Edit View PLC P Tool Window Help jee ae Ge Seer wee ewe aaliai 3 2 dao Same EE Workspace gt 2X 4 EBLadder EBSymbol table ESlnitData Table PA Message List Cross Reference E j R Comment Ge LEVEL 1 level 1 ESP kkk rr ver KHEN BYS RSJG OVRI Ju LEVEL 2 Level 2 H E SubProgram E Em Symbol Table E Block Symbol El symbol Ex E n i a a agi Kee eK At kkk TCPC PBG PBS TSGN TCPS InitData D Pa Message E Cross Reference Index Bit Dr Ladder Infomation M 4 gt bl Block Symbol A Symbol AK AD Output M 4 gt gt Compile Find row 26 col 3 Ready The main effect of symbol table is to realize the mapping between symbol and address This kind of mapping relationship enables the user to replace addresses by symbols during PLC programming The symbol table can be deleted and added except for the table Block Symbol which is fixed and not editable It is used to display the mapping relationship between subpr
84. ddress of output result It can be R Y G K A D T C DC DT RST The input address bit address of instruction reset signal ERR The output address bit address of calculation error It can be R Y G K A eExample AJJ Explanation When X0003 3 1 it divides the data 16 bits R101 takes up high 8 bits R100 takes up low 8 bits consisted of R100 R101 and constant 1000 and the result is stored in the 4 bytes whose start address is R200 R200 R201 R202 R203 R200 takes up low 8 bits the remainder 16 bits is stored in two bytes R202 R203 R202 takes up low 8 bits whose start address is R202 35 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 1 4 28 WINDR Read the CNC Window Function e Function Create a new window for data delivery between CNC and PLC and the read write operations for the multiple data of the CNC can be peformed by window function Ladder diagram formate is as follows ALT WILH IN ERR e Control conditions ACT 0 Without performing the command ERR sets to 0 ACT 1 Perform the command output the corresponding dataj ERR sets to 1 o Relevant parameter IN Window initial address the address is data D Read the data the 6 N data begins with the initial address at the data area of which the N is specified by data length in its data area when performing the command and then return the treated data to its data area There are six data in the data area functio
85. de and a sub view label Rename a subprogram Expand the Subprogram by clicking the symbol then click Rename on the fly out menu or left click the sub node to be renamed the character string becomes editable then press Enter on the keyboard Please note that the new name cannot be consistent with other names of blocks including level 1 and level 2 programs Delete a subprogram Click Delete a dialogue box will pop up to confirm the deletion then the corresponding subprogram will be deleted if your answer is yes 137 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Es GE adi 142 ry Tei Ladder Zeck LEVEL 1 Level 1 Zeck LEVEL 2 Level 2 S str We GSELadi 142 E SN E Li Ladder O a LEVEL 1 Level 1 2 Delete 2 E i dat LEVEL 2 Level 2 Rename d Symbol Insert Subprogram Block Information JE Block Symbol Find Call JE Symbol i Sor E E E la SUB_S FS Pr ZS SUE 0 Pio Ladder Infomation Block Information Hame SUE_1 SubProgram 0001 Designer Gok Version Y 0 05 09 08 Comment standard Ladder of GSK9SOTD2 4 4 2 2 Modify Block Information Click Block Information in the fly out menu a dialogue box will pop up Click OK after editing proper information otherwise click Cancel to close the dialogue box 4 4 2 3 Add Network Comment Double click the network title in La
86. dress No D0000 E D0001 airis Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 1 2 13 Label Addresses L It is used to specify the label of jump destination in JMPB instruction and the label of LBL instruction Direct access to the L address in PLC is forbidden L address can only be used in PLC function instructions JMPL and LBL Address range LO L9999 1 2 14 Subprogram Numbers P Subprogram numbers are used to specify destination subprogram numbers in the CALL and SP instructions Direct access to the P address in PLC is forbidden L address can only be used in PLC function instructions SP and CALL Address range PO P9999 1 3 PLC Basic Instructions Basic instructions are most often used when designing sequence programs They perform one bit operation The basic instructions in this CNC are shown as follows Components Read the normal open contact status X Y F GR K A MU Read the normally closed contact status X Y F G R K A OUT Lounen coll Y YGRKA R K A NC EI output when the condition is not Y NN R K A E NUERA a A open contacts in series X Y F a R K A Normally closed contacts in series X Y F G R K A OR Normaty open contacts in paralel XY EGRKA ORI Noraly open contacts in paralel XY EGRKA SSES RE 1 3 1 LD LDI OUT OUTN eMnemonics and functions Mnemonics Functions Symbols w Read normally open contact status ane gf Chapter 1 PLC User Manu
87. dresses these symbols will be turned into blue if converted to addresses When display type Symbol is selected parameters are displayed in symbols except for those whose type cannot be Symbol such as address parameters in addresses and constants in digits Scaling combobox View Toolbar symbo The scaling ratio can be 75 100 125 150 or 175 They can be set via the on Ladder View Toolbar 135 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 4 4 Software Usage The workspace is of tree structure The project name is represented by root node which has 6 children Ladder Symbol Table InitData Table Message Cross Reference Ladder Information Ladder It consists of Level 1 Level 2 and subprogram The tree node number subject to the Subprogram is not limited and can be added or deleted Symbol Table It consists of Block Symbol and some user defined symbol table nodes The nodes in Block Symbol are fixed while the node number of user defined symbol is related to the number of symbol tables InitData Table It consists of K Value Setting and some user defined symbol table nodes The nodes in K are fixed while the node number of user defined data table is related to the number of data tables Message It has no branch node which means only one message table can be displayed Cross Reference It consists of three children Index Bit
88. dry run signal DRNE 2 13 3 28 G138 PLC axis feedrate override signal FVOE FV7E 2 13 3 25 PLC axis miscellaneous function 2 13 3 15 completion signal G140 2 PLC axis buffering inhibited signal EMBUFA 2 13 3 16 G140 3 PLC group 1 block end signal ESBKA 2 13 3 9 61405 Jada 1 axis control pause ESTPA 21338 signa G140 6 PLC group 1 reset signal ECLRA 2 2 13 37 3 7 G140 7 PLC group 1 control command read signal EBUFA oa 13 3 5 6141 0 G141 6 0 G141 6 PLC group 1 axis control signal ECOA EC6A 2 13 3 2 61417 ii G group 1 block stop disabled EMSBKA 213310 signal G142 G143 Axis control feedrate signal PLC EIFOA ElF15A 21333 axis control group 1 C144 G147 Axis control data signal PLC axis EIDOA EID31A 21334 control group 1 CS 0 PLC axis miscellaneous function mmm 2 oan 3 15 mm Da signal G150 2 PLC axis buffering inhibited signal ene 13 3 16 G150 3 PLC group 2 block end signal ESBKB 2 13 3 9 G150 5 PLC group 2 axis control pause ESTPB 21338 signal 6150 6 6 PLC group 2 reset signal EOLRR 2 23T 3 7 ee H PLC group 2 control command read signal es ae 13 3 5 G151 0 G151 6 PLC group 2 axis control signal ECOB EC6B 2 13 3 2 G151 7 PLC group 2 block stop disabled signal EMSBKB 2 13 3 10 G152 G153 Axis control feedrate signal PLC axis EIFOB EIF15B control group 2 149 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual G154 G157 Axis control data signal PL
89. e PLC NC eSignal function PLC assigns values to ROV1 ROV2 after receiving rapid traverse override input signal and then transmits it to NC to determine the rapid traverse speed The override values corresponding to ROV1 ROV2 are shown in the following table po HI wm A ISL ew A III e eSignal addresses 7 6 5 4 3 2 1 0 2 6 3 Feedrate Override A programmed feedrate can be reduced or increased by feedrate override signal This feature is used to check a program For example when a feedrate of 100mm min is specified in the program setting the override to 50 can move the tool at a speed of 50mm min Feedrate Override Signal FVO FV7 G12 0 G12 7 eSignal type PLC NC eSignal function PLC assigns values to FVO FV 7 after receiving the feedrate override input signal and then transmits them to NC to determine the feedrate The override values corresponding to FVO FV7 is shown as follows 69 Sr 113 I 0000 0000 0000 0001 0000 0010 0000 0011 0000 0100 0000 0101 0000 0110 0000 0111 0000 1000 0000 1001 0000 1010 0000 1011 0000 1100 0000 1101 0000 1110 0000 1111 GSK988TA TA1 TB Turning Center CNC System PLC User Manual FV7 FVO G012 7 G012 0 40 50 0 80 90 120 eNote During automatic running actual feedrate is the product of the specified cutting feedrate and the feedrate override value eSignal addresses KAS 2 6 4 Override Cancel Signal OV
90. e 200 spindle reverse signal SRVB g74 4 The 200 spindle positive signal SFRB G74 5 The 3 spindle reverse signal SRVC G78 4 The 3 spindle reverse signal SFRC g78 5 eSignal type CNC gt PLC eSignal function Inform the operation direction of current each spindle at the side of NC eSignal addresses 7 6 5 4 3 2 1 0 G70 G74 G78 2 8 3 Spindle Position Speed Switch Spindle contour control switching signal CON G27 7 eSignal type PLC NC eSignal function It specifies the Cs contour control function The control mode can be spindle speed control or Cs contour control When the signal is 1 the control mode is switched to Cs contour control mode when the signal is 0 spindle speed control mode is switched back Signal address 7 6 5 4 3 2 1 0 LE E O LO E Spindle contour control switching completion signal FSCSL F44 1 eSignal type NC DC eSignal function When this signal is O it indicates the controlled axis is in spindle speed control mode When the signal is 1 it indicates the controlled axis is in the Cs contour control mode eSignal address 7 6 5 4 3 2 1 0 b i KN 86 Chapter 2 PLC Signals Rigid tapping signal RGTAP G61 0 eSignal type PLC gt NC eSignal function PLC sets to rigid tapping method by M29 Rigid tapping method preparation miscellaneous function eSignal address 7 6 5 4 3 2 1 0 EE ere Spindle outline control s
91. e click the displayed error or alarm to trace the source Compile Output x Eror Block Levell Network2 Rowl Column Right is blocked or illegally interlinked Error Block Levell Network Rowl Column Right is blocked or legally interlinked Eros 2 Waring s 0 Ma H Compile Find O 4 2 5 Tool Menu File Edit view PLCIP Window Help d Send to CNC Recieve from CNC comm Setup Send to CNC Send the files in current project to CNC for storage Receive from CNC Read the PLC files from CNC into PC Comm Setup Set serial port parameters including serial port number and communication baudrate 4 3 Main Menu Commands 4 3 1 Standard Toolbar LA Create a new project ES Open an existing project 133 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual al Save the current project Print the ladder diagram Lo Print preview A Cut the selected area SE Copy the selected area 2 Paste in the selected area 5d Undo the last operation pu Redo previously undone operations Goto the specified position Find the designated contents PLC compilation Send current project to CNC Receive PLC files from CNC HEL ic Be El Display program information version number and copyright 4 3 2 Ladder Edit Toolbar Edit Toolbar 4H GH o 4 Function Command gt ae te ilal Add contact at the cursor position shortcut key F1
92. e de ere 143 E e elis sccctae tise sitaaecuineanssa a cedar u nnn cast a a saan on onan eon aun teat ncaa S 143 AAS Cross Reterence EE 144 AA A ee E eee ee ee een eee 144 e EE BE 145 AAOS BVE ee 145 4437 tadder MATORINVAT a dc 145 XVI Chapter 1 PLC User Manual CHAPTER 1 PLC USER MANUAL 1 1 PLC Specification PLC System Version NP Programming Language Ladder Diagram Programming Software GSKLadder Programming Progression ES Execution Period of the 8ms First Level Average Processing Time for Basic lt 2us Instructions Maximum Steps 5000 steps Programming Instructions Basic instructions function instructions Plc Addresses Ranges pg Remark Internal SE address a aa Ss R0000 R0999 read write address A 1 2 PLC Addresses The PLC reads the data from the addresses in bit unit or in byte unit including single byte type double byte type and four byte type which are expounded below When reading in bits the state of a certain bit is read out in the PLC addresses such as the input output status of external I O point or the bit status in the process The bit address of PLC consists of address type address number and bit number Example X0001 3 represents the status of bit 3 of PLC external input address X0001 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 76543210 X0001 3 xoooo O001 0001 3 XDOO2 Type Address No Bit AU ALS YO When reading in bytes the data s
93. e ee FR 2 5 2 Reset External Workpiece Index Under the following conditions CNC enters into reset state A Emergency stop signal ESP is set to 0 B External reset signal ERS is 1 C RESET key on the operation panel is pressed 61 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Under other conditions reset signal RST is changed to 0 after the time set by parameter No 071 has passed RST time T reset reset processing time the setting value of data parameter No 071 During automatic operation when CNC is reset the operation stops and control axis decelerates until it stops When CNC is reset during the execution the M S T instruction the signal MF SF TF are set to O within 16ms Re set O Ne Resetsignal Tresete Data parameter NO 071 2 5 2 1 External Reset Signal ERS G8 7 eSignal type PLC NC eSignal function PLC sets G8 7 to 1 after receiving the external reset input signal and transmit it to NC When CNC resets RST signal is changed to 1 eSignal address 7 6 5 4 3 2 1 0 2 5 2 2 Reset Signal RST F1 1 eSignal type NC PLC eSignal function When CNC is in reset state RST is set to 1 Then the signal is transmitted to PLC PLC works according to the state of RST eNote RST signal is set to 1 under the following conditions A The external emergency stop input signal ESP is set to 0 B The external reset signal ERS is 1 C The RESET
94. e following functions are included select the rotation direction of the short path calculate the steps from the current position to destination or the steps from the previous position of current position to that of the object position calculate the position number of the previous position of the destination eFormat 22 Chapter 1 PLC User Manual ALT eControl conditions ACT 0 The instruction is not executed OUTE and OUTO remain the same 1 The instruction is executed the results are output to OUTE and OUTO eParameters FMT Data format Calculate position number or specify steps 0 calculate position number 1 specify steps Specify calculation position 0 Calculate object position 1 Calculate the previous position Select the short path or not 0 No the rotation direction is always positive Le OUTO 0 1 Yes the direction may vary Start number of rotary table O Start from O 1 Start from 1 CNT Rotary table indexing position number SIZE Specify the address size of IN W IN D and OUT 1 2 4 bytes IN_W Current position address it used to store the current position number The addresses are R X Y F G K A D DC and DT etc IN_D Object position address it is used to store object position number the addresses are R X Y F G K A D DC and DT etc OUTE Output address of the calculation results The addresses are R Y G K A D DC and DT 23 Sr WIFE GSK988TA TA1 TB Turn
95. e signal will be 1 or O according to the moving status before the axis stops eSignal addresses 4 3 2 1 0 AE RE EE 2 1 2 Servo Ready Signal SA F0 6 eSignal type NC gt PLC eSignal function When NC issues an alarm by receiving an alarm signal from the servo system it sets SA signal to 0 and informs the PLC that the servo system is not ready and 49 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual the axis cannot move When the warning is cancelled NC sets SA to 1 to move axis again eSignal addresses 7 6 5 4 3 2 1 0 A 2 2 Operation Preparation 2 2 1 Emergency Stop Emergency stop signal ESP G8 4 eSignal type PLC NC valid when it is 0 eSignal function When G8 4 is O level NC detects the signal and issues an emergency stop alarm eSignal address 7 6 5 4 3 2 1 0 LAS ee ee 2 2 2 CNC Ready Signal MA F 1 7 eSignal type NC PLC eSignal function This signal indicates the CNC is ready for operation eOutput condition After power on this signal is set to 1 usually in a few seconds if an alarm occurs in CNC or emergency stop is executed this signal changes to 0 eSignal address 7 6 5 4 3 2 1 0 BI L LL ILL T 2 2 3 Alarm Signal AL F1 0 eSignal type NC PLC eSignal function When CNC issues an alarm the alarm will be displayed on the screen and AL is set to 1 after PLC receives this signal there are three kinds of alarms to be displayed
96. ected result e The surge absorb diode connected with the product should be linked based upon the described direction otherwise it may damage the product e The product power should be turned off before plugging or unplugging the product cabinet Sr WW Bx tes GSK988TA TA1 TB Turning Center CNC System PLC User Manual m Overhaul e Cut off the power before inspecting and maintaining or changing the components e Check the malfunction when the short circuit or overloading occurs The computer can be started after the malfunction is eliminated e Do not power ON OFF frequently for the product if you want to turn on the power again after power off its interval time is 1min at least VI Security Responsibility SECURITY RESPONSIBILITY Security responsibility of the manufacturer Manufacturer should take responsibility for the design and structure danger of the motor and the accessories which have been eliminated and or controlled Manufacturer should take responsibility for the security of the motor and accessories Manufacturer should take responsibility for the offered information and suggestions for the user Security responsibility of the users User should know and understand about the contents of security operations by learning and training the security operations of the CNC system User should take responsibility for the danger because of increasing changing or modifying the original CNC system
97. ed by functions In the low speed window function the completion of the command may need to scan with more than two circiles and therefore it is necessary to hold ACT 1 during the execution of the command in the low speed window and the controllable data is invarible Next low speed window command can be performed after resetting the ACT once followed with that the treatment is performed ERR regards as 1 In the high speed window function the command can be performed in the level scan The next 42 Chapter 1 PLC User Manual high window command can be executed regardless of the ACT reset after the treatment is completed ERR treats as 1 Therefore the data read wirte will be consecutively performed when ACT is always sets to 1 2 D address data length is 32 bit and its resolution range is 2147483647 2147483647 the data in the window function are regarded the D address data length as a unit that is a 4 byte The address adds 1 in the data arrangement namely the data address moves afterwards 4 bytes if the data length adds 1 namely the data length adds 4 bytes 3 It is not confirmed the length of data area in the window function and it is necessary to reserve adequate space for the data area against the error of the operation when the PLC program is compiled 4 The channel number is only used in the dual channel system the standard system is the reserved data which is not input When the channel number in the dual chan
98. ed to instruct the direction of continuous feed as follows 0 Positive direction 1 Negative direction The signals ElDOg to EID30 are undefined Miscellaneous function ECOg to EC6g 12h The 2 miscellaneous function ECOg to EC6g 14h The 3 miscellaneous function ECOg to EC6g 15h Signals instruct the transmission of miscellaneous function code from CNC to PLC According to the setting of bit 6 of parameter No 8001 AUX 1 or 2 bytes of signal EIDOg to EID15g can be used Machine coordinate system selection ECOg to EC6g 20h The signal instructs the absolute coordinate system in binary system according to the increment system eNote When increment system IS C is used the least input increment of dwell time is 0 1ms according to the bit 1 of parameter No 8002 DWE eSignal addresses 7 6 5 4 3 2 1 0 EID7A EID6A EID5A EID4A EID3A EID2A EID1A EIDOA G147 G157 G166 EID15A ElD23A ElD14A ElD22A ElD13A ElD21A ElD12A EID20A EID11A EID19A EID10A EID18A EID9A EID17A EID8A EID16A EID31A EID7B EID15B ElD23B ElD31B EID7C EID15C EID23C EID30A EID6B EID14B EID22B EID30B EID6C EID14C EID22C ElD29A EID5B EID13B ElD21B ElD29B EID5C EID13C EID21C ElD28A ElD4B ElD12B EID20B EID28B EID4C EID12C EID20C ElD27A EID3B EID11B EID19B EID27B EID3C EID11C EID19C EID26A ElD2B ElD
99. eg EE 76 27 A gt WAST FUNCION COMPLETO A a A a a O 76 ZAS Completion SiN ls ara sind 76 E E Ee Ee Cie La deine EE 78 2 7 5 1 Miscellaneous Function Lock Gong 78 2 7 5 2 Miscellaneous Function Lock Check Gong 78 2 8 Spindle Speed NG t Te de TEEN 79 ZST Spinde Speed CONTO E 79 2 32 Multiple Spndes CONO ol Lian 82 2 8 3 Spindle Position Speed Switch 86 239 TOOMPUMNCHON ee EE 87 210 ERGOE 88 210 1 erte ee 88 Z102 AP at onsuaresdoe EEAS E AEU NEA S 88 21037 PARES OUNAE E AA AA A A ee ee 88 2 10 4 Directly Input Function B by Cutter Compensation Measurement Value 88 2 10 5 Directly Input Function of Tool Compensation Measurement Value esssesesssseeessssserssssrerersssrerssse 89 2411 PEG AXIS Control FUNCION ere 89 XIII Sr 113 I XIV GSK988TA TA1 TB Turning Center CNC System PLC User Manual ALLE E EE 89 2AL2 Basie POC AUTE H 90 ZAS SENA DE EE 92 2 11 3 1 Control Axis Selection SiN ls cis 92 2 11 3 2 Axis Control Command Te LEE 93 Eh WE AXIS Control Reecdrate ION EE 96 211 394 JANIS COMIC Data SIGN EE 99 2 11 35 Axis control Command Read Signal iii a a E 101 2 11 3 6 Axis Control Command Read Completed Gonal 101 A A A a a 102 2211 020 AXIS CONO Pause SIG EE 102 ZN CA o AP RR 103 2 11 3 10 Block Stop Disabled SiN gees ide 103 2 11 3 11 Miscellaneous Function Code Signal ek 104 2 11 3 12 Strobe Signal of Miscellaneous Funchon EEN 104 2 11 3 13 The 2nd Miscellaneous Function Strobe
100. el sequence part meanwhile they are input to the machine tool memory and NC memory and adopted by the 2 level sequence part The input signals are synchronized only in the Pe level sequence part The output signals of the 1 and 2 level sequence parts are forwarded to the NC and machine tool memories then to the I O ports The signal status of NC input memory NC output memory machine tool input memory and machine tool output memory are displayed on the diagnosis screen 116 Chapter 3 Programming PLL p NC Syne Input Memory ps 9 1st Level M T Syne Input Memory SE H F NC Input Memory ME a NC Output Memor ail EE And Level A FRE aie E e Input Memory Sequence Machine Tool Yl Se y Output Memory 3 3 1 Input Signal Processing A Input signal in the 1 level sequence part F signals from NC are scanned and stored by the NC input memory at intervals of 8 ms The 1 level sequence part directly applies these signals and process operations A signals from machine tool are scanned and stored by the machine tool input memory at intervals of 8 ms The 1 level sequence part directly applies these signals and process operations B The input signal in the 2 level sequence part The input signals in the 2 level sequence part are the latched input signal in the 1 level sequence part The F and X signals in the 1 level sequence part are directly adopted therefo
101. eous function Execute the same miscellaneous function as CNC Machine coordinate system selection Execute the same G53 function as CNC Rapid traverse rate When the rapid traverse ECOg EC6g 00h is used the feedrate can be same one as specified by CNC No 1420 or can be specified by PLC axis feedrate signals EIFOg to EIF 15g It can be set by the bit O of parameter No 8002 Reference point return without dog The following operation can be realized by reference point return command ECOg to EC6g the bit 1 of parameter No 1002 sets that the reference point return without dog is performed on all the controlled axis the bit 1 of parameter No 1005 DLZx sets that the reference point return without dog is performed only on one axis When one of the above condition is set and reference point return has not performed yet the tool will move along the direction set by the bit 5 ZMIx of parameter No 1006 after the reference point return command ECOg to EC6g 05h is issued Deceleration signal is not involved the tool moves to the grid point adjacent to the current position After the reference point is set reference point return is performed at a high speed after the command ECOg to EC6g 05h is issued regardless of the reference point return direction set by bit 5 ZMIx of parameter No 1006 The 1 reference point return without dog If the 1 reference point return command ECOg to EC6g 07h is issued when no reference
102. equence 1 Ignored j RST FLD pge i La 1 q i ST G72 pon po 7 H E i o i i i OP FO 7 i g i i i 1 SP G8 5 l H O SPL F0 4 F 7 a i 1 1 STL F0 5 p 4 2 5 2 6 Based on MDI Restting Confirmation Signal MDIRST F6 1 eSignal type NC gt PLC eSignal function This signal informs that the RESET button is already controlled in MDI mode for the PLC eSignal address 7 6 5 4 3 2 1 0 LE ee 2 5 3 Machine Lock The machine lock can be turned ON when the programs are being checked before machining The MLK signal all axis machine lock signal or MLK1 MLK4 signals axis by axis machine lock signal are set to 1 During manual or automatic operation though the execution of inputting pulse to servo motor stops CNC still assigns instructions meanwhile the incremental and absolute coordinate systems are updated The programs can be checked by monitoring the changing of coordinate system 2 5 3 1 All Axis Machine Lock Signal MIK G44 1 eSignal type PLC NC 64 Chapter 2 PLC Signals eSignal function PLC sets MIK to 1 after receiving all axis machine lock signal and then transmits it to NC All the axes cannot move eNote When MIK is 1 during manual or automatic operation CNC does not output pulse to servo motor and the worktable does not move eSignal address 7 6 5 4 3 2 1 0 L WI 2 5 3 2 All Axis Machine Lo
103. er Manual Address No 7 6 5 4 3 2 1 0 KOO000 K0001 Definable i addresses K0029 K0030 1 I NC occupied area K0039 1 2 8 Counter Addresses C This address area is used for storing the current counting value in the counter The data are saved after power off Address range C0000 C0099 Value range 0 21 4748 3647 p 34 30 E 32 1 0 coooa TEE coon pe 1 2 9 Counter Preset Addresses DC This address area is used to store the counter preset value The data are saved after power off Address range DC0000 DC0099 Data size 32 bits Value range 0 21 4748 3647 ngs 31 30 99 98 CCC AO DCOO00 pc0001 mee eee pco ETT TIT TY A EE EE i i 8 E Chapter 1 PLC User Manual 1 2 10 Timer Addresses T This address area is used to store the current value of the timer The data are saved after power off Address range T0000 T0099 Data size 32 bits Value range 0 21 4748 3647 31 30 29 28 0777777 3 2 1 0 T0000 Pa can ee 1 2 11 Timer Preset Addresses DT This address area is used to store the timer preset values The data are saved after power off Address range DT0000 DT0099 Data size 32 bits Value range 0 21 4748 3647 Address No 31 30 29 26 3 2 1 0 mm ELE O CTT 1 2 12 Data Table Addresses D The data of the data table address are saved after power off Address range D0000 D0999 Data size 32 bits Value range 0 21 4748 3647 Ad
104. es 7 6 5 4 3 2 1 0 87 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 2 10 Other Functions 2 10 1 Metric Inch Conversion Inch input signal INCH F2 0 eSignal type NC PLC eSignal function When INCH 1 inch input mode G20 is adopt INCH 0 metric input mode G21 is adopted eSignal address 7 6 5 4 3 2 1 0 E E EEE E E 2 10 2 Thread Cutting Thread cutting signal THRD F2 3 eSignal type NC PLC eSignal function It indicates that the thread cutting is in processing This signal is 1 in the following conditions 1 In thread cutting mode 2 Thread cutting is in processing This signal is O when neither condition 1 nor 2 is fulfilled eSignal address 7 6 5 4 3 2 1 0 F2 a 2 10 3 Parts Count Target parts count reached signal PRTSF 62 7 eSignal type NC PLC eSignal function Signal PRTSF is output to PLC when the number of machined parts reaches the target The number of parts is regarded as infinity when the number of required parts is zero The PRTSF signal is then not output eSignal address 7 6 5 4 3 2 1 0 _F62 en E LEE E OA 2 10 4 Directly Input Function B by Cutter Compensation Measurement Value Signal GOQSM G39 7 selection of cutter compensation value write in method eSignal type PLC gt NC 88 Chapter 2 PLC Signals eSignal function Select the write in method of tool compensation value eSignal address 7 6 5 4
105. g Center CNC System PLC User Manual 2 4 1 1 Machine Reference Point Return Completion Signal ZP1 ZP5 F94 0 F94 4 ZP21 ZP25 F96 0 F96 4 ZP31 ZP35 F98 0 F98 4 ZP41 ZP45 F100 0 F100 4 eSignal type NC PLC eSignal function When an axis ends the machine reference point return NC sets the corresponding F signal to 1 and transmits it to PLC PLC proceeds logic control accordingly ZPn1 ZPn2 ZPn3 ZPn4 ZPn5 signals are machine reference point return completion signals for axes 1 2 3 4 5 respectively eNotes When machine reference point return has already completed and G28 command returns to zero and the current position is within the specified area the machine reference point return completion signal changes to 1 When the tool moves away from machine reference point or when an emergency or drive unit alarm is issued the machine reference point return completion signal changes to 0 eSignal addresses 7 6 5 4 3 2 1 0 2 4 1 2 Machine Reference Point Setting Signal ZRF1 ZRF5 F120 0 F120 4 eSignal type NC gt PLC eSignal function After the machine reference point return is executed and the machine reference point is set the corresponding machine reference point setting signal is set to 1 and then this signal is transmitted to PLC PLC proceeds logic control according to the status of the reference point setting signal ZRF1 ZRF2 ZRF3 ZRF4 ZRF5 are the signa
106. hen outputs to the output address OUT Conversion table D2 Sequence No Numerical Value P2 N _ Conversion data Pa output address OUT Conversion data input address IN eParameters SIZE1 The binary data size and output address size of the conversion data in conversion table 1 byte 2 bytes 4 bytes correspondingly SIZE2 The size of the conversion table The size matches with the conversion data IN The input address of conversion data It only needs one byte data The addresses are R X Y G F A K and D etc OUT The output address of conversion data The addresses are R X Y G F K A D DT and DC etc CODE 17As12E1 OUTPR2o0 49 517E2 RLOOIN When X0002 1 1 Conversion Data Table When X0002 1 1 R0100 0 RO200 1 Numerical Value When X0002 1 1 R0100 1 R0200 2 000 poo to eExample E When X0002 1 1 R0100 2 R0200 3 When X0002 1 1 R0100 3 R0200 4 20 Chapter 1 PLC User Manual 1 4 9 JMPB Label Jump eFunction It transfers control to a Ladder immediately after the label set in a Ladder program It has following additional functions more than one jump instruction can be coded for the same label jump out of subprogram is forbidden jump forward or backward is available eFormat ACT Lx THEE eControl conditions ACT 0O The next instruction after the JMPB instruction is executed 1 After jump to the specified label the next instruc
107. hifting signal in the multi spindle control The 1 spindle outline control shifting signal CONS1 G254 0 The 2 spindle outline control shiting signal CONS2 G254 1 The 3 spindle outline control shiting signal CONS3 G254 2 eSignal type PLC gt NC eSignal function The used spindle outline control shifting signal in the multi spindle control eSignal address 7 6 5 4 3 2 1 0 Ea EAT CONST SONS CONST 2 9 Tool Function When T code or HDT signal is specified NC compares the desired tool numbers with the current tool numbers NOWTO0 NOWTO7 if the numbers are consistent tool change will not be executed if not the code signal and strobe signal of the desired tool number are generated and the machine selects tools accordingly In this CNC system the tool change can be performed by T command in AUTO or MDI mode or the sequence tool change be performed through HDT signal in MANUAL mode Tool change by T command Tool change can be performed through T command in AUTO or MDI modes CNC sends the tool number signal and tool strobe signal after it decodes the T command and then waits for the completion of PLC tool change The current tool number signal NOWT00 NOWT07 G201 eSignal type PLC NC eSignal function When PLC detects the current tool position it sets corresponding values to NOWTOO NOWT07 G201 and then informs NC the current tool number These tool numbers are expressed in binary system eSignal address
108. ich cannot be added or deleted The address is listed from A0000 0 to A0024 7 and cannot be added or deleted neither The alarm number range is 1000 9999 without the same data Both the alarm number and displayed contents 143 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual should be input indispensably otherwise an alarm will occur during compiling be GSELadder ID2 1d2 Message List EB File Edit View PLC P Tool Window Help AN A MN MEAR HN de dol o dd Function command ze bl tro e 1 A BE Workspace a EE me 142 Context E fa Ladder 8 Tool change time is too long S ier es Alarm of toolpost not in position at the end of tool change E SubProgram E CS Symbol Table IS Block Symbol d Can t retreating tailstock when spindle rotating E Symbol i Can t start spindle when spindle start enabling is closed Alarm of tool change not finished Can t execute M10 and M11 under invalid tailstock function K Y Alarm of protection door not closed D i Chuck low pressure alarm 8 InitData Table s Can t unclamp chuck when spindle rotating K InitData D Message 8 Le Cross Reference e Can t execute M12 or M13 under invalid chuck function Index Can t start spindle when clamping in position signal Alarm of invalid clamping in position signal when spindle ratating Can t start spindle when chuck is unclamped Bit Byte Ladder Infomation row 18 col 2 CAP NUM SCRL 4 4
109. ing Center CNC System PLC User Manual etc OUTO Outputs the rotation direction If the number given to the rotor is ascending the rotation is FOR If descending REV When OUTO 0 the rotation direction is positive when OUTO 1 the rotation is inversed the addresses are R Y G K and A etc eExample The following figure is a rotary table post The current tool position is 1 Curent Position a 12 Position Ek AS Ev Position 4 4 FOR Position A Fi A fs Position C Ka A g 6 2 Position B When the short path rotation is performed the position number of the previous position before the object position is calculated The current position number R0007 1 rotary table indexing position number CNT 12 then when X0003 3 1 F0026 10 if the object position is A R0027 11 ROO37 0 1 F0026 8 if the object position is B R0027 9 ROO37 0 1 F0026 5 if the object position is C R0027 4 RO037 0 0 F0026 3 if the object position is D R0027 2 RO037 0 0 24 Chapter 1 PLC User Manual 1 4 13 PARI Parity Check eFunction It checks the parity of the input data Only one byte of data 8 bits can be checked eFormat ACT PART NE OUT EST IH eControl conditions ACT 1 Executes the PARI instruction performing a parity check If the input data do not match with the one specified by OE OUT is 1 otherwise OUT is 0 ACT 0 Parity checks are not performed OUT remains the same eParameters OE
110. is moving signal MV1 MV5 2 1 1 1 F106 0 F106 4 Axis moving direction signal MVD1 MVD5 2 1 1 2 Fi12 0 F112 4 PLC distribution completion signal al 2 13 3 31 EADEN5 F120 0 F120 4 Reference point setting signal ZRF1 ZRF5 2 4 1 2 F129 5 PLC axis override 0 signal EOVO 2 13 3 30 F129 7 PLC controlled axis selection status eaxs 2 13 3 17 signal F140 0 PLC axis in position signal EINPA 2 13 3 18 F440 1 PLC axis following error zero ECKZA 213 319 checking signal F140 2 PLC axis alarm signal EIALA 2 13 3 20 F140 3 PLC miscellaneous function EDENA 213 322 execution signal F140 4 PLC axis move signal EGENA 2 13 3 21 F140 5 PLC axis direction overtravel EOTPA 2 13 3 24 signal 52 1 Appendix 2 F Signals List F140 6 a direction overtravel EOTNA 2 13 3 23 Axis control command read F140 7 completed signal PLC axis control EBSYA 2 13 3 6 group 1 PL iscell functi trob F141 1 PLC buffer full signal EABUFA 2 13 3 32 E1412 PLC WEE function 2 EMF2A 213313 strobe signal E1413 PLC WEE function 3 EMF3A 213314 strobe signal F142 F143 A function code EM11A EM48A_ 2 13 3 11 F150 0 PLC axis in position signal EINPB 2 13 3 18 E1501 PLC axis GIO wins error zero ECKZB 213 310 checking signal F150 2 PLC axis alarm signal EIALB 2 13 3 20 F150 3 PLC Mee anoU function EDENB 243 322 execution signal F150 4 PLC axis move signal EGENB 2 13 3 21 F150 5 PLC axis direction EOTPB
111. is set to 1 at first then set to O and transmitted to NC the automatic operation is started eSignal address 7 6 5 4 3 2 1 0 AAA PAE E 2 5 1 2 Feed Hold Signal SP G8 5 eSignal type PLC NC valid when it is 0 eSignal function PLC sets G8 5 to O after receiving this signal and transmits it to NC The automatic operation is stopped When the SP input signal is 0 the automatic operation cannot be started eSignal addresses 7 6 5 4 3 2 1 0 rr eee 2 5 1 3 Cycle Start Signal STL F0 5 eSignal type NC PLC 60 Chapter 2 PLC Signals eSignal function CNC sets STL to 1 during automatic operation and then transmits it to PLC PLC proceeds logic control according to the state of STL eSignal address 7 6 5 4 3 2 1 0 ST 2 5 1 4 Feed Hold Signal SPL F0 4 eSignal type NC PLC eSignal function CNC sets SPL to 1 when it is in paused state and then transmits it to PLC PLC starts logic control according to the state of SPL eSignal address 7 6 5 4 3 2 1 0 re O O O d 2 5 1 5 Automatic Operation Signal OP F0 7 eSignal type NC PLC eSignal function CNC sets OP to 1 during automatic operation and then transmits it to PLC PLC works according to the state of OP Cycle pa eweg Feed hold Automatic operatio SES SPL OP Cycle start state Feed hold state hold state ee es s paused state Reset state state Pa address 7 6 5 4 3 2 1 0 BR MO IO ee e
112. its it to NC CNC enters into the state of optional block skip In a program blocks started with will not be executed eSignal address 7 6 5 4 3 2 1 0 WE WR ES RE ERR A8 2 5 6 2 Optional Block Skip Check Signal MBDT F4 0 eSignal type NC PLC eSignal function CNC sets MBDT to 1 during optional block skip execution and then transmits it to PLC PLC works according to the state of MBDT eSignal address 7 6 5 4 3 2 1 0 SNE WEG WE WE Dh 2 5 7 Manual Absolute Function When the machine works during manual operation JOG feed or MPG feed it determines whether the movement amount is added on the current workpiece coordinate value and outputs a detection signal to indicates whether the manual absolute switch in CNC is ON or OFF 67 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 2 5 7 1 Manual Absolute Signal ABSM G6 2 eSignal type PLC NC eSignal function It sets the manual absolute signal to 1 or 0 when the signal is set to 1 the manual absolute function is invalid when the signal is O the function is valid eSignal address 7 6 5 4 3 2 1 0 WO WIEN e O 2 5 7 2 Manual Absolute Check Signal MABSM F4 2 eSignal type NC DC eSignal function It informs PLC the state of manual absolute signal When ABSM G6 2 is O the signal is 1 and manual absolute function is valid when ABSM G6 2 is 1 this signal is 0 and the manual absolute function is invalid
113. king principles is different from the general relay circuit The working principles of PLC sequence control should be taken into consideration during designing In general relay circuit all relays can work synchronically The following figure shows that when condition is fulfilled YO 3 and YO 4 can be output In PLC sequence control all outputs are executed in sequence When RO 1 is closed and R2 5 and R2 6 are closed YO 3 is output in advance then YO 4 is output in shortest delay time The executions are followed by sequence Metwork 1 VU 3 spindle CAM D O OT12 04 JOG spindle CM R5 5 OT12 does not equal to Os JOG spindle CN Rew spindle stops by manually R20 3 incrementi MPS manual mode DO the ist period is 0 the rest is 1 R25 spindle CC R50 DO 0 pazo de REZO S m HA Hz Rag Network 2 O dispindle CC R5 1 DT12 04 306 spindle CCW R5 6 DT12 does not equal to Os JOG spindle CCW R27 spindle stops by manually R20 3 increment MPo manual mode RO 1 the ist period is O the rest is 1 R2 6 spindle CA R5 1 500 0 RE R20 3 HH Rob H Zp 115 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 3 2 1 Program Loop PLC program is executed from the beginning to the end and is re executed from the beginning when it ends This process is called program loop The time from beginning to the end is called loop processing cycle Shorter processing cycle enables stronge
114. licator OUT The address of output result It can be R Y G K A D T C DC DT RST The input address bit address of instruction reset signal ERR The output address bit address of calculation error It can be R Y G K A eExample ECK H UUUNT OUT PR200 40000 4 Th ERR ROO 1 ROO OFRST Explanation When X0003 3 1 the data consisting R100 and R101 16 bits R101 takes up high 8 bits R100 takes up low 8 bits is multiplied by constant 40000 and the product is stored in the 4 bytes whose start address is R200 R200 R201 R202 R203 R200 takes up low 8 bits 34 Chapter 1 PLC User Manual 1 4 27 DIVB Binary Data Division eFunction It divides two input data 16 bits and the results 32 bits including high 16 bit remainder and low 16 bit quotient are stored in the OUT address 32 bit eFormat ALT elnstruction format ser OUT ERR eControl conditions RST 0 ERR and OUT remain unchanged RST 1 Reset ERR and OUT ACT 0 OUT value remains unchanged ACT 1 Divides the values of IN1 and IN2 the result is output to OUT address eParameters N1 IN2 The leading byte of input address or constant of a mulplicator it can be R X Y F G K A D T C DC DT if single byte address 8 bits such as R X Y F G K A D is used two consecutive bytes is used as the divisor if double byte address 32 bits such as T C DC DT is used the low 16 bits is used as the divisor OUT The a
115. list row header address block position and context Double click the corresponding table cells to goto the desired position 144 Chapter 4 Instruction Of Gskladder 4 4 6 2 Bit List It is used to display the bit address condition in PLC The row header of the list indicates the byte part of the address and the eight columns that followed indicate the condition of bits If a column is marked with X it means the corresponding bit address is occupied For example A0000 _ the last column of the row i e the column headed with 0 is marked with X indicating that address A0000 0 is occupied Please note that not all the bit addresses are list unless one of the bits is occupied If an address is not listed it means the address is not used a Se P mA AD001 x Y Apps x de de x CX FOOD KE KI y y YO x Sons x y Son Ir Y x x lx lx 4 4 6 3 Byte List It is used to display the byte address condition in PLC The row header of the list indicates the part aside from single digits and the ten columns that followed indicate single digits For example C000_ the column header of the row is 9 indicating that the cell represents address C0009 An occupied cell is marked with X Please note that not all the addresses are list unless it is occupied If an address is not listed it means the address is not used zE pop pa pujo 9 Cono X FOOL POOS son FOZ1_ COOL om coo4
116. ll the branch ends except for the first branch As branch 0004 is not serial circuit OR instruction can be used ORB and ANB are instructions without components they indicate the OR AND relations of circuits 1 3 5 ANB e Mnemonics and functions Mnemonics Functions Symbols Parallel circuits in series elnstruction explanation A When the branch circuit parallel circuit is connected with the previous circuits in series ANB instruction is used LD LDI instructions are used for branch start ANB instruction is used when the serial circuit is ended and is connected in series with the previous circuits B ANB instruction is an independent instruction without address eProgramming example 0003 7 Circuit 2 Circuit 1 Explanation ORB indicates the serial circuits in parallel in circuit 2 ANB indicates the circuit 1 and circuit 2 are connected in series 11 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 1 3 6 MPS MRD MPP The PLC system NP1 in GSK988TA 988TA1 988TB supports the multiple levels output 1 MPS Memory Push This instruction stores the calculation at the top of the stack and moves other values to the bottom of the stack 2 MRD Memory Read This instruction reads the top of the stack 3 MPP Memory Pop This instruction reads draws down the top of the stack and moves other values towards the top of the stack The values in the stack can be used
117. ll time Reference point 0x05 None None return The 1 reference 0x07 point return The 2 reference point return SE eier S when 8002 0 0 regardless of this value Speed The 3 reference 0x09 is determined by system point return The4 reference l 0x0A point return The 1 ege e function The 2 miscellaneous function ra The 3 miscellaneous function Machine coordinate system setting G53 47 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 48 Chapter 2 PLC Signals CHAPTER 2 PLC SIGNALS 2 1 Control Axes 2 1 1 Axes Moving Status NC can be sent the current axis moving status to PLC and then PLC works according to the status 2 1 1 1 Axes Moving Signals MV1 MV5 F102 0 F102 4 eSignal type NC PLC eSignal function MV1 MV2 MV3 MV4 MV5 are moving signals for axis 1 2 3 4 5 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 PLC works according to the received signal eSignal addresses 4 3 2 1 0 vs 2 1 1 2 Axis Moving Direction Signal MVD1 MVD5 F106 0 F106 4 eSignal type NC gt PLC eSignal function MVD1 MVD2 MVD3 MVD4 MVD5 are axis moving direction signal for axes 1 2 3 4 5 respectively When an axis is moving backward 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 th
118. lowing error zero ECKZD 213319 checking signal F170 2 Be axis alarm signal EIALD 2 13 3 20 See functi F170 3 HERE IBNCU n I EDEND 2 13 3 22 execution signal F170 4 PLC axis move signal EGEND 2 13 3 21 F170 5 PLC axis direction overtravel EOTPD 2133 24 signal F170 6 PLC axis direction EOTND 213 323 overtravel signal Axis control command read EBSYD 2 13 3 6 171 0 e function strobe EMFD 213312 F171 1 PLC buffer full signal EABUFD 2 13 3 32 E1712 PLC MSCA angus function EME2D 243313 strobe signal E1713 PLC TEE function 3 EME3D 213314 strobe signal F172 F173 PLC miscellaneous function EM11D EM48D 2 13 3 11 code signal F192 0 F192 4 PLC control signal Epon 2 13 3 33 EACNT5 F200 0 F201 3 The 2 spindle S12 digit signal RO102 R1202 R1202 RO102 R1202 2 28 2 2 F202 F203 The 2 spindle actual speed signal AR002 AR152 154 F170 7 completed signal PLC axis control group 4
119. ls corresponding to axes 1 2 3 4 5 eSignal addresses 7 6 5 4 3 2 1 0 AAA 58 Chapter 2 PLC Signals 2 4 1 3 Sequence of Machine Reference Point Signal Machine reference point return F 4 5 A p T i i Machine reference point return in X Z direction A k U Slop ag I Machine reference pom Leg MA return end signal F094 1 A Machine reference point return 1 i Machine reference point P establish signal F120 V f i end indicator NA 7 WA Ai 2 5 Automatic Operation 2 5 1 Cycle Start Feed Hold eCycle start start automatic operation In AUTO or MDI mode when the automatic operation start signal ST is enabled program starts running 1 Signal ST is ignored under the following conditions A The system is in a mode other than AUTO or MDI mode B Feed hold signal SP is 0 C Emergency stop signal ESP is 0 D External reset signal ERS is 1 E The RESET key on the operation panel is pressed F CNC is in alarm state G Automatic operation is already started H Program reset signal SRN is 1 CNC is searching for a sequence number 2 During automatic operation the CNC performs feed hold under the following conditions A The feed hold signal SP is O B The AUTO mode is switched to other modes MANUAL HANDWHEEL STEP MACHINE REFERENCE RETURN PROGRAM REFERENCE RETURN modes C During single block execution the instruction for the single block is finished D The operati
120. m type Data area GSK988TA TA1 TB Turning Center CNC System PLC User Manual 988 series system 988 988T 1 988TA 2 System series number Data area Software version example the value of V1 02 is 102 Data area The No of controllable axis 2 Read the cutter offset value Read the offset value wore value cutter compensation value and image tool nose number for the cutter 38 eo Data input o Offset type eo Data output Initial Add Initial Add It expresses by decimal system for It is identical with the current axis number 0 Function code 13 0 Data number Tool offset number Data attribution Offset type Channel number data area End code End code explanation Data number Function code 13 1 Data attribution Chapter 1 PLC User Manual Channel number Data area Offset data e The unit of the offset data Input unit 0 001 mm 0 0001 mm 0 0001 inch 0 00001 inch End code explanation 0 Normally read 3 Disabled for the specified offset number The offset number exceeds the enabled range 1 99 4 Disabled for the specified offset type The offset type exceeds the enabled range 3 Write the tool offset value Low speed response Write the offset value wore value cutter compensation value and image tool nose number of the cutter eo Data input 3 Data number Tool offset number 4 Data attribution Offset type 5 Channel number 6
121. motor SIND2 1 selects the speed command from PLC 0 selects the speed command from CNC i e the spindle speed specified by S command eSignal address 7 6 5 4 3 2 1 0 635 EA A O IO O SA The 2 spindle 12 digits code signal R0102 R1202 F200 0 F201 3 eSignal type CNC gt PLC eSignal function It converts the spindle speed calculated by CNC to the code signals O OXFFF eSignal addresses 7 6 5 4 3 2 1 0 F20 R0802 R0702 R0602 R0502 R0402 R0302 R0202 ROOT Zi TL ROZ EI Ke EE The 2 spindle motor speed command input signal R0112 R1212 G34 0 G35 3 eSignal type PLC CNC eSignal function It indicates the input of the ae spindle motor speed command from PLC eSignal addresses 7 6 5 4 3 2 1 0 RSC er we ROSIZ ROMZ ee R022 ROMZ SES EE BE RE RRE The 209 spindle actual speed Signal AR002 AR152 F202 F203 eSignal type PLC CNC eSignal function It indicates the actual spindle speed transmitted from CNC to PLC The spindle speed is detected by the position encoder which installed on the spindle and feedbacks the pulse indexing 85 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual eSignal addresses 7 6 5 4 3 2 1 0 F203 AR152 AR142 AR132 AR122 AR112 AR102 ARO92 ARO8 amp 2 Each spindle rotation direction of the multi spindle control The 1 spindle reverse signal SRVA G70 4 The 1 spindle positive signal SFRA g70 5 Th
122. n XO and stores the result in R10 For example when X0003 3 1 and X0 11000110 after the WINV instruction is executed the result in R10 is 00111001 1 4 24 WSHL Binary Data Shift Left eFunction It is shift left instruction of two input data 1 2 4 bytes by specified bits The result is output to the OUT address eFormat ALT WSHL SIZE OUT H IN eControl conditions ACT 0 OUT value remains the same 32 Chapter 1 PLC User Manual ACT 1 the value in IN is shifted left N bits and the result is output to OUT eParameters SIZE Specify the size of data in IN 1 2 4 bytes N The address or constant of shifted data The address can be R X Y F G K A D T C DC DT IN The leading byte of input address or constant of the data It can be R X Y F G K A D T C DC DT OUT The address of output result It can be R Y G K A D T C DC DT eExample A2 Explanation When X0003 3 1 it shifts left 4 bits of the data 8 bits in XO and the result is stored in R10 For example when X0003 3 1 and X0 11000110 after the WSHL instruction is executed the result in R10 is 01100000 1 4 25 WSHR Binary Data Shift Right eFunction It is two input data command instructing shift right 1 2 4 bytes in specified bits The result is output to the OUT eFormat ALT WHR SIZE OUT H IH eControl condition ACT 0 OUT value remains the same ACT 1 the value in IN is shifted right N bits and the
123. n code end code data length data number data attribution channel number and data content the storage formate is as follows Initial Add O Invariable during output 1 End code 3 Invariable during output 4 data property Invariable during output 5 Channel number Invariable during output ERR Function completion output address the address can be regarded as Y G R K A D C T DC and DT The window command is treated as O when it is performed or not performed and then set it as 1 after execution e Example R20 0 w IMOR DOVUN ERRITRZZL U Explanation When R220 0 1 read 6 N data wherein N is determinded by data length D02 the data into its data area at the beginning of DO and then return the treated data to its data area The data area is shown below 36 Chapter 1 PLC User Manual ae GE SE GE SS D0006 data area It is determined by data length e Function code list E IE IE Ll AE LS 2 Read the tool offset value WI 3 E IC MC E A R 3 E vane 28 The format and content of each function code 1 Read the system information of the CNC Read the special information of the CNC Include the name of CNC system type the software version and control axis number eo Data input 0 3 mb eo Data output Initial Add 0 A ocde 1 End code 0 5 A Data attribution 5 Channel number 37 Sr 113 I 10 Data area CNC name Data area Syste
124. nal EBSYg should be the same as that of EBUFg CNC stores the axis control function in the buffer therefore multiple PLC axis control operations are allowable in sequence If the buffer is vacant CNC can receive a new block command from PLC when another block is executing There are 3 kinds of buffers input waiting and executing The following figure shows the operation sequence 1 2 3 4 5 Command block Input EBUFg Input EBSYg Output Input buffer Waiting buffer 2 3 Executing 1 2 buffer Beginning of execution End of Beginning of execution execution Use the XOR of the axis controllable command read signal EBUFg input from PLC and the axis controllable command read completion signal EBSYg output from CNC to determine the state of CNC buffer area EBUFg EBSYg CNC Buffer Status D OO The previous block has already been read into CNC buffer the next block can be issued 91 Sr 113 te The previous block is not read yet PLC is waiting for the vacancy of CNC buffer and does not issue the next block nor invert the logic status of EBUFg The inversion of EBUFg status will disable the issued block 5 Repeat the procedures 3 and 4 till all the blocks are issued When the last block is issued set the axis control selection signal EAX1 to EAX5 to 0 However before setting the signals to 0 make sure that the blocks in input waiting and executing buffer are
125. nal of miscellaneous function is sent C When the strobe signal is 1 PLC reads code signal and executes correspondingly D In a block when an execution is finished another execution should be started after the distribution end signal DEN is changed to 1 E PLC sets the end signal FIN to 1 after the execution The FIN signal is used in miscellaneous function spindle speed function and tool function If these functions are executed simultaneously the FIN signal can be set to 1 only after all the execution are finished F Only when the signal FIN is 1 and should be 1 for a while can CNC set the strobe signal to 0 and inform PLC the receival of end signal G When the strobe signal is 0 PLC sets the FIN signal to 0 H When the FIN signal is 0 CNC sets all the code signals to and ends all the execution of miscellaneous function I When the command execution is finished in a block CNC preceeds execution to the next block The control sequence is shown as follows When a block contains a miscellaneous function Mbit00 31 I MF Af PLC motione j f FINe DEN 71 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual When movement command and miscellaneous function are in the same block the miscellaneous function is executed before the movement command execution is finished Movement commande ss Mbit00 31 AAA MF 8 PLC motion d H FINe o es A DEN 0 SST OS When movement command
126. nch 0 1 inch min machine Rotary axis degimin The valid data range is show in the following figure Increment System l IS B IS C ent Metric 30 15000 30 12000 mm min Linear machine E Inch 30 6000 30 4800 inch min machine 3015000 30 12000 Cutting feed per minute ECOg to EC6g 01h The signal instructs a feedrate in binary form When the bit 3 of parameter No 8002 F10 is set to 1 the federate is multiplied by 10 The data is shown as follows When the bit 3 of parameter No 8002 F10 is O Increment System Linear machine machine When the bit 3 of parameter No 8002 F10 is 1 Increment System Linear l l machine degli The valid data range is shown as follows Increment System l SB e 97 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Linear machine axis 0 01 4000 00 0 001 480 000 inch min machine 1 100000 0 1 12000 0 deg min Cutting feed per rotation ECOg to EC6g 02h This signal is used to specify the tool movement amount per spindle rotation The incremental unit is depend on the bit 6 FR1 and bit 7 FR2 of parameter No 8002 Shown as follows Metric Input Inch input Rotary axis FR FRI mm rev inch rev deg rev 1 1 0 0001 0 000001 0 0001 0 001 0 00001 0 001 The valid data range is shown as follows A System IS C Linear machine 0 000001 9 999999 inch rev axis machine 0 0001 500 0000 Continuou
127. nel system is set to 1 it not input too 5 When ERR sets to 1 which means that the window function treatment is performed however it does not manifest that the data treatment is successful The current performed state can be judged only from the output code The meaning of the end code is as follows mme Wem o eme 1 Finan nae aster attend 3 Data number disabled Dennen 7 Peer Ghannerrambordsaied rt tases e e ricino 1 4 29 AXCTL PLC Axis Control Function e Function Perform the PLC axis controllable command eo Format 43 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual ACT ACT 0 Do not perform the AXCTL command ACT 1 Perform the AXCTL command and the ACT should be hold as 1 till to the end of the axis controllable command To guard against the repeated performance immediately rest the ACT after the performance is ended FIN 1 Parameter explanation Parameter eal Parameter meaning Data type name DI DO group numbers 1 4 Constant or It corresponds with the parameter 8010 if one axis X Y F G R K A D C T DC DT setting value is identical with the GRP and then this axis Byte address is controlled Controllable command Refer to the PLC axis controllable Constant or command list for detailed X Y F G R K A D C T DC DT Byte address Constant or X Y F G R K A D C T DC DT Byte address Command datum 1 is corresponds with the concrete controllable comman
128. ogram name and subprogram address thus the subprogram name can also used as a symbol Other symbol tables are user defined The following paragraphs describe how to create and delete a symbol table 4 4 3 1 Create Rename and Delete a Symbol Table Create a symbol table Click command Insert Symbol Table after right clicking Symbol Table node a new symbol table will be generated which at the mean time enables the generation of a new node and a sub view label 139 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Rename a symbol table Expand the Symbol Table by clicking the symbol then click Rename on the fly out menu or left click the sub node to be renamed the character string becomes editable then press Enter on the keyboard Please note that the new name cannot be consistent with other names of symbol tables Delete a symbol table Click Delete a dialogue box will pop up to confirm the deletion then the corresponding symbol table will be deleted if your answer is yes EE GSKLad1 142 EE okt adi 1a Lei Ladder f Ladder Zeck LEVEL 1 Level 11 Zeck LEVEL 1 Level 11 Zeck LEVEL 2 Level 21 Zeck LEVEL 2 Level 21 a SubProgr am ta SubProgram E En oymbol Table A of Block Symbol EE E E Delete G InitDate Table SE Ini Eg E Initllata gei InitData D sei D Rei Message ER Message E EJ Cross Reference Ea Cross Reference EJ Index EX Index a
129. on is finished in MDI mode E An alarm occurs in CNC system 59 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual F After the AUTO mode is switched to EDIT mode the single block instruction is finished 3 During automatic operation CNC enters into reset state and stops running under the following conditions A Emergency stop signal ESP is set to 0 B External reset signal ERS is 1 C RESET key on the operation panel is pressed eFeed hold automatic operation interrupted During automatic operation when the feed hold signal SP is 0 CNC enters into paused state and stops running Meanwhile cycle start indicator STL is set to 0 and feed hold signal SPL is set to 1 Even if SP is set to 1 again the automatic operation will not be re started Only when SP is set to 1 and ST signal is valid can the machine be restarted and operated automatically During the execution of blocks containing M S T function instructions SP signal is set to 0 STL will be 0 immediately SPL signal is 1 and CNC enters into paused state When receiving FIN signal from PLC CNC continues executing the interrupted blocks After the block is executed SPL signal is set to 0 STL signal is 0 CNC enters into automatic operation paused state 2 5 1 1 Cycle Start Signal ST G7 2 eSignal type PLC NC falling edge is valid eSignal function In AUTO or MDI mode when PLC receives the input signal of cycle start on the panel G7 2
130. oolbar then enter the contents to be found in the edit box In Ladder View you can select the Find Type the pop up box but in other views it is not available 125 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Find EA S GEN C Match whole dee Find All U Down Foch case 9I OP Find Type Parameter Function Cmd Enter the contents to be searched in the edit box then click Next the cursor will be located at the result position if click Find All the results will be displayed in the information output pane double click one of the result the cursor will be located at the corresponding contents Shown as follows Output A Search 210 Block SUB 10 Network 1 Row 1 Column 2 Pararneter 1 21 0 Block SUB 10 Network 2 Row 2 Column 2 Pararneter 1 21 0 search 2 and string related to 21 0 0 MO 0 and 100 HA KEN Compile Find In Ladder View the type of parameters constant addresses or symbols can be exclusively searched according to the input character string The options such as Exact Match and Match Case are available only when the symbols or function commands are searched Match Case is invalid when searching for addresses Both Exact Match and Match Case are invalid when searching for constants For address formats x0 1 and X0000 1 represent the same one and will lead to the same result In Table View all the contents are processed
131. or accessories by themselves User should take responsibility for the danger without following the operations maintenances installations and storages described in the manual This manual is stored by the last user VI GSK988TA TA1 TB Turning Center CNC System PLC User Manual Sincerely thanks for your friendly supporting of GSK s products VII List LIST CHAPIER LT PLG USER MANUAL iiini ienen ROE GETAO GARG 1 tT GAB ee der d e EE 1 1 2 PEGAddressSOS siii rr 1 1 2 1 X Addresses Machine PLE aia 3 L22 VAddressesPLE Machala a 4 L23 FF AqdressesiENE ee ee eege 4 24 sG Addresses PEC CN e Aina 4 1 2 5 Internal Relay Addresses EE 5 1 2 6 Information Display Request Addresses Al 5 1 2 7 Holding Relay Addresses KI 5 12S e Tu ee EE 6 12 9 Counter Preset Addresses DO EE 6 E200 Timer Addresses NR E 7 E SN NN NM Timer Preset Addresses DT EE 7 t212 Data Table Addresses d E EE 7 EZ 13 TabelAddresses dE EE 8 1214 SUBD rOstranniINUMDErSH Pra deele 8 139 PLC Basic a E d e ciscssscsssscceussencceacsicscessassadeansdtcannasesanecsoasianssansaunezasiecarsazancesseaeieeasteraes 8 eier 8 A EE 9 1 OI IO EE 10 E34 e re tes eases erste eas cra aa 10 E JAIN E 11 e VIPS Ee 12 E PEC Function INStrUCHONS isis a dt 12 o E 13 IX Sr 113 I GSK988TA TA1 TB Turning Center CNC System PLC User Manual LER RSMO EE 14 DAS CVIPABIN ary Data COMP Al ISOM DEE 14 1 4 4 TMRB Timer didas 15 14 5 CTRE Binary
132. or one scanning cycle on a rising edge of the input signal eFormat ALT Addr b DIFU eControl conditions Input signal ACT On a rising edge 0 1 of the input signal the output signal is set to 1 27 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Output signal Addr b The output signal level remains at 1 for one scanning cycle of the ladder level where this function command is operating and changes to 0 for next scanning cycle eParameter Addr b calculation output address It can be Y G R A and K etc eExample A3 3 R44 0 DIFU Explanation When X0003 3 is on rising edge R0044 0 outputs 1 1 4 17 DIFD Falling Edge Detection eFunction It sets the output signal to 1 for one scanning period on a falling edge of the input signal eFormat ACT Addr b DIFI eControl conditions Input signal ACT On a falling edge 1 0 of the input signal the output signal is set to 1 Output signal addr b The output signal level remains at 1 for one scanning period of the ladder level where this function command is operating and for the next scanning period it changes to 0 eParameters Addr b the address of calculation output It can be Y G R A and K etc eExample A3 R44 0 DIFI Explanation When X0003 3 reaches falling edge the R0044 0 outputs 1 1 4 18 ALT Alternative Output e Function It inversely outputs the output signal when the input signal is changing on the rising edge
133. ows Auxiliary function command Next command Command block input EMiio to EM48q output EMFg EMF2g EMP3g output EFINg input EDENg output eSignal addresses 7 6 5 4 3 2 1 0 F170 2 11 3 23 Direction Overtravel Signal EOTNg F140 6 F150 6 F 160 6 F 170 6 eSignal type NC PLC Di eSignal function When the movement exceeds the direction limit signal EOTNg is 1 meanwhile the alarm signal ElALg is 1 When the overtravel alarm is removed and reset 110 Chapter 2 PLC Signals signal ECLRg is 1 signals EOTNg and EIALg signal are 0 eSignal addresses 7 6 5 4 3 2 1 0 eee EOTNA E EOTNB F160 EOTNC F170 EOTND 2 11 3 24 Direction Overtravel Signal EOTPg F140 5 F 150 5 F 160 5 F170 5 eSignal type NC PLC eSignal function When the movement exceeds the direction limit signal EOTPg is 1 meanwhile the alarm signal EIALg is 1 When the overtravel alarm is removed and reset signal ECLRg is 1 signals EOTPg and EIALg signal are 0 eSignal addresses 7 6 5 4 3 2 1 0 F170 2 11 3 25 Feedrate Override Signal FVOE FV3E G138 eSignal type PLC NC eSignal function These signals are used to select the cutting feedrate override just like CNC feedrate override signals FVO to FV7 Set that the override of PLC controlled
134. peed multiplies a specified override Bit 3 of parameter No 8001 RDE determines the validness of dry run for rapid traverse Manual Rapid Traverse Instructions from PLC Selection Signal Rapid traverse Cutting feed 1 Rapid traverse rate Maximum cutting feedrate Dry run feedrate xFV or Dry run feedrate xFV rapid traverse rate 112 Chapter 2 PLC Signals eSignal address 7 6 5 4 3 2 1 0 6137 DEI TT III TI 2 11 3 29 Manual Rapid Traverse Selection Signal RTE G137 6 eSignal type PLC NC eSignal function During dry run when the manual rapid traverse selection signal RTE is set to 1 the tool moves at the rapid traverse rate and the maximum cutting feedrate When the signal is 0 the tool moves at the dry run speed When the dry run signal DRNE is 0 the specified rapid traverse rate or cutting feedrate is adopted again eSignal address 7 6 5 4 3 2 1 0 S137 AA 2 11 3 30 Override 0 Signal EOVO F129 5 eSignal type NC gt PLC eSignal function When the feedrate override is 0 this signal is 1 eSignal address 7 6 5 4 3 2 1 0 RACH OVO 2 11 3 31 Distribution Completion Signal EADEN1 EADEN5 F112 0 F112 4 eSignal type NC PLC eSignal function When tool is moving according to PLC instructions these signals are set to O When tool stops except for the occasion that signal ESPg stops the axis movement these signals are set to 1 eSignal addresses 7 6 5
135. pen contacts in parallel Normally closed contacts in parallel elnstruction explanation A OR ORI instructions are used to connect one contact in parallel If more than two contacts are connected in series and then this kind of circuit is connected with other circuits in parallel ORB instruction aftermentioned is used B OR or ORI means the parallel connection between the instruction step and the LD LDI instruction steps eProgramming example AUOO 1 0003 F0700 3 Explanation Read the status of X0002 1 Read the status of FO100 3 and connect it with X0002 1 in parallel When X0002 1 is 1 or FO100 3 is 0 YOOO3 7 is output 1 3 4 ORB eMnemonics and functions Serial circuits in parallel elnstruction explanation A The circuit which is more than two contacts is connected in series is called serial circuit When serial circuits are connected in parallel the LD LDI instructions are used for branch start the Chapter 1 PLC User Manual ORB instruction is used for branch end B ORB instruction is an independent instruction without address eProgramming example 0002 1 X0002 2 HESE Y0003 7 k F0100 3 FO100 6 R0022 1 Explanation There are three branches 0002 0003 and 0004 from the left bus to the node Branches 0002 and 0003 are serial circuits When there are serial circuits connected in parallel between the bus to the node or node to node ORB instruction is used for the a
136. r signal response capacity 3 2 2 Priority of Execution A sequence program consists of two parts 1 level sequence and 2 level sequence The 1 level sequence part is less than 600 steps and operates every 8ms to process the quickly responded short pulse signal the 2 level sequence part operates every 8n ms Here n is a dividing number for the 270 level sequence part The 2 level sequence part is divided automatically according to the required execution time The cycle of execution is 8ms The 2 level sequence part must be divided in order to execute the 17 level sequence part When the dividing number is n the execution process is shown in the following figure T11 T12 T1n are the required time for the execution of the 1 level sequence part every 8ms for the n th loop T21 T22 and T2n are the required time for the execution of the 1 2 n th division part of the 2 sequence part for the 1st loop Tc1 Tc2 and Ten are the occupied time every 8ms in the 1 loop When the last division part of the QM sequence part has been executed the program is re executed from the beginning The 1 level sequence part operates every 8ms the 2 level sequence part operates every 8n ms a loop execution time is 8n ms Sms STs SITS Tii 12 Tin 1st part Tal T22 Tn Tel Ted Ten 3 3 Output Input Signal Processing X signal from machine tool and F signal from NC are input to the corresponding memory in PLC and adopted by the 1 lev
137. re the input signals in the 2 level sequence part are lagged behind The maximum lagging time is the 2 level sequence part execution time C The difference of input signal status between the 1 level and the 2 level The status of the same input signal may be different in the 1 level and 2 level sequence That is at the 1 level processing is performed using input signal memory and at the 2 level processing is performed using the 2 level synchronous input signal memory Therefore it is impossible for a 2 level input signal to delay by a cycle of 2 level sequence execution at the worst compared with a 1 level input signal This must be kept in mind when writing the sequence program 3 3 2 Output Signal Processing A Output signal to NC PLC outputs signals to NC memory at the intervals of 8ms then NC memory directly outputs the signal to NC B Output signal to machine tool PLC outputs signals to the machine tool memory then the memory directly forwards the signals to 117 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual the machine tool at the intervals of 2ms 3 3 3 Short Pulse Signal Processing The 1 level sequence program is used to process the short pulse signal However if it is less than 8ms it means the input signal status may be changed during the execution of the 1 level sequence program which will cause mistake The remedy for such mistake is to store the signal in in
138. s feed ECOg to EC6g 06h Set the feedrate ECOg to EC6g 01h just like the cutting feed per minute During the continuous feed the feedrate can be changed by signals ElFOg to EIF15g After the axis control command read signal EBUFg is reversed the tool moves at a new feedrate The EBUFg signal is usually not checked because the JOG feed command is not buffered The specified feedrate can be the 10 times of the data set by bit 3 of parameter No 8002 and the 200 times of the data set by bit 2 JFM of parameter No 8004 Speed command ECOg to EC6g 10h The signal instructs the servo motor speed in binary system Positive command means positive direction of rotation while negative command means the negative direction of rotation When a new servo motor speed is commanded the logic of axis control command read signal EBUF g is inverted which will increase or reduce the servo motor speed eNote When the command is set to 0 the CNC sequentially executes the buffer rather than move the tool In this case the input reset signal ECLRg can be used to release the buffer Cutting speed limitation is invalid 98 Chapter 2 PLC Signals eSignal addresses 7 6 5 4 3 2 1 0 EIF7A EIF6A EIF5A EIF4A EIF3A EIF2A EIF1A EIFOA EIF15A EIF14A EIF13A EIF12A EIF11A EIF10A EIF9A EIF8A 3 A 7 6 5 4 3 2 1 0 IFT EiFoB EIFSB EES EE EES SEI EES er EFs Era pos EES EE EES EIFOB EB 7 6 5
139. safety before starting operations 119 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 120 Chapter 4 Instruction Of Gskladder CHAPTER 4 INSTRUCTION OF GSKLADDER 4 1 Screen Display Main Menu Standard Toolbar Ladder Edit Toolbar Ladder view Toolbar View Label ii CDEN ii A te ll e cer A DE ax 4 ipie ma tate ia mm Message Let Bontot E E SL i feel 10 Let Filer ER rb r D SP ee i P falda Tila Dech Zrehei oom ek Be md P Eg mitata Tabla a H HILL E Benisce AO Te A Workspace Pane Message Pane User Editing Area status Bar e e Main Menu All the operation commands e Standard Toolbar e Ladder Edit Toolbar e Ladder View Toolbar e View Label e Workspace Pane e Message Pane e User Editing Area e Status Bar Daily used commands Ladder edit commands Ladder display style Different views can be switched Different project configuration can be managed Outputs messages about PLC compiling and searching Different views can be displayed and the operations such as Ladder Symbol Table and Initialized Data edit can be executed To display the tool information keyboard status and current cursor location etc 121 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 4 2 Main Menu Commands 4 2 1 File Menu File EOt wiew PLCIP Tool Window Help Hew Ctrl h Open Ctro Close Save 45 Print Ctrl F Print Preview Print Setup 1 5TOPLE L
140. saved a hint will pop up to confirm whether to save the current project 124 Chapter 4 Instruction Of Gskladder 4 2 2 Edit Menu File Edit View PLO P Tool Window Help Undo Ctrl 7 Redo Ctri Y Cut Ctrl x Copy Ctrl C Copy Row Ctrl E gA Eind Ctrl F Replace CtrltH CG GoTo Ctra Find Calling CLM Automatic Split Network Insert Delete Cell Function Commands It should be noted that the last three items in Edit menu Insert Delete Cell and Function Commands are only displayed in the Ladder View Undo You can undo the recent modified contents up to 20 times by using keystroke of Ctrl Z or clicking 22 on the standard toolbar Redo You can redo the recent undone operation by using keystroke of Ctrl Y or clicking on the standard toolbar If the modification is made after the undo Redo command cannot be executed Cut You can cut the selected contents and copy it to the clipboard by using keystroke of Ctrl X or clicking de on the standard toolbar Copy You can copy the selected contents in the clipboard by using keystroke of Ctrl C or clicking RK on the standard toolbar Paste You can paste the contents in the clipboard to the selected position by using keystroke of Ctrl V or Fe on the standard toolbar Find You can find contents such as the character string or address by Find command Use keystroke of Ctrl F or click the 24 on the standard t
141. sert Row Up to insert a row above the current position click Insert a Row Down to insert a row below the current position click Delete Row to delete the selected row Address Input The address input is similar to the input in the symbol table but only types D DC DT are supported in InitData Table Data Input The input data should be set between the data range and will be clamped at the upper limit or the lower limit if exceeds Integers from 2147483647 to 2147483647 can be input if no upper or lower limit is set Minimum Data Input Integers from 2147483647 to 2147483647 can be input if no upper or lower limit is set If the maximum data exists the input data should be limited within 2147483647 to the maximum data If the input data is smaller than 2147483647 it is clamped at 2147483647 if it is greater than the maximum data it is clamped at the maximum data If the modified minimum data is greater than the input data the input data will be re set to the modified one Maximum Data Input Integers from 2147483647 to 2147483647 can be input if no upper or lower limit is set If the 142 Chapter 4 Instruction Of Gskladder minimum data exists the input data should be limited within the minimum data to2147483647 If the input data is greater than 2147483647 it is clamped at 2147483647 if it is smaller than the minimum data it is clamped at the minimum data If the modified maximum data is smaller than the input data
142. sing this product II Security Precaution SECURITY PRECAUTION A Accident may occur by improper connection and operation This system can only be operated by authorized and qualified personnel Please carefully read this manual before using Especially The system power installed on inside the chassis is the dedicated power supplied by GSK CNC SYSTEM Never attempt to use this power for other purposes otherwise the great hazard may occur MI Sr Wisi GSK988TA TA1 TB Turning Center CNC System PLC User Manual STATEMENT o We will try to describe all the various matters as much as possible in this manual However it is impossible to give detailed descriptions to all the unnecessary or unallowable operations because there are too many possibilities Therefore the matters not specially described herein should be considered as impossible or unallowable WARNING lt is necessary to carefully read this User Manual and the one from the machine tool manufacture before programming and operating this product strictly operate the product based upon the Manual otherwise the product and machine tool may be damaged the workpiece may wasted as well the personal injury NOTICE The functions and specifications such as the precision and speed etc described in this manual are only for this product itself For those CNC machine tools installing this product the actual function configuration and specific
143. splay Do not display the workspace pane Output 130 Chapter 4 Instruction Of Gskladder Display Do not display the message output pane Toolbar Display Do not display the toolbar The drop down menu is shown as follows Lei Ele Edit view PLC P Workspace Output Standar Toolbar Statusbar View Toolbar Ladder view Edit Toolbar Language d Tool Window Help Standard Toolbar Display Do not display standard toolbar View Toolbar Display Do not display Ladder View toolbar Edit Toolbar Display Do not display Ladder Edit Toolbar Status Bar Display Do not display the status bar below the main frame window Ladder View The drop down menu for the setting of the Ladder View is shown as follows He Edit view PLE P Workspace Output Toolbar Statusbar Ladder view Display Type Scale Network Title Tool Window Help Language d Network Comment Display Type Parameters can be displayed in three types Address Symbol Address Symbol They can also be set via the combobox on the Ladder View Toolbar When display type Address is selected parameters are displayed in addresses except for those in the format of symbols and have no corresponding addresses these symbols will be turned into blue if converted to addresses When display type Symbol is selected parameters are displayed in symbols except for those whose t
144. t CNC Overtravel alarm Move the tool to the stored limit area and then reset CNC The following instruction can be used to move the tool into the stored limit area 1 Rapid traverse ECOg to EC6g 00h 2 Cutting feed per minute ECOg to EC6g 01h 3 Cutting feed per rotation ECOg to EC6g 02h 4 Continuously feed ECOg to EC6g 06h P S alarm Reset CNC In the above conditions not the reset signal ECLRg but the RESET button on the panel can reset CNC eSignal addresses F150 F170 2 11 3 21 Axis Movement Signal EGENg F140 4 F 150 4 F 160 4 F170 4 eSignal type NC PLC eSignal function When tool moves on the PLC controlled axes according to such instructions as rapid traverse and cutting feed this signal is 1 eNote When axes assignment is finished this signal is set to 0 During deceleration this signal is set to O eSignal addresses F170 109 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual 2 11 3 22 Miscellaneous Function Execution Signal EDENg F140 3 F150 3 F 160 3 F170 3 eSignal type NC PLC eSignal function When the miscellaneous function is instructed by PLC miscellaneous function code ElDOg to ElD15g are sent to miscellaneous function code signal EM11g to EM48g This signal is 1 till the miscellaneous function completion signal EFINg returns The operation sequence diagram is shown as foll
145. ternal relay R when the signal is read and during the next PLC program scanning period take the R signal of buffer as the short pulse signal In this way the logic states of internal and external signals during a single PLC scanning period can be consistent 3 3 4 Interlocking Interlocking is externally important in sequence control safety Interlocking with the sequence program is necessary However interlocking with the end of the electric circuit in the machine tool magnetics cabinet must not be forgotten Even though logically interlocked with the sequence program software the interlock will not work when trouble occurs in the hardware used to execute the sequence program Therefore always provide an interlock inside the machine tool magnetics cabinet panel to ensure operator safety and to protect the machine from damage 3 4 PLC Basic Instructions Designing a sequence program begins with writing a ladder diagram The ladder diagram is written using relay contact symbols and function command codes Logic written in the ladder diagram is entered as a Sequence program There are two sequence program entry methods One is the entry method with PLC instructions The other is the relay symbol method in which the sequence program is entered by using the relay contact symbols and the function command symbols of the ladder diagram When the relay symbol method is used the ladder diagram format can be used and programming can be performed witho
146. the EAXSL signal is set to 0 However when the bit 5 of parameter No 8001 NCC is set to 1 the execution of other two conditions will lead to a P S alarm Note that in manual continuous feed mode when the tool is moving along an axis this command is invalid If the control axis selection signal is set to 1 when the CNC is executing a command a P S alarm No 139 will be generated In manual continuous feed mode setting this signal to 1 will enable the suspension of the execution When the control axis selection signal is set to 1 a P S alarm No 139 is generated at the same time EAXSL is set to 0 and alarm signal ElALg is not changed to 1 in this case even the CNC is in alarm state the axis can still be controlled by PLC eNote The time from setting the control axis selection signals EAX1 EAX5 to to PLC forwarding instructions to CNC should be 8ms at least GSK988TA TA1 TB Turning Center CNC System PLC User Manual 1 Chapter 2 PLC Signals eSignal addresses 7 6 5 4 3 2 1 0 Teme TEARS eer EA FAX esst 2 11 3 2 Axis Control Command Signal EC0g EC6g G141 0 6 G151 0 6 G161 0 6 G171 0 6 eSignal type PLC NC eSignal function Perform the following operations via each channel Axis control command Operation hexadecimal code Rapid traverse linear acceleration deceleration Execute the same GOO as CNC Cutting feed per minute exponential acceleration deceleration after interpolation
147. the input data will be re set to the modified one 4 4 4 3 Create Rename or Delete InitData Table Create an InitData Table Click Insert a Data Setting Table after right clicking the InitData Table node a new subprogram will be generated which at the mean time enables the generation of a new node and a sub view label Rename an InitData Table Expand the InitData Table by clicking the symbol then click Rename on the fly out menu or left click the sub node to be renamed the character string becomes editable then press Enter on the keyboard Please note that the new name cannot be consistent with other names of tables including K value setting table Delete an InitData Table Click Delete a dialogue box will pop up to confirm the deletion then the corresponding table will be deleted if your answer is yes fe Skladi 142 J 2 Lal Ladder Zeck LEVEL 1 Level 1 Zeck LEVEL 2 Level 2 13 SubPr ogr am ES ER Symbol Table E Block Symbol pa GSKLadl 142 Gh Ladder ld LEVEL 1 Level 1 ie LEVEL E Level 2 ia SubProgram E En Symbol Table E Block Symbol IB symbol E Symbol Ex El x El D El 2 GS InitData Table O EE lnitlata Table ER InitIata D Rei Message E Le Cross Reference Le Index E Bit Le Byte Ladder Infomation Ladder Infomation 4 4 5 Message List Click Message List label The displayed message list contains 200 rows wh
148. tion after the label is executed eParameters Lx Specifies the jump destination Label number should be started with L address and can be specified one value among L1 L9999 eExample ha 3 L4 JMFE R100 0 11 0 gt L4 RIZ Gl 0 i Explanation When X0003 3 is 1 the program jump over R100 0 and executed from R12 1 if X0003 3 is O the execution starts from R100 0 1 4 10 LBL Label eFunction The LBL function command specifies a label in a Ladder program i e the destination of JUMP A Lx label can be specified by LBL once e Format 21 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual Lx eParameters Lx specifies the jump destination Label number should start with L address and can be specified one value in L1 L9999 1 4 11 CALL Subprogram Call eFunction The CALL function command calls the specified subprogram It has the following features more than one call instructions can call for the same subprogram the call instruction can be nested ACT Pu eControl conditions e Format ACT 0 The next instruction after CALL is executed 1 Call the subprogram which specifies the subprogram number eParameters Px Specifies the subprogram number to be called The number should be started with P address and can be one value of P1 P9999 1 4 12 ROTB Binary Rotation Control eFunction It is used to control rotating elements including the tool post rotary table etc Th
149. tored in the single or continuous addresses in the PLC are read out such as the value of PLC data parameter D The byte address of PLC consists of address type and address number Example X0001 represents the address of PLC external input address X0001 data size 8 bits f 35 43 2 1 0 X 0001 X0000 i A X0001 X0001 i X0002 Type Address No 0003 There are three methods when PLC addresses are read in bytes the following examples are shown the above mentioned explanation O Single byte type Example ROD MONN 15IZE OUT PRAO0 R100 10 OUTFR 100 0 or RO e Double byte type Example ROO MOWN eqsizE OUT E400 RIOUUN e Four byte type Example Ro 0 MOWN 4q5I4E OLTPR4DO ROOM The data that obtained by the three methods are shown as follows Chapter 1 PLC User Manual Hu J R100 PLC address storage layout pojo EC Roio ja hf EE ROLOS Copy single byte data Note The MOYN instruction transfers data consisting of an arbitrary number of bytes from a specified source address to a specified destination address SIZE instruction specifies the size of the a data In the following example PLC copies the 1 byte 2 bytes 4 bytes 7 ROOL ol OI ROLOU j J data started with R100 address to The data value is of 16 bits the address R400 i al r ROLOS nl ROI02 a ROO oj RDO o The data value is of 32 bits Note For the four byte type address DT DC
150. transmits the signal to PLC for logic control Please refer to the relevant information about to the output conditions and process The relation between T command and binary code of T code signal is shown as follows eSignal addresses F27 7 Tbit07 Tbit15 Tbit23 Tbit31 6 Tbit06 Tbit14 Tbit22 Tbit30 5 Tbit05 Tbit13 Tbit21 Tbit29 4 Tbit04 Tbit12 Tbit20 Tbit28 3 Tbit03 Tbit11 Tbit19 Tbit27 2 Tbit02 Tbit10 Tbit18 Tbit26 1 Tbit01 Tbit09 Tbit17 Tbit25 0 Tbit00 Tbit08 Tbit16 Tbit24 E Ka 2 7 4 MST Function Completion 2 7 4 1 FIN G4 3 eSignal type PLC NC eSignal function When the executions of miscellaneous function spindle speed function and tool function are finished PLC sets FIN to 1 and then transmits it to NC Completion Signal 76 Chapter 2 PLC Signals eSignal address 7 6 5 4 3 2 1 0 ce AA EL MEIN G5 0 eSignal type PLC NC eSignal function When the execution of miscellaneous function is finished PLC sets MEIN to 1 and then transmits it to NC eSignal address 7 6 5 4 3 2 1 0 Lal E WER SEIN G5 2 eSignal type PLC NC eSignal function When the execution of spindle speed function is finished PLC sets SFIN to 1 and then transmits it to NC eSignal address 7 6 5 4 3 2 1 0 KS AA RAR E S TFIN G5 3 eSignal type PLC NC eSignal function When the execution of tool function is
151. tructions of miscellaneous function are sent this signal is set to 1 eSignal addresses 7 6 5 4 3 2 1 0 uae EMF3A Kap EMF3B EMF3C F171 EMF3D 2 11 3 15 Miscellaneous Function Completion Signal EFINg G140 0 G150 0 G160 0 G170 0 eSignal type PLC NC eSignal function CNC sends the miscellaneous function code to miscellaneous function code signal EM11g EM28g and EM31g to EM48g and waits for the miscellaneous function completed signal EFINg When EFINg returns CNC proceeds to the next block eSignal addresses 7 6 5 4 3 2 1 0 EFINA G150 105 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual EFINC G170 2 11 3 16 Buffering Inhibited Signal EMBUFg G140 2 G150 2 G160 2 G170 2 eSignal type PLC NC eSignal function When this signal is 1 and a block is being executed waited or input in a buffer instructions from the PLC are not read When all the buffers are vacant instruction are read by sequence To identify the status of buffer CNC only outputs axis control command read completion signal EBSYg when there is vacancy in buffer on CNC For the following instructions the buffer is inhibited regardless the status of buffering inhibited signal EMBUFg 1 Reference point return ECOg to EC6g 05h 2 The 1 reference point return ECOg to EC6g 07h 3 The 2 reference point return
152. ut understanding the mnemonic languages Actually however the sequence program entered by the relay symbol method can be realized through the following procedures 3 4 1 Interfaces Assignment After the control object specifications are certain and the number of input output signal points is calculated interfaces can be assigned Refer to the input output signal interface tables in the GSK988TA 988TA1 988TB user Manual for details 118 Chapter 3 Programming 3 4 2 Creation of Ladder Diagram The control operation can be expressed in ladder diagram via the software GSKLadder The edited ladder diagram can be downloaded to CNC via serial port or U disk for CNC read and execution 3 4 3 Ladder Diagram Check After the ladder diagram is downloaded to CNC it can be checked with following methods A Check by simulator Replace the machine tool with a simulator consisting of lamps and switches The ON OFF of the switch represents the input signal status of machine tool ON OFF of lamp indicates the output signal status Check the output signals on the basis of the activation of the lamps B Check by CNC diagnosis Perform different CNC functions to check whether the signal diagnosis status is consistent with the required function Check the functions one by one to confirm the correctness of ladder diagram C Check by actual operation Perform checks by connecting the machine Since sometimes unexpected operations may happen arrange for
153. valid only during automatic operation after the single block signal SBK is set to 1 and the current block is executed the CNC enters into paused state When the SBK is set to 0 again the program starts running 2 5 5 1 Single Block Signal SBK G46 1 eSignal type PLC NC eSignal function PLC set SBK to 1 after receiving the single block input signal and transmits it to NC CNC enters into single block operation state eSignal address 7 6 5 4 3 2 1 0 a II ROO ee OS A Se 2 5 5 2 Single Block Check Signal MSBK F4 3 eSignal type NC PLC eSignal function CNC sets MSBK to 1 when it is in the single block execution state and then transmits it to PLC eNote A During thread cutting the SBK signal changes to 1 The operation stops after the first non thread cutting block is executed B During canned cycle when the SBK signal is set to 1 the operation stops each time the tool approaches drilling holes or tool retracts rather than stops at the end of the block eSignal address 66 Chapter 2 PLC Signals 7 6 5 4 3 2 1 0 EH 2 5 6 Optional Block Skip During automatic operation when a slash is specified at the head of a block and the optional block skip signal BDT is set to 1 the block is skipped during execution 2 5 6 1 Optional Block Skip Signal BDT G44 0 eSignal type PLC NC eSignal function PLC sets BDT to 1 after receiving the optional block skip input signal and then transm
154. ype 142 1PLC M1 Print The current file can be printed through keystroke of Ctrl P or clicking on the standard toolbar In addition a certain part of the contents within the current file can be selected If the Ladder is selected the blocks on the right list can also be selected 123 Sr t OES I Printer GSK988TA TA1 TB Turning Center CNC System PLC User Manual Name Microsoft Office Document Image Writer Driver w Property Status Ready Type Microsoft Office Document Image Writer Driver Position 1P_132166 0 244 Comment Content Ladder Infomation Page Symbol Table InitD ata Table Message List Print pages Print Preview Select AAL Ladder Blocks LALevel1 LALevel2 LdsuE_ o Copies Number of Copies E Cancel It is used to preview the file before printing Contents may vary in different views For example in the Ladder View only ladder diagram is displayed in Symbol Table View only symbols are displayed The style of ladder diagram is the same with the current view Recent Open File List E Print Ctrl P Print Preview Print Setup 1 TOPLE LO2 2 vv lada 3 Fiz STOPLE LDZ 4 Ez STOPLE LOZ Exit The list is the file names displayed below Print Setting Four recent open projects can be listed and opened directly by clicking Quit It is used to quit from the current project If the project is not
155. ype cannot be Symbol such as address parameters in addresses and constants in digits 131 Sr WIFE GSK988TA TA1 TB Turning Center CNC System PLC User Manual File Edit View PLEIE Workspace Output Toolbar Statusbar Ladder View Display Type Address e Scale Symbol Network Title Address Symbol Tool Window Help Network Comment Displayed in Address type Network 1 0 1 TEL 1 0 1 0 m Displayed in Symbol type Network 1 XEN TEL 21 0 e a L SET Displayed in Address Symbol type Network 1 AU lixx Pee ZTT 21 0 A Scale The ladder display scaling ratio can be 75 100 125 150 or 175 They can be set via the combobox on Ladder View Toolbar File Edit View PLOIP Tool Window Help Workspace Output Toolbar Statusbar i Ladder View Display Type Language F Fao Network Title 100 Network Comment 125 150 143 Network Title Display Do not display the network title through on Ladder View Toolbar Network Comment Display Do not display the network comment through on Ladder View Toolbar 132 Chapter 4 Instruction Of Gskladder 4 2 4 PLC Menu File Edit YJE D COD Tool Window Help Compile Se Compile the current PLC programs via key F9 or 3 on the standard toolbar The information after compilation is displayed in the message output pane Doubl

Download Pdf Manuals

image

Related Search

Related Contents

Sony HXR-NX3/1  Manuel d`utilisation du matériel et spécifications du produit VXL  User manual  AEG B4101-4 Oven User Manual  RK-Wi.M868X User`s Manual    Enterprise Admin Manual  

Copyright © All rights reserved.
Failed to retrieve file