Siemens SINUMERIK 840D sl Function Manual page 613

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

Advertisement

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 the purpose of protection of
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
The following return values are output via the pre-defined MEASURE() function:
Table 8-8
No.
0
1
2
3
4
5
6
Extended Functions
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
The concatenated total frame equals 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.
It must be noted that the result frame may need to be deleted beforehand.
NOTICE
MEASURE() does not trigger any implicit block search stop. As MEASURE() works with
the frames of the block search set, it must itself decide whether a block search stop is
necessary before the calculation.
Predefined error messages
Return values
MEAS_OK
MEAS_NO_TYPE
MEAS_TOOL_ERROR
MEAS_NO_POINT1
MEAS_NO_POINT2
MEAS_NO_POINT3
MEAS_NO_POINT4
8.4 Setting zeros, workpiece measuring and tool measuring
Description
Correct calculation
Type not specified
Error determining the tool
Measuring point 1 does not exist
Measuring point 2 does not exist
Measuring point 3 does not exist
Measuring point 4 does not exist
Measurement (M5)
613

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents