
Manual EKS Ethernet TCP/IP
2547185-01-10/22
Subject to technical modifications
Page 35/38
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 therefore cannot be changed. This serial
number is used for secure differentiation of every single Electronic-Key. It is necessary that all 8 bytes are
completely evaluated for secure 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 (see chapter 8.3.2).
8.3.4 Read the Electronic-Key status
Command message
(message core, PC/control system → EKS, see
Ek (device addr.) (00
hex
, 00
hex
) (00
hex
)
Reply message
(message core, EKS → PC/control system, see
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 10: 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 11: 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.