EasyManuals Logo

SBC PCD1 Series User Manual

SBC PCD1 Series
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #86 background imageLoading...
Page #86 background image
Saia-Burgess Controls AG
Manual Manual PCD 1 / PCD 2 Series │ Document 26 / 737 EN22 │ 2013-11-26
CPUs and expansion housings
3-69
Storing data in EEPROM
3
3.24 Storing data in EEPROM
OnthePCD1/PCD2,anEEPROMisusedtostorecongurationdata.Partofthisis
available to the user to store 32-bit values (EEPROM register). These values are not
lost even in the case of battery failure or an empty buffer capacitor.
OnthePCD1thereareveEEPROMregisters(addresses2000to2004);onthe
PCD2therearefty(addresses2000to2049).TheEEPROMregistersareindepend-
ent of the "normal" registers with the same addresses.
ThevaluesarereadwithaSYSRDinstructionandwrittenwithaSYSWRinstruction:
Read:
SYSRD K x or R x
R y
; K x is the address of the EEPROM
; register in the range K 2000 to K 2004
;forPCD1CPUs,orK2000toK2049
; for PCD2 CPUs
; Alternatively, the address of a register
; can also be passed, containing the
; address of the EEPROM register (same
; ranges as for K constants)
; R y is the target register
Write:
SYSWR K x or R x
R y
; K x is the address of the EEPROM
; register in the range K 2000 to K 2004
;forPCD1CPUs,orK2000toK2049
; for PCD2 CPUs
; Alternatively, the address of a register
; can also be passed, containing the
; address of the EEPROM register (same
; ranges as for K constants)
; R y is the source register
 WhenusingtheinstructionSYSWRK20xx,notethefollowing:
● TheEEPROMcanbewrittentoamaximumof100,000times,soitisnot
permissible to invoke the instruction in a cyclic manner or at short intervals
● Theprocessingtimefortheinstructionisapprox.20ms.Forthisreason,the
instruction must not be invoked in XOB 0 (XOB for a power outage) or during time-
critical processes

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SBC PCD1 Series and is the answer not in the manual?

SBC PCD1 Series Specifications

General IconGeneral
BrandSBC
ModelPCD1 Series
CategoryController
LanguageEnglish

Related product manuals