Communication blocks
Function Blocks - FM 458-1 DP
2-3
Edition 12.2004
2.2 Kopplung PROFIBUS DP
2.2.1 DPDIAG
Diagnostics
overview, PROFIBUS DP
DPDIAG
DP module name.connector
―
GV CTS
OK
BO
―
Diagnostics valid
Enable
―
BO EN
DG1
DW
―
Slave diagnostics; bits 0 to 31
DG2
DW
―
Slave diagnostics; bits 32 to 63
DG3
DW
―
Slave diagnostics; bits 64 to 95
DG4
DW
―
Slave diagnostics; bits 96 to 127
DL1
DW
―
Data transfer list; bits 0 to 31
DL2
DW
―
Data transfer list; bits 32 to 63
DL3
DW
―
Data transfer list; bits 64 to 95
DL4
DW
―
Data transfer list; bits 96 to 127
MST
BY
―
Master status
ID
W
―
Identification number
QTS
BO
―
Block status
YTS
W
―
Status display
The task of the
DPDIAG
function block is to provide the following
information and data to the user program (i.e. the configured CFC
software):
•
System diagnostics (an overview of which slave had signaled
diagnostics)
•
Data transfer list (overview of with which slave data transfer took
place within the PROFIBUS-DP time frame)
•
Master status (master-specification information such as the Stop,
Operate and Clear stati)
The PROFIBUS-DP interface is selected using connection CTS.
The function block only enters a communications error for errors, which
are detected during initialization. A communications error cannot be
acknowledged and this function block is only used for diagnostics. This
means, that in normal operation, a communications error is
not
entered.
Only the cause of the error is signaled at output YTS.
Symbol
Brief description
Mode of operation