Selection via HMI

HMI interface

The contour visualization can be set before program start by the HMI.

This command is passed through the control unit to the PLC, which could deny or admit this command. Additionally the PLC itself could select the contour visualization.

ADS access

The visualization can be parameterized, and the data can be read via ADS.

The ADS-access must be done via task COM, which is port 0x553. The access of the single parameters is defined by the individual indexgroup / indexoffset identifiers.

Within the indexgroup <c> defines the individual channel number, where <c> is within [ 1; maximum number of channels].

Parameter

Format

Description

ADS-Index-Group

ADS-Index-Offset

mc_command_execution_mode_r,
mc_command_execution_mode_w

UNS32

Select of contour visualization mode

0x0000 ISG_STANDARD Normalbetrieb

0x0002 SOLLKON Sollkonturvisualisierung

0x0004 ON_LINE

Online visu

0x0008 SYNCHK

Syntaxcheck

0x2010<c>

c Element [1; max. channel]

0x40,

0x3f

mc_contour_visu_grid_w
mc_contour_visu_grid_r

UNS32

Output grid for straight lines (G00/G01) in [0.1 µm]

0x2010<c>

c Element [1; max. channel]

0x89,

0x8a

mc_contour_rel_curv_error_w

REAL64

Maximum relative curvature error for curved contour elements (circles and
polynomials) in [0.1%]

0x2010<c>

c Element [1; max. channel]

0x8b

mc_contour_abs_curv_error_w

REAL64

Maximum absolute curvature error for curved contour elements (circles and
polynomials) in [0.1 µm]

0x2010<c>

c Element [1; max. channel]

0x8c

Selection via HMI 1:

For curved contour elements the parameter which leads to the smallest output grid for that contour element is used.