11 Programming of Cycles 01.93
11.12 @ Code table
@ code CL 800 instruction Function
@392
Var
Value 1
Value 2
Var =PLCPB
( Value 1 , Value 2 ;
PLC peripheral byte
Value 1: PLC No. 1, 2
Value 2: Byte addr. 0...127
@393
Var
Value 1
Value 2
Var =PLCFB
( Value 1 , Value 2 ;
PLC flag byte
Value 1: PLC No.1, 2
Value 2: Byte addr. 0...255
@394
Var
Value 1
Value 2
Value 3
Var =PLCDBL
( Value 1 , Value 2 ,
Value 3 );
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
@395
Var
Value 1
Value 2
Value 3
Var =PLCDBR
( Value 1 , Value 2 ,
Value 3 );
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
@3a0
Var
Value 1
Value 2
Value 3
Var =PLCIW
( Value 1 , Value 2 ,
Value 3 );
PLC input word
Value1: PLC No.1, 2
Value 2: Word addr. 0...126
Value 3: DIM identifier
0...9 fixed point
100...109 BCD
@3a1
Var
Value 1
Value 2
Value 3
Var =PLCQW
( Value 1 , Value 2 ,
Value 3 );
PLC output word
Value1: PLC No.1, 2
Value 2: Word addr. 0...126
Value 3: DIM identifier
0...9 fixed point
100...109 BCD
@3a2
Var
Value 1
Value 2
Value 3
Var =PLCPW
( Value 1 , Value 2 ,
Value 3 );
PLC peripheral word
Value1: PLC No.1, 2
Value 2: Word addr. 0...126
Value 3: DIM identifier
0...9 fixed point
100...109 BCD
_______
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–70 © Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02
SINUMERIK 880, (PG)