Example: Trace Session With Servo Variables - Siemens SINUMERIK 840D sl Commissioning Manual

Cnc commissioning: nc, plc, drive
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Commissioning NC-controlled drives
6.6 Diagnostics → Trace
Example of a trace session with PLC variables (Page 172)
Example of a trace session with drive variables (Page 174)
Key combinations (Page 175)
6.6.2

Example: Trace session with servo variables

Trace session sequence
The trace session is subdivided into the following steps:
● Creating and loading a part program.
● Creating a new session with servo variables.
● Settings for starting and stopping the trace.
Starting/stopping the trace from the part program
To start and stop the trace from the part program, program the $AN_SLTRACE variable that
can be selected using the "Quicklist" softkey. To do this, the following program can be used, for
example:
def int ii
SOFT
$AN_SLTRACE=0
G90 G1 X0 F10000
G4 F0.5
$AN_SLTRACE=1
G91
for ii=1 to 4
X10
G4 F0.5
X-10
G4 F0.5
endfor
$AN_SLTRACE=2
M30
Save the program and load it to the NC.
164
CNC Commissioning: NC, PLC, Drive
Commissioning Manual, 12/2019, A5E48312804B AA

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents