Siemens SINUMERIK 840D sl Function Manual page 518

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

M5: Measurement
8.5 Setting zeros, workpiece measuring and tool measuring
MEASURE() delivers a result frame that can be read via $AC_MEAS_FRAME:
● The result is the translation and rotation from the setpoint values recalculated on the
selected frame.
● The result frame is calculated as follows:
The concatenated total frame produces the concatenation of the total frame (prior to
measurement) with the calculated translation and rotation.
Note
If no frame is selected, the calculated frame is not transformed, i.e. the translation and
rotation is determined on the basis of the specified setpoints and the calculated position of
the edge, corner, groove, etc. Where the function is used more than once, it is always added
to the result frame.
The result frame may need to be deleted beforehand.
Semaphore variable
The measurement variable occurs only once per channel. The measuring operation can be
initiated via an operator input in the stop and reset states. The operation can overlap with the
measuring cycles in the stop state. The following variable serves to protect against mutual
overwriting:
$AC_MEAS_SEMA (semaphore of measurement interface)
The semaphore variable $AC_MEAS_SEMA is
● set to 1 at the beginning of the cycle and
● reset to 0 again at the end of the cycle.
HMI does not use the measurement interface if the variable has the value 1.
Error messages
If the client does not log on, group error number 0xD003 is always generated. If a logon takes
place through DIAGN:errCodeSetNrGent or DIAGN:errCodeSetNrPi, then PI_SETUDT
provides the error code corresponding to the following syntax:
EX_ERR_PI_REJ_<return value>, e.g. EX_ERR_PI_REJ_ MEASNOTYPE
518
NOTICE
No preprocessing limitation
MEASURE() does not trigger any implicit block search stop. Because MEASURE( ) works
with the frames of the preprocessing block, the user must decide whether a preprocessing
stop is required prior to the calculation.
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents