System Manual

Table Of Contents
Manual EKS Electronic-Key Adapter Ethernet TCP/IP
Page 30/34 Subject to technical modifications 2100420-03-05/19
8.3.3 Reading the serial number
The Electronic-Key read/write also has a unique 8-byte serial number that is permanently written to the memory
during the Electronic-Key production process. The serial number can therefore not be changed. This serial
number is used for secure distinction of every single Electronic-Key. It is necessary that all 8 bytes are
completely evaluated for secure distinction. 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 (see
chapter 8.3.2).
8.3.4 Reading the Electronic-Key status
Command message (message core, PC/control system → EKS, see Figure 9):
Ek (device addr.) (00
hex
, 00
hex
) (00
hex
)
Reply message (message core, EKS → PC/control system, see Figure 10):
There is only one reply for this command:
Ek (device addr.) (00
hex
, 00
hex
) (status number)
Byte no.
Description
Contents
ASCII
hexadecimal
decimal
0
Number of message bytes
07
7
1
2
Command identification
E
k
45
6B
69
107
3
Constant
01
1
4
5
6
Padding data
00
00
00
0
0
0
Figure 9: Command message Read Electronic-Key status (message core)
Byte no.
Description
Contents
ASCII
hexadecimal
decimal
0
Number of message bytes
07
7
1
2
Command identification
E
k
45
6B
69
107
3
Constant
01
1
4
5
Padding data (can be different values)
XX
XX
X
X
6
Status number
*
Figure 10: Reply message Read Electronic-Key status status (message core)
* Status number 01
hex
: EKS_KEY_IN
02
hex
: EKS_KEY_OUT
03
hex
: EKS_KEY_OTHER
Information!
The current status of the EKS Electronic-Key can be polled actively at any time using the command
identification Ek. The EKS device responds also with command identification Ek and the information on
whether an Electronic-Key is in place or not.
This status message is sent automatically by the EKS also without request via the command message,
as soon as the Electronic-Key is put in place or removed.