ProSoft Technology PS69-DPM User Manual

Page 70

Advertising
background image

Contents

PS69-DPM ♦ CompactLogix or MicroLogix Platform

User Manual

PROFIBUS DPV1 Master

Page 70 of 130

ProSoft Technology, Inc.

October 1, 2014

RST := Reset
The user program can use this bit to execute a Reset (Cold Start) of the module.

Attention: Using the Reset command will cause an interruption in bus communication. All connected slaves go
to fail safe mode.

HSR := Handshake Request Bits

Bit Offset

Structure Member

Data Type

Description

0

HsReq0

BOOL

SlvDiagReq, Slave Diag Request

1

HsReq1

BOOL

GlbCtrReq, Global Control Request

2

HsReq2

BOOL

Reserved

3

HsReq3

BOOL

Reserved

4

HsReq4

BOOL

Reserved

5

HsReq5

BOOL

Reserved

6

HsReq6

BOOL

Reserved

7

HsReq7

BOOL

Reserved

With the handshake request bits the user application can trigger different functions
supported by the master module. Every handshake request bit (HsReq) has a
corresponding handshake acknowledge bit (HsAck) in the Device Status Register in
theDevice Status Registers (page 61). If the module set an HsReq bit unequal to the
corresponding HsAck bit, the module will execute the command. If the module sets the
corresponding HsAck bit equal to the HsReq bit then the module has executed the
command and the application can execute another command.

Note: The user application can only initiate a new command as long as the HsReq bit and the HsAck bit are

equal.

HsReq0 := Slave Diag Request
The user program can use this bit to execute a Slave Diagnostic request. This bit is used
with the SlvDiagCnf bit in the Handshake Acknowledge bits to determine if the command
has been processed. Refer to Device Status Registers for more Input:
DPM_DEV_STATUS_REGISTER (page 110).

HsReq1 := Global Control Request
The user program can use this bit to execute a Global Control command. This bit is used
with the GlbCtrCnf bit to determine if the command has been processed. See section on
Device Status Registers for more Input: DPM_DEV_STATUS_REGISTER (page 110).

HsReq0..7 := Reserved
Reserved for future use.

Slave Diagnostic Request Register

The Slave Diagnostic Request register in combination with the handshake request bits is
used to provide the user program with an easy method to execute a diagnostic request to a
specified slave in the system.

Advertising