1 write process, Write process, Manual eks electronic-key adapter ethernet – EUCHNER EKS FSA with Ethernet Interface User Manual
Page 35
Manual EKS Electronic-Key Adapter Ethernet
8.3.1 Write process
Information!
When this command is used, the Electronic-Key must be in the Electronic-Key adapter and is only
allowed to be removed from within the operating distance after reception of the reply message.
Command message (message core, PC/PLC (control system)
→ EKS, see Figure 8):
f TP (device addr.) (start addr. user data) (number of bytes of user data) (user data)
Reply message (message core, EKS
→ PC/PLC (control system), see Figure 9):
f RF (device addr.) (00
hex
, 00
hex
) (status number)
Content
Byte no.
Description
ASCII
hexadecimal
decimal
0
Number of message bytes
0B ... 7B
11 ... 123
1
2
Command identification
T
P
54
50
84
80
3 Device
address
01
1
4
5
Start address for user data
00
00 ... 70
0
0 ... 112
6
Number of bytes of user data
04 ... 74
4 ... 116
7 ... 122
User data
ASCII or hexadecimal or BCD (code transparent)
Figure 8: Command message write Electronic-Key read/write (message core)
Content
Byte no.
Description
ASCII
hexadecimal
decimal
0
Number of message bytes
07
7
1
2
Command identification
R
F
52
46
82
70
3 Device
address
01
1
4
5
Padding data
00
00
0
0
6 Status
number
*
Figure 9: Reply message write Electronic-Key read/write - status (message core)
* Status number
00
hex
: No
error
02
hex
: Electronic-Key not in the operating distance
(For further status numbers see section 8.5)
100420-02-01/09
Subject to technical modifications
Page 35/40