Output format description

The visualization data can be access via following ADS objects.

Index-group

Index-
offset

Data type

Description

0x2010<c>

0x2000

SOLLKONT_VISU_DATA

Data of channel specific queue

0x2010<c>

0x2001

UNS32

Number of available blocks in channel specific queue

0x2010<c>

0x2002

SOLLKONT_VISU_DATA

Data in global queue (all channel data collected)

0x2010<c>

0x2003

UNS32

Number of available blocks in global queue

The data unit, which can be read, has following format:

 

SOLLVISU_PDU

SGN32

count, number of samples SOLLKONT_VISU_DATA_CH in the actual message

SGN32

<alignment bytes>

SOLLKONT_VISU_DATA_CH

ch[ MAX_SOLLKONT_VISU_DATA_COUNT ]

 

SOLLKONT_VISU_DATA_CH

SGN32

nc_satz_nr, number of actual block

SGN32

File offset, position from begin of file in bytes

>= 0 : valid offset after start of program

== -1 : no program active or program finished

UNS16

channel_nr

SGN16

g_function

>= 0 : G-function : G0, G1, G2, G3, G61 for polynomial blocks

== -1 : no G-function active

UNS32

circle_radius, radius in [0.1 µm] for G2 / G3-blocks

REAL64[2]

circle_center_point[2], absolute position of the circle center point in the active main plane (G17, G18, G19) in [0.1 µm] for G2 / G3 blocks (from CNC version V2.10.1032.03 or V2.10.1505.05 onwards).

SOLLKONT_VISU_ACHS_DATA

simu_achs_data[ANZ_SIMU_KOORD]

 

SOLLKONT_VISU_ACHS_DATA

SGN32

akt_sollwert, actual command position of axis in [0.1 µm]

UNS16

log_achs_nr, logical axis number

UNS16

<alignment bytes>

Output format description 1:

With the file offset can be recognized if a program is in process and / or terminated. An invalid G function (-1)is released e.g. by a NC line with an M function.