Program Example - Siemens SINUMERIK Series Function Manual

Eps network services
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

2 Machine Information
2.3 Test series on the machine
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 pro-
gram can be used to prepare the machine specifically for a certain test. The struc-
ture 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, G codes that are preset on the machine via machine
data (G95, DIAMON, ....) can be deactivated, the tool can be unloaded, the
workpiece can be removed, and all axis can be 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
also be performed depending on the position range in which the measurement is
performed.
When programming axis movements, it is important to ensure that the parameters
of a measurement always refer to the machine coordinate system if they represent
positions. The example program shows how the axis movement can be offset into
the machine coordinate system using the command SUPA.
It is possible to test the name of the measurement series in the program and to
execute special functions for a certain measurement series. However, that should
be limited to special cases because the parameters of a measurement series can
be changed at any time without its name having to be changed.
2-64
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
Circularity test
© Siemens AG 2012 All Rights Reserved
ePS Network Services, Function Manual (FH) - 03/2012
03/2012
Universal axis test

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents