ProSoft Technology PS69-DPM User Manual

Page 71

Advertising
background image

PS69-DPM ♦ CompactLogix or MicroLogix Platform

Contents

PROFIBUS DPV1 Master

User Manual

ProSoft Technology, Inc.

Page 71 of 130

October 1, 2014

The slave diagnostic command can be executed by using the corresponding handshake
request bit HsReq0 in the Device Command Register (page 69). The result of the slave
diagnostic command can be read in the Slave Diagnostic field of the input array.

Byte Offset

Structure Member

Data Type

Description

4

SLA

SINT

Slave Address

5

FNC

SINT

Function

6

Reserved

SINT

Reserved

7

Reserved

SINT

Reserved

SLA := Slave Address
Address of the slave of which the diagnostic data are requested.

FNC := Function
If FNC is 0, the diagnostic data are requested from internal buffer of the Master. This is the
recommended method, because the master has always the most recent diagnostic data in
its internal buffer from the Slave.

If FNC is 1 the diagnostic data are requested directly from the slave itself. This is not the
preferred method because, this method causes additional bus loading and will influence the
bus cycle time.

Note: The same Slave Diagnostic function can also be executed by CIP message functionality described later in
this manual. Some types of the CompactLogix controller family do not support messaging. This method can be

used for controllers that only support I/O or I/O and CIP messaging. The slave diagnostic via I/O has the

limitation that it cannot show extended diagnostic information if a slave supports this. It can only give the

mandatory diagnostic information of a slave. Extended diagnostic information can be received with the CIP

message functionality.

Global Control Array

The Global Control array is a field of 4 bytes following the Device Command Register. The
Global Control request makes it possible, to send commands to one or several DP slaves. A
DP slave accepts a control command only from the DP master that has parameterized it.
This request makes it possible to do Sync and Freeze functions.

Note: The same Global Control function can be also executed by CIP message functionality described later in

this manual. Some types of the CompactLogix controller family do not support messaging. This method is used

only for controllers that support I/O not messaging.

Byte Offset

Structure Member

Data Type

Description

8

SLA

SINT

Slave Address

9

CC

SINT

Function

10

GS

SINT

Reserved

11

Reserved

SINT

Reserved

Advertising