beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 109

background image

Reference 5204SE-MNET-PDPMV1

♦ ProLinx Gateway

User Manual

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


ProSoft Technology, Inc.

Page 109 of 235

December 22, 2009

DFB Get Module Status - M340

MNETDPV1_BASICVAR_ModuleStatus Variables - M340

This variable structure is the one to use with your control and sequencing logic
when you want to send a request to read general gateway status data.

Variable Name

Size/Type

Description

Out - MailBoxData

Multi-variable
nested DDT

For details, see Modbus DDT (page 98).

Out -
GetModuleStatus

1

Single-Bit
Boolean

This is the bit your control and sequencing logic will use to
trigger a message to get general gateway status data. Set
this bit to one (1) whenever no other messages are active
and when you want to update the StatInF variable table.

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

In - MessageDone

1

Single-bit
Boolean

The DFB will set this bit when the Modbus TCP/IP response
is successfully received and the general module status data
variables have been updated.

In - MessageError

1

Single-bit
Boolean

The DFB will set this bit when the Modbus TCP/IP response
is not successfully received. When this bit is set, it indicates
your control and sequencing logic should retry the command.