05.91 11  Programming of Cycles
11.12  @ Code table
@ code CL 800 instruction Function
@482  
Value 1
 
Value 2
 
 
Value 3
 
Value
 
PLCF 
( Value 1 ,  Value 2 ,
 
Value 3
 ) =  
Value
 ;
PLC flag bit
Value 1: PLC No. 1, 2
Value 2: Byte addr. 0...255
Value 3: Bit No. 0...7
@483  
Value 1
 
Value 2
 
 
Value 3
 
Value4
 
 
Value
 
PLCW 
( Value 1 ,  Value 2 ,
 
Value 3
 ) =  
Value
 ;
PLC data word bit
Value 1: PLC No. 1, 2
Value 2: DB No. 1...255
DX No. 1000...1255
Value 3: DW No. 0...2043
Value 4: Bit No. 0...15
@493  
Value 1
 
Value 2
 
 
Value
 
PLCFB 
( Value 1 ,  Value 2 )
=  
Value
 ;
PLC flag byte
Value 1: PLC No. 1, 2
Value 2: Byte addr. 0...255
@494  
Value 1
 
Value 2
 
 
Value 3
 
Value
 
 
PLCDBL 
( Value 1 ,  Value 2 ,
 
Value 3
 ) =  
Value
 ;
PLC data word left
Value 1: PLC No. 1, 2
Value 2: DB No. 1...255
DX No. 1000...1255
Value 3: DW No. 0...2043
@495  
Value 1
 
Value 2
 
 
Value 3
 
Value
 
 
PLCDBR 
( Value 1 ,  Value 2 ,
 
Value 3
 ) =  
Value
 ;
PLC data word right
Value 1: PLC No. 1, 2
Value 2: DB No. 1...255
DX No. 1000...1255
Value 3: DW No. 0...2043
@4a3  
Value 1
 
Value 2
 
 
Value 3
 
Value
 
PLCFW 
( Value 1 ,  Value 2 ,
 
Value 3
 ) =  
Value
 ;
PLC flag word
Value 1: PLC No. 1, 2
Value 2: Word addr.
0...254
Value 3: DIM identifier 0...9
Fixed point
100...109 BCD
@4b0  
Value 1
 
Value 2
 
 
Value 3
 
Value4
 
 
Value5
 
Value
 
PLCDF 
( Value 1 ,  Value 2 ,
 
Value 3
 ,  
Value 4
 
 
Value5
 ) =  
Value
 ;
PLC data word fixed points
Value 1: PLC No. 1, 2
Value 2: DB No. 1...255
DX No. 1000...1255
Value 3: DW No. 0...2043
Value 4: No. of DW 1 or 2
Value 5: DIM identifier
0 ... 9 serial
10 ... 19 parallel
_______
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
©  Siemens AG  1991  All Rights Reserved      6ZB5 410-0HD02 11–75
SINUMERIK 880, (PG)