beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 173

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

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


ProSoft Technology, Inc.

Page 173 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 - IPAddress[ ]

4-element

16-bit Integer
Array

Each of the four integer elements holds one octet of the
message destination device's IP Address. For this
application, it will be the the ProLinx gateway's Ethernet
port address.

Out - RoutingRegister

1

16-bit Integer

Default value for Quantum processors with built-in
Ethernet port is 254 (16#FE00 hex)

For details, see "MBP_MSTR, Ethernet (Quantum) -
Control Block for TCP/IP Ethernet" in Quantum Help
Files, or Quantum Communication Control and Data
Buffer Variables and DDTs (page 137)

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 (page 218)

0001h: Address out of range.

000Ah: Failed to execute request. Refer to Return
Codes (page 219) for additional information.

000Bh: Remote station failure. Refer to Return Codes
(page 219) for additional information.

00FFh: Gateway not initialized.

In - Return Code

1

16-bit Integer

For details, see Return Codes (page 219)

In -
SlaveConfigurations[ ]

200-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 - RDConfigActive

1

Single-bit
Boolean

The DFB will set this bit when the Modbus TCP/IP
message has been initiated and is being processed.