beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 121

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

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


ProSoft Technology, Inc.

Page 121 of 235

December 22, 2009

Variable Name

Size/Type Description

Out -
GetSlaveDiagnostic

1

Single-Bit
Boolean

This is the bit your control and sequencing logic will use
to trigger a message to retrieve extended slave
diagnostic data from a specified slave address. Set this
bit to one (1) whenever no other messages are active and
you want to send this acyclic message.

Out - SlaveAddress

1

8-bit Byte

Valid entries: 0 - 125

Enter the slave address of the device from which you
wish to retrieve extended diagnostic data.

Out - RequestType

1

8-bit Byte

Valid entries: 0 or 1

0 = Get slave extended diagnostic data already stored on
the Master. Can be requested only from slaves
configured by this Master node. (faster response to the
acyclic message; but data may not be current)

1 = Send a special request on the network to read
extended diagnostic data directly from the slave at the
address specified. Can be requested from any slave on
the network. (takes longer to receive response but data is
current)

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 - MailboxData

Multi-variable
Nested Array

For details, see Modbus DDT (page 98)

In - Response Data[ ]

245-element 8-
bit Byte Array

For detailed breakdown of the data available in this array,
see Get (Extended) Slave Diagnostic Message Structure
(page 198).

The amount and type of extended diagnostic data
returned varies, and depends on the capabilities of the
slave device. Refer to the device manufacturer's
documentation for slave diagnostic information.

In - Error1

1

8-bit Byte

Error Byte 1 of 4. Bytes 2 - 4 are reserved

For details on Error Byte 1, see Acyclic Message Status
Word (page 218)

In - ReturnCode

1

16-bit Integer

For details, see Return Codes (page 219)

In - Fault

1

16-bit Integer

If "Invalid Other" is returned in the Acyclic Message
Status Word in the header of the response, information
about the fault can be found here.

0001h: Address out of range.

0002h: Incorrect "Request Type"

000Ah: Failed to read diagnostic data from slave. Refer to
Return Codes for additional fault information.

000Bh: Remote station failure. For additional fault
information, refer to Return Codes

00FEh: Command not possible; gateway operates as a
Class 2 master only.

00FFh: Gateway offline (not initialized or no valid
database).