device manual AS-i DP-Gateway
If as discussed above the parameter 'Extended Profibus Diag.' (byte 37 bit 5 TRUE) is set to Disabled
(default condition) the AS-i DP- Gateway transmits no extended unit specific diagnostic data, only
diagnostic data which every Profibus DP Slave is required to transmit(first 6 bytes). This is generally
known as standard diagnostic. In some applications jitter in the Profibus DP cycle time which takes
place with diagnosis calls can not be tolerated. In this case system diagnosis can be realised via the
I/O data(module 4) even though this causes the regular DP-cycle time to be increased.
The device-specific Profibus DP diagnostics are activated by the Profibus DP parameter byte 37 bit 5
being set and contains the following status information:
Byte
Contents
0
station status 1
1
station status 2
2
station status 3
3
station number DP master
4
manufacturer ID (high byte) 0x04
5
manufacturer ID (low byte ) 0x0D
standard
diagnostic
6
length of external diagnostics (0x3A)
7
Status type: status manufacturer specific
8 Slot
number
(0x04)
9 0
Header of
extended
diagnostic
10, 11
master flags
12..19
LDS: list of detected slaves
20..27
Config Error
28..35
LPF: list of periphery faults
Diagnostic
AS-i Master
1
A and B-slaves
36, 37
master flags
38..45
LDS: list of detected slaves
46..53
Config Error
54..61
LPF: list of periphery faults
Diagnostic
AS-i Master
2
A and B-slaves
(only AC1326)
The AS-i DP- Gateway generates
68 Bytes of diagnostic data
when diagnosis is activated even if a
unit containing only one master (AC1335) is used!
Format of 1st byte of the master flags:
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
CTRL Cerr Offl
PF
APF Sl0
ProjM Gateway
CTRL:
Controller
e
PLC in RUN mode (reserved in AS-i DP Gateway)
Cerr:
AS-i configuration error
Offl:
AS-i master offline (no AS-i slave detected)
PF:
AS-i periphery fault
APF:
AS-i power failure
Sl0:
AS-i Slave with addr. 0 detected
ProjM:
AS-i master in configuration mode
Gateway:
Gateway mode is active
Format of slave lists:
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0
15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A)
23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A)
31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A)
7B 6B 5B 4B 3B 2B 1B not
used
15B 14B 13B 12B 11B 10B 9B 8B
23B 22B 21B 20B 19B 18B 17B 16B
31B 30B 29B 28B 27B 26B 25B 24B
5-30