Specifications

C-13
IP 240
EWA 4NEB 811 6120-02b
C.5 Differences between SIMATIC S7 and SIMATIC S5
As a rule, the following applies for SIMATIC S7: The memory locations of
the data addresses are counted byte by byte. The location of an S5 data word
(DW n) corresponds to the location DBW (2*n) of the S7 data word.
The format of the data blocks has been largely retained. The following points
distinguish S7 from S5 (for all modes):
With S7, the returned data block number is located in the data word DBW
48 (the number can be greater than one byte). The data byte DBB 47 oc-
cupied by the data word number in S5 is occupied by the standard func-
tions and is therefore no longer available.
The basic address of the module is returned in the data word DBW 42.
Memory Locations
of the Data
Addresses
Format of the Data
Blocks
IP 240 Counter, Position Decoder and Positioning Module