Euchner Electronic-Key Adapter with serial Interface Bedienungsanleitung Seite 18

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 24
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 17
Manual EKS Electronic-Key Adapter serial
088796-02-03/05 Subject to technical modifications Page 18/24
8.4 Commands for writing and reading an Electronic-Key read/write
Write and read processes are always initiated by the PC/PLC (control system) using a "command message".
The Electronic-Key-System then sends a reply message to the control system.
PC/PLC (control system) Electronic-Key-System
Command message
−→
Reply message
←
On Electronic-Keys read/write with 116 bytes, the memory is organized in 4-byte blocks. This means a
multiple of 4-byte sized blocks must always be written.
The start address must be given in the range byte number 0 to byte number 112, always in 4-byte steps
(byte number 0, 4, 8 ... 112)!
However, during reading it is possible to access the memory by bytes without the above mentioned
restriction during writing.
8.4.1 Write process
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 EKS, see Figure 2):
TP (device addr.) (start addr. user data) (number of bytes of user data) (user data)
Reply message (message core, EKS PC/PLC, see Figure 3):
RF (device addr.) (00
hex
,00
hex
) (status number)
Contents
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 the 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 2: Command message write Electronic-Key read/write (message core)
Seitenansicht 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 24

Kommentare zu diesen Handbüchern

Keine Kommentare