Simatic S5 Memory Mapping
A-10
S5 UniLink Adapter Installation and Operation
A.9 Counter — CP 525 ‘Z’ Type
The S5 Counter memory, as accessed through a CP module, refers to
memory that is organized by 256 contiguous words of memory. Because the
accessible Counter memory is different for different CPUs, the S5 PIM
assumes no knowledge of the accessible memory ranges for Counter
memory. The TT type that maps to this type of S5 memory is Counter
Current (TT Type 16). The Timer/Counter Current TT Type 0F accesses S5
Timer memory only, thus no access to S5 Counter memory is provided
through TT Type 0F.
NOTE: If a TIWAY request is out of range, the exception returned will be of
the form 80DD.
S5 Counter MemoryTI500/TI505 Counter Memory Address
Address = XXXX (hex)
Word Address:
XXXX (hex)
S5: Word Address = XXXX (hex) in Counter Z memory.
TI500/TI505: XXXX (hex) in Counter Current memory.
When converting the value for S5 Counters, the S5 counter current value is
copied directly, and the remaining bits are set to zero.
Contents of S5 Counter Memory
Contents of TI500/TI505 Counter Memory
1514131211109876543210
1514131211109876543210
Count
Set to Zero
Reading the CP 525 Z memory with the TT type 16 is supported. Writing to
the CP 525 Z memory with TT type 16 is not supported due to the
functionality of the CP module itself.
Description
Address Mapping
Value Conversion
Reading and
Writing