Siemens SINUMERIK 880 Programming Manual page 245

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

11 Programming of Cycles
11.11 Part program handling
@f20
Edit word in block
This @ code can edit a particular word in a block. It works correctly only if a particular
part program has previously been selected with @f01 and the block has been read into
the machining buffer with @f10 or @f11. After having been edited, the block is
automatically written back into the part program memory.
Syntax:
Input parameters:
Output parameters:
CL 800 reserved word:
Example: for @f20
A part program incorporates the following block:
"X100" is to be changed into "X1=100" by means of @f20. The assignment of the input
R parameters is as follows:
R
:
2
x
R
+1:
88 ("x")
x
R
+2:
1
x
R
+3:
1
x
R
+4:
61 ("=")
x
R
+5:
100
x
11–58
@f20 <R
> <R
>
x
y
R
:
Word number in block
x
R
+1:
Address letter (X, Y, Z, G, M..)
x
R
+2:
Extended address
x
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
x
R
+4:
Operator (=, +, –, ...
x
R
+5:
Value
x
R
:
Error feedback
y
0: No error
1: Error in comment
2: Program located in EPROM
3: Program protected against writing
4: Memory full
5: Comment too long
6: Input error
7: MDI full
8: Editing not possible
EDIT WORD
N50
G01
Word number in block
Address letter
Extended address Yes
ASCII character of address letter
Operator
Value
© Siemens AG 1991 All Rights Reserved
05.91
)
X100
Y50
L F
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