PLC parameters

Currently covered path in the NC program (PCS)

Description

Reads the current distance covered in the NC program since program start or since the last # DISTANCE PROG START CLEAR NC command. The calculation is based on the current position in the current NC block.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.bahn_state.dist_prog_start

Data type

UDINT (* LREAL)

Unit

0.1 µm

Access

PLC is reading

Special features

* As of CNC Build V3.1.3104.01 the data element is provided in LREAL forma.