11 Programming of Cycles
11.2 Target code
11.2
Target code
The three-digit @ code is a target code with the following structure:
1
2
3
Three-digit @ code
@
Last (third) digit for defining the special function.
Middle (second) digit for dividing the main groups into subgroups.
First digit for distinguishing the main groups.
11.2.1 Main groups
The following functions are assigned to the eight groups of the @ code:
@0 . .
General instructions for program structure
@1 . .
Program branches
@2 . .
Data transfer, general
@3 . .
Data transfer, system memory in R parameters
@4 . .
Data transfer, R parameters in system memory
@5 . .
File handling, general (available soon)
@6 . .
Mathematical and logic functions
@7 . .
NC-specific functions
@f . .
Part program handling
11.2.2 Operands behind the target code
The @ code requires additional information (operands) for its function.
These operands are defined by the following letters:
K . . . Constant
R . . . R parameter (register)
P . . . Pointer
The value defined by the constant K is fixed within the program and cannot be modified (direct
specification of value).
The value defined by the constant K is fixed within the program and can be modified (indirect
specification of value).
The pointer refers to a parameter containing the address of the parameter to whose contents
the function is to be applied (indirect specification of value).
11–2
© Siemens AG 1991 All Rights Reserved
05.91
6ZB5 410-0HD02
SINUMERIK 880, (PG)