beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 111

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master


ProSoft Technology, Inc.

Page 111 of 235

December 22, 2009

DFB Get PROFIBUS Standard Slave Diagnostics - M340

MNETDPV1_BASICVAR_PB_SLVDiagnostics Variables - M340

This variable structure is the one to use with your control and sequencing logic
when you want to send a request to read standard PROFIBUS slave diagnostic
data.

Variable Name

Size/Type

Description

Out - TimeOut

1

16-bit Integer

Used to hold the amount of time in milliseconds to wait
for a response to the Modbus TCP/IP command before
assuming a communication error has occurred and
setting the In-MessageError status bit

Out -
GetPBSlaveDiagnostics

1

Single-bit
Boolean

This is the bit your control and sequencing logic will
use to trigger a read message that will retrieve
PROFIBUS slave diagnostic data. Set this bit to one
(1) whenever no other messages are active and when
you want to update the MNETDPV1_SLVDIAG data
variables.

Out - MailBoxData

Multi-variable
nested DDT

For details, see Modbus DDT (page 98).

In - MessageDone

1

Single-bit
Boolean

The DFB will set this bit when the Modbus TCP/IP
response is successfully received and the PROFIBUS
cyclic input data variables have been updated.

In - MessageError

1

Single-bit
Boolean

The DFB will set this bit when the Modbus TCP/IP
response is not successfully received. When this bit is
set, it indicates your control and sequencing logic
should retry the command.