beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 129

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

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


ProSoft Technology, Inc.

Page 129 of 235

December 22, 2009

Variable Name

Size/Type Description

Out - SetSlaveAddress

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
send a new network node number to a specific slave,
thereby changing its node address. Set this bit to one (1)
whenever no other messages are active and you want to
send this acyclic message.

Out -
CurrentSlaveAddress

1

8-Bit Byte

Valid entries: 0 - 126

Set this variable to the current address of the slave
whose address you wish to change.

Out - NewSlaveAddress 1

8-Bit Byte

Valid entries: 0 - 126

Set this variable to the new address you wish the slave to
have.

Out - NoAddressChange 1

8-Bit Byte

Valid entries:

00h Change of address is still possible at a later stage.

01h - FFh Change or address is not possible until after
slave reset

This parameter specifies whether the slave address can
be changed again at a later stage. if this is not allowed,
then it is only possible to change the address with this
function after initial reset. After the initial reset, the slave
takes the default address 126.

Out - SlaveIdentNumber 1

16-bit Integer

Unique PROFIBUS Slave Identifier, assigned by
PROFIBUS User Organization

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 DDT

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, if
any.

In - ReturnCode

1

16-bit Integer

Refer to Return Codes (page 219) for additional
information.

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.