beautypg.com

ProSoft Technology 5204SE-MNET-PDPMV1 User Manual

Page 106

background image

5204SE-MNET-PDPMV1 ♦ ProLinx Gateway

Reference

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

User Manual


Page 106 of 235

ProSoft Technology, Inc.

December 22, 2009

DFB Write Cyclic Data - M340

MNETDPV1_BASICVAR_WriteCyclicData Variables - M340

This variable structure is the one to use with your control and sequencing logic
when you want to send a request to write PROFIBUS cyclic output data.

Variable Name

Size/Type

Description

Out -
WriteCyclicData

1

Single-bit
Boolean

This is the bit your control and sequencing logic will use to
trigger a cyclic write message. Set this bit to one (1)
whenever no other messages are active and when you
want to send PROFIBUS cyclic slave output data.

Out - RegisterCount 1

16-bit integer

Will hold the total number of 16-bit register words of
PROFIBUS cyclic output data that need to be written. This
value will be the same as what you entered in the PCB
configuration for the [PROFIBUS Master DPV1] Output
Data Size parameter.

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 - MessageDone

1

Single-bit
Boolean

The DFB will set this bit when the Modbus TCP/IP response
is successfully received and the PROFIBUS cyclic output
data memory area in the gateway has 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.