Converting User Programs Of The Cpu 928B For The Cpu 948 - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

1.8

Converting User Programs of the CPU 928B for the CPU 948

Operations
Operations
IA/RA (disable/enable
interrupts)
LIR/TIR
Block transfer opera-
tion TNB
Block transfer opera-
tion TNW
All operations with the
BR register
CPU 948 Programming Guide
C79000-G8576-C848-04
Converting User Programs of the CPU 928B for the CPU 948
The following section informs you about the points you should
remember when you convert user programs written for the CPU 928B
for use on the CPU 948.
In the following operations, note the differences in the execution and
handling (among other things the different memory utilization).
CPU 928B
All process interrupts are disabled or
enabled
16 bit long addresses are used.
16 bit long addresses are used.
-
16 bit long addresses are used.
-
Block transfers from the 8-bit to the
8-bit area and vice versa are
possible.
The BR register is 20 bits wide.
CPU 948
Only the process interrupts via input
byte IB 0 are disabled or enabled.
Instead of these operations, use the
special function OBs OB 122 or
OB 142.
20 bit long addresses are used.
Adaptation is necessary.
The operation does not exist.
Use TNW for block transfer from the
8-bit to the 8-bit area.
-
20 bit long addresses are used.
Adaptation is necessary.
-
only block transfers from the
8-bit to the 8-bit area and from the
16-bit to the 16-bit areas possible
with TNW.
-
for the block transfer from
the 8-bit to the 16-bit area use
the operation TXB,
-
for the block transfer from
the 16-bit to the 8-bit area use
the operation TXW.
(TXB and TXW do not exist on
a CPU 928B)
The BR register is 32 bits wide.
Adaptation is necessary.
1 - 19

Advertisement

Table of Contents
loading

Table of Contents