Siemens SIMATIC S5-100U System Manual page 223

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U
Table 8-27. Overview of Load and Transfer Operations
Operation
Operand
LIR
TIR
TNB
T
ID
RS
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 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. Conse-
quently, 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 6120-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

Table of Contents