Siemens SIMATIC S5-100U System Manual page 224

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

Advertisement

STEP 5 Operations
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 ACCU 2. The address of the destination field is in ACCU 1.
The higher address of each field must be specified because a field transfer takes place by
decrementing. 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
8-66
EE85
Destination
EE90
.
.
.
F097
Source
F0A2
Load the end address of the source field into ACCU 1.
Load the end adress of the destination field into ACCU 1. The
source address is shifted to ACCU 2.
Transfer the data field to the destination field.
Representation
.
.
.
Explanation
EWA 4NEB 812 6120-02b
S5-100U
TNB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents