beautypg.com

ProSoft Technology ILX69-PBS User Manual

Page 64

background image

Contents

ILX69-PBS ♦ CompactLogix or MicroLogix Platform

User Manual

PROFIBUS Slave Communication Module

Page 64 of 102

ProSoft Technology, Inc.

March 20, 2015

6.3.3 DPV1 Messaging

This section describes DPV1 messaging functions supported by the ILX69-PBS.

Note: Every DPV1 read or write request must be acknowledged by the
PLC application program. Otherwise, the PROFIBUS master shuts down
communication for both channels, V0 (cyclic IO data) and V1 (non-cyclic
messages). This can cause unexpected lost of data between the master
and the ILX69-PBS.

DPV1 Read

The DPV1 Class 1 Read Response message is used by the slave to reply to a Master DPV1
Read Request. The MSG instruction Response/Return format is as follows.


ILX69PBS.CONTROL.DPV1.Read.Response

Parameter Data Type

Value

Description

.Status

DINT

0x0000

Status of Response message

.Command

DINT

0x0485

Command code

.SlotNumber

SINT

0 to 255

Slot number of data to be read

.Index

SINT

0 to 255

Index number of data to be read

.Length

SINT

0 to 240

Data length, 1 to 240 bytes

.Reserved1

SINT

0

Reserved

.ErrorDecode SINT

Error code

.ErrorCode1

SINT

Detailed error code

.ErrorCode2

SINT

User-specific error code

.Reserved2

SINT

0

Reserved

.Data

SINT[240]

Read Response Data


ILX69PBS.CONTROL.DPV1.Read.Return

Offset

Data Type

Value

Description

.Status

DINT

0x0000

Status of Return message

.Command

DINT

0x0485

Command code

.SlotNumber

SINT

0 to 255

Slot number of data to be read

.Index

SINT

0 to 255

Index number of data to be read

.Length

SINT[240]

0 to 240

Data length

.Reserved1

SINT

0

Reserved byte