beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 138

background image

5204SE-MNET-PDPMV1 ♦ ProLinx Gateway

Reference

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

User Manual


Page 138 of 235

ProSoft Technology, Inc.

December 22, 2009

Variable Name

Size/Type

Description

Control[2] 1

16-bit Integer
Array Element

Holds the MBP_MSTR Block Error Status

A value will be placed in this register after the message has
completed, failed, or timed out.

0 = message completed successfully

Any non-zero value indicates an unsuccessful message
attempt. For details, see MBP_MSTR Error Codes

Control[3] 1

16-bit Integer
Array Element

Holds the length (number of 16-bit registers) to be sent or
requested by the MBP_MSTR Block.

Control[4] 1

16-bit Integer
Array Element

Holds MSTR operation-dependent information.

Typically, this will be used to hold the starting register
address in the target device where data will be written by a
write command or read by a read command.

Control[5] 1

16-bit Integer
Array Element

Holds MBP_MSTR Routing Register information.

Used to specify a message source node.

Most Significant Byte (MSB) = Source Node Address, which
could be the slot number of an NOE module or a Quantum
processors built-in Ethernet port.

Use a default value of 254 (16#FE00 hex) to use a
Quantum processor's built-in Ethernet port.

Least Significant Byte (LSB) = MBP on Ethernet
Transporter (MET) mapping index.

Use a default value of 0 to use a Quantum processor's built-
in Ethernet port.

For more details, see Unity Pro Help index:

"MBP_MSTR, Ethernet (Quantum)" - Network Control Block
Structures -Control Block for TCP/IP Ethernet

Control[6] 1

16-bit Integer
Array Element

Byte 4, MSB or first octet of the ProLinx gateway destination
IP address

Example: the value 192 for IP address 192.168.0.100

Control[7] 1

16-bit Integer
Array Element

Byte3, second octet of the ProLinx gateway destination IP
address

Example: the value 168 for IP address 192.168.0.100

Control[8] 1

16-bit Integer
Array Element

Byte2, third octet of the ProLinx gateway destination IP
address

Example: the value 0 for IP address 192.168.0.100

Control[9] 1

16-bit Integer
Array Element

Byte1, LSB last octet of the ProLinx gateway destination IP
address

Example: the value 100 for IP address 192.168.0.100