beckhoff TF5200 — 3.2 User data

PLC interface 3 PLC interface 3.1 Control unit – Insert stop marks (insert command) 3.2 User data TF5200 | TwinCAT 3 CNC Insert stop command 23 Version: 1.141 Insert stop marks Description During runtime, the PLC can use this control unit to set stop points in the future NC program. The control unit must then be enabled by enable w = TRUE. _ The PLC signals a new assignment of command 2 by setting command semaphor rw _ _ _ to TRUE. The CNC sets the command semaphor rw to FALSE after the command w data is read. _ _ _ Data type MC CONTROL INSERT CMD UNIT _ _ _ _ ST path gpCh[channel idx]^.

bahn mc control.insert cmd _ _ _ _ Command data ST element .command w _ Data type HLI INSERT CMD COMMAND [} 23] _ _ _ Access PLC writes command w _ Return values ST element .state r _ Data type HLI INSERT CMD STATE [} 24] _ _ _ Access PLC reads Activation ST element .enable w _ Data type BOOL Access PLC writes Value range [TRUE/FALSE] ; TRUE: CU enabled in PLC Flow control of commanded value ST element .semaphor rw _ Data type BOOL Value range [TRUE, FALSE] Special features Consumption data item Access TRUE : PLC triggers on new request FALSE :

CNC has read new request Command data – Insert command Description Control data for inserted STOP command ST path gpCh[channel idx]^.bahn mc control.insert cmd.command w _ _ _ _ _ ST name HLI INSERT CMD COMMAND _ _ _ ST element .dist or pos _ _ Data type LREAL Description/ special features Relative/absolute distance or axis position at which the stop is to be inserted. [0.1 µm] The default setting is DISTANCE mode, the POSITION mode is active at a value of “.axis nr“ > 0 _ ST element .rel abs mode _ _ Data type UINT