03/2013 2 Machine information2.3 Test series on the machine© Siemens AG 2006-2013 All Rights ReservedSINUMERIK Integrate AMB, AMC, AMM, Function Manual (FH) - 03/2013 2-65Description of the return parametersYou can influence the measurement via the return parameters. The return valuesare always queried after call with doProlog = True and testType = " ", i.e. after theprolog is called for each measurement series. The process then continuesaccording to the returned values.Equability test Circularity test Universal axis testePS_error 0 = (default setting) execute measurement1 = Suppress execution of measurement, continue with the nextmeasurement series. Errors are not displayed.ePS_errMsg Reserved for future expansions2.3.4 Program exampleDescriptionHere is a commented example program to illustrate how the prolog and epilogprogram can be used to prepare the machine specifically for a certain test. Thestructure 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 seriesand also on each single measurement outside a test series. This block containseverything that has to be executed irrespective of the type of test or the axis that isto be measured. For example, G codes that are preset on the machine via machinedata (G95, DIAMON, ….) can be deactivated, the tool can be unloaded, theworkpiece can be removed from the working space, and all axis can be moved to asafe initial position.Prolog for each measurement:This section of the program is executed before each measurement, irrespective ofwhether the measurement is part of a test series or is performed individually. Thisblock can be used with call parameters to check which axis is to be tested, whichtest type is to be conducted, and with which parameters the measurement will beperformed. For example, when testing certain axes, it may be necessary to moveother axes to another position than the basic position, or the starting point for themeasurement cannot be approached directly (circularity test). Certain actions couldalso be performed depending on the position range in which the measurement isperformed.When programming axis movements, it is important to ensure that the parametersof a measurement always refer to the machine coordinate system if they representpositions. The example program shows how the axis movement can be offset intothe machine coordinate system using the command SUPA.It is possible to test the name of the measurement series in the program and toexecute special functions for a certain measurement series. However, that shouldbe limited to special cases because the parameters of a measurement series canbe changed at any time without its name having to be changed.