beckhoff TF5200 | TwinCAT 3 CNC — 2.1 Drive datum to be transferred

Description 2 Description Drive functions are addressed in different ways depending on the drive profile used, e.g.: The drive parameter set for SERCOS drives is switched over using the parameters S-0-216 and S-0-217. For PROFIdrive drives the parameter set is switched over by control bits in the STW1 in the cyclically transferred setpoint telegram. Set the torque limit:with SERCOS drives by: ◦Write the parameter S-0-0092 via the service channel ◦Enter the parameters of S-0-0092 in the cyclic telegram Set the torque limit:for PROFIdrive drives by: ◦Manufacturer-specific telegram element MomRed (signal no. 50101 for SIEMENS 611u).

The #DRIVE command sets the various drive functions in a standardised syntax in the NC program irrespective of the drive profile. #DRIVE WR SYN [AX=X KEY=MOMRED, VAL=437] Name of drive function Enter the name used to address the drive function in the NC program in the P-AXIS-00396 parameter. 2.1 Drive datum to be transferred The parameter P-AXIS-00398 defines the name of the datum transferred to the drive. At this point the drive profile independent name of the drive function is mapped into the drive-specific nomenclature as parameterised in the P-AXIS-00396 parameter. If cyclic transfer is parameterised for the drive parameter, the drive parameter must be present in the cyclic process data.

If the drive parameter is transferred over the parameter channel, the parameter must be present and writable to the drive. Enter the data type of the drive parameter to be transferred in the P-AXIS-00399 parameter. Possible values are: TF5200 | TwinCAT 3 CNC Parameterising the DRIVE command 9 Version: 1.04 "SGN08" Signed 8-bit value "SGN16" Signed 16-bit value "SGN32" Signed 32-bit value "BITARRAY 16" _ Bit string with 16 bits (see Section “Bitwise writing”) "BITARRAY 32" _ Bit string with 32 bits (see Section “Bitwise writing”)