Hardware Manual for the PCD3 Series│Document 26/789; Version E 5│31.01.2005
Saia-Burgess
Controls Ltd.
Backup of the user program
PCD3.Mxxx0 Classic CPUs and expansion housings
3-26
3
If errors occur during processing, e.g. because no flash card is plugged in, XOB 13
will be invoked (where present), or the Error LED will be set.
Diagnostics on the flash card, SYSRD K 3000
Diagnostics on the onboard flash, SYSRD K 3100
Instruction:
SYSRD
K 3x00
1)
R_Diag
; Diagnostics register
1) Alternatively, the value 3x00 can be passed in a register.
Battery status after execution:
low:
The flash card is ready, and SYSWR 3x0x instructions
can be executed
high:
The Flash card is not available or not ready; the
diagnostic register must be retrieved and the process
retried later
When using the instruction SYSRD K 3x00, note the following:
If errors occur during processing, e.g. because no flash card is plugged in, XOB 13
will be invoked (where present), or the Error LED will be set
Specification of diagnostic register
Bit-no. Description
Cause,
where bit high
0 (LSB) No backup possible
1
Header not configured
No application on the flash card
2
No SYSWR access to
flash card
The corresponding option has not been
activated in the hardware configuration
(reserved for text/DB etc.)
3
DB/text not present
In the last 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/DB on the flash card has been restored,
as an error occurred
6
Memory full
Too many texts/DBs, no more free memory
space available
7
Already in progress
The last SYSWR 3x0x instruction had not
yet been fully processed when the next was
started
8..31
Spare