3 configuration message, 4 diagnostics message, 5 eks diagnostics byte – EUCHNER EKS FSA with Profibus-DP Interface User Manual
Page 28: Manual eks electronic-key adapter profibus-dp
Manual EKS Electronic-Key Adapter Profibus-DP
8.3 Configuration
message
After the parameters for the Electronic-Key adapter have been set, the bus master sends a configuration
message. This message contains the configuration of the Electronic-Key adapter currently saved in the bus
master. The Electronic-Key adapter compares the configuration message received with its own values. If the
values match, the Electronic-Key adapter confirms the configuration.
8.4 Diagnostics
message
If the Electronic-Key adapter detects an error, it automatically signals that there is an error after changing the
status bytes using the diagnostics request "Extended diagnostics" to the bus master. The diagnostics data
received is saved in the diagnostics area of the bus master. The total length of the diagnostics message is 32
bytes.
Byte no. 8 of the diagnostics message contains the EKS diagnostics byte. The content of the EKS diagnostics
byte can be evaluated by the application.
Diagnostics area of the bus master
Byte no.
Function
Description
0
Station status 1
1
Station status 2
2
Station status 3
3 Diag_Master_Adr
Profibus
4 Ident-No_High
slave diagnostics
5
Ident-No_Low
6
Length of the extended diagnostics
Header
Extended diagnostics
7
SPC3 error
8
EKS diagnostics byte
9 - 13
EKS software release
14 – 18
Bus interface software release
Extended device
specific diagnostics
19 - 31
Internal device error
8.5 EKS diagnostics byte
The current state of the Electronic-Key adapter can be evaluated by the application via the content of the EKS
diagnostics byte (byte no. 8, see section 8.4 Diagnostics message) in the diagnostics area of the bus master.
Value
EKS
Description
diagnostics
byte
00
No error
hex
02
Electronic-Key not in the operating distance
hex
03
Parity bit error on Electronic-Key read-only
hex
06
Write process aborted. Start address or number of bytes is not a multiple of the block size 4
hex
Read attempt when the Electronic-Key adapter is set to Electronic-Key read-only and an Electronic-Key
read/write is inserted
18
hex
4x
General Electronic-Key communication error (renewed write or read necessary)
hex
50
Write attempt despite enabled write protection
hex
C6
hex
Area overflow on data read
(renewed write or read necessary)
C7
hex
Information!
A status change in the EKS diagnostics byte (value not 00
hex
) will cause bit no. 5 in status byte no. 0
being set in the input area of the bus master (job status see section 8.6.1).
092009-03-10/07
Subject to technical modifications
Page 28
/
36