0% found this document useful (0 votes)
67 views114 pages

Manual GSK 980tdi Parte 4

The GSK980TDi Turning CNC System User Manual provides detailed instructions on operating the CNC system, including starting and stopping graphic paths, scaling, and parameter settings. It also covers file management functions such as data backup, resume operations, and macro variable note management. Users can adjust parameters, manage files on a U disk, and customize their experience through various settings and operations.

Uploaded by

sf8sjbcm9j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views114 pages

Manual GSK 980tdi Parte 4

The GSK980TDi Turning CNC System User Manual provides detailed instructions on operating the CNC system, including starting and stopping graphic paths, scaling, and parameter settings. It also covers file management functions such as data backup, resume operations, and macro variable note management. Users can adjust parameters, manage files on a U disk, and customize their experience through various settings and operations.

Uploaded by

sf8sjbcm9j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 114

GSK980TDi Turning CNC System User Manual

1) The START, STOP and CLEAR of the graphic path

In the path display page, press the (or ) and the system starts the drawing; press

(or ) , it stops drawing; press (or ), it clears the current graphic path.
Ⅱ Operation

When the path exceeds the display range during automatic graph, the system regulate the

graphic center following the tool nose position in real time. Press (or ) and the
display area is locked, the system does not regulate the graphic center on when the path

exceeds the display area. Press (or ) and the system releases the lock.
2) Scaling up and down

In the path display page, press (or ), (or ), the system scales up/down

the path in real time. Press (or ) each time, the graphic path is scaled up 2 fold, press

(or ) each time, the graphic path is scaled down 2 fold.


3) Path display moving

In the graph display page, press the cursor movement key to move the graphic path. Press

(or )to adjust mobile intervals.


4) Graphic attribution display

In the path display page, press (or ) to display the graphic attribution window, including
the current coordinate system, translation position, scaling and mobile interval. It is shown below:

328
Chapter 11 Data Setting

Press (or ) again to close the graph attribution window.


5) Graphic parameter meaning
Coordinate system setting: 8 types of graphic paths can be displayed in this GSK980TDi CNC
system according to the front or rear tool post coordinate system, and there is 4 kinds of path as

Ⅱ Operation
follows: (switch X, Z axis by pressing or )
Bit parameter No.175
Graphic path coordinate display
Bit1 Bit0

0 0

0 1

329
GSK980TDi Turning CNC System User Manual

Bit parameter No.175


Graphic path coordinate display
Bit1 Bit0

1 0
Ⅱ Operation

1 1

11.4 Parameter Setting


Parameter setting can adjust related characteristics of the drive unit and machine.

Press to enter Parameter interface which includes , , ,

, as follows:

330
Chapter 11 Data Setting

11.4.1 State Parameter


1) Byte alteration:
a) Turn on the parameter switch;
b) Enter the MDI mode;
c) Move the cursor to the parameter number to be set:

Method 1: Press or to enter the page containing the parameter to be set, press

or key to move the cursor to the parameter number to be set;

Method 2: Press (or ) , and input the parameter number in the pop-up

dialogue box, at last, press .


4) Key in a new parameter value;

5)Press key, the parameter value is entered and displayed.

Ⅱ Operation
6)For security, the PARM SWT needs to be set to OFF after all parameter settings are
finished.
Example:
Set the bit parameter No.001 Bit 3(STEP/MPG) to 1, and the other bits remain unchanged.
Move the cursor to No.001, input 00011000 by sequence according to the above steps. The
display is shown below:

Press to finish the parameter alteration. The page is shown below:

331
GSK980TDi Turning CNC System User Manual

2) Alteration by bit:
a) Turn on the parameter switch;
b) Enter the MDI mode;
c) Move the cursor to the parameter number to be set(the method is referred to Section
10.4.1 Step c);
Ⅱ Operation

d) Press to enter the bit alteration mode, at the moment, some bit of the parameter

is backlighted. Press or to move the cursor to the bit to be altered, then key in 0 or
1;
e) After all parameters setting is finished, the PARM SWT needs to be set to OFF for
security.

Note: After the system enters some bit of the parameter, or is pressed to escape from the
alteration mode, and the cursor stops the parameter number .
Example:
Set the Bit3 of the bit parameter No.001 to 1, and the other bits remains unchanged.

Move the cursor to No.001 according to the above steps, press to skip to some bit of the
parameter, and move the cursor to Bit3. The display is shown below:

Input 1, and the parameter alteration is done.

332
Chapter 11 Data Setting

11.4.2 Data Parameter, Pitch Compensation


1) Turn on the parameter switch;

Ⅱ Operation
2) Enter the MDI mode;
3) Move the cursor to the No. of the parameter to be set;
4) Key in the new parameter value;

5) Press key, the value is entered and displayed;


6) After all parameters setting is finished, the PARM SWT needs to be set to OFF for security.
Explanation: The screw-pitch parameter can only be altered under the 2 level password authority.

Example 1: set the data parameter No.027 to 7600.


Move the cursor to No.027 by the steps above, key in 7600 by sequence as follows:

Press to finish the alteration. The display is shown below:

333
GSK980TDi Turning CNC System User Manual

11.4.3 Classification Parameter


Ⅱ Operation

Press soft button to enter its page after controlling the button,The display is shown below:

In the classification parameter, the parameter can be displayed based upon its function, it is
convenient to check or modification. The current displayed classification parameter can be shifted by

its corresponding soft button; for example, press the soft button, the following figure is shown
below:

334
Chapter 11 Data Setting

11.4.4 Often Used Parameters

Press to enter parameter interface, and press to enter the often used parameter page.
The page is shown below:

Ⅱ Operation
The user can add the often used state parameter, data parameters to the often used parameters
to get the convenient search and alteration.
1) Adding often used parameters
In the state, data or classification parameter page, move the cursor to the parameter number

where is desired to add as the common parameter; press the soft button, the current
parameter is then add as the common one.
2) Sorting often used parameters
In the common parameter page, enter to the next menu of the common parameter by pressing

the soft button again; refer to the following figure:

Pressing , can move the parameter where the current cursor is. Pressing sorts all often
used parameter in sequence number.
3) Removing often used parameters

Move the cursor to the required parameter in the often used parameter page. Press and

the current often used parameter is removed. Press and all often used parameters are removed.

335
GSK980TDi Turning CNC System User Manual

4) Altering often used parameter


Parameters can be altered directly in the often used parameter page. Its alteration
method is the same that of state parameter and data parameter. Its value is also refreshed
in the state parameter or data parameter page.

11.5 Macro Variable Note


Macro variable note display is mainly administrated for the macro note and macro note file. The
administration of the macro note file includes the leading-in, leading-out, rename, overloading and
remark, etc. of the macro note file.

11.5.1 Macro Variable Note Page

Press the soft button to enter its corresponding customization page ,after entering the

cutter compensation page by controlling the button, The page is shown below:
Ⅱ Operation

The overloaded file data can be set on the “Custom macro variable” page, only 4 and above
operation authorities can be performed.

11.5.2 Note List

Press the button to enter the macro variable note list after entering the macro variable
note page.

336
Chapter 11 Data Setting

Function soft button explanations:

soft button: Select the note file to enable the file;

soft button: The file can be renamed for the current file, the note file at current

Ⅱ Operation
loading can not bealtered;

soft button: Modify or add the remark information, the note file at current loading can
not bealtered;

soft button: Delete the file at the cursor’s position; (2 or above authorities are
desired)

soft button: Clear the overall annotated files and contents;

soft button:The "EXT files" under the MAROEXT list of the U-disk are led to the
system note list;

soft button: The overall files in the note list are led out to the MACROEXT list of
the U-disk; if there are files are shared with a same name, the same
files will be replaced;

Note 1: The can be performed in any authority, the or should be operated with
2 or above levels authorities; other functions should be performed with 3 or more
authorities.

Note 2: The can be performed in any method, other functions should be operated in the
Edit method.

11.5.3 Macro Variable Note File


1. File content format
1)Create a TXT file,the surfix is renamed as .EXT。
2)The file content format is as follows:
0, Remark the display content
Variable number, custom content \t Note content.

337
GSK980TDi Turning CNC System User Manual

For example: Set up a O0009.EXT file, its content is as follows:


0, Note file example
500, Note 1\t Detailed note 1
501, Note 2\t Detailed note 2
……
701, Note 12\t Detailed note 12
699, Note 13\t Detailed note 13
The displayed result of the above-mentioned note file is as follows:
Ⅱ Operation

2.File leading-in/out operation


Leading-in operation
1)Create a new file MACROEXT under the root list of the U-disk;;
2) The performed system custom file is delivered to the folder;
3) Set the system authority as 2-level or above, and then insert to U-disk;
4) The *.EXT file under the U disk MACROEXT list can be entirely lead out to the system

note list by soft button.


Leading-out operation
1) Insert an U-disk;
2) The overall files in the system note list are lead out to the U disk MACROEXT folder by

soft button; if the note file name is same as the system list under the U disk
MACROEXT; the same name note file will be covered under the systme root list.

338
Chapter 12 U Operation Function

CHAPTER 12 U OPERATION FUNCTION

12.1 File Management Function Introduction


GSK980TDi has the file management function to execute the file copy, data backup, data resume,
the system upgrading (2nd grade) and so on.

In any states, press to select the setting interface, press to enter the file
management page. Insert U disk and the system automatically identifies it. The system displays the
icon at the lower right bottom of the system after it sucessfully identifies the icon as follows:

Display the user Display all files


parameters, tool in the U disk
compensation, catalog

Ⅱ Operation
pitch window
compensation,
PLC programs,
part program and
so on in the CNC
catalog window

Press the soft key (or ) to select the CNC catalog or the U disk catalog, and press

, to move the line where the current cursor is.

12.2 Often Used File Operation Function Introduction


12.2.1 File Extension & Return

1) Move the cursor to the required extension file, press to extend it as follows:

339
GSK980TDi Turning CNC System User Manual

2) Move the cursor to the target file, press to return the previous catalog of the current
file as follow:
Ⅱ Operation

12.2.2 File Selection & Cancellation of File Selection


Take an example of U:\gsk980TDi_backup\user\NCPROG\O0000.CNC to introduce the
selection and cancellation.
1) After entering the file administration page, move the cursor above the O0000.CNC by

or , refer to the following figure:

2) Press (or )to select O0000.CNC as follows:

340
Chapter 12 U Operation Function

1) Press (or again ) to cancel the selection of O0000.CNC.

Ⅱ Operation
12.2.3 File Copy

Refer to Section 11.2.2 to select the file. When the cursor is in the U disk catalog window, is
pressed and the the files in the U disk is copied to the CNC; when the cursor is in the CNC catalog

window, is pressed and the file in the CNC is copied to the U disk.

12.3 Data Copy & Resume


In the file managemetn page, backup, resume the CNC data (including the system parameters,
part parameter, tool compensation, pitch compensation, ladder parameters, ladder, self-defined data,
servo parameter and daily record, etc.) via the U disk. The CNC can be operated to the file in the MDI
working mode and keeps at the stopping state.

12.3.1 Entering Backup/Resume Page

After the system identifies the U disk, it enters the file management page. Press to enter
the backup/resume page as follows:

341
GSK980TDi Turning CNC System User Manual

12.3.2 Backup/Resume Operation

1) Press , , , to move the cursor to the required option;


Ⅱ Operation

2) Press (or )to select the required option to be backup/resumed;

3) Press (or ) to cancel the selection when the cursor has been in the selected
option;

4) Press or to select or cancel all selection;

5) Press (or )to execute the current selected.


Note 1: Data which has been backup or has been done to store in the U disk can be resumed.
Note 2: When the cursor is in the “BACKUP OPTION” column, all options in the the “RESUME OPTION”
column cannot be selected; when the cursor is in the “RESUME OPTOIN”, all options in the
“BACKUP OPTION” column cannot be selected;

Note 3: Pressing executes operations only in the column where the cursor is. When the cursor is in
“BACKUP OPTION” column, the resume operation is executed. The backup, resume cannot be
executed simultaneously.

12.3.3 Operation Path Selection


When the user uses the U disk to execute the CNC data backup, the CNC creates a backup file
“gsk980TDi_backup” in the root catalog of the U disk. The backup file includes two backup data “U:\
gsk980TDi_backup\user” and “U:\ gsk980TDi_backup\serial number” (it is created by the system’s
serial number). When the user uses one U disk to execute data backup of many CNC systems, the
data in “U:\ gsk980TDi_backup\user” is replaced by the new but data in “U:\ gsk980TDi_backup\serial
number” remains unchanged.
For the above reason, the user should execute the operation path selection during resuming
data:

342
Chapter 12 U Operation Function

Default path :U:\ gsk980TDi_backup\user


Serial number path:U:\ gsk980TDi_backup\serial number
Example: backup/resume data of many CNC systems
When the user backups the system A (serial number CT0000001), the generated file by data
backup is “U:\gsk980TDi_backup\CT0000001” and “U:\gsk980TDi_backup\user”; When the user
backups the system B ( serial number CT0000002 ) , the generated file by data backup is
“U:\gsk980TDi_backup\CT0000002”. The “U:\gsk980TDi_backup\user” generated by A is replaced
automatically by the same name of the system B. At the moment, the user can execute the operation
path selection when it executes the data resume operation of the system A:
1) When the previous data of the system A is resumed, the operation path is :
“U:\gsk980TDi_backup\CT0000001”;
2) When the backup data of the system B is copied to the system A, the operation path is:
“U:\gsk980TDi_backup\CT0000002” or default path;

Ⅱ Operation
Press and appear the dialog box of operation path selection, and then select the

operation path by , when the cursor is in the resume column. Taking an example of
selecting the default path, the display is shown below:

12.3.4 Format of Data Backup/Resume File


Extension
File Content
name
Parameter file PARAM .PAR State parameters, data parameters
Tool compensation
TOFF .CMP Tool offset, tool wear
data
Pitch compensation WOFF .WMP Pitch compensation
Alarm log Alarm.his .his Alarm log
No
PLC program .ld2 PLC programs
requirements
PLC parameter plcpar .dat K, D, DT, DC parameters
Part program O0000~O9999 .CNC Part programs

343
GSK980TDi Turning CNC System User Manual

12.3.5 Level Explanation of Data Backup/Resume Operation


System
More than the 5th grade password
parameters
Tool
More than 5th grade(including the 5th grade)
compensation
password
data
Pitch More than 5th grade(including the 5th grade)
compensation password
Backup
Alarm log More than 5 grade(including the 5th grade)
th
operation
password
PLC programs More than 5 grade(including the 5th grade)
th

password
PLC programs More than 5 grade(including the 5th grade)
th

password
Part programs More than 5 grade(including the 5th grade)
th

password
Ⅱ Operation

System More than 3 grade(including the 3rd grade)


rd

parameters password
Tool
More than 5th grade(including the 5th grade)
compensation
password
data
Pitch More than 2nd grade(including the 2nd grade)
Resume
compensation password
operation
PLC programs More than 5 grade(including the 5th grade)
th

password
PLC More than 2 grade(including the 2nd grade)
nd

parameters password
Part programs More than 4th grade(including the 4th grade)
password

12.4 System Update


In the system update page, the CNC update operation can be performed by the U-disk. The
updated file is registered under the root-directory of the U-disk when the operation is performed; so
that the CNC can be operated holding on the MDI working method and keeping on the stop state.

344
Chapter 12 U Operation Function

Select the update system by soft button, and confirm the update state by .
Note: Page update can be entered above the 2-level authorities.

Ⅱ Operation
12.5 Notes
The user should pay more attention to the followings during executing the data backup/resume
operation:
1) Need more than the 2nd grade password(including the 2nd grade) to resume more than
(including be equal to) 9000 part programs;
2) It is necessary to connect the GSKLINK bus normally when the back up/recovery of the servo
parameter is performed;
3) Backup/resume operation must be in MDI mode;
4) When the user executes the data backup operation, the system automatically replaces all files
in “U:\gsk980TDi_backup\user”, the user should save them as when they cannot be replaced;
5) Stop part programs running before data backup/resume;
6) They must not stop unless the data backup/resume operation is completed;
7) The system is turned on again after the data resume is done.

345
GSK980TDi Turning CNC System User Manual
Ⅱ Operation

346
Chapter 13 Communication

CHAPTER 13 COMMUNICATION

13.1 GSK980TDi Communication Software GSKComm


GSKComm is an allocated project administrator. It can execute the upload/download between
PC and CNC, conveniently transmit batch with easy operation, high communication efficiency and
reliability.
The followings introduce communication transmission and setting between GSK980TDi and
GSKComm. Refer to GSKComm explanations about GSKComm communication software functions.

13.1.1 GSKComm’s System (PC) Requirements


Hardware: general PC with RS232 serial port, serial communication cable (3-wire)
Operation system: Microsoft Windows 98/2000/XP/2003

Ⅱ Operation
13.1.2 Software Interface
Interface after GSKComm’s initial run:

Fig. 12-1 file download(PC→CNC)interface

GSKComm software takes an administrator as a unit to complete management. When it run


firstly, it does not upload project files, at the moment, the user should create an project program or
upload project to execute the communication operation. The display is shown below after the an
project is created:

347
GSK980TDi Turning CNC System User Manual

At the mode, the user can receive the files from the CNC to the current project or send files in the
current project to the CNC.

13.1.3 Receiving Files (CNC→PC)


Ⅱ Operation

Click the option [Receive files from CNC] in [Communication] and GSKComm can receive files
from the CNC after the current project is selected as follows:

After [Receive Files ] is clicked, a dialog box about receiving files from the CNC, the required files
from the CNC including part programs, tool compensation (TOFF. CMP), pitch compensation
(WOFF.WMP), parameters (PARAM.PAR).

After the user selects the required file, [ Start Receiving ] is pressed and the system pops up a
348
Chapter 13 Communication

path selection dialog box to save the received files as follows:

Select the save path, start to receive the file from CNC to PC by pressing [i.e. Confirm] as
follows:

Ⅱ Operation
After the receiving is done, the system displays below:

13.1.4 Sending Files (CNC→PC)


After the current project file is selected, the user clicks [Send projects to CNC] in the menu
[Communication], and so the receiving file from CNC is done. A dialog box to send files to CNC is
popped up as follows:

349
GSK980TDi Turning CNC System User Manual

Hereby, the user can select the required receiving files from CNC including part programs, tool
compensation (TOFF.CMP), pitch compensation (WOFF.WMP), parameters (PARA.PAR). The part
programs which can be altered are saved to the file name of the CNC. Move the cursor to the part
program required to alter its program name, double-click the left key to pop up a dialog box as Fig. A,
and the file which can be altered is saved the file name of the CNC (as Fig. B).
Ⅱ Operation

Fig. A Fig. B
Select the required file to the CNC and confirm the saved file name, then press [start sending],
and the file is started to send to the CNC as follows:

When a file name in the CNC is the same that of the transmitting, a dialog box is popped up to
select the covering, skipping the file or cancelling transmission as follows:

350
Chapter 13 Communication

When the part program name is the same that of the transmitted file, the covering cannot be
done, otherwise, the system pops up the wrong prompt as follows:

Ⅱ Operation
13.1.5 Part Program Management
Select the current project file, then click [Manage Part Programs] in the menu [Communication] ,
and the part programs in the CNC are managed. The system pops up a dialog box to manage part
programs in the CNC as follows:

Press [Delete File] and the selected part programs are deleted in the CNC after the required
programs are selected.
Note: The program being used in the CNC cannot be deleted.

351
GSK980TDi Turning CNC System User Manual

13.2 Preparatory Before Communication


13.2.1 Communication Cable Connection
DB9 male plug is inserted into CN51 communication interface of the CNC, DB9 female plug is
inserted in to DB9-male serial port (COM0 or COM1) of PC. Connect the communication cable when
PC and CNC are turned off.

13.2.2 Communication Setting Baud Rate


Setting the baud rate of communication ensures that the baud rate of PC is the same that of the
CNC communication.
The communication baud of the serial port is set by No.044; click [Communication Setup] in the
menu [Communication] and the system pops up a dialog box as follows:
Ⅱ Operation

