beautypg.com

Startadress, Countdata, 5 startadress – EUCHNER ActiveX Module serial/USB User Manual

Page 12: 6 countdata, 7 blocksize, Manual eks activex, Module serial / usb

background image

Manual EKS ActiveX

®

Module serial / USB

3.5.5 StartAdress

 Description

The start address for the memory area on the Electronic-Key from which data are to be
read (Read) respectively from which data are to be written (Write).

 Syntax

object.StartAdress = short Value;

 Comments

Defines the start address for the data to be read using the method Read as well as the
start address for the data to be written using the method Write. Once the read method
has been completed successfully, the data will be available in the property Data. The
data to be written must also be saved there. The property StartAdress must be set prior
to calling the methods so that the start address can be used for the subsequent call.

Information!
On the Electronic-Key read/write with 116 bytes freely programmable, the memory is organized in 4-
byte blocks. This means the start address must be given in the range byte number 0 to byte number
112, always in 4-byte steps (byte number 0, 4, 8 ... 112). Also the blocks written must always be a
multiple of 4-byte blocks (4, 8, 12 ... 116 bytes)!

However, during reading it is possible to access the memory byte-by-byte without the above mentioned
restriction for writing.

The Electronic-Key read/write also contains a unique 8-byte serial number. This number is written by
laser during the Electronic-Key production process and can never be changed or deleted. The serial
number can therefore not be changed. The serial number is used for secure distinction of every single
Electronic-Key. It is necessary that all 8 bytes are completely evaluated for reliable differentiation. The
serial number is appended to the freely programmable memory. The serial number can be read by
entering the start address byte number 116 and the number of bytes 8.

 Data

type

short

 Default

value

0

3.5.6 CountData

 Description

The number of bytes of data to be written or read.

 Syntax

object.CountData = short Value;

 Comments

Defines the number of bytes of data to be read using the method Read as well as the
number of bytes of data to be written using the method Write. Once the read method
has been completed successfully, the data will be available in the property Data. The
data to be written must also be saved there. The property CountData must be set prior
to calling the methods so that the number of bytes of data to be read/written can be
used for the subsequent call.

Information!
On the Electronic-Key read/write with 116 bytes freely programmable, the memory is organized in 4-
byte blocks. This means the start address must be given in the range byte number 0 to byte number
112, always in 4-byte steps (byte number 0, 4, 8 ... 112). Also the blocks written must always be a
multiple of 4-byte blocks (4, 8, 12 ... 116 bytes)!

However, during reading it is possible to access the memory byte-by-byte without the above mentioned
restriction for writing.

The Electronic-Key read/write also contains a unique 8-byte serial number. This number is written by
laser during the Electronic-Key production process and can never be changed or deleted. The serial
number can therefore not be changed. The serial number is used for secure distinction of every single
Electronic-Key. It is necessary that all 8 bytes are completely evaluated for reliable differentiation. The
serial number is appended to the freely programmable memory. The serial number can be read by
entering the start address byte number 116 and the number of bytes 8.

 Data

type

short

 Default

value

4

Page 12

/

20

Subject to technical modifications

098655-03-10/12