Programming

Syntax:

#DCC [ON/OFF] [CALL=.. [I<i>=..] [F<j>=..] { I<i>=..}{ F<j>=..} ]

 

ON

Activate Dynamic Contour Control, analogous to P-CHAN-00384.

OFF

Deactivate Dynamic Contour Control, analogous to P-CHAN-00384.

CALL=..

Type of methods used for Dynamic Contour Control.

Permitted identifiers:

  • DEFAULT - The method in P-CHAN-00385 is used (default)
  • EXTERNAL - A customer-specific method is used

I<i>=..

SGN32 value, analogous to the P-CHAN-00389 parameter.

where i=0 - 3.

The equals sign is mandatory,
e.g. I2=17

F<j>=..

REAL64 value, analogous to the P-CHAN-00388 parameter.

where j=0 - 3.

The equals sign is mandatory,
e.g. F2=3.45

The following V.G. variables can be accessed in the NC program:

Variable

Meaning

Data type

Unit for
input/output

Permitted
access:
R
ead/
W
rite

V.G.DCC.ACTIVE

Indicates whether Dynamic Contour Control is active.

Boolean

0 / 1

L

V.G.DCC.CALL

Indicates the method used for Dynamic Contour Control.

0: EXTERNAL

SGN32

0 / 1

L

Programming Example

#DCC Dynamic Contour Control variants

; use default settings
N10 #DCC ON ; activate
N15 #DCC OFF ; deselect DCC
; Use external method
N20 #DCC ON [CALL=EXTERNAL] ; activate
N30 #DCC [CALL=DEFAULT] ; reset to default
N40 #DCC ON ; activate using current method
; external method with parameters
N50 #DCC ON [CALL=EXTERNAL I0=1 F0=2.2 I1=7]