Siemens SIMATIC S5-90U System Manual page 233

Table of Contents

Advertisement

S5-90U/S5-95U
Table 8-27. Overview of Load and Transfer Operations
Operation
Operand
LIR
*
TIR
*
TNB
T
*
ID
RS
* only for the S5-95U
Loading and Transferring Register Contents
Both accumulators can be addressed as registers. Each register is 16 bits wide. Since the "LIR"
and "TIR" operations transmit data by words, the S5-95U registers are addressed in pairs.
Loading and transferring register contents are independent of the RLO. The processor goes to
ACCU 1 to get the address of the memory location referenced during data exchange.
Consequently, make sure that the desired address is stored in ACCU 1 before this system operation
is processed.
STL
.
.
Load the address 6100
L
KH
6100
Load the information from the memory location with the address 6100
LIR
0
ACCU 1.
EWA 4NEB 812 6115-02b
Load the register indirectly
The contents of a memory word are loaded into the specified
register (ACCU 1, 2). The address is in ACCU 1.
Transfer the register indirectly
The contents of the indicated register are transferred to a memory
location. The address is in ACCU 1.
Parameter
0 (for ACCU 1), 2 (for ACCU 2)
Transfer a data field (byte by byte)
A memory area is transferred in the program memory as a field.
End address destination area:
End address source area:
Transfer
A word is transferred to the system data area.
Parameter
0 to 255
into ACCU 1.
H
Meaning
ACCU 1
ACCU 2
Explanation
STEP 5 Operations
into
H
8-65

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s5-95u

Table of Contents