Simatic S5 Memory Mapping
A-7
S5 UniLink Adapter Installation and Operation
A.6 Output Bytes — CP 525 ‘A’ Type
The S5 Output Bytes memory, as accessed through a CP module, refers to
memory that is organized in 128 contiguous bytes of memory. Because the
output image memory area (A memory) is accessible only if a corresponding
I/O module is in use, the S5 PIM assumes no knowledge of the accessible
memory area of the process output image. The TT types that map to this
type of S5 memory are Packed Output Discretes (TT Type 07) and Unpacked
Output Discretes (TT Type 04).
NOTE: If a TIWAY request is out of range, the exception returned will be of
the form 80DD.
S5 Input Bytes MemoryTI500/TI505 Output Memory Address
Address = YYYY (hex)
32107654
Byte Address:
Quotient of (YYYY / 8)
Bit Address:
Remainder of (YYYY / 8)
When converting the value for Packed Discretes, 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 Discretes, the
byte on/off state of the TI500/TI505 corresponds to the bit specified in the
S5.
326701
Contents of TI500/TI505 Packed Outputs Contents of S5 Output Bytes
45 32670145
First discrete bit accessedFirst discrete bit accessed
000’s
Only discrete bit accessed
Contents of TI500/TI505 Unpacked Outputs
Reading the CP 525 A memory with the TT types 04 and 07 is supported.
Writing to the CP 525 A memory with TT types 04 and 07 is not supported
due to the functionality of the CP module itself.
Description
Address Mapping
Value Conversion
Reading and
Writing