beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 123

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

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


ProSoft Technology, Inc.

Page 123 of 235

December 22, 2009

Variable Name

Size/Type

Description

Out -
GetSlaveConfiguration

1

Single-Bit
Boolean

This is the bit your control and sequencing logic will use
to trigger a message to tell the PROFIBUS Master to
retrieve slave configuration information from the
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 slave configuration data.

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

1

8-bit Byte

Range 6 to 244

Number of bytes sent by the slave as response data.

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. Refer to Acyclic
Message Status Word

0001h: Address out of range.

000Ah: Failed to execute request. Refer to Return
Codes for additional information.

000Bh: Remote station failure. Refer to Return Codes
for additional information.

00FFh: gateway not initialized.

In - ReturnCode

1

16-bit Integer

For details, see Return Codes (page 219)

In - ResponseData[ ]

245-element 8-
bit Byte Array

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

Response Data size will be from 6 to 244 bytes. Actual

amount and type of data returned varies and depends
on the capabilities of the slave device. Please see the
device manufacturer's documentation for details.

In - MessageDone

1

Single-bit
Boolean

The DFB will set this bit when the Modbus TCP/IP
response is successfully received.

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.