Manual EKS Electronic-Key Adapter Ethernet TCP/IP
8.3.2 Read process
Command message
TL (device addr.) (start addr. user data) (number of bytes of user data)
Reply message (message core, EKS → PC/control system, see Figure 7 or Figure 8):
For this command there are two possible replies:
RL (device addr.) (start addr. user data) (number of bytes of user data) (user data)
or
RF (device addr.) (00
The reply message RL (see Figure 7) stands for correct reception of the data.
If an Electronic-Key cannot be read, an RF reply message is received (see Figure 8). The status number then
indicates the cause of the error.
Byte no.
Description
0
Number of message bytes
1
Command identification
2
3
Constant
4
5
Start address for the user data
6
Number of bytes of user data
Figure 6: Command message Read Electronic-Key read/write (message core)
Byte no.
Description
0
Number of message bytes
1
Command identification
2
3
Constant
4
5
Start address for the user data
6
Number of bytes of user data
7 ... 130
User data
Figure 7: Reply message Read Electronic-Key read/write (message core)
Byte no.
Description
0
Number of message bytes
1
Command identification
2
3
Constant
4
Padding data
5
6
Status number
Figure 8: Reply message Read Electronic-Key read/write – status (message core)
* Status number
2100420-03-05/19
(message core, PC/control system → EKS, see Figure 6):
, 00
) (status number)
hex
hex
02
:
Electronic-Key not in operating distance
hex
(for further status numbers see chapter 8.5)
Subject to technical modifications
Contents
ASCII
hexadecimal
07
T
54
L
4C
01
00
00 ... 74
01 ... 7C
Contents
ASCII
hexadecimal
08 ... 83
R
52
L
4C
01
00
00 ... 74
01 ... 7C
ASCII or hexadecimal or BCD (code transparent)
Contents
ASCII
hexadecimal
07
R
52
F
46
01
00
00
*
decimal
7
84
76
1
0
0 ... 116
1 ... 124
decimal
8 ... 131
82
76
1
0
0 ... 116
1 ... 124
decimal
7
82
70
1
0
0
Page 29/34