FC310x as master
FC3101 and FC3102
28
Version: 3.0
3.6
ADS (acyclic communication)
3.6.1
ADS Interface
All acyclic data are transmitted to or from the FC310x via ADS-Read, ADS-Write or ADS-Write-Control. The
FC310x has its own Net-ID and supports the following ports:
Port
Description
200
This addresses the FC310x itself, i.e. data that reside locally on the FC310x, and for
which usually no additional bus access is required
0x1000 - 0x107E
This addresses a connected PROFIBUS device, with the address calculated from
port-0x1000; this always involves a bus access
ADS-Read
An overview of the IndexGroups/IndexOffsets supported by the FC310x during ADS-Read is provided below.
IndexGroup for local FC310x addressing (port 200)
Index-
Group (Lo-
Word)
IndexGroup
(Hi-Word)
IndexOffset
Description
0xF100
0x00
BYTE offset
within the data
This reads the diagnostic data from the FC310x. If the ADS-Read
is answered without error (error code = 0), the data will contain
the diagnostic data of the FC310x described in the
chapter. The FC310x will reset the FC310x
DiagFlag. It will be set again, if the FC310x diagnostic data
change again.
0xF181
0x00-0x7E
BYTE offset
within the data
This will read the diagnostic data of a configured DP slave. The
station address is calculated from the IndexGroup(Hi-Word). If the
ADS Read is answered without error (error code = 0), the data will
contain the diagnostic data of a configured DP slave described in
the
0xF830
0x8000-0x80
7E
always 0
This enables detection of the DP slaves present at the
PROFIBUS, independent of whether they were configured or not.
The station address is calculated from IndexGroup(Hi-
Word)-0x8000. If the ADS-Read is answered without error (error
code = 0), the corresponding DP slave has answered correctly.
The data contain the Ident no. of the slave (BYTE offset 0-1) and
the read CfgData (from BYTE offset 2) (see chapter
0xF840
0
BYTE offset
within the data
This will read the firmware version and the station address of the
FC310x. If the ADS-Read is answered without error (error code =
0), the data will contain the firmware version (BYTE offset 0-1)
and the station address of the FC310x (BYTE offset 2).