![SBC PCD3.M6880 Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/sbc/pcd3-m6880/pcd3-m6880_user-manual_1205025025.webp)
Saia-Burgess Controls AG
User Manual Standby System
│
Document 27-645
│
Edition E
NG 02
│
2017-04-26
Media Exchange
Diagnostic
2-10
2
NOTES
Indexed Addressing
The media addresses of the synchronization data are taken from the addresses actually
used by the program. If media are accessed using the Index Register, these addresses
may not be taken into account if they are at the end of the address range. If the Index
Register is used, always ensure that the indexed addresses are within the ranges shown
in the ‘Redundancy Synchronization Data’ table. If not, define and reference an address
at or beyond the end of the indexed range, to ensure the indexed media are also trans-
ferred.
Absolute addresses are recommended
It is recommended to use sequential absolute addresses (e.g. R 1000, R 1001, R 1002
...) for media exchange symbols instead of dynamic addresses, so the addresses will
never change when a build is done. The data to be transferred are treated as an array
of values between the first and the last address. Dynamic addresses can be used, but
this is less efficient because the addresses may not be consecutive, so single addresses
instead of an array are transferred, and there may be alignment problems which require
a “Device / Advanced > Clean Files - Symbol Information Files” operation. If there is an
alignment problem, you will receive the “Redundancy media exchange dynamic address-
es are incompatible” error (see below).
Error 939: Standby system media exchange dynamic addresses are incompatible
(ToRed/FromRed)
You may see this build error if you have used dynamic addresses for the media ex-
change data in the global symbol files. It is caused by the optimization of addresses to
be transferred into arrays, to reduce the number of transfers. With dynamic addresses,
addresses in one CPU may be consecutive, and in the other they may be separate. This
means that the optimized arrays will not be the same, and the data cannot be trans-
ferred. The solution is to do the “Device / Advanced > Clean Files - Symbol Information
Files” operation, or to edit the symbols to use consecutive absolute addresses.