Saia-Burgess Controls AG
Manual Manual PCD 1 / PCD 2 Series │ Document 26 / 737 EN22 │ 2013-11-26
CPUs and expansion housings
3-53
Backup of the user program
3
Deletingstoredtexts/DBsontheashcard,
SYSWRK9002
Instruction:
SYSWR K 9002
1)
K 0 ; Dummy parameter, required to
;maintainthestructureoftheSYSWR
; instruction
1) Alternatively,thevalue9002canbepassedinaregister.OnthePCD3,theinstruction
SYSWRK3002isusedforthesamefunction.Forreasonsofcompatibility,SYSWRK
3002 can also be used on the PCD1/2, but this alternative was only integrated into the
rmwareinthe2ndhalfof2004
Accu status after execution:
low: The text strings/DBs have been deleted and the process
iscomplete,sofurtherSYSWRK900xinstructionscan
be executed immediately
high: The last instruction has not yet processed to completion;
beforefurtherSYSWRK900xinstructions,aSYSRD
K9000mustbeexecutedtocheckthereadinessofthe
ashcard
WhenusingtheinstructionSYSWRK9002,notethefollowing:
● Thedeletiononlyaffectstext/DBspreviouslystoredwithSYSWRK9000.The
contents of the extension memory stored after a download are retained
● ASYSRDK9000mustbeexecutedbeforethisinstruction,totestwhetherthe
flash card is available and ready
● Theprocessingtimefortheinstructionmaybeseveral100ms.Forthisreason,
the instruction must not be invoked in XOB 0 (XOB for a power outage) or during
time-critical processes
● Iferrorsoccurduringprocessing,e.g.becausenoflashcardispluggedin,XOB13
willbeinvoked(wherepresent),ortheErrorLEDwillbeset