Programming
CX8030 / CX8031
56
Version: 1.6
IndexGroup for local CX8030 addressing (port 200)
IndexGroup
(Lo-Word)
IndexGroup
(Hi-Word)
IndexOffset
Description
0xF181
0x0000-0x007E
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 section
.
0xF830
0x0000-0x007E
always 0
Can be used to determine
which DP slaves are
present on the
PROFIBUS, regardless of
whether they were
configured or not; the
station address is entered
in the IndexGroup (high
word). 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).
IndexGroup for addressing of a configured PROFIBUS device (port 0x1000-0x107E)
IndexGroup
(Lo-Word)
IndexGroup
(Hi-Word)
IndexOffset
Description
0x00-0xFF
0x00
0x00-0xFF
This will send a DPV1-
Read to the appropriate,
configured DPV1 slave via
a Class -1 connection; the
DPV1 slot number
corresponds to the
IndexGroup, the DPV1
index corresponds to the
IndexOffset. If the ADS-
Read is answered without
error (error code = 0), the
data will contain the read
DPV1 data (see section
)
ADS Write
An overview of the IndexGroups/IndexOffsets supported by the CX8030 during ADS-Write is provided below.