11 Programming of Cycles 05.91
11.6 Data transfer: System memory into R parameter
Example:
@3b0 R60 = (1, 3, 2, 2, 10); The fixed-point value of the defined double word is
read in R60.
@3b1 <Var> <Value 1> <Value 2> <Value 3> <Value 4> <Value 5>
The BCD value of the defined data words in the PLC is read in the parameter defined with
<Var>. The PLC number is defined by <Value 1>, the number of the DB or DX by
<Value 2>, the data word number by <Value 3>, the number of data words by <Value
4> and the dimension identifier by <Value 5>.
Depending on the defined number of data words <Value 4>, the read operation is either
serial or parallel:
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
<Value 4> BCD
1 One data word is read, dimension identifier <Value 5> is meaningless.
2 Two data words are read in parallel. Dimension identifier <Value 5> is meaningless.
3 Three data words are read in serial. Dimension identifier <Value 5> specifies how BCD value is
to be read.
Definition of dimension identifier <Value 5>:
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
<Value 5> BCD
100 Value without decimal point
101 Value with decimal point
102 1 place after the decimal point
103 2 places after the decimal point
104 3 places after the decimal point
105 4 places after the decimal point
106 5 places after the decimal point
107 6 places after the decimal point
108 7 places after the decimal point
109 8 places after the decimal point
Example:
@3b1 R51 K1 K2 K10 K100 The BCD value of the defined double word is
read in R51.
@3b2 <Var> <Value 1> <Value 2> <Value 3>
The floating-point value of the defined data words in the PLC is read in the parameter
defined with <Var>. Two data words are always read in serially in the PLC. The PLC
11–24
© Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02
SINUMERIK 880, (PG)