05.91 11 Programming of Cycles
11.6 Data transfer: System memory into R parameter
@391 <Var> <Value 1> <Value 2>
The state of an output byte in the PLC is read in the parameter defined with <Var>. The
PLC number is defined by <Value 1> and the byte address by <Value 2>.
@392 <Var> <Value 1> <Value 2>
The state of a peripheral byte in the PLC is read in the parameter defined by <Var>. The
PLC number is defined by <Value 1> and the byte address by <Value 2>.
@393 <Var> <Value 1> <Value 2>
The state of a flag byte in the PLC is read in the parameter defined by <Var>. The PLC
number is defined by <Value 1> and the byte address by <Value 2>.
@394 <Var> <Value 1> <Value 2>
The state of a PLC data word left 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> and the
data word number by <Value 3>.
Example:
@394 R53 K1 K2 K4 The state of the defined PLC input byte is read in R52.
@395 <Var> <Value 1> <Value 2> <Value3>
The state of a PLC data word right 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> and the
data word number by <Value 3>.
© Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 11–21
SINUMERIK 880, (PG)