Simatic S5 Memory Mapping
A-8
S5 UniLink Adapter Installation and Operation
A.7 Flag Bytes — CP 525 ‘M’ Type
The S5 Flag Bytes memory, as accessed through a CP module, refers to
memory that is organized by 255 contiguous bytes of memory. The TT types
that map to this type of S5 memory are Packed Control Register (TT Type
08) and Unpacked Control Register (TT Type 05).
S5 Flag Bytes Memory
TI500/TI505 Control Register
Memory Address
Address = CCCC (hex)
32107654
Byte Address:
Quotient of (CCCC / 8)
Bit Address:
Remainder of (CCCC / 8)
When converting the value for Packed Control Registers, the most
significant bit (MSB) of the TI500/TI505 value corresponds to the least
significant bit (LSB) of the S5. When converting the value for the Unpacked
Control Registers, the byte on/off state of the TI500/TI505 corresponds to
the bit specified in the S5.
326701
Contents of TI500/TI505
Packed Control Registers
Contents of S5 Flag Bytes
45 32670145
First flag bit accessedFirst register bit accessed
000’s
Only register bit accessed
Contents of TI500/TI505
Unpacked Control Registers
Reading the CP 525 M memory with the TT types 05 and 08 is supported.
Writing to the CP 525 M memory with TT types 05 and 08 is not supported
due to the functionality of the CP module itself.
Description
Address Mapping
Value Conversion
Reading and
Writing