ProSoft Technology 5204SE-MNET-PDPMV1 User Manual
Page 169

Reference 5204SE-MNET-PDPMV1
♦ ProLinx Gateway
User Manual
Modbus TCP/IP to PROFIBUS DP-V1 Pass-Through Master
ProSoft Technology, Inc.
Page 169 of 235
December 22, 2009
Variable Name
Size/Type Description
Out -
GetSlaveDiagnostics
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 - 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
Number of diagnostic bytes returned by the slave and help
in the In-Response Data[ ] variable array
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 "Type of request"
000Ah: Failed to read diagnostic data from slave. Refer to
Return Codes (page 219) for additional fault information.
000Bh: Remote station failure. For additional fault
information, refer to Return Codes (page 219)
00FEh: Command not possible; gateway operates as a
Class 2 master only.
00FFh: Gateway offline (not initialized or no valid
database).
In - Return Code
1
16-bit Integer
For details, see Return Codes (page 219)