ProSoft Technology PS69-DPS User Manual

Page 90

Advertising
background image

Reference

PS69-DPS ♦ CompactLogix or MicroLogix Platform

User Manual

Profibus DP Slave Communication Module

Page 90 of 108

ProSoft Technology, Inc.

May 9, 2014

DPS_DPV1C1_ RW_RESP_REQUEST

Parameter

Data Type

Value

Description

Reserved1

INT

0

Reserved

Reserved2

INT

0

Reserved

Reserved3

INT

0

Reserved

Command

SINT

17

Command for DPV1 Class 1 Read Response

Reserved4

SINT

0

Reserved

RwResp

SINT

1

1 = Read Response Request

MaAdr

SINT

0.. 125

Bus Address of Master which sent the request. This value is
obtained from the DPV1 Status Register.

Slot

INT

0.. 254

Slot Number. This value is obtained from the DPV1 Status
Register.

Index

SINT

0.. 254

Index. This value is obtained from the DPV1 Status
Register.

DataLen

SINT

1.. 240
(x)

Length of the data block to be read. This value is obtained

from the DPV1 Status Register.

ErrCode1

SINT

E1

E1 = 0 no error occurred (*)
E1 <> 0 Error code 1 according to DPV1

ErrCode2

SINT

E2

E2 = 0 no error occurred (*)
E2 <> 0 Error code 2 according to DPV1

Data[1..x-1]

SINT[1..240]

0-255

DPV1 Read data to be sent to Master in response.

(*) If the module is not able to process the requested service for example the
master is requesting a slot or index that is not supported for whatever reason
then the user can set the ErrorCode1 and ErrorCode1 will be transferred to the
master. The ErrorCode must be PROFIBUS conform. For the proper format refer
to the PROFIBUS norm..

DPS_DPV1C1_RW_RESP_CONFIRM

Parameter

Data Type

Value

Description

Reserved1

INT

0

Reserved

Reserved2

INT

0

Reserved

Answer

SINT

17

Command for DPV1 Class 1 Read Response

Failure

SINT

0

no error

Reserved4

INT

0

Reserved

RwResp

SINT

1

1 = Read Response Request. Reply from request

MaAdr

SINT

0.. 125

Bus Address of Master which sent the request. Reply from
request.

Slot

INT

0.. 254

Slot Number. Reply from request.

Index

SINT

0.. 254

Index. Reply from request.

DataLen

SINT

1.. 240

Length of the data block to be read. Reply from request.

ErrCode1

SINT

E1

DPV1 Error code 1. Reply from request.

ErrCode2

SINT

E2

DPV1 Error code 2 Reply from request.

Advertising