Set the serial port and baud rate. The baud rate should be not less than 4800 when the data is
transmitted between CNC and PC, the factory setting is :115200.

13.2.2.1 Network Cable Connection


Use the common network cable, one terminal connects with the internet access of GSK980TDi,
the other one directly connects the Computer or Router access.

13.2.2.2 Communication IP Setting


Set the IP address of communication, so that the IP address between PC and CNC
communication are consistant.

The IP setting of the GSK980TDi is as follows: -> and then set the IP address
and sub-net mask, etc. after entering the system IP setting page, refer to the following figure:

352
Chapter 13 Communication

Wherein, the IP address can not be identical with the other PC computer in the network or CNC.
The subnet mask should be same with the PC computer or the subnet mask of the router; it is not
necessary to alter the default subnet.

Ⅱ Operation
In the GSKComm, click the [Communication Setting] in the [Communication] menu, its
corresponding dialog frame is shown below, refer to the following figure:

Network selection of communication equipment, write the IP address set to CNC in the network
setting.
Note 1: Stop machining when the machining is being done to get the stable communication.
Note 2: Must not turn off during the data transmission, otherwise, it causes the mistaken data transmission.

353
GSK980TDi Turning CNC System User Manual
Ⅱ Operation

354
Chapter 14 Machining Examples

CHAPTER 14 MACHINING EXAMPLES


Machine a part by a bar stock with dimension Φ136mm×180 mm, as follows:

Ⅱ Operation
×
4

Fig. 14-1
Machine it with 4 tools as follows:
Tool number Tool shape Explanation

No. 1 Outer circle rough turning tool

No. 2 Outer circle finish turning tool

No. 3 Grooving tool, tool width 3mm

No. 4 Threading tool, tool nose angle 60°

355
GSK980TDi Turning CNC System User Manual

14.1 Programming
Set up the workpiece coordinate system as Fig.14-1 according to the machining process and the
codes introduced in this manual. The programming steps are as follows:
O0001; Name of the part program

N0000 G0 X150 Z50; Position to the safety height for tool change

N0005 M12; Clamp the chuck

N0010 M3 S800; Start the spindle with speed 800

N0020 M8; Turn on the cooling

N0030 T0101; Change for the No. 1 tool

N0040 G0 X136 Z2; Approach the part

N0050 G71 U0.5 R0.5 F200; Cut depth 2mm and retract 1mm

N0055 G71 P0060 Q0150 U0.25 0.25mm pre-reserved in X axis, 0.5mm


Ⅱ Operation

W0.5; machining allowance in Z axis

N0060 G0 X16; Approach to the end face of the part

N0070 G1 Z-23; Cut the Φ16 outer circle

N0080 X39.98; Cut the end face

N0090 W-33; Cut the Φ39.98 outer circle

N0100 X40; Cut the end face

N0105 W-30; Cut the Φ40 outer circle

N0110 G3 X80 W-20 R20; Cut the convex arc

N0120 G2 X120 W-20 R20; Cut the concave arc

N0130 G1 W-20; Cut the Φ120 outer circle

N0140 G1 X130 W-5; Cut the cone

N0150 G1 W-25; Cut the Φ130 outer circle

N0160 G0 X150 Z185;


Rough cut end and back to the tool change
point
N0170 T0202;
Change for the No.2 tool and execute its
offset
N0180 G70 P0060 Q0150; Fine cut cycle

N0190 G0 X150 Z185;


Rough cut end and back to the tool change
point
N0200 T0303;
Change for the No.3 tool and execute its
offset
N0210 G0 Z-56 X42; Approach to the part

356
Chapter 14 Machining Examples

N0220 G1 X30 F100; Cut the Φ30 groove

N0230 G1 X37 F300; Return

N0240 G1 X40 W1.5; Chamfering

N0250 G0 X42 W30; Keep the width of the grooving

N0260 G1 X40 ;

N0262 G1 X37 W1.5; Chamfering

N0264 G1 X10; Cut the Φ10 groove

N0266 G0 X17 Z-1;

N0268 G1 X16;

N0270 G1 X14 Z0 F200; Chamfering

N0280 G0 X150 Z50; Return to the tool change point

Ⅱ Operation
N0290 T0404 S100;
Changing for the No. 4 tool and set the
spindle speed for 100
N0300 G0 X42 Z-20; Approach the part

N0310 G92 X39 W-34 F3; Thread-cutting cycle

N0320 X38; Feed 1mm for the 2nd cutting

N0320 X37; Feed 1mm for the 3rd cutting

N0330 X36.4; Feed 0.6mm for the 4th cutting

N0332 X36; Feed 0.4mm for the 5th cutting

N0340 G0 X150 Z50; Return to the tool change point

N0350 T0100 U0 W0;


Change for the No.1 tool and execute its
offset
N0360 M5; Turn off the spindle

N0370 M9; Turn off cooling

N0380 M13; Unclamp the chuck

N0390 M30; Program ends

14.2 Program Input


14.2.1 View a Saved Program

Press to enter program interface , and press to enter the local catalog page as
follows:

357
GSK980TDi Turning CNC System User Manual

In above window the names of the programs saved can be viewed for renaming the new
program.

14.2.2 Creating a New Program


Ⅱ Operation

Enter the local catalog page in Edit mode, press address key , choose a name that is not

same with the ones in this window (i.e. 0001), key in the number key , , , and

to create a new program as follows:

Input the characters of the above edit program one by one and the editing program is done.

14.3 Checkout a Program


14.3.1 Graphic Setting

Press to enter graph interface as follows:

358
Chapter 14 Machining Examples

14.3.2 Program Check

Ⅱ Operation
Press to enter graph display page. Press to enter Auto mode, press , ,

to make the auxiliary function lock indicator , machine lock indicator , and dry run

indicator to enter the corresponding state. Press to start the drawing, press to
automatically run programs, check the program accuracy by displaying the tool motion path, and the
display page is the following after the run is completed:

When there is error in the program path, analysize the error and alter the part program, make
another checkout for the program by the method above till the error is eliminated.

14.4 Tool-setting & Running


1) Move the tool to a safe position, execute T0100 U0 W0 command in PROGRAM->MDI
page in MDI mode, and cancel the tool offset;

2) Move the tool to cut in the part end surface;

359
GSK980TDi Turning CNC System User Manual

Φ 135

3) Release the tool along X when Z does not move, and stop the spindle, execute G50 Z0 in
PROGRAM->MDI page in MDI mode to set the coordinate of Z axis;

4) Switch to tool offset page and input Z0 to No.001 offset;


Ⅱ Operation

5) Move the tool and make it to cut along the outer circle of the part;

6) Release the tool along Z when X does not move, and stop the spindle, measure the
dimensions of the outer circle of the part (e.g. The measuring value is 135mm);

7) Execute G50 X135 command in PROGRAM>MDI page in MDI mode to set the coordinate
of X axis;

8) Switch to tool offset page, and input X135 to No.001 offset;

9) Move the tool to a safe position, and change No. 002 tool;

10) Start the spindle and move the tool to the tool-setting point, as A point in the following
figure;

360
Chapter 14 Machining Examples

11) Switch to TOOL OFFSET window, move the cursor to No.002 offset and input X135 Z0;

12) Move the tool to a safe position, and change the No. 003 tool ;

Ⅱ Operation
13) Start the spindle and move the tool to the tool-setting point, as A point in the following
figure;

14) Switch to TOOL OFFSET window, move the cursor to No.003 offset and input X135 Z0;

15) Move the tool to a safe position, and to change the No. 004 tool;

16) Move the tool to the tool-setting point, as point A in the following figure;

361
GSK980TDi Turning CNC System User Manual

17) Switch to tool offset, move the cursor to No.004 offset and input X135 Z0;

18) Move the tool to a safe position after the tool-setting is finished;
Ⅱ Operation

19) Start the machining in Auto mode;

20) If there is any error between the designed and the actual dimensions, the tool offset may be

altered till the part dimensions are within the tolerance.

Note: Press key to make the auto running to pause if dwell is needed during the machining. Also if

emergency occurs, the user presses the key, Emergency stop button to cut off the power to
terminate the program running.

362
III Connection

Ⅲ Connection

363
GSK980TDi Turning CNC System User Manual

Connection

364
Chapter 1 Installation Layout

CHAPTER 1 INSTALLATION LAYOUT

1.1 GK980TDi System Connection


1.1.1 GK980TDi Rear Cover Interface Layout

Y9. 1 +5V FG
Y9. 0 0V 0V
0V HB
X9. 3 HA 24V
X9. 2 24VCOM
POWER SUPPLY

X9. 1
X9. 0 CN32 CN1
24V 手脉2 电源
CN21 CN22 CN31 MPG 2
CN78
编码器1 编码器2 手脉1 I / O接口 CN5
ENCODER 1 ENCODER 2 MPG 1 I / O I NTERFACE
CN61 CN62
输入 输出
I NPUT OUTPUT

CN15 CN16 CN51 CN54 CN67 CN66


模拟主轴1 模拟主轴2 RS232通信 网 口 CN4
SPI NDLE 1 SPI NDLE 2 COM PORT LAN

Fig. 1-1 GSK980TDi rear cover interface layout


1.1.2 Interface Explanation

Connection
z CN1: power supply interface
z CN4, CN5:GSKLINK bus connection interface B,A are connected with the servo unit and IO
unit
z CN15:Analogy spindle 1,male socket of 9-cord in type D,connect with analogy spindle 1
z CN16:Analogy spindle 2,male socket of 9-cord in type D,connect with analogy spindle 2
z CN21: encoder, pin15 D male,connect with spindle encoder 1
z CN22: encoder, pin15 D male,connect with spindle encoder 2
z CN31: MPG, pin26 D male, connect with MPG
z CN51: communication, pin9 D female, connect PC RS232 interface
z CN54:Ethernet interface, plug are connected with the PC to transmit data
z CN61: input, pin44 D male, connect with machine input
z CN62: output, pin44 D female, connect with machine output
z CN66:the spindle override input signal, 4 input interfaces are connected with the additional
panel
z CN67:the feedrate override input signal, 5 input interfaces are connected with the additional
panel
z CN78:4 input/2 output interfaces, 8 connection terminals, machine input,output

365
GSK980TDi Turning CNC System User Manual

1.2 GSK980TDi Installation


1.2.1 GSK980TDi External Dimensions
See Appendix Ⅰ, Ⅱ.

1.2.2 Preconditions of Cabinet Installation


z The dust, cooling liquid and organic resolution should be effectively prevented from entering the
cabinet;
z The designed distance between the CNC back cover and the cabinet should be not less than
20cm, the inside and outside temperature difference of the cabinet should be not more than 10℃
when the cabinet inside temperature rises;
z Fans can be fixed in the cabinet to ventilate it;
z The panel should be installed in a place where the cooling can’t splash;
z The external electrical interference should be taken into consideration in cabinet design to
prevent it from interfering the CNC system.

1.2.3 Measures Against Interference


In order to insure the CNC stable working, the anti-interference technology such as space
electromagnetic radiation shielding, impact current absorbing, power mixed wave filtering are
employed in CNC design. And the following measures are necessary during CNC connection:
1. Make CNC far from the interference devices (inverter, AC contactor, static generator,
high-voltage generator and powered sectional devices etc.);
2. To supply the CNC via an isolation transformer, the machine with the CNC system should be
grounded, the CNC and drive unit should be connected with independent grounding wires at

the grounding point;


Connection

3. To inhibit interference: connect parallel RC circuit at both ends of AC winding (Fig. 1-2), RC
circuit should approach to inductive loading as close as possible; reversely connect parallel
freewheeling diode at both ends of DC winding (Fig. 1-3); connect parallel surge absorber at
the ends of AC motor winding (Fig. 1-4);

Fig.1-2 Fig. 1-3 Fig. 1-4

4. The CNC leadout cables use the twisted shield cable or shield cable, the cable shield tier is
grounded by an terminal at CNC side, signal cable should be as short as possible;
5. To reduce the mutual interference among the CNC signal cables, and among the strong
current, the wiring should follow the following:

366
Chapter 1 Installation Layout

Table 1-1 The Wiring requirement


Group Cable type Wiring requirement
AC power cable Tie up A group cables with a clearance at least 10cm
A AC coil from that of B, C groups, or shield A group cables from
AC contactor electromagnetism
DC coil(24VDC)
DC relay(24VDC)
Tie up B and A group cables separately or shield B
Cables between CNC and
B group cables; and the further B group cables are from
strong-power cabinet
that of C group, the better it is
Cables between CNC and
machine
Cables between CNC and
servo drive unit Tie up C and A group cables separately, or shield C
Position feedback cable group cables; and the cable distance between C group
C
Position encoder cable and B group is at least 10cm and they are twisted pair
Handwheel(MPG)cable cables.
Other cables for shield


Connection

367
GSK980TDi Turning CNC System User Manual

Connection

368
Chapter 2 Definition and Connection of Interface Signal

CHAPTER 2 DEFINITION & CONNECTION OF INTERFACE


SIGNALS

2.1 GSKLink Bus Interface


Bus interfaces of GSK980TDi are CN4 and CN5 (GSKLinkB and GSKLinkA), which is connected
with the GSKLink bus communication function, the feedrate servo drive unit, spindle drive unit and
extended I/O communication. GSKLink bus communication uses a loop control, and therefore, CN4
AND CN5 interfaces should be used together.
GSKLINK bus connection is shown below:

2 TX- 2 TX-

1 TX+ 1 TX+

6 RX- 6 RX-

3 RX+ 3 RX+
Outmost layer Outmost layer
shielding cable shielding cable

Fig. 2-1 GSKLink communication connection

2.2 Being Connected with Spindle Encoder


2.2.1 Spindle Encoder Interface Definition


Connection
8: PAS
7: *PAS 15: 0V Name Explanation
6: PBS 14: 0V *PAS/PAS Encoder A phase pulse
5: *PBS 13: +5V *PBS/PBS Encoder B phase pulse
4: PCS 12: 5V
11: 0V *PCS/PCS Encoder C phase pulse
3: *PCS

Fig.2-2 CN21 encoder interface


(15-core D type male socket)

2.2.2 Signal Explanation


*PCS/PCS,*PBS/PBS,*PAS/PAS are the encoder C, B, A phases differential input signals
respectively, which are received by 26LS32; *PAS/PAS,*PBS/PBS are orthogonal square wave with
phase shift 90°and their maximum signal frequency is less than 1MHz; the encoder pulses for
GSK980TDi are set at will by parameter, the setting range is from 100 to 5000.
Its interior circuit is shown in Fig. 2-13: (n=A, B, C)

369
GSK980TDi Turning CNC System User Manual

PAS 1
7
*PAS 2
PBS 4
6
*PBS 3

Fig. 2-3 Encoder signal circuit

2.2.3 Spindle Encoder Interface Connection


GSK980TDi is connected with spindle encoder shown in Fig. 2-4, and it uses twisted pair cables.
(exemplified by CHANGCHUN YIGUANG ZLF-12-102.4BM-C05D encoder):

Fig. 2-4 GSK980TDi is connected with the encoder


Connection

370
Chapter 2 Definition and Connection of Interface Signal

2.3 MPG Connection


2.3.1 MPG Interface Definition
13:0V 26:
Signal Explanation
12:0V 25:X7.5
24:X7.4 HA+,HA- MPG A phase signal
11:0V
26 HB+,HB- MPG B phase signal
10:0V 23:X6.5
9:X6.3 22:X6.4 +24V
21:X7.3 DC power supply
8:X6.2 +5V,0V
7:X7.1 20:X7.2
6:X6.1 19:X7.0
18:+24V Standard PLC Definition
5:X6.0
4:HB- 17:+24V Address Function
16:+5V
1

3:HB+ X6.0 X MPG axis selection


2:HA- 10 19 15:+5V X6.1 Y MPG axis selection
1:HA+ 14:+5V
X6.2 Z MPG axis selection
Fig.2-5A CN31 MPG interface X7.0 4TH_axis selection signal
(26-core DB type male socket) X7.1 5TH_axis selection signal
X6.3 Increment0.001
X6.4 Increment0.01
X6.5 Increment0.1

Fig. 2-5B CN32MPG interface


(4-point wiring terminal)
Signal Explanation
HA MPG A phase signal input


HB MPG B phase signal input

Connection
GND 0V
VCC 5V

2.3.2 Signal Explanation


HA,HB are the MPG A, B phase input signals respectively. Their interior circuit is shown in Fig.
2-6:
R93 470R U55
XHA- TLP181
VCC
1

D47
1N4148
2

XHA+ R94
GND
1K
R96 470R U57
XHB- TLP181
VCC
1

D49
1N4148
2

XHB+ R98
GND
1K

Fig. 2-6 MPG signal circuit

371
GSK980TDi Turning CNC System User Manual

GSK980TDi is connected with MPG shown in Fig. 2-7:

CN31 MPG

A
HA+
3 HB+ B

0
V
11 0V

+
5
V
14 +5V
2 HA- 空
null
4 HB-
Metal shell

Fig. 2-7A CN31 connects with the single-port MPG input


CN31 MPG
1

A
+A
HA+

-+-5
2 HA-
3 HB+ B
4 HB- B
+
V
14 +5V
0
V

11 0V
Metal shell 空
null

Fig. 2-7B CN31 connects with the difference MPG input


A
1

CN32 MPG

2 B B
0
V

3 0V
+
5
V

4 +5V
Connection

Fig. 2-8 CN32 connects with MPG

372
Chapter 2 Definition and Connection of Interface Signal

2.4 Analog Spindle Interface


2.4.1 Analog Spindle Interface Definition

Signal Explanation
5:SVC 6:Y5.0 SVC 0~10V Analog voltage
4:GND 7:Y5.1 GND Signal grounding
3:Y5.2 8:X5.0
2:0V 9:X5.1
1:+24V Standard PLC Definition
1

6 Address Function
X5.0 Spindle 1 alarm signal
X5.1
Fig.2-9 CN15 analogy spindle series spindle 1 rotation
Y5.0
interface(male socket of signal CW(positive)
9-cord in type D) series spindle 1 rotation
Y5.1
signal CCW(negative)
Y5.2

5:SVC 6:Y8.0
4:GND 7:Y8.1 X8.0 Spindle 2 alarm signal
3:Y8.2 8:X8.0 X8.1
2:0V 9:X8.1
1:+24V series spindle 2 rotation
Y8.0
1

6 signal CW(positive)
series spindle 2 rotation
Y8.1
signal CCW(negative)
Fig.2-10 CN16 analogy Y8.2
spindle interface(male


socket of 9-cord in type D)

Connection
2.4.2 Inverter Connection
The analog spindle interface SVC may output 0~10V voltage, its interior signal circuit is shown in
Fig. 2-11:

SVC

Fig. 2-11 SVC signal circuit

GSK980TDi is connected with the inverter shown in Fig. 2-12:

373
GSK980TDi Turning CNC System User Manual

GSK980TDi INVERTER
CN15 U11
CN62/4 M03 L1 U
KA24 V11 L2 V
W11 W
L3
PE
CN62/5 M04 KA25

CN62/23 +24V
KA24
M03 FWD
KA25
M04 REV

DCM

PE
CN15/5 SVC AVI
CN15/4 GND ACM

CN15/8 SALM RB

CN15/2 0V RC

B1 B2

Brake
resistance
Fig. 2-12 GSK980TDi is connected with the inverter

2.5 GSK980TDi/GSK980TDi-V being Connected with PC


2.5.1 Communication Interface Definition

Connection

1: 6:
2: RXD 7: Signal Explanation
3: TXD 8: RXD Receiving data
4: 9:
5: GND TXD Transmitting data
GND Signal grounding

Fig. 2-13 CN51 communication interface (DB9-female)

2.5.2 Communication Interface Connection


GSK980TDi can perform the communication by CN51 and PC(optional communication software).
GSK980TDi is connected with PC shown in Fig 2-14:

Fig. 2-14 GSK980TDi is connected with PC

