Siemens SINUMERIK 840D Function Manual page 155

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

Program code
N230 X10
N240 DO $R6=$AC_TIME
N250 X10 A10
N260 DO $R7=$AC_TIME
N270 A10
N280 DO $R8=$AC_TIME
N290 X0.001 A10
N300 FGREF[A]=360/(2*$PI)
N310 DO $R9=$AC_TIME
N320 X0.001 A10
N330 M30
Diagnostics
Read reference radius
The value of the reference radius of a rotary axis can be read using system variables:
● For the display in the user interface, in synchronized actions or with a preprocessing stop in
the part program via the system variable:
● Without preprocessing stop in the part program via the system variable:
If no values are programmed, the default 360 mm / (2π) = 57.296 mm (corresponding to 1 mm
per degree) will be read in both variables.
For linear axes, the value in both variables is always 1 mm.
Read path axes affecting velocity
The axes involved in path interpolation can be read using system variables:
● For the display in the user interface, in synchronized actions or with a preprocessing stop in
the part program via the system variables:
● Without preprocessing stop in the part program via system variables:
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA
$AA_FGREF[<axis>]
$PA_FGREF[<axis>]
$AA_FGROUP[<axis>]
$AC_FGROUP_MASK
Comment
; Feedrate = 2540 mm/min, path = 254 mm, R5 = approx. 6
s
; Feedrate = 2540 mm/min, path = 254.2 mm, R6 = approx.
6 s
; Feedrate = 100 degrees/min, path = 10 degrees, R7
= approx. 6 s
; Feedrate = 2540 mm/min, path = 10 mm, R8 = approx.
0.288 s
; Set 1 degree = 1 inch via the effective radius
; Feedrate = 2540 mm/min, path = 254 mm, R9 = approx. 6
s
Current main run value
Programmed value
Returns the value "1" if the specified axis affects the path
velocity in the current main run record by means of the
basic setting or through FGROUP programming. Other‐
wise, the variable returns the value "0".
Returns a bit key of the channel axes programmed
with FGROUP which are to affect the path velocity.
V1: Feedrates
5.2 Path feedrate F
155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents