3 reading the serial number, 4 reading the key status, Reading the serial number – EUCHNER EKS FSA with Ethernet Interface User Manual
Page 37: Reading the key status, Manual eks electronic-key adapter ethernet
Manual EKS Electronic-Key Adapter Ethernet
8.3.3 Reading the serial number
The Electronic-Key read/write 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 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 user data.
The serial number can be read by entering the start address byte number 116 and the number of bytes 8 (see
section 8.3.2).
8.3.4 Reading the key status
Command message (message core, PC/PLC (control system)
→ EKS, see Figure 6):
f Ek (device addr.) (00
hex
, 00
hex
, 00
hex
)
Reply message (message core, EKS
→ PC/PLC (control system), see Figure 7):
There is only one reply for this command:
f Ek (device addr.) (00
hex
, 00
hex
) (status number)
Content
Byte no.
Description
ASCII
hexadecimal
decimal
0
Number of message bytes
07
7
1
2
Command identification
E
k
45
6B
69
107
3 Device
address
01
1
4
5
6
Padding data
00
00
00
0
0
0
Figure 13: Command message read Electronic-Key status (message core)
Content
Byte no.
Description
ASCII
hexadecimal
decimal
0
Number of message bytes
07
7
1
2
Command identification
E
k
45
6B
69
107
3 Device
address
01
1
4
5
Padding data
00
00
0
0
6 Status
number
*
Figure 14: 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 with Ek. This status message is sent as
soon as the EKS Electronic-Key is removed or inserted.
100420-02-01/09
Subject to technical modifications
Page 37/40