beautypg.com

2 read process, Read process, Manual eks electronic-key adapter usb – EUCHNER EKS FSA with USB Interface User Manual

Page 41

background image

Manual EKS Electronic-Key Adapter USB

094485-04-11/13

Subject to technical modifications

Page 41/44

8.4.2 Read process

Command message (message core, PC

→ EKS, see Figure 4):

 TL (device addr.) (start addr. user data) (number of bytes of user data)

Reply message (message core, EKS

→ PC, see Figure 5 or Figure 6):

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

hex

,00

hex

) (status number)

The reply message RL (see Figure 5) stands for correct reception of the data.

If an Electronic-Key cannot be read, an RF reply message is received (see Figure 6). The status number then
indicates the cause of the error.

Byte no.

Description

Contents

ASCII

hexadecimal

decimal

0

Number of message bytes

07

7

1
2

Command identification

T
L

54

4C

84
76

3

Device address

01

1

4
5

Start address for the user data

00

00 ... 73

0

0 ... 115

6

Number of bytes of user data

01 ... 74

1 ... 116

Figure 4: Command message read from read/write Electronic-Key (message core)

Byte no.

Description

Contents

ASCII

hexadecimal

decimal

0

Number of message bytes

08 ... 7B

8 ... 123

1
2

Command identification

R

L

52

4C

82
76

3

Device address

01

1

4
5

Start address for the user data

00

00 ... 73

0

0 ... 115

6

Number of bytes of user data

01 ... 74

1 ... 116

7 ... 122

User data

ASCII or hexadecimal or BCD (code transparent)

Figure 5: Reply message read from read/write Electronic-Key (message core)

Byte no.

Description

Contents

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 6: Reply message read from read/write Electronic-Key - status (message core)

* Status number

02

hex

: Electronic-Key not in the operating distance

(For further status numbers see section 8.6)

This manual is related to the following products: