Download as pdf or txt
Download as pdf or txt
You are on page 1of 151

This user manual describes all particulars concerning the operation of

the system in detail as much as possible. However, it is impractical to


give special descriptions of all unnecessary and/or unavailable
operations of the system due to the manual content limit, product
specific operations and other causes. Therefore, the operations not
specified herein may be considered impractical or unavailable.

This user manual is the property of GSK CNC Equipment Co., Ltd. All
rights are reserved. It is against the law for any organization or
individual to publish or reprint this manual without the express written
permission of GSK and the latter reserves the right to ascertain their
legal liability.
GSK983T Turning CNC system User Manual

Foreword
Dear user,
We are really grateful for your patronage and purchase of this GSK983T Turning
CNC system made by GSK CNC Equipment Co., Ltd.

This user manual includes Volume Ⅰ and Volume Ⅱ , Volume Ⅰ


mainly decribes the system programming and specifications, Volume Ⅱ
mainly decribes operations, codes, parameters etc. as well as
appendix.(This book is Volume Ⅱ.)

This system can only be operated by authorized and qualified personnel as


improper operations may cause accidents. Please carefully read this user
manual before usage!

All specifications and designs herein are subject to change without further notice.

This manual should be reserved by final user.

Chinese version of all technical documents in Chinese and English languages is


regarded as final.

We are full of heartfelt gratitude to you for supporting us in the use of GSK’s
products.

Technical Spot Service

You can ask for spot service if you have the problems that can’t be solved by
telephone. We will send the authorized engineers to your place to resolve the
technological problems for you.

II
Volume Ⅱ Contents

CONTENTS
CHAPTER 4 OPERATION ........................................................................................................................... 1
4.1 Power On/Off......................................................................................................................................1
4.1.1 Power on .................................................................................................................................1
4.1.2 Power off .................................................................................................................................1
4.2 Key switch ...........................................................................................................................................1
4.3 Control Operations on Panel.............................................................................................................2
4.3.1 Operation panel......................................................................................................................3
4.3.2 Emergency stop .....................................................................................................................3
4.3.3 Mode selection .......................................................................................................................3
4.3.4 Operations related with manual operation .........................................................................4
4.3.4.1 Continuous Manual feed................................................................................................ 4
4.3.4.2 MPG .............................................................................................................................. 5
4.3.4.3 MANUAL ABSOLUTE ON/OFF................................................................................. 6
4.3.5 Manually returning to reference point ...............................................................................11
4.3.6 Operations on automatic running ......................................................................................11
4.3.6.1 Start of automatic running ............................................................................................11
4.3.6.2 Dwell of automatic running......................................................................................... 12
4.3.6.3 Single block................................................................................................................. 13
4.3.6.4 Restart after feed hold or stop...................................................................................... 14
4.3.6.5 Manual operations in auto running.............................................................................. 14
4.3.6.6 MDI operations in auto running .................................................................................. 15
4.3.6.7 Skipping over optional blocks ..................................................................................... 15
4.3.6.8 Feedrate override ......................................................................................................... 16
4.3.6.9 Dry run ........................................................................................................................ 16
4.3.6.10 Machine Lock............................................................................................................ 16
4.3.6.11 Auxiliary Lock........................................................................................................... 17
4.3.6.12 Rapid Override .......................................................................................................... 17
4.3.7 MPG Interruption..................................................................................................................18
4.3.7.1 Summary ..................................................................................................................... 18
4.3.7.2 MPG (manual pulse generator) interruption................................................................ 18
4.3.7.3 Movement of manual insertion.................................................................................... 18
4.3.8 Manual spindle function ......................................................................................................19
4.3.9 Interlocking switch of spindle feed axis ............................................................................20
4.3.10 Manual miscellaneous function .......................................................................................21
4.4 Operations and Display on MDI/LCD Panel ....................................................................................22
4.4.1 Status display .......................................................................................................................26
4.4.2 Keys input display................................................................................................................26
4.4.3 Display of program number and sequence numbers .....................................................27
4.4.4 Alarm display (functional key ALARM ) .........................................................................27
4.4.5 Operation information..........................................................................................................28
4.4.6 Current position display and reset (functional key POSITION ) ................................28
4.4.7 Display of command value (functional key COMMAND ) ...........................................30
4.4.8 Setting (functional key SETTING ) .................................................................................31
4.4.8.1 Display and setting of input, output, etc...................................................................... 31
4.4.8.2 Display and setting of user macro program variables ................................................. 33
4.4.9 MDI operation (functional key COMMAND ).................................................................34
4.4.10 MDI start and running .......................................................................................................35
4.4.11 Reset ...................................................................................................................................36
4.4.12 Setting and display of the tool offset, tool nose radius compenstation (functional key
offset )..............................................................................................................................................36
4.4.12.1 Absolute input ........................................................................................................... 36
4.4.12.2 Incremental input....................................................................................................... 38
4.4.12.3 Setting of tool figure and wear offset ........................................................................ 38
4.4.12.4 Offset of the workpiece coordinate system................................................................ 39
4.4.12.5 Direct measured value input of workpiece coordinate system offsetting .................. 41
4.4.12.6 Direct input of the tool offset .................................................................................... 42

III
GSK983T Turning CNC System User Manual

4.4.12.7 Offset input by counter (optional).............................................................................. 43


4.4.13 Program display (functional key PROGRAM )........................................................... 44
4.4.14 Program number search (functional key PROGRAM )............................................. 45
4.4.15 Program input .................................................................................................................... 46
4.4.16 Deletion of a program (functional key PROGRAM ) ................................................. 47
4.4.17 Deletion of all programs (functional key PROGRAM ) ............................................. 47
4.4.18 Sequence number search (functional key PROGRAM ).......................................... 47
4.4.19 Restart of a program......................................................................................................... 49
4.4.20 Comparison and Stop function for sequence number ................................................. 51
4.4.21 Display of parameters (functional key PARAMETER ) ............................................ 52
4.4.22 Program edit (functional key PROGRAM )................................................................. 52
4.4.22.1 Word scanning ........................................................................................................... 52
4.4.22.2 Word search ............................................................................................................... 53
4.4.22.3 Address search ........................................................................................................... 53
4.4.22.4 Methods for returning to the beginning of a program................................................ 53
4.4.22.5 Word insertion (active when the program lock is ON) .............................................. 54
4.4.22.6 Word alteration (active when the program lock is ON) ............................................. 54
4.4.22.7 Insertion or alteration of words, blocks and strings ................................................... 54
4.4.22.8 Word deletion (active when the program lock is OFF).............................................. 55
4.4.22.9 The deletion till EOB(active when the program lock is ON)..................................... 55
4.4.22.10 Deletion of blocks (active when the program lock is ON)....................................... 55
4.4.22.11 Memory sorting........................................................................................................ 55
4.4.22.12 Display of all stored program numbers.................................................................... 56
4.4.22.13 Edit of user macro program ..................................................................................... 56
4.4.23 Display of running time..................................................................................................... 57
4.4.24 Menu switch function ........................................................................................................ 58
4.4.25 Graphic function ............................................................................................................... 59
4.4.25.1 Function introduction................................................................................................. 59
4.4.25.2 Operations.................................................................................................................. 61
4.5 Display on Position Displayer (Optional) ...................................................................................... 64
Appendix 1 Codes for Programming ..................................................................................................... 65
Appendix 2 G Codes List .......................................................................................................................... 66
Appendix 3 Range of Command Values ............................................................................................... 68
Appendix 4 Calculation Chart.................................................................................................................. 70
Appendix 5 Parameters ............................................................................................................................. 74
Appendix 6 Alarm List ............................................................................................................................. 120
Appendix 7 State List of Power On Reset&Clearing........................................................................ 126
Appendix 8 Storage Type Pitch Error Compensation Function ................................................... 127
Appendix 9 Operation List...................................................................................................................... 132
Appendix 10 Program Lock.................................................................................................................... 135
Appendix 11 Interruption Function of User Macro Program ......................................................... 137

IV
Volume Ⅱ Chapter 4 Operation

CHAPTER 4 OPERATION

4.1 Power On/Off


4.1.1 Power on
(1) Make sure all parts of the machine are properly wired and secured.

(2) Switch on the machine power by its manual.

(3) Pressing the “POWER ON” button and hold for 1 or 2 seconds, make sure there is display on
the screen after several seconds as switching on the machine power.

4.1.2 Power off


(1) It should be confirmed that the “CYCLE START” LED on the machine operator panel has
been gone out.

(2) All movable parts of the machine has been stopped.

(3) Press down and hold the POWER OFF button for 1 or 2 seconds.

(4) Cut off the power of the machine by following its manual.
Note 1: Never use the keys on the MDI keypad as powering on/off the machine.
Note 2: Power on after power off for 5 seconds。

4.2 Key switch


A key is available in this machine CNC operator panel.

Fig.4-1 Key switch

Some operation functions cannot be performed unless the key switch is actuated.
Operations that can or cannot be performed without actuating the key switch can be set by
parameter 10.6(SETE), which will be described in this chapter.

1
GSK983T Turning CNC System User Manual

4.3 Control Operations on Panel

Fig.4-2 Operation panel

2
Volume Ⅱ Chapter 4 Operation

4.3.1 Operation panel


The functions of the operation panel and the layout of switches on it vary depending on different
machine types, see machine user manual and the PLC manual of corresponding version for the
details.
The typical operation panel is shown in this manual(see the figure in previous page.)

4.3.2 Emergency stop


In an emergency situation, by pressing the EMERGENCY STOP button, the movements of all
the machine axes are stopped immediately. At the same time, the button keep self-locked in the stop
position.

Fig.4-3 Emergency stop

The release of the button varies with different machine manufacturers. Generally, it is released
by rotating the button clockwise.
Note 1: The enable of the motor is cut off when this button is pressed.
Note 2: The control unit is reset.
Note 3: Make sure all faults are eliminated before releasing this button.
Note 4: Perform the reference point return by manual operations or G28 code after this button is released.

4.3.3 Mode selection


Operation modes available:

Fig.4-4 Mode selection

Table 4-1 Mode and Function


Mode Function
(1) For execution of the programs in the memory
AUTO
(2) For the program sequence number search in the memory
For the following program editing:
(1) Saving programs in memory;
EDIT
(2) Altering, inserting and deleting programs;
(3) Outputting the programs in memory.
MDI MDI may be performed through MDI/LCD panel of the machine.
MANUAL For Jog feed
MPG For MPG feed
MACHINE ZERO For X, Z axes zero returns

3
GSK983T Turning CNC System User Manual

4.3.4 Operations related with manual operation


The following manual operations are available by the switches, keys, handwheel etc. on the
panel.

4.3.4.1 Continuous Manual feed


Continuous Manual feed can move the machine.
(1) Select the “Manual” mode;
(2) Select the feederate ( feederate switch is vaiable only when the rapid traverse switch is OFF).

Fig.4-5 Jog federate selection (mm /min )

Table 4-2 Jog federate

Jog feedrate
Switch
position Lead screw for feed in metric system Lead screw for feed in inch system
mm /min Inch /min Inch /min mm /min
0 0 0 0 0
1 1.0 0.04 0.02 0.508
2 1.4 0.055 0.028 0.711
3 2.0 0.079 0.04 1.02
4 2.7 0.106 0.054 1.37
5 3.7 0.146 0.074 1.88
6 5.2 0.205 0.104 2.64
7 7.2 0.283 0.144 3.66
8 10 0.394 0.2 5.08
9 14 0.551 0.28 7.11
10 20 0.787 0.40 10.2
11 27 1.06 0.54 13.7
12 37 1.46 0.74 18.8
13 52 2.05 1.04 26.4
14 72 2.83 1.44 36.6
15 100 3.94 2.00 50.8
16 140 5.51 2.80 71.1
17 200 7.87 4.00 102
18 270 10.6 5.40 137
19 370 14.6 7.40 188
20 520 20.5 10.40 264

Note 1: The numerical values listed in above table vary with different machine builders.
Note 2; The error of the feedrates listed in the above table is approximately ±3%.

4
Volume Ⅱ Chapter 4 Operation

(3) Select the moving axis


Press the direction key corresponding to this axis, the tool moves in the selected direction.

Fig.4-6 Select the moving axis

Note1: Two axes can be controlled simultaneously by Manual operation.


Note2: After power on, if the tool don’t move by the selected axis even the Mode selection is preset to
“MANUAL” position with an axis selected. Now it is necessary to reselect an axis.

(4) Rapid traverse


An axis rapidly traverses in the selected direction when this key is pressed.

Fig.4-7 Rapid traverse

Note 1: The time constant and acceleration/deceleration mode for JOG rapid traverse are the same as
that of by G00 code ( it is set by machine tool manufacturer ).
Note 2: The federate of JOG rapid traverse can be set as 0.25 times ,0.5 times or 1 time of the speed
specified by G00. F0 is set by system parameter NO.113 ( it is set by machine tool
manufacturer ).
Note 3: When the machine has a storage type travel limit selecting function (parameter No.9.0 ISOT ), for
an axis with the function of reference point return, if the [RAPID] key is pressed after power on
or emergency stop, the feedrate will not change into rapid rate but maintain at a Jog feedrate
provided that the reference point return is not performed.
This is because storage type travel limit does not take effect before the manual reference point return,
thereby preventing the machine from quickly reaching the end of travel.

4.3.4.2 MPG
Accurate adjustment for the rate of the machine feed and move can be done with a manual pulse
generator(MPG).
(1) Select the MPG mode;
(2) Select a move amount

5
GSK983T Turning CNC System User Manual

Fig.4-8

Amount of move: X 1 means move is multiplied by 1; while ×10 is by 10; while ×100 is by
100.
Table 4-3 Each step move amount

The move amount each step


Input system
×1 ×10 ×100
Metric system 0.001 mm 0.01 mm 0.1 mm
Inch system 0.0001 inch 0.001 inch 0.01 inch

(3) Select a move axis: press X or Z axis move key (either + or - direction)
(4) Turn the handwheel of the manual pulse generator.
Clockwise……………….+ direction

Counter clockwise………- direction

(The rotating direction depends on the settings of the machine builders)

Note 1; If the MPG rotates at a speed over 5 turns per second, the amount of the rotation of the MPG will
differ from the move distance of the machine. Hence do not rotate the MPG too quickly.
Note 2: Incremental feed function is not required if MPG is fixed on the machine.
Note 3: When ×100 override is selected and the MPG is turned at quick speed to make the tools or work table
move at “rapid traverse” rate, the machine will be subject to impact if it is stopped abruptly. The
selection automatic acceleration/deceleration function is also active for JOG feed, thereby it may
reduce mechanical shock.
Note 4: See section 4.3.7 for the MPG insertion function.

4.3.4.3 MANUAL ABSOLUTE ON/OFF


MANUAL ABSOLUTE ON/OFF is used to define whether the move amount because of JOG
operation is added to the automatic axis coordinate. When it is ON, the move amount is added to the
coordinate system, or else, not.
(1) MANUAL ABSOLUTE switch ON : Coordinates vary with the manual operation.

6
Volume Ⅱ Chapter 4 Operation

Fig.4-9

(2) MANUAL ABSOLUTE switch OFF: Coordinates do not vary with the manual operation.

Fig.4-10

The following example shows the relationshiop between MANUAL ABSOLUTE ON/OFF and
coordinate:

G01 X100.0 Z100.0 F100; (1)

X200.0Z150 ; (2)

X300.0Z200.0 ; (3)
(A) Manual operation after block end
The manual operation (move by +20.0 in X direction and +100.0 in Z direction) will be
performed while the block (1) ends, and then block (2) will be executed.

Fig.4-11

7
GSK983T Turning CNC System User Manual

(B) Manual operation after FEED HOLD


Press the FEED HOLD key in the execution of the block (2). After manual operation (X+75.0),
re-execute the the coordinate value while pressing CYCLE START key .

Fig.4-12

(C) When Manual operation after FEED HOLD is followed by Reset


Press the FEED HOLD key in the execution of the block (2). Reset the machine and
re-execute the block (2) after manual operation (X+75.0).

Fig.4-13

(D) When a single axis is specified in the move command of the next block
When a single axis is specified in the following command, only the axis specified returns.

Fig.4-14

8
Volume Ⅱ Chapter 4 Operation

(E) Manual operation during tool nose radius compensation


When the next block is an incremental command, then the action is identical with that is
commanded while the MANUAL ABSOLUTE switch is set to ON or OFF.
(F) Manual operation during tool nose radius compensation
If MANUAL ABSOLUTE switch is switched OFF:
If manual operation is executed when MANUAL ABSOLUTE switch is switched off during tool
radius compensation, the tool will move along the tool path wihich parallel to that without manual
operation in the restarting auto mode. The parallel space equals to the move amount in manual
operation.
If MANUAL ABSOLUTE switch is switched ON:
If MANUAL ABSOLUTE switch is set for ON for manual operation in the tool nose radius
compensation mode, the automatic running path of the tool by absolute command after restart is as
follows. The vectors set in the rest of the block and the origin of the next block will be offset parallelly.
Tool path is determined by the vector between the next block and the block that follows as well as
the move amount generated by manual operation. This is also applicable for the case by manual
operation during corner.

Fig.4-15
Performing manual operation when no corner

Fig.4-16

9
GSK983T Turning CNC System User Manual

In the above programmed path (PA→PB→PC→PD), the tool is moved from the point PH between
PA and PB to point PH′ by manual operation provided the FEED HOLD key is pressed. due to the
offset as a result of manual operation and the vectors VB1 and VB2 of point PB also offset to VB1’ and
VB2’.The vectors between the next block tha (tool path from PB to PC) and the one that follows (from PC
to PD) do not need compensation. The new vectors VC1′ and VC2′ will be generated according to the
relationship between the two blocks (in this example VC1′ =VC2′). Since vector VB2′ is not
re-calculated, however, the section of path between PB’ and PC as a result of tool offset is not
accurately performed. But for the block after point PC, tool nose compensation can be precisely
performed.
Performing manual operation during the executin of corner

Fig.4-17
The above figure is an example for the manual operation during execution of corner. the vector
VA2′, VB1′ and VB2′ in above figure respectively parallel to the vectors VA2, VB1 and VB2 by a jog move
amount. And the new vectors is generated according to VC1 and VC2′. The blocks after point PC will
be precisely executed by the tool nose radius compensation
Manual operation after single block end

Fig.4-18

10
Volume Ⅱ Chapter 4 Operation

Perform the manual operation after the execution of a single block,


If manual operation is performed after the execution of a single block, the vectors VB1 and VB2
offste the move amount by JOG operation. And the method for the following tool path is identical with
that mentioned above. MDI operation may be inserted just like the JOG operation. The tool path after
MDI operation coincides with that after the insertion of a manual operation.

4.3.5 Manually returning to reference point


The tool may be returned to the reference point by manual operation:
(1) Select “MACHINE ZERO” mode;
(2) Press ”ZERO” axial direction key, the machine enter zero self-insurance state and the state will
not be cancelled until arrive at the reference point, of course, the state also can be cancelled by
pressing EMERGENCY or RESET key in the midway.

Fig.4-19
Note: The speed of FL is set by parameter No.114 ( set by machine manufacturer)

(3) The machine stops at the reference point indicating the end of the return and the LED lights
for X ZERO/Z ZERO on the panel light up.
Note 1: The following procedures may set the LED light for the reference point return over to OFF:

(1)Move away from the reference point.


(2)Enter emergency stop state.
(3)Servo alarm.
Note 2: For the distance to the reference point return, please refer to machine user manual issued by
machine tool manufacturer.

4.3.6 Operations on automatic running


The machine may operate automatically by commands. The steps are as following:

4.3.6.1 Start of automatic running


Procedures for starting the program stored in memory:
(Ⅰ) Select the program number, see Section 4.4.14 “ program number search”;
(Ⅱ) Select the AUTO mode;
(Ⅲ) Press the CYCLE START key.

11
GSK983T Turning CNC System User Manual

Fig.4-20 Cycle Start

Automatic running starts once the CYCLE START key is pressed. And the LED light for
CYCLE START lights up.
Note: The CYCLE START key is inactive or cancelled in the following conditions:
(a) When the FEED HOLD key is pressed;

Fig.4-21 Feed Hold


(b) When the EMERGENCY STOP button is pressed;

(c) When the RESET signal is enabled (contact the machine builder for details);

(d) When the “Mode selection” button is set to a wrong position (except AUTO, DNC and MDI
modes);

(e) When it is searching a sequence number;

(f) When an alarm is given;

(g) When automatic running is being performed (not in feed hold or stop state);

(h) When the NC system is not ready.

4.3.6.2 Dwell of automatic running


Press FEED HOLD key:
The CYCLE START LED light is gone out and the FEED HOLD LED light lights up when the
FEED HOLD key is pressed. Now:
(I) If the tool is moving, the feed slows down and stops;
(II) If the machine is in G04 dwell state, the dwell state will not continue ;
(III) The machine stops after the of M, S, T codes are executed.
Note: In case of the thread cutting commanded by G32, G34, G76 or G92 (special G code B: G33, G34,
G76 or G78; special G code C: G33, G78 or G21), even the FEED HOLD key is pressed, the
feeding will not stop until the cutting is finished.However, if the FEED HOLD key is pressed as
the thread cutting cycle is being executed, the tool retractes by slant and returns to the start point
of cycle.

12
Volume Ⅱ Chapter 4 Operation

4.3.6.3 Single block

Fig.4-22 Single block

If the SINGLE key is pressed, the control only executes a block and stops each time when the
CYCLE START key is pressed .
(1) reference point return and single block commands
If the reference point return commands G28~G30 are executed, the single block is enabled at
the intermediate point.
(2) single block during canned cycle
The stop points of the single block In the canned cycle are as follows:
If the SINGLE key is pressed, the actual running paths for the canned cycle G90, G92,G94 or G70~G76
(special G code B: G77, G78, G79 and G70~G76; special G code C: G20, G24, G21 and G72~G78) are as
following:
Table 4-4 Tool path
Rapid traverse
Feeding

G code
Tool path Explanation
Special Special
Standard
B C
4 4 Assuming tool path from
3 1 3 segment 1 to 4 is a cycle,
G90 G77 G20
1 and it stops when the
2 2 segment 4 is finished

4 4
G92 G78 G21 3 1 3 As above
2 2

1 1

G94 G79 G24 2 4 2 As above


4
3 3
7 Assuming tool path from
6 1 segment 1 to 7 is a cycle,
G70 G70 G72
5 and it stops when each
4 3 2 7-segment is finished

13
GSK983T Turning CNC System User Manual

4
3 2 1
7 8
6 5 Assuming tool path from
11 10
12 9 segment from 1 to 4, 5 to
G71 G71 G73 15 14
16 13 6, 9 to 12, 13 to 16, 17 to
G72 G72 G74 19 19 17 20 is a cycle, and it stops
when each cycle is
finished.
Note The path in this figure is all the same for
G71 or G72 code.

6
Assuming tool path from
5
4 segment 1 to 6 is a cycle,
G73 G73 G75 1
3 and it stops when each
2 6-segment is finished.

9 5 1
8 7 6 4 3 2 Assuming tool path from
10
segment 1 to 10 is a
G74 G74 G76
cycle, and it stops when
G75 G75 G77
the segment 10 is
finished.
Note The path in this figure is all the same for
G74 or G75 code.

4 Assuming tool path from


3 segment 1 to 4 is a cycle,
G76 G76 G78 1
and it stops when each
2 4-segment is finished.

(3) Subprogram calling and single block running


For the blocks of M98P__, M99, G65, G66 or G67, the stop of the single block is inactive. However, it is
active if the addresses other than O, N, L and P codes are commanded together with M98 or M99 code.

4.3.6.4 Restart after feed hold or stop


(1) Select the AUTO or MDI mode in the feed hold;
(2) Press the CYCLE START key. The FEED HOLD indicator light is gone out and CYCEL
START indicator light lights up.

4.3.6.5 Manual operations in auto running


In auto run, make the operation to pause by pressing the FEED HOLD key or the SINGLE
key on the operation panel.
(1) Record the coordinates of the stop position displayed by the position display unit.
(2) Perform manual operation (see Section 4.3.4).
(3) Return the tool to the recorded coordinates (the start point of manual operation).
(4) Set the working and mode to be that before manual operation so as to restart auto
running.
(5) Press the CYCLE START key.

14
Volume Ⅱ Chapter 4 Operation

4.3.6.6 MDI operations in auto running


(1) Press the SINGLE key, the single block is active, execute a block and stop;

(2) Select “ MDI ” mode;

(3) Perform MDI operation;

(4) Select the primary working and mode and press the CYCLE START key on the
operation to restart auto running
Note 1: The MDI command is influenced by modal data reserved in auto running.
Note 2: The modal data commanded by MDI will be active in auto running.
Note 3: Tool nose radius compensation R is unallowed in MDI operation.
Note 4: The auto running will be paused if FEED HOLD button is pressed in the execution of a block, and it
cann’t be restarted by MDI command.

4.3.6.7 Skipping over optional blocks

Fig.4-23 Skip block

This function is used to make the control to skip over the block headed with “/”.

