Programming
CX8030 / CX8031
64
Version: 1.6
Note
Transmission of the diagnostic telegram
A diagnostic telegram is only transferred to the controller when the diagnostic data have
changed.
Note
Transmission of user-specific diagnostic data
Byte 0 of the data must contain a 0x08. Bytes 1 to 5 are overwritten by the CX. Byte 6 and
higher can contain your own diagnostic data. Make sure that your own diagnostic data con-
forms to the PROFIBUS standard for user-specific diagnosis.
7.4.2.2
PROFIBUS DP-V1 communication
C1 Connection (MSAC-C1)
The C1 connection is reserved for the master that cyclically exchanges data with the slave (C1 master). In
order for a slave to be able to use the C1 connection, the slave must support DPV1 (this means that the line
"DPV1_Slave = 1" and the key word "C1_Max_Data_Len" with an appropriate length must be in the GSD
file). If it is also generally necessary to activate the C1 functionality by setting bit 7 in the
PrmData
byte 0
(see the slave's
PROFIBUS
tab) for the corresponding slave (this is done automatically for those Beckhoff
devices that support DPV1).
MSAC-C1-Read is mapped on ADS-Readind, MSAC-C1-Write on ADS-Writeinc:
PROFIBUS DPV1
The DP slave supports a DPV1-MSAC_C1 server connection that is established along with the cyclic
connection. This can be used so that larger quantities of acyclic data can be transferred alongside the cyclic
data. A DPV1 read telegram received by the master is reported to the PLC as an ADS read indication, while
a DPV1 write telegram is reported to the PLC as an ADS write indication. The PLC program is then
responsible for the read or write response. To do this, the ADS read response or ADS write response
functions are to be called.
Settings in the System Manager
In order to transport the DP-V1 services into the PLC this function must be activated by specifying the port.