DoFunction (method)

Syntax

DoFunction (Index)

Parameters

This method uses the following parameter.

 

Index

The function member to execute for the function name.

Comments

The function that is executed depends on the control it is called from. Following is the list of controls and their associated functions.

 
Control

Function
Number

 

Description

Position

1

Originate relative position.

 

2

Preset relative position.

 

3

Set floating reference point.

 

4

Preset work coordinate.

Handle Interruption

1

Manual overlap cancel.

Actual Speed

 

No functions

Cut Time and Parts Count

1

Clear parts count.

 

2

Clear run time.

Program Edit

1

Get program from NC.

 

 

2

Write program back to NC.

 

 

3

Include program from disk.

 

 

4

Write program to disk.

 

 

6

Search word.

 

 

7

Replace word.

 

 

10

Change state of area.

 

 

11

Cut.

 

 

12

Copy.

 

 

13

Paste.

 

 

14

Insert sequence number.

 

 

15

Teach in.

 

 

16

Move to top.

 

 

17

Move to bottom.

 

 

18

Insert time.

MDI Program

6

Search word.

 

 

7

Replace word.

 

 

10

Change state of area.

 

 

11

Cut.

 

 

12

Copy.

 

 

13

Paste.

 

 

14

Insert sequence number.

 

 

15

Move to top.

 

 

16

Move to bottom.

Program Directory

1

Copy program.

 

 

2

Delete program.

 

 

3

Select program.

 

 

4

Rename program.

 

 

5

Change list/detail display.

Program Check

1

Rewind.

 

2

Sequence number search.

Modal

 

No functions

Block

 

No functions

Program Restart

1

Search restart block.

 

 

2

Set order of axis motion to restart position.

Machine time

 

No functions

B- Axis Program Check

 

No functions

Setting (Handy)

7

+ Input

Setting (Timer)

7

+ Input

Tool Offset

1

Select tool length screen (type M).

 

 

1

Select geometry screen (type T).

 

 

2

Select tool radius screen (type M).

 

 

1

Select wear screen (type T).

 

 

6

Search number.

 

 

7

+ Input.

 

 

8

Clear tool offset data.

 

 

9

Input counter.

 

 

10

Input direct value of measured tool offset (type T).

Custom Macro Variable

1

Select local variable screen.

 

 

2

Select common variable 1 screen.

 

 

3

Select common variable 2 screen.

 

 

6

Search number.

 

 

7

+ Input.

 

 

8

Clear variables.

 

 

9

Input counter.

 

 

10

Input empty.

Work Zero Offset

6

Search number.

 

 

7

+ Input.

 

 

10

Input direct value of measured tool offset.

Tool Life Management

 

***Group Display***

 

 

1

Change to detail display.

 

 

6

Search number.

 

 

7

Edit life counter.

 

 

 

***Detail Display***

 

 

1

Change to group display.

 

 

3

Add tools (type M).

 

 

4

Delete tools (type M).

 

 

5

Change state.

 

 

7

Edit life counter.

Work Shift

7

+ Input.

Operator's Panel

 

No functions

P-Code Variables

1

Select local variables screen.

 

 

2

Select common variables 1 screen.

 

 

3

Select common variables 2 screen.

 

 

4

Select P-code variables 1 screen.

 

 

5

Select P-code variables 2 screen.

 

 

6

Search number.

 

 

10

Input empty.

Chopping

7

+ Input.

 

 

10

Set absolute position.

Chuck and Tailstock
Barriers

1

Change chuck/tailstock display.

 

 

2

Change inside/outside of gripping.

 

 

7

+ Input.

 

 

10

Set absolute position.

B-Axis Offset

 

No functions

Tool Post Interference
Check

6

Search number.

 

 

7

+ Input.

2 Paths Interference
Check

7

+ Input.

Parameter

1

PWE on/off

 

 

6

Search number.

 

 

7

+ Input.

Diagnosis

6

Search number.

System Configuration

1

Write to disk

Data I/O

1

Setting.

 

 

2

Read.

 

 

3

Punch.

 

 

6

Directory.

 

 

7

Delete.

 

 

8

Change file name.

Pitch Error Compensation

6

Search number.

Servo Setting

7

+ Input.

Servo Tuning

7

+ Input.

Spindle Setting

7

+ Input.

Spindle Tuning

7

+ Input.

Wave Diagnosis Setting

1

Set sampling data.

 

 

2

Start sampling.

 

 

3

Stop sampling.

Wave Diagnosis Graph

1

Change wave display of ½.

 

 

2

Select wave.

 

 

3

Save wave data.

 

 

4

Zoom in wave.

 

 

5

Zoom out wave.

 

 

6

Zoom in time.

 

 

7

Zoom out time.

Operation History

 

***Operation History Display***

 

 

1

Change to signal setting display.

 

 

7

Top.

 

 

8

End.

 

 

 

***Signal Setting Display***

 

 

1

Change to operation history display.

 

 

7

All clear.

 

 

8

Clear.

Alarm

 

No functions

Operator Message

 

No functions

Alarm History

6

Clear history.

Milling Animation
(Tool Data Edit)

1

Register tool.

2

Delete tool.

 

 

6

Read from setting file.

 

 

7

Save to setting file.

Mill Animation
(Machining Draw)

1

Animation start.

3

Animation stop.

 

 

6

Setting.

PMC Status

6

Address search.

PMC Alarm

 

No functions

PMC Counter

 

No functions

PMC Timer

 

No functions

PMC Keep Relay

 

No functions

PMC Data

 

***Group Display***

 

 

1

Change to data display.

 

 

2

Set group count.

 

 

5

Initialize.

 

 

6

Search group number.

 

 

 

***Data Display***

 

 

1

Change to group display.

 

 

6

Search data number.

More information

OLE Control methods and properties.