DPV1 communication
On a C1 connection, the master supports the Read and Write services, and on the C2 connection it supports the Read, Write, Data_Transport, Initiate and Abort services.
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 for the corresponding slave (this is done automatically for those Beckhoff devices that support DPV1).
MSAC-C1-Read is shown in ADS-Read, and MSAC-C1-Write is represented in ADS-Write:
MSAC-C1 Read
ADS-Read parameters |
Meaning |
---|---|
Net-ID |
Net-ID of the master (see the device's ADS tab) |
Port |
0x1000 + station address of the slave |
IndexGroup |
Slot number (DPV1 parameter) |
IndexOffset |
Index (DPV1 parameter) |
Length |
Length of the data that is to be read |
Data |
In response: data that has been read |
MSAC-C1 Write
ADS-Write parameters |
Meaning |
---|---|
Net-ID |
Net-ID of the master (see the device's ADS tab) |
Port |
0x1000 + station address of the slave |
IndexGroup |
Slot number (DPV1 parameter) |
IndexOffset |
Index (DPV1 parameter) |
Length |
Length of the data that is to be written |
Data |
In request: data that is to be written |