374
Chapter 2 Definition and Connection of Interface Signal

2.6 Network Interface


Network interfaces of GSKTDi CN54 are standard and their definitions are shown below:

PIN NO. Signal PIN NO. Signal


1 TXDLAN+ 9 LINK_LED
2 TXDLAN- 11 LAN_LED
3 RXDLAN+ 10, 12 VDD33
6 RXDLAN- 13, 14 Shell grounding

Note: TXD+ and TXD- are difference signal, as well the RXD+ and RXD-, which are required to

connect with twisted-pair.

2.7 Power Interface Connection


The power box is applied in GSK980TDi system, which involves 2 groups of voltage: +24V. The
connection of power box to GSK980TDi CN1 interface has been done for its delivery from factory,
and the user only need to connect it to a 220V AC power in using.

FG
0V
24V
24VCOM
CN1
POWER


POWER UPPLY

Connection
Fig. 2-15 system power interface CN1

24VOM is connected with the output interface CN62 24V. When GSK980TDi's power supply box
supplies power supply for an external electron device, the supply box's +V is connected with
24VCOM. When an external power supply is used, its 24V is connected with 24VCOM and its 0V
must be connected with the system's supply box's-V.

375
GSK980TDi Turning CNC System User Manual

2.8 I/O Interface Definition

Note!
The I/O function significances of the unlabelled fixed addresses of this
GSK980TDi/GSK980TDi-V turning machine CNC system are defined by PLC
programs (ladders), and they are defined by the machine builder when matching
with a machine, please refer to the manual by the machine builder.

The fixed address I/O function not be marked are described for GSK980TDi
PLC. The described contents without other special explanation are also applied to
GSK980TDi-V.

Connection

376
Chapter 2 Definition and Connection of Interface Signal

Pin Address Function Explanation


Power supply
21~24 0V
interface
17~20
Floating Floating Floating
25~28
1 X0.0 SAGT Guard door check signal
2 X0.1 Reserved Reserved
3 X0.2 DIQP Chuck input signal
4 X0.3 DECX(DEC1) X deceleration signal(fixed address )
5 X0.4 DITW Tailstock control signal
External emergency stop signal
6 X0.5 ESP
(fixed address )
7 X0.6 PRES Pressure check signal
Tool signal 5 /Sensor E
8 X0.7 T05 (LIO_SHING Tool Post )/YA_XING locking
signal
Tool signa l 6/ strobe signal
9 X1.0 T06/ strobe (YantaiAK31)/Sensor F(LIO_SHING Tool
Post )
Tool signal 7 /OV3/pregraducation proximity
10 X1.1 T07/ pregraduation
switch(YantaiAK31)/YA_XING releasing
T08/ tool post Tool signal 8//tool post worktable overheat
11 X1.2
worktable overheat check (YantaiAK31)
12 X1.3 DECZ(DEC3) Z deceleration signal(fixed address )
13 X1.4 Reserved Reserved
14 X1.5 M41I Shifting gear to 1st gear in-position
Fig.2-16 CN61 15 X1.6 M42I Shifting gear to 2nd gear in-position
inputinterface Tool signal / Sensor A(LIO_SHING Tool
16 X1.7 T01
(male socket Post )


of 44-cord in Tool signal / Sensor B (LIO_SHING Tool
29 X2.0 T02
Post )
type D)

Connection
Tool signal / Sensor C (LIO_SHING Tool
30 X2.1 T03
Post )
Tool signal / Sensor D (LIO_SHING Tool
31 X2.2 T04
Post )
32 X2.3 DECY(DEC2) Y deceleration signal(fixed address )
4th deceleration signal(fixed
33 X2.4 DEC4/LUBS
address )/lubricating oil detection
34 X2.5 DEC5 5th deceleration signal(fixed address )/
35 X2.6 TCP Tool post clamping signal
36 X2.7 EXHP external hydraulic control input
37 X3.0 LMIX X overtravel
38 X3.1 LMIY Y overtravel
39 X3.2 LMIZ Z overtravel
40 X3.3 WQPJ/VPO2 Chuck releasing in-position signal
41 X3.4 NQPJ/SALM2 Chuck clamping in-position signal
42 X3.5 SKIP G31 skip signal
43 X3.6 AEX X tool measure position arrival signal (G36)
44 X3.7 AEZ Z tool measure position arrival signal (G37)

Note: Partial input interface is the fixed address for some functions, for example: the signal of ESP, DECX,
DECZ or SKIP, etc. If this function does not use, it will be redefined in PLC.

377
GSK980TDi Turning CNC System User Manual

Pin Address Function Explanation


17,18,19, Power supply
0V Power supply 0V terminal
26,27,28 interface
20~25 +24V Power supply
Power supply +24V terminal
interface
1 Y0.0 M08 Cooling output
2 Y0.1 M32 Lubricating output
3 Y0.2 HOLD HOLD release output
4 Y0.3 M03 Spindle rotation (CCW)
5 Y0.4 M04 Spindle rotation (CW)
6 Y0.5 M05 Spindle stop
7 Y0.6 SCLP spindle clamped output
8 Y0.7 SPZD Spindle brake
9 Y1.0 S1/M41 Spindle machine gear output 1
10 Y1.1 S2/M42 Spindle machine gear output 2
11 Y1.2 S3/M43 Spindle machine gear output 3
12 Y1.3 S4/M44 Spindle machine gear output 4
13 Y1.4 DOQPJ(M12) Chuck clamping output
14 Y1.5 DOQPS(M13) Chuck releasing output
15 Y1.6 TL+ Tool post CCW rotation
16 Y1.7 TL- Tool post CW rotation
Tool post worktable brake
29 Y2.0 TZD/TLS (YantaiAK31)/tool pot releasing
(LIO_SHING Tool Post )
Tool post worktable pregraduation coil
Fig.2-17 CN62output 30 Y2.1 INDXS/TCLP (YantaiAK31) / tool pot lock
interface(female socket (LIO_SHING Tool Post)
of 44-cord in type D) 31 Y2.2 YLAMP Three-color lamp-yellow
32 Y2.3 GLAMP Three-color lamp -green

33 Y2.4 RLAMP Three-color lamp -red


34 Y2.5 DOTWJ(M10) Tailstock forward
Connection

35 Y2.6 DOTWS(M11) Tailstock backward


36 Y2.7 SLK Protective door lock
37 Y3.0 reserved
38 Y3.1 HPST Hydraulic control output
39 Y3.2 UO0/WKLP User macro output 0/ indicator
User macro output 1/ Extended M
40 Y3.3 UO1/EMOT1
function output signal 1
User macro output 2/ Extended M
41 Y3.4 UO2/EMOT2
function output signal 2
42 Y3.5 UO3 User macro output 3
User macro output 4/Chip-cleaner
43 Y3.6 UO4
forward
User macro output 5/ chip-cleaner
44 Y3.7 UO5
backward

378
Chapter 2 Definition and Connection of Interface Signal

Pin.No Address Function Explanation


1 1 Y9.1 SPLAMP Extended pause lamp
2 2 Y9.0 STLAMP Extended start lamp
3 3 0V 0V Power supply 0 V
4 4 X9.3 EXESP Extended emergency stop signal
5
5 X9.2 reserved reserved
6
6 X9.1 SP Extended pause
7
7 X9.0 ST Extended cycle start
8
8 +24V 24V Power supply +24V

Fig.2-18 CN78

Pin.No Address Function Explanation


7 Spindle override wave-band switch
6 1 X29.4 BAUD1_A
signal 0
5 Spindle override wave-band switch
4 2 X29.6 BAUD1_B
signal 2
3 3 Floating Floating Floating
2 4 +24V 24V Power supply +24V
1
Spindle override wave-band switch
5 X29.7 BAUD1_E
signal 3
Spindle override wave-band switch
Fig.2-19 CN66 6 X29.5 BAUD1_F
signal 1
7 INH BAUD1_INH INH

Pin.No Address Function Explanation


7


1 X29.0 BAUD2_A Feedrate wave-band switch signal 0
6
2 X29.2 BAUD2_B Feedrate wave-band switch signal 2
5

Connection
3 Floating Floating Floating
4
3 4 +24V 24V Power supply 24V
2 5 X29.3 BAUD2_E Feedrate wave-band switch signal 3
1 6 X29.1 BAUD2_F Feedrate wave-band switch signal 1
7 INH BAUD2_INH INH

Fig.2-20 CN67

Note 1: Various functions can be defined to some of the input and output interfaces, and they are indicated
by “/”sign in the table above.
Note 2: If output function is active, the output signal is through on to 0V. If output function is inactive, the
output signal is cut off by high impedance.
Note 3: If input function is active, the input signal is through on to +24V. If input function is inactive, the
input signal is cut off with it.
Note 4: The effectiveness of +24V, COM terminals are equivalent to those of the GSK980TDi/GSK980TDi
power box terminals that have the same names.

379
GSK980TDi Turning CNC System User Manual

2.8.1 Input Signal


Input signal means the signal from machine to CNC, when this signal is through on with +24V,
the input is active; when it is off with +24V, the input is inactive. The contact of input signal at machine
side should meet the following conditions:
Capacity of the contact: DC30V, 16mA above
Leakage current between contacts in open circuit: 1mA below
Voltage drop between contacts in closed circuit: 2V below (current 8.5mA, including cable
voltage drop)
There are two external input types for input signals: one type is input by contact switch whose
signals are from keys, stroke switch and contacts of relay at machine side, as shown in Fig. 2-21A:

Fig. 2-21A
The other type is input by switch with no contacts (transistor) as shown in Fig. 2-21B, 2-21C:

Connection

Fig. 2-21B Connection of NPN type

Fig. 2-21C Connection of PNP type

380
Chapter 2 Definition and Connection of Interface Signal

The input interface signals defined by PLC of GSK980TDi/GSK980TDi-V system involve XDEC,
ZDEC, ESP, ST, SP/SAGT, PRES, DITW, DIQP, T01~T08, TCP and so on.

2.8.2 Output Signal


The output signal is used for the machine relay and indicator. When the output is enabled, the
output state of its corresponding Y address is 1, and its output signal potential is 0V. When the output
is disabled, the output state of its corresponding Y address is 0, this output signal represents as
high-impedance state. The digital value output of I/O interfaces are owned the same structure, refer
to the following figure:

Fig. 2-22 Circuit for digital volume output module


Connection
Its typical application is as follows:
z To drive LED
A serial resistance is needed to limit the current (usually 10mA) that goes through the LED by
using output to drive LED, which is shown in Fig. 2-23:

Fig. 2-23

z To drive filament indicator


An external preheat resistance is needed to decrease the current impact at power on by using
output to drive filament indicator, and this resistance value should be within a range that the indicator
cannot be lighted up as shown in Fig. 2-24:

381
GSK980TDi Turning CNC System User Manual

+24V
CNC Machine
side side
Output Y address

Fig. 2-24 Fig.2-25


z To drive inductive load (such as relay)
To use output to drive an inductive load, it requires connecting a freewheeling diode near the coil
to protect output circuit and reduce interference as shown in Fig. 2-25:
The significances of the output signal of I/O interface are defined by PLC program, these signals
include S1~S4 (M41~M44), M3, M4, M5, M8, M10, M11, M32, TL-, TL+, U00~U05, DOQPJ,
DOQPS, SPZD signals etc.. And their common terminal is +24V.

2.9 I/O Function & Connection

Note!
The I/O function significance of this GSK980TDi / GSK980TDi-V turning
machine CNC system is defined by PLC programs (ladders), and they are defined by
the machine builder when matching with a machine, please refer to the manual by
the machine builder.
The fixed address I/O function not be marked are described for GSK980TDi

PLC. The described contents without other special explanation are also applied to
GSK980TDi-V.
Connection

2.9.1 Stroke Limit & ESP


z Relevant signal
ESP: emergency stop signal, alarm issued if the system is not connected with +24V
EXESP: External emergency stop signa, when not be connected with +24V emergency alarm
LMIX: X overtravel limit check input
LMIY: Y overtravel limit check input
LMIZ: Z overtravel limit check input
z Diagnosis data
0 0 0 ESP
Pin CN61.6

z Signal diagnosis
Signal ESP EXESP LMIX LMIY LMIZ
Diagnosis address X0.5 X9.3 X3.0 X3.1 X3.2
Interface pin CN61.6 CN78.4 CN61.37 CN61.38 CN61.39

382
Chapter 2 Definition and Connection of Interface Signal

z Control parameter
Bit parameter
1 7 2 ESP
ESP =0: Check ESP signal
=1: Do not check ESP signal
z PLC bit parameter
K 1 0 LMIT LMIS EXESP
LMIT =1: Travel limit check function of each axis is valid.
=0: Travel limit check function of each axis is invalid
LMIS =1: The system alarms for overtravel when the travel limit check signal is not connected
with +24V.
=0: The system alarms for overtravel when the travel limit check signal is connected with
+24V
EXESP =1:External emergency stop signa is valid。
=0:External emergency stop signa is invalid。

z Signal connection
The ESP signal circuit is shown in Fig.2-26:


Connection
Fig. 2-26 ESP signal circuit

z Machine external connection


(1) The series connection between the emergency stop and travel switch is shown in Fig. 2-27:

Fig.2-27 Series connection between emergency stop and travel switch

(2) The separate connection between the emergency stop and travel switch is shown in Fig.
2-34B:

383
GSK980TDi Turning CNC System User Manual

Fig. 2-28 Separate connection between the emergency stop and travel switch

z Control logic
(1) Series connection between the emergency stop and travel switch
When the contact of the emergency stop switch is cut off, the ESP signal is off to +24V, and CNC
makes an emergency alarm. Meanwhile the CNC turns off the enable (EN) signal to stop the pulse
output. Except the functions processed by NC, other functions can also be defined by PLC program
when the emergency alarm is issued. The function defined by standard PLC program is: when
emergency alarm is issued, it turns off the signal output of M03, M04, M08, and outputs M05 signal at
the same time.
(2) Separate connection between the emergency stop and travel switch
1. Each axis has only one overtravel contact, and the system judges the overtravel alarm
based on the axis movement direction.
2. When the system alarms for the overtravel, the axis moves reversely, the reset key is
pressed to clear the alarm after the axis exceeds the limit position.
Note: Before the overtravel limit function is enabled, the slider must be between the positive and the negative
limit; otherwise, the prompted alarm will not be consistent with actual situation.

2.9.2 Tool Change Control


Connection

z Relevant signals (by standard PLC program)


Ladder diagram supports 4 kinds of tool-post controllable logic; refer to the tool-change logic for
the Signal Specification.
z Control parameter
Bit parameter
K 1 1 CHOT CHET TCPS CTCP TSGN CHTB CHTA
CHTA: tool change mode selection bit 0
CHTB: tool change mode selection bit 1(see following table)

CHTB CHTA Tool post type


0 0 Standard tool change mode B
0 1 Standard tool change mode A
1 0 Yantai AK31
1 1 Unused
TSGN =0 : tool signal HIGH(turn on +24V) is valid
=1 : tool signal LOW(turn off +24V) is valid
CTCP =0 : do not check tool post locking signal
=1 : check tool post locking signal

384
Chapter 2 Definition and Connection of Interface Signal

TCPS =0 : tool post locking signal LOW(turn off +24V) is valid


=1 : tool post locking signal HIGH(turn on +24V) is valid
CHET=0 : do not check tool signal after the tool change is completed
=1 : check tool signal after the tool change is completed
CHOT=0 : do not check tool post overheat
=1 : check tool post worktable overheat

D T 0 4 TLMAXT
The maximum time limit for tool change

D T 0 7 T1TIME
Tool change time T1: Tool post delay time from CCW stop to CW output (ms)

D T 0 8 TCPCKT
Tool post lock signal detection time (ms)

D T 0 9 TCPTIME
Tool change time T2: tool post CW rotation locking time

0 0 8 4 TMAX
Total tools selection

z Signal connection
1. The T01~T08, TCP signals input are employed with photocoupler, its interior circuit is shown
in Fig. 2-29:


Connection

Fig. 2-29
2. TL+, TL- are tool post CCW/CW output signal, its interior circuit is shown in Fig.2-30:
CNC side Machine side

Output signal

Fig. 2-30

3. The external circuit of the tool number signal is shown in Fig. 2-31, when the tool number
signal is low level active, it requires an external pull-up resistor.

385
GSK980TDi Turning CNC System User Manual

CNC side Machine side

Hall switch
·
Fig. 2-31
z Function description (defined by standard PLC program)
The control sequence and control logic of the tool change are defined by PLC program. There
are 4 tool change modes defined as follows by standard PLC program:
1. CHTB (K11.1)=0, CHTA (K11.0)=0: tool change mode B
1.1 Signal specification
Signal type Code Interface Address Function Remark
CN61.16 X1.7 T01 tool signal

CN61.29 X2.0 T02 tool signal

CN61.30 X2.1 T03 tool signal

CN61.31 X2.2 T04 tool signal


Intput
CN61.8 X0.7 T05 tool signal
signal
CN61.9 X1.0 T06 tool signal

CN61.10 X1.1 T07 tool signal

CN61.11 X1.2 T08 tool signal

CN61.35 X2.6 TCP tool post locked signal

Output CN62.15 Y1.6 TL+ tool post CW rotation


signal CN62.16 Y1.7 TL- tool post CCW rotation


Connection

1.2 Tool-Change schedule


①During the tool change process, CNC outputs TL+ signal until the tool in-position signal is
detected, then CNC turns off TL+ signal output and outputs TL- signal after a delay time
specified by data parameter No.082. Then CNC detects TCP signal till it is detected, the CNC
turns off TL- signal after a delay time specified by the data parameter No.085. So the tool change
is over.
②When CHET(K0011.5) is set to 1(check tool signal after the tool change ends) and the tool
post (CCW) rotation time ends to confirm whether the current tool input signal is consistent with
the current tool No., if not, the system alarms.
③ The tool change process ends.
④ After the system outputs the tool post rotation (CCW) signal, if the CNC doesn’t receive the
TCP signal within the time set by DT08, an alarm will be issued and the TL- signal will be turned
off.
⑤ When the tool post has no tool post locking signal, CTCP(K0011.3) is set to 0, at the time,
the system does not check the tool post locking signal.

386
Chapter 2 Definition and Connection of Interface Signal

DT07

TL+

T1~T8

TL- DT08

TCP DT09

Sequence of tool change mode B

2. CHTB (K11.1)=0,CHTA (K11.0)=1: YA_XING hydraulic tool post HLT series:


2.1 Signal explanation
Signal type Code Interface Add. Function Remark
CN61.16 X1.7 T01 tool signal
CN61.29 X2.0 T02 tool signal Cutter position 8421
CN61.30 X2.1 T03 tool signal code
CN61.31 X2.2 T04 tool signal
Normally-closed
Input tool post locked
CN61.8 X0.7 TCP contactor (Low
signal signal
LEVEL enabled)
tool post strobe
CN61.9 X1.0 SELE
signal


Normally-closed
tool post released
CN61.10 X1.1 TUCP contactor (Low

Connection
signal
LEVEL enabled)
CN62.15 Y1.6 TL+ tool post CW rotation
tool post CCW
CN62.16 Y1.7 TL-
Output rotation
signal tool post released
CN62.29 Y2.0 TRLS
outout
CN62.30 Y2.1 TCLP tool post locked
outout

Notice: The cutter-head clamping signal and releasing signal are normally-closed
contactor, which are enabled in low LEVEL.
2.2 Tool-change schedule
① Cutter-head relases and waits for that the cutter-head releasing signal is low LEVEL.
② The system judges the shortest path based upon the destination tool number and current
tool number; select the output rotation direction in terms of the principle of the
approximated tool-selection regardless of the positive signal (TL+) or negative one (TL-),
the tool starts to rotate and perform the tool-selection.
③ In the rotation process, the system performs the coding based upon the cutter position
encoder signals T1~T4 to identify the current tool number. When rotating to the previous
387
GSK980TDi Turning CNC System User Manual

station of the destination tool number, detect the skip of the cutter-head strobe signal.
System closes the cutter-head releasing signal and outputs the cutter-head clamping
signal at the falling-edge of the previous state strobe signal of the destination tool number.
④ When the cutter-head clamping input signal in detecting is low LEVEL, close the
cutter-head rotation output signal (TL+ or TL-), the motor is then stopped.
⑤ Confirm whether the current tool position code signal is consistent with the detstination tool
number, confirm whether the cutter-head clamping signal is Low LEVEL again.
⑥ The tool-change is absolutely performed if the above-mentioned steps are correct.

2.3 Tool-Change Schedule



Connection

2. CHTB(K11.1)=1,CHTA(K11.0)=0 Yantai AK31 series (6, 8, 10, 12 tools) Chanzhou


SBWD-80

3.1. Signal specification

388
Chapter 2 Definition and Connection of Interface Signal

Signal type Code Interface Address Function Remark


CN61.16 X1.7 T01 tool signal

CN61.29 X2.0 T02 tool signal Tool position is


CN61.30 X2.1 T03 tool signal 8421 encoder
CN61.31 X2.2 T04 tool signal
Input
Tool post locked
signal CN61.35 X2.6 TCP
signal
CN61.9 X1.0 SELE strobe signal
Tool post worktable
CN61.10 X1.1 INDX
pregraduation coil
tool post overheat
CN61.11 X1.2 CHOT
check
Tool post CW
CN62.15 Y1.6 TL+
rotation
ool post CCW
Output CN62.16 Y1.7 TL-
rotation
signal Tool post worktable
CN62.29 Y2.0 TZD
brake
Tool post worktable
CN62.30 Y2.1 INDXS
pregraduation coil

3.2. Tool change process


⑴. Ensure the tool post brake TZD signal is turned on.
⑵.The system executes the shortest path judge based on the target tool no. and the current tool
no., and selects the rotation direction of the output according to the nearby tool selection, outputs the
positive signal(TL+) or negative signal (TL-), and the tool post rotates to select the tool.


⑶.During the rotation, the system decodes to identify the current tool no. based on the tool

Connection
encoding signal T1~T4 input. When it rotates to the previous tool before the target tool no., it checks
the skip of the tool post strobe signal. The strobe signal of the previous signal before the target tool no.
executes the falling edge, the system outputs pregraduation electromagnetic signal of the tool post,
and the electromagnet is turned on.
⑷.When the input signal of the pregraduation proximity input signal of the tool post is HIGH, the
system closes the tool post rotation output signal (TL+ or TL-), and the motor stops.
⑸.After the system delays 50ms, it outputs the signal(TL- or TL+) which is reverse to the
previous rotation direction and the tool post rotates reversely.
⑹.When the proximity input signal of the tool post locked is HIGH, the system closes the rotation
signal (TL-, TL+), and the motor stops. Then the system outputs the tool post brake signal TZD, and
the motor brake is turned on.
⑺.When the system delays 200ms,it closes the pregraduation electromagnetic output signal,
and then the electromagnet is turned off.
⑻.The system checks the current tool no. again and confirms whether the encoding signal of the
current tool is consistent with the target tool no..
⑼.The system confirms again whether the locked proximity switch signal is HIGH.
⑽.When the above steps are correct, the system closes the tool post brake signal TZD, and so
the tool change is completed.
⑾.In the course of the tool change, when the system has found the motor overheat signal, it

389
GSK980TDi Turning CNC System User Manual

alarms and closes output of all signals.

3.3. Tool change flow



Connection

390
Chapter 2 Definition and Connection of Interface Signal

4. CHTB (K11.1)=1,CHTA(K11.0)=1: LIO_SHING hydraulic tool post


4.1. Signal specification
Signal type Code Interface Address Function Remark
CN61.16 X1.7 T01 tool signal Sensor A
CN61.29 X2.0 T02 tool signal Sensor B
CN61.30 X2.1 T03 tool signal Sensor C

Input CN61.31 X2.2 T04 tool signal Sensor D


signal the tool pot stop and
CN61.8 X0.7 SSE the start signal be Sensor E
locked
tool post
CN61.9 X1.0 SSF Sensor F
releasing/lock signal
Tool post CCW
CN62.15 Y1.6 TL+
rotation Sol B
Output CN62.16 Y1.7 TL- Tool post CW rotation
signal tool post released
CN62.29 Y2.0 TRLS
outout Sol A
CN62.30 Y2.1 TCLP tool post locked
outout
Sensor A, B, C, D: only check the tool, and are not any start signals
Sensor E: it executes the inductive once when one tool change is executed, which makes the
tool pot stop and the start signal be locked. When the tool pot rotates to the required
position, Sensor is inductive, i.e. the electromagnet to control the tool pot rotation is
turned off, which makes the tool stop rotation and start the electromagnet to lock the
tool pot to ensure that the tool pot is locked.


Sensor F: releasing/lock confirmation signal. When it is not inductive, the tool pot is released, at
the time, the tool pot is started to rotate. When it is not inductive, the tool pot is locked,

Connection
i.e. the tool change is completed.
Sol A: control the tool pot releasing/locking
Sol B: control the tool pot rotation(CW/CCW)

4.2 . Corresponding table between position and signal


8-tool:
1 2 3 4 5 6 7 8
A ● ● ● ●
B ● ● ● ●
C ● ● ● ●
D ● ● ● ●
E ● ● ● ● ● ● ● ●
10-tool:
1 2 3 4 5 6 7 8 9 10
A ● ● ● ● ●
B ● ● ● ● ●
C ● ● ● ● ●
D ● ● ● ● ●

391
GSK980TDi Turning CNC System User Manual

E ● ● ● ● ● ● ● ● ● ●
12-tool:
1 2 3 4 5 6 7 8 9 10 11 12
A ● ● ● ● ● ●
B ● ● ● ● ● ●
C ● ● ● ● ● ●
D ● ● ● ● ● ●
E ● ● ● ● ● ● ● ● ● ● ● ●

4.3 Tool change process description


Example: No. 1 tool is changed into No. 4 tool
Step 1: Sol A is turned on(tool pot is released)
Step 2: Ensure Sensor F is not inductive, Sol B is turned and the oil hydraulic motor rotates
Step 3: check the tool signal(Note: Sensor E is inductive for No. 1, 2, 3 tool, does not execute the
locking operation when the tool pot does not reach No. 4 tool). When No. 3 tool signal is confirmed,
Sensor E preparatory operation should be set to make the tool pot rotate to No.4 tool, at the time,
Sensor E is inductive, i.e. Sol B is turned on, the tool pot stops rotation and Sol A makes the tool pot
be locked.

2.9.3 Machine Zero Return

Notice
When the feed axis matches with the absolute encoder, set the
arbitrary point as the machine reference point by the [n axis reference point

setting] on the page of the “Position -> Integral Coordinate”. It will directly

Connection

position to the reference point when zero return after the reference position
is set.
Mainly, the following relevant description is about the adaptive
incremental encoder and the zero return procedure of the rotation axis.

z Relative signal
DECX: X deceleration signal;
DECY: Y deceleration signal;
DECZ: Z deceleration signal;
DEC4: 4th deceleration signal;
DEC5: 5th deceleration signal;
PCX: X zero signal;
PCY: Y zero signal;
PCZ: Z zero signal;
PC4: 4th zero signal;
PC5: 5th zero signal;

392
Chapter 2 Definition and Connection of Interface Signal

DECX X deceleration signal PCX X zero signal


DECZ Z deceleration signal PCZ Z zero signal
DECY Y deceleration signal PCY Y zero signal
DEC4 4th deceleration signal PC4 4th zero signal
DEC5 5th deceleration signal PC5 5th zero signal

z Diagnosis data
0 0 0 DEC5 DEC4 DECZ DECY DECX
Interface pin CN61.34 CN61.33 CN61.12 CN61.32 CN61.4
0 0 8 PC5 PC4 PCY PCZ PCX
Interface pin CN15.10 CN14.3 CN13.3 CN12.3 CN11.3

z Controlling parameter
Status parameters
0 0 4 DECI
Bit 5 1: During machine zero return, the deceleration signal is at high level;
0: During machine zero return, the deceleration signal is at low level;

0 0 5 PPD
Bit 1: 1: G50 sets relative coordinate system value;
0: G50 does not set relative coordinate system value;

0 0 6 ZM5 ZM4 ZMY ZMZ ZMX


th
Bit4 1: 5 axis zero point return method C
0: 5th axis zero point return method B
Bit3 1: 4th axis zero point return method C


0: 4th axis zero point return method B

Connection
Bit2 1:Y axis zero point return method C
0:Y axis zero point return method B
Bit1 1:Y axis zero point return method C
0:Y axis zero point return method B
Bit0 1:X axis zero point return method C
0:X axis zero point return method B

0 0 7 ZC5 ZC4 ZCY ZCZ ZCX


th
Bit 4 1: During machine zero return, the deceleration signal of the 5 axis (DEC5) and one-rotation
signal (PC5) are connected in parallel (use a proximity switch as a deceleration signal and
zero-point signal at the same time).
0: During machine zero return, the deceleration signal of the 5th axis (DEC5) and one-rotation
signal (PC5) are connected separately (use a proximity switch as a deceleration signal
and zero-point signal at the same time).
Bit 3 1: During machine zero return, the deceleration signal of the 4th axis (DEC4) and one-rotation
signal (PC4) are connected in parallel (use a proximity switch as a deceleration signal and
zero-point signal at the same time).
0: During machine zero return, the deceleration signal of the 4th axis (DEC4) and
one-rotation signal (PC4) are connected separately (use a proximity switch as a

393
GSK980TDi Turning CNC System User Manual

deceleration signal and zero-point signal at the same time).


Bit 2 1: During machine zero return, the deceleration signal of the Y axis (DECY) and one-rotation
signal (PCY) are connected in parallel (use a proximity switch as a deceleration signal and
zero-point signal at the same time).
0: During machine zero return, the deceleration signal of the Y axis (DECY) and one-rotation
signal (PCY) are connected separately (use a proximity switch as a deceleration signal
and zero-point signal at the same time).
Bit 1 1: During machine zero return, the deceleration signal of the Z axis (DECZ) and one-rotation
signal (PCZ) are connected in parallel (use a proximity switch as a deceleration signal and
zero-point signal at the same time).
0: During machine zero return, the deceleration signal of the Z axis (DECZ) and
one-rotation signal (PCZ) are connected separately (use a proximity switch as a
deceleration signal and zero-point signal at the same time).
Bit 0 1: During machine zero return, the deceleration signal of the X axis (DECX) and one-rotation
signal (PCX) are connected in parallel (use a proximity switch as a deceleration signal and
zero-point signal at the same time).
0: During machine zero return, the deceleration signal of the X axis (DECX) and one-rotation
signal (PCX) are connected separately (use a proximity switch as a deceleration signal
and zero-point signal at the same time).
Note: In the zero return method B, it is set to 0; the zero return can be detected the PC signal after
releasing from the block when it independently connects. If it is set to 1, PC detection signal begins after
pressing the block to decelerate to zero when it is connected in parallel, and the block then can be reserved.

0 1 1 NORF ZNLK REFC2


Bit3 1: Manual machine zero return is invalid;
0: Manual machine zero return is valid;
Bit 2: 1: The direction key is self-locked during machine zero return; press the direction key once till

the machine zero return is finished;


Connection

0: The direction key is not self-locked during machine zero return; press down the direction key;
Bit1 1:Ref.C mode,the feeding slowdown when machine press down switch, it is reversed after
decelerating to zero.
0:Ref.C mode,the feeding slowdown when machine release switch, it is reversed after
decelerating to zero.

0 1 2 APRS ISOT
Bit 7 1: CNC sets the absolute coordinate system automatically after reference point return;
0: CNC does not set absolute coordinate system automatically after reference point return;
Bit 0 1: Manual rapid traverse is valid after system power-on and before machine zero return;
0: Manual rapid traverse is invalid after system power-on and before machine zero return;

0 1 4 ZRS5 ZRS4 ZRSY ZRSZ ZRSX


Bit4, Bit3, Bit2, Bit1, Bit0
1: Machine zero point is set on the 5th, 4th, Y, Z, X axes; deceleration signal and zero point signal are
needed to be detected during machine zero return;
0: Machine zero point is not set on the 5th, 4th, Y, Z, X axes; deceleration signal and zero point signal
are not detected during machine zero return;

394
Chapter 2 Definition and Connection of Interface Signal

1 8 3 MZR5 MZR4 MZRY MZRZ MZRX


Bit4/Bit3/Bit2/Bit1/Bit0 1: The direction of machine zero return is negative;
0: The direction of machine zero return is positive;
1 8 8 RFCK RRT
Bit7 1:G28 running every time to check the PC signal
0:G28 running only first to check the PC signal
Bit6 1:Zero return D mode is used when the additional axis is a rotary axis;
0:Zero return A, B, C mode is used when the additional axis is a rotary axis (power-on
again).

Data parameters
0 3 3 ZRNFLn
The low speed of machine zero return;
1 1 3 REF_SPDn
The high speed of machine zero return;
0 4 7 PRSn
Setting value of absolute coordinate after machine zero return;

z Signal connection
The interior circuit of deceleration signal is shown in Fig. 2-32:


Connection
Fig. 2-32
z Machine zero return by regarding servo motor one-turn signal as the zero signal
①Its sketch map is shown below:

Fig. 2-33

② The circuit of deceleration signal

395
GSK980TDi Turning CNC System User Manual

Fig. 2-34
③ Sequence of machine zero return
When the BIT0 (ZMX) of the bit parameter No.006 is set to 0, and the BIT5(DECI) of the bit
parameter No.004 is set to 0, the system chooses the machine zero return mode B, and the
deceleration signal low level is active.
So the sequence of machine zero return mode B is shown as follows:

Fig. 2-35
Connection

Return process of machine zero mode B


A: Select Machine zero mode, press the manual positive or negative feed key (machine
zero return direction set by bit parameter No.183), the corresponding axis moves to the
machine zero by a rapid traverse speed (No.113). As the axis press down the
deceleration switch to cut off deceleration signal, the feeding slows down immediately,
and it continues to run in a fixed low speed (No.33).
B: When the deceleration switch is released, the deceleration signal contact is closed again.
And CNC begins to detect the encoder one-turn signal (PC), if this signal level skips, the
motion will be halted. And the corresponding zero return indicator on the operator panel
lights up for machine zero return completion.
When the BIT0 (ZMX) of the bit parameter and No.006 are both set to 1, and the BIT5 (DECI) of
the bit parameter No.004 is set to 0, it chooses the machine zero return mode C, and the deceleration
signal low level is active. The Bit 1 of status parameter No.011 can be set the deceleration time.
So the sequence of machine zero return mode C is shown as follows:

396
Chapter 2 Definition and Connection of Interface Signal

Deceleration switch Deceleration switch

H
i
g
he
r
e
t
u
r
n

Do
e
cs
e
l
s
p
e
d
De c

e
t

ra
Z
e
r
o
r
e
t
u
r
n
s
p
e
e
d
High return speed

t
to s elerat

e
Zero return

s
o
p
speed t op es

R
e
v
e
r
s
e
l
y
Ls
op
we
r
e
t
u
r
n
Reversely

Rf
e
t
us
r
n
Low return

e
d
Return

i
n
i
h
speed
finish
n
P
C

nPC
V
e
l
o
c
i
t
y
v

( ) Velocity(v)

T
i
m
e
t
)
(

Time(t)

Fig. 2-36 (Out-of-block deceleration) Fig. 2-37 (Push the block deceleration)
Return process of machine zero mode C
A: Select Machine zero mode, press the manual positive or negative feed key (return direction
set by bit parameter No.183), the corresponding axis moves to the machine zero by a rapid
traverse speed (No.113). As the axis press down the deceleration switch to cut off
deceleration signal, if the pushing block begins deceleration (Bit 1 of status parameter
No.011), the operation speed is then decelerated to zero. The feeding keeps rapid rate and
depart from the deceleration switch, when the DEC signal contact is closed, the feeding
slows down to zero, then run reversely to return to machine zero in a low speed.
B: In the reverse running, it presses down the deceleration switch to cut off the DEC signal
contact and continues returning; as it departs from the deceleration switch, the deceleration
signal contact is closed again. And CNC begins to detect the encoder one-turn signal (PC), if
this signal level skips, the motion will be halted. And the corresponding axis zero return
indicator on the operation panel lights up for zero return completion.


z Machine zero return by a proximity switch taken as both deceleration and zero signals

Connection
① Its sketch map is as follows:
Sketch map of zero tongue for machine zero return mode B:

Fig. 2-38

Sketch map of zero tongue for machine zero return mode C:

397
GSK980TDi Turning CNC System User Manual

Fig. 2-39
② Circuit of the deceleration signal
Machine side CNC side
+24V

nDECCn
*DE

nPC

Fig. 2-40
③Sequence of machine zero return (taking example of X)
When the BIT0 (ZMX) of the bit parameter No.006 are all set to 0, and the BIT5 (DECI) of the bit
parameter No.004 is 0, it chooses the machine zero return mode B.
The sequence of machine zero return is as follows:

Connection

Fig. 2-41
B type machine zero return process
A: Select the Machine Zero mode, press manual positive or negative (zero return direction set
by bit parameter No.183) feed key, the corresponding axis will move to the zero at a high
speed(set by parameter No.113).
B: As the proximity switch touches the tongue for the first time, the deceleration signal is active
and speed immediately slows down and it runs in a fixed low speed (set by parameter
No.33 ).
C: As the proximity switch detaches the tongue, the deceleration signal is inactive; it moves at a
fixed low speed after deceleration and starts to detect zero signal (PC).

398
Chapter 2 Definition and Connection of Interface Signal

D: As the proximity switch touches the tongue for the second time, the zero signal is active and
the movement stops. The zero return indicator on the panel lights up for machine zero return
completion.
When the BIT0 (ZMX) of the bit parameter No.006 are all set to 1, and the BIT5(DECI) of the bit
parameter No.004 is 0, it chooses the machine zero return mode C.
The sequence of machine zero return mode C is shown as follows:
D
e
c
e
l
e
r
a
t
i
o
n
s
w
i
t
c
h
Deceleration switch

D
e
ce
l
e
t

r
H
i
g
h
r
e
t
u
r
n
s
p
e
e
d

a
t
s

e
t

s
o
High return speed
p
Zs
e
oe
r
r
e
t
u
r
n

Zero return speed Dec


p
e
d

to s elerat
top es
R
e
v
e
r
s
e
l
y
Return
Rf
e
t
us
r
n

Reversely
Ls
op
we
r
e
t
u
r
n

finish
i
n
i
h

e
d
V
e
l
o
c
i
t
y
v

Low return speed


( ) Velocity(v)

T
i
m
e
t
)

( Time(t)

Fig.2-42 (the feeding slowdown release switch) Fig.2-43 (the feeding slowdown press down switch)
Ref.C mode,the feeding slowdown when 0:release switch 1:press down switch
C type machine zero return process
A: Select the Machine Zero mode, press manual positive or negative (zero return direction set
by bit parameter No.183) feed key, the corresponding axis will move to the zero at a high
speed(set by parameter No.113).
B: As the proximity switch touches the tongue for the first time, the deceleration signal is active.


If the pushing block deceleration begins (The Bit 1of the status parameter equals to 1), the
feed speed decelerates to zero, then it runs reversely by low return speed.

Connection
C: If the setting block begins to decelerate (The Bit 1 of the status parameter No.011 sets to 0), it
is still operated with same speed when its speed descends. When the deceleration signal
contactor is closed, the operation speed decelerates to zero till leaving the deceleration
switch, and then it reversely operates with low speed based upon the machine tool zero.
D: As the proximity switch touches the deceleration switch for the second time in reverse running,
deceleration signal contact is cut off, it still runs by low return speed; as it detaches the
deceleration switch, deceleration signal contact is closed again, so the movement stops. The
zero return indicator for the corresponding axis on the panel lights up for zero return
completion.
z The machine zero return (zero-return method D) of deceleration signal or zero signal by
using the servo motor one-turn signal
There are four zero return methods for rotation axis, which are separately divided into: A, B, C
and D. Wherein, zero return method A, B and C are identical with the one of the linear axis. Only the
D is a special zero return method of the rotation axis.
When the controllable axis is rotation one, and the Bit 6 of status parameter No.188 sets to 1,
select the machine zero return method D.
The time-sequency figure of the machine zero operation in method D is as follows:

399
GSK980TDi Turning CNC System User Manual

Sequence of
machine zero

Ignore
PC

PC signal

Velocity (V)
High return
speed
Low
return
speed

Time (T)

Fig. 2-44

The process of machine zero return in method D:


A: Select the mechanical zero return method, positively feed manually, the corresponding axis
moves to the zero direction at the rapid traverse rate.
B: When met the one-turn signal (PC) of the servo axis at the first time, the system
decelerates to the zero return.
C: When the system decelerates to the zero return, the system is then detected the one-turn
signal again (PC).
D: The system operation stops when mets the one-turn signal (PC) of the servo axis;
simultaneously, the zero return indicator of if its corresponding axis on the operation panel
is turned on, the mechanical zero return is then ended.

2.9.4 Spindle Control


z Relevant signal (by standard PLC program)


Connection

Type Sign Interface Address Function Remark


Input
SALM CN15.8 X5.0 Spindle abnormity alarm input
signal
M03 CN62.4 Y0.3 Spindle rotation(CCW)
M04 CN62.5 Y0.4 Spindle rotation(CW)
M05 CN62.6 Y0.5 Spindle stop
SPZD CN62.8 Y0.7 Spindle brake
Output Its function is
signal SFR CN15.6 Y5.0 Spindle rotation(CW) consistent with
that of M03
Its function is
SRV CN15.7 Y5.1 Spindle rotation(CCW) consistent with
that of M04
M03 Spindle rotation(CCW)
Command
M04 Spindle rotation(CW)
format
M05 Spindle stop
Note: When the spindle is serial-connected, system delivers the rotation signal to servo by

400
Chapter 2 Definition and Connection of Interface Signal

bus regardless of the above-mentioned IO signals.


z Control parameter
Bit parameter
K 1 0 RSJG

RSJG =1: CNC not turn off M03, M04, M08, M32 output signals when pressing key;

=0: CNC turns off M03, M04, M08, M32 output signals when pressing key.
K 1 7 SALM SSTP
SALM =1: The system alarms when the spindle abnormal detection input signal is LOW (it is
turned off with 0V);
=0: The system alarms when the spindle abnormal detection input signal is HIGH (it is
turned on with 0V) .
SSTP =1: The analog voltage is closed when the spindle stops;
=0: The analog voltage is not closed when the spindle stops.

1 7 5 SAR
Bit6 1: The spindle SAR signal is checked before cutting;
0: The spindle SAR signal is not checked before cutting.

Data parameter
0 7 2 SAR_DELEY
Delay check time (ms) of the spindle speed arrival.

D T 0 5 MTIME
Execution time of M code (ms)


Connection
D T 1 0 SPDDLT
Spindle braking delay output time after spindle stop (M05) is output

D T 1 1 SPZDTIME
Spindle braking output time (ms)

D T 2 3 SVF_DELEY
Delay time before spindle motor torque decrease to 0 when spindle starts clamping;

D T 2 0 SCLPTIME
Spindle clamping/releasing command performance time (ms).

D C 0 0 SPZERO
Spindle zero speed output range (m/min);

z Signal connection
M03, M04, M05, SPZD signal output circuit is shown in Fig. 2-45A:

401
GSK980TDi Turning CNC System User Manual

CNC side Machine side

Output signal

Fig. 2-45A

SAR, SALM signal input circuit is shown in Fig.2-45B:

Fig.2-45B

z Operation sequence (defined by standard PLC program)


Spindle operation sequence is show in Fig 2-46:
Stop signal

CW/CCW

Stop

T2 T3
Connection

Brake

Fig. 2-46 spindle rotation(CW/CCW) sequence


Note: T2 is the delay time from sending the spindle stop signal to sending the spindle brake signal; T3 is the
spindle brake hold time.
z Function description(defined by standard PLC program)
① After the CNC is turned on, when M05 output is valid, M03 or M04 is executed, M03 or M04
output is valid and remains, at the time, M05 output is closed; when M03 or M04 output is valid, M05
is executed, M03 or M04 is closed, M05 output is valid and remains; the spindle brake SPZD signal
output delay is set by No.087(delay time from the spindle stop signal output to the spindle brake
SPZD signal output), the hold time of the brake signal is set by No. 089(the spindle brake output
time).
② When M03(M04)output is valid, M04(M03)is executed, the alarm occurs.
③ When №175.6 is set to 1, the system checks whether the speed arrival signal SAR is valid, if
it is valid, the system normally runs, if not, “Check speed arrival……” is displayed.
④ When the spindle speed command and the cutting feed command are in the same block, the
system executes the delay check for SAR signal to avoid that the CNC starts the cutting based on the
last spindle speed arrival signal SAR, the delay time is set by No.072.
⑤ DC00 is the spindle zero-speed output range. When the actual spindle speed is not more

402
Chapter 2 Definition and Connection of Interface Signal

than DC00 setting value, the system defaults the spindle speed to be zero, and can release the chuck,
close the hydraulic and other operations.
⑥ SALM(X5.0)is spindle abnormity alarm input。
Note 1: In the emergency stop, it turns off M03, M04, M08 signals, and outputs M05 signal;
Note 2: Whether M03, M04 is cancelled is set by BIT3 of the bit parameter No.009 when CNC is reset.
If Bit 1=0, CNC turns off M03, M04 at reset;
If Bit 1=1, M03, M04 is kept at reset.

2.9.5 Spindle Wwitching Volume Control


z Relevant signal(defined by standard PLC program)
S01~S04: Control signal for spindle speed switching volume, they are compound interfaces
defined by standard PLC program, and they share common interfaces with M41~M44, U00~U03.
z Signal diagnosis
Signal S4 S3 S2 S1
Diagnosis address Y1.3 Y1.2 Y1.1 Y1.0
Interface pin CN62.12 CN62.11 CN62.10 CN62.09
z Control parameters
Bit parameter
0 0 1 ACS
Bit4 =1: Analog voltage control of spindle speed
=0: Switching volume control of spindle speed
z Control logic (defined by standard PLC program)
S1~S4 output are inactive at power on. If any code of them is executed, the corresponding S
signal output is active and held on, and the other S signal outputs are cancelled. S1~S4 outputs are
cancelled when executing S00 code, and only one of them is active at a time.


Connection
2.9.6 Spindle Automatic Gearing Control
z Relevant signal (defined by standard PLC program)
M41~M44: Spindle automatic gear shifting output signals. It supports 4-gear spindle automatic
gear shifting control when the system selects the spindle analog value control(0~
10V analog voltage output)
M41I, M42I: spindle automatic gear shifting No.1, 2 gear in-position signals to support gear
shifting in-position check function
z Signal diagnosis
Signal M42I M41I M44 M43 M42 M41
Diagnosis address X1.6 X1.5 Y1.3 Y1.2 Y1.1 Y1.0
Interface pin CN61.15 CN61.14 CN62.12 CN62.11 CN62.10 CN62.09

z Signal connection
The circuit for M41~M44 is shown in Fig.2-47:

403
GSK980TDi Turning CNC System User Manual

Fig. 2-47
z Control parameter
Bit parameter
0 0 1 ACS
Bit4 =1: Spindle analog volume control, set to 1 if using spindle automatic gearing
=0: Spindle switching volume control

1 9 5 PLCS
Bit6 =1: PLC spindle rotation speed function of each axis enabled;
=0: PLC spindle rotation speed function of each axis disabled。
K 1 5 SHT AGIM AGIN AGER
AGER =1: Spindle automatic gearing active
=0: Spindle automatic gearing inactive
AGIN =1: Detect M41I, M42I signal when shifting to gear 1, 2
=0: Not detect M41I, M42I signal when shifting to gear 1, 2
AGIM =1: Active when M41I, M42I signals disconnecting to +24V
=0: Active when M41I, M42I signals connecting to +24V
SHT =1: spindle gear power-down executes the memory
=0: spindle gear power-down does not execute the memory
Data parameter
0 3 7 GRMAX1

0 3 8 GRMAX2
Connection

0 3 9 GRMAX3
0 4 0 GRMAX4

GRMAX1, GRMAX2, GRMAX3, GRMAX4: The respective max. speeds of spindle gear 1, 2, 3, 4
when analog voltage output is 10V. Spindle speeds for M41, M42, M43, M44 when spindle automatic
gearing is active.
0 6 7 SFTREV
The output voltage during spindle gear shift(0~10000, Unit: mV)

D T 0 0 SFT1TME
Time for original gear disable during spindle gear shift (ms),refer to function description for
details.

D T 0 1 SFT2TME
Delay time after spindle gear shift (ms), refer to function description for details.
z Function description (defined by standard PLC program)
The spindle automatic gearing is active only under the spindle analog voltage control (BIT4 of the
bit parameter No.001 set to 1) and the BIT 7 of the bit parameter No.164 is set to 1; if the spindle auto

404
Chapter 2 Definition and Connection of Interface Signal

gearing is inactive, alarm will be issued when M41~M44 is being executed and only one of them is
active at a time.
When spindle auto gearing is used to control automatic spindle mechanical gear switching, as
CNC executes S□□□□ code, it calculates the analog voltage output to spindle servo or frequency
inverter based on the parameter of the current gear by M4n (M41 ~ M44 to data parameters
No.037~No.040 respectively) to make the actual speed to be consistent with the S code.
When CNC is powered on, the spindle gear memorizing is set by the BIT1 of bit parameter
No.168.
If the BIT4 of bit parameter No.001 is 0, the spindle gear is not memorized at repowering after
power down, and the gear 1 will be defaulted, M41~M44 are not output. If BIT4 of bit parameter
No.001 is 1, the spindle gear is memorized at repowering after power down.
No gearing is done if the specified gear is consistent with the current gear. If not, gearing will be
performed, and the process defined by standard ladders is shown in the following:
①Execute any of M41, M42, M43, M44 codes, output analog voltage to spindle servo or
frequency inverter according to a value set by data parameter No.067 (Unit: mV);
②After a delay (gearing time 1) by the DT00, turn off the original gear output signal and output
the new gearing signal;
③If the gear is 1 or 2, and the BIT6 of the bit parameter No.164 is 1, it jumps to ④, or else it
jumps to ⑤;
④Check the gear in-position input signal M41I, M42I, it jumps to ⑤ if the gear in-position is done;
if not, the CNC waits the gear in-position signal;
⑤After a delay (gearing time 2) by DT01, output spindle analog voltage by the current gear
according to a value set by data parameter No.037~No.040 (gear 1~4) and finish the gearing.
Note: The output of M41~M44 is held on when CNC is reset or i emergency stop, which is defined by
standard PLC ladder.


2.9.7 Spindle 8-point Orientation Function

Connection
z Command format
M51: spindle orientation command
M50 : cancel spindle orientation command
Note: When the system is matched with GS-L Spindle Servo Unit, it can realize one-point orientation.
z Control parameter
K 1 5 SPOR
SPOR =1: The spindle eight-orientation function is valid.
=0: The spindle eight-orientation function is invalid.
z Functional description(standard PLC program definition)
1. After the positioning function commands M51 are executed, PLC→CNC executes the
orientation signal.
2. CNC issues an orientation command after reciving the orientation signal; (after the system
delays 100ms, the spindle rotation(CW/CCW) is disabled, at the same time, the system starts to
check the orientation completion signal (COIN).
3. Drive unit starts the orientation.
4. After the drive unit orientation is completed, Drive →CNC→PLC outputs the spindle
completion signal COIN;
5. After PLC receives the spindle orientation completion signal COIN, the spindle orientation is
completed, but the spindle orientation signal STAO keeps the output.

405
GSK980TDi Turning CNC System User Manual

6. When M51 is input again, the spindle oriented to another position.


7. After the orientation is completed and when M50 is executed or the spindle orientation is
operated, PLC closes the spindle orientation signal STAO output and cancels the positioning function.
8. When the system has not received the orientation completion signal after the PLC sends the
orientation completion signal for 10000ms, it alarms “the spindle orientation time being long”.
9. Before the orientation, the spindle can rotate or stop; the spindle stops after the orientation.
Note 1: The drive is for the spindle servo drive unit.
Note 2: The spindle should be the serial-connected when selecting this function; simultaneously, adapt the
GS-L series spindle servo drive unit.
z Connected diagram
When GSK980TDi matches with the GS-L series servo drive, it is connected with bus regardless
of the special wiring.

2.9.8 Spindle Cs Axis Control Function


z Command format
M14: The spindle is switched from the speed control mode into the position
M15: The spindle is switched from the position control mode into the speed
Note: When the spindle is rotary, Cs function is valid and the corresponding spindle servo drive unit is
speed/position switch working mode, the spindle speed/position control switch is valid.
z Control parameters
State parameters
0 0 1 Analog
spindle
Bit4 =1: Spindle speed analog control. When the spindle automatic gear change function is
used, it must be set to 1;
=0: Spindle speed switch control.

1 8 7 ROS ROT
Connection

Bit1, Bit0 : 00: set the additional axis to the linear axis; 01: set the additional axis to the rotary
axis (A-type); 11: set the additional axis to the rotary axis (B-type); 10: set the
additional to be invalid.

1 9 5 SSPD CSREF RCS


Bit0 =1:Cs function of spindle valid ,power on;
=0:Cs function of spindle is:invalid,power on.
Bit1 1:Change to position mode,the axis do return REF;
0:Change to position mode,the axis don't return REF.
Bit7 1:series spindle controllable function enabled (series spindle The slave ID number of the
spindle 1~3 is 11~13) , it is necessary to restart;
0:series spindle controllable function disabled (analogy spindle), it is necessary to restart.

2 2 1 Feed axis of the corresponding spindle


The feed axis number related with the spindle should be set when matches with the CS axis
function.

1 6 4 Spindle shifting M code

406
Chapter 2 Definition and Connection of Interface Signal

Spindle CS shifts the M code [Setting value +1 is the M code of the function releasing].
Note 1: When the spindle positioning function is enabled, it is regarded as the M code shifted by
spindle positioning.
Note 2: The setting value should be shifted the M code by the compiled CS in the ladder
diagram.
Note 3: The setting is enabled when its setting is less than the 6. The coordinate system will not
be cleared as zero by shifting the CS axis when its value is disabled.

K 1 5 RCS RSCS
RCS =1: Cs function of the spindle is valid.
=0: Cs function of the spindle is invalid.
RSCS =1: The spindle contour control is disabled in emergency stop, reset.
=0: The spindle contour control is enabled in emergency stop, reset.
Note: K15.7 sets whether all Cs functions are valid, №o187.5, №o189.5, №o191.5 set whether Cs functions of
the special axis is valid. When the multiple spindle function is valid, Cs function of only one axis is valid.
z Function description(defined by standard PLC program)
1. Control logic
1.1. The PLC sets the spindle contour controllable shifting signal CON (G27.7) to 1 after the M14
is executed;
1.2. CNC controls the drive to shift the controllable method, after the switch is completed,
CNC→PLC outputs the spindle contour controllable shifting end signal FSCSL (F44.1);
1.3. Aafter the PLC detects the spindle contour controllable shifting end signal FSCSL (F44.1),
end the performance of the M14. The spindle controllable shifting method is ended.
2. M15 execute processes are the same those of M14.
3. Only, the M15 cancels the speed/position shifting performed by M14; if the spindle shifts into


the Cs contour control by executing the M29, the performance of the M15 will not be converted into

Connection
the speed controllable method.

4. on the panel is equal to the spindle speed/position control mode switch in Manual mode.

In Manual/MPG mode, press and the CNC starts the spindle speed/position control mode
switch. After the CNC is switched into the spindle position control mode, the spindle orientation

indicator is ON, at the time, Cs position movement is performed. Press again and the CNC is
switched into the spindle speed control mode and the spindle orientation indicator is OFF.
5. Before switch, the spindle can rotate or stop. After switch, the spindle stops.
6. When the spindle is in Cs contour control mode, the spindle rotation(CW/CCW) output is
invalid.
7. When the spindle is in the external speed control mode, the manual operation of Cs axis is
invalid.
8. When the alarm occurs in the servo or because of the too long switch time or the reset or
emergency stop appears in switch, PLC switches the spindle into the speed control state.
9. When PLC K15.6 is set to 1, the spindle contour control is disabled in emergency stop, reset.

407
GSK980TDi Turning CNC System User Manual

PLC switches the spindle into the speed control state.


10. There is the CS shifting M code (Standard ladder diagram defines as M14) in the setting of
the No.164; the coordinate system can be cleared after the feed CS shifts.
z Wiring diagram
When the GSK980TDi matches with the GS-L series servo drive; the bus then can be connected
regardless of the special wiring.

2.9.8 Multiple Spindle Function


When the multiple spindle function is valid, related signals, parameters and commands are
consistent with related explanations of the spindle control, the 1st, the 2nd spindle explanations are
shown below.
z Related signals(defined by PLC program)

Type Sign Interface Address Function Remark


Input
SALM2 CN16.8 X8.0 The 2nd spindle abnormality alarm signal
signal
SFR2 CN16.6 Y8.0 The 2nd spindle rotation(CW)
Output
signal SRV2 CN16.7 Y8.1 The 2nd spindle rotation(CCW)
Note: It is unnecessary to to connect the above-mentioned signals after the spindle is serial-connected.
z Command format
M63 the 2nd spindle rotates (CW)
M64 the 2nd spindle rotates (CCW)
M65 the 2nd spindle stops

M24 the 2nd spindle is switched from the speed control mode into the position control mode
Connection

M25 the 2nd spindle is switched from the position control mode into the speed control mode. The
speed control mode is defaulted after the system is turned on.
z Control parameters
1 8 7 RCS ROS ROT
Bit5 =1: Cs function of the additional axis is valid (power-on again);
=0: Cs function of the additional axis is invalid(power-on again).
Bit 1, Bit0: 00 sets Y to be the linear axis; 01 sets Y to be the rotary axis (A type); 11 sets Y to be
the rotary axis(B type); 10 sets Y to be invalid.
Bit1, Bit0 : 00: set the additional axis to the linear axis; 01: set the additional axis to the rotary
axis (A-type); 11: set the additional axis to the rotary axis (B-type); 10: set the
additional to be invalid.

1 9 5 SSPD RCS
Bit0 =1:Cs function of spindle valid ,power on;
=0:Cs function of spindle is:invalid,power on.
Bit7 =1:series spindle controllable function enabled (series spindle The slave ID number of the
spindle 1~3 is 11~13) , it is necessary to restart;
=0:series spindle controllable function disabled (analogy spindle), it is necessary to
restart.

408
Chapter 2 Definition and Connection of Interface Signal

0 2 2 1 The feed axis related with the spindle


The feed axis number related with the spindle should be set when matches with the CS axis
function.
Setting value meaning: 0: Without 1~5: the 1st axis ~ the 5th axis
1 9 6 MSEN
Bit4 1: The multiple spindle control function is valid;
0: The multiple spindle control function is invalid;

K 1 5 RCS RSCS
RCS =1: The spindle Cs function is valid;
=0: The spindle Cs function is invalid.
RSCS =1: The spindle contour control is disabled in emergency stop, reset;
=0: The spindle contour control is enabled in emergency stop, reset.

K 1 7 MSEN SALM2
MSEN =1: The multiple spindle control function is valid;
=0: The multiple spindle control function is invalid.
SALM2 =1: The system alarms when the check input signal of the 2nd spindle abnormality is
LOW;
=0: The system alarms when the check input signal of the 2nd spindle abnormality is
HIGH;
Function description(defined by the standard PLC program)
1.1. After the multiple spindle control function setting is valid, the system defaults to the 1st
spindle control after power-on;
1.2. When M03, M04, M05 is executed, the corresponding signal of the 1st spindle outputs, at


that time, the system sets the 1st spindle control, hereafter, the S command being executed
will change the 1st spindle speed. In a similar way, M63, M64, M65 is executed, the

Connection
corresponding signal of the 2nd spindle outputs, at the time, the corresponding signal of the
2nd spindle outputs, and is switched into the 2nd spindle control, after that, the executed S
command will change the 2nd spindle speed.
1.3. The spindle switch is invalid in rigid tapping.
1.4. The manual CW, CCW, STOP, SPINDLE OVRRRIDE keys on the panel are valid only to the
1st spindle. When the current system is controlled by the 2nd spindle, the manual control key
of the spindle on the panel still controls the 1st spindle.
1.5. The spindle override of the 2nd spindle is fixed to 100%.
1.6. Cs axis control of two spindles can be separately switched and the current used spindle has
no requirements, that is, when the current is the 1st(2nd) spindle, the 2nd (1st) spindle
executes the Cs switch.
z Cs control logic of the 2nd spindle
1.1. After M24 is executed, PLC sets the spindle contour controllable signal CON (G127.7) to 1;
1.2. CNC controls the drive to shift the controllable method, after the shifting is performed,
CNC→PLC outputs the spindle contour controllable shifting end signal FSCSL (F144.1);
1.3. After the PLC detects the spindle contour controllable shifting end signal FSCSL (F144.1),
end the performance of the M24. The spindle controllable method is then completed.
2. M25 execute processes are the same those of M24.
3. M25 only cancels M24 executing the speed/position switch. Executing M25 cannot switch the

409
GSK980TDi Turning CNC System User Manual

system into the speed control mode when executing M29 switches the spindle into Cs contour
control.

4. on the panel is only used to Cs switch of the 1st spindle.


5. Before switch, the spindle can rotate or stop. After switch, the spindle stops.
6. When the spindle is in Cs contour control mode, the spindle rotation(CW/CCW) output is
invalid.
7. When the spindle is in the external speed control mode, the manual operation of Cs axis is
invalid.
8. When the alarm occurs in the servo or because of the too long switch time or the reset or
emergency stop appears in switch, PLC switches the spindle into the speed control state.
9. When PLC K15.6 is set to 1, the spindle contour control is disabled in emergency stop, reset.
PLC switches the spindle into the speed control state.
z Wiring
When the GSK980TDi matches with the GS-L series servo drive; the bus then can be connected
regardless of the special cable.

2.9.9 Rigid Tapping Function


z Related commands
M20 spindle clamped output
M21 spindle clamped/released output
M29 entering rigid tapping state
Note: When only the selected spindle used to the rigid tapping interpolation is the rotary axis, the rigid
tapping function can be executed.
z Function description(defined by the standard PLC program)
① When the Cs function of the tapping spindle is invalid, the system is switched into the rigid

tapping state instead of switching the spindle servo speed/position in executing M29, defaults the
Connection

spindle servo to be the position control state.


② When Cs function of the tapping spindle is enabled, the spindle servo for the tapping is switched
into the position control state and the system is switched into Cs contour control state.
③ Before M29 switch, the tapping spindle is permitted to the spindle mode or Cs contour control
mode. After the rigid tapping return, the tapping spindle returns to the previous control mode.
④ When the system is in the rigid tapping state, the manual movement tapping spindle cannot be
performed.
⑤ The rigid tapping state is cancelled in reset or emergency stop.
⑥ In M29, when the 1st or the 2nd spindle is currently used, it is switched into the rigid tapping state.
In rigid tapping, a spindle should be selected firstly to execute the rigid tapping interpolation. After
the spindle is switched into the rigid tapping state, the spindle switch is invalid.
⑦ After M29 is execute, M20 and the tapping command in the same block are executed to clamp
the spindle before drilling or tapping.

2.9.10 Spindle Clamped Function


z Relative signals(Standard PLC program definition)
Signal
Code Interface Address Function Remark
type

410
Chapter 2 Definition and Connection of Interface Signal

Output
SCLP CN62.07 Y0.6 Spindle clamped output
signal

z Relative commands
M20 Spindle clamping output
M21 Spindle clamping output cancel
Note: The spindle clamping equipment should be matched with the machine tool.

z Control parameters
Status parameters
K 1 7 SCLP
SCLP =1:Spindle clamped function is valid。
=0:Spindle clamped function is invalid
D T 2 0 SCLPTIME
Spindle clamping/releasing command execution time (ms).
D T 2 3 SVF_DELEY
spindle is started to clamp, delay to reduce the spindle servo exciting time (ms).

z Function description(Standard PLC program definition)


① M20 and M21 are a pair of M commands for controlling the spindle clamp and release, and
they are for clamping the spindle after positioning, so that the spindle won’t rotate due to the
force during drilling or tapping.
② During executing M20, to avoid the clamped spindle servo motor current too big, CNC will
control the spindle and cut off the servo after the delay time set by DT23, and then, the
spindle servo reduces the motor excitation, while the position control can’t be executed.
However the position detection can still functions and the position won’t get lost.


③ The spindle can’t be clamped by M20 during the spindle moving or rotating. After the spindle
is clamped, the spindle can neither be rotated nor moved; otherwise, PLC issues the alarm.

Connection
2.9.11 Spindle Positioning Function
z Relevant command
M14 Spindle shifts to the positioning control mode
M15 Spindle shifts back to speed control mode
Note: It is necessary to set the CS function of the spindle, and the spindle clamping equipment is matched with
the machine tool

z Control parameters
Status parameters

1 9 5 SSPD RPOS CSREF RCS


Bit7 1:series spindle controllable function enabled (series spindle The slave ID number of the
spindle 1~3 is 11~13) , it is necessary to restart;
0: Series spindle controllable function disabled (analogy spindle), it is necessary to restart.
Bit3 1: Spindle position function is valid (When it is enabled, the mechinial releasing/clamping
interlocking operaton is performed before/after the spindle is positioned);

411
GSK980TDi Turning CNC System User Manual

0: Spindle position function is invalid.


Bit1 1: Change to position mode, the axis do return REF.
0: Change to position mode, the axis does not return REF.
Bit0 1: Cs function of spindle valid, power on
0: Cs function of spindle is: invalid, power on

1 6 4 Spindle shifting M code


Spindle CS shifts the M code [Setting value +1 is the M code of the function releasing].
Note 1: When the spindle positioning function is enabled that is regarded as the M code of the
spindle positioning method shifting.
Note 2: The setting value should be performed based upon compiled CS shifting M code in the
ladder diagram.
Note 3: The setting value is disabled when it is less than 6, in this case, the CS axis shifting will
not perform the coordinate system clearing.

z Function description(Standard PLC program definition)


① The system stops the detection spindle when executing the M14, simultaneously, output the
spindle releasing signal; the spindle is then converted into positioning mode after confirming
the spindle is released; the spindle is clamped after shifted.
② When the spindle is at the positioning mode, the arbitrary angle positioning based upon the
axis address command can be performed by G00 command. Firstly output the spindle
releasing signal when the position is performed, confirm that the spindle positions after
releasing; output the spindle clamping signal after moves to the specified position, the
positioning procedure is completed after confirming the spindle clamping.
③ The system will output the spindle releasing signal when executing M15; shift the spindle to
the controllable mode after confirming that the spindle is released, the shifting is then

performed.
④ Firstly set the Cs axis function before setting the spindle positioning function. When the
Connection

positioning function setting is enabled, only the positioning operation can be performed
instead of using the relevant function to the Cs contour control.
⑤ When the spindle positioning function is enabled, there are relevant operations between the
spindle clamping and releasing before/after positioning. Therefore, the spindle clamping
equipment should be matched with the machine tool.

2.9.12 External Cycle Start & Feed Hold


z Relevant signal (defined by standard PLC program)
ST: External cycle start signal, whose function is the same with the CYCLE START key on the
machine panel;
SP: External feed hold signal, whose function is the same with the FEED HOLD key on the
machine panel, and it shares an interface with SAGT(safety door detect) signal.

z Signal diagnosis
Signal SP ST
Diagnosis address X9.1 X9.0
Interface pin CN78.6 CN78.7

412
Chapter 2 Definition and Connection of Interface Signal

z Signal connection
The interior circuit of SP/ST signal is shown in Fig. 2-48:

Machine System
side side

Input
singnal

Fig. 2-48
z Control parameter
Bit parameter
1 7 2 MST MSP
Bit 6 =1: External cycle start signal (ST) is invalid;
=0: External cycle start signal (ST) is valid;
Bit 5 =1: External stop signal (SP) is invalid;
=0: External stop signal (ST) is valid; the external feed hold switch is needed,
otherwise, “Feed hold” is displayed.

z External connection circuit


The external connection circuit of SP, ST signals is shown in Fig. 2-49:
+24V


Connection
GSK980TDi

Normal-close contact without lock


SP

ST

CN61 socket
Fig. 2-49

2.9.13 Cooling Control


z Relevant signal (defined by standard PLC program)

Type Sign Interface Address Function Remark


Output signal M08 CN62.1 Y0.0 Cooling control output
M08 Cooing ON
Command format
M09 Cooling OFF

z Signal connection
Its internal circuit is shown in Fig. 2-50:

413
GSK980TDi Turning CNC System User Manual

Fig. 2-50 M08 internal circuit

z Function description (defined by standard PLC program)

M09 is active, i.e. M08 is inactive, after CNC power on. To execute M08, M08 output is active and
cooling is turned on; to execute M09, M08 output is cancelled and cooling is turned off.
Note 1: M08 output is cancelled at CNC emergency stop.
Note 2: Whether M08 is cancelled is set by BIT3 of the bit parameter No.009 when CNC is reset.
When Bit1=0, M08 output is cancelled as CNC is reset;
When Bit1=1, M08 output is not cancelled as CNC is reset;
Note 3: There is no corresponding output signal for M09, and M08 output is cancelled if M09 is executed.

Note 4: The cooling can be controlled by the key on operation panel, see details in OPERATION.

2.9.14 Lubricating Control


z Relevant signal (defined by standard PLC program)
Type Sign Interface Address Function Remark
Output signal M32 CN62.2 Y0.1 Lubricating control output
Lubricating position
Input signal LUBS CN61.33 X2.4
detection signal

Command M32 Lubricating ON


Connection

format M33 Lubricating OFF

z Signal connection
The internal circuit is shown in Fig. 2-51:

Fig. 2-51 M32 circuit

z Control parameter
PLC state parameter
K 1 0 RSJG

RSJG =1: when is pressed, CNC does not close M03, M04, M08, M32 output signal.

=0: when is pressed, CNC closes M03, M04, M08, M32 output signal.

414
Chapter 2 Definition and Connection of Interface Signal

K 1 6 LUBS LUBCK M32A


M32A =1: output lubricating in starting the system when the automatic lubricating is valid
=0: do not output lubricating in starting the system when the automatic lubricating is valid
PLC value
LUBCK =1: Detection with low lubricating position
=0: Without detection with low lubricating position
LUBS =1: Alarm with low lubricating position and low level
=0: Alarm with low lubricating position and high signal
D T 1 3 MANLUBT
Time for manual lubricating ON (ms) (0: lubricating time is not limited);
D T 1 6 AUTOLUBMT
Automatic lubricating time (0~2147483647ms)
D T 1 7 AUTOLUBT
Automatic lubricating interval time (0~2147483647ms)

z Function description
The lubricating defined by standard PLC program for this GSK980TDi system has two types:
Non-automatic and automatic lubricating, which are set by parameter:
DT17 =0: Non-automatic lubricating (same as version before)
DT17>0: Automatic lubricating, lubricating time DT17 and lubricating interval time DT16
available

1. Manual lubricating function

Press on the machine operator panel and the system executes the lubricating output,
pressing it again and the system cancels the output. Execute M32 and the system executes the


output; execute M33 and the system stops it.

Connection
DT13>1: the system executes the timed lubricating output, and the output is executed by

pressing , and is cancelled when the output exceeds the one set by DT13. After the system
executes M32, the lubricating output is executed within the time set by DT13 and it is cancelled.
Execute M33 in the time set by No. 112 and the output is cancelled.

2. Automatic lubricating
When K16.2 is set to 1, the system executes the lubricating in the time set by DT17, and then
stops the output. After it keeps the stop in the time set by DT16, it executes the lubricating again

repetitively, and executes the cycle in turn. In automatic lubricating, M32, M33, on the machine
panel are valid, and the lubricating time is the one set by DT17.
Note 1: The lubricating output is disabled in emergency stop;
Note 2: K No.0.10 Bit1 sets whether the lubricating output is cancelled in reset:
Bit1=0: the lubricating output is disabled in reset;

Bit1=1: the lubricating output remains unchanged in reset.


Note 3: The lubricating position detectiong signal is duplicatedly usable with DEC4, therefore, when the
system uses the DEC4 signal, it is better to set the disabled lubricating position detection.

415
GSK980TDi Turning CNC System User Manual

2.9.15 Chuck Control


z Relevant signal (defined by standard PLC program)
DIQP: Chuck control input signal
DOQPJ: Inner chuck clamping output/outer chuck releasing output signal
DOQPS: Inner chuck releasing output/outer chuck clamping output signal
NQPJ: Inner chuck clamping in-position/outer chuck releasing in-position signal, sharing a
common interface with T08, M42I
WQPJ: Inner chuck releasing in-position/outer chuck clamping in-position signal, sharing a
common interface with T07, M41I

Note 1: The key on the operation panel of GSK980TDi can replace DIQP input signal, and the
diagnosis address is X0026.6.

z Signal diagnosis
Signal DIQP NQPJ WQPJ DOQPJ DOQPS
Diagnosis address X0.2 X3.4 X3.3 Y1.4 Y1.5
Interface pin CN61.3 CN61.40 CN61.41 CN62.13 CN62.14

z Control parameter
K 1 2 RCKC CCHU NYQP SLSP SLQP
SLQP =1: Chuck control function is active;
= 0: Chuck control function is inactive;
SLSP =1: Check chuck clamping when the chuck function is active;
0: Does not check chuck clamping when the chuck function is active; if chuck is not
clamping, the spindle is disabled and an alarm is issued.
NYQP =1: Outer chuck mode; NQPJ is outer chuck releasing signal, WQPJ is outer chuck

clamping signal
=0: Inner chuck mode; NQPJ is inner chuck clamping signal, WQPJ is inner chuck
Connection

releasing signal
CCHU =1: Check chuck in-position signal.
=0: Does not check chuck in-position signal.
RCKC =1: External chuck control is active during program running;
=0: External chuck control is inactive during program running;
D T 1 4
Chuck clamping command (M12) execution time (ms)
D T 1 5
Chuck released command (M13) execution time (ms)
DT0018
DT18 >0: Chuck clamping and releasing signals are pulse output, the pulse width is set by
DT18
=0: Chuck clamping and releasing signals are level output

z Signal connection
The circuit of DOQPJ/DOQPS is shown in Fig. 2-52:

416
Chapter 2 Definition and Connection of Interface Signal

Fig. 2-52

z Sequence
①When SLQP=1, SLSP=0, NYQP=0, CCHU=1, CNC chooses inner chuck mode, and chuck
in-position signal detecting is active:
DOQPS: chuck releasing output; WQPJ: releasing in-position signal;
DOQPJ: chuck clamping output; NQPJ: clamping in-position signal.
DOQPJ and DOQPS output high resistance at power on, when CNC detects that the chuck input
signal DIQP is active for the 1st time, DOQPJ is connected to 0V and chuck is clamped.
After M12 is executed, DOQPS (pin 14 of CN62) outputs high resistance, DOQPJ(pin 13 of
CN62) outputs 0V, chuck is clamped and CNC waits for NQPJ signal to be in-position.
After M13 is executed, DOQPJ (pin 13 of CN62) outputs high resistance, DOQPS(pin 14 of
CN62) outputs 0V, chuck is released and CNC waits for WQPJ signal to be in-position.

Input signal:

Output signal:

Input signal:


Output signal:

Input signal: Connection


Fig. 2-53 (Chuck clamping, releasing signals are level output)
②When SLQP=1, SLSP=0, NYQP=1, CCHU=1, CNC chooses outer chuck mode, and chuck
in-position signal detecting is active:
DOQPS: chuck clamping output; WQPJ: clamping in-position signal;
DOQPJ: chuck releasing output; NQPJ: releasing in-position signal.
DOQPJ and DOQPS output high resistance at power on, when CNC detects that the chuck input
signal DIQP is active for the 1st time, DOQPS is connected to 0V and chuck is clamped.
After M12 is executed, DOQPS (CN62.14) outputs 0V, DOQPJ(CN62.13) outputs high
resistance, chuck is clamped and CNC waits for WQPJ signal to be in-position.
After M13 is executed, DOQPJ (CN62.13) outputs 0V, DOQPS(CN62.14) outputs high
resistance, chuck is released and CNC waits for NQPJ signal to be in-position.

417
GSK980TDi Turning CNC System User Manual

Fig. 2-54 Chuck clamping, releasing signals are level output


nd
As the 2 chuck input is active, DOQPS outputs 0V, chuck is released. The chuck
clamping/releasing signal is output alternatively, i.e. the output is changed each chuck input signal is
active.
③The interlock between the chuck and the spindle
When SLQP=1, SLSP=0, M3 or M4 is active, the alarm is issued if M13 is executed and the
output is unchanged.
When SLQP=1, SLSP=0, CCHU=1, if M12 is executed in MDI or Auto mode, CNC does not
execute next code till it detects the chuck clamping in-position signal is active. When the chuck
input signal DIQP is active in Manual mode, the panel spindle CW, CCW key are inactive till it

detects the chuck clamping in-position signal is active. In spindle running or auto cycle processing,
DIQP input signal is inactive. And DOQPS, DOQPJ is held on at CNC reset and emergency stop.
Connection

2.9.16 Tailstock Control


z Relevant signal (defined by standard PLC program)
DOTWJ: Tailstock forward output signal
DOTWS: Tailstock backward output signal
DITW: Tailstock input signal, DITW and BDT share a common interface.

Note: For GSK980TDi, can replace DITW input signal, and the diagnosis address is X0026.5.

z Signal diagnosis
Signal DITW DOTWJ DOTWS
Diagnosis address X0.4 Y2.5 Y2.6
Interface pin CN61.5 CN61.34 CN61.35

418
Chapter 2 Definition and Connection of Interface Signal

z Control parameter
State parameter
K 1 3 RTSC SPTW SLTW
SLTW =1: Tailstock function active.
=0: Tailstock function inactive.
SPTW =1: No interlock between spindle rotation and tailstock advancing and retracting, tailstock
may be moved regardless of the spindle, or spindle may run regardless of tailstock;
=0: Interlock between spindle rotation and tailstock advancing and retracting, tailstock
retraction disabled as spindle is running, spindle disabled if tailstock does not
advance.
RTSC =1: External tailstock control is active when a program runs.
=0: External tailstock control is inactive when a program runs

z Signal connection
The tailstock circuit is shown in Fig. 2-55:

Fig. 2-55


z Sequence (defined by standard PLC program)

Connection
The sequence of tailstock is shown in Fig. 2-56:

Input signal DITW

Output signal DOTWJ

Output signal DOTWS

Fig. 2-56 Tailstock sequence

Tailstock advancing (DOTWJ) and retracting(DOTWS) are both inactive when power on; when
the tailstock input (DITW) is active for the 1st time, tailstock advancing is active; when it is active for
the 2nd time, tailstock retracting is active, so the DOTWJ/ DOTWS signal interlock is output
alternatively, i.e. The output changes each time the DITW signal is active. If M10 is executed, DOTWJ
(CN62.34) outputs 0V and tailstock advances; if M11 is executed, DOTWS (CN62.35) outputs 0V and
tailstock retracts.
DITW signal is inactive as spindle is running. If M11 is executed, alarm will be issued, and its

419
GSK980TDi Turning CNC System User Manual

output are held on. And DOTWS, DOTWJ outputs are held on at CNC reset or emergency stop.

2.9.17 Low Pressure Detection


z Relevant signal (defined by standard PLC program)
PRES: Low pressure alarm detection signal, sharing a common interface with TCP.

z Signal diagnosis
Signal PRES
Diagnosis address X0.6
Interface pin CN61.7

z Control parameters
State parameter
K 1 4 SPB3 PB3
PB3 =0: Low pressure detection inactive.
=1: Low pressure detection active.
SPB3 =0: Low pressure alarm issued when PRES is connected with +24V.
=1: Low pressure alarm issued when PRES is connected with 0V.
PLC data parameter
D T 0 2 PEALMTIM
PEALMTIM: Waiting time before low pressure alarm(0~60000ms)

z Function description
①When PB3=1 and SPB3=0, PRES is connected to +24V, which is confirmed to be low pressure
alarm by CNC;

②When PB3=1 and SPB3=1, PRES is connected to 0V, which is confirmed to be low pressure
Connection

alarm by CNC;
③When low pressure alarm detection function is selected, once CNC detects the low pressure
alarm signal PRES to be active, and the signal holding time is over the setting by the data parameter
No.069 alarm is issued by CNC. And the axis feed is held, spindle is stopped, cycle start is disabled,

the alarm may be cancelled by pressing key or cutting off power;

2.9.18 Hydraulic Control


z Related signal(defined by the standard PLC program)
HPST: hydraulic control output signal

z Signal diagnosis
Signal HPST
Diagnosis address Y3.1
Interface pin CN62.38

z Control parameter

420
Chapter 2 Definition and Connection of Interface Signal

PLC state parameter


K 1 4 HPST
PB3 =0: the hydraulic control function is disabled.
=1: the hydraulic control function is enabled.

z Function description

① When the hydraulic control function is enabled, pressing can control HPST output to
start the hydraulic motor.

② In non-run, the spindle stop with the speed 0, pressing can disable HPST output.
③ When the hydraulic control function enables and the hydraulic motor is started, the system
alarm, at the time, the spindle cannot rotate.

2.9.19 Safety Door Detection


z Relevant signal
SAGT: For safety door detection, sharing a common interface with SP signal
SLK: Defense door lock control output. Only GSK980TDi-H is enabled.
Note: SLK defense door controllable function. Only GSK980TDi-H is enabled.

z Signal diagnosis
Signal SAGT SLK
Diagnosis address X0.0 Y2.7
Interface pin CN61.1 CN62.36
z Control parameter


z PLC status parameters

Connection
K 1 4 SLK SGSP SPB4 PB4
PB4 =0: Protection door detection function is invalid;
=1: Protection door detection function is valid;
SPB4 =0: When SAGT is at low level (disconnect with +24V), the protection door is closed;
=1: When SAGT is at high level (connected with +24V), the protection door is closed;
SGSP =0: Spindle is disabled when the protection door is open;
=1: Spindle is not disabled when the protection door is open;
SLK =0: (980TDi-H) defense door disabled.
=1: (980TDi-H) defense door enabled.
PLC data parameter
D T 2 8
Delay the controllable time (ms) of the defense door close

z Function description (defined by standard PLC program)


① When PB4=1, SPB4=0, CNC confirms that the safety door is closed as SAGT is connected
to 0V;
② When PB4=1, SPB4=1, CNC confirms that the safety door is closed as SAGT is connected
to +24V;
③ In Auto mode, if CNC detects the safety door is open, alarm is issued as cycle starts;

421
GSK980TDi Turning CNC System User Manual

④ In Auto running, if CNC detects the safety door is open, the axis feed is held, and alarm is
issued by CNC;
⑤ The safety door detection function is only active in Auto mode;
⑥ When the defense door lock function is enabled, in the Auto/MDI mode, the program should
be at the dwell state by opening the door lock pressing the “safety door” button on the panel.
Firstly close the spindle and cooling pressing the defense door lock button on the panel; the
defense door lock output when detecting that the spindle rotation speed is zero; in this case,
the defense door can be opened. The feed dwells when opening the lock by M18, the others
are consistent with the buttons on the button.
⑦ The spindle or cooling will not be closed in Manual/MPG mode.
⑧ Defense door lock controllable output, close the door lock controllable output after delaying
the DT28 setting time. When the defense door becomes close state from the open state, the
door lock controllable outputs are entirely closed regardless of the DT28 timing is performed
or not.

2.9.20 CNC Macro Variables


z Relevant signal
Macro output signal: standard PLC defines 5 macro output interfaces #1100~#1105;
Macro input signal: standard PLC defines 16 macro output interfaces #1000~#1015

z Signal diagnosis

Macro variable #1105 #1104 #1103 #1102 #1101 #1100


Connection

number
Diagnosis address Y3.7 Y3.6 Y3.5 Y3.4 Y3.3 Y3.2

Macro variable #1007 #1006 #1005 #1004 #1003 #1002 #1001


number
Diagnosis address X0.7 X0.6 X0.5 X0.4 X0.3 X0.2 X0.1

Macro variable #1015 #1014 #1013 #1012 #1011 #1010 #1009


number
Diagnosis address X1.7 X1.6 X1.5 X1.4 X1.3 X1.2 X1.1

z Function description (defined by standard PLC program)


U00~U05 signal output may be changed if macro variable #1100~#1105 are assigned. If
they are assigned for “1”, it outputs 0V, if they are assigned for “0”, it turns off their output signals.
Detect the macro variable #1000~#1015 values (input signal state), they may be used for
various processing if combined with other transfer judgment macro code.

422
Chapter 2 Definition and Connection of Interface Signal

2.9.21 External Override


z Related signals
Type Sign Interface Address Function Remark
CN67.1 FOV0 X29.0 Feed override wave-band switch 0
CN67.6 FOV1 X29.1 Feed override wave-band switch 1
CN67.2 FOV2 X29.2 Feed override wave-band switch 2
CN67.5 FOV3 X29.3 Feed override wave-band switch 3
Input
signal
CN66.1 SOV0 X29.4 Spindle override wave-band switch 0
CN66.6 SOV1 X29.5 Spindle override wave-band switch 1
CN66.2 SOV2 X29.6 Spindle override wave-band switch 2
CN66.5 SOV3 X29.7 Spindle override wave-band switch 3

z Related parameters
PLC state parameter
K 1 6 ROVI SOVI
ROVI =0: External feedrate override does not inverse.
=1: External feedrate override inverses.
SOVI =0: External feedrate override switch is disabled.
=1: External feedrate override switch is enabled.
z Function description
1. When the external feedrate override switch is selected, the button on the panel is disabled.
2. When the external feedrate override inverses, the system changes the direction of the
override regulation.


Connection
2.9.22 External MPG
z Related signals
PLC Address
CN31(MPG) Function Remark
address character
5 X6.0 EHDX X MPG
6 X6.1 EHDY Y MPG
8 X6.2 EHDZ Z MPG
Applied
19 X7.0 EHD4 4th MPG
toPSG-100-05E/L,
7 X7.1 EHD5 5th MPG
ZSSY2080 MPG
9 X6.3 EMP0 Increment ×1
22 X6.4 EMP1 Increment ×10
23 X6.5 EMP2 Increment ×100
11, 12, 13 GND
14,15 +5V
17,18 +24V
z Related parameters
State parameter

423
GSK980TDi Turning CNC System User Manual

0 0 1 MPG
Bit3 =0: Step working mode.
=1: MPG working mode.
PLC status parameters
K 1 6 SINC
SINC =0: When the system increment is 0.1μ, gear ×1000 in MPG and STEP mode is valid;
=1: When the system increment is 0.1μ, gear ×1000 in MPG and STEP mode is invalid;
K 2 0 DBMPG1 DBMPG0
DBMPG 0 Dual-MPG function selection bit 0; 00: Disabled 01: Enabled, as well the MPG
1 fixes the X axis and the MPG 2 fixes the Z axis, the shared step-length can be selected;
DBMPG 1 Dual-MPG function selection bit 1; 10: It is enabled and its panel button is only
enabled by MPG 1; external MPG input is only enabled by MPG 2.
z Function description
① MPG/STEP mode ×1000-gear selection is disabled. When x1000-gearis selected before
modifying the parameter, the system automatically changes into ×100-gear;
② When the external MPG, its axis selection does not lock, that is, the axis selection of MPG is
disabled, the system changes to the non-axis selection state.
③ When the external MPG axis selection and gear selection input are enabled, the axis selection
on the panel and the gear selection keys are disabled; when the external MPG axis selection and
gear selection input are disabled, the axis selection on the panel and the gear selection keys are
enabled and self-locked.
④ When the dual-MPG is enabled, which can be selected the dual-MPG controllable mode by

parameters K20.1 and K20.0.


⑤ When K20.1=0 K20.0=1, MPG 1 fixes the controllable X axis, MPG 2 fixes the controllable Z
Connection

axis; the step-length values of two MPGs are identical, which can be adjusted by step-length on
the panel or external step-length input signal.
⑥ When K20.1=1 K20.0=0, the panel MPG axis selection or step-length button only can be
controlled the MPG 1, and the external MPG input signal can be controlled the MPG 2.

2.9.23 Tri-color Lamp


z Relevant signals and function definition (standard PLC program)
Signal Signal
Sign Address Function
type interface
Yellow— normal state (non-running,
CLPY CN62.31 Y2.2
Output non-alarm state)
signal CLPG CN62.32 Y2.3 Green—running state
CLPR CN62.33 Y2.4 Red—alarm state

424
Chapter 2 Definition and Connection of Interface Signal

2.9.24 Extended M Function


z Relevant signals(standard PLC program)
Signal interface Address Address characters Function
CN62.40 Y3.3 EMOT1 Extended M function signal 1
CN62.41 Y3.4 EMOT2 Extended M function signal 2

z Relevant commands
M34 Extended M function signal 1(EMOT1)outputs
M35 Extended M function signal 1(EMOT1)closes output
M36 Extended M function signal 2(EMOT2)outputs
M37 Extended M function signal 2(EMOT2)closes output
z Control parameters
PLC parameters
K 1 8 EXTM RSTM
EXTM =0:extended M function is invalid.
=1:extended M function is valid.
RSTM =0:extended M function closes output when emergency stop, reset.
=1:extended M function remains output when emergency stop, reset.
z Function explanation
1. When M34 is executed, extended M function 1 (EMOT1) outputs; when M35 is done, its output is
closed.
2. When M36 is executed, extended M function 2 (EMOT2) outputs; when M37 is done, its output is
closed.
3. Whether extended M function output is closed is set by K18.6 when emergency stop, reset.


2.9.25 HOLD Control

Connection
z Relevant signals(standard PLC program)
Signal Address Address Function
interface characters
CN62.03 Y0.2 HOLD HOLD release output

z Control parameter
PLC state parameter
K 1 8 HOLD
HOLD =0:HOLD release control is invalid.
=1:HOLD release control is valid.
z Function
1. After power-on, there is no emergency stop alarm or servo spindle alarm and the system delays 4S,
HOLD signal is output to release HOLD.
2. HOLD signal is closed when an emergency stop alarm or servo spindle alarm occurs.

425
GSK980TDi Turning CNC System User Manual

2.9.26 Handle Interrupt


z Control parameters
PLC Status parameters
K 1 9 HDFD
HDFD =0: MPG interruption function is disabled in the process of the operation.
=1: MPG interruption function is enabled in the process of the operation.

MPG
0 1 2
interruption
Bit1 1:Handle interrupt is valid;
0:Handle interrupt is invalid。
z Function description
1. When the MPG interruption function is enabled, in the Edit/Auto/MDI mode, enter the MPG

interruption state by the MPG axis number on the selection panel after pressing the once,
the MPG interruption operation is then can be performed. The MPG interruption can be retracted
by pressing this button again.
2. In the Non-Edit/Auto/MDI mode, the MPG interruption state will be retreated.
3. Whether the MPG interruption is enabled that can be set by K19.5 during the operation of the
program.
4. The panel rapid traverse override can not be adjusted at the state of MPG interruption; the indicator
displays the MPG override state when the MPG override adjustment is enabled.

2.9.27 Chip-Removal Control


z

Relative signals
Signal Signal
Connection

Symbol Address Function description Remark


type interface
Signal CHRO+ CN62.43 Y3.6 Chip-removal CW (positive)
output CHRO- CN62.44 Y3.7 Chip-removal CCW (negative)
Command M38 Chip-removal CW (positive)
format M39 Chip-removal stop

z Relevant parameters
PLCStatus parameters
K 1 3 CHIPR
CHIPR =1: Chip-removal control enabled.
=0: Chip-removal control disabled.
z Function description
1. The reverse rotation of the chip-removal only can be performed the JOG by hand. If the
chip-removal is being rotated, firstly stop the positive rotation when the JOG reverse is performed.
2. When the chip-removal is positively rotated, press the chip-removal positive rotation by hand again,
and then it is closed.
3. Close the chip-removal rotation in the ESP resetting.

426
Chapter 2 Definition and Connection of Interface Signal

2.9.28 Working Indicator


z Relative signals
Signal Signal
Symbol Address Function description Remark
type interface
Output Working indicator
WKLP CN62.39 Y3.2
signal output
z Relevant parameters
PLCStatus parameters
K 1 3 WKLP
WKLP =1: Working indicator control enabled.
=0: Working indicator control disabled.
z Function description

The working indicator outputs pressing once; it closes by pressing it again.

2.9.29 Gear/tool Number Display


z Signal diagnosis
Y0025 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0
Corresponding LED1 LED1 LED1 LED1 LED0 LED0 LED0 LED0
3 2 1 1
BCD code 2 2 2 20
2
3
2
2 2 20
LED 0 displays the current tool number, BIT0~BIT3 of PLC diagnosis number Y25 are BCD code
of the current tool number; LED 1 displays the gear of the current spindle, BIT4~BIT7 of PLC
diagnosis number Y25 are BCD code of the current spindle gear and is shown below:


Connection
z Function description
① When the tool count is less than 10, the gear and the tool number separately use one LED to
display.
② When the tool count is more than 10, LED 1 displays 10-digit numbers and the LED 0
displays the single digits.
③ When the gear and the tool number are displayed in time-division, that is, the gear instead of
the tool number is firstly display, the tool number instead of the gear is displayed after 1.5S, and the
system executes them like the above cycle.

2.10 Commonly Use Sign of Electricity Drawing


GSK980TDi DC24V power supply and the electromagnetic valve with power working current
separately use DC24V, and the electronic component explanations are as follows:

427
GSK980TDi Turning CNC System User Manual

Name Sign Graph Name Sign Graph


Air breaker QF Contactor coil KM
contact and auxiliary
contact
transformer TC Heat relay and FR
contact
Rectifier VC Capacity C

Motor M Resistant R

Diode VD Hall switch

Electromagnetic YV Travel switch SQ


coil
Relay coil and KA Veneer socket
contact Pedal switch SA

Fuse FU

Connection

428
Chapter 3 Parameters

CHAPTER 3 PARAMETERS
The CNC bit and data parameters are described in this chapter, various functions can be set by
these parameters. The major parameter data type are listed as follows:
Data type Range
(1) Bit

(2) Bit axis 8 bit, 0 or 1

(3) Bit spindle


(4) Word

See relevant
(5) Word axis
parameters for
details
(6) Word spindle

Note: if the data type is not specified, the type is bit or word.

3.1 Parameter Description (by Sequence)


3.1.1 Bit Parameter
The state parameter is expressed as follows:


Parameter No. BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0

Connection
0 0 1 *** *** *** ACS MPG PROG ISC INI
Bit4 1: Spindle analog voltage control
0: Spindle switching volume control
Bit3 1: MPG mode
0: Step mode
Bit2 1: Programming by radius
0: Programming by diameter
Bit1 1: IS-C incremental system
0: IS-B incremental system
Least input increment,
Increment system Abbreviation
least command increment
0 0.001mm,0.0001inch IS-B
1 0.0001mm, 0.00001inch IS-C
Bit0 1: Inch input
0: Metric input

0 0 2 CLK *** *** LIFJ MDITL LIFC TNRC TLIF

429
GSK980TDi Turning CNC System User Manual

Bit7 1: Show clock


0: Conceal clock
Bit4 1: Tool life management group skip active
0: Tool life management group skip inactive
Bit3 1: Tool life management active in MDI mode
0: Tool life management inactive in MDI mode
Bit2 1: Tool life counting type 2, by times
0: Tool life counting type 1, by times
Bit1 1: Tool nose radius offset active
0: Tool nose radius offset inactive
Bit0 1: Tool life management active
0: Tool life management inactive

0 0 3 HTCHG *** PCOMP TCOMP CDCOMP *** *** OIM


Bit7 1: High efficiency tool-change function enabled
0: High efficiency tool-change function disabled
Bit5 1: Pitch error offset active
0: Pitch error offset inactive
Bit4 1: Tool offset by coordinate offset
0: Tool offset by move
Bit3 1: Tool compensated by the shift of coordinate system do not memorize the unexecuted tool
compensation
0: Tool compensated by the shift of coordinate system memorize the unexecuted tool
compensation
Bit0 1: Offset automatically change in metric and inch conversion
0: Offset not change in metric and inch conversion

0 0 4 ABOT RDRN DECI ORC *** *** PROD SCW


Connection

Bit7 1: do not memorize absolute coordinate in power-down


0: memorize the absolute coordinate in power-down
Bit6 1: G00 is rapid traverse speed in dry run mode
0: G00 is manual feedrate in dry run mode
Bit5 1: DEC signal is high level for machine zero return
0: DEC signal is low level for machine zero return
Bit4 1: Tool offset by radius
0: Tool offset by diameter
Bit1 1: Relative position for programming in POSITION page
0: Relative position involving offset in POSITION page
Bit0 1: Inch system for min. code unit, active after repowering
0: Metric system for min. code unit, active after repowering

0 0 5 *** *** SMAL M30 *** POSRE PPD PCMD


Bit 5 1: Manual spindle gear change during the execution of S code;
0: Automatic spindle gear change during the execution of S code;
Bit 4 1: Cursor returns to the head of the program after the execution of M30;
0: Cursor does not return to the head of the program after the execution of M30;

430
Chapter 3 Parameters

Bit 2: 1: Position recording signal PRC is used during tool setting;


0: Position recording signal PRC is not used during tool setting;
Bit 1: 1: G50 sets relative coordinate value;
0: G50 does not set relative coordinate value;
Bit 0: 1: Axial output wave is pulse;
0: Axial output wave is square;

0 0 6 *** *** *** ZM5 ZM4 ZMY ZMZ ZMX


th th
Bit4~Bit0 1: 5 , 4 , Y, Z, X zero return type C
0: 5th, 4th, Y, Z, X zero return type B

0 0 7 DISP SMZ *** ZC5 ZC4 ZCY ZCZ ZCX


Bit7 1: Enter ABSOLUTE POS page after power on
0: Enter RELATIVE POS page after power on
Bit6 1: Execute the next block after all motion block exactly are executed to the in-position
0: Smooth transition between two blocks
Bit4~Bit0 1: In machine zero return, 5th, 4th, Y, Z, X deceleration signal (DEC5~DEC1) and
one-revolution signal (PC5~PC1) are parallel(use one proximity switch as the deceleration
signal and zero signal)
0: In machine zero return, 5th, 4th, Y, Z, X deceleration (DEC5~DEC1) and one-revolution
signal (PC5~PC1) is separately connected (need the separate deceleration signal and zero
signal)
Note: In the zero-return B method; when it is set to 0 and connected independently, it is necessary to detect the
PC signal after releasing the block during the zero-return; when it is set to 1 and connected in parallel, the PC signal
detects with block after the pressing block decelerates to zero during the zero-return method.

0 0 8 *** *** *** DIR5 DIR4 DIRY DIRZ DIRX


th th
Bit4~Bit0 1: The motor’s rotation diretion of the 5 , 4 , Y, Z and X axes are positive;

Connection
0: The motor’s rotation diretion of the 5th, 4th, Y, Z and X axes are negative;
Note: The movement direction of the machine tool is inconsistent with the actual direction,
which can be modified by adjusting this parameter.
0 0 9 *** *** *** 5ALM 4ALM YALM ZALM XALM
th th
Bit4~Bit0 1: Servo not ready alarm without detection of the 5 , 4 , Y, Z or X axis.
0: Servo not ready alarm detection of the 5th, 4th, Y, Z or X axis.

0 1 0 *** *** *** CPF5 CPF4 CPF3 CPF2 CPF1


Bit0~ Bit4: Pulse frequency setting values of backlash offset (by BCD code)
The set frequency =(setting value+1) Kpps
Set frequency
CPF5 CPF4 CPF3 CPF2 CPF1
(Kpps)
0 0 0 0 0 1
0 0 0 0 1 2
0 0 0 1 0 3
0 0 0 1 1 4
0 0 1 0 0 5

431
GSK980TDi Turning CNC System User Manual

0 0 1 0 1 6
0 0 1 1 0 7
0 0 1 1 1 8
0 1 0 0 0 9
0 1 0 0 1 10
0 1 0 1 0 11
0 1 0 1 1 12
0 1 1 0 0 13
0 1 1 0 1 14
0 1 1 1 0 15
0 1 1 1 1 16
1 0 0 0 0 17
1 0 0 0 1 18
1 0 0 1 0 19
1 0 0 1 1 20
1 0 1 0 0 21
1 0 1 0 1 22
1 0 1 1 0 23
1 0 1 1 1 24
1 1 0 0 0 25
1 1 0 0 1 26
1 1 0 1 0 27
1 1 0 1 1 28
1 1 1 0 0 29
1 1 1 0 1 30
1 1 1 1 0 31

1 1 1 1 1 32
Connection

0 1 1 BDEC BD8 *** *** NORF ZNIK REFC2 ***


Bit7 1: Backlash offset type B, the offset data are output by ascending or descending type and the
set frequency is inactive;
0: Backlash offset type A, the offset data are output by the set frequency (by bit parameter
No.010) or 1/8 of it.
Bit6 1: Backlash offset is done by the 1/8 of the set frequency
0: Backlash offset is done by the set frequency
Bit3 1: Manual machine zero return inactive
0: Manual machine zero return active
Bit2 1: Direction key locked during zero return, homing continues to end by pressing direction key
once;
0: Direction key unlocked, which is held on during zero return
Bit1 1: Ref.C mode, the feeding slowdown when pressing down switch, reverse after decelerating to
zero.
0: Ref.C mode, the feeding slowdown when releasing the switch, reverse after decelerating to
zero.

432
Chapter 3 Parameters

0 1 2 APRS WSFT DOFSI *** EAL *** HDINT ISOT


Bit7 1: Automatic ABSOLUTE set after reference return,;
0: ABSOLUTE not automatically set after reference return
Bit6 1: Workpiece coordinate offset active, defined by offset No.000
0: Workpiece coordinate offset inactive
Bit5 1: Trial tool setting active
0: Trial tool setting inactive
Bit3 1: Program editing allowed during CNC alarming
0: Program editing unallowed during CNC alarming
Bit1 1:Handle interrupt is valid (power on)
0:Handle interrupt is invalid (power on)
Bit0 1: Prior to machine zero return after power on, manual rapid traverse active
0: Prior to machine zero return after power on, manual rapid traverse inactive

0 1 3 RTH RPH *** HW5 HW4 HWY HWZ HWX


Bit7 1: When system reset, the handle interrupt move amount is cancelled
0: When system reset, the handle interrupt move amount is not cancelled
Bit6 1: When MPG feedrate exceeds the rapid movement speed,the exceeding part is not ignored
and saved in CNC
0: When MPG feedrate exceeds the rapid movement speed,the exceeding part is ignored
and saved in CNC
Bit4~Bit0 1: Coordinates increase in 5th, 4th, Y, Z or X MPG (CCW) rotation
0: Coordinates increase in 5th, 4th, Y, Z or X MPG (CW) rotation

0 1 4 *** *** *** ZRS5 ZRS4 ZRSY ZRSZ ZRSX


Bit 4, Bit3, Bit2, Bit1, Bit0


1: 5th, 4th, Y, Z, X have the machine zeroes. The system needs to check the deceleration signal
and zero signal in executing the machine zero return

Connection
0: 5th, 4th, Y, Z, X have no machine zeroes. The system does not check the deceleration signal
and zero signal till it returns to the zero of machine coordinate in executing the machine zero return

0 1 7 SCRD *** RSCD *** TSD QNI TSL TS1


Bit7 1:Coordinate system is stored before power-off;
0: Coordinate system is not stored before power-off; the default system is set by G54 after
power-on;
Bit5 1: Coordinate system is set by G54 after reset;
0: Coordinate system is not changed after reset;
Bit3 1: Movement direction discrimination is valid during offset measurement 4 point input;
0: Movement direction discrimination is invalid during offset measurement 4 point input;
Bit2 1: Tool offset number is set through G signal;
0: Tool offset number is set through the current cursor;
Bit1 1 Tool offset measurement detection signal is valid at low level;
0: Tool offset measurement detection signal is valid at high level;
Bit0 1:Tool offset automatic measurement detection signal 1 point input;
0: Tool offset automatic measurement detection signal 4-point input;

433
GSK980TDi Turning CNC System User Manual

1 7 2 *** MST MSP MOT ESP *** LZR MOTDEC


Bit6 1: External cycle start signal (ST) inactive)
0: External cycle start signal (ST) active
Bit5 1: External SP signal inactive
0: External SP signal active with external dwell switch needed, otherwise CNC shows
“Pause”.
Bit4 1: Not detect software stroke limit
0: Detect software stroke limit
Bit3 1: Emergency stop inactive
0: Emergency stop active
Bit1 1: Software limit is inactive after power-on and before machine zero return;
0: Software limit is active after power-on and before machine zero return;
Bit0 1: When Arriving stored travel position, CNC is stopped slowly
0: When Arriving stored travel position, CNC is stopped immediately

1 7 4 PARTSET *** TRPMO TRP KEY1 THDTLM THDA CKSPD


D OD
Bit7 1:Continue to run part program while current machining workpiece counts reach to max.
counts.and machining workpiece counts accumulate
0:Continue to run part program while current machining workpiece counts reach to max.
counts.and machining workpiece counts restart
Bit5 1:Screw repair mode use follow the spindle with encoder
0:Screw repair mode use interpolation with servo spindle
Bit4 1:Thread repair function is valid
0:Thread repair function is invalid
Bit3 1: Program switch ON at power on

0: Program switch OFF at power on


Bit2 1:Thread tailing mode tailling according angle;
Connection

0:Thread tailing mode rapid tailing.


Bit1 1:Thread cut is exp. acc&dec
0:Thread cut is lin. acc&dec
Bit0 1:Whether detect the spindle speed is too slow in thread cutting don't detect\
0:Whether detect the spindle speed is too slow in thread cutting do detect

1 7 5 SPFD SAR THDA VAL5 VAL4 VALY VALZ VALX


Bit7 1: In cutting feed, do not permit the spindle stopping rotation; the spindle stops, the feed also
stops when the system appears No.404 alarm cutting
0: In cutting feed, permit the spindle stops rotation; the spindle stops rotation, but the feed
does not stop
Bit6 1: Detect spindle SAR signal prior to cutting
0: Not detect spindle SAR signal prior to cutting
Bit5 1: Thread machining is the exponential acceleration/deceleration
0: Thread machining is the linear acceleration/deceleration

Bit4 1: 5th movement key is positive, is negative

0: 5th movement key is positive, is negative

434
Chapter 3 Parameters

Bit3 1: 4th movement key is positive, is negative

0: 4th movement key is positive, is negative

Bit2 1: Y movement key is positive, is negative

0: Y movement key is positive, is negative

Bit1 1: Z movement key is positive, is negative

0: Z movement key is positive, is negative

Bit0 1: X movement key is positive, is negative

0: X movement key is positive, is negative

1 8 0 NAT *** *** *** DISPC CUSTOM MLKEY SPOS


Bit7 1: Function ATAN, ASIN range is 90.0~270.0;
0: Function ATAN, ASIN range is -90.0~90.0
Bit3 1:Boot dispaly if custom page setted to display custom page
0:Boot dispaly if custom page setted to display fault page
Bit2 1:Display custom page display
0:Display custom page hide
Bit1 1:Multi-letter key input mode shift mode only\
0:Multi-letter key input mode repeat keystroke or shift mode
Bit0 1: DIS TO GO displayed in POS&PRG page
0: RELATIVE POS displayed in POS&PRG page


Connection
1 8 1 RLC MRC ZCL CLMDI MCL M30&MDI DDP LCNMD
Bit7 1: G52 local coordinate system is cancelled after reset;
0: G52 local coordinate system is not cancelled after reset;
Bit6 1: G52 local coordinate system is cancelled after the execution of M30, M02;
0: G52 local coordinate system is not cancelled after the execution of M30, M02;
Bit5 1: G52 local coordinate system is cancelled after reference point return;
0: G52 local coordinate system is not cancelled after reference point return;
Bit4 1:When system reset,the program block of MDI are deleted
0:When system reset,the program block of MDI are not deleted
Bit3 1: Blocks edited in MDI mode are deleted after reset;
0: Block edited in MDI mode are not deleted after reset;
Bit2 1:After the execution of M02, M30,the program block of MDI are not deleted
0:After the execution of M02, M30,the program block of MDI are deleted
Bit1 1:The angle in CHF/CNR measurement-programe-inputing function was specified by
Supplementary one
0:The angle in CHF/CNR measurement-programe-inputing function was specified by Nornal
format
Bit0 1: In linear chamfering, L means the length between chamfering point and cross point;
0: In linear chamfering, L means the length of chamfering;

435
GSK980TDi Turning CNC System User Manual

1 8 3 *** *** *** MZR5 MZR4 MZRY MZRZ MARX

Bit4 1: for 5th, press key to execute the machine zero return

0:for 5th, press key to execute the machine zero return

Bit3 1: for 4th, press to execute the machine zero return

0: for 4th, press to execute the machine zero return

Bit2 1: for Y, press to execute the machine zero return

0: for Y, press to execute the machine zero return

Bit1 1:for Z, press to execute the machine zero return

0: for Z, press to execute the machine zero return

Bit0 1: for X, press to execute the machine zero return

0: for X, press to execute the machine zero return

1 8 4 *** *** *** *** *** L2 L1 L0


Bit0, Bit1, Bit2: Language selection:
Language Bit2 Bit1 Bit0
Chinese 0 0 0
English 0 0 1
Portuguese 0 1 0
Spanish 0 1 1

Russian 1 1 0
Connection

1 8 5 SK0 SKF AEO *** *** *** PRPD PLA


Bit7 1: Skip input active as G31 signal is 0
0: Skip input active as G31 signal is 1
Bit6 1: Feedrate override per minute or dry run active for G31
0: Feedrate override per minute or dry run inactive for G31
Bit5 1: Input active if G36, G37 (XAE, ZAE) signal is 0
0: Input active if G36, G37 (XAE, ZAE) signal is 1
Bit1 1: Axis rapid traverse rate of PLC by input value
0: Axis rapid traverse rate of PLC by parameter value (X axis: No.022;Z axis:No.023;Y
axis:No.134)
Bit0 1: PLC axis control active, active after repowering
0: PLC axis control inactive, active after repowering
1 8 6 RTORI SRS *** *** *** RTCRG *** ***
Bit7 1: In executing M29, the spindle executes the machine zero return
0: In executing M29, the spindle does not execute the machine zero return
Bit6 1: The spindle selection signal is RGTSPn in the multiple spindle rigid tapping
0: The spindle selection signal is SWSn in the multiple spindle rigid tapping

436
Chapter 3 Parameters

Bit2 1: In rigid tapping cancel, do not wait for G61.0 to be 0 in executing the next block
0: In rigid tapping cancel, wait for G61.0 to be 0 in executing the next block

1 8 7 IS1 IS0 *** *** *** ROS ROT


[Data type]:Bit axis
BIT7, BIT6:set increment system of each axis.00:accordance with increment system of the system.
01:IS-A,10:IS-B;11:IS-C。
Bit1, Bit0 : 00: set the additional axis to the linear axis; 01: set the additional axis to the rotary axis
(A type);11: set the additional axis to the rotary axis (B type); 10: set the additional
axis to be invalid.
Note: The parameter is invalid to setting of X, Z axis.

1 8 8 RFCK RRT *** *** *** RRL RAB ROA


[Data type]:bit axis
Bit7 1:G28 running every time to check the PC signal
0:G28 running only first to check the PC signal
Bit6 1:Zero return D mode is used when the additional axis is a rotary axis;
0:Zero return A, B, C mode is used when the additional axis is a rotary axis (power-on
again).
Bit2 1:The relative coordinate cycle function is valid when the additional axis is rotary;
0:The relative coordinate cycle function is invalid when the additional axis is rotary(power-on
again).
Bit1 1:The rotation direction is based on that of sign when the additional axis is rotary;
0:The rotation direction is based on the nearby principle when the additional axis is rotary.
Bit0 1:The absolute coordinate cycle function is valid when the additional axis is rotary;
0:The absolute coordinate cycle function is invalid when the additional axis is rotary


(power-on again).
Note: The parameter is invalid to setting of X, Z axis.

Connection
1 8 9 CTS *** APC APZ *** *** *** ***
[Data type]:Bit axis
Bit7 1:Each servo axis didn’t connect servo drive , it is necessary to restart;
0:Each servo axis connected servo drive , it is necessary to restart.
Bit5 1:The used encoder type of each axis is absolute encoder;
0:The used encoder type of each axis is incremental encoder。
Bit4 1:When each axis matches with an absolute encoder, the mechanical position and absolute
one are shown consistent;
0:When each axis matches with an absolute encoder, the mechanical position and absolute
one are shown inconsistent.

1 9 0 *** *** *** *** LT3 LT2 *** ***


[Data type]:Bit axis
Bit3 1:Whether each axis detects the stroke 3 in memory type detect;
0:Whether each axis detects the stroke 3 in memory type is not detect.
Bit2 1:Whether each axis detects the stroke 2 in memory type detect;
0:Whether each axis detects the stroke 2 in memory type detect.

437
GSK980TDi Turning CNC System User Manual

1 9 5 SSPD PLCS *** *** RPOS SRV CSREF RCS


Bit7 1:series spindle controllable function enabled (series spindle The slave ID number of the
spindle 1~3 is 11~13) , it is necessary to restart;
0: Series spindle controllable function disabled (analogy spindle), it is necessary to restart.
Bit6 1:PLC spindle rotation speed function of each axis enabled;
0:PLC spindle rotation speed function of each axis disabled。
Bit3 1:Spindle position function is valid (When it is enabled, the spindle will perform mechanical
releasing/clamping interlocking operation before/after positioning);
0:Spindle position function is invalid.
Bit2 1:Servo motor spindle function is valid ,power on;
0:Servo motor spindle function is invalid ,power on。
Bit1 1: Change to position mode,the axis do return REF.
0: Change to position mode, the axis doesn’t return REF.
Bit0 1: Cs function of spindle valid ,power on
0: Cs function of spindle is: invalid, power on

1 9 6 *** *** *** MSEN *** *** *** ***


Bit4 1: The multiple spindle control is enabled
0: The multiple spindle control is disabled
2 0 1 SNTP *** *** ECN HBR ERV *** ***
Bit7 1:Synchronization mode follow
0:Synchronization mode interpolation
Bi4 1:Whether the G81 synchronization command can be specified in the synchronization
process allow
0:Whether the G81 synchronization command can be specified in the synchronization
process prohibition

Bit3 1:The system resets in the synchronization process reserve the synchronized control
Connection

0:The system resets in the synchronization process cancel the synchronization control
Bit2 1:In the synchronization procedure,in the G99 feed per revolution use the theoretical
revolving speed of workpiece\
0:In the synchronization procedure,in the G99 feed per revolution use the encoder feedback
revolving speed

CTHDN EXTRA
2 0 2 AAC *** *** AOT *** ***
OENC IO
Bit7 1:Circular screw interpolation adopts C axis interpolation mode.
0:Circular screw interpolation adopts follow spindle mode..
Bit6 1:Slope axis control enabled
0:Slope axis control disabled
Bit3 1:The soft-limit parameter of the slope axis sets to 0/1 when its axis control is enabled the
coordinate value under the rectangular coordinate system\
0:The soft-limit parameter of the slope axis sets to 0/1 when its axis control is enabled the
coordinate value under the slope coordinate system.
Bit0 1:Extended I/O unit linked is valid
0:Extended I/O unit linked is invalid\

438
Chapter 3 Parameters

2 5 0 *** *** *** *** *** *** VERI GSKLINK


Bit1 1:System GSKLINK bus communication CRC verification enabled
0:System GSKLINK bus communication CRC verification disabled
Bit0 1: Whether the system GSKLINK bus connection is enabled
0: Whether the system GSKLINK bus connection is disabled

3.1.2 Data Parameter


0 1 5 CMRn
[Data type] Word axis
[Data meaning]Pulse frequency multiplication coefficient
[Data range] 1~99999999
0 1 6 CMDn
[Data type] Word axis
[Data meaning]Pulse frequency division coefficient;
[Data range] 1~99999999
CMR 4 * C * δ Z M
Explanation: Formula of electric gear ratio: = *
CMD L ZD
δ: Least command increment;
ZM: Teeth number of pulley on leading screw side;
C: Motor encoder line number;
ZD Teeth number of pulley on motor side;
L: Screw lead

0 1 9 THDCH


[Data meaning] Run-out length in threading

Connection
[Data range] 0~225
Thread run-out width= THDCH×0.1×screw lead

0 2 1 PSANGNT
[Data type] Word spindle
[Data meaning]Voltage offset value when spindle max. speed analog voltage output is 10V
[Data unit] mV
[Data range] -2000~2000(Unit: mV)

0 2 2 RPDFn
[Data type] Word axis
[Data meaning]Maximum rapid traverse rate of all axes
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 10~99999999

439
GSK980TDi Turning CNC System User Manual

0 2 3 LINTn
[Data type] Word axis
[Data meaning] Acceleration/deceleration time constant of each axis during rapid traverse
[Data unit] ms
[Data range] 0~4000

0 2 6 THRDT
[Data meaning]ACC&DEC time constant of short axis in thread run-out
[Data unit] ms
[Data range] 0~4000

0 2 7 FEDMX
Data meaning] Upper limits of axis cutting feed
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 10~30000 10~30000
Inch machine 5~11600 10~11600

0 2 8 THDFL
[Data meaning] X, Z initial speed in threading (mm/min)

[Data unit]
Connection

Setting unit Data unit


Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric
6~8000 6~8000
machine
Inch machine 3~3000 3~3000

0 2 9 FEEDT
[Data meaning] Exponential ACC&DEC time constant of cutting and manual feed
[Data unit] ms
[Data range] 0~4000

0 3 0 FEDFL
[Data meaning] Exponential acceleration start speed and deceleration end speed in cutting
feed
[Data unit]

440
Chapter 3 Parameters

Setting unit Data unit


Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C
Metric machine 0~8000 0~8000
Inch machine 0~3000 0~3000

0 3 1 JOGSPEED
[Data meaning] the set speed when the manual feedrate override is 100%
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range] 10~30000

0 3 2 RPDFLn
[Data type] Word axis
[Data meaning] Rapid traverse rate as axis rapid override is F0
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]
IS-B IS-C


Metric machine 0~4000 0~4000

Connection
Inch machine 0~1500 0~1500

0 3 3 ZRNFLn
[Data type] Word axis
[Data meaning] Low rate as axes return to machine zero
[Data unit]
Setting unit Data unit
Metric machine mm/min
Inch machine 0.1inch/min
[Data range]

IS-B IS-C
Metric machine 6~4000 6~4000
Inch machine 3~1500 3~1500

0 3 4 BKLn
[Data type] Word axis

441

You might also like