11 Programming of Cycles 01.93
11.12 @ Code table
@ code CL 800 instruction Function
@306
Var
Value 1
Var =MDP ( Value 1 ); Machine data PLC
Value 1: Addr. 0 . . . 5999
@307
Var
Value 1
Var =MDPBY ( Value 1 ); Machine data PLC bytes
Value 1: Byte addr.
6000 . . . 8999
@30c Var Value 1 Value 2 Var =MDIKA
( Value 1 , Value 2 );
Read compensation data
@308 Var Value 1 Value 2 Var =MDPBI
( Value 1 , Value 2 );
Machine data PLC bits
Value 1: Byte addr.
6000 ... 8999
Value 2: Bit addr. 0 ... 7
@310
Var
Value 1
Var =SEN ( Value 1 ); Setting data NC
Value 1: Addr. 0 to 4999
@311
Var
Value 1
Var =SENBY ( Value 1 ); Setting data NC bytes
Value 1: Byte addr.
5000 . . . 9999
@312
Var
Value 1
Value 2
Var =SENBI
( Value 1 , Value 2 );
Setting data NC bits
Value 1: Byte addr.
5000...9999
Value 2: Bit addr. 0...7
@313
Var
Value 1
Value 2
Var =SEZ
( Value 1 , Value 2 );
Read cycle setting data
@314
Var
Value 1
Value 2
Var =SEZBY
( Value 1 , Value 2 );
Read cycle setting data
bytes
@315
Var
Value 1
Value 2
Value 3
Var =SEZBI ( Value 1 ,
Value 2 , Value 3 );
Read cycle setting data bits
@320
Var
Value 1
Value 2
Value 3
Var =TOS ( Value 1 ,
Value 2 , Value 3 );
Tool offset
Value 1: 1...16
Value 2: D No. 1... 204/409
Value 3: P No. 0 ... 9/15
@330
Var
Value 1
Value 2
Value 3
Var =ZOA ( Value 1 ,
Value 2 , Value 3 );
Settable zero offset
(G54/G57)
Value 1: Group 1 . . . 4
(G54/G57)
Value 2: Axis No. 1...24
Value 3: 0/1
_______
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–66 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02
SINUMERIK 880, (PG)