beckhoff TF5200 — 3.2 User data

PLC interface Insert stop command 24 Version: 1.141 TF5200 | TwinCAT 3 CNC Description/ special features Value = 0 for relative distance with automatic insertion of a new stop when the current stop is reached Value = 1 for one-off insertion at the absolute distance Value = 2 for one-off insertion at the relative distance ST element .axis nr _ Data type UINT Description/ special features Value = 0 for DISTANCE mode Value > 0 for POSITION mode: Stop is inserted at the commanded axis position of the axis with the logical axis number = “.axis nr”.

_ ST element .m function nr _ _ Data type UINT Description/ special features Number of the inserted M function • Value = 0 for M00 programmed stop • Value = 1 for M01 optional stop (enabled/disabled with m01 stop enable CU) _ _ • Value > 1 for M with MVS SVS synchronisation _ _ _ ST element .add nr _ Data type DINT Description/ special features Optional additional value of the M function; it is specified as a negative or positive integer.

Status data – Insert command Description Status data of the insert command control unit ST path gpCh[channel idx]^.bahn mc control.insert cmd.state r _ _ _ _ _ ST name HLI INSERT CMD STATE _ _ _ ST element .distance of next stop _ _ _ Data type LREAL Description Absolute distance (dist prog start) of the feed axes (#FGROUP) at the next stop [0.1 µm] _ _ Value >= 0 : Stop found, axis positions correct Value = -1 :

Stop still not found in the NC program ST element .position at next stop[idx] _ _ _ Data type ARRAY[0..HLI CS AXIS MAXIDX] OF DINT _ _ _ Description When • command w.axis nr = 0, the axis positions X, Y, Z are assigned accordingly at the next _ _ stop in the PCS [0.1 µm] • command w.axis nr > 0; .position at next stop[0] contains the axis position of the _ _ _ _ _ commanded axis at the next stop position at next stop[1]=0 and position at next stop[2]=0 _ _ _ _ _ _ ST element .state Data type DINT Description Status if the current command w. _ • Value =0: no stop commanded • Value=1: Stop commanded but not yet reached