Fig.4-24
When the “/” is defined to be followed by a numeral, and the BLOCK SKIP SWITCH on the
operator panel of machine is set to “ON”, in the memorizer working, the information is ignored which
is contained in the block /n corresponding to the specified BLOCK SKIP number n.
When the BLOCK SKIP SWITCH on the operator panel of machine is set to “OFF”, the
information of the block specified by /n is active. That means the operater can determine whether to
skip over the block containing /n.
The 1 in the character /1 can be ignored. However, if two or more BLOCK SKIP SWITCH are
used for one block,it can not be ignored.
Example:
( incorrect ) ( correct )

//3G100×10.0; /1/3G00×10.0;
The function is ignored when the program is inputed into the memory, and the block containing
/n is stored into it regardless of the setting of BLOCK SKIP SWITCH.

15
GSK983T Turning CNC System User Manual

The block stored in the memory can be outputed regardless of the setting of BLOCK SKIP
SWITCH. The BLOCK SKIP is active even in the operation of sequence search.
The number of BLOCK SKIP SWITCH on the operator panenl is different for different machines,
for the details, please see the machine user manual. The BLOCK SKIP on the operator panle is
generally set to be BLOCK SKIP 1.

4.3.6.8 Feedrate override


The programmed feedrate may be multiplied by override.

Fig.4-25 Feedrate override

The programmed feederate multiplied by the override 0~200% of corresponding scale and the
increment is 10%.
Note 1: This switch is used together with the JOG feedrate for some machine builders.
Note 2: This switch is inactive in thead cutting and its override is usually 100%.

4.3.6.9 Dry run

Fig.4-26 dry run

If the dry run is active in the cycle running in the memory or commanded by MDI, then F function
is disenabled, and the control may move at the following speed:

Table 4-5

RAPID key ON/OFF Rapid traverse Cutting feed


RAPID key ON Rapid traverse Maximum Jog feedrate
RAPID key OFF Jog feedrate (see Note ) Jog feedrate

Note 1: Wether the dry run is enabled in the rapid feed is set by parameter No.6.0 (RDRN).
Note 2: Wether the dry run in threading is disabled or enabled is set by parameter No.8.0 (TDRN).

4.3.6.10 Machine Lock

Fig.4-27 Machine lock

16
Volume Ⅱ Chapter 4 Operation

When the MACHINE LOCK switch on the frame is set to be “ON” or that on operator panel is
active, the move command pluse will be repressed. Therefor, the position display of feed cycle start
or manual operation will be refreshed by the command inputed, however, the carriage doesn’t move
in the program execution, and the machine coordinates don’t change either. This function is used to
check program.

Note 1: When G27, G28 or G30 command is set, the machine will not return to the reference point. Hence the
indicator light for reference return is not lit up.
Note 2; M, S, T functions are performed.

4.3.6.11 Auxiliary Lock

Fig.4-27 Auxiliary Lock

When the AUXILIARY LOCK is ON, the machine carriage moves normally, but the M,S,T function
is not performed, this function is used to check program.

4.3.6.12 Rapid Override

Fig.4-28 Rapid Override

The rapid overrides F0, 50%, 100% are available on the operation panel of the machine. If the
rapid rate is 10m/min, and the override is 50%, then the rate becomes to be 5m/min. F0 is a fixed
speed (feedrate) specified by the machine builder.
This override applies to the following conditions:
(1) Determine the rapid rate of G00;

(2) Determine the rapid rate in canned cycles;

(3) Determine the rapid rate in G27, G28, G29 and G30 modes;

(4) Determine Jog rapid rate;

(5) Determine the rapid rate in manual reference point return.

17
GSK983T Turning CNC System User Manual

4.3.7 MPG Interruption

Fig. 4-29

4.3.7.1 Summary
For the specific axis (set by parameter No.314.0 和 No.314.1) in auto running, it may be moved
manually by handwheel (MPG) to overlap the path in the auto running.

4.3.7.2 MPG (manual pulse generator) interruption


Manual interruption can be performed by turning the manual pulse generator in the following
conditions.
(1) Auto mode or MDI mode.
(2) Operating state: Manual insertion is possible during auto running and linear interpolation, arc
interpolation.
However, the following conditions are excluded:
(Ⅰ)When an alarm is being given;
(Ⅱ)When machine lock is active;
(Ⅲ)When positioning is valid;
(Ⅳ)When interlocking is valid;
(Ⅴ)No move command.
(3) Manual axis selection signal
Manual axis selection signals (HX , HZ) are powered up (contacts making) for the axis to perform
manual insertion.

4.3.7.3 Movement of manual insertion


(1)Amount of move
The amount of move by manual insertion is identical with that of the MPG feed. The amount of
move depends on the scale of the manual pulse generator and manual feed overrides (X1, X10 and
X100) and is added to that of automatic running.

18
Volume Ⅱ Chapter 4 Operation

(2)Move speed:
The axial speed for manual insertion is the result of the addition of the move speed of auto
running to that by manual insertion. Therefore, axial speed will be limited to rapid traverse rate
(parameter #92(RPDFX)and #93(RPDFX)) in the event that axial speed exceeds rapid traverse rate.
Because the distance whose speed exceeds the rapid traverse rate is lost, the scale value displayed
on the MPG is invalid.
(3)The relations of manual insertion to various signals are as the following table:

Table 4-6

Signal Move
It is affected, that is, the tool does not move if the
Machine locked
machine is set to ON
It is affected, that is, the relative coordinate does
Displayed locked
not change if the display is locked
It is not affected, that is, machine moves positively
Mirror image of X axis
if hand disk is rotated in positive direction

(4)The relations of manual insertion to various signals are as following table:

Table 4-7

Display Move
Not affected: Manual-inserted pulse is not added
Absolute coordinates
to absolute coordinates
Relative coordinates Affected: Manual-inserted pulse is added
Machine coordinates Affected: Manual-inserted pulse is added

(5)Display of move amount


Move amount by manual insertion may be displayed by(DGNOS)key.
8 0 5
Manual-inserted move amount of Axis X

8 0 6
Manual-inserted move amount of Axis Z
Unit: 0.001mm (metric system)
0.0001inch(inch system)
Note: The move amounts may be cleared by clearing operation.

4.3.8 Manual spindle function

Fig. 4-29
Press SPINDLE CCW key in manual mode, spindle rotates CCW.
Press SPINDLE STOP key in manual mode, spindle decelerates to stop.
Press SPINDLE CW key in manual mode, spindle rotates CW.

19
GSK983T Turning CNC System User Manual

Note:Actual rotational direction of spindle is different for various machines, please refer to machine tool builder’ s
manual.
Spindle orientation:Because the machine is matched with servo spindle driver, the system will send
orientation start signal to servo driver by pressing Spindle Exact Stop key in Manual mode or Auto, MDI
command M19. After spindle orientation is performed in the driver, completion signal is sent to CNC, and the
spindle orientation is finished. This function is used mainly for tool shifting and hole boring.
Spindle speed override:

Fig. 4-30

Spindle speed override can be adjusted from 50% to 120% by this switch.

4.3.9 Interlocking switch of spindle feed axis

Fig. 4-31

Position with 0 is OFF, and 1 is ON. In any states:


When feed axis and spindle are ON, feed axis and spindle interlocking are invalid.
When feed is off and spindle is ON, feed axis interlocking is valid and spindle interlocking is invalid. No.
2001 prompt appears in screen external information.
When feed axis and spindle are OFF, feed axis and spindle interlocking are valid. No. 2002 prompt
appears in screen external information.

20
Volume Ⅱ Chapter 4 Operation

4.3.10 Manual miscellaneous function

Fig. 4-32
The functions and execution logic of these keys are defined by PLC programming. Please refer to
corresponding version of PLC manual. They control ON and OFF of each machine part separately. Usually,
press ON first and then press OFF. The functions of USER1~USER10 keys are not defined, which can be
defined according to user requirements.

Fig. 4-33

Tool shift key can be used for adjustment of manual tool change. Please refer to corresponding version of
PLC manual for details.
LED displays current tool No..

21
GSK983T Turning CNC System User Manual

4.4 Operations and Display on MDI/LCD Panel


The MDI/LCD panel is usually placed at the upper front the device, and it is composed by the
LCD and keys as following figure shows:

Fig. 4-34

22
Volume Ⅱ Chapter 4 Operation

Functional keys:
The large items displayed by the function keys are just like the chapters of a book. When a function
key is pressed for the second time or third time, the chapter 2 or 3 of the corresponding function is
displayed (if the function key for the chapter is provided).
Each chapter by functional keys includes several pages and each page may be selected with the
PAGE keys. The chapters and meanings for the functional keys are listed below.

Table 4-8

Pressing once Display of actual position and reset

Pressing once Display and setting of the set data


Pressing twice Display and setting of user macro program variables
Pressing for the
Display and setting of menu switch
third time
Pressing once Display for program check
Pressing twice Display of the list of program numbers
Pressing for the
Display the program
third time
Pressing once Display and setting of parameters

Pressing twice Display and setting of PC( PLC) parameters

Pressing once Display and setting of tool wear offset


Pressing twice Display and setting of workpiece coordinate system
Pressing for the
Display and setting of tool contour offset
third time
Pressing once Display of the information of an alarm

Pressing twice Display of an external alarm

Pressing once Display of command value and the commands input by MDI

Pressing twice Display of the information regarding program restart

Pressing once Display of NC diagnosis information

Pressing twice Display of the information regarding tool life management

Pressing once Display of the machining program tracking

Pressing twice Setting of graph menu

23
GSK983T Turning CNC System User Manual

Waiting for external data transfer, highest level interruption,


In Chapter 1
inactive for other function keys.

Transfer the system data to external, highest level interruption,


In Chapter 1 inactive for other function keys.

Note The screen display may be cleared by concurrently pressing a functional key and the CANCEL
key. And the corresponding screen display may be displayed when a functional key is pressed
then.

Table 4-9 Introduction for other keys on MDI keypad

Reset key For CNC reset and alarm eliminating, etc.

Input key When address key or numerical key is pressed, input data is
displayed on screen but it still in buffer. Press input key, and
these data are saved in register.

Cancel key Delete characters in buffer from the end by pressing cancel
key.

Edit key Alteration, insertion and deletion can be done by pressing these
three keys in keying in data.

24
Volume Ⅱ Chapter 4 Operation

Table 4-9 Introduction for other keys on MDI keypad(continue)

Some address keys include two kinds of characters, which are


selected by pressing shift key. Input characters in the lower
right corner when sign “^”is displayed on the screen.

Address key Input letters by pressing address key.

Numerical key Digits and punctuation can be input by pressing numerical key.
Key in “;” by EOB key.

Page Up/Down:turn display screen forward or backward for


one page.

Cursor moving up or down.

Soft keys:its function is defined by the contents in the lower


part of the display screen.

25
GSK983T Turning CNC System User Manual

4.4.1 Status display


The status indication of the system is displayed on the lower right part of the screen:

Fig. 4-35
The display for status is as follows:
NOT READY: It indicates that the control or servo system fails to operate.
LSK : It indicates the label skip mode created after power on or control reset other than MDI
mode.
BUF : It indicates that a block is read in but not executed. The blocks not executed are
eliminated after reset in modes other than MDI.
ALM : It indicates that an alarm is given. The alarm will be displayed (this symbol blinks) when
the ALARM key is pressed.
EDIT : It indicates that the editing function is being executed or is to be done..
As for the different position of the mode selection, besides the EDIT, there are modes such as
AUTO, MDI, HNDL, JOG, MACHINE ZERO (not displayed).
SRCH : It indicates the program number search is being executed (blinking).
RESTR: It indicates the period from the program restart to the last axis return is completed
(blinking).

4.4.2 Keys input display


The contents input by address keys or numerical keys are displayed at the lower left of the
screen.

Fig. 4-36

26
Volume Ⅱ Chapter 4 Operation

Data cannot be keyed in when the POSITION or ALARM key among the function keys is
pressed to display a screen.
Only a word consisting of one address and a figure can be keyed in when program edit is not
being performed. Pressing CANCEL key once, this word may be cleared.
One or more words are not limited in program editing, a line of up to 32 characters can be
entered for a block.
The last entered character may be cleared by pressing the CANCEL key. If the CANCEL
key is pressed continuously, the typed characters will be cleared in succession.
Note: In Edit mode, program edit is enabled when the PROGRAM key is pressed.

4.4.3 Display of program number and sequence numbers


Program number and sequence numbers are displayed at the top of the screen as shown in the
following figure.

Fig. 4-37

4.4.4 Alarm display (functional key ALARM )


When “ALM” is indicated at right bottom of the screen in case of alarm, warning messages may
be shown through the following procedures:
Press the ALARM key, when the information about operation is displayed, press the
ALARM key again to display alarm message.
Refer to Appendix 7 for the meaning of the alarm number.

Fig. 4-38
Note: As a rule, alarm message automatically appears on the screen in the event of alarm.

27
GSK983T Turning CNC System User Manual

4.4.5 Operation information


Table 4-10 Operation information

Mode Operation Contents


Excluded in case of the following
Display last sequence number executed
condition:
Other than EDIT
Display random sequence number in
Sequence number search
searching
Return to program home and display the
AUTO Press ∧ key in PROG mode program number(return unallowed as
program being executed )
Review the program positively from the
Press ∧ key continuously in PROG
memory current position and display the N
mode
value that appears firstly
Review the program negatively from the
EDIT Press ∧ key continuously in PROG
memory current position and display the N
mode
value that appears firstly
In reset mode by pressing RESET Return to the current program home and
key display the program number
AUTO Program number search Display the program number searched

Once the machine sends out operation information, the information will be automatically
displayed on the screen.

Fig. 4-38

If operation information is needed after some other page is displayed, press the ALARM key.
External message is shown if the ALARM key is pressed again in this alarm page.

4.4.6 Current position display and reset (functional key POSITION )


(1) Press the POSITION key;
(2) Press the PAGE key. Data is displayed in one of the following three modes:
(Ⅰ) Position display in a relative coordinate system

28
Volume Ⅱ Chapter 4 Operation

Fig. 4-39

Ralative position is displayed, once resetting, the position is cleared to zero.


Reset: By pressing the U or W key, the resetting may be done in this page. Address
code pressed will continuously blink. The relative position of the blinking address will be 0 if the
SHIFT key is pressed then.

(Ⅱ) Position display in a workpiece coordinate system

Fig. 4-40

It displays the current position of the automatic coordinate system set by G50, or by coordinate
system by reset.
Reset (program lock ON for active, OFF for inactive)
Reset: By pressing the X or Z key, the resetting may be done in this page. Address
code pressed will continuously blink. The absolute position of the blinking address will be 0 if the
SHIFT key is pressed then.

Note: Reset operation can only be performed during the stop of the auto running.
(Ⅲ) Display of the ALL position
The actual position may be displayed in the coordinate systems as following at the same time:
(a) Relative coordinate system
(b) Absolute coordinate system
(c) Machine coordinate system
(d) Distance to go

29
GSK983T Turning CNC System User Manual

Fig. 4-41

DISTANCE TO GO indicates the remaining move amount of a block.


The positions in the coordinate systems cannot be reset in the ALL position interface.

4.4.7 Display of command value (functional key COMMAND )


(1) Press the COMMAND key.
(2) Press the PAGE key. The page is displayed in the following 3 modes:
(Ⅰ) It displays the command value being executed and the formerly commanded modal values.

Max. speed of constant surface speed


Speed by G96, G97
Actual speed

Fig. 4-42
Note: As shown in the above figure, the figure following character % stands for the feedrate that has been
multiply by overrided.

(Ⅱ) It displays the command value input by MDI or the command value to be executed.

30
Volume Ⅱ Chapter 4 Operation

Fig. 4-43

(Ⅲ) It displays the command value of the next block to be executed during the tool nose radius
compensation R.

Fig. 4-44

4.4.8 Setting (functional key SETTING )

4.4.8.1 Display and setting of input, output, etc.


(1) Press the SETTING key;
(2) Press the PAGE key. Setting and display may be performed in the following two modes.
(I) Setting and display of input and output:

Fig. 4-45

31
GSK983T Turning CNC System User Manual

Setting (execution unallowed when the program lock is disabled; or execution allowed when it is
disabled, whose state can be switched by parameter SETE)
(a) Set the mode selection to MDI mode.
(b) Press the cursor key ∧ , ∨ to move the cursor to the item to be altered. (The cursor
cannot be moved with the address key N .)
(c) Enter 1 or 0 by pressing the P 0 or 1 INPUT key as shown in the following table.
Table 4-11
Display
0 1
Item
TV CHECK Not do TV check Do TV check
PUNCH CKDE Output EIA code Output ISO code
INPUT UNIT mm input Inch input
INPUT DEVICE1 Standard set for 0
INPUT DEVICE2 Standard set for 1

Note 1: Unselected function cannot be set. For example, INCH=1 cannot be used for a metric-system
machine when metric/inch conversion function is not available. ISO=1 cannot be set when ISO
code input selection function is not available.
Note 2: INPUT UNIT is automatically rewritten when G20 (in inch system) and G21 (in metric system) code
is executed.

(II) Other settings and display

Fig. 4-46(a)

Fig. 4-46(b)

32
Volume Ⅱ Chapter 4 Operation

Table 4-12 The displayed numbers and their meanings

Data No. Meaning


057 * Running time (Unit: hr) (TMHOR)
058 * Running time (Unit: min) (TMMIN)
059 * Running time (Unit: s) (TMSEC)
064 * Thread chamfering width (THDCH)
065 * Retraction amount of G74, G75 (GROVE)
066 * Finish allowance of G76 (THDFN)
067 * The retraction amount of G71, G72 (MRCDT)
068 * The minimum allowance of G76 (THCLM)
141 * Running time (TIME)
151 * X value of Acme 1 of storage travel limit 2
152 * Z value of Acme 1 of storage travel limit 2
153 * X value of Acme 2 of storage travel limit 2
154 * Z value of Acme 2 of storage travel limit 2
155 * X value of Acme 1 of storage travel limit 3
156 * Z value of Acme 1 of storage travel limit 3
157 * X value of Acme 2 of storage travel limit 3
158 * Z value of Acme 2 of storage travel limit 3
180 * Sequence number for corresponding stop
319 * Settings (PRG8,MSBL)
340 * Reserved
341 * Reserved

Note 1: The data numbers other than those listed in the above table are not displayed.
Note 2: The parameters are also set by the same data numbers.
Note 3: Please refer to the manual for details about the parameters that have the same data numbers.

Setting (execution unallowed when the program lock is disabled; or execution allowed when it is
disabled, whose state can be switched by parameter SETE)
(a) Set the mode selection to MDI mode.
(b) Press the cursor key ∧ , ∨ to move the cursor to the item to be altered. The cursor
cannot be moved with the address key N.
(c) Press address key P , numerical keys and INPUT key in succession to proceed.

4.4.8.2 Display and setting of user macro program variables


It is possible to display common variable values and the local variable values of the currently
called user macro program body on LCD.

33
GSK983T Turning CNC System User Manual

Fig. 4-47

When a variable value is <null>, the display will be blank.(see chapter 3 10.2.3 <undefined
variable>)
When an absolute value is over 99999999, it displays OVER FLOW.
When an absolute value is not zero, but less than 0.0000001, it displays UNDR FLOW.
It displays:
(1) Select the set chapter 2 (Steps: press SETTING to display the setting page, and press it
again.)
(2) Since the display covers 6 pages, you need to press the PAGE key to display the required
page.
Page 1——Local variables #1~#20
Page 2——Local variables #21~#33
Page 3——Common variables #100~#119
Page 4——Common variables #120~#139
Page 5——Common variables #140~#149
Page 6——Common variables #500~#509
(3) Search variable number
Method 1 Press the cursor key and move the cursor ∧ , ∨ in succession. The
next page will be switched to once the cursor goes beyond the current page.
Method 2 Press N , variable number and INPUT key for inputting.
(4) Set variable number
(a) Select MDI mode;
(b) Key in P , variable number and INPUT when the variable is displayed and the
cursor is moved to the variable number to be changed.

4.4.9 MDI operation (functional key COMMAND )


A block command to be executed may be input through MDI panel.
(1) Example: For X 10.5 Y200.5
(a) Select the MDI mode;
(b) Press the COMMAND key;
(c) Press the PAGE key. “NEXT BLOCK (MDI)” appears on the upper left of the screen.

34
Volume Ⅱ Chapter 4 Operation

Fig. 4-48

(d) Press the X, 1, 0, •, 5 and the INPUT key in succession.


If the numeral entered before pressing the INPUT key is incorrect, press the
CANCEL key and enter the correct numeral again.
If an error is found after pressing the INPUT key, it is necessary to enter the numeral
again.
(e) Press the Z, 2, 0, 0, • and 5 and the INPUT keys in succession.
If the typed numeral is found incorrect, proceed in the same way as inputting X.

Fig. 4-49

(f) Press the CYCLE START key on the control panel of the machine.
(2) Delete Z200.500 from X10.500 Z200.500 before pressing the CYCLE START key.
(a) Press the Z, CANCEL and INPUT key in succession.
(b) Press the CYCLE START key on the control panel.
(3) Delete modal data
Since modal G code and F, E and T data cannot be deleted, it is necessary to input correct data
for alteration.

4.4.10 MDI start and running


By pressing CYCLE START key, the commands by MDI is executed.

35
GSK983T Turning CNC System User Manual

4.4.11 Reset
RESET key is usually used to cancel the alarm state.
By pressing this key, the NC turns into the following state:

Table 4-13

Before resetting After resetting


Slow down to stop and the remaining move is
Move commands being executed
cancelled.
Output sequence is terminated.
M,S,T codes being outputted Refer to machine manual for actions at
machine side.
MDI mode The content in buffer is not eliminated.
When a block is
Modes other The content in buffer and BUF display are
read into the buffer
than above both eliminated.

The NC turns into reset state under any modes, but skip state in a mode other than MDI if
RESET key is pressed.

4.4.12 Setting and display of the tool offset, tool nose radius compenstation
(functional key offset )

4.4.12.1 Absolute input


(1) Press OFFSET key;
(2) Due to multiple pages to be displayed, PAGE keys are needed to select the page required;
1st page Offset 1~7
2nd page Offset 8~9 or 8~14(optional)
rd
3 page Offset 15~21(by selection)
th
4 page Offset 22~28(by selection)
th
5 page Offset 29~32 or (by selection)

Fig. 4-50 1st page of the offset values

36
Volume Ⅱ Chapter 4 Operation

(3) Move the cursor to the No. of the offset to be altered


Method 1 Press ∧ , ∨ key, move the cursor sequently, and it changes to next
page if the cursor is over a page;
Method 2 Key in N , offset No., INPUT keys.
(4) Select a mode other than Edit
(5) Key in : X or Z or R or T offset value, INPUT
X Z : offset values of X, Z axes (absolute)
R : offset value of tool nose radius (absolute)
T : Assumed tool nose No.
If keying in Z 1 5 . 4 INPUT at an offset No. 4, it is shown as following
figure:

Fig. 4-51
Note1: The maximum offset value is restained by parameter No.338.
Note2: it can be keyed in when the figures at the right and bottom edge without blinking, and key in NO can
clear the blinking state.

37
GSK983T Turning CNC System User Manual

4.4.12.2 Incremental input


By selection, it may choose the incremental offset input, so it can be done by U W keys.

X
Z
U
Offset number Input
W
R
T

X , Z :Offset in X or Z axis(abslute)
U , W :Offset in X or Z axis(incremental)
R :Tool nose R Offset (absolute or incremental)
T :Assumed tool nose number

The input of R value by absolute or increment is defined by parameter #7.6 (IOF).


The incremental offset input is the increasement or decreasement of the offset.
(1) Incremental offset input
Now the tool nose R offset is 5.678, key in R 1 . 5 INPUT keys by
sequence, the offset turns to 7.178.
(2) When the absolute is needed in the incremental offset input:
Now the offset is 5.678, press R CANCEL INPUT keys by sequence, the offset turns to
0. Then press R 1 . 5 INPUT keys by sequence, the offset turns to 1.5.
Note1: When an offset is altered in Auto mode, the new one takes effect from next block or next T code
commanded is defined by parameter (TLCC) .
Note2: it can be keyed in when the figures at the right and bottom edge without blinking, and key in NO can
clear the blinking state.

4.4.12.3 Setting of tool figure and wear offset


(1) Display of the tool wear offset
Under the 1st chapter of the OFFSET page it displays: (by pressing OFFSET key several
times)

Fig. 4-52

38
Volume Ⅱ Chapter 4 Operation

(2) Display of the tool figure offset


Under the 3rd chapter of the OFFSET page it displays: (by pressing OFFSET key several
times)

Fig. 4-53

Setting:
(Ⅰ)It shows the page for tool figure offset or wear offset.
(Ⅱ)The setting is the same as that in section 5.12.1 and 5.12.2.

4.4.12.4 Offset of the workpiece coordinate system


It is the coordinate offset while there are deviation between the workpiece coordinate system
concerned in programming and the coordinate system commanded by G50 and automatic coordinate
system.
The offset value is set to the offset No.00, its setting steps are as the same as that of the tool
position offset.

Fig.4-54 Offset from 0′ to 0 set by offset No.00

XZ – 0 Coordinate system in programming


XZ – 0′ Current coordinate system
(Modifiable coordinate system by offsetting)

39
GSK983T Turning CNC System User Manual

Fig. 4-55

As the above figure shows, the desired start point is X=120.0(diameter), Z=70.0 (offset value 0),
but the actual start point is X=121.0(diameter),Z=69.0), key in the offset value:
X=1.0 Z=-1.0
The desired coordinate system may be obtained.

