Siemens SINUMERIK 880 Programming Manual page 247

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

11 Programming of Cycles
11.11 Part program handling
@f22
Read word in block
It is possible to read a particular word in a particular block. The part program
containing the block must have been selected and the block must have been written
into the machining buffer.
If the word to be read is contained in the comment, a distinction must be made
between two possible cases:
a)
"Normal" comment, e.g. (DRILLING AND MILLING)
In this case reading in the comment is not possible. The output error parameter
is set to 2, i.e. the word is contained in the comment.
The words within the comment are nevertheless counted.
b)
Comment with marking identifier, e.g. ( #10# )
In this case, the identifier "#10" can be read out.
However, with both types of comment it is possible to read the brackets in the
comment.
Syntax:
Input parameters:
Output parameters:
CL 800 reserved word:
11–60
@f22 <R
> <R
x
R
:
Word number in block
x
R
:
Error feedback
y
0: No error
1: Word does not exist in the block
2: Word incorporated in the comment
(not in the case of marking)
R
+1:
Address letter (X, Y, Z, G, M..)
y
R
+2:
Extended address
y
0: No extended address
1: Extended address with value
2: Extended address without value
3: @ function
4: Arithmetic expression
R
+3:
Value with extended address
y
R
+4:
Operator (=, +, – ...)
y
R
+5:
Value
x
READ WORD
© Siemens AG 1991 All Rights Reserved
05.91
>
y
6ZB5 410-0HD02
SINUMERIK 880, (PG)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents