Transferring Memory Blocks - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

9.3

Transferring Memory Blocks

Application
Operations
Parameters
Permitted memory areas
CPU 948 Programming Guide
C79000-G8576-C848-04
With the operations explained in this section, you can re-store data
areas with a length of up to 255 words located in certain address areas.
Table 9-4
Operations for field transfer
Operation
Operand
TNW
0 to 255
TXB
--
TXW
--
1)
Can also be used for transfer from the byte to the byte area.
Field length
For TNW:
Operand = number of words (0 to 255)
For TXB/TXW
ACCU 3 = number of words (0 to 127)
End address of the source area
ACCU 2 = end address of the source area (20 bits)
End address of the destination area
ACCU 1 = end address of the destination area (20 bits)
The entire source and destination areas must be located in one of the
memory areas listed in Table 9-5 and cannot overlap.
Table 9-5
Memory areas permitted for TNW, TXB and TXW
Addresses
0 0000H to C FFFFH
Transferring Memory Blocks
Function
Field transfer 0 to 255 words
(in the 16-bit memory area)
Field transfer from 8-bit to the 16-bit
memory
Field transfer from the 16-bit to the
8-bit memory
Memory area
User memory:
16-bit area (dependent on memory
configuration)
1)
9 - 19

Advertisement

Table of Contents
loading

Table of Contents