Siemens SINUMERIK 840D sl Programming Manual page 45

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

Advertisement

Transfer parameters
● Input data
Parameters
_CAL [0]
_CAL [1]
_CAL [2]
_CAL [3]
_CAL [4]
_CAL [5]
_CAL [6]
_CAL [7]
_CAL [8]
● Output data
Parameters
_CAL [9]
_CAL [10]
_CAL [11]
_CAL [12]
_MODE
Note
This cycle is called as a subroutine by, for example, measuring cycle CYCLE979.
Example
%_N_Circle_MPF
DEF INT _MODE
DEF REAL _CAL[13]= (3,0,10,-10,0,0,-10,0,0,0,0,0,0)
CYCLE116(_CAL[ ], _MODE)
M0
STOPRE
M30
Measuring cycles
Programming Manual, 02/2011, 6FC5398-4BP40-0BA0
Data type
Meaning
REAL
Number of points for calculation (3 or 4)
REAL
1. Axis of the plane of the first point
REAL
2. Axis of the plane of the first point
REAL
1. Axis of the plane of the second point
REAL
2. Axis of the plane of the second point
REAL
1. Axis of the plane of the third point
REAL
2. Axis of the plane of the third point
REAL
1. Axis of the plane of the fourth point
REAL
2. Axis of the plane of the fourth point
Data type
Meaning
REAL
1. Axis of the plane of the circle center point
REAL
2. Axis of the plane of the circle center point
REAL
Circle radius
REAL
Status for the calculation
0 = Calculation in progress
1 = Error occurred
INTEGER
Error number (61316 or 61317 possible)
1.12 Measuring cycle help programs
;3 points specified
;Result:
Description
P1: 0,10
P2: -10,0
P3: 0,-10
_CAL[9]=0
_CAL[10]=0
_CAL[11]=10
_CAL[12]=0
_ALM=0
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumeric 828dSinumerik 840de slSinumerik 828d

Table of Contents