Program Example - Siemens SINUMERIK 840Di sl Function Manual

Eps network services
Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

2 Maschine information
2.3 Test series on the machine
realParam6
axParam1
axParam2
axParam3
axParam4
axParam5
axParam6
Description of the return parameters
You can influence the measurement via the return parameters. The return values
are always queried after call with doProlog = True and testType = " ", i.e. after the
prolog is called for each measurement series. The process then continues accor-
ding to the returned values.
ePS_error
ePS_errMsg

2.3.4 Program example

Description
Here is a commented example program to illustrate how the prolog and epilog
program can be used to prepare the machine specifically for a certain test. The
structure of the program is as follows:
Prolog for the test series:
This section of the program is only executed once at the beginning of a test series
and also on each single measurement outside a test series. This block contains
everything that has to be executed irrespective of the type of test or the axis that is
to be measured. For example, in this case G codes that are preset on the machine
via machine data (G95, DIAMON, etc.) could be deactivated, the tool could be un-
loaded, the workpiece removed, and all axes moved to a safe initial position.
Prolog for each measurement:
This section of the program is executed before each measurement, irrespective of
whether the measurement is part of a test series or is performed individually. This
block can be used with call parameters to check which axis is to be tested, which
test type is to be conducted, and with which parameters the measurement will be
performed. For example, when testing certain axes, it may be necessary to move
other axes to another position than the basic position, or the starting point for the
measurement cannot be approached directly (circularity test). Certain actions could
2-56
Equability test
Reserved
Channel axis
(traverse axis)
Machine axis
(measurement axis)
Machine axis
(traverse axis)
Reserved
Reserved
Reserved
Equability test
0 = (default setting) execute measurement
1 = Suppress execution of measurement, continue with the next
measurement series. Errors are not displayed.
Reserved for future expansions
ePS Network Services, Function Manual (FH) - Release 12/2008
Circularity test
Reserved
Channel axis 1
(traverse axis)
Channel axis 2
(traverse axis)
Reserved
Reserved
Reserved
Reserved
Circularity test
© Siemens AG 2008 All Rights Reserved
12/2008
Universal axis test
Reserved
Channel axis
(traverse axis)
Reserved
Reserved
Reserved
Reserved
Reserved
Universal axis test

Advertisement

Table of Contents
loading

Table of Contents