beautypg.com

2 return codes, 3 error codes – ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 219

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master


ProSoft Technology, Inc.

Page 219 of 235

December 22, 2009

4.7.2 Return

Codes

Possible error codes in Message Data word "Return Code" (The Return Codes
can be byte swapped)

Return Code Name

Meaning

8010h

DPMC_ERR_V1C_CLOSED

Internal DPMC instance no longer exists.

8011h

DPMC_ERR_V1C_STOPPED

Internal DPMC instance has already been stopped

8012h

DPMC_ERR_V1C_STARTED

Internal DPMC instance has already been started

8013h

DPMC_ERR_V1C_STATE_UNKNOWN

Internal DPMC instance has entered an undefined
state

8021h

DPMC_ERR_V1C_REQ_ACTIVE

A request is already active

8022h

DPMC_ERR_V1C_NOT_ALLOWED

Internal DPMC module not initialized correctly

8023h

DPMC_ERR_V1C_INVALID_PAR

Invalid parameter in user request

8024h

DPMC_ERR_V1C_MEM_ALLOC

Internal memory allocation error

8025h

DPMC_ERR_V1C_L2_REQ

Unknown opcode in the confirmation

8026h

DPMC_ERR_V1C_TIMEOUT

Active request terminated with timeout

8028h

DPMC_ERR_V1C_INVALID_LEN

Invalid length in user request

8030h DPMC_ERR_V1C_REQ_NEG

1

Negative indication from lower layer

8031h

DPMC_ERR_V1C_REQ_RE

Message frame format error in response

8042h

DPMC_ERR_V1C_REQ_WITHDRAW

Request was recalled

8043h

DPMC_ERR_V1C_REQ_NOT_FOUND

Associated request block not found

80C1h

DPMC_ERR_V1C_MM_FE

Format error in request frame

80C2h

DPMC_ERR_V1C_MM_NI

Function not implemented

80C3h DPMC_ERR_V1C_MM_AD

Access

denied

80C4h

DPMC_ERR_V1C_MM_EA

Area too large

80C5h

DPMC_ERR_V1C_MM_LE

Data block length too large

80C6h

DPMC_ERR_V1C_MM_RE

Format error in response frame

80C7h DPMC_ERR_V1C_MM_IP

Invalid

parameter

80C8h DPMC_ERR_V1C_MM_SC

Sequence

conflict

80C9h DPMC_ERR_V1C_MM_SE

Sequence

error

80CAh DPMC_ERR_V1C_MM_NE

Area

non-existent

80CBh

DPMC_ERR_V1C_MM_DI

Data incomplete or incorrect

80CCh

DPMC_ERR_V1C_MM_NC

Master parameter set not compatible

4.7.3 Error

Codes

If return code indicates DPMC_ERR_V1C_REQ_NEG, the status values
according to the DP-standard may be available in Error Code 1. Refer to the
PROFIBUS DP specification for information on how to interpret these status
values.

Error Code

Name

Meaning

01h L2_STATUS_UE

02h L2_STATUS_RR

03h L2_STATUS_RS

0Ch

L2_STATUS_RDL

Refer to PROFIBUS DP specification

0Dh L2_STATUS_RDH

0Fh L2_STATUS_NA