11 Programming of Cycles 01.93
11.12 @ Code table
@ code CL 800 instruction Function
@400
Value 1
Value
MDN ( Value 1 )= Value ; Machine data NC
Value 1: Addr. 0 . . 4999
@401
Value 1
Value
MDNBY ( Value 1 )=
Value ;
Machine data NC bytes
Value 1: Byte addr.
5000 . . . 18240
@402
Value 1
Value 2
Value
MDNBI
( Value 1 , Value 2 ) =
Value ;
Machine data NC bits
Value 1: Byte addr.
5000 . . . 18240
Value 2: Bit addr. 0 . . . 7
@403
Value 1
Value 2
Value 3
Var =MDZ
( Value 1 , Value 2 ) =
Value ;
Write cycle machine data
values
@404
Value 1
Value 2
Value
Var =MDZBY
( Value 1 , Value 2 ) =
Value ;
Write cycle machine data
bytes
@405
Value 1
Value 2
Value
Var =MDZBI
( Value 1 , Value 2 ) =
Value ;
Write cycle machine data
bits
@406
Value 1
Value
MDP ( Value 1 ) = Value ; Machine data PLC
Value 1: Addr. 0 . . . 5999
@407
Value 1
Value
MDPBY ( Value 1 ) =
Value ;
Machine data PLC bytes
Value 1: Byte addr.
6000 . . . 8999
@408
Value 1
Value 2
Value
MDNBI
( Value 1 , Value 2 ) =
Value ;
Machine data PLC bits
Value 1: Byte addr.
6000 . . . 8999
Value 2: Bit addr. 0 . . . 7
@40c Value 1 Value 2
Value
MDIKA
( Value 1 , Value 2 )=
Value ;
Write compensation data
@410
Value 1
Value
SEN
( Value 1 )= Value ;
Setting data NC bits
Value 1: Addr. 0...4999
@411
Value 1
Value
SENBY ( Value 1 )= Value ; Setting data NC bytes
Value 1: Byte addr.
5000 . . . 9999
@412
Value 1
Value 2
Value
SENBI
( Value 1 , Value 2 ) =
Value ;
Setting data NC bits
Value 1: Byte addr.
5000 . . . 9999
Value 2: Bit addr. 0 . . . 7
_______
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–72 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02
SINUMERIK 880, (PG)