Migration of the IM 151/CPU
D-3
ET 200S Interface Module IM 151/CPU
A5E00058783-01
D.2 Porting the User Program
Introduction
By porting we mean making available on a distributed basis a program that was
previously used centrally on a master. Certain adjustments may be necessary to
relocate an existing program partially or completely from a master to an intelligent
slave. The resources required for porting sections of a user program to an
intelligent slave depend on how the address assignment of inputs and outputs is
stored in the FBs in the source program.
The inputs and outputs can be used in the FCs in the source program in different
ways. Addresses can be packed in the current ET 200S, which is not possible in
the IM 151/CPU.
See the description of IM 151/CPU addressing in Section 2.1.
Porting with Unpacked Addresses
If you use FBs with unpacked I/O addresses, the required program sections can be
transferred easily to the IM 151/CPU without the need for porting.
I1.0
I1.1
I2.0
I2.1
O1.0
O1.1
DI_1_module
DI_2_module
Figure D-1 Example: FB with Unpacked Addresses