beautypg.com

ProSoft Technology ILX69-PBS User Manual

Page 61

background image

ILX69-PBS ♦ CompactLogix or MicroLogix Platform

Contents

PROFIBUS Slave Communication Module

User Manual

ProSoft Technology, Inc.

Page 61 of 102

March 20, 2015

6.3.2 Standard Messaging

This section contains the description of the Standard Message supported by the ILX69-PBS.

DPS Diagnostic Request

The Diagnostic Request command can be used by the controller user application to
generate a single diagnostic request to a master. The MSG instruction
Request/Confirmation format is as follows.


FSPMS Set Slave Diag Request

Offset Variable

Type

Description

0

ulSta

UINT32

Status = 0 (S_OK)

4

ulCmd

UINT32

Request = 0x040E

8

fExtDiagOverflow

UINT8

Set the bit to indicate that more diagnostic data are
available as diagnostic data can be transferred with
abExtDiagData[ ]

9

fExtDiagFlag

UINT8

If set, diagnostic is sent as extended diagnostic.

10

bRes[2]

UINT8

Reserved padding bytes, set to 0

11

bRes[2]

UINT8

Reserved padding bytes, set to 0

12

abExtDiagData[ ]

UINT8[237]

Diagnostic data block to be transferred


FSPMS Set Slave Diag Confirmation

Offset Variable

Type

Description

0

ulSta

UINT32

Status
0 = Set Slave Diag successful
0 != Set Slave Diag failed

4

ulCmd

UINT32

Request = 0x040F


Status Code Name

Description

0xC0000009

TLR_E_INVALID_PARAMETE
R

The parameter of the “SetSlaveDiag” request is invalid.
Check if the length and consistency of the
ExtDiagData[] are correct.