M5: Measurement
7.5 Setting zeros, workpiece measuring and tool measuring
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
501
Input variable Meaning
$AC_MEAS_INPUT[0] Without specification of outer corner *
=0: Measurement for outer corner
=1: Measurement for inner corner
$AC_MEAS_TYPE 25
* optional
The following output variables are written for measurement type 25:
Output variable Meaning
$AC_MEAS_FRAME Result frame with translation
$AC_MEAS_RESULTS[0] Abscissa of the calculated center point
$AC_MEAS_RESULTS[1] Ordinate of the calculated center point
$AC_MEAS_RESULTS[2] Applicate of the calculated center point
$AC_MEAS_RESULTS[3] Width of rectangle P1/P2
$AC_MEAS_RESULTS[4] Length of rectangle P3/P4
7.5.3.14 Measurement for saving data management frames (measurement type 26)
Saving data management frames ($AC_MEAS_TYPE = 26)
This measurement type offers the option of saving some or all data management frames with
their current value assignments to a file. The measurement can be initiated by executing a
command or via the part program. The function can also be activated from different
channels. The files are set up in directory _N_SYF_DIR.
A Restore operation deletes the backed-up data and a new Save operation overwrites the
existing back-up. The data last saved can then be deleted with
● $AC_MEAS_CHSFR = 0 system frames;
● $AC_MEAS_NCBFR = 0 global basic frames;
● $AC_MEAS_CHBFR = 0 channel basic frames;
● $AC_MEAS_UIFR = 0 number of settable frames
from the data management system using a second Save operation.
Note
If you decide to create a backup of all data management frames, remember that 1 KB of
memory is needed to save each frame. If insufficient memory is available, the process is
aborted with error message MEAS_NO_MEMORY. The following machine data item can be
used to change the size of the static memory:
MD18351 $MM_DRAM_FILE_MEM_SIZE