Programming

Syntax:

#EXTCOMP ON/OFF [ID=.. STRING=.. VALUE=..]

ID=..

Compensation number

STRING=<string>

Optional additional information for the compensation as string

VALUE=..

Optional additional information for the compensation as numeric value

The compensation can be switched on or off in the NC program. An additional option is that a message consisting of a string 24 characters long and a REAL value can be sent via the NC program to the compensation.

Programing Example

prg_example

Sending a message followed by enabling the compensation

%Example1

N010 G01 X10 Y10 F1000

N020 #EXTCOMP [ID0 STRING=”OP1” VALUE=41]

N030 #EXTCOMP ON [ID0]

N040 G90 G01 X10 Y10 Z0 F1000

N050 G201 X1 Y1

N060 #EXTCOMP OFF [ID0]

Programing Example

prg_example

Send a message to enable the compensation

%Example2

N010 G01 X10 Y10 F1000

N020 #EXTCOMP ON [ID0 STRING=”OP1” VALUE=41]

N030 G90 G01 X10 Y10 Z0 F1000

N040 G201 X1 Y1

N050 #EXTCOMP OFF [ID0]