Example
The 9th kinematic element is assigned the machine axis with the name V1 as linear axis.
Program code
N100 $NK_AXIS[8] = "V1"
$NK_A_OFF
Function
An additional work offset can be entered in the system variable for the assigned machine axis
($NK_AXIS). This work offset is only effective within the kinematic chain.
Syntax
$NK_A_OFF[<n>] = <value>
Meaning
$NK_A_OFF:
<n>:
<value>:
Example
The linear axis zero point of the 9th kinematic element is moved by 30.0 mm compared to the
modelled kinematics.
The unit in which the numerical value is interpreted depends on the current input system (inch/
metric).
Program code
N100 $NK_A_OFF[8] = 30.0
Special functions
Function Manual, 01/2015, 6FC5397-2BP40-5BA2
Work offset
Data type:
REAL
Range of values: - max. REAL value ≤ x ≤ ± max. REAL value
Default value:
0.0
System variable or element index
Data type:
INT
Range of values: 0, 1, 2, ... ($MN_MM_MAXNUM_KIN_CHAIN_ELEM - 1)
Offset value
Data type:
REAL
Range of values: - max. REAL value ≤ x ≤ ± max. REAL value
K7: Kinematic chain - only 840D sl
Comment
; 9. kin. element
; axis = machine axis V1
Comment
; 9. kin. element
; work offset = 30.0 mm
5.2 Commissioning
197