Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual Kuhnke Electronics Instruction Manual

17.02.2013 Views

Remanent Data 4.8.2 Extraremanent Data Range Prerequisite: Ventura Remote PLC DP: Target and LZS version 02030207 Ventura Remote PLC CAN: Target and LZS version 02030106 To avoid the transfer of a program provoking the loss of important data or data it took a lot of effort to enter, a NVRAM area of 8 or 12 Kbytes was provided for safekeeping data that the system will not delete at any time. To keep things simple, these data are referred to as "extraremanent data". Controller Address Range Ventura SlotPLC 8 Kbytes PCControl 645-12M- PCI-CoDeSys Ventura Remote PLC 8 Kbytes from 16#404000 to 16#405FFF from 16#1F4000 to 16#1F5FFF 12 from 16#204000 Kbytes to 16#206FFF Data management of these data is entirely subject to the user's responsibility. � The extraremanent memory range is appended as a subelement to the PLC configuration. � This range is addressed by global variable "xrdata". � The data type of "xrdata" is "XREMDATA". This data type is specified by its name only. Its contents is to be defined by the programmer with regard to the application (see example below). 118 E 700 GB

Remanent Data If an extraremanent memory range has been appended, data type "XREMDATA" must needs be defined. Otherwise, you will run into interpreter error 3740: unknown data type "XREMDATA" Keep an eye on the size of "xrdata". There will be no automatic monitoring with regard to memory overflow. Example: Store extraremanent data of an operating hour counter and a recipe. • Step1: Enable the extraremanent memory range. � Go to tab "Resources" and choose "PLC Configuration". � Select "Add, Append Subelement, xRemanente Daten". 119

Remanent Data<br />

If an extraremanent memory range has been appended,<br />

data type "XREMDATA" must needs be defined.<br />

Otherwise, you will run into interpreter error<br />

3740: unknown data type "XREMDATA"<br />

Keep an eye on the size of "xrdata".<br />

There will be no automatic monitoring with regard to<br />

memory overflow.<br />

Example:<br />

Store extraremanent data of an operating hour counter<br />

and a recipe.<br />

• Step1: Enable the extraremanent memory range.<br />

� Go to tab "Resources" and choose "PLC<br />

Configuration".<br />

� Select "Add, Append Subelement, xRemanente<br />

Daten".<br />

119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!