11 Programming of Cycles 05.91
11.12 @ Code table
11.12 @
Code table
@ code CL 800 instruction Function
@040
Const
R Par 1
. . .
R Par n
(Push)
1)
Save the specified local R
parameters to the stack
@041
R Par 1
R Par 2
(Push Block)
1)
Save a group of local R
parameters to the stack
@042
Const
R Par n
. . .
R Par 1
(Pop)
1)
Fetch the saved R
parameters from the stack
@043
R Par 1
R Par 2
(Pop Block)
1)
Fetch a group of the saved R
parameters from the stack
@100
Const
@100
R-Par
4)
GOTO Label ; Absolute jump to NC block
@111
Var
Value 1
Const 1
Value 2
Const 2
.
.
Value n
Const n
CASE Var = Value 1 :
Instruction1 ;
.
.
= Value n :
Instruction n ;
Case branch
@12x
Var
Value
Const
IF “Condition”
2)
THEN Instruction 1 ;
[ELSE Instruction 2 ;]
END IF;
IF-THEN-ELSE instruction
x compare operator Vop
Var R parameter or pointer
@13x
Var
Value
Const
WHILE “Condition”
2)
DO Instruction ;
Repetition instruction with
enquiry for repetition con-
dition at the beginning.
x compare operator vop
@14x
Var
Value
Const
REPEAT Instruction ;
UNTIL “Condition”;
2)
Repetition instruction with
enquiry for repetition con-
dition at the end.
x compare operator vop
Note:
The explanation of symbols given below will appear unchanged on the following pages to
ensure consistency of footnotes, though not all of them do actually occur in the table.
_______
Explanation of symbols:
x compare operator vop 1) Not at CL 800 level
0: . . . . no condition 2) “Condition”: a)
Var
=Boolean variable
1:= . . . . equal to b)
Var
.
Const
=Bit from pattern
2: . . . . not equal to c)
Var
”Vop”
Value
3: . . . . greater than d) Extended condition
4: = . . . . greater than or equal to
5: . . . . less than 3) Option
6:= . . . . less than or equal to
7: . . . . true 4) No pointers possible,
8: . . . . not on CL 800 level only
Const
can be specified
11–64 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02
SINUMERIK 880, (PG)