Examples; Traversal Per Part Program - Siemens sinumerik 840D sl Function Manual

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

Advertisement

Examples

4.1

Traversal per part program

Three geometry axes AX1, AX2 and AX3 exist in a machine. For geometry axis AX1, the
part program-driven total traverse path, total travel time and travel count should be
calculated.
Parameterization
Activation of the overall function:
MD18860 $MN_MM_MAINTENANCE_MON = TRUE
Group activation: "total traverse path, total travel time and travel count" for geometry axis
AX1:
MD33060 $MA_MAINTENANCE_DATA[AX1] = 1
Part program
For values calculation based on the part program, the current value of the system variables
at the beginning of the part program must be saved as calculational variables. The difference
is acquired at the end of the part program.
Part program (extract)
Programming
. . .
R10 = $AA_TRAVEL_DIST[ AX1 ]
R11 = $AA_TRAVEL_TIME[ AX1 ]
R12 = $AA_TRAVEL_NR[ AX1 ]
. . .
R10 = R10 - $AA_TRAVEL_DIST[ AX1 ]
R11 = R11 - $AA_TRAVEL_TIME[ AX1 ]
R12 = R12 - $AA_TRAVEL_NR[ AX1 ]
Special functions: Path length evaluation (W6)
Function Manual, 11/2006, 6FC5397-2BP10-2BA0
Comment
; Current values
; Total traverse path AX1
; Total travel time AX1
; Travel count AX1
; Motion of axes
; Difference calculation
; Traversal AX1 in part program
; Travel time AX1 in part program
; Travel count AX1 in part program
4
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents