Siemens SINUMERIK 840D sl Function Manual page 335

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Program code
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:
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
G2: Velocities, setpoint / actual value systems, closed-loop control
$AA_FGREF[<axis>]
$PA_FGREF[<axis>]
$AA_FGROUP[<axis>]
$AC_FGROUP_MASK
Comment
; 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. Otherwise,
the variable returns the value "0".
Returns a bit key of the channel axes programmed with
FGROUP which are to affect the path velocity.
7.3 Metric/inch measuring system
335

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents