Cust_Meacyc: User Program Before/After Measurements Are Performed - Siemens SINUMERIK 840D sl Programming Manual

Measuring cycles
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Description
2.13 Measuring cycle help programs
Note
For correction
The frame to be corrected must not include any mirroring or scale factors. If there is no channel
basic frame for G500, then a cyclic alarm (_ALARM>0) is output.
If cycle 119 is called by cycle 997, then the corrected frame is automatically activated.
If cycle 119 is separately called in a user program, the new data of the frame are activated
outside the cycle when the G command of the associated adjustable frame (G500, G54 up
to ...) is reprogrammed.
2.13.3

CUST_MEACYC: User program before/after measurements are performed

Function
The CUST_MEACYC cycle is called in every measuring cycle before and after the
measurement.
It can be used by users to program sequences necessary before starting a measurement (e.g.
to activate the probe).
In the as-delivered state, this cycle contains a CASE statement that executes a jump to a label
with subsequent M17 (end of subprogram) for each measuring cycle.
Example
_M977:
GOTOF _AM_WP_MES
;
.....
;
_AM_WP_M
ES:
;
;
M17
From the jump labels, actions can be programmed, which should be executed at each
CYCLE977 call (label _M977) or for general workpiece measurements (label _AM_WP_MES).
References
Commissioning manual
56
;before workpiece probe with CYCLE977 (measure hole/shaft/groove/spigot)
;before workpiece general
;end of cycle
SINUMERIK 840D sl Basesoftware and Operating Software .
Programming Manual, 12/2017, 6FC5398-4BP40-6BA1
Measuring cycles

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents