Siemens S5-100U User Manual page 220

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
Table 8-28. 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
.
.
L
KH
6100
LIR
0
EWA 4NEB 812 6120-02
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
Load the address 6100
Load the information from the memory location with the address 6100
ACCU 1.
Meaning
Explanation
into ACCU 1.
H
STEP 5 Operations
ACCU 1
ACCU 2
into
H
8-65

Advertisement

Table of Contents
loading

Table of Contents