FC310x as slave
FC3101 and FC3102
66
Version: 3.0
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.
MSAC-C1 Read
A DPV1-MSAC_C1 read indication is mapped in an ADS read indication as follows:
ADS read indication parameter
Meaning
Source-Net-ID (NETID)
Net-ID of the slave (see the device’s
tab)
Source-Port (PORT)
0x200
Invoke-ID (INVOKEID)
A unique number that must reappear in the response
IndexGroup (IDXGRP)
Slot number (DPV1 parameter)
IndexOffset (IDXOFFS)
Index (DPV1 parameter)
Length (LENGTH)
Length of the data that is to be read
An ADS read response is mapped in a DPV1-MSAC_C1 read response as follows:
ADS read response parameter
Meaning
Destination-Net-ID (NETID)
Net-ID of the slave (see the device’s
tab)
Destination-Port (PORT)
0x200
Invoke-ID (INVOKEID)
A unique number, as under indication
Result (RESULT)
Result of the read: 0 = no error, otherwise: bits 0-15 = standard ADS
error codes, bits 16-23 = Error_Code_1, bits 24-31 = Error_Code_2,
see description of the
Length (LENGTH)
Length of the data that has been read
Data (DATAADDR)
read data
MSAC-C1 Write
A DPV1-MSAC_C1 write indication is mapped in an ADS write indication as follows:
ADS write indication parameter
Meaning
Source-Net-ID (NETID)
Net-ID of the slave (see the device’s
tab)
Source-Port (PORT)
0x200
Invoke-ID (INVOKEID)
A unique number that must reappear in the response
IndexGroup (IDXGRP)
Slot number (DPV1 parameter)
IndexOffset (IDXOFFS)
Index (DPV1 parameter)
Length (LENGTH)
Length of the data that is to be written
Data (DATAADDR)
data that is to be written
An ADS read response is mapped in a DPV1-MSAC_C1 read response as follows:
ADS read response parameter
Meaning
Destination-Net-ID (NETID)
Net-ID of the slave (see the device’s
tab)
Destination-Port (PORT)
0x200
Invoke-ID (INVOKEID)
A unique number, as under indication
Result (RESULT)
Result of the read: 0 = no error, otherwise: bits 0-15 = standard ADS
error code, bits 16-23 = Error_Code_1, bits 24-31 = Error_Code_2,
see description of the
Length (LENGTH)
Length of the data that has been read