Hardware Manual for the PCD2.M5 Series│Document 26/856; Version EN 12│2014-07-24
Saia-Burgess Controls AG
Memory space on the PCD
PCD2.M5_ Classic CPUs and expansion housings
3-32
3
3.12 Memory space on the PCD
3.12.1 General
ThePCDcontrollersarettedwithauserprogrammemoryandamatchinguser
backup memory as standard. On the PCD, both types are referred to as user
memory.
User Program Memory (RAM)
TheuserprogrammemoryconsistsofaRAM(RandomAccessMemory)and
contains the program code and a text and DB memory area. It also contains the
extensionmemory,whichalsoholdsDBsandtexts(addresses≥4000).OnaPCD2.
M5_, all DBs and texts are always in RAM. The main difference between the texts
and DBs in the text/DB memory segment and those in extension memory is the
greater maximum size of DBs and texts.
TorunanapplicationonthePCD,itissufcienttoloadonlytheuserprogram
memory.AsthisisaRAM,theprogramandthecontentsofthetextsandDBs(and
theothermedia,registers,agsetc.)maybelostifthereisnopowerandthebattery
isatornotconnected.
Backup memory (Flash)
Inordertopreventthelossoftheprogram,everyPCDCPUhasonboardash
memoryttedasstandardtobackuptheuserprogrammemory.
ItisalsopossibletosaveDBsonthisashduringruntime.Thisallowskeyvaluesof
registersandagstobesavedtotheashatruntimeandreloadedlater.
Evenwithbackuptotheashcard,thesourcelesfortheprojectmustberetained,
as the application is only stored in the PCD as machine code.
IfittranspireswhenthePCDisstartedupthattheRAMmemoryhasbeencorrupted(e.g.
afterapowerfailurewithaatormissingbattery),theapplicationisautomaticallyreloaded
fromtheashbackupmemory.TheLISTcommand"Test"andoperand"400"canbeusedto
test this.
Allhardwaresettingsarealsosavedtotheashbackupmemory(onboardoronan
equivalentashcard).
Partition of user backup memory
Theuserbackupmemoryissplitintotwoparts.Therstisavailablefortheuser
programbackupandisalwayspresent.InthePG5hardwarecongurator,this
memory is referred to accordingly as "user program backup".