Siemens SIMATIC S5 Manual page 163

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-115F Manual
Example:
LST
.
.
L
KH F100
LIR
0
Processing a field transfer
A field transfer is processed independently of the RLO.
The parameter indicates the length of the data field (in bytes) that is to be transferred. The field
can be up to 255 bytes long.
The address of the source field is in ACCUM 2. The address of the destination field is in ACCUM 1.
The highest address of each field must be specified. The bytes in the destination field are
overwritten during the transfer.
Example
Transfer a 12-byte
data field from
address F0A2
to
H
address EE90
.
H
STL
:L
KH
F0A2
:L
KH
EE90
:TNB 12
EWA 4NEB 811 6149-02
Load the address F100
Load the information from the memory location with the address F100
into ACCUM 1.
EE85
EE90
.
.
.
F097
F0A2
Load the upper address of the source field into ACCUM 1.
Load the address of the destination field into ACCUM 1. The source
address is shifted to ACCUM 2.
Transfer the data field to the destination field.
Explanation
into ACCUM 1.
H
Representation
Destination
.
.
.
Source
Explanation
STEP 5 Operations
H
TNB
3-67

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents