Programming
CX8030 / CX803166 Version: 1.6
ADS write indication parameter Meaning
Source-Net-ID (NETID) Net-ID of the slave (see the device's ADS tab)
Source-Port (PORT) 0x1000+slave address
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 represented 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 ADS tab)
Destination-Port (PORT) 0x1000+slave address
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
DPV1 error codes [}66]
Length (LENGTH) Length of the data that has been read
7.4.2.3 DPV1 Error Codes
In the event of an incorrect DPV1 access, the slave replies with 4 bytes of data (any values that are not
described here are not defined in the DPV1 standard, and are therefore to be found in the slave's manual).
Byte 0 DPV1 service
0xD1 Data_Transport
0xD7 Initiate
0xDE Read
0xDF Write
Byte 1 Error_Decode
0x80 DPV1
0xFE FMS
0xFF HART