Measuring Cycle User Programs; General Information; Cust_Meacyc: User Program Before/After Measurements Are Performed - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

3.3

Measuring cycle user programs

3.3.1

General information

Measuring cycle user programs CYCLE198 and CYCLE199 are called in the measuring
cycles and can be used to program necessary adjustments before or after a measurement
(e.g. activate probe, position spindle).
Note
As of measuring cycle version V2.6, the user cycles CYCLE198 and CYCLE199 are
combined in the cycle CUST_MEACYC.
References:
HMI sl / SINUMERIK 840D sl Commissioning Manual
3.3.2

CUST_MEACYC: User program before/after measurements are performed

Function
CYCLE198 is called at the beginning of each measuring cycle.
It can be used to program actions necessary before starting a measurement (e.g. activate
probe).
In the as-delivered state, this cycle only contains one CASE statement that executes a jump
to a label with subsequent M17 (end of subroutine) for each measuring cycle.
Example
_M977:
M17
From this label all actions to be executed on each CYCLE977 call must be programmed.
Function
CYCLE199 is called in each measuring cycle when measurement is complete. It can be
used to program actions necessary following completion of a measurement
(e.g. deactivate probe).
The internal structure of the cycle is the same as that of CYCLE198, i.e. the program lines
must be inserted between the label for a particular cycle and M17 (end of subroutine).
Measuring cycles
Programming Manual, 03/2009 Edition, 6FC5398-4BP10-2BA0
;before measurement in CYCLE977
;end of cycle
Measuring cycle help programs
3.3 Measuring cycle user programs
87

Advertisement

Table of Contents
loading

Table of Contents