beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 181

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

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


ProSoft Technology, Inc.

Page 181 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 - 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 - Routing Register

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

In - ReturnCode

1

16-bit Integer

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