Saia-Burgess Controls AG
Manual Manual PCD 1 / PCD 2 Series │ Document 26 / 737 EN22 │ 2013-11-26
CPUs and expansion housings
3-54
Backup of the user program
3
Diagnosticsontheashcard,SYSRDK9000
Instruction:
SYSRD K 9000
1)
R_Diag ; Diagnostics register
1) Alternatively,thevalue9000canbepassedinaregister.OnthePCD3,theinstruction
SYSRD K 3000 is used for the same function. For reasons of compatibility, SYSRD
K 3000 can also be used on the PCD1/2, but this alternative was only integrated into the
rmwareinthe2ndhalfof2004
Accu status after execution:
low: Theashcardisready,andSYSWR900xinstructions
can be executed
high: The Flash card is not available or not ready; the
diagnostic register must be retrieved and the process
retried later
WhenusingtheinstructionSYSRDK9000,notethefollowing:
● Iferrorsoccurduringprocessing,e.g.becausenoflashcardispluggedin,XOB13
willbeinvoked(wherepresent),ortheErrorLEDwillbeset
Specication of diagnostic register
Bit Description
(if high)
Cause
0(LSB) Noashcard
1 Headernotcongured Noapplicationontheashcard
2 NoSYSWRaccessto
ashcard
The corresponding option has not been
activatedinthehardwareconguration
(reserved for text/DB etc.)
3 DB/text not present Inthelast instruction, an incorrect DB/text
number was used as a parameter
4 DB/text format invalid The length of the DB or the text has been
changed
5 Restored Text/DBontheashcardhasbeenrestored,
as an error occurred
6 Memory full Too many texts/DBs, no more free memory
space available
7 Already in progress ThelastSYSWR900xinstructionhadnot
yet been fully processed when the next was
started
8…31 Spare