
5.3 Addressing
5.3.1 Overview
To provide specific addressing of the installed peripheral modules,
certain addresses must be allocated in the CPU. At the start-up of the
CPU, this assigns automatically peripheral addresses for digital in-/
output modules starting with 0 and ascending depending on the slot
location. If no hardware project engineering is available, the CPU
stores at the addressing analog modules to even addresses starting
with 256.
5.3.2 Addressing Backplane bus I/O devices
The CPU 313-6CF13 provides an I/O area (address 0 ... 8191) and a
process image of the in- and outputs (each address 0 ... 127). The
process image stores the signal states of the lower address (0 ... 127)
additionally in a separate memory area.
The process image this divided into two parts:
n
process image to the inputs (PII)
n
process image to the outputs (PIQ)
The process image is updated automatically when a cycle has been
completed.
At deployment of the CPU 313-6CF13 you may control up to 31
modules at the bus. Here the maximum of 8 modules per row may be
parameterized.
For the project engineering of more than 8 modules line interface con-
nections are to be used. For this you set in the hardware configurator
the module IM 360 from the hardware catalog to slot 3 of your 1. pro-
file rail. Now you may extend your system with up to 3 profile rails by
starting each with an IM 361 from Siemens at slot 3.
You may access the modules with read res. write accesses to the
peripheral bytes or the process image. To define addresses a hard-
ware configuration may be used. For this, click on the properties of
the according module and set the wanted address.
If you do not like to use a hardware configuration, an automatic
addressing comes into force. At the automatic address allocation
DIOs occupy depending on the slot location always 4byte and AIOs,
FMs, CPs always 16byte at the bus. Depending on the slot location
the start address from where on the according module is stored in the
address range is calculated with the following formulas:
Max. number of plug-
gable modules
Define addresses by
hardware configuration
Automatic addressing
VIPA System 300S
Deployment CPU 313-6CF13
Addressing > Addressing Backplane bus I/O devices
HB140 | CPU-SC | 313-6CF13 | GB | 15-50
48