Measuring Cycle User Programs; General Information; Cycle198: User Program Before Undertaking Measurement; Cycle199: User Program After Undertaking Measurement - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Measuring cycle help programs

3.2 Measuring cycle user programs

3.2
Measuring cycle user programs
3.2
3.2.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).
3.2.2

CYCLE198: User program before undertaking measurement

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.
3.2.3

CYCLE199: User program after undertaking measurement

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).
3-4
;before measurement in CYCLE977
;end of cycle
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Measuring cycles

Advertisement

Table of Contents
loading

Table of Contents