Fig. 4-56
Also in above figure, if the start point locates at the tool nose tip, and it needs to be set at a point
of X=120.0(diameter),Z=70.0, while it actually locates at X=121.0 (diameter), Z=69.0, key in the
offset value of the workpiece coordinate system:
X=1.0 Z=-1.0
The desired coordinate system may be obtained.
The actual offset may be simply set by the direct offset input method for workpiece coordinate
system in section 5.12.5.

40
Volume Ⅱ Chapter 4 Operation

Note 1: The offset of the workpiece coordinate system takes effect immediately after the offset value is set.
Note 2: After the offset value is set , then set coordinate system by G50, the offset doesn’t take effect.
e.g. Whatever the offset is, the current tool start point X=100.0 Z=80.0 is set for the new
coordinate system if the point G50 X=100.0 Z=80.0 is set.
Note 3: When performing the manual reference return after the offset value is set, once the automatic
coordinate system is set, the offset takes effect immediately, and the set coordinate system will be
offset right away.
Note 4: The offset in X axis by diameter or by radius is specified by the diameter or radius value in part
program.

4.4.12.5 Direct measured value input of workpiece coordinate system offsetting


If there are deviation between the coordinate system used in programming and the coordinate
system actually commanded by G50 and automatic coordinate system, offset the coordinate system
by direct measured values as follows:

Surface B

Surface A
Origin of
programming

Fig. 4-57
(a) Cut surface A with a reference tool in Manual mode.
(b) Press the POS RECORD key on the machine operation panel to make the tool detach the
part, and stop the spindle.
(c) Measure the distance β from programming origin to surface A in above figure.
(d) Press OFFSET. Press it again if the page of workpiece coordinate system offset has not been
selected.
(e) Key in N 1 0 0 INPUT , and the “N” keyed in will blink.

Fig. 4-58

41
GSK983T Turning CNC System User Manual

(f) Key in Z , measured value β , INPUT , the offset value will be entered to Z of the
workpiece coordinate system offset.
(g) Cut surface B in Manual mode.
(h) Press the POS RECORD key on the machine operation panel to make the tool detach the
surface B, and stop the spindle.
(i) Measure the diameter α of the surface B.
(j) Key in X , measured value α, INPUT , the offset value will be entered to X of
theworkpiece coordinate system offset.
By the above operation, the offset from O′→ O will be automatically set to offset No.00, and the
set actual coordinate system will be consistent with the programming one.
Then the coordinate system X=0,Z=0 will be set if the reference tool offset is 0, i.e. the tool nose
is taken as the origin of the workpiece coordinate system of programming.

Note 1: When the offsets of X, Z in above figure is set for reference tool, under the active offset state(TXXXX
commanded) α,β settings are actually finished when finishing cutting surface A, B. When the start point
locates at the workpiece origin, the coordinate system X=0, Z=0 will be set.

Reference point

Fig. 4-59
Note 2:The value in X axis is usually measured by diameter.

4.4.12.6 Direct input of the tool offset


The offset by the deviation of the start point(reference tool nose or toolpost center) to the actual
tool nose point may be set by the following method:
While workpiece coordinate system is set:

Surface B

Surface A

Fig. 4-60

42
Volume Ⅱ Chapter 4 Operation

(a) Select an actual tool to cut surface A in Manual mode.


(b) Press the POS RECORD key on the machine operation panel to make the tool
detach surface A, and stop the spindle.
(c) Measure the distance β from workpiece coordinate system origin to surface A.
(d) Press OFFSET key many times to switch to the page of the tool contour offset .
(e) Key in N , offset No.+No.100, INPUT to enter the direct input state.
So the desired page contains the offset No. is got with cursor pointing to this No., and the “N”
keyed in blinks.

Fig. 4-61

(f) Key in Z , measured value β, INPUT , so the Z offset is entered into this offset No.
(g) Cut surface B in Manual mode.
(h) Press the POS RECORD key on the machine operation panel to make the tool detach the
part, and stop the spindle.
(i) Measure the diameter α of the cylindrical surface B.
(j) Key in X , measured value α, INPUT , so the X offset calculated is entered into this offset
number.
Note1: The X value is usually measured by diameter.
Note2:when N or the figurs on left and bottom edge of the screen is binking, the operation of the clearing for
tool offset or input for increment is disabled, only after the N0 is inputed and canceling the N or the
blingking of the the figures, can the operation be enabled by X0 or Z0.

4.4.12.7 Offset input by counter (optional)


In the offset setting, press the INPUT key, the offset value will be set by relative coordinate U
(address X or U) or W (address Z or W) when address (X,Z,U or W)is keyed in without numerals.
Usage:
(a) Press the OFFSET key many times to select the OFFSET page of tool contour.
(b) Press ∧ , ∨ to select the page that contains the offset No. to be set. Or key in N ,
offset No. , INPUT .
(c) Move the reference tool to the start point by Manual mode.
(d) Reset the relative coordinates U, W in the page to 0 ( U SHIFT , W SHIFT )

43
GSK983T Turning CNC System User Manual

Fig. 4-62

(e) Move the tool to be offset to the start point, the offset value will be shown at the Relative
position.
(f ) In tool contour offset page, by pressing U INPUT , W INPUT keys, the value at the
Relative position will be set for the tool offset.

4.4.13 Program display (functional key PROGRAM )


(1) In Edit mode:
Press the PROGRAM key, the current machining program is displayed.

Fig. 4-63

See Program number search in Section 4.4.14 for displaying a selected program.
Pressing the cursor ∧ , ∨ key to display the content of the program in sequence. By
pressing ∨ key, the page is displayed in forward direction. By ∧ key, in backward direction.
Note: If it is switched to Edit mode from other mode and the PROGRAM key is pressed, the content of
the program is displayed from the block being executed or executed. However, the beginning of the
program will be displayed when it is returned to program beginning (see 4.4.24.4).
(2) Automatic operation
Press the PROGRAM key, it displays the current block being executed.

44
Volume Ⅱ Chapter 4 Operation

Fig. 4-64

Significance of the cursor (for auto running )


(a) When the cursor blinks, it indicates the block to be executed next time.
(b) When the cursor does not blink, it indicates the currently executing or executed block.
Note 1: Strictly speaking, when the buffer register is empty the cursor blinks neither in automatic
running nor in feed hold, which indicates the next block to be executed is going to be read into
the buffer register.
Note 2: When ∧ , ∨ key of the PAGE is pressed in Edit mode to move the cursor to Auto mode
and run, the block locating at the cursor in Edit mode is read into the buffer register.

4.4.14 Program number search (functional key PROGRAM )


When a lot of programs are stored in memory, each one can be searched out.

O1001 O3054 O1972


Searching a program number
(1) Method 1
(a) Select a mode (Edit or Auto).
(b) Press the PROGRAM key to switch to PROGRAM or PROGRAM CHECK page.
(c) Key in O , the program No. to be searched, ↓
The home page of the program is displayed after searching.
(2) Method 2
(a) Select the Auto mode.
(b) Press the PROGRAM key to switch to PROGRAM or PROGRAM CHECK page.
(c) Press O, V , Cancel, ↓ key in sequence. The next stored program is displayed.
(3) Method 3
(a) Select the Edit mode
(b) Press the PROGRAM key to switch to PROGRAM or PROGRAM CHECK page.
(c) Press O,↓ key in sequence. The next stored program is displayed.
Note 1: It returns to the 1st program number as the display for all stored is over.

Note 2: The content in the buffer register is deleted when program number search starts.

45
GSK983T Turning CNC System User Manual

4.4.15 Program input


A machining program can be directly stored into memory by the MDI keypads.
(a) Select the Edit mode (it is enabled when the program protection lock is open, it is disabled
when locked).
(b) Press the PROGRAM key to display the current program.
(c) Enter the program number to be stored by keying in O , program number , INSERT keys.

Fig. 4-65

(d) Key in a block according to the program


e.g. When keying in G50 X500.0 Z200.0 M12;
G 5 0 × 5 0 0 . 0
Z 2 0 0 . 0 M 1 2 EOB

Fig. 4-66

(e) If a keyed in character is incorrect, press the CANCEL key to delete the lastly keyed in
character. By pressing the CANCEL key continuously it deletes the keyed in characters
one by one from the last keyed in one. If the number of the characters of a block exceeds 32,
the block cannot be entered. Now it the block is needed to be divided for several segments.
(f) If the keyed in program is correct, press the INSERT key.

46
Volume Ⅱ Chapter 4 Operation

Fig. 4-67

(g) Enter the following program by this means.


(h) For correcting a keyed in block, proceed as indicated in the section 5.30.
(i) For restart, move the cursor to the lastly keyed in character for continuous inputting. The
procedure is the same as the insertion operation.
(j) When all blocks are keyed in it finishes and at the end of the procedures, press the RESET
key if you want to return to the program beginning.

4.4.16 Deletion of a program (functional key PROGRAM )


Deleting a program stored in memory (Program lock ON for active; OFF for inactive):
(a) Select the Edit mode.
(b) Press the PROGRAM key.
(c) Press O , program number, and DELETE keys, the program with this number is deleted.

4.4.17 Deletion of all programs (functional key PROGRAM )


Deleting all programs stored in memory (Program lock ON for active; OFF for inactive):
(a) Select the Edit mode.
(b) Press the PROGRAM key to PROGRAM page.
(c) Press O, -, 9, 9, 9, 9 and DELETE keys.

4.4.18 Sequence number search (functional key PROGRAM )


Sequence number search is usually used to search a sequence number in a program and start
or restart the program from the block whose sequence number is searched. Its skipping over blocks
exert no influence on the NC system. Namely when skipping over blocks, the coordinates of the
blocks skipped over, M, S, T or G codes do not change the coordinates and modal values of the NC.
When a user macro program is supplied, sequence number will not be displayed in searching.
Therefore, necessary M, S, T, G codes and coordinate system should be set for the blocks to be
started or restarted according to sequence number search. This block searched is usually a breaking
point in a process. If it needs to restart from the block searched in program, the present state of the
machine and NC system must be checked by specifying M, S, T, G codes and coordinate system etc.
with MDI.

47
GSK983T Turning CNC System User Manual

Object number

Search the area from


beginning (only in
Program the program)
number
selected

Fig. 4-68

(a) Select the Auto mode.


(b) Select the program number where the sequence number to be searched belongs to.

Fig. 4-69

If the program contains the sequence number searched, follow (c) operation. When the
sequence number to be searched does not exist in the block, however, the program with the
sequence number to be searched shall be selected by program search.
(c) Press the PROGRAM key.
(d) Key in N and the sequence number to be searched. Then press the cursor ∨ to find
the sequence number.
Note 1: Coordinates and modal data do not update during searching.
These data should be set through MDI after search.
Note 2: The following items are checked during searching:
Skipping over optional blocks
Alarm check (03, 04, 05, 10)
Note 3; M98P × × × × (calling a subprogram) is not executed during sequence number search.
Therefore, when the sequence number in the subprogram called by the current selected program
is searched in Auto mode, No. 060 alarm will be given.

Main program Subprogram

Alarm occurs if searching N8888 in above example.

Fig. 4-70

48
Volume Ⅱ Chapter 4 Operation

4.4.19 Restart of a program


When the machine restarts after the tool damage or stop of machining, the restart function starts
the machine from a block to be restarted according to the specified sequence number.
(1)The tool is damaged (P type)
(a) Press the FEED HOLD key, retract the tool and change for a new tool. Change the offset
when necessary.
(b) Set the PROG RESTART key on the operation panel to ON.
(c) Press the PROGRAM key to display the present program.
(d) Return to the start point of the program (Press the cursor ∧ key in Auto mode).
(e) Press the P , Sequence number and ∨ keys.
To search the block to be restarted, if the same sequence number appears for many times, (e.g.
when sequence number search calls a subprogram for many times), the higher four digits are
specified as the number of times of block appearance and the lower four digits as its sequence
number.
P 1 2 3 4 0 1 2 3 ∨
Number of times Sequence number
If the number of times is 1, the higher four digits can be omitted. The preceding zeroes can also
be omitted when the number of times is established.
(f)After search, LCD changes to display the page for program restart, and “RESTR” is displayed
at the botton and blinking.

Fig. 4-71

OBJECT It indicates the restarting position of machining.


DISTANCE TO GO It indicates the distance from the current tool position to the machining
restarting position.
M indicates the last commanded 35 M codes.
T indicates the last 2 commanded T codes.
S indicates the last commanded S code.
The first commanded code is indicated at the beginning of M and T.

(g) Set the PROG RESTART switch to OFF.


(h) Observe the page: Output by the MDI panel in MDI mode if the M, S, T codes to be output
exist. In this case, the M, S, T codes to be output no longer appear on the program restart page.
(I) Return to Auto mode for automatic running, check if the distance indicated by DISTANCE TO

49
GSK983T Turning CNC System User Manual

GO is correct and if the tool contacts workpiece when the tool moves to the machining restarting
position. Press the CYCLE START key after manually moves the tool to a position that the
following tool move does not contact the workpiece. Now the tool moves to the restarting position by
dry run in the sequence of the Z, X axis, and restart machining.
(2) Restart machining (Q type) after the occurrence of the following conditions:
(a) Switch off the power.
(b) Press the EMERGENCY STOP button.
(c) The machine immediately stops due to storage type travel limit alarm.
(d) The coordinate system changes after the last automatic operation.
Example:
(Ⅰ) Specify G50 command through MDI.
(Ⅱ) Move the coordinate system.
(Ⅲ) Set the automatic coordinate system after reference point returning.
(Ⅳ) Reset the coordinates.
(a) After power on or the releases of emergency stop and travel limit alarm, the machine
performs the reference point return prior to the restart (see the notes below).
(b) The tool is manually moved to the programmed start point of machining and set modal data
and coordinate system which are identical with that of the the machine restart.
(c) If necessary, set or change the offset.
(d) Set the PROG RESTART key on the operation panel of the machine to ON.
(e) Display the program by pressing the PROGRAM key. Search the required program when
it is not available.
(f) Return to the the program start point. (Press the cursor ∧ key in Auto mode).
(g) Keying in the Q key and the sequence number, cursor ∨ key , the page switch to the
program restart automatically.
Search the sequence number that the block restarts.
When the same sequence number appears for many times during searching, the higher four
digits are specified as the times of sequence number appearances and the lower four digits as its
sequence number.
(h) Perform the same operations as (f),(g), (h) steps of P type.
(i) When the tool moves to the machining restarting position, check that the tool does not contact
workpiece. If necessary, manually move the tool to a position that does not contact the workpiece.
(j) Check if the distance indicated by the DISTANCE TO Go is adequate.
(k) Return to the Auto mode and press the CYCLE START key. Now the tool moves to the
restarting position by dry run in the sequence of the Z, X axis, and restart machining.
Note 1: In the following conditions, pressing the P key, the sequence number and the cursor ∨ key, it
does not restart the program.
(Ⅰ) After power on, no automatic operation is performed.
(Ⅱ) Automatic operation is not performed after the release of emergency stop or storage travel limit
alarm.
(Ⅲ) The automatic operation is not performed after the coordinate system is established, changed or
moved.
The (Ⅰ), (Ⅱ) above or 94, 96, 97 alarm reset causes P/S 97 alarm.
P/S 94 alarm is issued by the establishment of a coordinate system.
P/S 96 alarm is issued by the move of a coordinate system.
The block for the restartable machining is one of the many blocks. The block follows the block when
the coordinate system is last set or changed before the interruption of machining.
Note 2: In P or Q type, the tool moves to the machining restarting position by one axis each time. The stop of

50
Volume Ⅱ Chapter 4 Operation
st
a single block is possible after the motion of the 1 axis. However, manual operation rather than MDI
operation can be inserted. The returned axes cannot move.
Note 3: When input signals, offsets and other conditions are different from the past in searching, the tool
cannot return to the machining starting position. i.e. the single block switch is set to ON or switch to
Auto/TAPE mode for continuous search operation.
Note 4: When feed hold is active during search or reset operation is performed in or after search, make sure
to carry out program restarting operation from the beginning. After the search, however, the reset
state in MDI mode is defined by parameter 006 CLER.
Note 5: Cycle start can be ignored provided that the program restart switch is set to ON.
Note 6: Always set the manual absolute switch to ON position for manual operation no matter it is before or
after machining.
When a program restarting operation instead of resetting is performed after manual operation or
when manual operation is performed along the axis that has not returned to the machining restarting
position, the motion concerned is assumed to be performed as the manual absolute switch is set to
ON position regardless the manual absolute switch is at ON or OFF position.
Note 7: In principle, the tool cannot return to the correct position in the following cases:
(a) When the manual absolute switch is set to OFF for manual operation.
(b) When the tool is moved in the lock state of the machine.
(c) When external mirror image function is used.
(d) When the coordinate system is not set at the beginning of incremental programming.
(e) When program mirror image function is used.
(f) When manual operation is inserted during the returning of an axis.
(g) When machine lock is disabled after the program restart is commanded in machine lock state.
(h) When program restart command is given during the execution of the cutting blocks with skip or
before the block with absolute command being executed.
(i) When the program restart is commanded in the blocks of the compound canned cycle.
(j) When coordinate system and offset are established after search. Nevertheless, in the condition of
(c) the P type return of the tool is available in the blocks following the block that has ON/OFF
switching. In this case, interruption in the mirror image remains the same. In addition the P type
return of the tool in the condition of (e) is also available.
Note that no alarm is given in above case!
Note 8: When the specified block only includes M98, M99, macro program calling command (M65, G66 and
G77) or macro program statement, or block not specified is searched, No.60 alarm will be given.
Note 9: When program restarting operation is commanded and G28 is detected without returning to the
reference point after power on, release of emergency stop or travel limit alarm (immediate stop), P/S
alarm (98) will be issued.
Note 10: After the search, P/S alarm (99) is given when a move command is executed through MDI
operations before axis motion.
Note 11: After the program restart is commanded, “RSTR” blinks at the bottom of the LCD screen before the
return of the last axis (Z).

4.4.20 Comparison and Stop function for sequence number


This function is used to stop machining after an command is executed to a preset sequence
number.
(a) Select the MDI mode.
(b) Press the SETTING key to display the setting page. (Move the cursor to the number
180 by pressing the ∨ key. The cursor can’t be moved at address N.
(c) Key in the command in the sequence of P , the sequence number to stop, and
INPUT .
(d) Select the Auto mode for machine automatic operation.
(e) Press the CYCLE START key. The machine stops after the data in the block whose
sequence number has been preset in step (c).

51
GSK983T Turning CNC System User Manual

(f) The preset sequence number is cleared while the Comparison and Stop function is being
exectued.
(g) If the function is needed to execute once again, repeat the above steps from(a).
Note 1: Sequence number O cannot be used for comparison stop.
Note 2: The predetermined sequence number is cleared by resetting. Hence after the setting, automatic
running is performed in a state not reset.

4.4.21 Display of parameters (functional key PARAMETER )


Press the PARAMETER key to display the parameters, which are laid out in several pages.
Find the desired parameter by pressing the PAGE key (see Appendix 5 for the meanings of
parameters).

4.4.22 Program edit (functional key PROGRAM )


The programs stored in memory may be altered. The alteration is done by word unit.
(1) Select the Edit Mode.
(2) Press the PROGRAM key.
(3) Select the program No.. Proceed with (4) if the program has been selected; otherwise,
perform program number search.
(4) Search the word to be altered.
(a)By scanning.
(b)By word search.
(5) Alter, insert or delete the words.
Note 1: Word definition and edit unit
A word comprises an address and the numeral that follows. For user macro program, however, the
concept of word is indefinite. Hence the concept of “edit unit” is adopted. Edit unit serves as the
object of alteration and deletion in a single operation. Move the cursor to the edit unit beginning in a
single pass. For data insertion, the data is inserted behind the edit unit.
Definition of edit unit
(1)From one address to the next one;
(2)Address:character, IF, WHILE, GOTO, END, DO, =, ; (EOB)
According to the definition, a word is also an edit unit.
On the basis of the following explanations about edit, strictly speaking, word shall be called “edit
unit”.
Note 2: During program execution, machining is temporarily suspended by single block stop, feed hold and
other functions. Nevertheless, continuing to execute a program is not allowed after program
alteration, insertion and deletion; otherwise the program cannot be correctly executed. Program is
displayed on the LCD after subsequent machining.To alter stored data in Edit mode, they must be
altered in reset condition before program execution or when resetting operation is performed after
editing.

4.4.22.1 Word scanning


Scan a word each time
(1) Press the cursor ∨ key.
The cursor moves forward word by word on the screen. The cursor is displayed underneath the
address character of the selected word.
(2) Press the cursor ∧ key. The cursor moves reversely word by word on the screen. The
cursor is displayed underneath the address character of the selected word.
(3) Continuous search can be conducted by pressing down and holding the cursor ∨ or ∧

52
Volume Ⅱ Chapter 4 Operation

key.
(4) The next page is displayed and search starts from the beginning of the page by pressing the
page ∨ key.
(5) The previous page is displayed and search starts from the beginning of the page by pressing
the page ∧ key.
(6) Displaying page by page is possible by pressing down and holding the cursor ∨ or ∧
key.

4.4.22.2 Word search


When searching a word, use this method.
Search a specified word from the present position forward.

N1234×100.0 Z1250; S1234; N5678 M03

Present/scanned word The object of search S1234


(word displayed)
Search direction
(1) Key in S, 1, 2, 3 and 4 with the keypad.
Note 1: The search for S1234 can not be done that it only enters S123 with the keypad.

Note 2: The search for S009 can not be performed as it only enters S9 with the keypad. S009 shall be
entered with the keypad for the search.

(2) Press ∨ key to start searching.


The cursor is displayed underneath S of S1234 after the search.

4.4.22.3 Address search


Search a specified address from the present position forward.

N1234×100.0 Z125.0; S1234; N5678 M03

Present/scanned word The object of search M03


(word displayed)

(1) Key in M.
(2) Search starts when the cursor ∨ is pressed. The cursor is displayed underneath M after
the search.
Note : either word search and address search do not start by pressing the cursor .

4.4.22.4 Methods for returning to the beginning of a program

01100 N0001×12.34; Z15.67; G01×12.5; M04

Beginning Present/scanned word


(word displayed)

53
GSK983T Turning CNC System User Manual

(1) Method 1 A program is displayed from its beginning when the RESET key is pressed in
Edit mode.
(2) Method 2 Perform program number search.
(3) Method 3
(a) Set to Auto mode.
(b) Press PROGRAM key to enter into the program page.
(c) Press the cursor ∧ key to display the program from the beginning.

4.4.22.5 Word insertion (active when the program lock is ON)


To insert T105

N1234×100.0 Z125.0; S1234; N5678 M30;

Object of search
(1) Quickly search and scan the word preceding the position where a word is to be inserted.
(a) See 4.4.22.1 for scanning.
(b) See 4.4.22.2 for word search.
Positioning the cursor to Z1250.
(2) Key in the word to be inserted.
T 1 0 5 INSERT
Note 1: When what is inserted is not an address but a numeral, the inserted number is added to the
word(Edit unit) indicated by the cursor; in the above example, the insertion of 2.5 will create
Y12502.5 when the cursor is underneath Z in Z1250.
Note 2: A numeral can also be added to the behind of all addresses, e.g. EOB, IF, etc. When the cursor is
underneath “;”, the insertion of 23 will create “; 23”. However, it makes no sense in programming.

4.4.22.6 Word alteration (active when the program lock is ON)

N1234×100.0 Z125.0 T105; S1234

To be changed to M15
(1) Search and scan the word to be altered.
(2) Key in the new word M , 1 and 5 and press the ALTER key.

N1234×100.0 Z125.0 M15; S1234


Block altered

4.4.22.7 Insertion or alteration of words, blocks and strings


Words, blocks, character strings can be inserted (up to 32 characters).
In the foregoing example, to insert T105 M20, key in
T 1 0 5 M 2 0 INSERT key.
Likewise a word indicated by the cursor can be changed to words, blocks or strings, etc.
Note 1: When the cursor is underneath Z in Z125.0, by the insertion of 2.5 M20 it becomes Z125.02.5 M20.
Note 2: When the cursor is underneath T in Z125.0 T105, by the insertion of 2.5 M20 it becomes Z125.02.5
M20.

54
Volume Ⅱ Chapter 4 Operation

4.4.22.8 Word deletion (active when the program lock is OFF)

N1234 X100.0 Z125.0 T105; S1234;

To delete Z1250
(1) Search and scan the word to be deleted.
(2) Press the DELETE key.

N1234×100.0 T105; S1234;

The block after deletion

4.4.22.9 The deletion till EOB(active when the program lock is ON)
Presently searched/scanned word(displayed)

N1234×100.0 Z125.0 T105; M13; S1234;

Range of deletion

Press the EOB and DELETE keys to delete the part till EOB and the cursor moves to the
underneath of the address character of the next word.

S1234

4.4.22.10 Deletion of blocks (active when the program lock is ON)


The range of deletion covers from the currently indicated word to the block whose sequence
number is specified.

N1234 M10; M15 X10.0;…… T0122; N2233 S1200; N3344 Z10.0;

Range of deletion

(1) Key in the sequence number of the last block to be deleted start from the position of the
cursor. As follow:
N 2 2 3 3
(2) Press the DELETE key.
N3344 Z10.0;

4.4.22.11 Memory sorting


The frequent edit of part program sometimes prevents the memory from economic usage,
resulting in the failure to store the program data whose length is specified. Hence it is necessary to
regularly do memory sorting.
(1)In Edit mode.
(2)Press the PROGRAM to the page of program or program check.
(3)Press the CANCEL and SHIFT keys in sequence
After sorting, the admissible number of characters is indicated at the bottom of the screen.

55
GSK983T Turning CNC System User Manual

Note 1: For one program, the memory stores it by the standard length. For many programs, some
storage areas are used to identify these programs.
Note 2: The storage areas to be altered or inserted exceeding the actual length are wasted in quick part
program edit. Memory sorting may eliminate these waste.

4.4.22.12 Display of all stored program numbers


Once the contents of the memory described in 5.22.11 are sorted, all stored program numbers
are displayed.

Fig. 4-72

4.4.22.13 Edit of user macro program


User macro program may be edited as the common program edited in Edit mode with the
program lock switch is released. The following points shall be observed:
(a) SHIFT key
Once the SHIFT key is pressed, the cursor changes from “—” to “∧”. Press the key with a
character in the lower right of it on the MDI panel in this state, this character in the lower right can be
entered.
After entering a character, the cursor restores to “—”. If the SHIFT key is pressed twice, the
cursor also restores to “—”.
(Example)

PROGRAM:

Cursor

Cursor for keyed in

Fig. 4-73

56
Volume Ⅱ Chapter 4 Operation

(b) Deletion, insertion and alteration of a program


While editing an entered user macro program, the cursor moves at the following locations:
(Ⅰ) At an address
(Ⅱ) At the / of an optional block skipped over
(Ⅲ) At the left beginning # of a substitution statement
(Ⅳ) (,=, ;
(Ⅴ) At the initial character of IF, WHILE, GOTO, END, DO or SETVN
On the LCD screen, there is a character blank space before the characters above. Deletion,
alteration and insertion may be performed by a unit between the front and rear cursor positions.
(Example) Cursor position
N001 X-#100 ;
#1=123 ;
N002 / 2 X [12/#3] ;
N003 X-SORT [#3/3*#4+1]] ;
N004 X-#2 Z#1 ;
N005 #5 = 1+2-#10 ;
IF [#1 NE 0] GOTO 10 ;
WHILE [#2 LE 5] DO 1 ;
# [2000+#2] = #2*10 ;
#2 = #2+1 ;
END 1 ;

Note 1: The cursor cannot be stopped inside ( ).

Control OUT/IN
(Example) ( _#1=100) ;

The cursor cannot stop here.

Note 2: The position of the cursor can change with the changed program.
(Example) X100 Z200;

If Z200 is changed into 100 with the ALTER key, it will become X100100.
(c) Abbreviations of macro program words
To alter or insert a macro program word, the word can be abbreviated to its first two
characters. The underlined part can represent the word as an abbreviation. i.e. WHILE,GOTO,END,
SOR,AND,SIN,COS,TAN,ATAN,SORT,ABS,BCD,BIN,FIX,FUP,ROUND,SETVN

(Example): When WH [TA[#1*AB[*2]]LERO[#3] ] is entered as data of keyboard entry, the actual


entry will be: WHILE [TAN [#1*ABS[#2] ]LEROUND[#3] ] .

4.4.23 Display of running time


Automatic running time can be accumulated and displayed in hour, minute and second
(increment of 2s) on the screen. Time is displayed as indicated in the figure below when the
SETTING key is pressed. Press the PAGE key for other pages.

57
GSK983T Turning CNC System User Manual

Fig. 4-74
Note 1: The accumulated time includes automatic running time but not the stop times of feed hold and
single block.
Note 2: If the power supply is switched off after the stop of automatic operation, a time error up to 6
minutes may be caused after power on again.
Note 3: When necessary, time can be preset through setting operations. See section 4.4.8, the data
number is 57, 58, 59.

4.4.24 Menu switch function


It is possible to enable or disable the switch function of the CNC memory using the LCD instead
of the machine operation panel. With this function, the number of switches on the operation panel can
be reduced.
The signals that may be switched on or off through the LCD are as follows:
(1) SINGLE BLOCK
(2) MACHINE LOCK
(3) DRY RUN
(4) BLOCK SKIP1~9
(5) X MIRROR IMAGE,Z MIRROR IMAGE
(6) DISPLAY LOCK
(7) AUX FUNC LOCK
(8) MANUAL ABSOLUTE
Once the switch signal data set on the LCD is stored into magnetic memory, these switch data
remains unchanged even the power is cut off.
These signals are not completely determined by those displayed on the LCD.
These signals are deemed to be switched on no matter whether the machine panel signals or the
signals set on the LCD are switched on.
Therefore, these signals can be switched on or off through the LCD if they are cancelled through
the operation panel or disconnected with the signal cables.
Refer to machine manual for signals on/off by MDI/LCD switch.
Setting and display:
The LCD state of the above signals may be displayed through the following operations.
(a) Display
(Ⅰ) Select the setting chapter 3, for setting display, press the SETTING key and then press it
twice again.
(Ⅱ) Press the PAGE key to select the desired page from the two pages displayed.

58
Volume Ⅱ Chapter 4 Operation

Page 1: displays the switches other than optional blocks skipping


Page 2: displays optional block skipping 1~9 switch.
(b) Setting
Proceed as follows after the above procedures:
(Ⅰ) Move the cursor to the item to be changed by pressing the cursor ∨ , ∧ key.
(Ⅱ) When the address P is pressed, enter 1 for switching on and 0 for switching off. Press
the keys in the sequence of P, 0 or 1 , INPUT.

Fig. 4-75

4.4.25 Graphic function

4.4.25.1 Function introduction


The actual processing may be checked by the tool path of machining shown on the LCD. And the
graphic scaling up or down may also be done on the LCD.
By parameter setting it may select the following 3 drawing coordinate system.

Fig. 4-76

AXIS PLAN SELECT=0 to select(0)


AXIS PLAN SELECT =1 to select(1)
AXIS PLAN SELECT=2 to select(2)

59
GSK983T Turning CNC System User Manual

The maximum graphic dimensions (on LCD) are as follows:


Gc Graphic center

54mm 72mm

72mm 54mm

Fig. 4-77

The maximum graphic range shown in above figure covers 144mm horizontally, 108mm vertically.
If the drawing scope is over this range, the scale that ranges from 0.01 to 100.00 may be used.
Usually the scale is defined by following factors:
SCALE=smaller one of H, or V
α
SCALE H =
horizontal programmed path length
β
SCALE V =
upright programmed path length
α : 144mm (by radius )
288mm (by diameter)
β: 108mm (by radius )
216mm (by diameter)
Note 1: Usually Z axis is specified by radius, X axis by radius/diameter via a parameter, and the scaling
is usually according to the screen center.

Program After scaling Gc: graphic


center

Gc
GO
+ Programmed path

Path after scaling

Fig. 4-78
When the tool path is out of the center, the tool path may exceed the drawing range. Then it may
use the following 4 parameters:
RANGE X (MAX):
RANGE X (MIN):
RANGE Z (MAX):
RANGE Z (MIN):
So the graphic center (GCX,GCZ) may be calculated by following formula:
GCX=[X(MAX)+X(MIN)]/2
GCZ=[Z(MAX)+Z(MIN)]/2
Note 2: Even X axis is specified by diameter in programming, X (MAX),or X (MIN) is specified by radius.

60
Volume Ⅱ Chapter 4 Operation

The values are determined by input unit 0.001mm or 0.0001 inch. In addition, it turns into
0.0001mm, 0.00001inch if “insertion unit 1/10” is selected.
Once these parameters are set, they remain active till T key is pressed in Graphic page.

Even the workpiece coordinate origin is changed, the graphic origin and center is not changed on
screen. That is, workpiece coordinate origin always coincides with the graphic origin.

(Example)

Fig. 4-79

After G50 command is executed, the drawing path is shown as the divided line ( )
As for rapid moving, the tool path is indicated by a dot line( ), as for cutting moving,
the tool path is indicated by a continuous line ( )

4.4.25.2 Operations
(1) Graphic parameters setting
The parameters that can be set for graphics in any mode should be set in advance.
① Press the GRAPH soft key,the graphic parameters as following figure may be shown on LCD.

Fig. 4-80

② Press the ∨ or ∧ key, the cursor may be moved to the object position.
③ Set the graphics parameters by keying in P , numerals, INPUT keys.
④ Repeat ②③ operations to finish all the parameters.
(2) Graphic parameters description:
AXIS PLAN SELECT:set grahic p(XZ=0、left ZX=1 and right ZX=2)

61
GSK983T Turning CNC System User Manual

Fig. 4-81

RANGE(MAX),(MIN): Set maximum or minimum range for tool path on graphic plane
X=0,0
Z=0,0
Setting range:
0~±99999999
1=0.001mm or 0.0001inch(usually)
1=0.0001mm or 0.00001inch(input unit /10)
Setting range:
1~100000
1=0.01 fold(usually)
LCD CENTER X: set graphic center coordinate in workpiece coordinate system
LCD CENTER Z: If MAX, MIN of RANGE are set,they are automatically set after the 1st
graphic.
(3) Tool path description:
① In GRAPHIC PARAMETER page, press AUX soft key again, it displays as following:

Current position
(absolute)

Drawing status
S: ST… in drawing
T: TRM… drawing end
* … valid mark
Fig. 4-82

② Press T key, then press S key, the mark “*” moves to S: ST, so the LCD is ready for
drawing. And it will be cleared if there is a graphic.
③ Start auto run, and the tool path will be shown on the LCD.
④ Press T key, the drawing stops. Press S key, the previous graphics disappears and it
starts next drawing.

Note 1: Because the drawing is done according to the coordinates changed in auto running, the program
must be started in Auto mode. Please lock the machine if drawing is to be done alone.

62
Volume Ⅱ Chapter 4 Operation

Note 2: Since the drawing can’t be made if feedrate is too high, reduce the rate by dry run or the like for
drawing.
(4) Example
Condition: by diameter
Input unit: 0.001mm
Drawing plane 1(AXES=1)

Program
Program start point
(130,150)

Fig. 4-83

(a) Drawing for the whole tool path:


If MAX,MIN values are set as following, the drawing center is (35, 75).
XMAX=70000, XMIN=0
ZMAX=150000, ZMIN=0
SCALE H=144/150=0.96
SCALE V=216/130=1.66
SCALE 0.96(96)
(b) Drawing in the shadow:
XMAX=30000,XMIN=0
ZMAX=90000,ZMIN=40000
SCALE H=144/50=2.28
SCALE V=216/60=3.6
SCALE 2.88(=288)
(c) To deviate the graphic, substitute the values of MAX and MIN with the same value
MAX+α, MIN+α
α<0, upward, deviate to the right
α>0, downward, deviate to the left

63
GSK983T Turning CNC System User Manual

4.5 Display on Position Displayer (Optional)

The position displayer shows the current position.


There is an axes position reset key on position displayer, when this key is pressed, the
corresponding axis position is cleared and this point will be taken as the origin.
When a coordinate system (G50) is set by parameter (PPD), or by program, or by MDI panel, its
coordinates can be set into the position displayer.
Note 1: If the displayer lock switch is set to ON, the move in this state is equivalent to no moving in
position displayer. So there is a difference between the actual moving amount and the value
displayed.
Note 2: Position is displayed by inch unit when inputing by inch; and millimeter unit when inputting by
millimeter. Press RESET key to clear the displayer when switching between millimeter and inch
units. Either of the switching between millimeter and inch units does not change the data
displayed, but change the decimal point position.
Note 3: The displayer doesn’t show the mechanical compensation such as backlash compensation.

64
Volume Ⅱ Appendix 1

Appendix 1 Codes for Programming


ISO code Code meaning ISO code Code meaning
0 Numeral 0 V Address V
1 Numeral 1 W Address W
2 Numeral 2 X Address X
3 Numeral 3 Y Address Y
4 Numeral 4 Z Address Z
5 Numeral 5
6 Numeral 6
7 Numeral 7
8 Numeral 8
9 Numeral 9
A Address A
B Address B
C Address C
D Address D
E Address E
F Address F
G Address G
H Address H
I Address I
J Address J SP Space
K Address K + Positive sign
L Address L - Negative sign
M Address M / Stop of optional block
N Address N · Period (decimal point)
O Address O # Hash sign
P Address P * asterisk
Q Address Q , Comma
Semicolon, end of block
R Address R ;
(input by EOB)
S Address S = Equal sign
T Address T [ Left square bracket
U Address U ] Right square bracket

65
GSK983T Turning CNC System User Manual

Appendix 2 G Codes List


The following codes may be used directly in this CNC system, but some special G codes may be
used by parameters setting:

Standard Special G Special G Group Function


Basic/Optional
G code code B code C No.
*G00 *G00 *G00 positioning (rapid) B
Linear interpolation (cutting
*G01 *G01 *G01 B
01 feed)
G02 G02 G02 Arc interpolation CW B
G03 G03 G03 Arc interpolation CCW B
G04 G04 G04 Dwell B
G07 G07 G07 00 Sine control of feedrate O
G10 G10 G10 Offset setting O
G20 G20 G70 Inch input system O
06
G21 G21 G71 Metric input system O
G22 G22 G22 Storage travel limit ON O
04
G23 G23 G23 Storage travel limit OFF O
Reference point return
G27 G27 G27 O
check
G28 G28 G28 Return to reference point O
G29 G29 G29 00 return from reference point O
Return to the 2nd reference
G30 G30 G30 O
point
G31 G31 G31 Skip O
G32 G33 G33 Linear, taper thread cutting B
01
G34 G34 G34 Variable lead thread cutting O
Automatic tool
G36 G36 G36 O
compensation X
00
Automatic tool
G37 G37 G37 O
compensation Z
Cancel tool nose R
*G40 *G40 *G40 O
compensation
Tool nose R compensation
G41 G41 G41 07 O
–left
Tool nose R compensation
G42 G42 G42 O
– right
Coordinate system setting,
G50 G92 G92 B,O
00 spindle max. speed setting
G65 G65 G65 User macro call O
G66 G66 G66 User macro mode call O
12 User macro mode call
G67 G67 G67 O
cancel
G68 G68 G68 13 Double toolpost mirror ON O

66
Volume Ⅱ Appendix 2

G69 G69 G69 Double toolpost mirror OFF O


G70 G70 G72 Finishing cycle O
G71 G71 G73 Outer circle roughing cycle O
G72 G72 G74 End face roughing cycle O
G73 G73 G75 Closed loop cutting cycle O
00 End face grooving cycle
G74 G74 G76 O
and peck drilling cycle
Grooving cycle and parting
G75 G75 G77 O
cycle of outer circle
G76 G76 G78 Threading cycle O
G90 G77 G20 Cutting cycle A O
G92 G78 G21 01 Threading cycle O
G94 G79 G24 Cutting cycle B O
Constant surface speed
G96 G96 G96 O
control
02
Constant surface speed
*G97 *G97 *G97 O
control cancel
*G98 *G94 *G94 Feed per minute B
05
*G99 *G95 *G95 Feed per rotation B
— *G90 *G90 Absolute command B
03
— *G91 *G91 Incremental command B

B: basic function O: optional function

Note 1: Some G codes may be specified in the same block. When G codes belong to the same group are
specified in a block, the lastly specified G code will be active.
Note 2: The G codes of 01~13 group are modal, once a G code is specified, it remains active till another
one from the same group is specified.By parameter setting, it may restore to the initial G code
state when CNC is reset. The G codes marked with * are the initial state G codes. If there are 2 G
codes with * in a same group, it should be set by parameter for which one is the intial state G
code. But for G20 or G21, it is a state before power on.
Note 3: The G codes in group 00 are non-modal, which are only active in a specified block.
Note 4: A G code of each group is displayed.
Note 5: When a G code not listed in the above table is specified or an optional G code not defined by
control unit is specified, No.010 alarm will be given. (But no alarm by G60 and G61.)

67
Appendix 3 Range of Command Values

Metric input Inch input Metric input Inch input


Address
Metric output Metric output Inch output Inch output

Min. unit 0.001 mm 0.0001 mm 0.001 mm 0.0001 inch

Max. stroke (distance to


±99999.999 mm ±99999.999 mm ±3937.0078 inch ±9999.9999 inch
reference point)
X, Z, U, W,
±99999.999 mm ±3937.0078 inch ±99999.999 mm ±9999.9999 inch
Max. command value I, K
R 0~99999.999mm 0~3937.0078inch 0~99999.999mm 0~99999.999mm

Feed per
1~15000 mm/min 0.01~600.00 inch/min 1~15000 inch/min 0.01~600.00 inch/min
Cutting feedrate minute
(override 100% ) Feed per
0.01~500.00 mm/r 0.0001 ~50.0000 inch/r 0.01~500.00 mm/r 0.0001~50.000 inch/r
rotation
F
Feed per
0.1~15000.0 mm/min 0.01~600.00 inch/min 0.1~15000.0 mm/min 0.01~600.00 inch
Cutting feedrate minute
1/10(by parameters) Feed per
0.001~500.000 mm/r 0.0001~50.0000 inch/r 0.001~500.000 mm/r 0001~50.0000 inch/r
rotation

Rapid rate (axes independent) 60 mm/min~15000 mm/min 60 mm/min~15000mm/min 6.0 inch/min~600.0 inch/min 6.0 inch/min~600.0 inch/min

Upper limit of cutting feedrate


Manual rapid rate 6~15000 mm/min 6~15000 mm/min 0.6~600.0 inch/min 0.6~600.0 inch/min
FO
Jog feedrate 1~2000 mm/min 0.04 -78.7 inch/min 5~1016 mm/min 0.02~40 inch/min

F code F 0.001~500.000 mm/r 0.0001 -50.0000 inch 0.01~500.00 mm 0.0001~50.0000 inch


Thead lead
E code F 0001~500.000 mm 0.000001~9.999999 inch 0.0001~500.0000 mm 000001~9999999 inch

Thead lead(feedrate F code F 0.001~500-000 mm/r 0.0001~50.0000 inch/r 0.001~500.000 mm/r 0.0001 ~50.0000 inch/r

68
1/10 by parameter) E code E 0.00001~9999999 mm 0.000001~9.999999 inch 0.00001~99.99999 mm 0.000001 ~9.999999 inch
Maximum spindle speed 5000 r/min 5000 r/min 5000 r/min 5000 r/min
Coordinates of 2nd reference
point (distance to reference 0~±99999.999 mm 0~±99999.99 mm 0~±3937.0078 inch 0~±9999.9999 inch
point )
OFX, OFZ,
Tool offset value 0~±999.999 mm 0~±99.9999 inch 0~±999.999 mm 0~±99.9999 inch
OFR
Minimum value of incremental
0.001 mm 0.0001 inch 0.001 mm 0.0001 inch
feed
Backlash compensation 0~0.255 mm 0~0.255 mm 0~0.025 inch 0~0.0255 inch
Setting range of storage or travel
±99999.9 mm ±99999.999 mm ±3937.0078 inch ±9999.9999 inch
limit (distance to reference point )
X, U, 0 ms~99999999ms 0 ~99999.999 s 0 ~99999.999 s 0 ~99999.999 s
Dwell
P 0 ms~99999999ms 0m s~99999999ms 0 ms~99999999ms 0 ms~99999999ms
: (ISO)
Program No. 1~9999 1~9999 1~9999 1~9999
O (EIA)
Sequence No. N 1~9999 1~9999 1~9999 1~9999
Preparatory function G 0~99 0~99 0~99 0~99
Spindle function S 0~9999 0~9999 0~9999 0~9999
Tool function T 0~9932 0~9932 0~9932 0~9932
Miscellaneous function M 0~99 0~99 0~99 0~99
Sequence No. specification P,Q 1~9999 0~9999 0~9999 0~9999
Repetitions L 1~9999 0~9999 0~9999 0~9999
Angle A Specified value
Parameter Cut depth D,I,K Same as coordinate word
Times D 1~9999 1~9999 1~9999 1~9999

69
GSK983T Turning CNC System User Manual

Appendix 4 Calculation Chart

D4.1 Incorrect thread length


In automatic acceleration and deceleration, thread cutting, it may result in the incorrect δ1,δ2
lead as Fig.4.1, so δ1,δ2 allowance should be given in programming.

Fig. A-1 Incorrect thread parts

(1) δ2 is defined by thread cutting speed V(mm/s)and servo time constant T1.

δ2=T1·V (mm)……………………………………………(A-1)
Unit: T1: s, V: mm/s
V is defined by thread lead L and spindle speed R.
1
V= ·R(r/min)·L(mm)
60
O The servo time constant T1(s)is usually calculated by T1=0.033.
(2) δ1 definition

δ1 is defined by thread cutting speed V and servo time constant T1 and thread precision
a.
δ1={t-T1+T1exp(- t )} V……………………………………(A-2)
T1
t
a = exp (- ) ………………………………………………(A-3)
T1
Lead error ΔL is allowed when the lead is less than the specified lead L in the beginning
of the threading cutting, so
ΔL
a= ……………………………………………………(A-4)
L

If a is confirmed, the time t for precision is decided by formula (3), put t value into (2) to
get δ1. And the V,T1,T2 are decided by the same method as that of δ2.
Because δ1 is hard to get by calculation, it may be got by the following figure, see the
explanation.

70
Volume Ⅱ Appendix 4

δ1(V=10mm/s)
V=20mm/s Servo time constant
V=40mm/s T1
(2) T2

(3) (1)
O
L
L

Fig. A-2

First get the thread precision a at (1) according to the thread grade and lead, then get δ1 for
V=100mm/s at (2) by the acceleration and deceleration time constants in machining. Thus δ1 at other
velocity can be got according to the thread cutting feedrate at (3).

D4.2 Simple formula for incorrect thread length

Fig. A-3

L⋅R
(1) δ2= (mm)
1800 *

L; thread lead (mm) R; spindle speed (r/min)

L⋅R
(2) 1= ·(-1-Lna)
1800 *
=δ2·(-1-Lna)

As *Servo time constant T=0.033

71
GSK983T Turning CNC System User Manual

Fig. A-4 Calculation chart for approaching distance δ1

a is allowable thread error, the calculation for “-1-Lna” is as following:


Table A-1
a -1-Lna
0.0005 4.298
0.01 3.605
0.015 3.200
0.02 2.912

(Example) As R=350rpm
L=1mm
a =0.01
350 × 1
δ2= =0.194mm
1800
δ1=δ2×3.605=0.701mm

72
Volume Ⅱ Appendix 4

D4.3 Radial error for arc cutting


There is an error between the output shaft and input shaft due to the motor lag when using DC
servo motor. In linear interpolation, no error occur in the commanded linear path by the tool, but in
circular interpolation, especially in high speed arc cutting, there is a radial error. This error may be
obtained by the following procedures:

Programmed path

Actual path

Fig. A-5
△r: max. radius error (mm)
V: feedrate (mm)/s
r: arc radius
T1: exponential acceleration and deceleration time constant in cutting (s) (T1=0)
T2: DC motor time constant (s)

Note: The exponential acceleration and deceleration time constant in 6T is always 0.

△r=
1
2
(T 2
1
2
+T 2 • ) V2
r
………………………………………(A-10)

The part radius r(mm) and allowable error △r(mm)are given in actual machining, so the
allowable velocity V(mm/s)may be got by formula (A-10).
The acceleration and deceleration time constant in cutting varies with the machine tool, please
refer to the manual by the machine builder.
The time constant of DC servo motor is calculated by formula T2=33×10 3(s)

73
GSK983T Turning CNC System User Manual

Appendix 5 Parameters
When the CNC is connected to a servo motor or a machine, parameters should be set to
maximize the performance of the machine and the servo motor. Since parameters are involved with
machine types, please refer to the parameter list provided by the machine builder.

E5.1 Display of Parameters


Press the PARAMETER key on the NC panel, the parameters will be displayed on LCD.
Change the page by 2 methods:

Method 1
Press the PAGE ∧ key, it pages forward.

Press the PAGE ∨ key, it pages backward.


Method 2
Press the address N key, input the parameter No. to be searched by numeral keys,
then press INPUT key, the relevant parameter will be shown on LCD.

E5.2 Setting of Parameters


(a) Set the parameter switch on the CPU board to ON, and the alarm No.100 will be shown
on the LCD.
(b) Set the mode switch on the operation panel to MDI, or set the CNC to emergency state.
(c) See E5.1 Display of Parameters.
(d) Press cursor key; or press N key, then press the corresponding numeral keys in
sequence, lastly press INPUT key to select a parameter No.
(e) Press P key, then input the data, and this data will be shown on the bottom of the
page.
(f) In the event of error during keying in, press the CANCEL key.
(g) Press INPUT key to finish the data input. Make sure the setting is correct.
(h) After the setting of all parameters is finished, Set the parameter switch on the CPU board
to OFF. Cancel the emergency if CNC system is in emergency state.
(i) Press the RESET key to cancel the alarm state (No. 100).
(j) Cut off the system power once if No.000 alarm is shown.

E5.3 Parameter Table


Table A-2 Parameter No. Table
Parameter Contents
No.
0000~0004 Fixed parameters
0005~0010 For various parameters
0012 Reference point return modes or directions
0013 Gear ratio of spindle to position encoder,

74
Volume Ⅱ Appendix 5

0014~0015 DMR referring counter capacity


0018 Frequency of backlash compensation, input unit 1/10
0019 Time intervals of MF, SF, TF and FIN
0020 Validity of reference point return function
0024~0026 For various parameters
0027~0028 CMR
0031~0032 VLOC min. clamping value
0035~0036 non-buffer M code
0037 Spindle motor speed at spindle gear shift
0038 Spindle speed at spindle exact stop
0040 External tool compensation II—allowable value of B function limit check
External tool nose compensation II—data multiplier of B function outer diameter
0041~0056
measure
0057~0059 Machining time
0062 Signal counter of spindle velocity in-position
0064 Chamfering width in threading
0065 Retraction amount in G74, G75
0066 Finishing allowance in G76
0067 Retraction amount in G71, G72
0068 Min. cut depth in threading G76
0069 Minute move neglection of an acute angle near 90º in tool compensation
0070~0071 In-position width
0074~0075 Position offset limit at stopping
0078~0079 Position offset limit at moving
0082~0083 Grid offset
0086~0087 Gain override of servo loop
0090 Gain of servo loop
0091 JOG feedrate
0092~0093 Rapid traverse rate
0096~0097 Time constant of linear acceleration and deceleration(for rapid)
0100~0101 Time constant of JOG feed
0104 Time constant of X axis acceleration and deceleration in threading
0105 Time constant of acceleration and deceleration in cut feeding
0106 Upper limit of cut feedrate
0107 Lower limit of X axis acceleration and deceleration in threading
0108 Lower limit of acceleration and deceleration in cut feeding
0109~0110 JOG feedrate lower limit of in acceleration and deceleration
0113 The lowest rate (F0) of rapid traverse
0114 Low rate of returning to the reference point
0115~0116 Backlash compensation
0119 Spindle deviation compensation( S analog output )
0120~0123 Spindle speeds for gear 1~4 as spindle speed command is 10V
0124~0125 Offset compensation

75
GSK983T Turning CNC System User Manual

0132 Spindle min. speed (G96) in constant surface speed control


0133 Measuring speed in automatic compensation
0140 Gain adjustment of spindle speed (S4 code analog output )
0141~0142 Presetting of operation time
0143~0158 Storage type travel limit setting
0159~0160 2nd reference point
0163~0164 r values of X, Z axes in automatic compensation
0165~0166 ε values of X, Z axes in automatic compensation
0300~0304 Fixed parameters
0305~0308 For various parameters
0310~0313 Baudrate of I/O device
0316 Parameters related with resolver/inductosyn
0317 Code to “#”sign (user macro program)
0319 Parameters related with user macro program
0320~0322 Macro program called by M codes
0323~0332 Macro program called by G codes
0340 Input device selection
0341 Output device selection
0342 Cutting speed of skipping
0343~0346 Spindle low speeds to Gear 1~4 in constant surface speed control
0358 Max.input value of incremental wear offset
0375~0376 Automatic coordinate system setting value by metric input
0379~0380 Automatic coordinate system setting value by inch input
0388 Max.value of wear offset

Table A-3 Parameter function table


Parameter
Function Content
No.
005 Servo disable signal active or inactive
·Auto drift compensation active or inactive
006
·In-position check executed or not
014~015 Check override setting (DMR)
If alarm issued as VRDY signal is connected to servo before PRDY
026
output
027~028 Command override setting (CMR)
Servo

031~032 Clamping setting of feed command


070~071 In-position width
074~075 Position offset limit at stopping
078~079 Position offset limit at moving
082~083 Grid offset
086~087 Gain override of servo loop
090 Gain of servo loop

76
Volume Ⅱ Appendix 5

124~125 Drift compensation of X, Z axes


128~129 Servo phase shift
316 CDSCG Feedback frequency check executed or not
DSCG Resolver, inductosyn, pulse encoder for position detection
316
system setting
005 S4 code output and S code (BCD) output
009 S4 code output voltage sign(analog)
009 Spindle override function setting(SOV)
Spindle stop signal selection by normal-open or
010
normal-close(*SSTP)
037 Spindle motor speed at spindle gear shift
038 Spindle speed at spindle exact stop
062 Signal counter of spindle velocity in-position
119 Spindle speed deviation compensation( S4 code analog output A/B)
Spindle Spindle max. speeds for gear 1~4 as spindle command voltage is
120~123
function 10V
132 Spindle min. speed in constant surface speed control
134 Max. spindle speed allowable
140 Gain adjustment of S4 code analog output
S4 code binary 12 bits output / analog output low speed clamping
307
Setting for all axes or single axis active
0343~ Spindle low speeds to Gear 1~4 in constant surface speed control
0346
Deceleration signal 0 or 1 setting in reference point return
010
(*DECX, *DECZ)
Reference point return

012 Reference point return modes or directions


014~015 Axes referring counter capacities
function

020 Validity of reference point return function


082~083 Axes grid offset setting
114 Low rate setting of returning to the reference point
Distance beween axes from 2nd reference point to 1st reference
159~160
point
007 Offset setting by incremental or absolute input
008 Offset setting by radius or diameter
010 If data setting allowable as machine lock is OFF.
Tool compensation

External tool compensation—allowable value of B function limit


040
check(disabled)
External tool compensation—data multiplier of B function outer
040~056
diameter measure (disabled)
069 Minute move neglection in tool radius compensation
133 Speed measuring setting in automatic compensation
163~164 r value setting of X, Z axes in automatic compensation
165~166 ε value setting of X, Z axes in automatic compensation

77
GSK983T Turning CNC System User Manual

0358 Max.input value of incremental wear offset


compensati 0388 Max.value of wear offset
Backlash 012 Initial backlash direction after power on
018 Backlash compensation pulse frequency(256KHz)
on

115~116 Backlash compensations of X, Z axes


008 Dry run validity setting in threading
009 Canned cycle setting for blocks without move command
Canned cycle

064 Chamfering width setting in threading (G92, G76)


065 Retraction amount in G74, G75
066 Finishing allowance in G76
067 Retraction amount in G71, G72
068 Min. cut depth in threading G76
307 Finishing setting in the last profile cutting in G71, G72
025 Macro program interruption parameter
053 M codes for macro program interruption active
054 M codes for macro program interruption inactive
Macro command function

306 Setting of macro program called by T code


308 Setting of DI, DO read and write by macro program variables
Setting of macro program interruption executed in the middle or at
314
the end of the block
317 Used for storing code of “#”sign by macro program
318 Used for parameters setting of macro program
319 Used for parameters setting of macro program
320~322 3 kinds of M codes setting for macro program call
323~332 10 kinds of T codes setting for macro program call

E5.4 Cautions for parameters usage


1) The parameters №0000-0004 and №0300-0304 differs with machine tools, please see the
additional parameter list for NC.
2) Please set to “0” for the parameters not listed in above table.
3) For the parameters by the format

and , they are set by binary system (1 or 0).]

Those by the format are set by decimal system.

4) “-” is unallowed for the parameter that has no sign.


5) The disabled parameter should be set to “0”.
6) It may be set to “0” for the parameter that has not been used with a specified setting range.

78
Volume Ⅱ Appendix 5

E5.5 Description of parameters


Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0005 ORWD EIT EENB SCD FMIC MDL MIC SCW
Description
Set to 1 Set to 0
ORWD Unused
EIT Interlock signal active Interlock signal inactive
EENB Servo OFF signal active Servo OFF signal inactive
Even S4 code (analog output) or S4 If S (analog output) or S4 code (binary 12
code (binary 12 bits output)(optional) bits output)(optional) is selected, the S4
is selected, S4 code (analog) or S4 code codes are output, or else S code
SCD
code (binary 12 bits) command are (BCD) is output.
not transmitted, but S code (BCD) is
output.
FMIC Feedrate unit is 1/10 for metric input. Feedrate unit is not 1/10 for metric input.
Min. unit displayed by position Min. unit displayed by position displayer
MDL displayer is 0.01mm for metric input, is 0.001mm for metric input, 0.0001inch
0.0001inch for inch input. for inch input.
Min. set unit is 0.01mm for metric Min. set unit is 0.001mm for metric input,
MIC
input, 0.0001inch for inch input. 0.0001inch for inch input.
Min. move unit is 0.0001inch(inch Min. move unit is 0.001mm(metric
SCW
system). system).

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0006 ADFT EOM CINP DCS CLER TVC PPD RDRN
Description
Set to 1 Set to 0
Perform automatic drift Not perform automatic drift compensation
ADFT
compensation
When M30 is commanded, it is It does not return to the program beginning
transmitted to machine side and FIN if M30 is commanded and transmitted to
signal is feedback, it start from the machine side without reset and rewinding
1st program block for continuous signals (in storage mode).
EOM execution. Or external reset but FIN
signal is sent back from the machine
side, it returns to the program
beginning for resetting(in Auto
mode).

79
GSK983T Turning CNC System User Manual

Between two non-cutting blocks, or Between two non-cutting blocks, or error


error detection is active, next block detection is active, next block is executed
is not executed till the mechanical as soon as the specified speed slows
position coincides with the down to 0.
CINP
commanded position as the
specified speed slows down to
0.(This is called in-position
detection.)
It starts by CYCLE START key
The NC starts by CYCLE START key
on the panel at NC side without
DCS on the panel when it receives the start
passing machine side. (only in MDI
signal feedback from the machine side.
mode)
Clear the NC by RESET key, Reset the NC by RESET key, external
CLER external reset signal, reset and reset signal, reset and rewind signals. (see
rewind signals.(see appendix 7) appendix 7)
Not perform TV check in control Perform TV check in control output part
TVC
output part (annotation). (annotation).
The relative coordinate system The relative coordinate system display unit
PPD position display unit may be preset may not be preset by G50(G92) command.
by G50(G92) command.
RDRN Dry run is active in rapid traverse. Dry run is inactive in rapid traverse.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0007 ICR IOF GSP SCTO G90 G98 G00
Description
Set to 1 Set to 0
EOB code is punched out by LF as EOB code is punched out by LF CR CR as
ICR ISO code is punched out. ISO code is punched out.

The offset value input is taken as an


incremental one if incremental offset The offset value input is taken as an
IOF
is selected.(just for tool nose R absolute one.(just for tool nose R offset)
offset)
GSP Use special G code B. Use standard G code.
Perform the speed in-position check Not detect speed in-position signal.
SCTO when it is from rapid traverse to
cutting feed commanded by S code.
The initial state is G90 when power The initial state is G91 when power on or
G90
on or clearing.(special G code) clearing.
It becomes G98 state when power It becomes G99 state when power on or
G98 on or clearing(G94 for special G clearing(G95 for special G code B/C)
code B/C)
It becomes G00 state when power It becomes G01 state when power on or
G00
on or clearing. clearing.

80
Volume Ⅱ Appendix 5

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0008 ORC RWL TLCC T2D TOC NMTN TDRN
Description
Set to 1 Set to 0
ORC Offset commanded by radius. Offset commanded by diameter.
Forbidden area for outside of storage travel Forbidden area for inside of storage travel limit 3.
RWL
limit 3.
New offset is active from next block if offset New offset is active from next T code if offset is
TLCC
is changed. changed.
The lower 2 digits is for offset in T code(2+2 The lower 1 digit is for offset in T code(1+1 digits)
T2D
digits)
TOC Offset cancelled in resetting Offset not cancelled in resetting
M,S,T but move commands are performed M, S, T and move commands are not performed
NMTN as STLK signal is connected.( (STLK: as STLK signal is connected.
interlock signal)
TDRN Dry run is active as for threading. Dry run is inactive as for threading.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0009 TCW CWM SOV SSCR MOR SOVC REDT ISOT
Description
Set to 1 Set to 0
TCW Symbol of S4 code analog output
TCW CWM Symbol
M03, M04 are both
0 0
positive.
M03, M04 are both
0 1
negative.
CWM
M03 is positive,
1 0
M04 is negative.
M03 is negative,
1 1
M04 is positive.
SOV Spindle override active Spindle override inactive
The peripheral speed in rapid block The peripheral speeds are calculated by
is calculated by the X axis end point the X axis current coordinates for rapid
SSCR
coordinate in constant surface traverse and cutting in constant surface
control mode. control mode.
In a single canned cycle, the cycle is In a single canned cycle, the cycle is not
MOR executed in blocks with no move executed in blocks with no move
commanded. commanded.
The spindle override is clamped at The spindle override is not clamped at
SOVC 100% in thread cutting 100% even in threading.(speed override
(G32,G76,G92). active)

81
GSK983T Turning CNC System User Manual

In Edit mode, it may also store the


The part program can’ be stored into the
REDT part program into the memory by
memory by CYCLE START key.
CYCLE START key.
With storage travel limit selection
With storage travel limit selection the
the manual rapid traverse is active
ISOT manual rapid traverse is active only
even reference return is not
reference return is performed.
performed.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0010 DGNE SETE DECI SSPB NPRD PROD CTHD
Description
Set to 1 Set to 0
DGNE Data output active in diagnosis Data output inactive in diagnosis
SETE Input is allowed as lock key is ON. Input is unallowed as lock key is ON.
Deceleration is active if *DECX,*DECZ is Deceleration is active if *DECX,*DECZ is “0”in
DECI
“1”in reference return. reference return.
SSPB Spindle stops if *SSTP signal is “0”. Spindle stops if *SSTP signal is “1”. (standard 0)
NPRD Not use decimal point input and display Use decimal point input and display
It displays the programming position as It displays the actual position involving the tool
PROD
current value is shown. compensation, tool nose compensation.
CTHD For continuous thread cutting(disabled) Continuous thread cutting is disabled.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0012 ZGMZ ZGMX ZMZ ZMX
Description
Set to 1 Set to 0
Reference return in Z axis by Reference return in Z axis by grid
ZGMZ
magnet switch switch
Reference return in X axis by Reference return in X axis by grid
ZGMX
magnet switch switch
The backlash initial direction is The backlash initial direction is positive
ZMZ negative for Z axis reference return for Z axis reference return direction and
direction and power on. power on.
The backlash initial direction is The backlash initial direction is positive
ZMX negative for X axis reference return for X axis reference return direction and
direction and power on. power on.
Note 1: For the axis with reference return, the return direction is the same as the backlash intial
direction at power on. But for the axis with no reference return, this parameter only involves
the backlash intial direction.
Note 2: Backlash compensation is performed after power on when moving in the direction set by
this parameter.

82
Volume Ⅱ Appendix 5

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0013 PSG2 PSG1 RVZRN
Description
Set to 1 Set to 0
PSG2 Gear ratio of spindle to position encoder
Override ×1 ×2 ×3 ×4
PSG1 PSG2 0 0 1 1 Spindle speed
Override =
PSG1 0 1 0 1 Position encoder speed
Reference return is disabled in Vb Reference return active in reverse
the reverse direction of the direction
RVZRN
returning in manual reference
return.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0014 DMRX GRDX
0015 DMRZ GRDZ
Description
Set to 1 Set to 0
Detection overrides for X, Z axes
Override
Setting code
Pulse encoder
0 0 0 1/2
0 0 1 1
DMRX 0 1 0 1
DMRZ
0 1 1 2
1 0 0 3/2
1 0 1 3
1 1 0 2
1 1 1 4

83
GSK983T Turning CNC System User Manual

Reference counter capacities for X, Z axes


Reference counter capacities=Detection override x2000 (for 2000PPr pulse
encoder)
= Detection override x2500 (for 2500PPr pulse
encoder)
Setting code Capacity for a cycle
0 0 0 1 2000
GRDX 0 0 1 0 3000
GRDZ
0 0 1 1 4000
0 1 0 0 5000
0 1 0 1 6000
0 1 1 1 8000
1 0 0 1 10000

Note: If a value not listed in above table is set, the capacity is set to 8000.
Note: DMR and GRD are set by binary system.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0018 DIC CPF2 CPF1
Description
Set to 1 Set to 0
DIC Input unit is 1/10. Input unit is not 1/10.
Backlash compensation pulse frequency (for all axes) should be set to 256
KHZ.
CPF2 Frequency
32 64 128 256
CPF1 KHZ
CPF2 0 0 1 1
CPF1 0 1 0 1

84
Volume Ⅱ Appendix 5

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0019 TMF TFIN
Description
Set to 1 Set to 0
Duration from M,S,T code transmitting to MF,SF,TF code transmitting
TMF
16~128ms.(16ms interval)
TFIN Duration of FIN signal receive width 16 ms ~256ms. (16ms interval)

M code

It is ignored for X<TFIN


TMF or TFIN=16×(N+1)ms (N=1-15)
TMF TFIN Setting
16 ms 16 ms above 0 0 0 0
32 ms 32 ms above 0 0 0 1
48 ms 48 ms above 0 0 1 0
64 ms 64 ms above 0 0 1 1
80 ms 80 ms above 0 1 0 0
96 ms 96 ms above 0 1 0 1
112 ms 112 ms above 0 1 1 0
128 ms 128 ms above 0 1 1 1
144 ms 144 ms above 1 0 0 0
160 ms 160 ms above 1 0 0 1
176 ms 176 ms above 1 0 1 0
192 ms 192 ms above 1 0 1 1
208 ms 208 ms above 1 1 0 0
224 ms 224 ms above 1 1 0 1
240 ms 240 ms above 1 1 1 0
256 ms 256 ms above 1 1 1 1

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0020 CLSI ZTNZ ZTNX
Description
Set to 1 Set to 0
CLSI Not detect servo position circuit LSI Detect servo position circuit LSI
ZTNZ Enable reference return function of X axis Shield reference return function of X axis
ZTNX Enable reference return function of Z axis Shield reference return function of Z axis

85
GSK983T Turning CNC System User Manual

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0024 PML2 PML1 DLME RDAL
Description
Set to 1 Set to 0
PML2 Pitch error compensation override, the setting offset multiplied by this override
is output
Override ×1 ×2 ×3 ×4
PML1
PML2 0 0 1 1
(for all axes)
PML1 0 1 0 1
When storing programs into When storing programs into memory, those
memory, those programs that programs that has been stored are not
DLME
has been stored are cleared cleared automatically.
automatically.
Press O 9 9 9 9 READ keys, all programs will be saved.
When storing programs into When storing programs into memory,
RDAL
memory, they are all stored. storing one or all programs are determined
by MDI operation.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0025 MUSR MSUB MPRM TSE
Description
Set to 1 Set to 0
Subprogram type user macro Macro program type user macro program
MUSR
program interruption interruption
Subprogram type user macro macro type user macro program interruption.
MSUB
program interruption,
Note: For the Subprogram type user macro program interruption, the local
variables in macro program does not change before or after interruption; for the
macro program type user macro program interruption, the local variables in macro
program changes before or after interruption.
The M code for user macro The user macro program interruption is
program interruption is set by controlled by M96, M97.
MPRM
parameter.(corresponding to
parameter NO.53, NO.54)
The user macro program The user macro program interruption is
interruption is triggered by state. triggered by edge.
TSE
Note: Interruption signal input is active for trigger triggering; front edge of
interruption signal is active for edge triggering.

86
Volume Ⅱ Appendix 5

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0026 FHDL NGMP OFFVY CKIM
Description
Set to 1 Set to 0
The MPG each scale amount is The MPG each scale amount varies
FHDL 0.01mm/0.001inch, which is not affected with MP2, MP1 signals.( MP1~MP2:
by MP2, MP1 ,NGMP signals. signal of MPG override)
Move amount for MPG a scale
Move amount
NGMP MP2 MP1
Metric (mm) Inch (inch)
0 0 0 0.001 0.0001
0 0 1 0.01 0.001
0 1 0 0.1 0.01
NGMP
0 1 1 0.1 0.01
1 0 0 0.01 0.001
1 0 1 0.001 0.0001
1 1 0 0.1 0.01

1 1 1 0.1 0.01
Servo alarm is not issued even VRDY is ON Servo alarm is issued if VRDY is ON before
OFFVY
before PRDY output. PRDY output.
Auto run with no regard to MLK signal Active once MLK signal is ON.
CKIM
Note: Machine lock is active immediately in Manual mode.

87
GSK983T Turning CNC System User Manual

Parameter
No.
0027 CMRX

0028 CMRZ
Description
Command overrides for X, Z axes
(1) Reference parameter No. 014,015 on setting value as parameter 0316
ACMR=0(standard)

Code setting Override


1 0.5
2 1
4 2
10 5
20 10

Note If the setting code is the one not in the table, the override is 1, and it is set by
decimalism and the setting code is 2 for pulse encoder..
(2) When parameter 0316 ACMR=1, (any override)
(i)Setting for overrides of 1/2~1/27 for software series
1
Setting value = + 100
(override commanded)
(ii)Setting for commanded overrides 2~48
Setting value =2×(commanded override)
Note: In case of (ii), the commanded override should be set by integer.

Parameter No.
0031 VLOCX
0032 VLOCZ
Description
VLOCX
The lowest speed clampings of X , Z axes
VLOCZ

Setting range: 0~7(VELO)


Speed value commanded(VELO)

88
Volume Ⅱ Appendix 5

Parameter No.
0035 MBUF1
0036 MBUF2
Description
Up to 2 M codes with no buffer (except M00, M01, M02, M30), setting range: 00~97

Parameter No.
0037 SPGST
Description
Spindle motor speed (for constant surface speed) at spindle gear shift,
SPGST
setting range: 0~255
Motor speed at gear shift
Setting value = × 4095
Spindle motor max. speed

Parameter No.
0038 SPSOR
Description
Spindle speed at exact stop (for constant surface speed)
SPSOR
Setting range: 0~255 Unit: r/min

Parameter No.
0040 EXOMAX
Description
In external input compensation B function, allowable value in limit check
EXOMAX
(disabled)
Setting range: 0~255 Unit: 0.002 mm (metric input) / 0.0002 inch (inch input)

Parameter No.
0062 SCTTIM
Description
Delay setting of spindle speed in-position signal detection, time setting
SCTTIN from S function to spindle in-position signal detection, Setting range:
0~255, Unit: ms

Spindle speed
in-position signal
S command

Delay counter

Pulse assignment

89
GSK983T Turning CNC System User Manual

Parameter No.
0041 EXOFS1

0042 EXOFS2
0043 EXOFS3

0044 EXOFS4

0045 EXOFS5

0046 EXOFS6

0047 EXOFS7

0048 EXOFS8
0049 EXOFS9

0050 EXOFS10

0051 EXOFS11

0052 EXOFS12

0053 EXOFS13/MACINTON

0054 EXOFS14 MACINTOF


0055 EXOFS15

0056 EXOFS16
Description
EXOFS1 In external input compensation B function, override for outer diameter
~EXOFS16 check (disabled) Setting range: 0~15 Unit: 0.1
MACINTON Setting range: 03~97 M codes for macro program active
MACINTOF Setting range: 03~97 M codes for macro program inactive
Note: The MACINTON,MACINTOF of parameter No.053,054 are only active when the 4th bit of
parameter 025 is 1. Otherwise, they are inactive even set.

Parameter
No.
0057 TMHOR (hour)
0058 TMMIN (minute)
0059 TMSEC (second)
Description
TMHOR(h) Time display 0~255 (increment by an hour )
TMMIN(min) Minute display 0~59 (increment by a minute)
TMSEC(s) Second display 0~58 (increment by 2 second)
The machining time(time for STL lighting) is displayed by hour, minute, second. Even the
power is cut off, the machining time is still saved in the RAM memory. Because the write to
RAM memory is by 6 min intervals, the data less than 6 min will be cleared at power off. If it is
required to be preset for 0, do by usual operations. (alter the value by pressing SETTING
key)

90
Volume Ⅱ Appendix 5

Parameter No.
0064 THDCH
Description
Chamfering width of thread cutting (G92,G76), Setting range:
THDCH 0~127(Unit: 0.1 pitch)
The value for X axis(G92) may also be set by MDI panel (address SET)

Due to the delay of the servo system, the chamfering in following figure is equal to or less
than 45º.

About 45

Threading chamfering
Threading cycle (G76)

r: Chamfering for tread cutting.

91
GSK983T Turning CNC System User Manual

Parameter
No.
0065 GROVE
Description
GROVE Retraction amount of G74,G75
Setting range: ( metric input) 0~16383 Unit: 0.001mm(by radius)
(inch input) 0~16383 Unit: 0.0001inch
(It may press the SETTING key to alter the value.)

Parameter
No.
0066 THDFN
Description
THDFN Finish allowance of G76
Setting range: metric input 0~16383 Unit: 0.001 mm (by radius)
inch input 0~16383 Unit: 0.0001 inch,
Above is specified by radius, the parameter may also be set by MDI panel (address SET),
referring to parameter No.68. (It may press the SETTING key to alter the value.)

Parameter
No.
0067 MRCDT
Description
MRCDT Retraction amount of compound canned cycle G71,G72
Setting range: metric input 0~16383, Unit: 0.001 mm (by radius)
inch input 0~16383, Unit: 0.0001 inch (by radius)
(It may press the SETTING key to alter the value.)
Cutting feed

92
Volume Ⅱ Appendix 5

Parameter
No.
0068 THCLM
Description
THCLM Min. cutting depth of thread cutting cycle G76
Setting range: metric input 0~16383, Unit: 0.001 mm
inch input 0~16383 Unit: 0.0001 inch
(It may press the SETTING key to alter the value.)

If the value obtained by formula d( n +1 − n) is less than that of THCLM, the cutting amount is
clamped at THCLM value.

Parameter
No.
0069 CRCDL
Description
The minor move limit for neglection at outer acute angle near to 90º in tool nose radius
CRCDL
compensation
The minor move is ignored when △X<CRCDL, △Z<CRCDL.
By this process, it may eliminate the affection to the workpiece by the tool.

93
GSK983T Turning CNC System User Manual

Parameter
No.
0070 INPX
0071 INPZ
Description
INPX For in-position width setting of X, Z axes.
INPZ Setting range: 0~32767 detection units, standard setting: 10

Parameter
No.
0074 STPEX
0075 STPEZ
Description
STPEX
Stop position error limit of X, Z axes
STPEZ

Parameter
No.
0078 SERRX
0079 SERRZ
Description
SERRX Moving position error limit of X, Z axes
SERRZ Setting range: 0~32767 detection units

94
Volume Ⅱ Appendix 5

Parameter
No.
0082 GRDSX
0083 GRDSZ
Description
Grid drift setting of X, Z axes (only for grid), see parameter No.14,15
GRDSX Setting range: 0~±32767 detection units.
GRDSZ Positive(negative) for reference point positive(negative) drift; the setting value
should be less than the reference counter capacity.
(1) Reference return by grid

Lock

*DCX 1-turn signal from OFF to


Rapid rate ON defines reference point.

(Set by parameter No.114)

Set between two grids

Grid (motor
1-turn signal)

Grid offset set by parameter No.82,83

X axis, return positively

Select the Manual mode, connects ZRN signal (to +0N), the machine moving parts will
traverse by feeding to reference point by Manual key. It decelerates and moves at a certain
low speed after touching the deceleration limit switch(sending *DCX.*DCZ signals for
reference point return), then the feeding stops at the 1st grid of the limit switch resetting and
the reference return finish signals ZPX,ZPZ are sent. The direction for returning to reference
point may be set dependently for each axis. Once the reference return is finished and
ZPX,ZPZ signals are sent out, JOG feed command fails before ZRN signal is cut off.

(2) Reference return by magnet switch


The so-called reference return by magnet switch means that in actions of (1), feeding
stops after the front edge of ZDX,ZDZ signal substituting the grid signal is given, and it
sends out reference return finish signal ZPX,ZPZ. In addition the reference return detection
can’t be done by G27.

95
GSK983T Turning CNC System User Manual

Above actions are shown in time sequence diagram: Lock

Parameter
Rapid
No. rate

Reference return (magnetic switch) time


sequence diagram

0086 LPGMX
0087 LPGMZ
Description
LPGMX
Servo loop gain constant setting of X, Z axes
LPGMZ

96
Volume Ⅱ Appendix 5

E
Setting value =2048×
L

E= 7V(7V/1000r/min motor); 3.5 V(7V, 2000r/min motor)


L = Mechanical move amount for motor one-turn mm or inch
a = Detection unit(mm or inch)
Example: L = 2mm E=7V (on occasion of 1000r/min, 7V for motor)
Setting value: 2048x7/2x0.0005x1000=3584 (Detection unit 0.0005mm)
Machine feeding Loop gain series
amount for motor Axis 7V, 2000r/min servo
7V, 1000r/min servo motor
one-turn motor
10mm, 10 deg X&Z 1434 717
8mm, 8 deg X&Z 1792 896
6mm, 6 deg X&Z 2389 1195
X 2867/1434 1434/717
5mm, 5 deg
Z 2867 1434
X 3584/1792 1792/896
4mm, 4 deg
Z 3584 1792
X 4779/2389 2389/1195
3mm, 3 deg
Z 4779 2389
X 7168/3584 3584/1792
2mm, 2 deg
Z 7168 3584
X 7168/3584 3584/1792
1mm, 1 deg
Z 3584 3584
X 2867/1433 1434/717
0.5 inch
Z 2867 1434
X 3584/1792 1792896
0.4 inch
Z 3584 1792
X 4779/2389 2389/1195
0.3 inch
Z 4779 2389
X 5734/2867 2867/1437
0.25 inch
Z 2867 2867
X 7168/3584 3584/1792
0.2 inch
Z 7168 3584
0.15 inch X&Z 4778 2389
0.1 inch X&Z 7168 3584

The left value of / sign is for radius programming, right one for diameter programming as
regard to X axis. The data listed is standard. The max. feedrate limit should be taken into
consideration if DMR,CMR is not changed.

97
GSK983T Turning CNC System User Manual

Parameter No.
0090 LPGIN
Description
LPGIN For position control loop gain setting Setting range: 1~9999, Unit: 0.01s-1

Parameter No.
0092 RPDFX
0093 RPDFZ
Description
Rapid rate of X, Z axes
RPDFX
Setting range: 30~24000 Unit: mm/min (metric output)
RPDFZ
30~9600 Unit: 0.1 inch/min (inch output)

Parameter No.
0096 LINTX
0097 LINTZ
Description
LINTX Linear acceleration/deceleration time constant of X, Z axes (for Rapid)
LINTZ Setting range: 8~4000, Unit: ms

Parameter No.
0100 EXPTX
0101 EXPTZ
Description
Exponential acceleration/deceleration time constant of X, Z axes in JOG
EXPTX
feed
EXPTZ
Setting range: 8~4000 Unit: ms

98
Volume Ⅱ Appendix 5

Parameter No.
0104 THRDT
Description
Exponential acceleration/deceleration time constant of X axis in threading,
THRDT set a proper value combining with parameter No.107
Setting range: 1~4000 Unit: ms
Note: The thread run-out may be decreased if parameter No.104 time constant is small, and it may
shorten the runout time in threading chamfering, but if the value is too small it may cause
mechanical impacts. Therefore by the setting of parameter No.104 time constant and
parameter No.107 lower limit speed of acceleration and deceleration, the value may increase
but the thread runout is still small. At the same time, shorten the runout time in thread
chamfering. Usually parameter No.104 (time constant) should be set with regarding to the
max. speed in threading. And parameter No.107 (lower limit speed) should be set to 2m/min.

99
GSK983T Turning CNC System User Manual

Parameter
No.
0091 JOGF
Description
JOGF JOG feedrate when JOG override switch stays at 10
Setting range: 1~150 Unit: mm/min (metric output) ;
1~60 Unit: 0.1 inch/min (inch output)
Example: set parameter No.91 for 20 mm/min
Feedrate
Position JOG feed
override
mm inch
0 0% 0mm/min 0 inch/min
1 10 1.0 0.02
2 20 1.4 0.03
3 30 2.0 0.04
4 40 2.7 0.06
5 50 3.7 0.08
6 60 5.2 0.10
7 70 7.2 0.14
8 80 10 0.2
9 90 14 0.3
10 100 20 0.4
11 110 27 0.6
12 120 37 0.8
13 130 52 1.0
14 140 72 1.4
15 150 100 2
16 160 140 3
17 170 200 4
18 180 270 6
19 190 370 8
20 200 520 10
21 200 720 14
22 200 1000 20
23 200 1400 30
24 200 2000 40

Note 1: The feedrate varies by geometric series at a override base of 100%; it may also get a
feedrate unlisted above by setting an override 100% by a parameter.
Note 2: The feedrate error in above table is ±3%.

100
Volume Ⅱ Appendix 5

Parameter
No.
0105 FEEDT
Description
Exponential acceleration/deceleration time constant in cutting, setting range:
FEEDT
8~4000, Unit: ms

Parameter
No.
0106 FEDMX
Description
Upper limit of cutting feedrate (for all axes)
FEDMX Setting range: 6~15000 Unit: mm/min (metric output)
6~6000 Unit: 0.1inch/min (inch output)

Parameter
No.
0108 FEDFL
Description
Lower limit (FL) of exponential acceleration/deceleration in cutting
Setting range: 6~15000 Unit: mm/min (metric output)
FEDFL
6~6000 Unit: 0.1 inch/min (inch output)
Usually set to 0

Parameter
No.
0109 JGFLX
0110 JGFLZ
Description
Lower limit (FL) of JOG exponential acceleration/deceleration of X, Z axes
JGFLZ Setting range: 6~15000 Unit: mm/min (metric output)
6~6000 Unit: 0.1 inch/min (inch output)

Parameter
No.
0113 RPDFL
Description
Min. rate (F0) of Rapid override (for all axes)
RPDFL Setting range: 6~15000 Unit: mm/min (metric output)
6~6000 Unit: 0.1inch/min (inch output)

101
GSK983T Turning CNC System User Manual

Parameter
No.
0107 THDFL
Description
THDFL Lower limit (FL) of exponential acceleration/deceleration of X axis in threading
Setting range: 6~15000 Unit: mm/min (metric output)
6~6000 Unit: 0.1inch/min (inch output)
The thread run-out may be decreased if this parameter setting value is big, and it may
shorten the runout time in thread chamfering, but if the value is too big it may cause
mechanical impacts. Please set a proper value according to the machine.
Standard setting: 2000m/min (Refer to parameter No.104)
(1) With thread chamfering

(2) Performing thread chamfering

Confirmation after parameter setting


After the parameter setting, in threading (G92) mode, perform the dry run with the max.
threading feedrate, and confirm the following items with/without thead chamfering:
(1) The overshooting of TSA wave in X axis is within 5% when checking the thread
chamfering.
(2) Make sure the mechanical impact is not too big.

102
Volume Ⅱ Appendix 5

Parameter
No.
0114 ZRNFL
Description
Low feedrate(FL) of reference return (for all axes)
ZRNFL Setting range: 6~15000 Unit: mm/min (metric output)
6~6000 Unit: 0.1 inch/min (inch output)

Parameter
No.
0115 BKLX
0116 BKLZ
Description
BKLX
Backlashes of X, Z axes (X axis is set by diameter if diameter commanded)
BKLZ
Setting range: 0~225 Unit: 0.001mm (metric output)
0~225 Unit: 0.0001inch (inch output)
Note: The backlash unit is the detection unit if PRM316 ACMR=1 (any detection override
commanded).

Parameter
No.
0119 SPDLC
Description
Spindle speed offset compensation, i.e. for compensation setting of spindle
SPDLC voltage 0 offset (using B for constant surface speed)
Setting range: 0~± 8191 Unit: VELO

Parameter
No.
0124 DRFTX
0125 DRFTZ
Description
DRFTX
Servo loop internal drift compensation of X, Z axes
DRFTZ
Setting range: 0~±500 Unit: VELO
The value varies automatically after the automatic drift compensation parameter (No.006
ADFT) is set.
Note : If the compensation is over 500, No.412 or 422 alarm is issued.

103
GSK983T Turning CNC System User Manual

Parameter
No.
0132 LOWSP
Description
Min. spindle speed of constant surface speed control (G96)
LOWSP Active only when 5th bit of parameter No. 307 SLOW=1
Setting range: 0~9999 Unit: rpm

Parameter
No.
0133 ACALFL
Description
Measuring speed setting when automatic tool compensation function is
ACALFL available (for all axes)
Setting range: 6~15000mm/min 6~6000 inch/min

104
Volume Ⅱ Appendix 5

Parameter
No.
0120 GRMX1
0121 GRMX2
0122 GRMX3
0123 GRMX4
Description
GRMX1~GRMX4
Max. spindle speeds for gear 1~4 (4095 for S code binary output, speed at 10V for S4 code
analog output)
Setting range: 1~32767 (Unit: RPM)
(1) For gear 1~4, when spindle min. speeds are identical (when 5th bit of parameter No. 307
SLOW=1)

(2) For gear 1~4, when spindle min. speeds are different (when 5th bit of parameter No. 307
SLOW=0)

Parameter
No.
0134 SPDMX
Description
SPDMX Spindle max. speed limit Setting range: 0~9999 Unit: r/min
Note: If it is set to 0, spindle speed is not clamped.

105
GSK983T Turning CNC System User Manual

Parameter
No.
0140 PSANGN
Description
PSANGN The gain adjustment of S analog output is set by data.
Setting range: 700~1250 Standard setting range: 1000
Adjustment steps:
(1)Set it to “1000”
(2)Specify the max. S analog value (10V).
(3)Measure the output voltage.
(4)Set PSANGN by following formula.
10.0
setting value = × 1000
Voltage messured(V )
(5) After parameter setting, command max. S analog output voltage (10V) for 10V.

Parameter
No.
0141 TIMEI
Description
Working time presetting, also by setting operation
TIMEI
Setting range: 0~32767 Unit: 0.1h

Parameter
No.
0142 TIME2
Description
Working time presetting
TIME2
Setting range: 0~99999999 Unit: 0.1h

Parameter
No.
0143 LT1X1
0144 LT1Z1
0147 LT1X2
0148 LT1Z2
0151 LT2X1
0152 LT2Z1
0153 LT2X2
0154 LT2Z2
0155 LT3X1
0156 LT3Z1

106
Volume Ⅱ Appendix 5

0157 LT3X2
0158 LT3Z2
Description
LT1X1 LT □ □ □
LT1Z1
LT1X2
LT1Z2 Indicates the No. n acme in the quadrangular area.
LT2X1 Indicates an axis
LT2Z1
LT2X2 Indicates No. n stroke
LT2Z2 Stroke setting
LT3X1 Setting range: 0~±99999999 Unit: 0.001mm (metric output)
LT3Z1 0~±99999999 Unit: 0.0001inch (inch output)
LT3X2 The parameter No. 151~158 can also be set by setting operations.(X axis
LT3Z2 specified by diameter when diameter is commanded)

Parameter
No.
0159 REF2X
0160 REF2Z
Description
Distances from 2 reference point to 1st reference point of X, Z axes, diameter
nd

REF2X value for X axis if it is commanded


REF2Z Setting range: 0~±99999999 Unit: 0.001mm (metric output)
0~±99999999 Unit: 0.0001inch (inch output)

Parameter
No.
0163 GANMAX
0164 GANMAZ
Description
GANMAX r value setting of X, Z axes in automatic tool compensation
Setting range: 1~±99999999 Unit: 0.001mm (metric output)
GANMAZ
1~±99999999 Unit: 0.0001inch (inch output)
Note 1: Radius is commanded for X axis.
Note 2: The setting values should be over the values of parameter No.165, No.166.

107
GSK983T Turning CNC System User Manual

Parameter No.
0165 EPCX
0166 EPCZ
Description
EPCX ξ value setting of X, Z axes in automatic tool compensation, radius
commanded for X axis
Setting range: 1~±99999999 Unit: 0.001mm
EPCZ
1~±99999999 Unit: 0.0001inch
Note: Radius is commanded for X axis.

Start point A
X or Z

No.165,166 parameter

or Xa or Za

FR: rapid rate


FP: measuring speed (see parameter No.133)
In G6 or G37 mode, the machine moves in A area at a rapid rate from a start point to a
preset measuring point according to move commands(Xa or Za). Then it moves into B,C,D
area at a measuring speed set by parameter No.133 after stopping at point T. If the measuring
point in-position signal is given during moving in the B,C,D area, the machine stops
immediately. If the measuring point in-position signal is given outside the C,D area or not
given at point V, alarm No.80 will be issued.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0306 SKPF NEOP TMCR OFM
Description
Set to 1 Set to 0
Feedrate is FL rate by
Feedrate is commanded by F code if using
SKPF parameter No.342 if using
skipping command G31
skipping command G31
M02, M03, M99 not used for
NEOP program end while storing M02, M03, M99 used for program end
programs into memory.
User macro program called by User macro program can’t be called by T
TMCR
T code code

108
Volume Ⅱ Appendix 5

Tool position compensation is


OFM only active for block that has Tool position compensation is always active.
move command.

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0307 FCUT ABIC SLOW OTCS
Description
Set to 1 Set to 0
Finishing not performed after
Finishing performed after roughing in
FCUT roughing in compound canned
compound canned cycle(G71,G72)
cycle(G71,G72)
[ABS/INC] key active if X, Z values [ABS/INC] key inactive if X, Z values
ABIC are input by MDI while using special are input by MDI while using special G
G code, B or C. code, B or C.
The low clamping speed of the S4 The low clamping speed of the S4 code
SLOW code 12 bits binary code output or 12 bits binary code output or analog
analog output is active for all gears output is active for the respective gears
Machine stops immediately when Machine stops after deceleration when
machine move parts touch the travel machine move parts touch the travel
OTCS
limit switch.(mechanical position limit switch.(mechanical position not
lost) lost)

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0308 DIOM MSFT MANP RSTB
Description
Set to 1 Set to 0
DI, DO read available by macro DI,DO read not available by macro
DIOM
variables variables
SHIFT key active by keypad
SHIFT key inactive by keypad for user
MSFT for user macro program
macro program selection
selection
Argument taken as integer if Argument taken as a value with decimal
MANP macro variables has no decimal point if macro variables has no decimal
point point
Reset signal not output for Reset signal output for resetting by
RSTB resetting by emergency stop, emergency stop, external reset,
external reset, reset&rewind reset&rewind

109
GSK983T Turning CNC System User Manual

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0309 TLSK GRST LCTM APZ APX
Description
Set to 1 Set to 0
Tool group number input for
TLSK Tool group number not input for skipping
skipping
Clear all execution data in
Clear all execution data in groups in which
GRST storage groups for reset signal
tool life expired for reset signal input
input
LCTM Tool life is specified by time Tool life is specified by using times
APZ For automatic coordinate system setting (selection ) of X, Z axes
APX Active Inactive

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0310 NFED1 RSCB1 STP21 BAD1
0311 NFED2 RSCB2 STP22 BAD2
0312 NFED3 RSCB3 STP23 BAD3
0313 NFED4 RSCB4 STP24 BAD4
Description
Set to 1 Set to 0
If the space between the initial and last guide holes and program output when
NFED
using input/output devices 1,2, 3, 4 separately
1,2,3,4
Not output Output
If the control codes(DO1~DO4) used when using input/output devices 1,2, 3, 4
RSCB
separately
1,2,3,4
Not used Used
STP2 Stop bits for 2 or 1 when using input/output devices 1,2, 3, 4 separately
1,2,3,4 2 stop bits 1 stop bit
BAD
Baudrate settings for input/output devices 1,2, 3, 4 separately
1,2,3,4
audrate BAD1,2,3,4
50 0 0 0 0
100 0 0 0 1 Note 1: The baudrate of data trans-
mission between NC and ROBOT is set for
110 0 0 1 0
BAD4 when ROBOT interface is selected.
150 0 0 1 1 Note 2: See parameter No.340, 341.
200 0 1 0 0
300 0 1 0 1
600 0 1 1 0
1200 0 1 1 1
2400 1 0 0 0
4800 1 0 0 1
9600 1 0 1 0

110
Volume Ⅱ Appendix 5

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0314 MINT HZ HX
Description
Set to 1 Set to 0
Interruption executed after
Interruption executed immediately. (user
MINT current block is finished.(user
macro interruption Ι)
macro interruption Ⅱ)
HZ MPG interruption settings of X, Z axes
HX Active Inactive

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0315 PRT FCSS
Description
Set to 1 Set to 0
No output for the leading 0 as The space is output for leading 0 as data is
PRT data is output by DPRNT output by DPRNT command (DPRNT :
command output command for external data)
S analog voltage output by 8ms S analog voltage output by 64ms intervals
FCSS
intervals (new) (old)

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0316 CDSCG PCFBK ACMR DSCGZ DSCGX
Description
Set to 1 Set to 0
Not perform DSCG feedback Perform DSCG feedback frequency
CDSCG frequency detection (resolver, detection (always set to 0 after original
inductosyn) adjustment)
Perform servo feedback Not perform servo feedback detection
PCFBK
detection (See parameter No.363, 364)
For special CMR setting
ACMR Special CMR setting unallowed
(disabled)

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0318 PRG9 MSC9 MPD9 NSRH RSTL
Description
Set to 1 Set to 0
No. 9000-9899 programs edit No. 9000-9899 programs edit allowed
PRG9
unallowed

111
GSK983T Turning CNC System User Manual

For No.9000-9899 programs, user For No.9000-9899 programs, user


macro program statements macro program statements execution
MSC9
execution stops at single block in does not stop at single block in Single
Single block mode. block mode.
Not display the No.9000-9899 Display the No.9000-9899 programs
MPD9
programs during execution during execution
Not output OP signal during Output OP signal during sequence
NSHR
sequence number searching number searching
Not output STL signal when saving Output STL signal when saving
RSTL programs to memory by CYCLE programs to memory by CYCLE
START key in Edit mode START key in Edit mode

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0319 PRG8 MSC8 MPD8 SPAG MCS7
Description
Set to 1 Set to 0
No. 8000-8999 programs edit No. 8000-8999 programs edit allowed
PRG8
unallowed
For No.8000-8999 programs, user For No.8000-8999 programs, user
macro program statements macro program statements execution
MSC8
execution stops at single block in does not stop at single block in Single
Single block mode. block mode.
Not display the No.8000-8999 Display the No.8000-8999 programs
MPD8
programs during execution during execution
For direct input of drawing
dimensions (dialogue For direct input of drawing dimensions
programming), angle is (dialogue programming), angle is
commanded by a supplementary commanded by a common one.
one.

(X,Z)
SPAG

SPAG=0

SPAG=1

For No.0001-7999 programs, user For No.0001-7999 programs, user


macro statements execution stops macro statements execution does not
MCS7
at single block in Single block stop at single block in Single block
mode. mode.

112
Volume Ⅱ Appendix 5

Parameter
No.
0320 MMCD1(corresponding to program No.9001)
0321 UMMCD2 (corresponding to program No.9002)
0322 UMMCD3 (corresponding to program No.9003)
UMMCD1,2,3: M codes for user macro program call (up to 3)
Setting range: 01-97
(User macro program called by M00 unallowable, and it is equivalent to no setting even it
is set to 00.)

Parameter
No.
0323 UMGCD0 (corresponding to program No.9010)
0324 UMGCD1 (corresponding to program No.9011)
0325 UMGCD2 (corresponding to program No.9012)
0326 UMGCD3 (corresponding to program No.9013)
0327 UMGCD4 (corresponding to program No.9014)
0328 UMGCD5 (corresponding to program No.9015)
0329 UMGCD6 (corresponding to program No.9016)
0330 UMGCD7 (corresponding to program No.9017)
0331 UMGCD8 (corresponding to program No.9018)
0332 UMGCD9 (corresponding to program No.9019)
UMGCD0,1,2,3,…,9: G codes for calling user macro program (up to 10)
Setting range: 001-255
User macro program called by G00 unallowable, and it is equivalent to no setting even it is
set to G00.

113
GSK983T Turning CNC System User Manual

Parameter No.
0336 PECZER
0337 PECZRZ
PECZRX, Z: Pitch error origin of X, Z axes Setting range: 0-127
For a given point to the reference point by this setting
(Example) The pitch error origin is 0, one setting point 1 is at the location +8.000mm, the
other setting point 127 is at the location +1016.000mm, so the compensation range is 0~
+1016.000mm.
0(Origin point for pitch erro)

1 2 3 ………127
0 +8.000mm +16.000mm ………… +1016.000
(Machine origin point)
1st compensation value is set to system parameter No.1001(X axis ) or No.2001 (Z axis)
2nd compensation value is set to system parameter No.1002(X axis ) or No.2002 (Z axis)
3rd compensation value is set to system parameter No.1003(X axis ) or No.2003 (Z axis)
… …
This example is for that when the pitch erro compensation interval( parameter No.379, 380) is
8000.

Parameter
No.
0340 IDVICE
Description
When storing programs into memory, the setting for input device selection
IDVICE
(as INPUT DEVICE2=1 (RS232C) ) is active: Standard setting:2
When it is 2: RS232C (baudrate etc. should be set in parameter No.311)
When it is 3: RS232C (baudrate etc. should be set in parameter No.312)

Parameter
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No.
0341 ODVICE
Description
ODVICE For output device selection, standard setting: 2
When it is 2:RS232C (baudrate etc. should be set in parameter No.311)
When it is 3: RS232C (baudrate etc. should be set in parameter No.312)

Parameter No.
0342 PSKPFL
Description
FL speed for skipping (for all axes)
PSKPFL
Setting range: 6~15000 Unit: 1mm/min (inch output)

114
Volume Ⅱ Appendix 5

Parameter
No.
0343 GRMIN1
0344 GRMIN2
0345 GRMIN3
0346 GRMIN4
Description
GRMIN 4 gears, min. spindle speeds in constant surface control (G96) mode
1~4 Setting range: 0~9999 Unit: RPM, only parameter No.307 SLOW=0

Parameter
No.
0363 PCFBKX
0364 PCFBKZ
Description
PCFBKX
X, Z axes move amounts as servo feedback being detected
PCFBKZ
Note 1: Servo feedback detection is not performed as it is set to 0.
Note 2: The move amount of servo feedback detection is fixed at 0.255mm(0.025inch) .
Note 3: The setting value is for the machine move, so it should be as small as possible; an alarm
will occur if the setting value is too small. Make sure to set a proper one.

Parameter
No.
0375 PPRTMX
0376 PPRTM Z
Description
Values of X, Z axes in automatic coordinate system by metric input, distance
from the set coordinate system origin to the 1st reference point is set by metric
system.
PPRTMX Setting range: 0~99999999 Unit: 0.001mm
PPRTMZ For the metric/inch conversion selection, the parameter No.379, 380 should
be set.
They are only active for the active axis in automatic coordinate system by
parameter No.309.

115
GSK983T Turning CNC System User Manual

Parameter
No.
0379 PPRT1X
0380 PPRTIZ
Description
Values of X, Z axes in automatic coordinate system by inch input, distance
from the set coordinate system origin to the 1st reference point is set by inch
system.
PPRT1X Setting range: 0~99999999 Unit: 0.0001inch
PPRTIZ For the metric/inch conversion selection, the parameter No.375, 376 should
be set.
They are only active for the active axis in automatic coordinate system by
parameter No.309.

Parameter
No.
0383 PECINTX
0384 PECINTZ
Description
Pitch error offset interval setting of X, Z axes
PECINTX Setting range: 8000~20000000 Unit: 0.001mm (metric input)
PECINTZ 4000~20000000 Unit: 0.0001inch (inch input)
(max. offset distance =setting interval ×127)

Parameter
No.
0387 Password number
Description
A secret digits stored in advance for program lock (not displayed, only for the
Password
program after the No.9000)
number
Setting range:1~99999999

Parameter
No.
0408 LOCK/UNLOCK
Description
Program lock is open as a value identical with that of parameter No.387
LOCK/UNLOCK is input. Program lock is active if a value input is different with that of
parameter No.387.
Note: The program lock is inactive if parameter No.387 value is 0, and it doesn’ t affect the lock
state when power on or off NC. Don’t put the value other than 0 into parameter if program
lock is not needed.

116
Volume Ⅱ Appendix 5

Other parameters:
Parameter
No.
1000~ Pitch error offset setting of X axis,
1127 Setting range: 0~±7 Unit: 0.001mm
2000~ Pitch error offset setting of Z axis
2127 Setting range: 0~±7 Unit: 0.001mm
Description
See follows.

Note 1: Pitch error compensations are active at the end of return to reference point by all axes.
Compensation is inactive even parameter for pitch error compensation is set when reference
return is not performed. Parameter setting shall be made before reference point return. The
actual compensation is got by the parameter setting value multiplying compensation coefficient
(see parameter No.024).
Note 2: As PRM316 ACMR=1 (any commanded detection override), the unit of the pitch error
compensation is detection unit.

The point intervals for pitch error are identical that each axis may be set for 128 compensation
points(0~127).

Fig.A-6
The min. interval for pitch error compensation is as following:

n-1 comp. n comp. n+1 comp. n+2 comp.


… …
point point point point

Neg.2nd mea. Neg.1st mea. Pos.1st mea. Pos.2nd mea.


Ref.point
… point point point point …

Fig.A-7

When the pitch error is measured at the measuring points(by parameter No.383, 384), the
intervals between measuring points are identical. Set the 1st measuring point error from reference
point positive direction to the (n+1) compensation point, the 2nd , 3rd… measuring point errors to
(n+2), (n+3) …compensation points. The compensation method for negative direction is the same.
For example: pitch error compensation origin is 0, the interval is 8.000mm, the 1st set position is
+8.000mm, the 127th set position is +1016.000mm, so the compensation is made in a range from 0 to
+1016.000mm.

117
GSK983T Turning CNC System User Manual

Machine coordinate
system

Ref. point
As pitch error compensation origin is 0

Fig.A-8

If pitch error compensation origin is 60, the 61st set position is +8mm, the 0 set position is
-480mm, the 127th set position is +536 mm, so the compensation is made in a range from -480mm to
+536mm.

Reference point (as pitch error compensation origin is 60)

Fig.A-9

Pitch error compensation origin is defined by machine stroke and reference point, and it is set by
parameter No.336 and 337.
Pitch error compensation is set by an absolute (incremental) value, “±”sign indicates
compensation direction.
As an axis move positively for compensation: - error for + compensation; + error for -
compensation
As an axis move negatively for compensation: - error for - compensation; + error for +
compensation
Parameter No.024: compensation coefficient (×1, ×2, ×3, ×8)
336: For X axis pitch error compensation origin setting
337: For Z axis pitch error compensation origin setting
383, 384: For axis pitch error compensation interval setting
1000~1127: For X axis pitch error offset setting

2000~2127: For Z axis pitch error offset setting


Note: The move direction changes the offset sign when compensated by offset, which is irrelevant to
origin.

118
Volume Ⅱ Appendix 5

Setting data (some user common parameters may also be set in “SETTING”)

Data No. Content


000 Settings related with input and output (read/puncher, RMT,INCH,ISO,TVON)
057* Running time(hour) (TMHOR)
058* Running time(minute) (TMMIN)
059* Running time(second) (TMSEC)
064* Chamfering width of thread (THDCH)
065* Retraction amount of G74,G75 (GROVE)
066* Finishing allowance of G76 (THDFN)
067* Retraction amount of G71,G72 (MRCDT)
068* Min. cutting depth of G76 (THCLM)
141* Running time (TIME1)
st
151* 1 acme X coordinate of memory travel limit 2
152* 1st acme Z coordinate of memory travel limit 2
153* 2nd acme X coordinate of memory travel limit 2
154* 2nd acme Z coordinate of memory travel limit 2
155* 1st acme X coordinate of storage travel limit 3
156* 1st acme Z coordinate of storage travel limit 3
157* 2nd acme X coordinate of storage travel limit 3
158* 2nd acme Z coordinate of storage travel limit 3
180* Sequence No. to stop at
319* Various settings (PRGS,MSBL)
340* For input device selection when storing programs
341* For output device selection in outputting

·They are set by functional keys.


·Data numbers other than above is displayed blank.
·Data numbers with * sign may also be set in a same data number by PARAM soft key, see
parameter explanation for same data number.

119
GSK983T Turning CNC System User Manual

Appendix 6 Alarm List


No. Descriptions Remarks
Cut off power for once after parameter setting, then power on
000 (parameter No.000~005、012~015、018、027、028、031、032、82、
086、087、090、124、125、128、129、300~304、316)
003 The data input exceeds the bits allowable
Digits, character “-” or decimal point with no address were input in
004 the beginning of the block. (For user macro program, see the P/S
alarm explanation in Chapter 3 Section 10.11)
There’s no data after address which is followed by another address or
005
(EOB) code.
“-”sign is illegal (“-” is input after the address with “-” unallowable
006
or 2 or more “-” are input )
Illegal decimal point (“.” is input after the address with “.” unallowable
007
or 2 or more “.” are input )
009 Illegal code is entered in the active information area.(B,C,Y,V,J,R)
Illegal G code is commanded (also for the entered G code with no
010
function)
011 No feedrate or improper feedrate is commanded.
012 E code commanded with no E6 bits selection
Lead increase/decrease by address K is over the max. value or
014
negative in variable lead threading.
R is commanded without radius R command, and with circle
022
command.
023 Radius R is 0 or negative in arc compensation commanded by R.
029 Offset value has exceeded 6 bits.
030 Tool position offset is too large.
The offset is too large in the offset inputting (by G10 or user macro
032 program)

033 The intersectional point can’t be get in tool nose R compensation.


Compensation “start” or “cancellation” is made in G02/G03 in tool nose
034
R compensation.
035 Skipping cutting (G31) is commanded in tool nose R compensation.
Overcutting occurs due to the arc start or end point coincides with the
038
center in tool nose R compensation.
Overcutting occurs due to the chamfering, round corner R at start,
039
cancellation or G41/G42 switching in tool nose R compensation.
Overcutting occurs in tool nose R compensation of canned cycle
040
G90/G94.
041 Overcutting occurs in tool nose R compensation.
047 G27 to G30 are commanded for an axis without reference point return.
1. G30 is commanded without returning to reference point after power
048
on or emergency stop.

120
Volume Ⅱ Appendix 6

2. When a storage type travel limit option is provided, a move is


executed without returning to reference point after power on or
emergency stop.
050 Chamfering and corner R are specified in a thread cutting block.
051 No G01 command in next block after chamfering and corner R block.
Move direction or amount is not right in a block after chamfering and
052
corner R block.
053 2 or more I, K, R in a block for chamfering and corner R command
054 Taper command in chamfering and corner R block
Move amount less than chamfering and corner R in chamfering and
055
corner R block.
Address X(or Z) and I(or K) commanded in chamfering block.
056 G01 X(U) I; or
G01 Z(W) K;
The program of the selected part number is not found (external part
059
number selection A function).
060 Sequence number specified is not found in the searching.
Address P or Q is not specified in the block that has
061
G70,G71,G72,G73.
·Value behind address D is not interger in the block that has
G71,G72,G73.
·Values specified by K, D are not positive or by A is a disabled angle in
the block that has G76.
062
·Values specified by I, K, D are negative in the block that has G74,
G75.
·X is commanded whether I value is 0 or not, or Z is commanded
whether K value is 0 or not in the block that has G74, G75.
Sequence number specified by P, Q is not found in the block that has
063
G70, G71, G72, G73.
G00 or G01 of group 01 is not commanded for G71,G72, G73 in a
block that is numbered by P.
065
Z(W),(G71) or X(U)(G72) is commanded for G71,G72 in a block that is
numbered by P.
G code other than G00,G01,G02,G03,G04 is commanded for
066
G71,G72,G73 between blocks specifined by P and Q.
G70, G71, G72, G73 are specified in MDI mode.(they are only for Auto
067
mode)
068 The concaves are over 10 for G71,G72 of Ⅱ type.
The last move command of the block specified by P and Q is ended by
069
chamfering or corner R when command with G70, G71, G72, G73 .
070 There’s no space in memory.
071 The address searched is not found.
072 The number of program stored exceeds 95 or 191.
073 Program number is already used.
074 Program number is beyond the range of 1~9999.
075 Neither program number nor sequence number is entered in the first

121
GSK983T Turning CNC System User Manual

block of the program.


Address P is not commanded in the blocks that containing M98, G65,
076
G66.
077 Subprogram is called for 3 times (5 times for the user macro program)
Program number(by G,M,T) or sequence number specified by address
078 P or the sequence number in GOTO statement is not found in the
blocks icalled by M98, M99, G65, G66, G,M and T commands.
Measuring position in-position signal is not connected within the area
080
by parameter ε.(automatic tool compensation)
Automatic tool compensation without T code is commanded.
081
(automatic tool compensation)
Automatic tool compensation and T code are commanded in a same
082
block. (automatic tool compensation)
Inactive axis or incremental command is specified in automatic tool
083
compensation. (automatic tool compensation) 。
Data error signal (DERR) is entered.(external tool compensation A
088
function)
Value other than 0 ~ 9 is used for BCD data. (external tool
089
compensation A function)
Reference return can’t be normally performed due to the one-turn
090 signal (the reference point signal for linear scale)from the pulse
encoder is not entered during its returning in grid mode.
Reference return can’t be normally performed due to the
unsychronization between one turn signal (the basic point signal in
091
linear scale) feedback from the pulse encoder and the reference
counter for too low speed during its returning in grid mode.
092 The axis commanded by G27 is not returned to the reference point.
P type command can not be specified for program restart (the
094 coordinate system setting and origin setting operations etc. are done
after the program interruption.)
P type can not be specified for the program restart. (workpiece
096
coordinate system offset changed by program interruption)
P type can not be specified for the program restart. (auto running is not
097 executed after power on, the releasing of emergency stop and
overtravel alarm (instant stop) )
G28 is found in searching without reference point return by program
098 restart command after power on or the releasing of emergency stop
and overtravel alarm (instant stop).
099 Move is commanded in MDI mode after the program restart check.
Parameter write switch is ON, RESET key is pressed after this
100
switch is set for OFF.
In the part program editing and storing for memory writing, the power
101 is cut off. As the alarm occurring, press DELETE and RESET
key simultaneously for power-on to clear the memory.
The absolute values of data by decimal point are beyond the range
110
allowable.

122
Volume Ⅱ Appendix 6

111 Datum exponent by floating point exceeds the range.


112 Divisor is zero.
113 Function unallowable for user macro program A is used.
114 Format other than < expression> is wrong.
115 Value that can’t be defined by variable is commanded.
116 The left of the expression is the impermissible variable.
118 Parentheses nesting is beyond upper limit (5).
119 The argument of SQRT is negative; or that of the BCD is negative.
122 The calling times of macro program are beyond the range (1~4).
124 DO-END does not correspond one by one.
125 The format of FORMULA is wrong.
126 Value n is beyond the range 1≤n≤3 in DOn statement.
127 Commands of NC, MACRO are mixed together.
128 Value n is beyond the range 0≤n≤9999 in GOTOn statement.
129 Address unallowable is used in <argument assignment>.
130 The bigger address data of external data is incorrect .
131 5 or more alarms occur in external alarm message.
Alarm numbers are not found in the canceling of the external alarm
132
message.
Data of small addresses data are wrong in the external alarm message
133
or the external operation message.
134 The tool group numbers are over range (16).
141 The tool group commanded in part program is not set.
142 The tools in a group are over 16.
143 T code is not stored in the block of a program for tool group setting.
The tool group code △△ by T△△88 does not match the relevant T
145
code in service.
There are no P and L commands at the beginning of the program for
146
tool group setting.
147 The tool groups are over 16.
Dialogue
150 Corner R is commanded in the block of threading or rapid command.
programming
Dimension direct input is commanded in the block containing the
following command: (dialogue programming) Dialogue
151
1) Non-modal G code other than G04 programming
2) G02, G03, G90, G92, G94 or either of them in 01 group
Dialogue
152 Chamfering or corner R is unallowed for insertion.( too large.)
programming
Dialogue
153 The address behind (,) is not C or R in drawing dimension direct input.
programming
Drawing dimension direct input is commanded for cutting direction Dialogue
154
block in compound canned cycle (G71,G72) Ⅱ type. programming
No move is commanded in the block that has chamfering or corner R Dialogue
155
or in next block. programming
156 2 lines intersection can’t be defined by 2 blocks containing drawing Dialogue

123
GSK983T Turning CNC System User Manual

dimension direct input. programming


In block X(U)_ _A_ _; angle command ( A ) depart from the range of Z
157 axis (0° or 180°) ± 1°, in block Z(W)_ _A_ _; angle command
A depart from the range of X axis(90° or 270°) ± 1°.
Intersection can’t be got for two line angular difference is within ± 1○
158
in drawing dimension direct input.
Alarm is issued for No. 8000~8999, 9000~9899 program edit which
170 is disabled by parameters. (See parameter No. 318-PRG9, No.319-
PRG8)
210 It contacts the positive travel limit of X axis.
211 It contacts the negative travel limit of X axis.
Tool enters the exclusion area of storage type travel limit 1 when X
212
axis moves in the positive direction.
Tool enters the exclusion area of storage type travel limit 1 when X
213
axis moves in the negative direction.
Tool enters the exclusion areas of storage type travel limit 2,3 when X
214
axis moves in the positive direction.
Tool enters the exclusion areas of storage type travel limit 2,3 when X
215
axis moves in the negative direction.
220 It contacts the positive travel limit of Z axis.
221 It contacts the negative travel limit of Z axis.
Tool enters the exclusion area of storage type travel limit 1 when Z
222
axis moves in the positive direction.
Tool enters the exclusion area of storage type travel limit 1 when Z
223
axis moves in the negative direction.
Tool enters the forbidden areas of storage type travel limit 2,3 when Z
224
axis moves in the positive direction.
Tool enters the forbidden areas of storage type travel limit 2,3 when Z
225
axis moves in the negative direction.
401 The speed control unit READY signal (VRDY) is cut off.
Even though the ready signal of position control (PRDY) has been cut
off, the ready signal of the speed control (VRDY) is not cut off. Or if the
404
power is switched on, the VRDY signal has not been set for ON before
PRDY signal does.
Reference point return can’t be performed due to the fault of the NC
405
interior and servo system. Use manual reference return.
There is fault in position detection system when doing servo feeding
406
feedback, and axes single alarm 414, 424 are also given together.
410 The position offset at the stop of X axis exceeds the setting.
411 The position offset in the moving of X axis exceeds the setting.
412 X axis offsets excessively (above 500VELO).
The position offset of X axis exceeds ±32767 or the speed command
413 value of DA converter goes beyond the range from +8191 to -8192.
The alarm is usually a result of incorrect settings.
414 Abnormity occurs in the detection device of rotary transformer and

124
Volume Ⅱ Appendix 6

inductosyn scale of X axis


A speed above 511875 detection unit/s is commanded for X axis. The
415
alarm is the result of incorrect CMR setting.
The position detection device for the pulse encoder of X axis is out of
416
order (disconnection alarm).
417 The servo position loop LSI of X axis is incorrect.
420 Position offset exceeds the setting when Z axis stops.
421 Position offset exceeds the setting when Z axis moves.
422 Z axis drifts excessively (more than 500VELO).
The position offset of Z axis exceeds ±32767 or the speed command
423 value of DA converter goes beyond the range from +8191 to -8192.
The alarm is usually a result of incorrect settings.
Abnormity occurs in the detection device of rotary transformer and
424
inductosyn scale of Z axis.
A speed above 511875 detection unit/s is commanded in Z axis. The
425
alarm is the result of incorrect CMR setting.
The position detection device for the pulse encoder of Z axis is out of
426
order. (disconnection alarm)
427 The servo position loop LSI of Z axis is bad.
600 Data transfer of the connection units is wrong.
603 The communication between NC and PC is improper or disconnected.
604 The CPU of PMC-Ⅱ cannot be effectively held on.
605 System alarm is given in the CPU of PMC-Ⅱ. (monitor alarm)
606 RAM/ROM parity error occurs in the CPU of PMC-Ⅱ.
607 The data transfer of MDI/LCD is wrong.
920 System error ( monitoring timer alarm). NC alarm
930 CPU error (0, 3 and 4 type interruption occuring) NC alarm
Offset memory alarm (excessive offset is set): Set correct offset in a
940 NC alarm
specified offset number.
The temporary storage area for system control commands becomes
960 NC alarm
inadequate.

125
GSK983T Turning CNC System User Manual

Appendix 7 State List of Power On Reset&Clearing


○: A state remains unchanged or action is kept on. ×: A state is cancelled or an action is interrupted.
Item At power on Clearing state Reset state
Offset ○ ○ ○
Setting data Setting data ○ ○ ○
Parameter ○ ○ ○
Programs in memory ○ ○ ○
○ (In MDI mode)
Information in buffer × × × (Other than MDI
mode)
Display of sequence numbers × ○ (Note 1) ○ (Note 2)
Non-modal G codes × × ×
For initial values, but
Initial value G20/G21
G20/G21 and All remain
Other data Modal G codes (remains constant as
G22/G23 remain unchanged.
before power off)
unchanged.
F, E Zero Zero ○
S, T, M × ○ ○
○ (In MDI mode)
L × × × (Other than MDI
mode)
Coordinate Workpiece coordinates Zero ○ ○
Move × × ×
Dwell × × ×
M, S, T codes are sent. × × ×
MDI mode: ○
defined by
Depending on
Tool position compensation × parameter “TOC”
parameter ”TOC”
Executing in modes other
motions than MDI
○ (In MDI mode)
Tool nose R compensation × × × (Other than MDI
mode)
○ (In MDI mode)
The stored subprogram
× × (Note 2) × (Other than MDI
numbers called
mode) (Note 2)
The indicator goes The indicator goes The indicator
ALM out in the absence of out in the absence of goes out in the
alarm. alarm. absence of alarm.
NC ready signal ON O O
ON (in the
ON (in the absence of ON (in the absence of
Indicator output Servo ready signal absence of servo
servo alarm) servo alarm)
signals alarm)

Indicator for cycle start × × ×

O (× for emergency O (× for


Indicator for reference return ×
stop) emergency stop)

Indicator for feed hold × × ×

Note 1: Program number is displayed when returning to the beginning of the program.
Note 2: When the NC is reset in the execution of a subprogram, the control returns to the beginning of the
main program. And the called subprogram cannot be executed in midway.

126
Volume Ⅱ Appendix 8

Appendix 8 Storage Type Pitch Error Compensation Function

H8.1 Function
The ball screw error of all axes may be compensated by minimum move units. This function is
active after reference point returning.

H8.2 Specifications
The tool position after returning to reference point is taken as the reference. The compensation
origin (parameter No. 336, 337), interval (parameter No. 383, 384), amount (parameter No. 1000~
2127) of each axis pitch error may be set by parameters. And the compensation amount may be
multiplied by 1, 2, 4 and 8 according to the pitch error compensation override (parameter No.024).
(Ⅰ) Compensable axes: X, Z axes
(Ⅱ) Compensation points:128 (127 intervals)
(Ⅲ) Compensation value
Compensation point: 0~ ± 7×compensation override(minimum move unit)
Compensation override ×1, ×2, ×4, ×8 (for all axes)
(Ⅳ) Compensation interval:
Table A-31
Move unit Minimum set interval Maximum set interval Unit
Metric system 8, 000 20, 000, 000 0.001 mm
Inch system 4, 000 20, 000, 000 0.00001 inch

(Maximum compensation distance = set interval ×128)


Actual compensation interval shall be set depending on the optimal value between the maximum
compensation distance and machine travel in the ranges as listed in the above table.
When the set interval is less than the above minimum set interval, compensation is impossible at
a predetermined position. Now it is necessary to reduce the feedrate.
The minimum set interval of X axis by diameter is
16000 mm (Metric system)
8000 inch (Inch system)
Here the pitch error compensation data is set by diameter.

H8.3 Parameter
Parameters concerning pitch error shall be set in the following parameter numbers in MDI mode
or emergency stop mode.
H8.3.1 Pitch error compensation override

0 2 4 PML2 PLM1

Parameter No. 7 6 5 4 3 2 1 0
PLM2, 1: The override is multiplied by the compensation set by parameter(#1000~2127) for
output.

127
GSK983T Turning CNC System User Manual

Table A-32
PLM2 PLM1 Override
0 0 ×1
0 1 ×2
1 0 ×4
1 1 ×8

(for all axes)

H8.3.2 Pitch error compensation origin

3 3 6 PECZRX
3 3 7 PECZRZ

PECZRX, Z: Pitch error origins for X, Z axes


They are used to set origins of pitch error compensation list.
Set the value for the range 0 ~ 127 according to axes of machine.
H8.3.3 Pitch error compensation interval
3 8 3 PECINTX

3 8 4 PECINTZ

PECINTX, Z: Pitch error compensation intervals for X, Z axes

They are used to set intervals of pitch error compensation


They are usually set for 8000 or above (Metric) , or 4000 or above (Inch)
And the setting of 0 is not compensated for axis.
Setting unit: 0.001 mm (metric)
0.0001 inch (inch)
The setting of X axis should be above 16000 (metric) or above 8000(inch) if X axis is
programmed by diameter. And the parameter should be set by diameter.
H8.3.4 Pitch error compensation value
The pitch error compensation values for all axes are set in the following parameters:

Table A-33

Axis Parameter No.


X 1000~1127
Z 2000~2127

Compensation cannot be set for the parameter numbers other than the listed in the above table.
The set compensation range is 0~±7. The setting beyond the range is inactive.
Setting unit: 0.001 mm (metric)
0.0001 inch (inch)
Use diameter if X axis is commanded by diameter.
This value can be multiplied by 1, 2, 4, 8 by parameter No.#24.

128
Volume Ⅱ Appendix 8

H8.4 Examples of Parameter Setting


(1) Pitch error origin =0, compensation interval =10000

Fig.A-10

The beginning of the compensation list corresponds to the reference point while compensation
point 1 corresponds to the point by 10000 in the positive direction from the reference point. After that,
every 10000 point corresponds to a compensation point. So the compensation point 128 is set at
1270000. i.e. The compensation for the travel from 0 to 10000 is set at compensation point 1 while
that from 10000 to 20000 is set at compensation point 2 and that from (n-1)×(compensation interval)
corresponds to n×(compensation interval) is set at compensation point n.
In the above example, the zone
0~10000 set to -7 (Compensation value)
10000~20000 set to+6 (Compensation value)
20000~30000 set to-4 (Compensation value)
When the machine moves from the reference point to the position at +30000, the total
compensation is as follows:
(+7)+(-6)+(+4)=+5
(2) Pitch error origin =60, compensation interval =10000

0 58 59 60 61 127
Setting
point
(0) (-7) (-7) (+6) (+4) (+1)
Machine
coordinate
system
-600000 -20000 -10000 0 +10000 +670000
(Reference point)

Fig.A-11

The No.61 (compensation point 60) of the list corresponds to the reference point while
compensation point 61 corresponds to the point by 10000 in the positive direction from the origin.
After that, every 10000 point corresponds to a compensation point. So the compensation point 128 is
set at 670000. In addition, compensation point 59 corresponds to the point by 10000 in the negative
direction from the reference point. i.e. a compensation value from (n-60-1)×(compensation interval) to
(n-60)×(compensation interval) is set at compensation point n.

In the above example, a zone compensation data is as following:


-20000~10000 set to +7 (Compensation value)
-10000~0 set to -6 (Compensation value)
0~+10000 set to -4 (Compensation value)
When the machine moves from the reference point to the position at +30000, the total

129
GSK983T Turning CNC System User Manual

compensation is as follows:
(-7)+(+6)+(+4)=+3
(3) Pitch error origin =127, compensation interval =10000

Fig.A-12

The end of the compensation list corresponds to the reference point while compensation point
126 corresponds to the point by 10000 in the negative direction from the reference point. After that,
every 10000 point corresponds to a compensation point. So the compensation point 0 is set at
-1270000. i.e. The compensation for the travel from -10000 to 0 is set at compensation point 127,
while that from -20000 to -10000 is set at compensation point 126, and that from (n -
128)×(compensation interval) to (n-127)×(compensation interval) is set at compensation point n.
In the above example, a zone compensation data is as following:
-40000~-30000 set to -3(Compensation value)
-30000~-20000 set to +7(Compensation value)
-20000~-10000 set to 0(Compensation value)
-100000~0 set to -2(Compensation value)
When the machine moves from -40000 to the origin, the total compensation is as follows:
(+3)+(-7)+(0)+(+2)=-2
H8.5 Compensation value determination
For pitch error compensation,

·Distance of reference point to origin


·Machine move direction
·Pitch error compensation interval
The set compensation value has no direct relations with above factors. The compensation at the
compensation point n (n=0, 1, 2……127) is only defined by the zone mechanical error of
(n-compensation origin -1)×(compensation interval) ~ (n-compensation origin)×(compensation
interval). i.e. compared the absolute value of actual displacement amount of mechanism, setting for
the compensation positions is as follows:

+error(more move), set to -compensation value


-error(less move), set to +compensation value
H8.6 Others
H8.6.1 Cancellation of pitch error compensation
In pitch error compensation setting, if a previous value of an axis is required to be eliminated, it
can be done by following methods:
(1) Select the parameter No. of the axis compensation to be eliminated;
(2) Set the compensation for -9999.
Either of the selected parameter No. in (1) for compensation of the axis are available for

130
Volume Ⅱ Appendix 8

elimination.
H8.6.2 Precautions for setting
(Ⅰ) Compensation interval setting(parameter No.383,384)
As interval is:
positive, compensated by positive value;
Negative, compensated by its absolute value;
Zero, not compensated .
(It is shown by an absolute one even a negative compensation interval is input)
(Ⅱ) Pitch error compensation is active after power off and restart and at the end of reference
point return. Compensation is not made even though parameter setting if reference point return is not
performed.
Furthermore, parameter setting should be made before reference point return after power on. If
pitch error compensation parameter is to be changed after reference point return, the reference point
should be returned again and power off and restart.

(Ⅲ) Pitch error compensation value (parameters No. 1000 ~ 2127)


The following restrictions are made for pitch error compensation:
The value of (compensation value of pitch error)×(pitch error compensation override)×CMR must
fall within ±127.
If the setting of the value exceeds ±127, compensation cannot be correctly made. If it is
necessary to set a value beyond ±127, divide the compensation and then make compensation at
adjacent compensation points.

Note: CMR: Command override multiplier, refer to parameters No.27, 28.

131
Appendix 9 Operation List

Program Parameter
Classification Function protection write Mode LCD Operating procedures
switch switch
At power Concurrently press the O and DELETE keys to switch on the
To clear memory ON —
ON power.
To clear At power Concurrently press the CANCEL and DELETE keys, or
ON —
Clear parameters ON PARAMETER and DELETE keys to switch on the power.
To clear At power Concurrently press the RESET and DELETE keys, or

programs ON PROGRAM and DELETE keys to switch on the power.

To input N → Parameter No.→ INPUT → P →data → INPUT


ON PARAMETER
parameters → parameter write switch OFF → RESET
MDI input Any
To input offset OFF OFFSET N → offset No. → INPUT → * → offset data → INPUT

To input data OFF MDI SETTING Move the cursor to the item to be altered → P →data → INPUT

Note * stands for X, Z, R, T, U, or W.

Program Parameter
Classification Function protection write Mode LCD Operating procedures
switch switch
(1) O →Program number →↓ (cursor)
Edit PROGRAM (2) O →O → ↓ (cursor)
Search Program number
search Auto PROGRAM
(1) O →Program number → ↓ (cursor)
(2) O →CANCEL→ ↓ (cursor)

132
Sequence
Auto, Edit PROGRAM Program number search → N →sequence number → ↓ (cursor)
number search

Word search Edit PROGRAM Input the address or data to be searched →↓ (cursor)

Address search Edit PROGRAM Input the address to be searched→↓ (cursor)

Program Parameter
Classification Function protection write Mode LCD Operating procedures
switch switch

To delete all
OFF Edit PROGRAM O → 9 9 9 9 → DELETE
programs

Program To delete a
OFF Edit PROGRAM O → program number→ DELETE
program
To delete several
OFF Edit PROGRAM N →sequence number→ DELETE
blocks

To delete a block OFF Edit PROGRAM Search the block to be deleted → EOB → DELETE

To delete a word OFF Edit PROGRAM Search the word to be deleted→ DELETE

Edit To alter a word OFF Edit PROGRAM Search the word to be altered →address → data → ALTER

Search the word preceding the one to be inserted→address →data


To insert a word OFF Edit PROGRAM
→ INSERT

Memory sorting OFF Edit PROGRAM CANCEL → SHIFT

133
Program Parameter
Classification Function protection write Mode LCD Operating procedures
switch switch
All programs
Edit PROGRAM O → 9 9 9 9 → DATA OUTPUT
output
A program
Edit PROGRAM O → program number → DATA OUTPUT
output

RS232 File name → O → - 9 9 9 9 → DATA


Program input OFF Edit ―
INPUT
data Offset data
Edit OFFSET P → - 9 9 9 9 → DATA OUTPUT
output
input Offset data File name → O → program number → DATA INPUT →
Edit ―
input program execution
output Parameter
Edit PARAMETER P → - 9 9 9 9 → DATA OUTPUT
output
Emergency File exported → P → - 9 9 9 9 → DATA
Parameter input ON PARAMETER
ON INPUT

134
Volume Ⅱ Appendix 10

Appendix 10 Program Lock

J10.1 General
Program numbers 9000~9899 can be locked with parameters. In lock mode, the programs No.
9000 ~ 9899 cannot be displayed, edited and output. The function may be used to protect the
special programs developed by manufacturer’s user macro programs and to prevent them from
accidental deletion.

J10.2 Program Number


It is possible to lock the programs No. 9000 ~No. 9899 with keys. Other programs cannot be
locked with keys. Once locked with keys, all the programs of No. 9000 ~ No. 9899 are automatically
locked. Therefore, the programs that do not need lock should use the numbers other than 9000 ~
9899.

J10.3 The State After Key Locking


In key locked mode (see Section J10.4 below), the state of the programs No. 9000~ 9899 are
as follows:
(1) Their information is not displayed even in execution.

(2) Program number search (alarm No.071) is impossible in Edit mode (Auto mode).
Therefore they cannot be edited.

(3) The memory cannot be sorted.

(4) Their numbers are not included in the display of all program numbers.

(5) Program output is impossible (not output even all programs are output).

(6) Program deletion is impossible (not deleted even all programs are deleted).

(7) Program storage is impossible (alarm No.170).

J10.4 Key Lock and Unlock Procedures


(1) Preset a password (1 to 99999999) in parameter No.387. Take down the password since the
contents of the parameter is not displayed. Programs cannot be locked if it is set to 0.
Note 1: The setting of the parameter is only active in unlock state.
Note 2: The parameter is not cancelled even in parameter complete clearing state.
Note 3: The parameter becomes 0 after completing clearing of memory, i.e. the program lock is released.

(2) To enable the unlock, set the same value in parameter No.408 as that in parameter No.387.
The unlock is enabled only when it has the same value as in parameter No.387.
Note 1: The settings of the parameter are not displayed.
Note 2: The parameter cannot be stored in SRAM memory.

(3) Method of key lock after unlocking:


(a)Set a different value in parameter No.408 with that in No.387.
(b)Switch off the NC power once and then switch on it again.

135
GSK983T Turning CNC System User Manual

Parameter No.

3 8 7 Password number

Store the password number for lock.


Setting range: 1~99999999

4 0 8 Lock/unlock

The program lock is disabled by entering the same value as in parameter No.387.
The program lock is active when a different value is entered.
Note 1: When the value of parameter No.387 is set to 0, the program is unlocked and remains unlocked
even the NC power is switched ON/OFF.
Note 2: Don’t set a value other than 0 in parameter No.387 when lock is not necessary.

J10.5 Cautions
(1) Proceed as follows if the set password (No.387)is forgotten:
(a) Completely clear the memory (unlock).

(b) Input all parameters (except No.387)

(c) Save the protected programs into memory.

(d) Set a password in parameter No.387 (lock).

(2) The PROGRAM page is displayed as follows if a program with lock is switched to Edit mode.
The settings of the program are hidden. The display or edit of other programs should be performed by
reset (now continuous operation is impossible due to reset). The initial page will be returned to once
the system is reset. To continue to execute the program, switch to Auto mode to go on machining by
cycle start.

Fig.A-13

(3) Once programs O9000~O9899 are stored and edited, please apply lock after the program
other than O9000~O9899 is called. If lock is applied when a program ○9000~○9899 is displayed,
the above page is displayed in EDI mode. And this program will be displayed by pressing RESET key.

136
Volume Ⅱ Appendix 11

Appendix 11 Interruption Function of User Macro Program

K11.1 General
During the execution of a program, it is possible to call another program by inputting interruption
signal at the machine side. This is called interruption function of user macro program.
The interruption command in a program is as follows:
M96 P××××; user macro program interruption ON
M97; user macro program interruption OFF
By using this function it is possible to call another program on any program block being executed
and start program operations in ever-changing conditions.
(Example of application)
(1) Start abnormal tool detection with external signal.

(2) Stop the currently performing machining and insert other machining in a series
machining.

(3) The current machining information is read regularly.

It is also applicable for the adaptive control.

Interruption
signal (UINT) Interruption
signal (UINT)*

Interruption
signal (UINT)*

Fig.A-14 Schematic diagram of user macro program interruption

After M96P×××× is commanded in program, the currently executing program is interrupted to


execute the program commanded by P×××× once interruption signal (UINT) is input.
The following interruption signal(UINU) during the execution of an interruption program and after
M97 is inactive (marked “*” in the figure).

K11.2 Command Methods


K11.2.1 Significant conditions
User macro program interruption is only effective during the execution of a program. Namely the
significant conditions are:
(1) Auto mode is selected.

137
GSK983T Turning CNC System User Manual

(2) STL (start light) is set to ON.


(3) User macro program interruption is yet not being executed.
User macro program interruption cannot be executed in manual operation (JOG, STEP, HANDLE
etc).

K11.2.2 Format of command


The interruption signal (UINT) of user macro program interruption function is set to be disabled or
enabled by M96 and M97 codes in principle.

That is, when M96 is commanded, interruption signal (UINT) may be used to start user macro
program interruption until M97 is commanded or NC is reset. Vice versus user macro program
interruption cannot be started even by inputting interruption signal (UINT) after M97 or reset. And
interruption signal (UINT) is ignored before M96 is commanded.

(Format)

M96 P××××; User macro program interruption ON

Specifying an interruption program number


M97; User macro program OFF

Fig. A-15 Relation of M96, M97 and interruption signal


Once M97 is commanded, interruption signal will be inactive. The interruption signal input after
M97 is kept until the input of M96. Once M96 is commanded, user macro program interruption can be
started at once.

K11.3 Function Description


K11.3.1 User macro program interruption
ENABLE / MASK
Even user macro program interruption is not used, it is not necessary to change the program.
For this purpose, parameter ENABLE/MASK (025——MUSR) is provided for selecting user macro
program interruption.

138
Volume Ⅱ Appendix 11

If user macro program interruption is set to MASK in the parameter, M96 and M97 will be output
to the outside as common M codes. If it is set to ENABLE, M96 and M97are processed internally
without inputting to the outside.

K11.3.2 Subprogram type and macro program type interruptions


The modes of user macro program interruption include subprogram type interruption and macro
program type interruption. Therefore, the parameter (025——MSUB) is designed for selecting an
interruption mode.
z Subprogram type interruption

Interruption program is called by a subprogram.

That is, the values of local variables remain unchanged before and after interruption. In
addition, the interruption is not counted as the nesting of calls.

z Macro program type interruption

Interruption program is called by a macro program.

That is, the values of local variables change before and after interruption.

In addition, the interruption is not counted as the nesting of calls.

The calls nesting of subprograms and macro programs executed in interruption


program are accumulated to their numbers respectively.

Variables cannot be assigned from the executing main program even a user macro
program interruption is a macro program type interruption.

K11.3.3 M codes for user macro program interruption


In principle, M96 and M97 are used for the control of user macro program interruption. However,
they may be used for other purposes upon manufacturer’s requirements (M function, user macro
program M code call, etc.). Therefore, whether these M codes are active or not depends on the
setting of parameter (025——MPRM).

When the M codes for control of user macro program interruption are set by a parameter:

The M codes for user macro program interruption ON are set in parameter No. #053.

The M codes for user macro program interruption OFF are set in parameter No. #054.

That M code is not set by the parameter is selected for parameter MPRM, M96 and M97
become the M codes for control of user macro program interruption and parameter No. #053 and
#054 are not taken into consideration.

In any case, the M codes for control of user macro program interruption are processed
internally without output.

It is recommended not to user the M codes other than M96 and M97 for the control of macro
program interruption in consideration of the interchangeability of program.

K11.3.4 User macro program interruption and NC statement


User macro program interruption is of two types: interrupting the executing NC command or
waiting for the end of the currently executing program. For this purpose, a parameter (314——MINT)

139
GSK983T Turning CNC System User Manual

is designed for switching between interrupting in the midway/at the end of block.
If interrupting in the midway is selected by the parameter( typeⅠ):
(1) Once interruption signal (UINT) is input, the executing move or dwell is interrupted and the
interruption program is executed.
(2) When there is an NC statement in the interruption program, the interrupted block command
disappears and the NC statement in the interruption program is executed.
In case of return, the next block at the interruption of the original program is executed.
If there is no NC statement in the (a) interruption program, the interrupted block is continuously
executed when M99 is used to return to the original program. On the other hand it is interrupted
(type Ⅱ) at the end of a block:
(1) Once interruption signal (UINT) is input, the interruption program instead of the command of
the currently executing block is interrupted.
(2) When there is an NC statement in the interruption program, it is executed at the end of the
executing block.
In any case, the control switches to the interruption program once interruption signal is input.

Fig. A-16 User macro program interruption and NC statement


The relationship between the interruption in the midway of block (Fig.A-16(a)) and the
interruption at the end of block (Fig.A-16(b)) is as above figure. Interruption will be executed wherever
interruption signal is input.

K11.3.5 Receiving of user macro program interruption signal (UINT)


There are two modes of receiving of user macro program interruption signal (UINT): state
triggering and edge triggering. The so-called state triggering is that it is active in the ON state of
signal. Edge triggering is that the rise edge signal is active when the storage signal is switched from
OFF to ON.
The use of a mode shall be determined by parameter (025——TSE).

140
Volume Ⅱ Appendix 11

If the parameter is set to state triggering mode, if the interruption signal is active, user macro
program interruption can be executed when signal (UINT) is ON, therefore, interruption program can
be repeatedly executed when the signal (UINT) is continuously ON.
In addition, when the parameter is set to edge triggering mode, interruption program is
completed instantly (only the program commanded by macro program, etc) because it is only active
during the rising edge of the interruption signal (UINT). Therefore, it is only applicable for the
occasions that is not suitable for state triggering mode and only one user macro program interruption
is performed in the whole program (interruption signal is held ON in this case).
Except special purposes, the actual effects of the two modes are the same (there is no difference
in the time from the input of signal to the actual execution of interruption).

Fig.A-17 User macro program interruption signal

State triggering performs user macro program interruption in the ON state of signal. Edge
triggering performs user macro program interruption in the rise edge of signal. Therefore, in the
above example state triggering performs 4 interruptions while edge triggering only one.

K11.3.6 Return from user macro program interruption

M99 is the command for returning from user macro program interruption to the original program.
Also,the sequence number in the returned program can be specified with address “P”. In this case,
search starts from the relevant program beginning and returns to the initially appeared program
number.
Though other interruptions cannot be performed in the execution of user macro program
interruption program. M99 may be used to clear this state. When M99 command is performed
141
GSK983T Turning CNC System User Manual

individually ,it is performed before the end of the execution of the foregoing programs. Therefore user
program interruption is also active for the last command of interruption program. If it is not applicable,
user program interruption may be controlled with M96/M97.

The single block of M99, which only includes address O, N, P, L and M, the block is considered
as the same block as the previous one of the program. Thus even a single block does not stop.

G×× X××××
M99;
It is actually identical with G×× X×××× M99; .
(They vary in whether G code is executed or not before M99.)

Fig. A-18 Return from user macro program

Overlapping of user macro program interruption is not allowed during its execution. That is, other
interruptions are automatically shielded in case of interruption. If M99 is executed, user macro
program interruption will be active again. Here M99 is executed as a single block before the end of
the previous block. In above example, the interruption in the G×× block of program O1234 is also
active, and O1234 is executed again after interruption signal reinput. However, O5678 is under the
control of M96/M97. Hence the interruption is active only after returning to O1000.

K11.3.7 User macro program interruption and modal information


User macro program interruption is different from general program calls. It is started by
interruption signal (UINT) in program execution. As a rule, change of the modal information in an
interruption program has a negative impact on the original program. Therefore, modal information
restores the state before interruption when it returns to the original program with M99 even the modal
information is changed in an interruption program.
When M99 P×××× is used to return to the original program from an interruption program, the
modal information in a program is controllable. Hence the modal information changed in the
interruption program may be contiuously used. (If the modal information at the interruption of the
142
Volume Ⅱ Appendix 11

original program is reused, the return of the following travel depends on the modal data at
interruption.)
Therefore, in this case:

1) Modal information is given in the interruption program.

or

2) Necessary modal information is commanded at return point.

Application is taken into account like this:

Interruption signal(UINT)

Modal information
(P not commanded ) changes

Modal information is same as


the status without interruption

(P commanded )

Modal information has become the items


changed in interruption program.

Fig. A-19 User macro program interruption and modal information


While modal information is changed in interruption program:

1) During the return by M99

The modal information before interruption is active, while the modal information changed in
interruption program is inactive.

2) During the return by M99 P△△△△,

The modal information changed in interruption program is also active after the returning (the
same as M98).

K11.4 Parameters
7 6 5 4 3 2 1 0
0 2 5 MUSR MSUB MPRM TSE

MUSR 1: Use macro program interruption function

0: Not use macro program interruption function

MSUB 1: Subprogram type user macro program interruption

0: Macro program type user macro program interruption

MPRM 1: The M code for the control of user macro program interruption is set by

143
GSK983T Turning CNC System User Manual

parameter.

0: User macro program interruption is under the control of M96 and M97.
Note: User macro program interruption is a part of User macro program B function. That is, user
macro program interruption cannot be used without the user macro program B selected.

The settings of parameters No.053 and 054 are active only when MPRM=1.

TSE 1: User macro program interruption is of state triggering mode.

0: User macro program interruption is of edge triggering mode.


Note; State triggering state is active in signal input ON state; edge triggering is active in the rise of
signal.

0 5 3 MACINTON

MACINTON: M codes for user macro program interruption active

Setting range: 03~97

0 5 4 MACINTOF

MACINTOF: M codes for user macro program interruption inactive


Setting range: 03~97
Note: Parameters №053 and 054 are active only when MPRM (025 Bit4)=1,except this, they are
inactive even though be set.

3 1 4 MINT

MINT 1: The NC statement of interruption program starts to be executed until the end
of block (user macro program interruption type II)
0: The NC statement of interruption program starts to be executed before the
end of block (user macro program interruption type I)
Note: For type Ⅰ, once user macro program interruption signal (UINT) is input, the currently executing
program is interrupted and the interruption program is executed. The motion after the return varies with
the availability of NC statement in interruption program.

(Ⅰ) With NC statement


The remaining commands (amount of move and suspension time) disappear in the
interrupted blocks.
(Ⅱ) Without NC statement
The remaining command in an interrupted block continues to execute.
However, the sending auxiliary function can be correctly output in both cases.
Type II: The current block is not interrupted and the interruption program is executed
even user macro program interruption signal is input. If the interruption program has an
NC statement, it starts to execute after the execution of the interrupted block.

144
Volume Ⅱ Appendix 11

K11.5 Diagnosis
7 6 5 4 3 2 1 0
1 2 0 UINT

UINT 1: User macro program interruption ON.


0: User macro program interruption OFF.
This signal is the external signal for user macro program interruption. Intended for the
applications for high speed, the signal may be detected through not only the signal generated by
strong power, but also external signal. Therefore, the manufacturer needs to connect the external
signal to the position of the signal as shown below. The position is not applicable for other purposes.
7 6 5 4 3 2 1 0
0 4 4 UINT

Note that the diagnosis numbers are #044 and #120.

K11.6 Internal Wiring Diagram

Fig. A-20
This function is optional, for implementaing this function, X44.3 input in IO unit is needed

K11.7 Application Examples


K11.7.1 Processing for starting tool fault detection using external signal
<Specifications>

Malfunction restoration is immediately executed even in cycle movement. It perfoms only


