FC310x as master
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-
IndexGroup
Group (Lo-
(Hi-Word)
Word)
0xF100
0x00
0xF181
0x00-0x7E
0xF830
0x8000-0x80
7E
0xF840
0
28
IndexOffset
Description
BYTE offset
This reads the diagnostic data from the FC310x. If the ADS-Read
within the data
is answered without error (error code = 0), the data will contain
the diagnostic data of the FC310x described in the Master
Diagnostics [} 20] chapter. The FC310x will reset the FC310x
DiagFlag. It will be set again, if the FC310x diagnostic data
change again.
BYTE offset
This will read the diagnostic data of a configured DP slave. The
within the data
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 Slave diagnostics [} 23] chapter.
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 Upload
Configuration [} 34]).
BYTE offset
This will read the firmware version and the station address of the
within the data
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).
Version: 3.0
FC3101 and FC3102