once in whole process.

<Parameter setting>

TSE=0: Edge triggering mode

MUSR=1: Enable user macro program interruption function

MSUB=*: Subprogram type/macro program type user macro program interruption

145
GSK983T Turning CNC System User Manual

MPRM=*: Setting of the M codes for the control of user macro program interruption

MINT=0: Interruption program is executed before the end of block.

<Explanations>

User macro program interruption signal is ON during fault detection. It is kept on unless
special operations are performed. Only one interruption is performed if the edge triggering mode is
selected. Whether the interruption is executed or not is detected with diagnosis No.#120.

Parameters are set for the selection of subprogram type, macro program type and control M
codes depending on programming.

K11.7.2 Inserting other job in continuous machining without interrupting the current
program
<Specifications>

A short job is inserted in the program execution with longer machining time. It is troublesome
that the original program restarts by general single block stop, MDI manual insertion.

< Parameter setting >

TSE=*: Selection of triggering mode for user macro program interruption

MUSR=1: Enable user macro program interruption function


MSUB=0: Macro program type user macro program interruption
MPRM=*: Setting of M codes for the control of user macro program interruption
MINT=1: Interruption program is executed after the end of block.
< Explanations >

Parameters are set as required for the triggering mode and the selection of M codes for user
macro program interruption.

For user macro program interruption, interruption is prohibited in the execution of block and
macro program type interruption is used to prevent the affection of the command segments in
machining. The modal information, mechanical position, etc. in case of interruption in an interruption
program are restored during the return to the original program so that the original program can be
executed. If the interruption program is fixed, command M96 P×××× may be directly used. The
interruption program is called by M98 P#100 if it is not fixed.
K11.7.3 Reading machining information in fixed intervals
< Specifications >

To manage machining status, machining information is sent out on a regular basis. This
exerts no impact on machining sequence.

< Parameter setting >

TSE=0: Edge triggering mode


MUSR=1: Enable user macro program interruption function
MSUB=0: Macro program type user macro program interruption
MPRM=*: Setting of the M codes for the control of user macro program interruption
MINT=0: Interruption program is executed before the end of block

146
Volume Ⅱ Appendix 11

< Explanations >

Assuming that an interruption program does not include any NC statement, the user macro
program interruption is repeated when the interruption signal is ON in state triggering mode; while the
interruption program is started only once in edge triggering mode on a regular basis depending on the
ON/OFF of interruption signal. Since block may interrupt in the midway, corresponding to the
interruption signal rise it immediately interrupts.

The external output of machining information adopts user macro program DO to output
modal information and position information.
An interruption program may execute in parallel with the original block. However, the
machining will stop for a while at the end of the original block and before the end of the interruption
program.

K11.7.4 Using the same program for general cutting and special cutting
< Specifications >

Each executive block is provided with special move. But this command is not used in
general program.

< Parameter setting >

TSE=1: State triggering mode

MUSR=1: Enable user macro program interruption function

MSUB=*: Subprogram/macro program type user macro program interruption

MPRM=*: Setting of the M codes for the control of user macro program interruption

MINT=1: Interruption program is executed after the end of block.

< Explanations >

The interruption program shall be commanded as follows:

O××××;
M97; Disable interruption
:
M96; Enable interruption
M99;
Therefore, user macro program interruption is executed at the end of each block in the
original program. The special action to be performed is commanded beforehand in an interruption
program. The program part that needs no user macro program interruption is disabled using M97.

147

You might also like